projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Make sure correct information is supplied for both old kernels (with
[tinc]
/
m4
/
openssl.m4
diff --git
a/m4/openssl.m4
b/m4/openssl.m4
index
c0c2cab
..
2d24258
100644
(file)
--- a/
m4/openssl.m4
+++ b/
m4/openssl.m4
@@
-37,18
+37,17
@@
if test "$tinc_cv_openssl_lib" != "none given" ; then
LIBS="$LIBS -L$tinc_cv_openssl_lib"
fi
if test "$tinc_cv_openssl_include" != "none given" ; then
LIBS="$LIBS -L$tinc_cv_openssl_lib"
fi
if test "$tinc_cv_openssl_include" != "none given" ; then
-
INCLUDES="$INCLUDE
S -I$tinc_cv_openssl_include"
+
CFLAGS="$CFLAG
S -I$tinc_cv_openssl_include"
fi
fi
-osi=none
-AC_CHECK_HEADERS(evp.h rsa.h,
-[osi=found
- break])
+osi=found
+AC_CHECK_HEADERS(evp.h rsa.h rand.h err.h sha.h pem.h,
+[], [osi=none; break])
if test "$osi" = "none" ; then
if test "$osi" = "none" ; then
- AC_CHECK_HEADERS(openssl/evp.h openssl/rsa.h,
- [osi=found
- break])
+ osi=found
+ AC_CHECK_HEADERS(openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h,
+
[], [osi=none;
break])
fi
fi