about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-06 20:51:22 +0000
committerJames Booth <boothj5@gmail.com>2014-03-06 20:51:22 +0000
commite7b6d068a0ba1d0e8ee0ab40bad8496c7af7f300 (patch)
treee09ba203b258bac54847b1c74a7502e70ed5d7cb
parent8ae6f52f1012bc93b22c50f74aefaa24fb00f15b (diff)
downloadprofani-tty-e7b6d068a0ba1d0e8ee0ab40bad8496c7af7f300.tar.gz
Do not perform AC_FUNC_MALLOC on OSX
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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])