comparison acinclude.m4 @ 8992:f15fcdbecf0a

[gaim-migrate @ 9767] Apparently we were shy on quoting ... this autoconf stuff needs seriuos TLC committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Thu, 20 May 2004 23:52:10 +0000
parents 35f92559a4a1
children c143a3fac58d
comparison
equal deleted inserted replaced
8991:34bd1b38cc27 8992:f15fcdbecf0a
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 gmodule, 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
15 dnl 15 dnl
16 AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program], 16 AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
17 , enable_glibtest=yes) 17 , enable_glibtest=yes)
219 219
220 dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) 220 dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
221 dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, 221 dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
222 dnl pass to pkg-config 222 dnl pass to pkg-config
223 dnl 223 dnl
224 AC_DEFUN(AM_PATH_GTK_2_0, 224 AC_DEFUN([AM_PATH_GTK_2_0],
225 [dnl 225 [dnl
226 dnl Get the cflags and libraries from pkg-config 226 dnl Get the cflags and libraries from pkg-config
227 dnl 227 dnl
228 AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program], 228 AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
229 , enable_gtktest=yes) 229 , enable_gtktest=yes)
420 # Shamelessly stolen from Owen Taylor and Manish Singh 420 # Shamelessly stolen from Owen Taylor and Manish Singh
421 421
422 dnl GAIM_PATH_AO([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) 422 dnl GAIM_PATH_AO([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
423 dnl Test for libao, and define AO_CFLAGS and AO_LIBS 423 dnl Test for libao, and define AO_CFLAGS and AO_LIBS
424 dnl 424 dnl
425 AC_DEFUN(GAIM_PATH_AO, 425 AC_DEFUN([GAIM_PATH_AO],
426 [dnl 426 [dnl
427 dnl Get the cflags and libraries 427 dnl Get the cflags and libraries
428 dnl 428 dnl
429 AC_ARG_WITH(ao,[ --with-ao=PFX Prefix where libao is installed (optional)], ao_prefix="$withval", ao_prefix="") 429 AC_ARG_WITH(ao,[ --with-ao=PFX Prefix where libao is installed (optional)], ao_prefix="$withval", ao_prefix="")
430 AC_ARG_WITH(ao-libraries,[ --with-ao-libraries=DIR Directory where libao library is installed (optional)], ao_libraries="$withval", ao_libraries="") 430 AC_ARG_WITH(ao-libraries,[ --with-ao-libraries=DIR Directory where libao library is installed (optional)], ao_libraries="$withval", ao_libraries="")
539 # Shamelessly stolen from Owen Taylor 539 # Shamelessly stolen from Owen Taylor
540 540
541 dnl AM_PATH_AUDIOFILE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) 541 dnl AM_PATH_AUDIOFILE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
542 dnl Test for Audio File Library, and define AUDIOFILE_CFLAGS and AUDIOFILE_LIBS. 542 dnl Test for Audio File Library, and define AUDIOFILE_CFLAGS and AUDIOFILE_LIBS.
543 dnl 543 dnl
544 AC_DEFUN(AM_PATH_AUDIOFILE, 544 AC_DEFUN([AM_PATH_AUDIOFILE],
545 [dnl 545 [dnl
546 dnl Get compiler flags and libraries from the audiofile-config script. 546 dnl Get compiler flags and libraries from the audiofile-config script.
547 dnl 547 dnl
548 AC_ARG_WITH(audiofile-prefix,[ --with-audiofile-prefix=PFX Prefix where Audio File Library is installed (optional)], 548 AC_ARG_WITH(audiofile-prefix,[ --with-audiofile-prefix=PFX Prefix where Audio File Library is installed (optional)],
549 audiofile_prefix="$withval", audiofile_prefix="") 549 audiofile_prefix="$withval", audiofile_prefix="")