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