]> granicus.if.org Git - yasm/commitdiff
Bring in AC_PROVIDE_IFELSE changes necessary for AC_LIBTOOL_DLOPEN and like
authorPeter Johnson <peter@tortall.net>
Sat, 13 Jul 2002 18:51:26 +0000 (18:51 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 13 Jul 2002 18:51:26 +0000 (18:51 -0000)
under autoconf 2.53+.

svn path=/trunk/yasm/; revision=656

m4/libtool.m4

index 066bf6a5ce6dca41fad64dc0ad26ab172d94b6ac..7364bba3af88b91c611fe68cbdf0ad38a5bc7e26 100644 (file)
@@ -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)