From b8a8755c670d19a707410054c2a511ff508dc426 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 15 Oct 2002 20:55:25 +0000 Subject: * unix/configure: * unix/tcl.m4: correct HP 11 64-bit gcc building. [Patch #601051] (martin) --- ChangeLog | 6 ++++++ unix/configure | 10 +++++----- unix/tcl.m4 | 4 ++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc6c6aa..683de0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-10-15 Jeff Hobbs + + * unix/configure: + * unix/tcl.m4: correct HP 11 64-bit gcc building. + [Patch #601051] (martin) + 2002-10-15 Vince Darley * generic/tclCmdMZ.c: diff --git a/unix/configure b/unix/configure index 3fe81f1..900f4bb 100755 --- a/unix/configure +++ b/unix/configure @@ -5852,7 +5852,7 @@ fi # Check to enable 64-bit flags for compiler/linker if test "$do64bit" = "yes" ; then if test "$GCC" = "yes" ; then - hpux_arch='`gcc -dumpmachine`' + hpux_arch=`gcc -dumpmachine` case $hpux_arch in hppa64*) # 64-bit gcc in use. Fix flags for GNU ld. @@ -5860,6 +5860,7 @@ fi SHLIB_LD="gcc -shared" SHLIB_LD_LIBS="" LD_SEARCH_FLAGS='' + CC_SEARCH_FLAGS='' ;; *) echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2 @@ -5875,7 +5876,7 @@ fi HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) SHLIB_SUFFIX=".sl" echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 -echo "configure:5879: checking for shl_load in -ldld" >&5 +echo "configure:5880: checking for shl_load in -ldld" >&5 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -5883,7 +5884,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5999,7 +6000,6 @@ fi LDFLAGS="-64" fi fi - ;; Linux*) SHLIB_CFLAGS="-fPIC" diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 7735236..3512bc7 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -961,7 +961,7 @@ dnl AC_CHECK_TOOL(AR, ar, :) # Check to enable 64-bit flags for compiler/linker if test "$do64bit" = "yes" ; then if test "$GCC" = "yes" ; then - hpux_arch='`gcc -dumpmachine`' + hpux_arch=`gcc -dumpmachine` case $hpux_arch in hppa64*) # 64-bit gcc in use. Fix flags for GNU ld. @@ -969,6 +969,7 @@ dnl AC_CHECK_TOOL(AR, ar, :) SHLIB_LD="gcc -shared" SHLIB_LD_LIBS="" LD_SEARCH_FLAGS='' + CC_SEARCH_FLAGS='' ;; *) AC_MSG_WARN("64bit mode not supported with GCC on $system") @@ -1068,7 +1069,6 @@ dnl AC_CHECK_TOOL(AR, ar, :) LDFLAGS="-64" fi fi - ;; Linux*) SHLIB_CFLAGS="-fPIC" -- cgit v0.12