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
commit8d69c2d5012bc29656150ddd94cefeb740346aef (patch)
treeb215595700c7347c2c247825348f719cf95c2a8c /m4/c++11.m4
parent43fa55c1b8e389838c83be933bb30a2caaf7468d (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