OSDN Git Service

* ltmain.sh: Update from GCC.
[pf3gnuchains/pf3gnuchains4x.git] / newlib / libc / sys / linux / machine / configure.in
1 dnl This is the newlib/libc/sys 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([i386])
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 if test "${use_libtool}" = "yes"; then
18 AC_LIBTOOL_WIN32_DLL
19 AM_PROG_LIBTOOL
20 fi
21
22 if test -n "${machine_dir}"; then
23   case ${machine_dir} in
24         i386) AC_CONFIG_SUBDIRS(i386) ;;
25   esac;
26 fi
27
28 CRT0=
29 if test -n "${machine_dir}"; then
30   CRT0=crt0.o
31 fi
32 AC_SUBST(CRT0)
33
34 AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)
35
36 AC_CONFIG_FILES([Makefile])
37 AC_OUTPUT