source: trunk/libs/newlib/src/newlib/libc/sys/configure.in

Last change on this file was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.9 KB
Line 
1dnl This is the newlib/libc/sys configure.in file.
2dnl Process this file with autoconf to produce a configure script.
3
4AC_PREREQ(2.59)
5AC_INIT([newlib],[NEWLIB_VERSION])
6AC_CONFIG_SRCDIR([a29khif])
7
8dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
9AC_CONFIG_AUX_DIR(../../..)
10
11NEWLIB_CONFIGURE(../..)
12
13dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and
14dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
15dnl line of the macro which fail because appropriate LDFLAGS are not set.
16_LT_DECL_SED
17_LT_PROG_ECHO_BACKSLASH
18if test "${use_libtool}" = "yes"; then
19AC_LIBTOOL_WIN32_DLL
20AM_PROG_LIBTOOL
21fi
22
23if test -n "${sys_dir}"; then
24  case ${sys_dir} in
25        a29khif) AC_CONFIG_SUBDIRS(a29khif) ;;
26        almosmkh) AC_CONFIG_SUBDIRS(almosmkh) ;;
27        arm) AC_CONFIG_SUBDIRS(arm) ;;
28        d10v) AC_CONFIG_SUBDIRS(d10v) ;;
29        decstation) AC_CONFIG_SUBDIRS(decstation) ;;
30        epiphany) AC_CONFIG_SUBDIRS(epiphany) ;;
31        h8300hms) AC_CONFIG_SUBDIRS(h8300hms) ;;
32        h8500hms) AC_CONFIG_SUBDIRS(h8500hms) ;;
33        linux) AC_CONFIG_SUBDIRS(linux) ;;
34        m88kbug) AC_CONFIG_SUBDIRS(m88kbug) ;;
35        mmixware) AC_CONFIG_SUBDIRS(mmixware) ;;
36        netware) AC_CONFIG_SUBDIRS(netware) ;;
37        or1k) AC_CONFIG_SUBDIRS(or1k) ;;
38        phoenix) AC_CONFIG_SUBDIRS(phoenix) ;;
39        rdos) AC_CONFIG_SUBDIRS(rdos) ;;
40        rtems) AC_CONFIG_SUBDIRS(rtems) ;;
41        sh) AC_CONFIG_SUBDIRS(sh) ;;
42        sparc64) AC_CONFIG_SUBDIRS(sparc64) ;;
43        sun4) AC_CONFIG_SUBDIRS(sun4) ;;
44        sysmec) AC_CONFIG_SUBDIRS(sysmec) ;;
45        sysnec810) AC_CONFIG_SUBDIRS(sysnec810) ;;
46        sysnecv850) AC_CONFIG_SUBDIRS(sysnecv850) ;;
47        sysvi386) AC_CONFIG_SUBDIRS(sysvi386) ;;
48        sysvnecv70) AC_CONFIG_SUBDIRS(sysvnecv70) ;;
49        tic80) AC_CONFIG_SUBDIRS(tic80) ;;
50        tirtos) AC_CONFIG_SUBDIRS(tirtos) ;;
51        w65) AC_CONFIG_SUBDIRS(w65) ;;
52        z8ksim) AC_CONFIG_SUBDIRS(z8ksim) ;;
53  esac;
54fi
55
56CRT0=
57if test "x${have_crt0}" = "xyes"; then
58  CRT0=crt0.o
59fi
60AC_SUBST(CRT0)
61
62AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x)
63
64AC_CONFIG_FILES([Makefile])
65AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.