test/configure

changeset 12
a775e493d340
parent 11
215b49563679
child 13
cdf8bf4549c4
--- a/test/configure	Tue Aug 13 21:49:10 2019 +0200
+++ b/test/configure	Tue Aug 13 21:54:17 2019 +0200
@@ -259,7 +259,8 @@
         if [ -z "$PKG_CONFIG" ]; then
         	break
         fi
-        if ! $PKG_CONFIG libpq ; then
+		$PKG_CONFIG libpq
+        if [ $? -ne 0 ] ; then
             break
         fi
         CFLAGS="$CFLAGS `$PKG_CONFIG --cflags libpq`"
@@ -280,7 +281,8 @@
         if [ -z "$PKG_CONFIG" ]; then
         	break
         fi
-        if ! $PKG_CONFIG openssl ; then
+		$PKG_CONFIG openssl
+        if [ $? -ne 0 ] ; then
             break
         fi
         CFLAGS="$CFLAGS `$PKG_CONFIG --cflags openssl`"
@@ -301,7 +303,8 @@
         if [ -z "$PKG_CONFIG" ]; then
         	break
         fi
-        if ! $PKG_CONFIG libxml-2.0 ; then
+		$PKG_CONFIG libxml-2.0
+        if [ $? -ne 0 ] ; then
             break
         fi
         CFLAGS="$CFLAGS `$PKG_CONFIG --cflags libxml-2.0`"

mercurial