# HG changeset patch # User Olaf Wintermann # Date 1565726057 -7200 # Node ID a775e493d340fc32fb50f4ab3da87fe47291d1ba # Parent 215b495636798cbdcfc54b582a7c24fdd4fa1b8b yet another compatibility fix diff -r 215b49563679 -r a775e493d340 test/configure --- 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`" diff -r 215b49563679 -r a775e493d340 test/make/configure.vm --- a/test/make/configure.vm Tue Aug 13 21:49:10 2019 +0200 +++ b/test/make/configure.vm Tue Aug 13 21:54:17 2019 +0200 @@ -359,7 +359,8 @@ fi #end #foreach( $pkg in $sub.pkgconfig ) - if ! $PKG_CONFIG $pkg.getPkgConfigParam() ; then + $PKG_CONFIG $pkg.getPkgConfigParam() + if [ $? -ne 0 ] ; then break fi CFLAGS="$CFLAGS `$PKG_CONFIG --cflags $pkg.getPkgConfigParam()`" @@ -428,7 +429,8 @@ #end #foreach( $pkg in $dependency.pkgconfig ) printf "checking for pkg-config package $pkg.getPkgConfigParam()... " - if ! $PKG_CONFIG $pkg.getPkgConfigParam() ; then + $PKG_CONFIG $pkg.getPkgConfigParam() + if [ $? -ne 0 ]; then echo no ERROR=1 break