aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-06 07:43:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-06 07:43:50 +0200
commitab7961512070cac053db8b47234cba48a6068601 (patch)
tree3a75486e925554be3daafa2825ad1fa2ea412545
parent8124e328801faa70d89e59ac978365264f5af259 (diff)
Fix incorrect AC_LANG_SOURCE quoting
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
-rw-r--r--m4/libboost.m418
1 files changed, 9 insertions, 9 deletions
diff --git a/m4/libboost.m4 b/m4/libboost.m4
index 07d753e..8a3b824 100644
--- a/m4/libboost.m4
+++ b/m4/libboost.m4
@@ -28,8 +28,8 @@ if test x"$libboost_dir" != x; then
LDFLAGS="$LDFLAGS -L$abs_libboost_dir/stage/lib"
fi
-CXX_LIBTOOL_LINK_IFELSE(
-AC_LANG_SOURCE([[
+CXX_LIBTOOL_LINK_IFELSE([
+AC_LANG_SOURCE([
#include <boost/version.hpp>
#ifndef BOOST_VERSION
@@ -40,7 +40,7 @@ int
main ()
{
}
-]]),
+])],
[
libboost_found=yes
])
@@ -113,13 +113,13 @@ dnl
dnl LIBBOOST_SYSTEM([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
dnl
AC_DEFUN([LIBBOOST_SYSTEM], [
-LIBBOOST_LIB([system],
-AC_LANG_SOURCE([[
+LIBBOOST_LIB([system],[
+AC_LANG_SOURCE([
int
main ()
{
}
-]]),
+])],
[$1],
[$2])
])dnl
@@ -127,8 +127,8 @@ dnl
dnl LIBBOOST_REGEX([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
dnl
AC_DEFUN([LIBBOOST_REGEX], [
-LIBBOOST_LIB([regex],
-AC_LANG_SOURCE([[
+LIBBOOST_LIB([regex],[
+AC_LANG_SOURCE([
#include <boost/tr1/regex.hpp>
int
@@ -137,7 +137,7 @@ main ()
std::tr1::regex r ("te.t", std::tr1::regex_constants::ECMAScript);
return std::tr1::regex_match ("test", r) ? 0 : 1;
}
-]]),
+])],
[$1],
[$2])
])dnl