bump version
[buildroot.git] / package / vtun / vtun-3.0.1-004-autoreconf-fix-header-detection.patch
blob0b4c0a7c5c91b6b0c722f9c13dce3d93a77d038d
1 diff -rduNp vtun-3.0.1.orig4/configure vtun-3.0.1/configure
2 --- vtun-3.0.1.orig4/configure 2007-10-13 19:30:40.000000000 +0200
3 +++ vtun-3.0.1/configure 2007-10-13 19:38:56.000000000 +0200
4 @@ -1770,6 +1770,8 @@ fi
5 if test "${with_ssl_headers+set}" = set; then
6 withval=$with_ssl_headers; SSL_HDR_DIR="$withval"
7 CPPFLAGS="$CPPFLAGS -I$withval"
8 +else
9 + SSL_HDR_DIR="/usr/include/openssl /usr/include /usr/include/ssl /usr/local/include /usr/local/ssl/include /usr/include/sys /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto"
13 @@ -1785,6 +1787,8 @@ fi
14 # Check whether --with-lzo-headers was given.
15 if test "${with_lzo_headers+set}" = set; then
16 withval=$with_lzo_headers; LZO_HDR_DIR="$withval"
17 +else
18 + LZO_HDR_DIR=" /usr/include/lzo \"\" /usr/local/include"
22 @@ -1800,6 +1804,8 @@ fi
23 # Check whether --with-blowfish-headers was given.
24 if test "${with_blowfish_headers+set}" = set; then
25 withval=$with_blowfish_headers; BLOWFISH_HDR_DIR="$withval"
26 +else
27 + BLOWFISH_HDR_DIR="/usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto"
31 @@ -5659,7 +5665,7 @@ echo "$as_me: checking for LZO Library a
32 { echo "$as_me:$LINENO: checking \"for lzo_asm.h\"" >&5
33 echo $ECHO_N "checking \"for lzo_asm.h\"... $ECHO_C" >&6; }
34 ac_hdr_found=no
35 - for p in $LZO_HDR_DIR /usr/include/lzo "" /usr/local/include; do
36 + for p in $LZO_HDR_DIR; do
37 if test -n "$p"; then
38 dir="$p"
39 else
40 @@ -5699,7 +5705,7 @@ echo "${ECHO_T}\"no\"" >&6; }
41 { echo "$as_me:$LINENO: checking \"for lzo1x.h\"" >&5
42 echo $ECHO_N "checking \"for lzo1x.h\"... $ECHO_C" >&6; }
43 ac_hdr_found=no
44 - for p in $LZO_HDR_DIR /usr/include/lzo "" /usr/local/include; do
45 + for p in $LZO_HDR_DIR; do
46 if test -n "$p"; then
47 dir="$p"
48 else
49 @@ -5848,7 +5854,7 @@ echo "$as_me: checking for md5 Library a
50 { echo "$as_me:$LINENO: checking \"for md5.h\"" >&5
51 echo $ECHO_N "checking \"for md5.h\"... $ECHO_C" >&6; }
52 ac_hdr_found=no
53 - for p in $SSL_HDR_DIR /usr/include/openssl "" /usr/include /usr/include/ssl /usr/local/include /usr/local/ssl/include /usr/include/sys; do
54 + for p in $SSL_HDR_DIR; do
55 if test -n "$p"; then
56 dir="$p"
57 else
58 @@ -5901,7 +5907,7 @@ echo "$as_me: checking for blowfish Libr
59 { echo "$as_me:$LINENO: checking \"for blowfish.h\"" >&5
60 echo $ECHO_N "checking \"for blowfish.h\"... $ECHO_C" >&6; }
61 ac_hdr_found=no
62 - for p in $BLOWFISH_HDR_DIR /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto; do
63 + for p in $BLOWFISH_HDR_DIR; do
64 if test -n "$p"; then
65 dir="$p"
66 else
67 @@ -6035,7 +6041,7 @@ echo "$as_me: checking for AES Library a
68 { echo "$as_me:$LINENO: checking \"for aes.h\"" >&5
69 echo $ECHO_N "checking \"for aes.h\"... $ECHO_C" >&6; }
70 ac_hdr_found=no
71 - for p in $SSL_HDR_DIR /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto; do
72 + for p in $SSL_HDR_DIR; do
73 if test -n "$p"; then
74 dir="$p"
75 else
76 @@ -6163,7 +6169,7 @@ echo "$as_me: checking for EVP Library a
77 { echo "$as_me:$LINENO: checking \"for evp.h\"" >&5
78 echo $ECHO_N "checking \"for evp.h\"... $ECHO_C" >&6; }
79 ac_hdr_found=no
80 - for p in $SSL_HDR_DIR /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto; do
81 + for p in $SSL_HDR_DIR; do
82 if test -n "$p"; then
83 dir="$p"
84 else