Fix detecting message digest functions.
This bug was caused by renaming archive_crypto.
This commit is contained in:
1 parent
9cf058eead
commit
c4c6533b26
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -631,7 +631,7 @@ ENDIF(NOT OPENSSL_FOUND)
|
||||
|
||||
#
|
||||
# How to prove that CRYPTO functions, which have several names on various
|
||||
# platforms, just see if archive_crypto.c can compile and link against
|
||||
# platforms, just see if archive_digest.c can compile and link against
|
||||
# required libraries.
|
||||
#
|
||||
MACRO(CHECK_CRYPTO ALGORITHMS IMPLEMENTATION)
|
||||
@@ -670,7 +670,7 @@ MACRO(CHECK_CRYPTO ALGORITHMS IMPLEMENTATION)
|
||||
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/confdefs.h)
|
||||
FILE(READ "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/confdefs.h"
|
||||
CONFDEFS_H)
|
||||
FILE(READ "${CMAKE_CURRENT_SOURCE_DIR}/libarchive/archive_crypto.c"
|
||||
FILE(READ "${CMAKE_CURRENT_SOURCE_DIR}/libarchive/archive_digest.c"
|
||||
ARCHIVE_CRYPTO_C)
|
||||
|
||||
SET(SOURCE "${CONFDEFS_H}
|
||||
|
||||
+1
-1
@@ -699,7 +699,7 @@ AC_DEFUN([CRYPTO_CHECK], [
|
||||
#define ARCHIVE_CRYPTO_$1_$2
|
||||
#define PLATFORM_CONFIG_H "check_crypto_md.h"
|
||||
|
||||
$(cat "$srcdir/libarchive/archive_crypto.c")
|
||||
$(cat "$srcdir/libarchive/archive_digest.c")
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
|
||||
Reference in new issue
Block a user