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