aboutsummaryrefslogtreecommitdiff
path: root/m4/libpq.m4
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
commitf6a2706a8c2d48b1ee1a4b374429ef627357f42e (patch)
treef06de2eb61ccda1b4924e1e44dd44508d63aaa91 /m4/libpq.m4
parent4443c9284e35c070478045b4e5963c64cd108e42 (diff)
Fix incorrect AC_LANG_SOURCE quoting
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
Diffstat (limited to 'm4/libpq.m4')
-rw-r--r--m4/libpq.m412
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
])