From: Gary V. Vaughan Date: Fri, 14 Jan 2000 12:14:41 +0000 (+0000) Subject: * libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain X-Git-Tag: release-1-3d~225 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1eb294104b82d6de0c91fc40f334e8d6d174a1b9;p=thirdparty%2Flibtool.git * libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain was set to the opposite of what it should be. * configure.in (AC_LIBTOOL_WIN32_DLL): Call to this macro is required for libtool configury to test lt_cv_need_dllmain on Windows. --- diff --git a/ChangeLog b/ChangeLog index 71dd58e7c..362d85f23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2000-01-14 Gary V. Vaughan + * libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain + was set to the opposite of what it should be. + * configure.in (AC_LIBTOOL_WIN32_DLL): Call to this macro is + required for libtool configury to test lt_cv_need_dllmain on + Windows. + * ltconfig.in (opt_cr, mingw*): replace unescaped ? with correctly escaped and portable \{0,1\} in sed expression. diff --git a/configure.in b/configure.in index 7c4a429f7..b16723271 100644 --- a/configure.in +++ b/configure.in @@ -42,6 +42,9 @@ AC_PROG_LN_S dnl For the `lineno' script (which puts line numbers into `ltconfig'). AC_PROG_AWK +dnl Check for win32 dll support +AC_LIBTOOL_WIN32_DLL + dnl Check for dlopen support AC_LIBTOOL_DLOPEN AC_LIBTOOL_SETUP diff --git a/libtool.m4 b/libtool.m4 index 9fc370e75..b712e5d7e 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -156,7 +156,7 @@ ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], [AC_TRY_LINK([], [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); DllMain (0, 0, 0);], - [lt_cv_need_dllmain=yes],[lt_cv_need_dllmain=no])]) + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) case "$lt_target/$CC" in *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)