Require mLib 2.0.3 for connection stuff.
[fwd] / configure.in
... / ...
CommitLineData
1dnl -*-m4-*-
2dnl
3dnl $Id: configure.in,v 1.17 2003/11/29 20:45:41 mdw Exp $
4dnl
5dnl Configuration script for fw
6dnl
7dnl (c) 1999 Straylight/Edgeware
8dnl
9
10dnl ----- Licensing notice --------------------------------------------------
11dnl
12dnl This file is part of the `fw' port forwarder.
13dnl
14dnl `fw' 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 `fw' 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 `fw'; 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 $
31dnl Revision 1.17 2003/11/29 20:45:41 mdw
32dnl Require mLib 2.0.3 for connection stuff.
33dnl
34dnl Revision 1.16 2003/11/25 14:11:18 mdw
35dnl Preliminary bump to 1.2.7.
36dnl
37dnl Revision 1.15 2003/11/25 14:08:23 mdw
38dnl Debianization. Socket target options. Internet binding.
39dnl
40dnl Revision 1.14 2003/05/17 12:33:55 mdw
41dnl Version bump.
42dnl
43dnl Revision 1.13 2002/01/13 14:48:39 mdw
44dnl Check for @getnetbyname@, since it appears not to be available under
45dnl Cygwin.
46dnl
47dnl Revision 1.12 2001/02/03 20:30:15 mdw
48dnl Version bump.
49dnl
50dnl Revision 1.11 2000/07/01 11:28:52 mdw
51dnl Use new mLib selbuf features.
52dnl
53dnl Revision 1.10 2000/03/23 23:26:29 mdw
54dnl Require later mLib for sel.c bugfixes.
55dnl
56dnl Revision 1.6 1999/11/11 19:08:27 mdw
57dnl Build separately from mLib.
58dnl
59dnl Revision 1.3 1999/07/27 18:30:53 mdw
60dnl Various minor portability fixes.
61dnl
62dnl Revision 1.2 1999/07/26 23:35:09 mdw
63dnl Relatively minor changes to support new functionality.
64dnl
65dnl Revision 1.1.1.1 1999/07/01 08:56:23 mdw
66dnl Initial revision.
67dnl
68
69AC_INIT(fw.c)
70AM_INIT_AUTOMAKE(fw, 1.2.7)
71AM_CONFIG_HEADER(config.h)
72
73AC_PROG_CC
74mdw_GCC_FLAGS
75
76AC_CHECK_HEADERS(unistd.h)
77
78AC_TYPE_UID_T
79AC_TYPE_PID_T
80
81mdw_DECL_ENVIRON
82
83mdw_CHECK_MANYLIBS(socket, socket)
84mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv)
85mdw_MLIB(2.0.3)
86
87AC_CHECK_FUNCS(inet_aton)
88AC_CHECK_FUNCS(setrlimit)
89AC_CHECK_FUNCS(setgroups)
90AC_CHECK_FUNCS(getnetbyname)
91AC_CHECK_FUNCS(strsignal _sys_siglist, break)
92
93AC_OUTPUT(Makefile)
94
95dnl ----- That's all, folks -------------------------------------------------