* Makefile.in (AR): use @AR@
authorJeff Hobbs <hobbs@users.sourceforge.net>
Sat, 19 Mar 2005 01:43:47 +0000 (01:43 +0000)
committerJeff Hobbs <hobbs@users.sourceforge.net>
Sat, 19 Mar 2005 01:43:47 +0000 (01:43 +0000)
* configure, tclconfig/tcl.m4: TEA 3.2 patch update

ChangeLog
Makefile.in
configure
tclconfig/tcl.m4

index 5c21ae36d4cc094cb2bf25b3ac1ec5509fd07c95..75a31c495089968f4a67396576d731db08607cc6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-18  Jeff Hobbs  <jeffh@ActiveState.com>
+
+       * Makefile.in (AR): use @AR@
+       * configure, tclconfig/tcl.m4: TEA 3.2 patch update
+
 2005-02-14  Jean-Claude Wippler  <jcw@equi4.com>
 
        * configure, configure.in, tclconfig/tcl.m4: update from sample
index de1487832a792799be41fd87754570a42d8d5a9a..1d68c3524c65ee0139b48d60414cfa71751842d1 100644 (file)
@@ -141,7 +141,7 @@ CONFIG_CLEAN_FILES = Makefile
 
 CPPFLAGS       = @CPPFLAGS@
 LIBS           = @PKG_LIBS@ @LIBS@
-AR             = ar
+AR             = @AR@
 ## need to include the tcl source dir here for tclPort.h
 CFLAGS         = @CFLAGS@
 COMPILE                = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
index 6da4502bc5b0bd8d7e350b35ffe73811677d25ed..4bb5f95667e7594a86a94fe5fdea1ab39e363c08 100755 (executable)
--- a/configure
+++ b/configure
@@ -6895,13 +6895,12 @@ echo $ECHO_N "checking for tclsh... $ECHO_C" >&6
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-       if test "${TEA_PLATFORM}" = "windows" -a "$do64bit_ok" = "yes" \
-               -o "$doWince" != "no" ; then
-           # A Windows cross-compile build - restrict target tclsh
+       search_path=`echo ${PATH} | sed -e 's/:/ /g'`
+       if test "${TEA_PLATFORM}" != "windows" -o \
+               \( "$do64bit_ok" = "no" -a "$doWince" = "no" \) ; then
+           # Do not allow target tclsh in known cross-compile builds,
            # as we need one we can run on this system
-           search_path=`echo ${PATH} | sed -e 's/:/ /g'`
-       else
-           search_path=`echo ${TCL_BIN_DIR}:${TCL_BIN_DIR}/../bin:${exec_prefix}/bin:${prefix}/bin:${PATH} | sed -e 's/:/ /g'`
+           search_path="${TCL_BIN_DIR} ${TCL_BIN_DIR}/../bin ${exec_prefix}/bin ${prefix}/bin ${search_path}"
        fi
        for dir in $search_path ; do
            for j in `ls -r $dir/tclsh[8-9]*${EXEEXT} 2> /dev/null` \
@@ -7778,7 +7777,6 @@ fi
            if test "$GCC" = "yes" ; then
                SHLIB_LD="gcc -shared"
                SHLIB_LD_LIBS='${LIBS}'
-               LD_SEARCH_FLAGS=''
            fi
 
            # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
@@ -7794,7 +7792,6 @@ fi
                            do64bit_ok=yes
                            SHLIB_LD="${CC} -shared"
                            SHLIB_LD_LIBS='${LIBS}'
-                           LD_SEARCH_FLAGS=''
                            ;;
                        *)
                            { echo "$as_me:$LINENO: WARNING: \"64bit mode not supported with GCC on $system\"" >&5
@@ -9902,13 +9899,12 @@ echo $ECHO_N "checking for tclsh... $ECHO_C" >&6
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-       if test "${TEA_PLATFORM}" = "windows" -a "$do64bit_ok" = "yes" \
-               -o "$doWince" != "no" ; then
-           # A Windows cross-compile build - restrict target tclsh
+       search_path=`echo ${PATH} | sed -e 's/:/ /g'`
+       if test "${TEA_PLATFORM}" != "windows" -o \
+               \( "$do64bit_ok" = "no" -a "$doWince" = "no" \) ; then
+           # Do not allow target tclsh in known cross-compile builds,
            # as we need one we can run on this system
-           search_path=`echo ${PATH} | sed -e 's/:/ /g'`
-       else
-           search_path=`echo ${TCL_BIN_DIR}:${TCL_BIN_DIR}/../bin:${exec_prefix}/bin:${prefix}/bin:${PATH} | sed -e 's/:/ /g'`
+           search_path="${TCL_BIN_DIR} ${TCL_BIN_DIR}/../bin ${exec_prefix}/bin ${prefix}/bin ${search_path}"
        fi
        for dir in $search_path ; do
            for j in `ls -r $dir/tclsh[8-9]*${EXEEXT} 2> /dev/null` \
index 13674e6b1c1774dc49a65806f05ffad0fbadb567..f50373c54fb3377fc6fd4b307e3d882a937ca3ee 100644 (file)
@@ -1111,7 +1111,6 @@ dnl AC_CHECK_TOOL(AR, ar, :)
            if test "$GCC" = "yes" ; then
                SHLIB_LD="gcc -shared"
                SHLIB_LD_LIBS='${LIBS}'
-               LD_SEARCH_FLAGS=''
            fi
 
            # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
@@ -1127,7 +1126,6 @@ dnl AC_CHECK_TOOL(AR, ar, :)
                            do64bit_ok=yes
                            SHLIB_LD="${CC} -shared"
                            SHLIB_LD_LIBS='${LIBS}'
-                           LD_SEARCH_FLAGS=''
                            ;;
                        *)
                            AC_MSG_WARN("64bit mode not supported with GCC on $system")
@@ -3440,13 +3438,12 @@ AC_DEFUN(TEA_PROG_TCLSH, [
        AC_MSG_CHECKING([for tclsh])
 
        AC_CACHE_VAL(ac_cv_path_tclsh, [
-       if test "${TEA_PLATFORM}" = "windows" -a "$do64bit_ok" = "yes" \
-               -o "$doWince" != "no" ; then
-           # A Windows cross-compile build - restrict target tclsh
+       search_path=`echo ${PATH} | sed -e 's/:/ /g'`
+       if test "${TEA_PLATFORM}" != "windows" -o \
+               \( "$do64bit_ok" = "no" -a "$doWince" = "no" \) ; then
+           # Do not allow target tclsh in known cross-compile builds,
            # as we need one we can run on this system
-           search_path=`echo ${PATH} | sed -e 's/:/ /g'`
-       else
-           search_path=`echo ${TCL_BIN_DIR}:${TCL_BIN_DIR}/../bin:${exec_prefix}/bin:${prefix}/bin:${PATH} | sed -e 's/:/ /g'`
+           search_path="${TCL_BIN_DIR} ${TCL_BIN_DIR}/../bin ${exec_prefix}/bin ${prefix}/bin ${search_path}"
        fi
        for dir in $search_path ; do
            for j in `ls -r $dir/tclsh[[8-9]]*${EXEEXT} 2> /dev/null` \
@@ -3493,13 +3490,12 @@ AC_DEFUN(TEA_PROG_WISH, [
        AC_MSG_CHECKING([for wish])
 
        AC_CACHE_VAL(ac_cv_path_wish, [
-       if test "${TEA_PLATFORM}" = "windows" -a "$do64bit_ok" = "yes" \
-               -o "$doWince" != "no" ; then
-           # A Windows cross-compile build - restrict target tclsh
+       search_path=`echo ${PATH} | sed -e 's/:/ /g'`
+       if test "${TEA_PLATFORM}" != "windows" -o \
+               \( "$do64bit_ok" = "no" -a "$doWince" = "no" \) ; then
+           # Do not allow target wish in known cross-compile builds,
            # as we need one we can run on this system
-           search_path=`echo ${PATH} | sed -e 's/:/ /g'`
-       else
-           search_path=`echo ${TK_BIN_DIR}:${TK_BIN_DIR}/../bin:${TCL_BIN_DIR}:${TCL_BIN_DIR}/../bin:${exec_prefix}/bin:${prefix}/bin:${PATH} | sed -e 's/:/ /g'`
+           search_path="${TK_BIN_DIR} ${TK_BIN_DIR}/../bin ${TCL_BIN_DIR} ${TCL_BIN_DIR}/../bin ${exec_prefix}/bin ${prefix}/bin ${search_path}"
        fi
        for dir in $search_path ; do
            for j in `ls -r $dir/wish[[8-9]]*${EXEEXT} 2> /dev/null` \