Backport fix from bakefile svn for autoconf 2.65.

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
This commit is contained in:
Vadim Zeitlin 2010-06-17 22:30:27 +00:00
parent ee4f5418ff
commit 4164cd68d4

View File

@ -240,7 +240,7 @@ dnl check for different proprietary compilers depending on target platform
dnl _AC_BAKEFILE_PROG_COMPILER(LANG) dnl _AC_BAKEFILE_PROG_COMPILER(LANG)
AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER], 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 Intel compiler can be used under several different OS and even
dnl different architectures (x86, amd64 and Itanium) so it's easier to just dnl different architectures (x86, amd64 and Itanium) so it's easier to just