diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2009-12-17 10:23:19 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2009-12-17 10:23:19 (GMT) |
commit | 7dcf7e6f2593a2d2e3ee5768e27cdf17500c90c9 (patch) | |
tree | 6d1a2a81629b60c30cd36ef5ad4ec933b5748e89 /configure | |
parent | 8fdf9f14c662b8d92cd232e09baf526476fcb297 (diff) | |
download | Qt-7dcf7e6f2593a2d2e3ee5768e27cdf17500c90c9.zip Qt-7dcf7e6f2593a2d2e3ee5768e27cdf17500c90c9.tar.gz Qt-7dcf7e6f2593a2d2e3ee5768e27cdf17500c90c9.tar.bz2 |
Stop the configuration if the test compiler cannot be found.
Author: Adrian Constantin <adrian.constantin@nokia.com>
Reviewed-by: Thiago Macieira
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2922,6 +2922,10 @@ fi QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1` TEST_COMPILER="$CC" [ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER +if [ -z "$TEST_COMPILER" ]; then + echo "ERROR: Cannot set the compiler for the configuration tests" + exit 1 +fi # auto-detect precompiled header support if [ "$CFG_PRECOMPILE" = "auto" ]; then |