From: Michihiro NAKAJIMA Date: Sun, 1 Feb 2009 20:26:52 +0000 (-0500) Subject: Remove including md5global.h, because mtree of pkgsrc X-Git-Tag: v2.7.0~361 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb97b6977bfeabf194badc6884bcf6087c51097;p=thirdparty%2Flibarchive.git Remove including md5global.h, because mtree of pkgsrc isn't including it. it seems md5global.h is unnecessary. SVN-Revision: 532 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f7e07bf7e..c966b04a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -197,10 +197,6 @@ SET(_files "") IF(HAVE_SYS_TYPES_H) SET(_files "sys/types.h") ENDIF(HAVE_SYS_TYPES_H) -CHECK_INCLUDE_FILE(md5global.h HAVE_MD5GLOBAL_H) -IF(HAVE_MD5GLOBAL_H) - SET(_files ${_files} "md5global.h") -ENDIF(HAVE_MD5GLOBAL_H) SET(_files ${_files} "md5.h") CHECK_INCLUDE_FILES("${_files}" HAVE_MD5_H) CHECK_HEADERS(ripemd.h rmd160.h) diff --git a/cmake/config.h.in b/cmake/config.h.in index 2a66fd5d3..82b770d3b 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -257,9 +257,6 @@ /* Define to 1 if you have the `MD5' functions. */ #cmakedefine HAVE_MD5 1 -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_MD5GLOBAL_H 1 - /* Define to 1 if you have the header file. */ #cmakedefine HAVE_MD5_H 1 diff --git a/configure.ac b/configure.ac index 6e4bc050f..d49c0056a 100644 --- a/configure.ac +++ b/configure.ac @@ -204,7 +204,7 @@ if test "x$with_lzma" != "xno"; then fi AC_CHECK_HEADERS([openssl/md5.h openssl/ripemd.h openssl/sha.h]) -AC_CHECK_HEADERS([md5.h md5global.h]) +AC_CHECK_HEADERS([md5.h]) AC_CHECK_HEADERS([ripemd.h rmd160.h]) AC_CHECK_HEADERS([sha.h sha1.h sha2.h sha256.h]) AC_SEARCH_LIBS(SHA1_Init, crypto ssl md) diff --git a/libarchive/archive_write_set_format_mtree.c b/libarchive/archive_write_set_format_mtree.c index d9086a820..95b049bee 100644 --- a/libarchive/archive_write_set_format_mtree.c +++ b/libarchive/archive_write_set_format_mtree.c @@ -36,9 +36,6 @@ __FBSDID("$FreeBSD$"); #ifdef HAVE_OPENSSL_MD5_H #include #else /* HAVE_OPENSSL_MD5_H */ -#ifdef HAVE_MD5GLOBAL_H -#include -#endif #ifdef HAVE_MD5_H #include #endif