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