diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-06 07:43:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-06 07:43:11 +0200 |
commit | f19ae935d1ae09eb7b347d3ce198c3ccacba6bd8 (patch) | |
tree | 4e5c47cca30a678442046cb13dd759fdfabc8605 /m4 | |
parent | 32613d718b36a6c400d6f05da50d30b3fd25c3b8 (diff) |
Fix incorrect AC_LANG_SOURCE quoting
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/libodb.m4 | 6 | ||||
-rw-r--r-- | m4/libsqlite.m4 | 12 | ||||
-rw-r--r-- | m4/threads.m4 | 6 |
3 files changed, 12 insertions, 12 deletions
diff --git a/m4/libodb.m4 b/m4/libodb.m4 index 6e282a6..7d3130b 100644 --- a/m4/libodb.m4 +++ b/m4/libodb.m4 @@ -31,8 +31,8 @@ fi save_LIBS="$LIBS" LIBS="-lodb $LIBS" -CXX_LIBTOOL_LINK_IFELSE( -AC_LANG_SOURCE([[ +CXX_LIBTOOL_LINK_IFELSE([ +AC_LANG_SOURCE([ #include <odb/exception.hxx> void @@ -60,7 +60,7 @@ main () const char* m (g ()); return m != 0; } -]]), +])], [libodb_found=yes]) if test x"$libodb_found" = xno; then diff --git a/m4/libsqlite.m4 b/m4/libsqlite.m4 index 5a353b9..e108c02 100644 --- a/m4/libsqlite.m4 +++ b/m4/libsqlite.m4 @@ -16,8 +16,8 @@ AC_MSG_CHECKING([for libsqlite3]) save_LIBS="$LIBS" LIBS="-lsqlite3 $LIBS" -CXX_LIBTOOL_LINK_IFELSE( -AC_LANG_SOURCE([[ +CXX_LIBTOOL_LINK_IFELSE([ +AC_LANG_SOURCE([ #include <sqlite3.h> int @@ -30,7 +30,7 @@ main () sqlite3_finalize (stmt); sqlite3_close (handle); } -]]), +])], [ libsqlite_found=yes ]) @@ -42,8 +42,8 @@ fi # Check for unlock_notify. # if test x"$libsqlite_found" = xyes; then -CXX_LIBTOOL_LINK_IFELSE( -AC_LANG_SOURCE([[ +CXX_LIBTOOL_LINK_IFELSE([ +AC_LANG_SOURCE([ #include <sqlite3.h> int @@ -52,7 +52,7 @@ main () sqlite3* handle (0); sqlite3_unlock_notify (handle, 0, 0); } -]]), +])], [ libsqlite_unlock_notify=yes ]) diff --git a/m4/threads.m4 b/m4/threads.m4 index fce3f39..4cd4c05 100644 --- a/m4/threads.m4 +++ b/m4/threads.m4 @@ -36,8 +36,8 @@ if test x$threads = xcheck; then # AC_MSG_CHECKING([for __thread keyword]) - CXX_LIBTOOL_LINK_IFELSE( - AC_LANG_SOURCE([[ + CXX_LIBTOOL_LINK_IFELSE([ + AC_LANG_SOURCE([ __thread int tls_var; int @@ -45,7 +45,7 @@ if test x$threads = xcheck; then { tls_var = 0; } - ]]), + ])], [threads_thread_keyword=yes]) AC_MSG_RESULT([$threads_thread_keyword]) |