diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-02-01 23:17:39 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-02-01 23:17:39 +0000 |
commit | 49ff13e5e1d15a8bc9dd5e9f1ab852efb8a3c86e (patch) | |
tree | 08f5eda3d753cc9e33a3765ab1dd687d50ece124 /gtk.m4 | |
parent | b3184736de326209fea25126473ed108b886b9f8 (diff) | |
download | gtk+-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.m4 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |