diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-07-05 21:10:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-07-05 23:42:02 +0200 |
commit | 345b17e911a136775a901c234b8cee95d490845c (patch) | |
tree | d9184d4190b286f9b983b98de07fdcffe546626d | |
parent | 7c957b8657a510395fc451ae4a8e7e3fe5a643ad (diff) | |
download | guile-345b17e911a136775a901c234b8cee95d490845c.tar.gz |
Fix the `BUILD_PTHREAD_SUPPORT' Automake conditional when not using pthread.
* configure.in: Set $build_pthread_support to "no" when thread support
isn't built. This fixes the `BUILD_PTHREAD_SUPPORT' Automake
conditional.
-rw-r--r-- | configure.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 73fc15321..53049eb79 100644 --- a/configure.in +++ b/configure.in @@ -1246,11 +1246,12 @@ case "$with_threads" in build_pthread_support="yes" - ACX_PTHREAD(CC="$PTHREAD_CC" - LIBS="$PTHREAD_LIBS $LIBS" - SCM_I_GSC_USE_PTHREAD_THREADS=1 - with_threads="pthreads", - with_threads="null") + ACX_PTHREAD([CC="$PTHREAD_CC" + LIBS="$PTHREAD_LIBS $LIBS" + SCM_I_GSC_USE_PTHREAD_THREADS=1 + with_threads="pthreads"], + [with_threads="null" + build_pthread_support="no"]) old_CFLAGS="$CFLAGS" CFLAGS="$PTHREAD_CFLAGS $CFLAGS" |