]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain
authorGary V. Vaughan <gary@gnu.org>
Fri, 14 Jan 2000 12:14:41 +0000 (12:14 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 14 Jan 2000 12:14:41 +0000 (12:14 +0000)
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.

ChangeLog
configure.in
libtool.m4

index 71dd58e7c84de4485f85cbfc3af770180c323e48..362d85f23ab054108a65e7f3ddff7b8754029bd4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2000-01-14  Gary V. Vaughan  <gary@oranda.demon.co.uk>
 
+       * 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.
 
index 7c4a429f762bc07d277c90ed9e3e773810b66509..b167232712d9b5d5c1085c78687d2094b67e579c 100644 (file)
@@ -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
index 9fc370e75f8af8a0b5be9f0be7fa81d7e8b20e6c..b712e5d7ef6e3c273a4e16ec08bfbf7c721fe4e9 100644 (file)
@@ -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*)