Ignore:
Timestamp:
2010-05-06T21:23:54+12:00 (14 years ago)
Author:
ak19
Message:

Changes to makefiles to 1. incorporate USE_GDBM and USE_JDBM flags (and USE_SQLITE) in most places so that the DEFINES variable is set at all times. This is necessary to ensure that all classes that contain objects with gdbm and jdbm members are of a consistent size. Else we've had experience with Greenstone crashing with memory errors (to do with the similar ENABLE_indexer flags). 2. ENABLE_JDBM is now USE_JDBM. 3. Not everything works now. It still compiles the default way, but the disable-gdbm flag is causing trouble when compiling argdb in recpt since it uses that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/packages/configure

    r20850 r22058  
    2222ENVIRONMENT=""
    2323
     24# GDBM compilation enabled by default, can switch it off with --disable-gdbm
     25USE_GDBM=true
     26# JDBM compilation enabled by default, can switch it off with --disable-jdbm
     27USE_JDBM=true
    2428# SQLite support enabled by default, can switch it off with --disable-sqlite
    2529USE_SQLITE=true
     
    5054        CACHE_FILE="--cache-file=$cache_file"
    5155        fi
     56        ;;
     57    --disable-gdbm)
     58        USE_GDBM=false
     59        ;;
     60    --disable-jdbm)
     61        USE_JDBM=false
    5262        ;;
    5363    --disable-sqlite)
Note: See TracChangeset for help on using the changeset viewer.