changeset 29568:6eaee00ab0fb

Stop looking for tcl/tkConfig.sh after the first result, since I think it wouldn't use what directory the user specified the way it is.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 08 Mar 2010 05:18:03 +0000
parents 170a3bcc11b9
children 09f469cb19a8
files configure.ac
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Mon Mar 08 05:11:06 2010 +0000
+++ b/configure.ac	Mon Mar 08 05:18:03 2010 +0000
@@ -2142,6 +2142,7 @@
 		if test -f $dir/tclConfig.sh; then
 			TCLCONFIG=$dir/tclConfig.sh
 			AC_MSG_RESULT([yes ($TCLCONFIG)])
+			break
 		fi
 	done
 	if test "$TCLCONFIG" = "no"; then
@@ -2212,6 +2213,7 @@
 		if test -f $dir/tkConfig.sh; then
 			TKCONFIG=$dir/tkConfig.sh
 			AC_MSG_RESULT([yes ($TKCONFIG)])
+			break
 		fi
 	done
 	if test "$TKCONFIG" = "no"; then