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