comparison mcabber/macros/glib-2.0.m4 @ 73:1fc66b6c08ef

[/trunk] Changeset 87 by mikael * Check for glib and update Makefiles to use it.
author mikael
date Sat, 16 Apr 2005 11:59:26 +0000
parents 35a0a8b8b875
children
comparison
equal deleted inserted replaced
72:9b7f0d313e33 73:1fc66b6c08ef
3 3
4 dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) 4 dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
5 dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or 5 dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or
6 dnl gthread is specified in MODULES, pass to pkg-config 6 dnl gthread is specified in MODULES, pass to pkg-config
7 dnl 7 dnl
8 AC_DEFUN(AM_PATH_GLIB_2_0, 8 AC_DEFUN([AM_PATH_GLIB_2_0],
9 [dnl 9 [dnl
10 dnl Get the cflags and libraries from pkg-config 10 dnl Get the cflags and libraries from pkg-config
11 dnl 11 dnl
12 AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program], 12 AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
13 , enable_glibtest=yes) 13 , enable_glibtest=yes)