9f399b31d99ec19c9889490c798c5b98799329b3
[fwd] / configure.in
1 dnl -*-fundamental-*-
2 dnl
3 dnl $Id: configure.in,v 1.3 1999/07/27 18:30:53 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 dnl ----- Revision history --------------------------------------------------
29 dnl
30 dnl $Log: configure.in,v $
31 dnl Revision 1.3 1999/07/27 18:30:53 mdw
32 dnl Various minor portability fixes.
33 dnl
34 dnl Revision 1.2 1999/07/26 23:35:09 mdw
35 dnl Relatively minor changes to support new functionality.
36 dnl
37 dnl Revision 1.1.1.1 1999/07/01 08:56:23 mdw
38 dnl Initial revision.
39 dnl
40
41 AC_INIT(fw.c)
42 AM_INIT_AUTOMAKE(fw, 1.1.0pre1)
43 AM_CONFIG_HEADER(config.h)
44
45 AC_PROG_CC
46 mdw_GCC_FLAGS
47
48 AC_CHECK_HEADERS(unistd.h)
49
50 AC_TYPE_UID_T
51 AC_TYPE_PID_T
52
53 mdw_DECL_ENVIRON
54
55 mdw_CHECK_MANYLIBS(socket, socket)
56 mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv)
57
58 AC_CHECK_FUNCS(inet_aton)
59 AC_CHECK_FUNCS(setrlimit)
60 AC_CHECK_FUNCS(setgroups)
61 AC_CHECK_FUNCS(strsignal _sys_siglist, break)
62
63 AC_CONFIG_SUBDIRS(mLib)
64 AC_OUTPUT(Makefile)
65
66 dnl ----- That's all, folks -------------------------------------------------