diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-03-20 09:22:29 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-03-20 09:22:29 (GMT) |
commit | 5fb696efb5d1d44c98a151dd45ff94377894b92c (patch) | |
tree | 9d87709d9b70a9bf7c9cd508ad33c4ead64e0e3b /unix/configure | |
parent | 490f2e0b539b369e516bf1f9d8034cf0070232c3 (diff) | |
download | tcl-5fb696efb5d1d44c98a151dd45ff94377894b92c.zip tcl-5fb696efb5d1d44c98a151dd45ff94377894b92c.tar.gz tcl-5fb696efb5d1d44c98a151dd45ff94377894b92c.tar.bz2 |
Proposed fix for [2f7cbd01c3].
FossilOrigin-Name: e0b5b5cbd21a59b2c1d69982294bbdc530f8e3c3
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/unix/configure b/unix/configure index 6800fe2..55127c2 100755 --- a/unix/configure +++ b/unix/configure @@ -7639,15 +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. SHLIB_CFLAGS="-fPIC" @@ -7672,11 +7663,16 @@ 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" |