summaryrefslogtreecommitdiff
path: root/gtk.m4
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1999-02-01 23:17:39 +0000
committerOwen Taylor <otaylor@src.gnome.org>1999-02-01 23:17:39 +0000
commit49ff13e5e1d15a8bc9dd5e9f1ab852efb8a3c86e (patch)
tree08f5eda3d753cc9e33a3765ab1dd687d50ece124 /gtk.m4
parentb3184736de326209fea25126473ed108b886b9f8 (diff)
downloadgdk-pixbuf-49ff13e5e1d15a8bc9dd5e9f1ab852efb8a3c86e.tar.gz
Pass gthread on to gtk-config.
Mon Feb 1 16:47:55 1999 Owen Taylor <otaylor@redhat.com> * gtk.m4: Pass gthread on to gtk-config. * configure.in gtk-config.in: Support gthread flag to add thread cflags/libraries into the output of gtk-config.
Diffstat (limited to 'gtk.m4')
-rw-r--r--gtk.m411
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk.m4 b/gtk.m4
index 6cce827ea..9f6b766e1 100644
--- a/gtk.m4
+++ b/gtk.m4
@@ -1,7 +1,7 @@
# Configure paths for GTK+
# Owen Taylor 97-11-3
-dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
dnl
AC_DEFUN(AM_PATH_GTK,
@@ -15,6 +15,15 @@ AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
, enable_gtktest=yes)
+ for module in . $4
+ do
+ case "$module" in
+ gthread)
+ glib_config_args="$glib_config_args gthread"
+ ;;
+ esac
+ done
+
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then