python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / vtun / 0003-fixup-configure.in.patch
blobcb2ac67aa2322ecdb1dd4395ebc2fcc4c8e185fc
1 configure.in: minimal syntax fixup for autoreconf
3 This is the strictly minimal syntax fixups to make autoreconf happy...
5 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
7 ---
8 Note: configure.in is still full of incorrect syntax, but fixing it is
9 a task for another day, and would have to be upstreamed. But upstream
10 looks to be moribund at best, if not dead... :-(
12 So, keep it for ourselves for now... Too bad, vtun is really helpfull.
14 --- vtun-3.0.3.orig/configure.in 2013-02-16 23:54:52.582451817 +0100
15 +++ vtun-3.0.3/configure.in 2013-02-17 00:03:13.640887353 +0100
16 @@ -110,10 +110,10 @@
17 AC_SEARCH_LIBS(nanosleep, rt posix4)
19 dnl Check for setproctitle in libutil
20 -AC_SEARCH_LIBS(setproctitle, util bsd, AC_DEFINE(HAVE_SETPROC_TITLE) )
21 +AC_SEARCH_LIBS(setproctitle, util bsd, AC_DEFINE([HAVE_SETPROC_TITLE],[],[Define to set title in /proc]) )
23 if test "$SHAPER" = "yes"; then
24 - AC_DEFINE(HAVE_SHAPER)
25 + AC_DEFINE([HAVE_SHAPER],[],[Define to use shapper])
28 if test "$ZLIB" = "yes"; then
29 @@ -121,7 +121,7 @@
30 AC_CHECKING( for ZLIB Library and Header files ... )
31 AC_CHECK_LIB(z, deflate,
32 LIBS="$LIBS -lz"
33 - AC_DEFINE(HAVE_ZLIB),
34 + AC_DEFINE([HAVE_ZLIB],[],[Define to use ZLIB]),
35 AC_MSG_ERROR( Zlib library not found.)
38 @@ -148,7 +148,7 @@
39 AC_CHECK_LIB($I, lzo1x_decompress,
41 LIBS="$LIBS -l"$I
42 - AC_DEFINE(HAVE_LZO)
43 + AC_DEFINE([HAVE_LZO],[],[Define to use LZO])
44 havelzo=1
47 @@ -180,8 +180,8 @@
48 AC_CHECK_LIB(crypto, BF_set_key,
50 LIBS="$LIBS -lcrypto"
51 - AC_DEFINE(HAVE_SSL)
52 - AC_DEFINE(HAVE_SSL_BLOWFISH)
53 + AC_DEFINE([HAVE_SSL],[],[Define to use SSL])
54 + AC_DEFINE([HAVE_SSL_BLOWFISH],[],[Define to use blowfish])
56 AC_MSG_ERROR( SSL library not found. )
58 @@ -196,7 +196,7 @@
59 $SSL_HDR_DIR ,
60 AC_CHECK_LIB(crypto, AES_set_encrypt_key,
62 - AC_DEFINE(HAVE_SSL_AES)
63 + AC_DEFINE([HAVE_SSL_AES],[],[Define to use AES])
65 AC_MSG_ERROR( AES library not found. )
67 @@ -211,7 +211,7 @@
68 $SSL_HDR_DIR ,
69 AC_CHECK_LIB(crypto, EVP_EncryptInit,
71 - AC_DEFINE(HAVE_SSL_EVP)
72 + AC_DEFINE([HAVE_SSL_EVP],[],Define to use EVP)
74 AC_MSG_ERROR( EVP library not found. )
76 @@ -220,7 +220,7 @@
79 if test "$NATHACK" = "yes"; then
80 - AC_DEFINE(ENABLE_NAT_HACK)
81 + AC_DEFINE([ENABLE_NAT_HACK],[],[Define to use NAT hack])
84 if test "$SOCKS" = "yes"; then
85 @@ -274,6 +274,6 @@
86 REL=`echo 'BRANCH-3_X' | tr -d '$: \-' | sed 's/^[A-Za-z]*//' | sed 's/\_/\./'`
87 changequote([,])
89 -AC_DEFINE_UNQUOTED(VTUN_VER, "$REL `date '+%m/%d/%Y'`")
90 +AC_DEFINE_UNQUOTED([VTUN_VER], ["$REL `date '+%m/%d/%Y'`"], [vtun version])
92 AC_OUTPUT(Makefile)