diff options
author | hobbs <hobbs> | 2004-02-13 01:39:39 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-02-13 01:39:39 (GMT) |
commit | ad7029aac960220403a811dbf9e0332ed5381d05 (patch) | |
tree | de00e26b11df4a297749ff6a502673971ccc3cc4 /unix/tcl.m4 | |
parent | a7be65999b9c4b9fae5a80c9775cab14109ab802 (diff) | |
download | tk-ad7029aac960220403a811dbf9e0332ed5381d05.zip tk-ad7029aac960220403a811dbf9e0332ed5381d05.tar.gz tk-ad7029aac960220403a811dbf9e0332ed5381d05.tar.bz2 |
update HP-11 build libs setup
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='' ;; |