From e7b6d068a0ba1d0e8ee0ab40bad8496c7af7f300 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 6 Mar 2014 20:51:22 +0000 Subject: [PATCH] Do not perform AC_FUNC_MALLOC on OSX --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 935af821..ed232524 100644 --- a/configure.ac +++ b/configure.ac @@ -211,7 +211,7 @@ AC_SUBST(AM_CFLAGS) AC_SUBST(AM_CPPFLAGS) ### Checks for library functions. -AC_FUNC_MALLOC +AS_IF([test "x$PLATFORM" != xosx], [AC_FUNC_MALLOC]) AC_CHECK_FUNCS([atexit memset strdup strstr]) AC_CONFIG_FILES([Makefile])