python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / vtun / 0002-fix-ssl-headers-checks.patch
blob765411af841f076bc6db2345774869a5268ff913
1 configure.in: do not hard-code search patch for SSL headers
3 Do. Not. Do. That. It breaks cross-compilation.
5 Also use the SSL headers dir to look for blowfish headers.
7 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 diff -durN vtun-3.0.3.orig/configure.in vtun-3.0.3/configure.in
10 --- vtun-3.0.3.orig/configure.in 2009-03-29 12:08:51.000000000 +0200
11 +++ vtun-3.0.3/configure.in 2013-02-16 23:44:44.004339680 +0100
12 @@ -166,7 +166,7 @@
13 AC_MSG_RESULT()
14 AC_CHECKING( for md5 Library and Header files ... )
15 AC_SEARCH_HEADERS(md5.h,
16 - $SSL_HDR_DIR /usr/include/openssl "" /usr/include /usr/include/ssl /usr/local/include /usr/local/ssl/include /usr/include/sys,
17 + $SSL_HDR_DIR "" ,
19 AC_MSG_ERROR( SSL headers not found. )
21 @@ -176,7 +176,7 @@
22 AC_MSG_RESULT()
23 AC_CHECKING( for blowfish Library and Header files ... )
24 AC_SEARCH_HEADERS(blowfish.h,
25 - $BLOWFISH_HDR_DIR /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto,
26 + $BLOWFISH_HDR_DIR $SSL_HDR_DIR,
27 AC_CHECK_LIB(crypto, BF_set_key,
29 LIBS="$LIBS -lcrypto"
30 @@ -193,7 +193,7 @@
31 AC_MSG_RESULT()
32 AC_CHECKING( for AES Library and Header files ... )
33 AC_SEARCH_HEADERS(aes.h,
34 - $SSL_HDR_DIR /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto,
35 + $SSL_HDR_DIR ,
36 AC_CHECK_LIB(crypto, AES_set_encrypt_key,
38 AC_DEFINE(HAVE_SSL_AES)
39 @@ -208,7 +208,7 @@
40 AC_MSG_RESULT()
41 AC_CHECKING( for EVP Library and Header files ... )
42 AC_SEARCH_HEADERS(evp.h,
43 - $SSL_HDR_DIR /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto,
44 + $SSL_HDR_DIR ,
45 AC_CHECK_LIB(crypto, EVP_EncryptInit,
47 AC_DEFINE(HAVE_SSL_EVP)