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.4 KB
|
Line | |
---|
1 | dnl This is the newlib/libc/sys/linux configure.in file. |
---|
2 | dnl Process this file with autoconf to produce a configure script. |
---|
3 | |
---|
4 | AC_PREREQ(2.59) |
---|
5 | AC_INIT([newlib],[NEWLIB_VERSION]) |
---|
6 | AC_CONFIG_SRCDIR([linux.c]) |
---|
7 | |
---|
8 | dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. |
---|
9 | AC_CONFIG_AUX_DIR(../../../..) |
---|
10 | |
---|
11 | NEWLIB_CONFIGURE(../../..) |
---|
12 | |
---|
13 | dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and |
---|
14 | dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first |
---|
15 | dnl line of the macro which fail because appropriate LDFLAGS are not set. |
---|
16 | _LT_DECL_SED |
---|
17 | _LT_PROG_ECHO_BACKSLASH |
---|
18 | AC_PROG_AWK |
---|
19 | if test "${use_libtool}" = "yes"; then |
---|
20 | AC_LIBTOOL_WIN32_DLL |
---|
21 | AM_PROG_LIBTOOL |
---|
22 | fi |
---|
23 | |
---|
24 | AC_CONFIG_SUBDIRS(machine) |
---|
25 | |
---|
26 | if test "${newlib_multithread}" = "yes"; then |
---|
27 | AC_CONFIG_SUBDIRS(linuxthreads) |
---|
28 | fi |
---|
29 | |
---|
30 | LINUX_MACH_LIB= |
---|
31 | if test -n "${machine_dir}"; then |
---|
32 | if test "${use_libtool}" = "yes"; then |
---|
33 | LINUX_MACH_LIB=machine/${machine_dir}/liblinux${machine_dir}.${aext} |
---|
34 | else |
---|
35 | LINUX_MACH_LIB=machine/lib.${aext} |
---|
36 | fi |
---|
37 | fi |
---|
38 | AC_SUBST(LINUX_MACH_LIB) |
---|
39 | |
---|
40 | EXTRA_SUBDIRS= |
---|
41 | EXTRA_SUBLIBS= |
---|
42 | |
---|
43 | if test "x${newlib_elix_level}" = "x1"; then |
---|
44 | EXTRA_SUBDIRS=linuxthreads net |
---|
45 | else |
---|
46 | EXTRA_SUBDIRS="linuxthreads net intl iconv dl" |
---|
47 | EXTRA_SUBLIBS="net/libnet.la intl/libintl.la iconv/libiconv.la dl/libdl.la" |
---|
48 | fi |
---|
49 | |
---|
50 | AC_SUBST(EXTRA_SUBDIRS) |
---|
51 | AC_SUBST(EXTRA_SUBLIBS) |
---|
52 | |
---|
53 | AC_CONFIG_FILES([Makefile intl/Makefile net/Makefile iconv/Makefile dl/Makefile cmath/Makefile argp/Makefile]) |
---|
54 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.