Also check for sha.h.
authorIvo Timmermans <ivo@lychnis.net>
Wed, 15 Nov 2000 01:02:30 +0000 (01:02 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Wed, 15 Nov 2000 01:02:30 +0000 (01:02 +0000)
m4/openssl.m4

index 6e08ebe5bf0cbe5606a070c51ae6745aab9b09d1..0db5097884c2890481fa37e730a613c00b32600d 100644 (file)
@@ -41,12 +41,12 @@ if test "$tinc_cv_openssl_include" != "none given" ; then
 fi
 
 osi=found
 fi
 
 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])
 
 if test "$osi" = "none" ; then
   osi=found
 [], [osi=none; break])
 
 if test "$osi" = "none" ; then
   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])
 fi
 
   [], [osi=none; break])
 fi