1 --- tclconfig/tcl.m4.orig 2010-11-13 19:12:50.000000000 +0100
2 +++ tclconfig/tcl.m4 2010-11-30 15:43:29.209843513 +0100
4 AC_REQUIRE([TEA_PUBLIC_TCL_HEADERS])
5 AC_MSG_CHECKING([for Tcl private include files])
7 - TCL_SRC_DIR_NATIVE=`${CYGPATH} ${TCL_SRC_DIR}`
8 + TCL_SRC_DIR_NATIVE=`${CYGPATH} ${TCL_INCLUDEDIR}`
9 TCL_TOP_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}\"
11 # Check to see if tcl<Plat>Port.h isn't already with the public headers
14 result="Using ${TCL_INCLUDES}"
16 - if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then
17 + if test ! -f "${TCL_INCLUDEDIR}/generic/tclInt.h" ; then
18 AC_MSG_ERROR([Cannot find private header tclInt.h in ${TCL_SRC_DIR}])
20 result="Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}"
22 AC_REQUIRE([TEA_PUBLIC_TK_HEADERS])
23 AC_MSG_CHECKING([for Tk private include files])
25 - TK_SRC_DIR_NATIVE=`${CYGPATH} ${TK_SRC_DIR}`
26 + TK_SRC_DIR_NATIVE=`${CYGPATH} ${TK_INCLUDEDIR}`
27 TK_TOP_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}\"
29 # Check to see if tk<Plat>Port.h isn't already with the public headers
32 result="Using ${TK_INCLUDES}"
34 - if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then
35 + if test ! -f "${TK_INCLUDEDIR}/generic/tkInt.h" ; then
36 AC_MSG_ERROR([Cannot find private header tkInt.h in ${TK_SRC_DIR}])
38 result="Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}"