mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-10 11:20:28 +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
|
case "$with_threads" in
|
||||||
"yes" | "pthread" | "pthreads" | "pthread-threads" | "")
|
"yes" | "pthread" | "pthreads" | "pthread-threads" | "")
|
||||||
ACX_PTHREAD(CC="$PTHREAD_CC"
|
ACX_PTHREAD(CC="$PTHREAD_CC"
|
||||||
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
|
||||||
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",
|
||||||
|
@ -1187,9 +1186,11 @@ AC_SUBST(LIBGUILE_SRFI_SRFI_13_14_INTERFACE)
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
dnl Tell guile-config what flags guile users should link against.
|
dnl Tell guile-config what flags guile users should compile and link with.
|
||||||
GUILE_LIBS="$LDFLAGS $THREAD_LIBS_INSTALLED $LIBS"
|
GUILE_LIBS"$LDFLAGS $LIBS"
|
||||||
|
GUILE_CFLAGS="$PTHREAD_CFLAGS"
|
||||||
AC_SUBST(GUILE_LIBS)
|
AC_SUBST(GUILE_LIBS)
|
||||||
|
AC_SUBST(GUILE_CFLAGS)
|
||||||
|
|
||||||
AC_SUBST(AWK)
|
AC_SUBST(AWK)
|
||||||
AC_SUBST(LIBLOBJS)
|
AC_SUBST(LIBLOBJS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue