diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/libodb.m4 | 6 | ||||
-rw-r--r-- | m4/libodbc.m4 | 6 | ||||
-rw-r--r-- | m4/threads.m4 | 6 |
3 files changed, 9 insertions, 9 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/libodbc.m4 b/m4/libodbc.m4 index 40fafec..cc14cd7 100644 --- a/m4/libodbc.m4 +++ b/m4/libodbc.m4 @@ -20,8 +20,8 @@ case $host_os in ;; esac -CXX_LIBTOOL_LINK_IFELSE( -AC_LANG_SOURCE([[ +CXX_LIBTOOL_LINK_IFELSE([ +AC_LANG_SOURCE([ #ifdef _WIN32 # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN @@ -52,7 +52,7 @@ main () SQLAllocHandle (SQL_HANDLE_STMT, conn, &stmt); SQLPrepareA (stmt, (SQLCHAR*) "SELECT 1", SQL_NTS); } -]]), +])], [ libodbc_found=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]) |