Changeset 495


Ignore:
Timestamp:
Jan 29, 2010, 7:11:34 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

configure: Enabled the sqlite3 plugin (that uses the sqlite3 source supplied with Qt) by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.cmd

    r456 r495  
    847847    if (G.CFG_GRAPHICS_SYSTEM == "default") then G.CFG_GRAPHICS_SYSTEM = "raster"
    848848
     849    /* auto-detect SQL-modules support */
     850    do i = 1 to words(G.CFG_SQL_AVAILABLE)
     851        drv = word(G.CFG_SQL_AVAILABLE, i)
     852        select
     853            when (drv == "sqlite") then do
     854                if (G.CFG_SQL_sqlite \== "no") then do
     855                    if (G.CFG_SQLITE == "system") then do
     856                        /* @todo external sqlite3 library isn't yet supported */
     857                        call SaySay,
     858"Warning: Linking against the external sqlite3 library isn't yet supported,"G.EOL||,
     859"the sqlite SQL driver is disabled"G.EOL||G.EOL
     860                        G.CFG_SQL_sqlite = "no"
     861                    end
     862                    else do
     863                        if (FileExists(G.RelPath"\src\3rdparty\sqlite\sqlite3.h")) then do
     864                            if (G.CFG_SQL_sqlite == "auto") then
     865                                G.CFG_SQL_sqlite = "plugin"
     866                        end
     867                        else do
     868"Warning: 3rdparty sources for the sqlite3 library are not found,"G.EOL||,
     869"the sqlite SQL driver is disabled"G.EOL||G.EOL
     870                            G.CFG_SQL_sqlite = "no"
     871                        end
     872                    end
     873                end
     874            end
     875            otherwise do
     876                /* @todo all other databases aren't yet supported */
     877                call value "G.CFG_SQL_"drv, "no"
     878            end
     879        end
     880    end
     881
    849882    /*--------------------------------------------------------------------------
    850883     ask for all that hasn't been auto-detected or specified in the arguments
     
    15901623    /* G++ is the only supported compiler on OS/2 so far */
    15911624    if (G.CFG_EXCEPTIONS \== "no") then
    1592         call SaySay,,
     1625        call SaySay,
    15931626'        This target is using the GNU C++ compiler ('G.PLATFORM').'G.EOL||,
    15941627''G.EOL||,
Note: See TracChangeset for help on using the changeset viewer.