1999-04-12 10:17:57 +00:00
|
|
|
--- configure.orig Fri Mar 5 08:21:28 1999
|
|
|
|
+++ configure Mon Apr 12 14:21:22 1999
|
|
|
|
@@ -2301,6 +2301,9 @@
|
1998-07-12 17:43:54 +00:00
|
|
|
$blt_cv_tcl_lib \
|
1999-04-12 10:17:57 +00:00
|
|
|
$prefix/lib \
|
|
|
|
$exec_prefix/lib \
|
1998-07-12 17:43:54 +00:00
|
|
|
+ /usr/local/lib/tcl8.0 \
|
|
|
|
+ /usr/local/lib/tcl7.6 \
|
|
|
|
+ /usr/local/lib/tcl7.5 \
|
|
|
|
/usr/local/tcl/lib \
|
|
|
|
/usr/local/tcl/tcl8.0/lib \
|
|
|
|
/usr/local/tcl/tcl7.6/lib \
|
1999-04-12 10:17:57 +00:00
|
|
|
@@ -2340,6 +2343,9 @@
|
1998-07-12 17:43:54 +00:00
|
|
|
$blt_cv_tk_lib \
|
1999-04-12 10:17:57 +00:00
|
|
|
$prefix/lib \
|
|
|
|
$exec_prefix/lib \
|
1998-07-12 17:43:54 +00:00
|
|
|
+ /usr/local/lib/tk8.0 \
|
|
|
|
+ /usr/local/lib/tk4.2 \
|
|
|
|
+ /usr/local/lib/tk4.1 \
|
|
|
|
/usr/local/tcl/lib \
|
|
|
|
/usr/local/tcl/tk8.0/lib \
|
|
|
|
/usr/local/tcl/tk4.2/lib \
|
1999-04-12 10:17:57 +00:00
|
|
|
@@ -2433,6 +2439,13 @@
|
1998-07-12 17:43:54 +00:00
|
|
|
tclLibDir=${TCL_PREFIX}/lib
|
|
|
|
tkLibDir=${TK_PREFIX}/lib
|
1996-08-05 04:00:39 +00:00
|
|
|
|
1998-07-12 17:43:54 +00:00
|
|
|
+case $target in
|
|
|
|
+ *-freebsd*)
|
|
|
|
+ tclIncSpec="-I${TCL_PREFIX}/include/tcl${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}"
|
|
|
|
+ tkIncSpec="-I${TK_PREFIX}/include/tk${TK_MAJOR_VERSION}.${TK_MINOR_VERSION}"
|
|
|
|
+ ;;
|
|
|
|
+esac
|
|
|
|
+
|
|
|
|
itclLibSpec=""
|
|
|
|
itclIncSpec=""
|
|
|
|
itclSuffix=""
|
1999-04-12 10:17:57 +00:00
|
|
|
@@ -2451,7 +2464,7 @@
|
1998-07-12 17:43:54 +00:00
|
|
|
tkLibSpec=${TK_LIB_SPEC}
|
1996-08-05 04:00:39 +00:00
|
|
|
|
1998-07-12 17:43:54 +00:00
|
|
|
case $target in
|
|
|
|
- *-sunos4*|NetBSD-*|FreeBSD-*|OpenBSD-*)
|
|
|
|
+ *-freebsd*|*-sunos4*|NetBSD-*|FreeBSD-*|OpenBSD-*)
|
|
|
|
tclLib="-ltcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}${itclSuffix}"
|
|
|
|
tkLib="-ltk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}${itclSuffix}"
|
1996-08-05 04:00:39 +00:00
|
|
|
;;
|
1999-04-12 10:17:57 +00:00
|
|
|
@@ -3170,7 +3183,13 @@
|
1998-10-20 01:24:34 +00:00
|
|
|
if test "$test_ok" = yes; then
|
1998-07-12 17:43:54 +00:00
|
|
|
SHLIB_CFLAGS="-fpic"
|
|
|
|
SHLIB_LD="ld"
|
1998-10-21 03:49:27 +00:00
|
|
|
- SHLIB_LD_FLAGS="-Bshareable -x"
|
1998-10-20 01:24:34 +00:00
|
|
|
+ if test `objformat` = "elf"; then
|
|
|
|
+ SHLIB_LD_FLAGS="-Bshareable -x -soname \$@"
|
|
|
|
+ SHLIB_SUFFIX=".so.${bltMajor}"
|
|
|
|
+ else
|
|
|
|
+ SHLIB_LD_FLAGS="-Bshareable -x"
|
|
|
|
+ SHLIB_SUFFIX=".so.${bltMajor}.${bltMinor}"
|
|
|
|
+ fi
|
1998-07-12 17:43:54 +00:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|