* m4/autotroll.m4: Here.
---
ChangeLog | 6 ++++++
m4/autotroll.m4 | 3 +++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 98d3a41..b63a9a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-29 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Honor `--without-qt' in configure.
+
+ * m4/autotroll.m4: Here.
+
2010-11-05 Roland Levillain <roland(a)lrde.epita.fr>
* AUTHORS: Clean up whitespace.
diff --git a/m4/autotroll.m4 b/m4/autotroll.m4
index 2a382d4..0fae85e 100644
--- a/m4/autotroll.m4
+++ b/m4/autotroll.m4
@@ -143,6 +143,9 @@ dnl Memo: AC_ARG_WITH(package, help-string, [if-given],
[if-not-given])
# this is a hack to get decent flow control with 'break'
for _qt_ignored in once; do
+ # Stop here if Qt is disabled.
+ if test "x$with_qt" = xno; then break; fi
+
# Find Qt.
AC_ARG_VAR([QT_PATH], [Path to the Qt installation])
if test -d /usr/local/Trolltech; then
--
1.5.6.5