Changeset 21446 for main/trunk/greenstone2/build-src
- Timestamp:
- 2010-01-12T16:25:17+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/configure.in
r21440 r21446 34 34 dnl Set use of corba 35 35 dnl 36 AC_ARG_ENABLE(corba, [ --enable-corba Enable CORBA support], USE_CORBA=1, USE_CORBA=0) 37 AC_DEFINE_UNQUOTED(USE_CORBA, $USE_CORBA) 36 AC_ARG_ENABLE(corba, [ --enable-corba Enable CORBA support], USE_CORBA=$enableval, USE_CORBA=no) 37 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 38 USE_CORBA=1 39 AC_DEFINE(USE_CORBA,[]) 40 else 41 USE_CORBA=0 42 fi 38 43 AC_SUBST(USE_CORBA) 39 44 … … 45 50 dnl Set use of z39.50 46 51 dnl 47 AC_ARG_ENABLE(z3950, [ --enable-z3950 Enable Z39.50 client support], USE_Z3950=1, USE_Z3950=0) 48 if test USE_Z3950 = 1; then 49 AC_DEFINE(USE_Z3950, $USE_Z3950) 52 AC_ARG_ENABLE(z3950, [ --enable-z3950 Enable Z39.50 client support], USE_Z3950=$enableval, USE_Z3950=no) 53 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 54 USE_Z3950=1 55 AC_DEFINE(USE_Z3950,[]) 56 else 57 USE_Z3950=0 58 fi 50 59 AC_SUBST(USE_Z3950) 51 fi52 60 53 61 dnl 54 62 dnl Set use of yaz - now compiled by default even when z3950 support not required 55 63 dnl 56 AC_ARG_ENABLE(yaz, [ --disable-yaz Disable YAZ compilation], USE_YAZ=0, USE_YAZ=1) 57 dnl if test USE_YAZ = 1; then 58 AC_DEFINE(USE_YAZ, $USE_YAZ) 64 AC_ARG_ENABLE(yaz, [ --disable-yaz Disable YAZ compilation], USE_YAZ=$enableval, USE_YAZ=yes) 65 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 66 USE_YAZ=1 67 AC_DEFINE(USE_YAZ,[]) 68 else 69 USE_YAZ=0 70 fi 59 71 AC_SUBST(USE_YAZ) 60 dnl fi61 72 62 73 dnl 63 74 dnl disable compilation of accent folding stuff for mgpp (and one day mg) 64 75 dnl 65 AC_ARG_ENABLE(accentfold, [ --disable-accentfold Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=0, ENABLE_ACCENTFOLD=1) 66 AC_DEFINE(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD) 76 AC_ARG_ENABLE(accentfold, [ --disable-accentfold Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=$enableval, ENABLE_ACCENTFOLD=yes) 77 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 78 ENABLE_ACCENTFOLD=1 79 AC_DEFINE(ENABLE_ACCENTFOLD,[]) 80 else 81 ENABLE_ACCENTFOLD=0 82 fi 67 83 AC_SUBST(ENABLE_ACCENTFOLD) 68 84 … … 70 86 dnl Set use of SQLite (enabled by default) 71 87 dnl 72 AC_ARG_ENABLE(sqlite, [ --disable-sqlite Disable SQLite support], USE_SQLITE=0, USE_SQLITE=1) 73 AC_DEFINE(USE_SQLITE, $USE_SQLITE) 88 AC_ARG_ENABLE(sqlite, [ --disable-sqlite Disable SQLite support], USE_SQLITE=$enableval, USE_SQLITE=yes) 89 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 90 USE_SQLITE=1 91 AC_DEFINE(USE_SQLITE,[]) 92 else 93 USE_SQLITE=0 94 fi 74 95 AC_SUBST(USE_SQLITE) 75 96
Note:
See TracChangeset
for help on using the changeset viewer.