test/make/configure.vm

changeset 12
a775e493d340
parent 11
215b49563679
child 13
cdf8bf4549c4
--- 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

mercurial