summaryrefslogtreecommitdiffstats
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)
commit4d2d3aed4a5255a87107172a2dce28b6015a3c23 (patch)
treeb59c5596497a78c7771fbdb3953181cf40e26b5c
parentad3fd8f4a2d260fe58044e0c158cfe6544e00e66 (diff)
downloadtcl-4d2d3aed4a5255a87107172a2dce28b6015a3c23.zip
tcl-4d2d3aed4a5255a87107172a2dce28b6015a3c23.tar.gz
tcl-4d2d3aed4a5255a87107172a2dce28b6015a3c23.tar.bz2
Remove dead code
-rwxr-xr-xunix/configure14
-rw-r--r--unix/tcl.m411
2 files changed, 10 insertions, 15 deletions
diff --git a/unix/configure b/unix/configure
index fe3be30..c8e5bdc 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6402,16 +6402,12 @@ fi
case $system in
DragonFly-*|FreeBSD-*)
- if test "${TCL_THREADS}" = "1"
-then :
-
- # The -pthread needs to go in the LDFLAGS, not LIBS
- LIBS=`echo $LIBS | sed s/-pthread//`
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
- LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
-fi
+ # 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
if test $doRpath = yes
then :
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}"'])