Fix: remove AC_FUNC_MALLOC from configure.ac
[userspace-rcu.git] / configure.ac
index d31f576bf158703ffc1d9bd1776ac93df64dad91..7341aa037b56bbe9ce0170460086731a5f937012 100644 (file)
@@ -85,7 +85,6 @@ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 CC="$PTHREAD_CC"
 
 # Checks for library functions.
-AC_FUNC_MALLOC
 AC_FUNC_MMAP
 AC_FUNC_FORK
 AC_CHECK_FUNCS([ \
@@ -102,6 +101,9 @@ AC_CHECK_FUNCS([ \
        sysconf \
 ])
 
+# AC_FUNC_MALLOC causes problems when cross-compiling.
+#AC_FUNC_MALLOC
+
 # Check for headers
 AC_HEADER_STDBOOL
 AC_CHECK_HEADERS([ \
This page took 0.023678 seconds and 4 git commands to generate.