From Jess Balint: modern versions of pkg-config want --cflags or --libs *before* the library we're asking about

svn path=/trunk/; revision=22365
This commit is contained in:
Jeff Morriss 2007-07-20 19:11:57 +00:00
parent 3b6cd9fc91
commit ead6372797
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run
fi
if test x"$no_gtk" = x ; then
GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
GTK_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
GTK_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \