Fix: remove AC_FUNC_MALLOC from configure.ac
[urcu.git] / configure.ac
index 6d8c15fa402325008262435ad9b95558dd4c4775..1f41cf3205c409d50f3afa79f88d6ce7115b94fd 100644 (file)
@@ -54,10 +54,12 @@ AC_TYPE_PID_T
 AC_TYPE_SIZE_T
 
 # Checks for library functions.
-AC_FUNC_MALLOC
 AC_FUNC_MMAP
 AC_CHECK_FUNCS([bzero gettimeofday munmap sched_getcpu strtoul sysconf])
 
+# AC_FUNC_MALLOC causes problems when cross-compiling.
+#AC_FUNC_MALLOC
+
 # Find arch type
 AS_CASE([$host_cpu],
        [i386], [ARCHTYPE="x86" && SUBARCHTYPE="x86compat"],
This page took 0.022487 seconds and 4 git commands to generate.