X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=m4%2Fopenssl.m4;h=782e7e12984e702f28e9722a26e6ff075a80cf50;hp=6e08ebe5bf0cbe5606a070c51ae6745aab9b09d1;hb=ef88db63120503a8c9d34d86073795c99dedc3a9;hpb=8eb60d0ccde2f1de6fd917db7300e537f271783e diff --git a/m4/openssl.m4 b/m4/openssl.m4 index 6e08ebe5..782e7e12 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -37,16 +37,16 @@ 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 - INCLUDES="$INCLUDES -I$tinc_cv_openssl_include" + CFLAGS="$CFLAGS -I$tinc_cv_openssl_include" 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 - 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