diff options
Diffstat (limited to 'newlib/configure.in')
-rw-r--r-- | newlib/configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/newlib/configure.in b/newlib/configure.in index 050948aa3..fc93ae773 100644 --- a/newlib/configure.in +++ b/newlib/configure.in @@ -3,6 +3,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.5) AC_INIT(libc) +AM_CONFIG_HEADER(newlib.h:newlib.hin) dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. AC_CONFIG_AUX_DIR(..) @@ -18,7 +19,6 @@ AC_ARG_ENABLE(newlib-io-pos-args, *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-pos-args option) ;; esac], [newlib_io_pos_args=no])dnl - NEWLIB_CONFIGURE(.) dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and @@ -128,6 +128,11 @@ if test -z "$CC_FOR_BUILD"; then fi AC_SUBST(CC_FOR_BUILD) +if test "${newlib_elix_level}" -gt "0"; then +AC_DEFINE_UNQUOTED(_ELIX_LEVEL,${newlib_elix_level}) +fi + +AC_DEFINE_UNQUOTED(_NEWLIB_VERSION,"$VERSION") if test "${multilib}" = "yes"; then multilib_arg="--enable-multilib" @@ -138,6 +143,7 @@ fi AC_OUTPUT(Makefile, [if test -n "$CONFIG_FILES"; then + unset ac_file . ${newlib_basedir}/../config-ml.in fi], srcdir=${srcdir} |