3 dnl $Id: configure.in,v 1.2 2001/02/06 10:06:25 mdw Exp $
5 dnl Configuration script
7 dnl (c) 2001 Mark Wooding
10 dnl ----- Licensing notice --------------------------------------------------
12 dnl This file is part of Anag: a simple wordgame helper.
14 dnl Anag is free software; you can redistribute it and/or modify
15 dnl it under the terms of the GNU General Public License as published by
16 dnl the Free Software Foundation; either version 2 of the License, or
17 dnl (at your option) any later version.
19 dnl Anag is distributed in the hope that it will be useful,
20 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
21 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 dnl GNU General Public License for more details.
24 dnl You should have received a copy of the GNU General Public License
25 dnl along with Anag; if not, write to the Free Software Foundation,
26 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28 dnl ----- Revision history --------------------------------------------------
30 dnl $Log: configure.in,v $
31 dnl Revision 1.2 2001/02/06 10:06:25 mdw
32 dnl Find a suitable Java compiler. If there isn't one, don't compile the
35 dnl Revision 1.1 2001/02/04 17:14:42 mdw
40 AM_INIT_AUTOMAKE(anag, 1.0.0)
41 AM_CONFIG_HEADER(config.h)
44 AC_CHECK_PROGS(JAVAC, jikes javac, none)
45 if test "$JAVAC" = "none"; then
46 AC_MSG_WARN([No Java compiler found])
52 AC_ARG_WITH(dictionary,
53 [ --with-dictionary=DICT set default word list to be DICT],
54 [AC_DEFINE_UNQUOTED(DICTIONARY, "$withval")],
55 [AC_DEFINE(DICTIONARY, "/usr/dict/words")])
58 dnl ----- That's all, folks -------------------------------------------------