From: Martin Baulig Date: Fri, 29 Sep 2000 22:18:56 +0000 (+0000) Subject: New automake conditional. Only compile the gthread subdirectory if we X-Git-Tag: GLIB_1_3_2~104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79b416d0233f0f293274aa688d464fc27eaaa412;p=platform%2Fupstream%2Fglib.git New automake conditional. Only compile the gthread subdirectory if we 2000-09-30 Martin Baulig * configure.in (HAVE_THREADS): New automake conditional. * Makefile.am (SUBDIRS): Only compile the gthread subdirectory if we actually have threads. --- diff --git a/ChangeLog b/ChangeLog index 38da20a..f7acbb0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-09-30 Martin Baulig + + * 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 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 38da20a..f7acbb0 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2000-09-30 Martin Baulig + + * 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 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 38da20a..f7acbb0 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2000-09-30 Martin Baulig + + * 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 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 38da20a..f7acbb0 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2000-09-30 Martin Baulig + + * 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 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 38da20a..f7acbb0 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2000-09-30 Martin Baulig + + * 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 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 38da20a..f7acbb0 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2000-09-30 Martin Baulig + + * 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 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 38da20a..f7acbb0 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2000-09-30 Martin Baulig + + * 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 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 38da20a..f7acbb0 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2000-09-30 Martin Baulig + + * 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 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; diff --git a/Makefile.am b/Makefile.am index f0e75e5..ecff8b1 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 diff --git a/configure.in b/configure.in index be002dc..a2fa13e 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/glib/Makefile.am b/glib/Makefile.am index f0e75e5..ecff8b1 100644 --- a/glib/Makefile.am +++ b/glib/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