1 dnl This is the newlib/libc/sys configure.in file.
2 dnl Process this file with autoconf to produce a configure script.
7 dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
8 AC_CONFIG_AUX_DIR(../../..)
10 NEWLIB_CONFIGURE(../..)
12 dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and
13 dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
14 dnl line of the macro which fail because appropriate LDFLAGS are not set.
15 if test "${use_libtool}" = "yes"; then
20 if test -n "${sys_dir}"; then
21 AC_CONFIG_SUBDIRS(${sys_dir})
25 if test -n "${sys_dir}"; then
30 AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x)