diff options
author | hobbs <hobbs@noemail.net> | 2004-02-13 01:37:09 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2004-02-13 01:37:09 (GMT) |
commit | 9070d40cfb01877e8d501e78ac6c8b979786b4d3 (patch) | |
tree | 5b60ebb8e999db781bc7903e14f46ba7043fa479 /unix/tcl.m4 | |
parent | 619f531985339b1940a9f6df90bf993fbb7f9731 (diff) | |
download | tcl-9070d40cfb01877e8d501e78ac6c8b979786b4d3.zip tcl-9070d40cfb01877e8d501e78ac6c8b979786b4d3.tar.gz tcl-9070d40cfb01877e8d501e78ac6c8b979786b4d3.tar.bz2 |
update HP-11 build libs setup
FossilOrigin-Name: 9fab8c9b07b7dc558399c8e8cf89cfa14b2e36cd
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 9 |
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='' ;; |