aboutsummaryrefslogtreecommitdiff
path: root/m4/c++11.m4
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-06 07:43:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-06 07:43:11 +0200
commit1501fcaf7be0eb7466b7e86fd05e17632d6e0f9e (patch)
tree55ca372900facbb490c14c7349ebce74fa4096c8 /m4/c++11.m4
parent305c53d41c0e447623880e5636fd00986117ee1a (diff)
Fix incorrect AC_LANG_SOURCE quoting
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
Diffstat (limited to 'm4/c++11.m4')
-rw-r--r--m4/c++11.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/c++11.m4 b/m4/c++11.m4
index 774f20d..5df020f 100644
--- a/m4/c++11.m4
+++ b/m4/c++11.m4
@@ -13,8 +13,8 @@ cxx11=no
AC_MSG_CHECKING([whether we are in C++11 mode])
-CXX_LIBTOOL_LINK_IFELSE(
-AC_LANG_SOURCE([[
+CXX_LIBTOOL_LINK_IFELSE([
+AC_LANG_SOURCE([
#include <memory>
int
@@ -23,7 +23,7 @@ main ()
std::shared_ptr<int> p (new int (10));
*p = 11;
}
-]]),
+])],
[cxx11=yes])
if test x"$cxx11" = xyes; then