summaryrefslogtreecommitdiff
path: root/m4macros/glib-2.0.m4
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2008-01-15 10:12:58 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-01-15 10:12:58 +0000
commit5fa9ff14a93414e16b0bd46d14b4eea910e9df8e (patch)
treeecddb1c45cf06b967b909f5ca2ec62ce8608bfd3 /m4macros/glib-2.0.m4
parentcc1404cfc8ad8cb0d3c95307dcc92c48a57d9a3b (diff)
Support gio in AM_PATH_GLIB_2_0 (#509465)
2008-01-14 Dan Winship <danw@gnome.org> * m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465) svn path=/trunk/; revision=6315
Diffstat (limited to 'm4macros/glib-2.0.m4')
-rw-r--r--m4macros/glib-2.0.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4macros/glib-2.0.m4 b/m4macros/glib-2.0.m4
index 11df0b4f0..be79a4626 100644
--- a/m4macros/glib-2.0.m4
+++ b/m4macros/glib-2.0.m4
@@ -2,8 +2,8 @@
# Owen Taylor 1997-2001
dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
-dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or
-dnl gthread is specified in MODULES, pass to pkg-config
+dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
+dnl gthread, or gio is specified in MODULES, pass to pkg-config
dnl
AC_DEFUN([AM_PATH_GLIB_2_0],
[dnl
@@ -28,6 +28,9 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run
gthread)
pkg_config_args="$pkg_config_args gthread-2.0"
;;
+ gio*)
+ pkg_config_args="$pkg_config_args $module-2.0"
+ ;;
esac
done