1 dnl This is the newlib/libc/sys configure.in file.
2 dnl Process this file with autoconf to produce a configure script.
5 AC_INIT([newlib],[NEWLIB_VERSION])
6 AC_CONFIG_SRCDIR([i386])
8 dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
9 AC_CONFIG_AUX_DIR(../../../../../..)
11 NEWLIB_CONFIGURE(../../../../..)
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.
17 if test "${use_libtool}" = "yes"; then
22 if test -n "${machine_dir}"; then
23 case ${machine_dir} in
24 i386) AC_CONFIG_SUBDIRS(i386) ;;
28 AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)
30 AC_CONFIG_FILES([Makefile])