61 lines
1.7 KiB
Plaintext
61 lines
1.7 KiB
Plaintext
--- configure.orig Tue Aug 8 14:17:11 2000
|
|
+++ configure Thu Nov 2 10:19:48 2000
|
|
@@ -5063,13 +5063,23 @@
|
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
- # NetBSD/SPARC needs -fPIC, -fpic will not do.
|
|
- SHLIB_CFLAGS="-fPIC"
|
|
- SHLIB_LD="ld -Bshareable -x"
|
|
+ # OpenBSD/SPARC needs -fPIC, -fpic will not do.
|
|
+ case `machine` in
|
|
+ sparc)
|
|
+ SHLIB_CFLAGS="-fPIC";;
|
|
+ *)
|
|
+ SHLIB_CFLAGS="-fpic";;
|
|
+ esac
|
|
+ SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
|
|
SHLIB_LD_LIBS=""
|
|
SHLIB_SUFFIX=".so"
|
|
DL_OBJS="tclLoadDl.o"
|
|
- DL_LIBS=""
|
|
+ case `machine` in
|
|
+ powerpc)
|
|
+ DL_LIBS="-ldl";;
|
|
+ *)
|
|
+ DL_LIBS="";;
|
|
+ esac
|
|
LDFLAGS=""
|
|
LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
|
|
echo $ac_n "checking for ELF""... $ac_c" 1>&6
|
|
@@ -5091,7 +5101,7 @@
|
|
else
|
|
rm -rf conftest*
|
|
echo "$ac_t""no" 1>&6
|
|
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.3'
|
|
|
|
fi
|
|
rm -f conftest*
|
|
@@ -5787,10 +5797,9 @@
|
|
TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}"
|
|
eval "TCL_LIB_FILE=libtcl${TCL_SHARED_LIB_SUFFIX}"
|
|
if test "x$DL_OBJS" = "xtclLoadAout.o"; then
|
|
- MAKE_LIB="ar cr \${TCL_LIB_FILE} \${OBJS}"
|
|
+ MAKE_LIB="ar cr \${TCL_LIB_FILE} \${OBJS}; \${RANLIB} \${TCL_LIB_FILE}"
|
|
else
|
|
MAKE_LIB="\${SHLIB_LD} -o \${TCL_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}"
|
|
- RANLIB=":"
|
|
fi
|
|
else
|
|
case $system in
|
|
@@ -5874,7 +5883,7 @@
|
|
# Replace DBGX with TCL_DBGX
|
|
eval "STUB_LIB_FILE=\"${STUB_LIB_FILE}\""
|
|
|
|
-MAKE_STUB_LIB="ar cr \${STUB_LIB_FILE} \${STUB_LIB_OBJS}"
|
|
+MAKE_STUB_LIB="ar cr \${STUB_LIB_FILE} \${STUB_LIB_OBJS}; \${RANLIB} \${STUB_LIB_FILE}"
|
|
|
|
TCL_STUB_LIB_FILE=${STUB_LIB_FILE}
|
|
|