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