Show
Ignore:
Timestamp:
09.12.2009 21:50:53 (10 years ago)
Author:
ak19
Message:

Changes to makefiles, configure files, and source code to work with the new configure flags that allow indexers to be individually compiled up by setting each indexer to be enabled or disabled (enable-mg, enable-mgpp, enable-lucene).

Files:
1 modified

Legend:

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

    r20854 r21329  
    310310 
    311311ac_subdirs_all="$ac_subdirs_all packages" 
    312 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 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' 
     312ac_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_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' 
    313313ac_subst_files='' 
    314314 
     
    860860  --disable-sqlite        Disable SQLite support 
    861861  --enable-apache-httpd  Enable Apache httpd support 
     862  --disable-mg        Disable MG compilation 
     863  --disable-mgpp        Disable MGPP compilation 
     864  --disable-lucene        Disable Lucene compilation 
    862865 
    863866Optional Packages: 
     
    14471450 
    14481451 
     1452# Check whether --enable-mg or --disable-mg was given. 
     1453if test "${enable_mg+set}" = set; then 
     1454  enableval="$enable_mg" 
     1455  ENABLE_MG=$enableval 
     1456else 
     1457  ENABLE_MG=yes 
     1458fi; 
     1459if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 
     1460  ENABLE_MG=1 
     1461  cat >>confdefs.h <<\_ACEOF 
     1462#define ENABLE_MG 
     1463_ACEOF 
     1464 
     1465else 
     1466  ENABLE_MG=0 
     1467fi 
     1468 
     1469 
     1470# Check whether --enable-mgpp or --disable-mgpp was given. 
     1471if test "${enable_mgpp+set}" = set; then 
     1472  enableval="$enable_mgpp" 
     1473  ENABLE_MGPP=$enableval 
     1474else 
     1475  ENABLE_MGPP=yes 
     1476fi; 
     1477if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 
     1478  ENABLE_MGPP=1 
     1479  cat >>confdefs.h <<\_ACEOF 
     1480#define ENABLE_MGPP 
     1481_ACEOF 
     1482 
     1483else 
     1484  ENABLE_MGPP=0 
     1485fi 
     1486 
     1487 
     1488# Check whether --enable-lucene or --disable-lucene was given. 
     1489if test "${enable_lucene+set}" = set; then 
     1490  enableval="$enable_lucene" 
     1491  ENABLE_LUCENE=$enableval 
     1492else 
     1493  ENABLE_LUCENE=yes 
     1494fi; 
     1495if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then 
     1496  ENABLE_LUCENE=1 
     1497  cat >>confdefs.h <<\_ACEOF 
     1498#define ENABLE_LUCENE 
     1499_ACEOF 
     1500 
     1501else 
     1502  ENABLE_LUCENE=0 
     1503fi 
     1504 
    14491505 
    14501506LDFLAGS=$LDFLAGS 
     
    78437899s,@USE_SQLITE@,$USE_SQLITE,;t t 
    78447900s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 
     7901s,@ENABLE_MG@,$ENABLE_MG,;t t 
     7902s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 
     7903s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 
    78457904s,@LDFLAGS@,$LDFLAGS,;t t 
    78467905s,@CFLAGS@,$CFLAGS,;t t