aboutsummaryrefslogtreecommitdiff
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
commitbbcba6c8ce1d5755b1e1c5bb401caaab8e169131 (patch)
treefcbb0a5b224dda24ab1697a250d4001f134084ce
parentac6bb5732c203d8cbc79a2010fc7fa53aea00ec5 (diff)
Fix incorrect AC_LANG_SOURCE quoting
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
-rw-r--r--m4/liboci.m418
-rw-r--r--m4/libodb.m46
-rw-r--r--m4/threads.m46
3 files changed, 15 insertions, 15 deletions
diff --git a/m4/liboci.m4 b/m4/liboci.m4
index d7463cc..e69f1f9 100644
--- a/m4/liboci.m4
+++ b/m4/liboci.m4
@@ -32,8 +32,8 @@ if test x"$oci_dir" != x; then
LDFLAGS="$LDFLAGS -L$oci_dir"
LIBS="-lclntsh $LIBS"
- CXX_LIBTOOL_LINK_IFELSE(
-AC_LANG_SOURCE([[
+ CXX_LIBTOOL_LINK_IFELSE([
+AC_LANG_SOURCE([
#include <oci.h>
int
@@ -44,7 +44,7 @@ main ()
OCIHandleFree (env, OCI_HTYPE_ENV);
return 0;
}
-]]),
+])],
[
oci_found=yes
])
@@ -63,8 +63,8 @@ fi
if test x"$oci_found" = xno; then
- CXX_LIBTOOL_LINK_IFELSE(
-AC_LANG_SOURCE([[
+ CXX_LIBTOOL_LINK_IFELSE([
+AC_LANG_SOURCE([
#include <oci.h>
int
@@ -75,7 +75,7 @@ main ()
OCIHandleFree (env, OCI_HTYPE_ENV);
return 0;
}
-]]),
+])],
[
oci_found=yes
])
@@ -95,8 +95,8 @@ if test x"$oci_found" = xno; then
LDFLAGS="$LDFLAGS -L$ORACLE_HOME/lib"
LIBS="-lclntsh $LIBS"
- CXX_LIBTOOL_LINK_IFELSE(
-AC_LANG_SOURCE([[
+ CXX_LIBTOOL_LINK_IFELSE([
+AC_LANG_SOURCE([
#include <oci.h>
int
@@ -107,7 +107,7 @@ main ()
OCIHandleFree (env, OCI_HTYPE_ENV);
return 0;
}
-]]),
+])],
[
oci_found=yes
])
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/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])