Use $PKG_CONFIG, not pkg-config. (LEE Sau Dan, #75572)
[platform/upstream/glib.git] / configure.in
index 2f33347..2e35593 100644 (file)
@@ -206,7 +206,7 @@ if test x$PKG_CONFIG = xno ; then
   AC_MSG_ERROR([*** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/])
 fi
 
-if pkg-config --atleast-pkgconfig-version 0.5 ; then
+if $PKG_CONFIG --atleast-pkgconfig-version 0.5 ; then
   :
 else
   AC_MSG_ERROR([*** pkg-config too old; version 0.5 or better required.])