summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-08 10:04:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-08 10:04:57 (GMT)
commit1d65691b58ce345ba67fbf0ee13b3d1c36305d46 (patch)
treeb59c5596497a78c7771fbdb3953181cf40e26b5c /unix/tcl.m4
parent873e2bf39aa14e865a04c337832a550c07831f0a (diff)
downloadtcl-1d65691b58ce345ba67fbf0ee13b3d1c36305d46.zip
tcl-1d65691b58ce345ba67fbf0ee13b3d1c36305d46.tar.gz
tcl-1d65691b58ce345ba67fbf0ee13b3d1c36305d46.tar.bz2
Remove dead code
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m411
1 files changed, 5 insertions, 6 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 4a9fe40..7b84923 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1276,13 +1276,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
case $system in
DragonFly-*|FreeBSD-*)
- AS_IF([test "${TCL_THREADS}" = "1"], [
- # The -pthread needs to go in the LDFLAGS, not LIBS
- LIBS=`echo $LIBS | sed s/-pthread//`
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
- LDFLAGS="$LDFLAGS $PTHREAD_LIBS"])
+ # The -pthread needs to go in the LDFLAGS, not LIBS
+ LIBS=`echo $LIBS | sed s/-pthread//`
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+ LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
;;
- esac
+ esac
AS_IF([test $doRpath = yes], [
CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'])