Drag build machinery into the 21st century.
[bascat] / configure.ac
CommitLineData
0398bb0d 1dnl -*-fundamental-*-
2dnl
01880456 3dnl $Id$
0398bb0d 4dnl
5dnl Source for auto configuration for `Bascat'
6dnl
7dnl (c) 1997 Mark Wooding
8dnl
9
10dnl----- Licensing notice ---------------------------------------------------
11dnl
12dnl This file is part of Bascat.
13dnl
14dnl Bascat is free software; you can redistribute it and/or modify
15dnl it under the terms of the GNU Library General Public License as
16dnl published by the Free Software Foundation; either version 2 of the
17dnl License, or (at your option) any later version.
18dnl
19dnl Bascat 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 Library General Public License for more details.
23dnl
24dnl You should have received a copy of the GNU General Public License
25dnl along with Bascat; if not, write to the Free Software Foundation,
26dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
39f22907
MW
28mdw_AUTO_VERSION
29AC_INIT([bascat], AUTO_VERSION, [mdw@distorted.org.uk])
30AC_CONFIG_SRCDIR([bascat.c])
31AC_CONFIG_AUX_DIR([config])
32AM_INIT_AUTOMAKE([foreign])
0398bb0d 33AC_PROG_CC
39f22907
MW
34AX_CFLAGS_WARN_ALL
35
36mdw_SILENT_RULES
0398bb0d 37
39f22907 38AC_SEARCH_LIBS([tcgetent], [termcap], [AC_DEFINE(HAVE_LIBTERMCAP, 1)])
0398bb0d 39
39f22907
MW
40AC_ARG_WITH([pager],
41 AS_HELP_STRING([--with-pager=PAGER],
42 [set the default pager (default is \`more')]),
0398bb0d 43 [AC_DEFINE(PAGER, "$withval")], [AC_DEFINE(PAGER, "more")])
44
39f22907
MW
45AC_CONFIG_FILES([Makefile])
46AC_OUTPUT