chiark / gitweb /
Make this a pre-release.
[tripe] / configure.in
CommitLineData
410c8acf 1dnl -*-fundamental-*-
2dnl
1f531e36 3dnl $Id: configure.in,v 1.5 2001/03/03 12:30:39 mdw Exp $
410c8acf 4dnl
5dnl Configuration script for TrIPE
6dnl
7dnl (c) 2001 Straylight/Edgeware
8dnl
9
10dnl ----- Licensing notice --------------------------------------------------
11dnl
12dnl This file is part of Trivial IP Encryption (TrIPE).
13dnl
14dnl TrIPE is free software; you can redistribute it and/or modify
15dnl it under the terms of the GNU General Public License as published by
16dnl the Free Software Foundation; either version 2 of the License, or
17dnl (at your option) any later version.
18dnl
19dnl TrIPE is distributed in the hope that it will be useful,
20dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
21dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22dnl GNU General Public License for more details.
23dnl
24dnl You should have received a copy of the GNU General Public License
25dnl along with TrIPE; if not, write to the Free Software Foundation,
26dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
28dnl ----- Revision history --------------------------------------------------
29dnl
30dnl $Log: configure.in,v $
1f531e36 31dnl Revision 1.5 2001/03/03 12:30:39 mdw
32dnl Make this a pre-release.
33dnl
9bb1a373 34dnl Revision 1.4 2001/02/22 09:07:28 mdw
35dnl Build documents now.
36dnl
aa7f0bd9 37dnl Revision 1.3 2001/02/16 21:24:12 mdw
38dnl Don't link the client against Catacomb.
39dnl
73189848 40dnl Revision 1.2 2001/02/04 01:17:54 mdw
41dnl Create a configuration header file to tidy up command lines.
42dnl
410c8acf 43dnl Revision 1.1 2001/02/03 20:26:37 mdw
44dnl Initial checkin.
45dnl
46
47AC_INIT(tripe.c)
1f531e36 48AM_INIT_AUTOMAKE(tripe, 1.0.0pre1)
73189848 49AM_CONFIG_HEADER(config.h)
410c8acf 50AC_CANONICAL_HOST
51
52AC_PROG_CC
53mdw_GCC_FLAGS
73189848 54mdw_OPT_TRACE
410c8acf 55
56case $host_os in
57 linux*)
58 tun=unet
59 AC_DEFINE([TUN_TYPE], [TUN_UNET])
60 ;;
61 *bsd*)
62 tun=bsd
63 AC_DEFINE([TUN_TYPE], [TUN_BSD])
64 ;;
65 *)
66 AC_MSG_ERROR([Unsupported OS: no tunnel interface available])
67 ;;
68esac
69AC_SUBST(tun)
70
71mdw_MLIB(2.0.0pre4)
aa7f0bd9 72mdw_CATACOMB(2.0.0pre8, [CFLAGS="$CFLAGS $CATACOMB_CFLAGS"])
410c8acf 73
9bb1a373 74AC_OUTPUT(Makefile doc/Makefile)
410c8acf 75
76dnl ----- That's all, folks -------------------------------------------------