Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > cf5da7c35f982c5da2bd71ac1cc06a7a > files > 4

xferstats-2.16-20.fc12.src.rpm

--- xferstats-2.16/configure.in.moo	2006-04-04 11:52:55.000000000 -0400
+++ xferstats-2.16/configure.in	2006-04-04 11:53:55.000000000 -0400
@@ -157,9 +157,9 @@
 if test x$with_glib = x ; then
   # Look for separately installed glib
 
-  AM_PATH_GLIB(1.1.3,,
+  AM_PATH_GLIB_2_0(2.0.0,,
     AC_MSG_ERROR([
-*** GLIB 1.1.3 or better is required. The latest version of GLIB
+*** GLIB 2.0.0 or better is required. The latest version of GLIB
 *** is always available from ftp://ftp.gtk.org.]),
     gmodule)
 
@@ -168,17 +168,17 @@
 else
   # Use uninstalled glib (assume they got the version right)
 
-  if test -x $with_glib/glib-config ; then
+  if test -x $with_glib/pkg-config ; then
     :
   else
     AC_MSG_ERROR([GLIB directory ($with_glib) not present or not configured])
   fi
 
   # For use in gtk-config
-  glib_cflags=`$with_glib/glib-config --cflags`
-  glib_libs=`$with_glib/glib-config --libs`
+  glib_cflags=`$with_glib/pkg-config --cflags glib-2.0`
+  glib_libs=`$with_glib/pkg-config --libs glib-2.0`
 
-  glib_release=`$with_glib/glib-config --version | sed 's%\\.[[0-9]]*$%%'`
+  glib_release=`$with_glib/pkg-config --modversion glib-2.0 | sed 's%\\.[[0-9]]*$%%'`
 
   # canonicalize relative paths
   case $with_glib in