Import x11-toolkits/tile version 0.8.4.0
[dports.git] / x11-toolkits / tile / files / patch-tclconfig-tcl.m4
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
3 @@ -3360,7 +3360,7 @@
4      AC_REQUIRE([TEA_PUBLIC_TCL_HEADERS])
5      AC_MSG_CHECKING([for Tcl private include files])
6  
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}\"
10  
11      # Check to see if tcl<Plat>Port.h isn't already with the public headers
12 @@ -3399,7 +3399,7 @@
13             esac
14             result="Using ${TCL_INCLUDES}"
15         else
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}])
19             fi
20             result="Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}"
21 @@ -3527,7 +3527,7 @@
22      AC_REQUIRE([TEA_PUBLIC_TK_HEADERS])
23      AC_MSG_CHECKING([for Tk private include files])
24  
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}\"
28  
29      # Check to see if tk<Plat>Port.h isn't already with the public headers
30 @@ -3577,7 +3577,7 @@
31             esac
32             result="Using ${TK_INCLUDES}"
33         else
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}])
37             fi
38             result="Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}"