Changeset 21328 for main/trunk/greenstone2/common-src/indexers/configure
- Timestamp:
- 2009-12-09T21:49:32+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/configure
r20832 r21328 272 272 PACKAGE_BUGREPORT= 273 273 274 ac_unique_file="mgpp/text/MGQuery.cpp"275 274 ac_subdirs_all="$ac_subdirs_all packages/unac" 276 ac_subdirs_all="$ac_subdirs_all mg mgpp" 277 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 ENABLE_ACCENTFOLD COMPAT32BITFLAGS JAVAC JAVA uudecode subdirs LIBOBJS LTLIBOBJS' 275 ac_subdirs_all="$ac_subdirs_all mg" 276 ac_subdirs_all="$ac_subdirs_all mgpp" 277 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 ENABLE_ACCENTFOLD ENABLE_MG ENABLE_MGPP ENABLE_LUCENE COMPAT32BITFLAGS JAVAC JAVA uudecode subdirs LIBOBJS LTLIBOBJS' 278 278 ac_subst_files='' 279 279 … … 786 786 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 787 787 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 788 --disable-accentfold Disable Accent Folding support 788 --disable-accentfolding Disable Accent Folding support 789 --disable-mg Disable MG compilation 790 --disable-mgpp Disable MGPP compilation 791 --disable-lucene Disable Lucene compilation 789 792 790 793 Optional Packages: … … 1242 1245 1243 1246 1247 1248 # Check whether --enable-mg or --disable-mg was given. 1249 if test "${enable_mg+set}" = set; then 1250 enableval="$enable_mg" 1251 ENABLE_MG=$enableval 1252 else 1253 ENABLE_MG=yes 1254 fi; 1255 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1256 ENABLE_MG=1 1257 cat >>confdefs.h <<\_ACEOF 1258 #define ENABLE_MG 1259 _ACEOF 1260 1261 else 1262 ENABLE_MG=0 1263 fi 1264 1265 1266 1267 # Check whether --enable-mgpp or --disable-mgpp was given. 1268 if test "${enable_mgpp+set}" = set; then 1269 enableval="$enable_mgpp" 1270 ENABLE_MGPP=$enableval 1271 else 1272 ENABLE_MGPP=yes 1273 fi; 1274 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1275 ENABLE_MGPP=1 1276 cat >>confdefs.h <<\_ACEOF 1277 #define ENABLE_MGPP 1278 _ACEOF 1279 1280 else 1281 ENABLE_MGPP=0 1282 fi 1283 1284 1285 # Check whether --enable-lucene or --disable-lucene was given. 1286 if test "${enable_lucene+set}" = set; then 1287 enableval="$enable_lucene" 1288 ENABLE_LUCENE=$enableval 1289 else 1290 ENABLE_LUCENE=yes 1291 fi; 1292 if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then 1293 ENABLE_LUCENE=1 1294 cat >>confdefs.h <<\_ACEOF 1295 #define ENABLE_LUCENE 1296 _ACEOF 1297 1298 else 1299 ENABLE_LUCENE=0 1300 fi 1301 1302 1303 1244 1304 cat >>confdefs.h <<_ACEOF 1245 1305 #define COMPAT32BITFLAGS $COMPAT32BITFLAGS … … 1348 1408 CLASS_TEST=Test.class 1349 1409 cat << \EOF > $JAVA_TEST 1350 /* #line 1 350 "configure" */1410 /* #line 1410 "configure" */ 1351 1411 public class Test { 1352 1412 } … … 1518 1578 ac_cv_prog_uudecode_base64=yes 1519 1579 else 1520 echo "configure: 15 20: uudecode had trouble decoding base 64 file 'Test.uue'" >&51580 echo "configure: 1580: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 1521 1581 echo "configure: failed file was:" >&5 1522 1582 cat Test.uue >&5 … … 1636 1696 CLASS_TEST=Test.class 1637 1697 cat << \EOF > $JAVA_TEST 1638 /* #line 16 38 "configure" */1698 /* #line 1698 "configure" */ 1639 1699 public class Test { 1640 1700 } … … 1673 1733 TEST=Test 1674 1734 cat << \EOF > $JAVA_TEST 1675 /* [#]line 1 675 "configure" */1735 /* [#]line 1735 "configure" */ 1676 1736 public class Test { 1677 1737 public static void main (String args[]) { … … 1765 1825 1766 1826 1767 1768 subdirs="$subdirs mg mgpp" 1769 1827 if test $ENABLE_MG = 1; then 1828 if test ! -d mg; then 1829 echo "***** Folder mg does not exist, cannot ENABLE_MG."; 1830 exit 1; 1831 fi 1832 1833 1834 subdirs="$subdirs mg" 1835 1836 fi 1837 1838 if test $ENABLE_MGPP = 1; then 1839 if test ! -d mgpp; then 1840 echo "***** Folder mgpp does not exist, cannot ENABLE_MGPP."; 1841 exit 1; 1842 fi 1843 1844 1845 subdirs="$subdirs mgpp" 1846 1847 fi 1848 1849 if test $ENABLE_LUCENE = 1; then 1850 if test ! -d lucene-gs; then 1851 echo "***** Folder lucene-gs does not exist, cannot ENABLE_LUCENE."; 1852 exit 1; 1853 fi 1854 fi 1770 1855 1771 1856 ac_config_files="$ac_config_files Makefile" … … 2405 2490 s,@LIBS@,$LIBS,;t t 2406 2491 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 2492 s,@ENABLE_MG@,$ENABLE_MG,;t t 2493 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 2494 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 2407 2495 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 2408 2496 s,@JAVAC@,$JAVAC,;t t
Note:
See TracChangeset
for help on using the changeset viewer.