summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-02-13 01:39:39 (GMT)
committerhobbs <hobbs>2004-02-13 01:39:39 (GMT)
commit4ccf035c3c059e72d8c07cd8e5d55fbb5e6e4778 (patch)
treede00e26b11df4a297749ff6a502673971ccc3cc4 /unix
parent6a4ec4a0e0e294722fb274bc5a6492d51407e8ed (diff)
downloadtk-4ccf035c3c059e72d8c07cd8e5d55fbb5e6e4778.zip
tk-4ccf035c3c059e72d8c07cd8e5d55fbb5e6e4778.tar.gz
tk-4ccf035c3c059e72d8c07cd8e5d55fbb5e6e4778.tar.bz2
update HP-11 build libs setup
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 5b4ed48..db85ff9 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -469,6 +469,7 @@ AC_DEFUN(SC_ENABLE_THREADS, [
ac_saved_libs=$LIBS
LIBS="$LIBS $THREADS_LIBS"
AC_CHECK_FUNCS(pthread_attr_setstacksize)
+ AC_CHECK_FUNCS(pthread_atfork)
LIBS=$ac_saved_libs
AC_CHECK_FUNCS(readdir_r)
else
@@ -988,6 +989,12 @@ dnl AC_CHECK_TOOL(AR, ar)
LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
LD_LIBRARY_PATH_VAR="SHLIB_PATH"
fi
+ if test "$GCC" = "yes" ; then
+ SHLIB_LD="gcc -shared"
+ SHLIB_LD_LIBS='${LIBS}'
+ LD_SEARCH_FLAGS=''
+ CC_SEARCH_FLAGS=''
+ fi
# Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
#EXTRA_CFLAGS="+DAportable"
@@ -1001,7 +1008,7 @@ dnl AC_CHECK_TOOL(AR, ar)
# 64-bit gcc in use. Fix flags for GNU ld.
do64bit_ok=yes
SHLIB_LD="gcc -shared"
- SHLIB_LD_LIBS=""
+ SHLIB_LD_LIBS='${LIBS}'
LD_SEARCH_FLAGS=''
CC_SEARCH_FLAGS=''
;;