Copied the NO_UNDEFINED magic from libcurl to make this build fine again with

libtool cross-compiled on linux with mingw32
This commit is contained in:
Daniel Stenberg
2006-05-24 23:02:51 +00:00
parent e75c876ac5
commit 2fc66d7b01
2 changed files with 19 additions and 1 deletions
+12
View File
@@ -69,6 +69,18 @@ dnl libtool setup
CARES_CLEAR_LIBTOOL_TAGS
AC_PROG_LIBTOOL
AC_MSG_CHECKING([if we need -no-undefined])
case $host in
*-*-cygwin | *-*-mingw* | *-*-pw32*)
need_no_undefined=yes
;;
*)
need_no_undefined=no
;;
esac
AC_MSG_RESULT($need_no_undefined)
AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)
dnl Checks for header files.
AC_HEADER_STDC