HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c957b8
)
Fix the `BUILD_PTHREAD_SUPPORT' Automake conditional when not using pthread.
author
Ludovic Courtès
<ludo@gnu.org>
Sun, 5 Jul 2009 19:10:35 +0000
(21:10 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Sun, 5 Jul 2009 21:42:02 +0000
(23:42 +0200)
* configure.in: Set $build_pthread_support to "no" when thread support
isn't built. This fixes the `BUILD_PTHREAD_SUPPORT' Automake
conditional.
configure.in
patch
|
blob
|
blame
|
history
diff --git
a/configure.in
b/configure.in
index
73fc153
..
53049eb
100644
(file)
--- 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"