Changeset 21409
- Timestamp:
- 2010-01-04T23:08:33+13:00 (13 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/configure
r21365 r21409 312 312 ac_subdirs_all="$ac_subdirs_all packages" 313 313 ac_subdirs_all="$ac_subdirs_all indexers" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_ SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_JDBM USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 860 860 --disable-yaz Disable YAZ compilation 861 861 --disable-accentfold Disable Accent Folding for MGPP 862 --disable-jdbm Disable JDBM support 862 863 --disable-sqlite Disable SQLite support 863 864 --enable-jni Enable JNI compilation … … 1427 1428 1428 1429 1430 # Check whether --enable-jdbm or --disable-jdbm was given. 1431 if test "${enable_jdbm+set}" = set; then 1432 enableval="$enable_jdbm" 1433 USE_JDBM=0 1434 else 1435 USE_JDBM=1 1436 fi; 1437 cat >>confdefs.h <<\_ACEOF 1438 #define USE_JDBM $USE_JDBM 1439 _ACEOF 1440 1441 1442 1429 1443 # Check whether --enable-sqlite or --disable-sqlite was given. 1430 1444 if test "${enable_sqlite+set}" = set; then … … 7903 7917 s,@USE_YAZ@,$USE_YAZ,;t t 7904 7918 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7919 s,@USE_JDBM@,$USE_JDBM,;t t 7905 7920 s,@USE_SQLITE@,$USE_SQLITE,;t t 7906 7921 s,@ENABLE_JNI@,$ENABLE_JNI,;t t -
main/trunk/greenstone2/common-src/configure.in
r21365 r21409 68 68 AC_DEFINE(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD) 69 69 AC_SUBST(ENABLE_ACCENTFOLD) 70 71 dnl 72 dnl Set use of JDBM (enabled by default) 73 dnl 74 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM support], USE_JDBM=0, USE_JDBM=1) 75 AC_DEFINE(USE_JDBM, $USE_JDBM) 76 AC_SUBST(USE_JDBM) 70 77 71 78 dnl -
main/trunk/greenstone2/common-src/packages/Makefile.in
r20832 r21409 26 26 27 27 28 USE_JDBM=@USE_JDBM@ 29 30 ifeq ($(USE_JDBM), 1) 31 JDBM_DIR = jdbm/jdbm-1.0 32 else 33 JDBM_DIR = 34 endif 35 28 36 USE_SQLITE=@USE_SQLITE@ 29 37 … … 39 47 # CLEANDIRS is COMPILEDIRS and iconv and expat. Iconv and expat get compiled 40 48 # up during the configure stage itself. 41 COMPILEDIRS = gdbm $(SQLITE_DIR) search4j49 COMPILEDIRS = gdbm $(SQLITE_DIR) $(JDBM_DIR) search4j 42 50 CLEANDIRS = iconv expat $(COMPILEDIRS) 43 51 … … 48 56 (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 49 57 done 58 ifeq ($(USE_JDBM), 1) 59 # do 'make install' in jdbm directory to get the jar file into the right place 60 cd $(JDBM_DIR) && $(MAKE) $(MDEFINES) install 61 endif 50 62 ifeq ($(USE_SQLITE), 1) 51 63 # need to do make install in sqlite to get the header files and library into the right place -
main/trunk/greenstone2/common-src/packages/configure
r20832 r21409 181 181 182 182 183 # configure JDBM 184 echo "" 185 echo "Configuring JDBM" 186 if test x$USE_JDBM = xtrue ; 187 then 188 echo "" 189 cd "$PACKAGES/jdbm" 190 if test ! -d jdbm-1.0 ; 191 then 192 gzip -dc gs-jdbm-1.0.tar.gz | tar -xf - 193 fi 194 else 195 echo "JDBM support disabled." 196 echo " add '--enable-jdbm' to the configure command to include JDBM support." 197 echo "" 198 fi 199 183 200 # configure SQLite 184 201 echo "" … … 189 206 cd "$PACKAGES/sqlite" 190 207 if test ! -d sqlite-amalgamation-3.5.9 ; 191 then 208 then 192 209 gzip -dc sqlite-amalgamation-3.5.9.tar.gz | tar -xf - 193 210 fi -
main/trunk/greenstone2/configure
r21377 r21409 312 312 ac_subdirs_all="$ac_subdirs_all build-src" 313 313 ac_subdirs_all="$ac_subdirs_all runtime-src" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_ SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_JDBM USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 860 860 --disable-yaz Disable YAZ compilation 861 861 --disable-accentfold Disable Accent Folding for MGPP 862 --disable-jdbm Disable JDBM support 862 863 --disable-sqlite Disable SQLite support 863 864 --enable-apache-httpd Enable Apache httpd support … … 1426 1427 1427 1428 1429 # Check whether --enable-jdbm or --disable-jdbm was given. 1430 if test "${enable_jdbm+set}" = set; then 1431 enableval="$enable_jdbm" 1432 USE_JDBM=0 1433 else 1434 USE_JDBM=1 1435 fi; 1436 cat >>confdefs.h <<\_ACEOF 1437 #define USE_JDBM $USE_JDBM 1438 _ACEOF 1439 1440 1441 1428 1442 # Check whether --enable-sqlite or --disable-sqlite was given. 1429 1443 if test "${enable_sqlite+set}" = set; then … … 7952 7966 s,@USE_YAZ@,$USE_YAZ,;t t 7953 7967 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7968 s,@USE_JDBM@,$USE_JDBM,;t t 7954 7969 s,@USE_SQLITE@,$USE_SQLITE,;t t 7955 7970 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t -
main/trunk/greenstone2/configure.in
r21377 r21409 66 66 AC_DEFINE(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD) 67 67 AC_SUBST(ENABLE_ACCENTFOLD) 68 69 dnl 70 dnl Set use of JDBM (enabled by default) 71 dnl 72 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM support], USE_JDBM=0, USE_JDBM=1) 73 AC_DEFINE(USE_JDBM, $USE_JDBM) 74 AC_SUBST(USE_JDBM) 68 75 69 76 dnl
Note:
See TracChangeset
for help on using the changeset viewer.