17f4a72f5d35d2f55cf7302371bd0c2a172df0c9
[bascat] / configure.in
1 dnl -*-fundamental-*-
2 dnl
3 dnl $Id$
4 dnl
5 dnl Source for auto configuration for `Bascat'
6 dnl
7 dnl (c) 1997 Mark Wooding
8 dnl
9
10 dnl----- Licensing notice ---------------------------------------------------
11 dnl
12 dnl This file is part of Bascat.
13 dnl
14 dnl Bascat is free software; you can redistribute it and/or modify
15 dnl it under the terms of the GNU Library General Public License as
16 dnl published by the Free Software Foundation; either version 2 of the
17 dnl License, or (at your option) any later version.
18 dnl
19 dnl Bascat 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 Library General Public License for more details.
23 dnl
24 dnl You should have received a copy of the GNU General Public License
25 dnl along with Bascat; if not, write to the Free Software Foundation,
26 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
28 AC_INIT(bascat.c)
29 AM_INIT_AUTOMAKE(bascat, 1.3)
30
31 AC_PROG_CC
32 AC_PROG_INSTALL
33
34 mdw_GCC_FLAGS
35 mdw_CHECK_MANYLIBS(tgetent, termcap ncurses, [AC_DEFINE(HAVE_LIBTERMCAP, 1)])
36 mdw_OPT_NDEBUG
37
38 AC_ARG_WITH(pager,
39 [ --with-pager=PAGER set the default pager (default is \`more')],
40 [AC_DEFINE(PAGER, "$withval")], [AC_DEFINE(PAGER, "more")])
41
42 AC_OUTPUT(Makefile)