source: indexers/trunk/configure.ac@ 19802

Last change on this file since 19802 was 19802, checked in by mdewsnip, 15 years ago

Added checks for Javac and Java to the configure script, and removed usage of "JAVA_HOME" from the Makefiles (this is often not set -- simpler just to expect javac and java are on the path).

  • Property svn:keywords set to Author Date Id Revision
File size: 756 bytes
Line 
1dnl
2dnl Disable accent folding
3dnl
4
5AC_INIT(mgpp/text/MGQuery.cpp)
6AC_ARG_ENABLE(accentfolding, [ --disable-accentfold Disable Accent Folding support], ENABLE_ACCENTFOLD=0, ENABLE_ACCENTFOLD=1)
7AC_DEFINE_UNQUOTED(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD)
8AC_SUBST(ENABLE_ACCENTFOLD)
9
10AC_DEFINE_UNQUOTED(COMPAT32BITFLAGS, $COMPAT32BITFLAGS)
11AC_SUBST(COMPAT32BITFLAGS)
12
13dnl
14dnl Make sure Javac and Java are available
15dnl
16AC_PROG_JAVAC
17AC_PROG_JAVA
18
19dnl
20dnl Specify location of unac - if specified, will be passed to cascading configures
21dnl
22AC_ARG_WITH(unac, [ --with-unac=dir Use specified unac directory], UNAC_DIR=$withval)
23
24if test $ENABLE_ACCENTFOLD = 1; then
25AC_CONFIG_SUBDIRS(packages/unac)
26fi
27
28AC_CONFIG_SUBDIRS(mg mgpp)
29
30AC_OUTPUT(Makefile)
Note: See TracBrowser for help on using the repository browser.