Also check for sha.h.
This commit is contained in:
parent
8eb60d0ccd
commit
6fb4a5b6be
1 changed files with 2 additions and 2 deletions
|
@ -41,12 +41,12 @@ if test "$tinc_cv_openssl_include" != "none given" ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
osi=found
|
osi=found
|
||||||
AC_CHECK_HEADERS(evp.h rsa.h rand.h err.h,
|
AC_CHECK_HEADERS(evp.h rsa.h rand.h err.h sha.h,
|
||||||
[], [osi=none; break])
|
[], [osi=none; break])
|
||||||
|
|
||||||
if test "$osi" = "none" ; then
|
if test "$osi" = "none" ; then
|
||||||
osi=found
|
osi=found
|
||||||
AC_CHECK_HEADERS(openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h,
|
AC_CHECK_HEADERS(openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h,
|
||||||
[], [osi=none; break])
|
[], [osi=none; break])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue