make/configure.vm

changeset 208
fedd0f957c31
parent 207
27f8a41882a7
child 209
a6d8181a8127
--- a/make/configure.vm	Tue Aug 13 21:50:16 2019 +0200
+++ b/make/configure.vm	Tue Aug 13 21:55:10 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