source: rtems/c/src/libchip/configure.ac @ d0d73ec

4.104.114.84.95
Last change on this file since d0d73ec was a2ddad1a, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 3, 2002 at 2:19:09 PM

2002-04-01 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_DEFINE(CPU_U32_FIX) for sparc.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.52)
6AC_INIT([rtems-c-src-libchip],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([rtc])
8RTEMS_TOP(../../..)
9AC_CONFIG_AUX_DIR(../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12AM_INIT_AUTOMAKE([no-define foreign 1.6])
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_NETWORKING
16RTEMS_ENABLE_BARE
17
18RTEMS_ENV_RTEMSBSP
19
20RTEMS_CHECK_CPU
21RTEMS_CANONICAL_HOST
22
23RTEMS_PROJECT_ROOT
24
25RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
26RTEMS_CANONICALIZE_TOOLS
27
28RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
29RTEMS_CHECK_NETWORKING(RTEMS_BSP)
30
31# pick up all the Makefiles in required parts of the tree
32if test "$RTEMS_CPU" = "unix"; then
33## HACK: Suppress libchip for unix
34AC_MSG_ERROR(Can't build libchip for $RTEMS_CPU)
35fi
36
37AS_IF([test "$host_cpu" = "sparc"],[
38  AC_DEFINE_UNQUOTED([CPU_U32_FIX],[1],
39    [whether to enable ipalignment work-around])
40])
41
42AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes")
43
44# Explicitly list all Makefiles here
45AC_CONFIG_FILES([Makefile
46network/Makefile
47rtc/Makefile
48serial/Makefile
49])
50AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.