mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
Do not include PTHREAD_CFLAGS in CFLAGS, CFLAGS is
for the user and is often overwritten temporarily. (GUILE_CFLAGS): New, include PTHREAD_CFLAGS here. (GUILE_LIBS): Remove THREAD_LIBS_INSTALLED, which is unused now.
This commit is contained in:
parent
c5c5a1acca
commit
d8b1bb9387
1 changed files with 4 additions and 3 deletions
|
@ -1005,7 +1005,6 @@ AC_ARG_WITH(threads, [ --with-threads thread interface],
|
|||
case "$with_threads" in
|
||||
"yes" | "pthread" | "pthreads" | "pthread-threads" | "")
|
||||
ACX_PTHREAD(CC="$PTHREAD_CC"
|
||||
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
||||
LIBS="$PTHREAD_LIBS $LIBS"
|
||||
SCM_I_GSC_USE_PTHREAD_THREADS=1
|
||||
with_threads="pthreads",
|
||||
|
@ -1187,9 +1186,11 @@ AC_SUBST(LIBGUILE_SRFI_SRFI_13_14_INTERFACE)
|
|||
|
||||
#######################################################################
|
||||
|
||||
dnl Tell guile-config what flags guile users should link against.
|
||||
GUILE_LIBS="$LDFLAGS $THREAD_LIBS_INSTALLED $LIBS"
|
||||
dnl Tell guile-config what flags guile users should compile and link with.
|
||||
GUILE_LIBS"$LDFLAGS $LIBS"
|
||||
GUILE_CFLAGS="$PTHREAD_CFLAGS"
|
||||
AC_SUBST(GUILE_LIBS)
|
||||
AC_SUBST(GUILE_CFLAGS)
|
||||
|
||||
AC_SUBST(AWK)
|
||||
AC_SUBST(LIBLOBJS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue