|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
--- unix/configure.orig 2017-09-07 12:54:11.000000000 +0000
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+++ unix/configure 2018-05-29 14:55:16.464000000 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
@@ -3957,7 +3957,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
$as_echo "#define _REENTRANT 1" >>confdefs.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- if test "`uname -s`" = "SunOS" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ if test "${target}" = "SunOS" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
@@ -4893,13 +4893,13 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
if test "${TEA_PLATFORM}" = "windows" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
tcl_cv_sys_version=windows
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- tcl_cv_sys_version=`uname -s`-`uname -r`
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ tcl_cv_sys_version=${target}-`uname -r`
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
if test "$?" -ne 0 ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
$as_echo "$as_me: WARNING: can't find uname command" >&2;}
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
tcl_cv_sys_version=unknown
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- if test "`uname -s`" = "AIX" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ if test "${target}" = "AIX" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
fi
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
fi
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -5718,6 +5718,29 @@
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
fi
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
;;
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ *-midipix-*)
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ SHLIB_CFLAGS="-fPIC"
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ SHLIB_SUFFIX=".so"
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ CFLAGS_OPTIMIZE="-O2"
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ DL_OBJS="tclLoadDl.o"
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ DL_LIBS="-ldl"
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ if test $do64bit = yes; then :
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+if ${tcl_cv_cc_m64+:} false; then :
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ $as_echo_n "(cached) " >&6
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+else
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ tcl_cv_cc_m64=no
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+fi
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+$as_echo "$tcl_cv_cc_m64" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+fi
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
+ ;;
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
OpenBSD-*)
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
arch=`arch -s`
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
case "$arch" in
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -7429,7 +7452,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
fi
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
-if test "`uname -s`" = "Darwin" && test "${TCL_THREADS}" = 1 && \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+if test "${target}" = "Darwin" && test "${TCL_THREADS}" = 1 && \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
test "`uname -r | awk -F. '{print $1}'`" -lt 7; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# prior to Darwin 7, realpath is not threadsafe, so don't
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# use it when threads are enabled, c.f. bug # 711232
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -7937,7 +7960,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
fi
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- if test "`uname -s`" = "Darwin" && \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ if test "${target}" = "Darwin" && \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
test "`uname -r | awk -F. '{print $1}'`" -gt 5; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# Starting with Darwin 6 (Mac OSX 10.2), gethostbyX
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# are actually MT-safe as they always return pointers
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -7949,7 +7972,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
$as_echo "#define HAVE_MTSAFE_GETHOSTBYADDR 1" >>confdefs.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- elif test "`uname -s`" = "HP-UX" && \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ elif test "${target}" = "HP-UX" && \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
test "`uname -r|sed -e 's|B\.||' -e 's|\..*$||'`" -gt 10; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# Starting with HPUX 11.00 (we believe), gethostbyX
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# are actually MT-safe as they always return pointers
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -8330,7 +8353,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for advanced notifier support" >&5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
$as_echo_n "checking for advanced notifier support... " >&6; }
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
-case x`uname -s` in
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+case x${target} in
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
xLinux)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: epoll(7)" >&5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
$as_echo "epoll(7)" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -9676,7 +9699,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# Darwin specific API checks and defines
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
#--------------------------------------------------------------------
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
-if test "`uname -s`" = "Darwin" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+if test "${target}" = "Darwin" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
for ac_func in getattrlist
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
do :
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -9942,13 +9965,13 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
if test "${TEA_PLATFORM}" = "windows" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
tcl_cv_sys_version=windows
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- tcl_cv_sys_version=`uname -s`-`uname -r`
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ tcl_cv_sys_version=${target}-`uname -r`
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
if test "$?" -ne 0 ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
$as_echo "$as_me: WARNING: can't find uname command" >&2;}
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
tcl_cv_sys_version=unknown
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- if test "`uname -s`" = "AIX" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ if test "${target}" = "AIX" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
fi
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
fi
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -10133,9 +10156,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
DTRACE_SRC="\${DTRACE_SRC}"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
DTRACE_HDR="\${DTRACE_HDR}"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- if test "`uname -s`" != "Darwin" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ if test "${target}" != "Darwin" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
DTRACE_OBJ="\${DTRACE_OBJ}"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- if test "`uname -s`" = "SunOS" -a "$SHARED_BUILD" = "0" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ if test "${target}" = "SunOS" -a "$SHARED_BUILD" = "0" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# Need to create an intermediate object file to ensure tclDTrace.o
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# gets included when linking against the static tcl library.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
STLIB_LD='stlib_ld () { /usr/ccs/bin/ld -r -o $${1%.a}.o "$${@:2}" && '"${STLIB_LD}"' $${1} $${1%.a}.o ; } && stlib_ld'
|
|
Lucio Andrés Illanes Albornoz |
8af204 |
@@ -10219,9 +10242,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# AIX remembers this path and will attempt to use it at run-time to look
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# up the Tcl library.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
-if test "`uname -s`" = "Darwin" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+if test "${target}" = "Darwin" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
- if test "`uname -s`" = "Darwin" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
+ if test "${target}" = "Darwin" ; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to package libraries" >&5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
$as_echo_n "checking how to package libraries... " >&6; }
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f14ffc |
# Check whether --enable-framework was given.
|