summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-08-30 11:51:17 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-08-30 11:51:20 +0200
commit42f2da5e6b543e698fc4f036c45ebb15078409c8 (patch)
tree2d688b1a812d8410d4ae85283d5e413957000e11 /configure
parente9962cc300a805ce09a02ce0c9ae23ceaf8073bb (diff)
parent009f3d14045e2e2a6eff8c87a8da9eaa621c5249 (diff)
downloadqtbase-42f2da5e6b543e698fc4f036c45ebb15078409c8.tar.gz
Merge remote branch 'gerrit/master' into refactor
Conflicts: src/src.pro Change-Id: Ic04fb170b82e86dc3cef6fe979f8fb709db10daf
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure30
1 files changed, 28 insertions, 2 deletions
diff --git a/configure b/configure
index 7f8491ed70..6a7027e46a 100755
--- a/configure
+++ b/configure
@@ -706,6 +706,7 @@ CFG_PHONON_BACKEND=yes
CFG_MULTIMEDIA=auto
CFG_AUDIO_BACKEND=auto
CFG_SVG=auto
+CFG_V8=auto
CFG_DECLARATIVE=auto
CFG_DECLARATIVE_DEBUG=yes
CFG_WEBKIT=auto # (yes|no|auto|debug)
@@ -2122,6 +2123,17 @@ while [ "$#" -gt 0 ]; do
fi
fi
;;
+ v8)
+ if [ "$VAL" = "yes" ]; then
+ CFG_V8="yes"
+ else
+ if [ "$VAL" = "no" ]; then
+ CFG_V8="no"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ fi
+ ;;
declarative)
if [ "$VAL" = "yes" ]; then
CFG_DECLARATIVE="yes"
@@ -3896,6 +3908,9 @@ fi
-no-scripttools .... Do not build the QtScriptTools module.
+ -scripttools ....... Build the QtScriptTools module.
+ -no-v8 ............. Do not build the V8 module.
+ + -v8 ................ Build the V8 module.
+
-no-declarative ..... Do not build the declarative module.
+ -declarative ....... Build the declarative module.
@@ -7579,9 +7594,19 @@ fi
#fi
+if [ "$CFG_V8" = "auto" ]; then
+ CFG_V8=yes
+fi
+
+if [ "$CFG_V8" = "no" ]; then
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_V8"
+else
+ QT_CONFIG="$QT_CONFIG v8"
+fi
+
if [ "$CFG_DECLARATIVE" = "yes" ]; then
- if [ "$CFG_SCRIPT" = "no" -o "$CFG_GUI" = "no" ]; then
- echo "Error: QtDeclarative was requested, but it can't be built due to QtScript or QtGui being disabled."
+ if [ "$CFG_V8" = "no" -o "$CFG_GUI" = "no" ]; then
+ echo "Error: QtDeclarative was requested, but it can't be built due to QtV8 or QtGui being disabled."
exit 1
fi
fi
@@ -8629,6 +8654,7 @@ if [ "$CFG_WEBKIT" != "no" ] || [ "$CFG_SCRIPT" != "no" ]; then
echo "JavaScriptCore JIT ..... $CFG_JAVASCRIPTCORE_JIT"
fi
fi
+echo "V8 module .............. $CFG_V8"
echo "Declarative module ..... $CFG_DECLARATIVE"
if [ "$CFG_DECLARATIVE" = "yes" ]; then
echo "Declarative debugging ...$CFG_DECLARATIVE_DEBUG"