acinclude.m4

branch
soc.2013.gobjectification.plugins
changeset 36355
15af9d331ee4
parent 16267
82155fd55c27
child 36425
0e5eae8b3487
equal deleted inserted replaced
36354:a45443c51e7d 36355:15af9d331ee4
4 4
5 # Configure paths for GLIB 5 # Configure paths for GLIB
6 # Owen Taylor 1997-2001 6 # Owen Taylor 1997-2001
7 7
8 dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) 8 dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
9 dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or 9 dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gobject or
10 dnl gthread is specified in MODULES, pass to pkg-config 10 dnl gthread is specified in MODULES, pass to pkg-config
11 dnl 11 dnl
12 AC_DEFUN([AM_PATH_GLIB_2_0], 12 AC_DEFUN([AM_PATH_GLIB_2_0],
13 [dnl 13 [dnl
14 dnl Get the cflags and libraries from pkg-config 14 dnl Get the cflags and libraries from pkg-config
18 18
19 pkg_config_args=glib-2.0 19 pkg_config_args=glib-2.0
20 for module in . $4 20 for module in . $4
21 do 21 do
22 case "$module" in 22 case "$module" in
23 gmodule)
24 pkg_config_args="$pkg_config_args gmodule-2.0"
25 ;;
26 gobject) 23 gobject)
27 pkg_config_args="$pkg_config_args gobject-2.0" 24 pkg_config_args="$pkg_config_args gobject-2.0"
28 ;; 25 ;;
29 gthread) 26 gthread)
30 pkg_config_args="$pkg_config_args gthread-2.0" 27 pkg_config_args="$pkg_config_args gthread-2.0"

mercurial