Use a BufferedReader, not a LineNumberReader.
[anag] / configure.in
CommitLineData
6e403221 1dnl -*-fundamental-*-
2dnl
0484a0d9 3dnl $Id: configure.in,v 1.2 2001/02/06 10:06:25 mdw Exp $
6e403221 4dnl
5dnl Configuration script
6dnl
7dnl (c) 2001 Mark Wooding
8dnl
9
10dnl ----- Licensing notice --------------------------------------------------
11dnl
12dnl This file is part of Anag: a simple wordgame helper.
13dnl
14dnl Anag is free software; you can redistribute it and/or modify
15dnl it under the terms of the GNU General Public License as published by
16dnl the Free Software Foundation; either version 2 of the License, or
17dnl (at your option) any later version.
18dnl
19dnl Anag is distributed in the hope that it will be useful,
20dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
21dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22dnl GNU General Public License for more details.
23dnl
24dnl You should have received a copy of the GNU General Public License
25dnl along with Anag; if not, write to the Free Software Foundation,
26dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
28dnl ----- Revision history --------------------------------------------------
29dnl
30dnl $Log: configure.in,v $
0484a0d9 31dnl Revision 1.2 2001/02/06 10:06:25 mdw
32dnl Find a suitable Java compiler. If there isn't one, don't compile the
33dnl Java bits.
34dnl
6e403221 35dnl Revision 1.1 2001/02/04 17:14:42 mdw
36dnl Initial checkin
37dnl
38
39AC_INIT(anag.c)
40AM_INIT_AUTOMAKE(anag, 1.0.0)
41AM_CONFIG_HEADER(config.h)
42AC_PROG_CC
43mdw_GCC_FLAGS
0484a0d9 44AC_CHECK_PROGS(JAVAC, jikes javac, none)
45if test "$JAVAC" = "none"; then
46 AC_MSG_WARN([No Java compiler found])
47 jarfiles=""
48else
49 jarfiles=anag.jar
50fi
51AC_SUBST(jarfiles)
6e403221 52AC_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")])
56AC_OUTPUT(Makefile)
57
58dnl ----- That's all, folks -------------------------------------------------