From 0c49ed0c7b482815ff41c33b64ca5531c27d1c73 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sat, 13 Jul 2002 18:51:26 +0000 Subject: [PATCH] Bring in AC_PROVIDE_IFELSE changes necessary for AC_LIBTOOL_DLOPEN and like under autoconf 2.53+. svn path=/trunk/yasm/; revision=656 --- m4/libtool.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 066bf6a5..7364bba3 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -68,8 +68,8 @@ esac AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(STRIP, strip, :) -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, @@ -113,7 +113,7 @@ case $host in 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) -- 2.40.0