Provide a `--pidfile' option in `fw'.
[fwd] / configure.in
1 dnl -*-m4-*-
2 dnl
3 dnl $Id: configure.in,v 1.18 2004/04/08 01:36:25 mdw Exp $
4 dnl
5 dnl Configuration script for fw
6 dnl
7 dnl (c) 1999 Straylight/Edgeware
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 AC_INIT(fw.c)
29 AM_INIT_AUTOMAKE(fw, 1.2.7)
30 AM_CONFIG_HEADER(config.h)
31
32 AC_PROG_CC
33 mdw_GCC_FLAGS
34
35 AC_CHECK_HEADERS(unistd.h)
36
37 AC_TYPE_UID_T
38 AC_TYPE_PID_T
39
40 mdw_DECL_ENVIRON
41
42 mdw_CHECK_MANYLIBS(socket, socket)
43 mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv)
44 mdw_MLIB(2.0.3)
45
46 AC_CHECK_FUNCS(inet_aton)
47 AC_CHECK_FUNCS(setrlimit)
48 AC_CHECK_FUNCS(setgroups)
49 AC_CHECK_FUNCS(getnetbyname)
50 AC_CHECK_FUNCS(strsignal _sys_siglist, break)
51
52 AC_OUTPUT(Makefile)
53
54 dnl ----- That's all, folks -------------------------------------------------