[glib/m4-fixes] m4: Fix AM_PATH_GLIB_2_0 macro



commit 4fe6840c8630ab622bdb5350c01dc25e6c19c3df
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Oct 11 12:48:22 2018 +0100

    m4: Fix AM_PATH_GLIB_2_0 macro
    
    There's an extraneous variable expansion in the pkg-config check for
    GLib which breaks the check and makes it fail every time.
    
    This breaks every Autotools-based module using AM_PATH_GLIB_2_0.

 m4macros/glib-2.0.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/m4macros/glib-2.0.m4 b/m4macros/glib-2.0.m4
index 92dbc7d85..c18844681 100644
--- a/m4macros/glib-2.0.m4
+++ b/m4macros/glib-2.0.m4
@@ -53,7 +53,7 @@ AC_ARG_ENABLE(glibtest, [  --disable-glibtest      do not try to compile and run
   fi
 
   dnl For GLIB_CFLAGS and GLIB_LIBS
-  PKG_CHECK_MODULES([GLIB], [$pkg_config_args >= $min_glib_version], [:], [:])
+  PKG_CHECK_MODULES([GLIB], [$pkg_config_args], [:], [:])
 
   dnl For the tools
   PKG_CHECK_VAR([GLIB_GENMARSHAL], [glib-2.0], [glib_genmarshal])


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