Show
Ignore:
Timestamp:
06.05.2010 21:23:54 (10 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.

Files:
1 modified

Legend:

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

    r18244 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 
     
    4852        CACHE_FILE="--cache-file=$cache_file" 
    4953        fi 
     54        ;; 
     55    --disable-gdbm) 
     56        USE_GDBM=false 
     57        ;; 
     58    --disable-jdbm) 
     59        USE_JDBM=false 
    5060        ;; 
    5161    --disable-sqlite)