From: Eric Haszlakiewicz Date: Thu, 22 Oct 2015 02:57:13 +0000 (+0000) Subject: Remove the AC_FUNC_MALLOC check, since we don't depend on the malloc(0) behavior... X-Git-Tag: json-c-0.13-20171207~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d50aadf2a0803aea95fa92632d229b872f2cf3;p=thirdparty%2Fjson-c.git Remove the AC_FUNC_MALLOC check, since we don't depend on the malloc(0) behavior it checks for, and we don't provide a rpl_malloc() implementation anyway. --- diff --git a/config.h.in b/config.h.in index af2e5fc2..f4d97a23 100644 --- a/config.h.in +++ b/config.h.in @@ -50,10 +50,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H -/* Define to 1 if your system has a GNU libc compatible `malloc' function, and - to 0 otherwise. */ -#undef HAVE_MALLOC - /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H @@ -134,9 +130,6 @@ */ #undef LT_OBJDIR -/* Define to 1 if your C compiler doesn't accept -c and -o together. */ -#undef NO_MINUS_C_MINUS_O - /* Name of package */ #undef PACKAGE @@ -167,9 +160,6 @@ /* Define to empty if `const' does not conform to ANSI C. */ #undef const -/* Define to rpl_malloc if the replacement function should be used. */ -#undef malloc - /* Define to rpl_realloc if the replacement function should be used. */ #undef realloc diff --git a/configure.ac b/configure.ac index ba6d77f2..4dd4ee63 100644 --- a/configure.ac +++ b/configure.ac @@ -43,7 +43,6 @@ AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_VPRINTF AC_FUNC_MEMCMP -AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS(strcasecmp strdup strerror snprintf vsnprintf vasprintf open vsyslog strncasecmp setlocale) AC_CHECK_DECLS([INFINITY], [], [], [[#include ]])