| 1 | dnl -*-fundamental-*- |
| 2 | dnl |
| 3 | dnl $Id: configure.in,v 1.2 1999/10/28 10:10:39 mdw Exp $ |
| 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 | dnl----- Revision history --------------------------------------------------- |
| 29 | dnl |
| 30 | dnl $Log: configure.in,v $ |
| 31 | dnl Revision 1.2 1999/10/28 10:10:39 mdw |
| 32 | dnl New project standards. |
| 33 | dnl |
| 34 | dnl Revision 1.1 1998/03/16 15:21:37 mdw |
| 35 | dnl Files placed under CVS control. |
| 36 | dnl |
| 37 | dnl Revision 1.1 1997/07/23 01:18:47 mdw |
| 38 | dnl Initial revision |
| 39 | dnl |
| 40 | |
| 41 | AC_INIT(bascat.c) |
| 42 | AM_INIT_AUTOMAKE(bascat, 1.2pre2) |
| 43 | |
| 44 | AC_ARG_PROGRAM |
| 45 | AC_PROG_CC |
| 46 | AC_PROG_INSTALL |
| 47 | |
| 48 | mdw_GCC_FLAGS(-pedantic -Wall -W -Wtraditional -Wpointer-arith -Wcast-align) |
| 49 | mdw_CHECK_MANYLIBS(tgetent, termcap ncurses, [AC_DEFINE(HAVE_LIBTERMCAP, 1)]) |
| 50 | mdw_OPT_NDEBUG |
| 51 | |
| 52 | AC_ARG_WITH(pager, |
| 53 | [ --with-pager=PAGER set the default pager (default is \`more')], |
| 54 | [AC_DEFINE(PAGER, "$withval")], [AC_DEFINE(PAGER, "more")]) |
| 55 | |
| 56 | AC_OUTPUT(Makefile) |