0ac54f22 |
1 | dnl -*-m4-*- |
e82f7154 |
2 | dnl |
7481fc9c |
3 | dnl $Id: configure.in,v 1.18 2004/04/08 01:36:25 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 | |
e82f7154 |
28 | AC_INIT(fw.c) |
71b6cc0b |
29 | AM_INIT_AUTOMAKE(fw, 1.2.7) |
e82f7154 |
30 | AM_CONFIG_HEADER(config.h) |
31 | |
32 | AC_PROG_CC |
33 | mdw_GCC_FLAGS |
34 | |
1a1a2884 |
35 | AC_CHECK_HEADERS(unistd.h) |
36 | |
37 | AC_TYPE_UID_T |
38 | AC_TYPE_PID_T |
39 | |
40 | mdw_DECL_ENVIRON |
41 | |
e0ce9d38 |
42 | mdw_CHECK_MANYLIBS(socket, socket) |
43 | mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv) |
9df1a2f2 |
44 | mdw_MLIB(2.0.3) |
e0ce9d38 |
45 | |
e82f7154 |
46 | AC_CHECK_FUNCS(inet_aton) |
1a1a2884 |
47 | AC_CHECK_FUNCS(setrlimit) |
48 | AC_CHECK_FUNCS(setgroups) |
0b0da981 |
49 | AC_CHECK_FUNCS(getnetbyname) |
1a1a2884 |
50 | AC_CHECK_FUNCS(strsignal _sys_siglist, break) |
e82f7154 |
51 | |
e82f7154 |
52 | AC_OUTPUT(Makefile) |
53 | |
54 | dnl ----- That's all, folks ------------------------------------------------- |