diff options
author | Jim Meyering <meyering@redhat.com> | 2010-09-24 11:35:21 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-09-24 20:33:04 +0200 |
commit | 0d80193e96124d3add33ecbf22a5d05e2823ec84 (patch) | |
tree | 3f95a3baa79d4a9d839e901243c4fd7b23446536 /m4/ax_boost_system.m4 | |
parent | c69bae34a01e41021a21c4c33e632422992fd856 (diff) | |
download | autoconf-archive-0d80193e96124d3add33ecbf22a5d05e2823ec84.tar.gz |
build: m4-quote use of AC_LANG_PROGRAM to avoid warning from new autoconf
Using autoconf-2.68 would evoke many new warnings like this:
configure.ac:78: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
ax/ax_boost_thread.m4:35: AX_BOOST_THREAD is expanded from...
configure.ac:78: the top level
Autoconf was unable to detect the existing use of AC_LANG_SOURCE
because it was underquoted. Fix that.
Diffstat (limited to 'm4/ax_boost_system.m4')
-rw-r--r-- | m4/ax_boost_system.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_boost_system.m4 b/m4/ax_boost_system.m4 index 430881c..e9aecb5 100644 --- a/m4/ax_boost_system.m4 +++ b/m4/ax_boost_system.m4 @@ -69,8 +69,8 @@ AC_DEFUN([AX_BOOST_SYSTEM], [AC_LANG_PUSH([C++]) CXXFLAGS_SAVE=$CXXFLAGS - AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[@%:@include <boost/system/error_code.hpp>]], - [[boost::system::system_category]]), + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/system/error_code.hpp>]], + [[boost::system::system_category]])], ax_cv_boost_system=yes, ax_cv_boost_system=no) CXXFLAGS=$CXXFLAGS_SAVE AC_LANG_POP([C++]) |