summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-03-20 10:06:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-03-20 10:06:25 (GMT)
commit088a4cf13f80f2f550ea83ae3e1cb085449aa424 (patch)
treebaf1f28542ce913f89b52f6e41008160ddebc028 /unix/configure
parent85ef4165965dd5e25ccfb0e01ac2d1cf4b3df7aa (diff)
parentafc78cdb50eea22471934dad252ce914c1bf492b (diff)
downloadtcl-088a4cf13f80f2f550ea83ae3e1cb085449aa424.zip
tcl-088a4cf13f80f2f550ea83ae3e1cb085449aa424.tar.gz
tcl-088a4cf13f80f2f550ea83ae3e1cb085449aa424.tar.bz2
Fix [2f7cbd01c3]: tcl8.6.1 fails to build on FreeBSD 10.0
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure22
1 files changed, 9 insertions, 13 deletions
diff --git a/unix/configure b/unix/configure
index 6800fe2..1b2ea41 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7639,14 +7639,6 @@ fi
fi
- case $system in
- FreeBSD-3.*)
- # FreeBSD-3 doesn't handle version numbers with dots.
- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
- TCL_LIB_VERSIONS_OK=nodots
- ;;
- esac
;;
FreeBSD-*)
# This configuration from FreeBSD Ports.
@@ -7672,11 +7664,15 @@ fi
LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
fi
- # Version numbers are dot-stripped by system policy.
- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
- TCL_LIB_VERSIONS_OK=nodots
+ case $system in
+ FreeBSD-3.*)
+ # Version numbers are dot-stripped by system policy.
+ TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
+ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ esac
;;
Darwin-*)
CFLAGS_OPTIMIZE="-Os"