New automake conditional. Only compile the gthread subdirectory if we
authorMartin Baulig <baulig@suse.de>
Fri, 29 Sep 2000 22:18:56 +0000 (22:18 +0000)
committerMartin Baulig <martin@src.gnome.org>
Fri, 29 Sep 2000 22:18:56 +0000 (22:18 +0000)
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.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
Makefile.am
configure.in
glib/Makefile.am

index 38da20a..f7acbb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2000-09-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
index 38da20a..f7acbb0 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-09-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
index 38da20a..f7acbb0 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-09-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
index 38da20a..f7acbb0 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-09-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
index 38da20a..f7acbb0 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-09-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
index 38da20a..f7acbb0 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-09-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
index 38da20a..f7acbb0 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-09-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
index 38da20a..f7acbb0 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-09-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
index f0e75e5..ecff8b1 100644 (file)
@@ -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
index be002dc..a2fa13e 100644 (file)
@@ -777,6 +777,7 @@ if test "x$have_threads" = xnone && test "x$want_threads" != xno; then
 else
        AC_MSG_RESULT($have_threads)
 fi
+AM_CONDITIONAL(HAVE_THREADS, test "x$have_threads" != xnone && test "x$want_threads" != xno)
 
 
 dnl determination of G_THREAD_CFLAGS
index f0e75e5..ecff8b1 100644 (file)
@@ -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