diff options
author | stanton <stanton> | 1999-04-24 01:46:51 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-04-24 01:46:51 (GMT) |
commit | d6f3ad620713ca2ff8a9b7cb854cdc28aa20ea64 (patch) | |
tree | ee21dbcb6a2c11333b3f9276847c8e7e44e47052 /unix/configure.in | |
parent | 7fe0693f639b20e19c4cb0ad38d091809e04bead (diff) | |
download | tcl-d6f3ad620713ca2ff8a9b7cb854cdc28aa20ea64.zip tcl-d6f3ad620713ca2ff8a9b7cb854cdc28aa20ea64.tar.gz tcl-d6f3ad620713ca2ff8a9b7cb854cdc28aa20ea64.tar.bz2 |
merged 8.1.0 changes into mainline
Diffstat (limited to 'unix/configure.in')
-rw-r--r-- | unix/configure.in | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/unix/configure.in b/unix/configure.in index 711863f..ab8e791 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -2,7 +2,7 @@ dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which is run during Tcl installation dnl to configure the system for the local environment. AC_INIT(../generic/tcl.h) -# RCS: @(#) $Id: configure.in,v 1.32 1999/04/21 21:50:33 rjohnson Exp $ +# RCS: @(#) $Id: configure.in,v 1.33 1999/04/24 01:46:54 stanton Exp $ TCL_VERSION=8.1 TCL_MAJOR_VERSION=8 @@ -907,7 +907,7 @@ case $system in LD_FLAGS="-Wl,-Bexport" LD_SEARCH_FLAGS="" ;; - NetBSD-*|FreeBSD-*|OpenBSD-*) + NetBSD-*|FreeBSD-[12].*|OpenBSD-*) # Not available on all versions: check for include file. AC_CHECK_HEADER(dlfcn.h, [ SHLIB_CFLAGS="-fpic" @@ -935,6 +935,17 @@ case $system in TCL_UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' TCL_LIB_VERSIONS_OK=nodots + ;; + FreeBSD-*) + # FreeBSD 3.* and greater have ELF. + SHLIB_CFLAGS="-fpic" + SHLIB_LD="ld -Bshareable -x" + SHLIB_LD_LIBS="" + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="" + LD_FLAGS="" + LD_SEARCH_FLAGS="" ;; NEXTSTEP-*) SHLIB_CFLAGS="" |