summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-10-09 12:44:30 +0200
committerThiago Macieira <thiago.macieira@intel.com>2014-10-10 23:34:27 +0200
commit38c39341b3394f5c9223a96bd65b52984308740c (patch)
tree3da642440b16bdebba464c82c787459b63c62d98 /configure
parentd16f76cde3a78287b565215e6d6906f54616b756 (diff)
Use :- instead of - for empty environment variables
We set the variables to empty when we start processing, so ${FOO-foo} will never print "foo". We need to use ${FOO:-foo}. Change-Id: I00c28edb10d8eaa09df689905a302b576b246806 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 6597262053..7d6ba9f4d6 100755
--- a/configure
+++ b/configure
@@ -6492,10 +6492,10 @@ echo " Configure summary"
echo
if [ "$XPLATFORM" = "$PLATFORM" ]; then
# the missing space before $CFG_FEATURES is intentional
- echo "Build type: $PLATFORM ($CFG_ARCH, CPU features:${CFG_CPUFEATURES- none detected})"
+ echo "Build type: $PLATFORM ($CFG_ARCH, CPU features:${CFG_CPUFEATURES:- none detected})"
else
- echo "Building on: $PLATFORM ($CFG_HOST_ARCH, CPU features:${CFG_HOST_CPUFEATURES- none detected})"
- echo "Building for: $XPLATFORM ($CFG_ARCH, CPU features:${CFG_CPUFEATURES- none detected})"
+ echo "Building on: $PLATFORM ($CFG_HOST_ARCH, CPU features:${CFG_HOST_CPUFEATURES:- none detected})"
+ echo "Building for: $XPLATFORM ($CFG_ARCH, CPU features:${CFG_CPUFEATURES:- none detected})"
fi