diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2013-06-05 07:57:06 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2013-06-05 07:57:06 (GMT) |
commit | 984c4923d6abb322e755dcde5b14bc19747eb8b8 (patch) | |
tree | 81285a3f1d78895d9f807681638a409ea60f0440 /unix/configure | |
parent | 4d139bcdd3359f4e4d35db3d5fce67c6b528532c (diff) | |
parent | 6f640f9e5701a60ac0fbde981742fd3a80f59d18 (diff) | |
download | tcl-984c4923d6abb322e755dcde5b14bc19747eb8b8.zip tcl-984c4923d6abb322e755dcde5b14bc19747eb8b8.tar.gz tcl-984c4923d6abb322e755dcde5b14bc19747eb8b8.tar.bz2 |
merge trunkdkf_compile_improvements
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/unix/configure b/unix/configure index 46b9843..7626343 100755 --- a/unix/configure +++ b/unix/configure @@ -6617,6 +6617,11 @@ cat >>confdefs.h <<\_ACEOF _ACEOF +cat >>confdefs.h <<\_ACEOF +#define HAVE_HIDDEN 1 +_ACEOF + + fi @@ -7827,20 +7832,12 @@ 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" SHLIB_LD="${CC} -shared" - TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + TCL_SHLIB_LD_EXTRAS="-Wl,-soname=\$@" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" @@ -7848,7 +7845,7 @@ fi if test $doRpath = yes; then CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' fi if test "${TCL_THREADS}" = "1"; then @@ -9057,11 +9054,6 @@ cat >>confdefs.h <<\_ACEOF _ACEOF -cat >>confdefs.h <<\_ACEOF -#define NO_VIZ -_ACEOF - - fi |