From: Tim Kientzle Date: Sun, 16 Aug 2009 02:20:37 +0000 (-0400) Subject: memset() is sufficiently ubiquitous that I don't see a need to test for it. X-Git-Tag: v2.8.0~420 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=342a3394e1082b9dac64bc059755d38f41710e63;p=thirdparty%2Flibarchive.git memset() is sufficiently ubiquitous that I don't see a need to test for it. SVN-Revision: 1378 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f265f9b86..1cce6ea4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -354,7 +354,6 @@ CHECK_FUNCTION_EXISTS_GLIBC(link HAVE_LINK) CHECK_FUNCTION_EXISTS_GLIBC(lstat HAVE_LSTAT) CHECK_FUNCTION_EXISTS_GLIBC(lutimes HAVE_LUTIMES) CHECK_FUNCTION_EXISTS_GLIBC(memmove HAVE_MEMMOVE) -CHECK_FUNCTION_EXISTS_GLIBC(memset HAVE_MEMSET) CHECK_FUNCTION_EXISTS_GLIBC(mkdir HAVE_MKDIR) CHECK_FUNCTION_EXISTS_GLIBC(mkfifo HAVE_MKFIFO) CHECK_FUNCTION_EXISTS_GLIBC(mknod HAVE_MKNOD) diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in index d64c4cf2f..0347d8959 100644 --- a/build/cmake/config.h.in +++ b/build/cmake/config.h.in @@ -284,9 +284,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_MEMORY_H 1 -/* Define to 1 if you have the `memset' function. */ -#cmakedefine HAVE_MEMSET 1 - /* Define to 1 if you have the `mkdir' function. */ #cmakedefine HAVE_MKDIR 1 diff --git a/libarchive/config_freebsd.h b/libarchive/config_freebsd.h index 87b154fef..37c806605 100644 --- a/libarchive/config_freebsd.h +++ b/libarchive/config_freebsd.h @@ -85,7 +85,6 @@ #define HAVE_MD5 1 #define HAVE_MD5_H 1 #define HAVE_MEMMOVE 1 -#define HAVE_MEMSET 1 #define HAVE_MKDIR 1 #define HAVE_MKFIFO 1 #define HAVE_MKNOD 1 diff --git a/libarchive/config_windows.h b/libarchive/config_windows.h index a9d7150cf..1995d75f6 100644 --- a/libarchive/config_windows.h +++ b/libarchive/config_windows.h @@ -269,9 +269,6 @@ /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 -/* Define to 1 if you have the `memset' function. */ -#define HAVE_MEMSET 1 - /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1