aboutsummaryrefslogtreecommitdiff
path: root/m4/ax_lib_postgresql.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ax_lib_postgresql.m4')
-rw-r--r--m4/ax_lib_postgresql.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_lib_postgresql.m4 b/m4/ax_lib_postgresql.m4
index d547383e4..11b6991f0 100644
--- a/m4/ax_lib_postgresql.m4
+++ b/m4/ax_lib_postgresql.m4
@@ -91,7 +91,7 @@ AC_DEFUN([AX_LIB_POSTGRESQL],
91 POSTGRESQL_CPPFLAGS="-I`$PG_CONFIG --includedir`" 91 POSTGRESQL_CPPFLAGS="-I`$PG_CONFIG --includedir`"
92 POSTGRESQL_LDFLAGS="-L`$PG_CONFIG --libdir`" 92 POSTGRESQL_LDFLAGS="-L`$PG_CONFIG --libdir`"
93 93
94 POSTGRESQL_VERSION=`$PG_CONFIG --version | sed -e 's#PostgreSQL ##'` 94 POSTGRESQL_VERSION=`$PG_CONFIG --version | sed -e 's#PostgreSQL ##' | awk '{print $1}'`
95 95
96 AC_DEFINE([HAVE_POSTGRESQL], [1], 96 AC_DEFINE([HAVE_POSTGRESQL], [1],
97 [Define to 1 if PostgreSQL libraries are available]) 97 [Define to 1 if PostgreSQL libraries are available])
@@ -113,7 +113,7 @@ AC_DEFUN([AX_LIB_POSTGRESQL],
113 113
114 if test "$found_postgresql" = "yes" -a -n "$postgresql_version_req"; then 114 if test "$found_postgresql" = "yes" -a -n "$postgresql_version_req"; then
115 115
116 AC_MSG_CHECKING([if PostgreSQL version is >= $postgresql_version_req]) 116 AC_MSG_CHECKING([if PostgreSQL version $POSTGRESQL_VERSION is >= $postgresql_version_req])
117 117
118 dnl Decompose required version string of PostgreSQL 118 dnl Decompose required version string of PostgreSQL
119 dnl and calculate its number representation 119 dnl and calculate its number representation