summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2010-06-03 11:28:55 +0200
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2010-06-03 11:29:10 +0200
commit1d87017c4681c9d5da14d613b5b84d25620642fe (patch)
treee66302369a089ed536666646115f26240897da22 /configure
parentcd003bfcf9a05967893099e8948ba3d8f281aa7d (diff)
Fix compilation: disable -no-feature-* for bootstrapped
moc isn't compiled when qt is configured if -no-feature-datestring Merge-request: 2347 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 0111f511b6..0db2236d1a 100755
--- a/configure
+++ b/configure
@@ -7509,6 +7509,10 @@ then
fi
if [ -n "$QCONFIG_FLAGS" ]; then
+cat >>"$outpath/src/corelib/global/qconfig.h.new" << EOF
+#ifndef QT_BOOTSTRAPPED
+
+EOF
for cfg in $QCONFIG_FLAGS; do
cfgd=`echo $cfg | sed 's/=.*$//'` # trim pushed 'Foo=Bar' defines
cfg=`echo $cfg | sed 's/=/ /'` # turn first '=' into a space
@@ -7541,6 +7545,10 @@ cat >>"$outpath/src/corelib/global/qconfig.h.new" << EOF
EOF
fi
done
+cat >>"$outpath/src/corelib/global/qconfig.h.new" << EOF
+#endif // QT_BOOTSTRAPPED
+
+EOF
fi
if [ "$CFG_REDUCE_EXPORTS" = "yes" ]; then