Check for V8 when auto-enabling Declarative module
authorKent Hansen <kent.hansen@nokia.com>
Thu, 1 Sep 2011 12:23:53 +0000 (14:23 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Sep 2011 14:14:18 +0000 (16:14 +0200)
Declarative no longer used QtScript, it uses V8.
This check in the configure script was stale.

Change-Id: I3c598c0343fc421fdd191a256e07eaa6f4e80058
Reviewed-on: http://codereview.qt.nokia.com/4077
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
configure

index 35ffeee..83d5662 100755 (executable)
--- a/configure
+++ b/configure
@@ -7650,7 +7650,7 @@ if [ "$CFG_DECLARATIVE" = "yes" ]; then
     fi
 fi
 if [ "$CFG_DECLARATIVE" = "auto" ]; then
-    if [ "$CFG_SCRIPT" = "no" -o "$CFG_GUI" = "no" ]; then
+    if [ "$CFG_V8" = "no" -o "$CFG_GUI" = "no" ]; then
             CFG_DECLARATIVE=no
     else
             CFG_DECLARATIVE=yes