Require mLib 2.0.3 for connection stuff.
[fwd] / configure.in
CommitLineData
0ac54f22 1dnl -*-m4-*-
e82f7154 2dnl
9df1a2f2 3dnl $Id: configure.in,v 1.17 2003/11/29 20:45:41 mdw Exp $
e82f7154 4dnl
5dnl Configuration script for fw
6dnl
1a1a2884 7dnl (c) 1999 Straylight/Edgeware
e82f7154 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 $
9df1a2f2 31dnl Revision 1.17 2003/11/29 20:45:41 mdw
32dnl Require mLib 2.0.3 for connection stuff.
33dnl
71b6cc0b 34dnl Revision 1.16 2003/11/25 14:11:18 mdw
35dnl Preliminary bump to 1.2.7.
36dnl
0ac54f22 37dnl Revision 1.15 2003/11/25 14:08:23 mdw
38dnl Debianization. Socket target options. Internet binding.
39dnl
75d44847 40dnl Revision 1.14 2003/05/17 12:33:55 mdw
41dnl Version bump.
42dnl
0b0da981 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
b270fd16 47dnl Revision 1.12 2001/02/03 20:30:15 mdw
48dnl Version bump.
49dnl
e68b88bf 50dnl Revision 1.11 2000/07/01 11:28:52 mdw
51dnl Use new mLib selbuf features.
52dnl
4c5a9577 53dnl Revision 1.10 2000/03/23 23:26:29 mdw
54dnl Require later mLib for sel.c bugfixes.
5bdd69b6 55dnl
7932b987 56dnl Revision 1.6 1999/11/11 19:08:27 mdw
57dnl Build separately from mLib.
58dnl
e0ce9d38 59dnl Revision 1.3 1999/07/27 18:30:53 mdw
60dnl Various minor portability fixes.
61dnl
1a1a2884 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.
e82f7154 67dnl
68
69AC_INIT(fw.c)
71b6cc0b 70AM_INIT_AUTOMAKE(fw, 1.2.7)
e82f7154 71AM_CONFIG_HEADER(config.h)
72
73AC_PROG_CC
74mdw_GCC_FLAGS
75
1a1a2884 76AC_CHECK_HEADERS(unistd.h)
77
78AC_TYPE_UID_T
79AC_TYPE_PID_T
80
81mdw_DECL_ENVIRON
82
e0ce9d38 83mdw_CHECK_MANYLIBS(socket, socket)
84mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv)
9df1a2f2 85mdw_MLIB(2.0.3)
e0ce9d38 86
e82f7154 87AC_CHECK_FUNCS(inet_aton)
1a1a2884 88AC_CHECK_FUNCS(setrlimit)
89AC_CHECK_FUNCS(setgroups)
0b0da981 90AC_CHECK_FUNCS(getnetbyname)
1a1a2884 91AC_CHECK_FUNCS(strsignal _sys_siglist, break)
e82f7154 92
e82f7154 93AC_OUTPUT(Makefile)
94
95dnl ----- That's all, folks -------------------------------------------------