From bbcba6c8ce1d5755b1e1c5bb401caaab8e169131 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 6 Feb 2013 07:43:11 +0200 Subject: Fix incorrect AC_LANG_SOURCE quoting Thanks to Hugo Mildenberger for the patch. --- m4/liboci.m4 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'm4/liboci.m4') 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 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 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 int @@ -107,7 +107,7 @@ main () OCIHandleFree (env, OCI_HTYPE_ENV); return 0; } -]]), +])], [ oci_found=yes ]) -- cgit v1.1