OSDN Git Service

* Makefile.shared: New file.
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / machine / configure.in
index 6ac3486..5918554 100644 (file)
@@ -9,6 +9,16 @@ AC_CONFIG_AUX_DIR(../../..)
 
 NEWLIB_CONFIGURE(../..)
 
+dnl We have to add the following lines because automake detects the
+dnl references to libtool libraries from aclocal and tries to verify that
+dnl AM_PROG_LIBTOOL is being used.  This must be added after
+dnl the call to NEWLIB_CONFIGURE.
+
+if test "${use_libtool}" = "yes"; then
+AC_LIBTOOL_WIN32_DLL
+AM_PROG_LIBTOOL
+fi
+
 if test -n "${machine_dir}"; then
   AC_CONFIG_SUBDIRS(${machine_dir})
 fi