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/runtime-src/src/colservr/Makefile.in

    r22050 r22058  
    8181 
    8282 
    83 # Currently not configurable, and always on 
    84 USE_GDBM = 1 
     83USE_GDBM = @USE_GDBM@ 
    8584ifeq ($(USE_GDBM), 1) 
    8685GDBM_DEFINES = -DUSE_GDBM 
     
    9291 
    9392 
    94 # Currently not configurable, and always on 
    95 USE_JDBM = 1 
     93USE_JDBM = @USE_JDBM@ 
    9694ifeq ($(USE_JDBM), 1) 
    9795JDBM_DEFINES = -DUSE_JDBM