projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented a readline() function that will read an entire line into a
[tinc]
/
m4
/
openssl.m4
diff --git
a/m4/openssl.m4
b/m4/openssl.m4
index
d933b23
..
2d24258
100644
(file)
--- a/
m4/openssl.m4
+++ b/
m4/openssl.m4
@@
-33,22
+33,21
@@
AC_DEFUN(tinc_OPENSSL,
)
])
)
])
-if test "$openssl_lib" != "none given" ; then
+if test "$
tinc_cv_
openssl_lib" != "none given" ; then
LIBS="$LIBS -L$tinc_cv_openssl_lib"
fi
LIBS="$LIBS -L$tinc_cv_openssl_lib"
fi
-if test "$openssl_include" != "none given" ; then
-
INCLUDES="$INCLUDE
S -I$tinc_cv_openssl_include"
+if test "$
tinc_cv_
openssl_include" != "none given" ; then
+
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