diff options
Diffstat (limited to 'm4/libpq.m4')
-rw-r--r-- | m4/libpq.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/m4/libpq.m4 b/m4/libpq.m4 index 302613f..a58f33f 100644 --- a/m4/libpq.m4 +++ b/m4/libpq.m4 @@ -18,8 +18,8 @@ AC_MSG_CHECKING([for libpq]) save_LIBS="$LIBS" LIBS="-lpq $LIBS" -CXX_LIBTOOL_LINK_IFELSE( -AC_LANG_SOURCE([[ +CXX_LIBTOOL_LINK_IFELSE([ +AC_LANG_SOURCE([ #include <libpq-fe.h> int @@ -30,7 +30,7 @@ main () PQfinish (conn); return 0; } -]]), +])], [ libpq_found=yes ]) @@ -48,8 +48,8 @@ if test x"$libpq_found" = xno; then CPPFLAGS=-I`$pg_config --includedir` CPPFLAGS="$CPPFLAGS $save_CPPFLAGS" - CXX_LIBTOOL_LINK_IFELSE( -AC_LANG_SOURCE([[ + CXX_LIBTOOL_LINK_IFELSE([ +AC_LANG_SOURCE([ #include <libpq-fe.h> int @@ -60,7 +60,7 @@ main () PQfinish (conn); return 0; } -]]), +])], [ libpq_found=yes ]) |