source: rtems/c/src/lib/configure.in @ 7e642ba

4.104.114.84.95
Last change on this file since 7e642ba was 7e642ba, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 22, 1999 at 7:27:13 PM

Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@…>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."

  • Property mode set to 100644
File size: 1.4 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(libbsp)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE(rtems-c-src-lib,$RTEMS_VERSION,no)
12AM_MAINTAINER_MODE
13
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_NETWORKING
16RTEMS_ENABLE_RDBG
17RTEMS_ENABLE_LIBCDIR
18RTEMS_ENABLE_BARE
19RTEMS_ENABLE_HWAPI
20
21RTEMS_ENV_RTEMSBSP
22
23RTEMS_CHECK_CPU
24RTEMS_CANONICAL_HOST
25
26RTEMS_PROJECT_ROOT
27
28dnl check target cc
29RTEMS_PROG_CC_FOR_TARGET
30RTEMS_CANONICALIZE_TOOLS
31
32dnl if this is an i386, does gas have good code16 support?
33RTEMS_I386_GAS_CODE16
34AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
35
36RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
37RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
38RTEMS_CHECK_NETWORKING(RTEMS_BSP)
39
40AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
41
42# find all the CPU dependent library Makefiles
43AC_CONFIG_SUBDIRS(libcpu)
44AC_CONFIG_SUBDIRS(libbsp)
45
46RTEMS_ENABLE_HWAPI
47if test "$RTEMS_HAS_HWAPI" = "yes"; then
48  if test -d "${srcdir}/libhwapi"; then
49    cfg_subdirs="$cfg_subdirs libhwapi"
50  fi
51  LIBHWAPI="libhwapi"
52fi
53AC_SUBST(LIBHWAPI)
54
55AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
56
57AC_CONFIG_SUBDIRS($cfg_subdirs)
58
59PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
60AC_SUBST(PROJECT_INCLUDE)
61
62# try to explicitly list a Makefile here
63AC_OUTPUT(
64Makefile
65include/Makefile
66include/sys/Makefile
67include/motorola/Makefile
68include/zilog/Makefile
69libc/Makefile)
Note: See TracBrowser for help on using the repository browser.