diff options
author | Martin Baulig <baulig@suse.de> | 2000-09-29 22:18:56 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2000-09-29 22:18:56 +0000 |
commit | 79b416d0233f0f293274aa688d464fc27eaaa412 (patch) | |
tree | c81c9477d6a45fe8f4548e5819d7e5cb7d8fe31b /Makefile.am | |
parent | fbb33fd6d117d66122c4ba4c7d18daf3ed87f42f (diff) | |
download | glib-79b416d0233f0f293274aa688d464fc27eaaa412.tar.gz |
New automake conditional. Only compile the gthread subdirectory if we
2000-09-30 Martin Baulig <baulig@suse.de>
* configure.in (HAVE_THREADS): New automake conditional.
* Makefile.am (SUBDIRS): Only compile the gthread subdirectory if we
actually have threads.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index f0e75e5df..ecff8b132 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,13 @@ AUTOMAKE_OPTIONS = 1.4 -SUBDIRS = . gobject gmodule gthread docs tests build +if HAVE_THREADS +gthread = gthread +else +gthread = +endif + +SUBDIRS = . gobject gmodule $(gthread) docs tests build bin_SCRIPTS=glib-config-2.0 BUILT_SOURCES=glib-config-2.0 |