changeset 6710:3a08f08edbf5

[gaim-migrate @ 7236] tclConfig.sh detection improvements for debian and other bustinated systems. Misleading configure output fix for Tk detection. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 02 Sep 2003 20:26:13 +0000
parents 4c9fb525be47
children c279188934aa
files configure.ac
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Tue Sep 02 19:56:17 2003 +0000
+++ b/configure.ac	Tue Sep 02 20:26:13 2003 +0000
@@ -576,7 +576,12 @@
 if test "$enable_tcl" = yes; then
 	AC_MSG_CHECKING([for tclConfig.sh])
         TCLCONFIG=no
-	for dir in $with_tclconfig /usr/lib /usr/local/lib; do
+	TCLCONFIGDIRS="/usr/lib \
+		       /usr/lib/tcl8.4 \
+		       /usr/lib/tcl8.3 \
+		       /usr/lib/tcl8.2 \
+		       /usr/local/lib"
+	for dir in $with_tclconfig $TCLCONFIGDIRS; do
 		if test -f $dir/tclConfig.sh; then
 			TCLCONFIG=$dir/tclConfig.sh
 			AC_MSG_RESULT([yes ($TCLCONFIG)])
@@ -638,6 +643,8 @@
 			    [AC_MSG_RESULT([no]);enable_tk=no])
 		LIBS="$oldLIBS"
 	fi
+else
+	enable_tk=no
 fi
 
 if test "$enable_tk" = yes; then