diff options
author | hobbs <hobbs> | 2002-10-15 20:55:25 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-10-15 20:55:25 (GMT) |
commit | b8a8755c670d19a707410054c2a511ff508dc426 (patch) | |
tree | 47c8e2c4702b01f1d00e1a9d02f979814992bb59 | |
parent | 0248d22a22c819b43f837351b9e964420120b97e (diff) | |
download | tcl-b8a8755c670d19a707410054c2a511ff508dc426.zip tcl-b8a8755c670d19a707410054c2a511ff508dc426.tar.gz tcl-b8a8755c670d19a707410054c2a511ff508dc426.tar.bz2 |
* unix/configure:
* unix/tcl.m4: correct HP 11 64-bit gcc building.
[Patch #601051] (martin)
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | unix/configure | 10 | ||||
-rw-r--r-- | unix/tcl.m4 | 4 |
3 files changed, 13 insertions, 7 deletions
@@ -1,3 +1,9 @@ +2002-10-15 Jeff Hobbs <jeffh@ActiveState.com> + + * unix/configure: + * unix/tcl.m4: correct HP 11 64-bit gcc building. + [Patch #601051] (martin) + 2002-10-15 Vince Darley <vincentdarley@users.sourceforge.net> * 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 <<EOF -#line 5887 "configure" +#line 5888 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -5894,7 +5895,7 @@ int main() { shl_load() ; return 0; } EOF -if { (eval echo configure:5898: \"$ac_link\") 1>&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" |