summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-03-20 10:39:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-03-20 10:39:35 (GMT)
commitd4b7f036fda7b1585e1a11297d394cf43e3bd380 (patch)
tree36448cf48eda6d491f86002f9f55d90f9ecd6f33 /unix/configure
parentc29283f95f49336a8b8601f37270dfa6bf0fab8d (diff)
downloadtk-d4b7f036fda7b1585e1a11297d394cf43e3bd380.zip
tk-d4b7f036fda7b1585e1a11297d394cf43e3bd380.tar.gz
tk-d4b7f036fda7b1585e1a11297d394cf43e3bd380.tar.bz2
Fix [http://core.tcl.tk/tcl/info/2f7cbd01c3|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 e7ff831..42ae83b 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5845,14 +5845,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.
@@ -5878,11 +5870,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"