diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-03-20 10:14:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-03-20 10:14:32 (GMT) |
commit | 92bec6e359c2f911e7d60eaa4dd21d2cefa0db09 (patch) | |
tree | 8a6b10280af34ba3fec693c07947f1de618a0269 | |
parent | 458a834058d8a8066003edf15cbfac5b4e3629f1 (diff) | |
parent | 148177b382eb972506f96cd8bfb45c6958cea1b6 (diff) | |
download | tcl-92bec6e359c2f911e7d60eaa4dd21d2cefa0db09.zip tcl-92bec6e359c2f911e7d60eaa4dd21d2cefa0db09.tar.gz tcl-92bec6e359c2f911e7d60eaa4dd21d2cefa0db09.tar.bz2 |
merge trunk
-rwxr-xr-x | unix/configure | 14 | ||||
-rw-r--r-- | unix/tcl.m4 | 14 |
2 files changed, 18 insertions, 10 deletions
diff --git a/unix/configure b/unix/configure index 5fd9dea..47a1a30 100755 --- a/unix/configure +++ b/unix/configure @@ -7761,11 +7761,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" diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 72094bb..3f00e5b 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1545,11 +1545,15 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ LIBS=`echo $LIBS | sed s/-pthread//` CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # 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" |