Trivial gtk-2.0.m4 patch



Hi,

I was compling a program that uses GTK 2.0 without pkg-config in my
PATH, and I ran into what appears to be a minor bug in gtk-2.0.m4.  In
case you're interested, the following patch is against CVS.

-- Wil

Index: m4macros/gtk-2.0.m4
===================================================================
RCS file: /cvs/gnome/gtk+/m4macros/gtk-2.0.m4,v
retrieving revision 1.10
diff -u -r1.10 gtk-2.0.m4
--- m4macros/gtk-2.0.m4	6 May 2002 18:01:39 -0000	1.10
+++ m4macros/gtk-2.0.m4	12 Oct 2002 16:43:14 -0000
@@ -27,7 +27,7 @@
   AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
 
   if test x$PKG_CONFIG != xno ; then
-    if pkg-config --atleast-pkgconfig-version 0.7 ; then
+    if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
       :
     else
       echo *** pkg-config too old; version 0.7 or better required.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]