]> git.saurik.com Git - wxWidgets.git/commitdiff
Backport fix from bakefile svn for autoconf 2.65.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 Jun 2010 22:30:27 +0000 (22:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 Jun 2010 22:30:27 +0000 (22:30 +0000)
Use AC_REQUIRE() instead of directly using a macro, the latter doesn't work
with autoconf 2.65.

This is a backport of r1337 from bakefile svn to allow people to use autoconf
2.65 immediately and will become unnecessary when we update to the next
bakefile version.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/aclocal/bakefile-lang.m4

index 4cc4a679ee3243a6b88ff964bf05845eca83045d..ec0f711eec72140e706fbaf73293f11c62cb77bf 100644 (file)
@@ -240,7 +240,7 @@ dnl check for different proprietary compilers depending on target platform
 dnl _AC_BAKEFILE_PROG_COMPILER(LANG)
 AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER],
 [
-    AC_PROG_$1
+    AC_REQUIRE([AC_PROG_$1])
 
     dnl Intel compiler can be used under several different OS and even
     dnl different architectures (x86, amd64 and Itanium) so it's easier to just