summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-04-06 01:05:45 -0700
committerQt by Nokia <qt-info@nokia.com>2012-04-10 19:11:24 +0200
commitd60d98450ada232fc3e8d0c5762a2b7a90beb921 (patch)
tree0922e03c12b163ca509bb3cb2e67db44f0f2f47e /configure
parent933a1d227486a7a25361b0011905cc2dd1a48a00 (diff)
Save configuration feedback into config.summary
Scrolling the configure output to locate the build configuration is painful. So save it in config.summary. Change-Id: I40a2f7628e9a2b91a8ea44619dd49c00d5a61561 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index e782f2389d..6ed696950b 100755
--- a/configure
+++ b/configure
@@ -5836,6 +5836,7 @@ fi
#-------------------------------------------------------------------------------
# give feedback on configuration
#-------------------------------------------------------------------------------
+exec 3>&1 1>$outpath/config.summary # redirect output temporarily to config.summary
case "$COMPILER" in
g++*)
@@ -6045,6 +6046,10 @@ if [ "$CFG_OPENSSL" = "linked" ] && [ "$OPENSSL_LIBS" = "" ]; then
echo " OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked"
echo
fi
+
+exec 1>&3 3>&- # restore stdout
+cat $outpath/config.summary # display config feedback to user
+
if [ "$BUILD_ON_MAC" = "yes" ] && [ "$CFG_FRAMEWORK" = "yes" ] && [ "$CFG_DEBUG" = "yes" ] && [ "$CFG_DEBUG_RELEASE" = "no" ]; then
echo
echo "Error: debug-only framework builds are not supported. Configure with -no-framework"