410c8acf |
1 | dnl -*-fundamental-*- |
2 | dnl |
73189848 |
3 | dnl $Id: configure.in,v 1.2 2001/02/04 01:17:54 mdw Exp $ |
410c8acf |
4 | dnl |
5 | dnl Configuration script for TrIPE |
6 | dnl |
7 | dnl (c) 2001 Straylight/Edgeware |
8 | dnl |
9 | |
10 | dnl ----- Licensing notice -------------------------------------------------- |
11 | dnl |
12 | dnl This file is part of Trivial IP Encryption (TrIPE). |
13 | dnl |
14 | dnl TrIPE 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 TrIPE 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 TrIPE; 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 $ |
73189848 |
31 | dnl Revision 1.2 2001/02/04 01:17:54 mdw |
32 | dnl Create a configuration header file to tidy up command lines. |
33 | dnl |
410c8acf |
34 | dnl Revision 1.1 2001/02/03 20:26:37 mdw |
35 | dnl Initial checkin. |
36 | dnl |
37 | |
38 | AC_INIT(tripe.c) |
39 | AM_INIT_AUTOMAKE(tripe, 1.0.0) |
73189848 |
40 | AM_CONFIG_HEADER(config.h) |
410c8acf |
41 | AC_CANONICAL_HOST |
42 | |
43 | AC_PROG_CC |
44 | mdw_GCC_FLAGS |
73189848 |
45 | mdw_OPT_TRACE |
410c8acf |
46 | |
47 | case $host_os in |
48 | linux*) |
49 | tun=unet |
50 | AC_DEFINE([TUN_TYPE], [TUN_UNET]) |
51 | ;; |
52 | *bsd*) |
53 | tun=bsd |
54 | AC_DEFINE([TUN_TYPE], [TUN_BSD]) |
55 | ;; |
56 | *) |
57 | AC_MSG_ERROR([Unsupported OS: no tunnel interface available]) |
58 | ;; |
59 | esac |
60 | AC_SUBST(tun) |
61 | |
62 | mdw_MLIB(2.0.0pre4) |
63 | mdw_CATACOMB(2.0.0pre8) |
64 | |
65 | AC_OUTPUT(Makefile) |
66 | |
67 | dnl ----- That's all, folks ------------------------------------------------- |