---
ChangeLog | 4 ++++
m4/autotroll.m4 | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f0b86a5..3123be9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-01 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * m4/autotroll.m4: Fix invalid configuration when Qt is missing.
+
2010-06-03 Guillaume Lazzara <z(a)lrde.epita.fr>
* configure.ac: Check for Qt library using AutoTroll.
diff --git a/m4/autotroll.m4 b/m4/autotroll.m4
index e5cb25e..d04619d 100644
--- a/m4/autotroll.m4
+++ b/m4/autotroll.m4
@@ -421,6 +421,7 @@ instead" >&AS_MESSAGE_LOG_FD
if test x"$at_cv_qt_build" = xko; then
AX_INSTEAD_IF([$4], [Cannot build a test Qt program])
+ cd ..
break
fi
QT_VERSION_MAJOR=`echo "$at_cv_qt_build" | sed 's/[[^0-9]]*//g'`
@@ -447,6 +448,7 @@ instead" >&AS_MESSAGE_LOG_FD
fi
if test -f $at_mfile; then :; else
AX_INSTEAD_IF([$4], [Cannot find the Makefile generated by qmake.])
+ cd ..
break
fi
--
1.5.6.5