changeset 642:6f6aa00a404c

* Print error if qmake fails
author Chris Cannam
date Fri, 17 Sep 2010 13:17:08 +0100
parents d7a2214e86e2
children f729827e45ad
files configure.ac
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Fri Sep 17 13:12:01 2010 +0100
+++ b/configure.ac	Fri Sep 17 13:17:08 2010 +0100
@@ -104,7 +104,9 @@
 
 AC_OUTPUT([config.pri])
 
-$QMAKE -r
+if ! $QMAKE -r; then
+   AC_MSG_ERROR([qmake failed: Command was "$QMAKE -r"])
+fi
 
 # qmake builds our static libraries, which is fine -- what we'd really
 # like to do afterwards is bundle them into a single .so with e.g.