--- configure_tests_old.sh 2013-02-10 15:06:01.233431496 +0100 +++ configure_tests.sh 2013-02-10 15:07:10.493428659 +0100 @@ -613,7 +613,7 @@ if [ -z "$found" ]; then pkg-config --atleast-version=0.2 $pc_package if [ $? = 0 ]; then - found=`pkg-config --cflags $pc_package` + found=$? version=`pkg-config --modversion $pc_package` fi fi