Changeset 1001


Ignore:
Timestamp:
Aug 17, 2011, 7:47:55 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: configure.cmd: Support single -debug-and-release option.

Previously, specifying -debug-and-release would not have any effect
(this is how the original configure behaves).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.cmd

    r995 r1001  
    229229    G.CFG_QCONFIG = "full"
    230230    G.CFG_DEBUG = "auto"
    231     G.CFG_DEBUG_RELEASE = "no"
     231    G.CFG_DEBUG_RELEASE = "auto"
    232232    G.CFG_SHARED = "yes"
    233233    G.CFG_SM = "auto"
     
    616616        /* detect build style */
    617617        if (G.CFG_DEBUG == "auto") then do
    618             if (G.OfficialBuild) then do
     618            if (G.CFG_DEBUG_RELEASE \== "auto") then do
     619                G.CFG_DEBUG = "no"
     620            end
     621            else do
     622                if (G.OfficialBuild) then do
     623                    G.CFG_DEBUG_RELEASE = "no"
     624                    G.CFG_DEBUG = "no"
     625                end
     626                else if (G.CFG_DEV == "yes") then do
     627                    G.CFG_DEBUG_RELEASE = "no"
     628                    G.CFG_DEBUG = "yes"
     629                end
     630                else if (G.OPT_SHADOW == "yes") then do
     631                    G.CFG_DEBUG_RELEASE = "no"
     632                    G.CFG_DEBUG = "no"
     633                end
     634                else do
     635                    G.CFG_DEBUG_RELEASE = "yes"
     636                    G.CFG_DEBUG = "yes"
     637                end
     638            end
     639        end
     640        else do
     641            if (G.CFG_DEBUG_RELEASE == "auto") then do
    619642                G.CFG_DEBUG_RELEASE = "no"
    620                 G.CFG_DEBUG = "no"
    621             end
    622             else if (G.CFG_DEV == "yes") then do
    623                 G.CFG_DEBUG_RELEASE = "no"
    624                 G.CFG_DEBUG = "yes"
    625             end
    626             else if (G.OPT_SHADOW == "yes") then do
    627                 G.CFG_DEBUG_RELEASE = "no"
    628                 G.CFG_DEBUG = "no"
    629             end
    630             else do
    631                 G.CFG_DEBUG_RELEASE = "yes"
    632                 G.CFG_DEBUG = "yes"
    633643            end
    634644        end
Note: See TracChangeset for help on using the changeset viewer.