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
This commit is contained in:
Dan Winship 2008-01-15 10:12:58 +00:00 committed by Alexander Larsson
parent cc1404cfc8
commit 5fa9ff14a9
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-01-14 Dan Winship <danw@gnome.org>
* m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)
2008-01-15 Dan Winship <danw@gnome.org>
* glib/gchecksum.c (md5_sum_update): fix this; the previous code

View File

@ -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