* remove check for tclInt.h and tkInt.h in source folder, not necessary author: Miguel Dias Costa (National University of Singapore) --- configure.orig 2020-05-21 15:18:49.193616492 +0800 +++ configure 2020-05-21 15:31:31.222311056 +0800 @@ -7190,7 +7190,7 @@ { echo "$as_me:$LINENO: checking for Tcl private include files" >&5 echo $ECHO_N "checking for Tcl private include files... $ECHO_C" >&6; } - TCL_SRC_DIR_NATIVE=`${CYGPATH} ${TCL_SRC_DIR}` + TCL_SRC_DIR_NATIVE=`${CYGPATH}` TCL_TOP_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}\" TCL_GENERIC_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}/generic\" TCL_UNIX_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}/unix\" @@ -7217,12 +7217,12 @@ TCL_INCLUDES="${TCL_INCLUDES} ${TCL_INCLUDE_SPEC} `echo "${TCL_INCLUDE_SPEC}" | sed -e 's/Headers/PrivateHeaders/'`"; fi ;; esac - else - if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then - { { echo "$as_me:$LINENO: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&5 -echo "$as_me: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&2;} - { (exit 1); exit 1; }; } - fi +# else +# if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then +# { { echo "$as_me:$LINENO: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&5 +#echo "$as_me: error: Cannot find private header tclInt.h in ${TCL_SRC_DIR}" >&2;} +# { (exit 1); exit 1; }; } +# fi fi @@ -7235,8 +7235,8 @@ - { echo "$as_me:$LINENO: result: Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}" >&5 -echo "${ECHO_T}Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}" >&6; } +# { echo "$as_me:$LINENO: result: Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}" >&5 +#echo "${ECHO_T}Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}" >&6; } #TEA_PUBLIC_TK_HEADERS @@ -7244,7 +7244,7 @@ { echo "$as_me:$LINENO: checking for Tk private include files" >&5 echo $ECHO_N "checking for Tk private include files... $ECHO_C" >&6; } - TK_SRC_DIR_NATIVE=`${CYGPATH} ${TK_SRC_DIR}` + TK_SRC_DIR_NATIVE=`${CYGPATH}` TK_TOP_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}\" TK_UNIX_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/unix\" TK_WIN_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/win\" @@ -7278,12 +7278,12 @@ TK_INCLUDES="-I\"${TK_BIN_DIR}/Headers\" -I\"${TK_BIN_DIR}/PrivateHeaders\" ${TK_INCLUDES}"; fi ;; esac - else - if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then - { { echo "$as_me:$LINENO: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&5 -echo "$as_me: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&2;} - { (exit 1); exit 1; }; } - fi +# else +# if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then +# { { echo "$as_me:$LINENO: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&5 +#echo "$as_me: error: Cannot find private header tkInt.h in ${TK_SRC_DIR}" >&2;} +# { (exit 1); exit 1; }; } +# fi fi @@ -7294,8 +7294,8 @@ - { echo "$as_me:$LINENO: result: Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}" >&5 -echo "${ECHO_T}Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}" >&6; } +# { echo "$as_me:$LINENO: result: Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}" >&5 +#echo "${ECHO_T}Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}" >&6; } if test "${TEA_WINDOWINGSYSTEM}" = "x11" ; then @@ -8929,7 +8929,7 @@ fi - SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}" + SHLIB_LD="${SHLIB_LD} ${SHLIB_LD_FLAGS}" DL_LIBS="-ldl" CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}