--- tcl.m4.orig	2005-12-05 18:45:27.000000000 +0100
+++ tcl.m4	2005-12-05 18:44:26.000000000 +0100
@@ -111,8 +111,10 @@
 		for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
 			`ls -d ${prefix}/lib 2>/dev/null` \
 			`ls -d /usr/local/lib 2>/dev/null` \
+			`ls -d /usr/local/lib/tcl8.4 2>/dev/null`\
 			`ls -d /usr/contrib/lib 2>/dev/null` \
 			`ls -d /usr/lib 2>/dev/null` \
+			`ls -d /usr/lib/tcl8.4 2>/dev/null`\
 			; do
 		    if test -f "$i/tclConfig.sh" ; then
 			ac_cv_c_tclconfig=`(cd $i; pwd)`
@@ -3416,7 +3418,7 @@
 		`ls -d ${TCL_BIN_DIR}/../include 2>/dev/null` \
 		`ls -d ${TCL_SRC_DIR}/generic    2>/dev/null`"
 	    if test "${TEA_PLATFORM}" != "windows" -o "$GCC" = "yes"; then
-		list="$list /usr/local/include /usr/include"
+		list="$list /usr/local/include /usr/local/include/tcl8.4 /usr/include /usr/include/tcl8.4"
 		if test x"${TCL_INCLUDE_SPEC}" != x ; then
 		    d=`echo "${TCL_INCLUDE_SPEC}" | sed -e 's/^-I//'`
 		    list="$list `ls -d ${d} 2>/dev/null`"
