Changeset 15786

Show
Ignore:
Timestamp:
29.05.2008 13:28:19 (11 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Now includes the sqlite library if sqlite support is enabled.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/oaiservr/Makefile.in

    r15579 r15786  
    4040endif 
    4141 
     42USE_SQLITE = @USE_SQLITE@ 
     43ifeq ($(USE_SQLITE), 1) 
     44SQLITE_LIBS = $(PACKAGES_DIR)/sqlite/lib/libsqlite3.a -ldl -lpthread 
     45else 
     46SQLITE_LIBS =  
     47endif 
     48 
     49 
    4250CC = @CC@ 
    4351CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ 
    44  
    4552CXX = @CXX@ 
    4653CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 
    4754INCLUDES = -I$(GSDL_DIR)/lib -I$(COLSERVR_DIR) -I$(PROTOCOL_DIR) -I$(RECPT_DIR) -I$(INDEXERS_DIR)/mgpp/text 
    4855LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@ 
    49 LIBS = @LIBS@ @GDBM_LIBPATH@ -lgdbm -L$(PACKAGES_DIR)/expat/lib -lexpat $(ACCENTFOLD_LIBS) 
     56LIBS = @LIBS@ @GDBM_LIBPATH@ -lgdbm -L$(PACKAGES_DIR)/expat/lib -lexpat $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) 
    5057INSTALL = @INSTALL@ 
    5158