mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-15 18:20:42 +02:00
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.
This commit is contained in:
parent
3cd9d9bae2
commit
7747b2d4f0
1 changed files with 6 additions and 5 deletions
11
configure.in
11
configure.in
|
@ -1281,11 +1281,12 @@ case "$with_threads" in
|
||||||
|
|
||||||
build_pthread_support="yes"
|
build_pthread_support="yes"
|
||||||
|
|
||||||
ACX_PTHREAD(CC="$PTHREAD_CC"
|
ACX_PTHREAD([CC="$PTHREAD_CC"
|
||||||
LIBS="$PTHREAD_LIBS $LIBS"
|
LIBS="$PTHREAD_LIBS $LIBS"
|
||||||
SCM_I_GSC_USE_PTHREAD_THREADS=1
|
SCM_I_GSC_USE_PTHREAD_THREADS=1
|
||||||
with_threads="pthreads",
|
with_threads="pthreads"],
|
||||||
with_threads="null")
|
[with_threads="null"
|
||||||
|
build_pthread_support="no"])
|
||||||
|
|
||||||
old_CFLAGS="$CFLAGS"
|
old_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue