]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_SETUP, _LT_AC_LOCK): Use
authorKevin Ryde <user42@zip.com.au>
Sun, 23 Jun 2002 21:42:57 +0000 (21:42 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 23 Jun 2002 21:42:57 +0000 (21:42 +0000)
AC_PROVIDE_IFELSE to test AC_LIBTOOL_WIN32_DLL and
AC_LIBTOOL_DLOPEN, necessary for autoconf 2.53.

ChangeLog
libtool.m4

index ab932581da7e4e24c6b834537a945adc08e06a69..5b73a007cd2f3857d273b987e4ddc2eb8d249a4e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-06-23  Kevin Ryde  <user42@zip.com.au>
+
+       * libtool.m4 (AC_LIBTOOL_SETUP, _LT_AC_LOCK): Use
+       AC_PROVIDE_IFELSE to test AC_LIBTOOL_WIN32_DLL and
+       AC_LIBTOOL_DLOPEN, necessary for autoconf 2.53.
+
 2002-06-23  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL
index 95b6f27326fc75b5ee70198b8e483201c5bb5e33..078e64786a81a9b0f325c6ef26cff29e54c87801 100644 (file)
@@ -203,8 +203,8 @@ file_magic*)
   ;;
 esac
 
-ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
 enable_win32_dll=yes, enable_win32_dll=no)
 
 AC_ARG_ENABLE([libtool-lock],
@@ -484,7 +484,7 @@ ia64-*-hpux*)
     CFLAGS="$SAVE_CFLAGS"
   fi
   ;;
-ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
   AC_CHECK_TOOL(DLLTOOL, dlltool, false)
   AC_CHECK_TOOL(AS, as, false)