summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-08 21:35:17 (GMT)
committernijtmans <nijtmans>2008-10-08 21:35:17 (GMT)
commit4ff44a77ace5e7a16b6a1313039cfa71a82d02f9 (patch)
tree5f5fc814bf93245e888ffecc16d6bd44e75a5cc0 /unix/configure
parent3dac24314a5483f488d9d5255b7fb6bbeba91b3b (diff)
downloadtcl-4ff44a77ace5e7a16b6a1313039cfa71a82d02f9.zip
tcl-4ff44a77ace5e7a16b6a1313039cfa71a82d02f9.tar.gz
tcl-4ff44a77ace5e7a16b6a1313039cfa71a82d02f9.tar.bz2
* unix/tclUnixChan.c: fix minor compiler warning
* unix/tcl.m4: fix for bug [2073255] * unix/configure: regenerated
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure17
1 files changed, 9 insertions, 8 deletions
diff --git a/unix/configure b/unix/configure
index 71235e3..1348e0a 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6722,14 +6722,12 @@ fi
if test "$tcl_ok" = yes; then
- SHLIB_CFLAGS="+z"
- SHLIB_LD="ld -b"
SHLIB_LD_LIBS='${LIBS}'
DL_OBJS="tclLoadShl.o"
DL_LIBS="-ldld"
LDFLAGS="$LDFLAGS -Wl,-E"
CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
- LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
+ LD_SEARCH_FLAGS='-Wl,+s +b ${LIB_RUNTIME_DIR}:.'
LD_LIBRARY_PATH_VAR="SHLIB_PATH"
fi
@@ -6737,14 +6735,17 @@ fi
if test "$GCC" = yes; then
SHLIB_LD='${CC} -shared'
- SHLIB_LD_LIBS='${LIBS}'
- LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
-fi
+else
+ CFLAGS="$CFLAGS -z"
+ # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
+ #CFLAGS="$CFLAGS +DAportable"
+ SHLIB_CFLAGS="+z"
+ SHLIB_LD="${CC} -Wl,-b"
+
+fi
- # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
- #CFLAGS="$CFLAGS +DAportable"
# Check to enable 64-bit flags for compiler/linker
if test "$do64bit" = "yes"; then