In configure.ac, libcrypto should be checked instead of libssl,
as SHA1_Init() cannot be found in libssl.so since libssl v1.0.
That's why configure didn't run on my Ubuntu precise system.

Signed-off-by: Dongsu Park <[email protected]>
---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4d5a7e1..d72c051 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,8 +263,8 @@ if test "x${enable_accord}" = xyes; then
 fi
 
 if test "x${enable_farm}" = xyes; then
-       AC_CHECK_LIB([ssl], [SHA1_Init],,
-               AC_MSG_ERROR(libssl not found))
+       AC_CHECK_LIB([crypto], [SHA1_Init],,
+               AC_MSG_ERROR(libcrypto not found))
        AC_CHECK_HEADERS([openssl/sha.h],,
                AC_MSG_ERROR(sha.h header missing))
        AC_CHECK_LIB([z], [deflate],,
-- 
1.7.8.1

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to