gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: fix pg version chec


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: fix pg version check on Debian
Date: Wed, 04 Jul 2018 00:25:05 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new bc5d9b4  fix pg version check on Debian
bc5d9b4 is described below

commit bc5d9b492f609ac08573052288d0503b6d044cb5
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Jul 4 00:25:02 2018 +0200

    fix pg version check on Debian
---
 m4/ax_lib_postgresql.m4 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/m4/ax_lib_postgresql.m4 b/m4/ax_lib_postgresql.m4
index e81c099..11b6991 100644
--- a/m4/ax_lib_postgresql.m4
+++ b/m4/ax_lib_postgresql.m4
@@ -38,7 +38,6 @@
 # LICENSE
 #
 #   Copyright (c) 2008 Mateusz Loskot <address@hidden>
-#   Copyright (c) 2014 Sree Harsha Totakura <address@hidden>
 #
 #   Copying and distribution of this file, with or without modification, are
 #   permitted in any medium without royalty provided the copyright notice
@@ -81,7 +80,7 @@ AC_DEFUN([AX_LIB_POSTGRESQL],
         fi
 
         if test ! -x "$PG_CONFIG"; then
-            AC_MSG_ERROR([$PG_CONFIG does not exist or it is not an exectuable 
file])
+            dnl AC_MSG_ERROR([$PG_CONFIG does not exist or it is not an 
exectuable file])
             PG_CONFIG="no"
             found_postgresql="no"
         fi
@@ -92,7 +91,7 @@ AC_DEFUN([AX_LIB_POSTGRESQL],
             POSTGRESQL_CPPFLAGS="-I`$PG_CONFIG --includedir`"
             POSTGRESQL_LDFLAGS="-L`$PG_CONFIG --libdir`"
 
-            POSTGRESQL_VERSION=`$PG_CONFIG --version | sed -e 's#PostgreSQL 
##'`
+            POSTGRESQL_VERSION=`$PG_CONFIG --version | sed -e 's#PostgreSQL 
##' | awk '{print $1}'`
 
             AC_DEFINE([HAVE_POSTGRESQL], [1],
                 [Define to 1 if PostgreSQL libraries are available])
@@ -114,7 +113,7 @@ AC_DEFUN([AX_LIB_POSTGRESQL],
 
     if test "$found_postgresql" = "yes" -a -n "$postgresql_version_req"; then
 
-        AC_MSG_CHECKING([if PostgreSQL version is >= $postgresql_version_req])
+        AC_MSG_CHECKING([if PostgreSQL version $POSTGRESQL_VERSION is >= 
$postgresql_version_req])
 
         dnl Decompose required version string of PostgreSQL
         dnl and calculate its number representation

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]