Changeset 876 for trunk


Ignore:
Timestamp:
Jun 30, 2011, 3:49:54 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

configure.cmd: More dependencies on the CFG_GUI setting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.cmd

    r874 r876  
    255255    G.CFG_MULTIMEDIA = "auto"
    256256    G.CFG_AUDIO_BACKEND = "auto"
    257     G.CFG_SVG = "yes"
     257    G.CFG_SVG = "auto"
    258258    G.CFG_DECLARATIVE = "auto"
    259259    G.CFG_DECLARATIVE_DEBUG = "yes"
     
    482482    if (G.CFG_QCONFIG \== "full" & G.CFG_QT3SUPPORT == "yes") then do
    483483        call SayLog "Warning: '-qconfig "G.CFG_QCONFIG"' will disable the qt3support library."
     484        G.CFG_QT3SUPPORT = "no"
     485    end
     486
     487    if (G.CFG_GUI == "no") then do
     488        call SayLog "Warning: -no-gui will disable the qt3support library."
    484489        G.CFG_QT3SUPPORT = "no"
    485490    end
     
    10821087    end
    10831088
     1089    if (G.CFG_MULTIMEDIA == "auto") then
     1090        CFG_MULTIMEDIA = G.CFG_GUI
     1091
     1092    if (G.CFG_MULTIMEDIA == "yes" & G.CFG_GUI == "no") then do
     1093        call SayErr "ERROR: QtMultimedia was requested, but it can't be",
     1094                    "built without QtGui."
     1095        call Done 1
     1096    end
     1097
     1098    if (G.CFG_SVG == "auto") then
     1099        G.CFG_SVG = G.CFG_GUI
     1100
     1101    if (G.CFG_SVG == "yes" & G.CFG_GUI == "no") then do
     1102        call SayErr "ERROR: QtSvg was requested, but it can't be",
     1103                    "built without QtGui."
     1104        call Done 1
     1105    end
     1106
    10841107    if (G.CFG_SCRIPT == "auto") then
    10851108        G.CFG_SCRIPT = "yes"
     
    11161139
    11171140    if (G.CFG_WEBKIT == "auto") then do
    1118         if (G.OfficialBuild) then
    1119             G.CFG_WEBKIT = "yes"
     1141        if (G.CFG_GUI == "no") then
     1142            G.CFG_WEBKIT == "no"
    11201143        else do
    1121             G.CFG_WEBKIT = "no"
    1122             call SaySay G.EOL||,
     1144            if (G.OfficialBuild) then
     1145                G.CFG_WEBKIT = "yes"
     1146            else do
     1147                G.CFG_WEBKIT = "no"
     1148                call SaySay G.EOL||,
    11231149'Qt comes with the webkit module that provides a powerful framework for web-'G.EOL||,
    11241150'based applications and may be required by some of them but it takes a very 'G.EOL||,
    11251151'long time to compile and build (it will double the overall compilation time).'
    1126             if (GetYesNo('Do you want to enable the webkit module?', 'N')) then do
    1127                 G.CFG_WEBKIT = "yes"
     1152                if (GetYesNo('Do you want to enable the webkit module?', 'N')) then do
     1153                    G.CFG_WEBKIT = "yes"
     1154                end
    11281155            end
    11291156        end
Note: See TracChangeset for help on using the changeset viewer.