diff options
Diffstat (limited to 'newlib/libc/sys/linux/configure.in')
-rw-r--r-- | newlib/libc/sys/linux/configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/configure.in b/newlib/libc/sys/linux/configure.in index d9ec706b2..fffaa0e0a 100644 --- a/newlib/libc/sys/linux/configure.in +++ b/newlib/libc/sys/linux/configure.in @@ -9,4 +9,14 @@ AC_CONFIG_AUX_DIR(../../../..) NEWLIB_CONFIGURE(../../..) +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. + +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +AC_PROG_AWK +fi + AC_OUTPUT(Makefile) |