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_test_exec_monitor.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_test_exec_monitor.m4')
-rw-r--r-- | m4/ax_boost_test_exec_monitor.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_boost_test_exec_monitor.m4 b/m4/ax_boost_test_exec_monitor.m4 index e0cd9f1..6efa982 100644 --- a/m4/ax_boost_test_exec_monitor.m4 +++ b/m4/ax_boost_test_exec_monitor.m4 @@ -65,8 +65,8 @@ AC_DEFUN([AX_BOOST_TEST_EXEC_MONITOR], AC_CACHE_CHECK(whether the Boost::Test_Exec_Monitor library is available, ax_cv_boost_test_exec_monitor, [AC_LANG_PUSH([C++]) - AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[@%:@include <boost/test/test_tools.hpp>]], - [[int i=1 ; BOOST_REQUIRE(i==1); ; return 0;]]), + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/test/test_tools.hpp>]], + [[int i=1 ; BOOST_REQUIRE(i==1); ; return 0;]])], ax_cv_boost_test_exec_monitor=yes, ax_cv_boost_test_exec_monitor=no) AC_LANG_POP([C++]) ]) |