+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
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)
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` \
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
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
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` \
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
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")
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` \
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` \