summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-04 08:33:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-04 08:33:16 (GMT)
commit6f640f9e5701a60ac0fbde981742fd3a80f59d18 (patch)
tree18d659a4f6430b4aa3716f83d5896ea56785c16d /unix/configure
parent60c6195c4c60a3493f13ecb118fe433cfbd4af98 (diff)
downloadtcl-6f640f9e5701a60ac0fbde981742fd3a80f59d18.zip
tcl-6f640f9e5701a60ac0fbde981742fd3a80f59d18.tar.gz
tcl-6f640f9e5701a60ac0fbde981742fd3a80f59d18.tar.bz2
Eliminate NO_VIZ macro as current zlib uses HAVE_HIDDEN in stead.
One more last-moment fix for FreeBSD by Pietro Cerutti
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure20
1 files changed, 6 insertions, 14 deletions
diff --git a/unix/configure b/unix/configure
index 583cd01..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=""
@@ -9057,11 +9054,6 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
-cat >>confdefs.h <<\_ACEOF
-#define NO_VIZ
-_ACEOF
-
-
fi