Fix: remove AC_FUNC_MALLOC from configure.ac
[urcu.git] / configure.ac
index eb54f4eb78f692f346b147a455fce330b5420638..6a481e368e9f31a802d0c1507b50a98573964bf1 100644 (file)
@@ -84,7 +84,6 @@ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 CC="$PTHREAD_CC"
 
 # Checks for library functions.
-AC_FUNC_MALLOC
 AC_FUNC_MMAP
 AC_FUNC_FORK
 AC_CHECK_FUNCS([ \
@@ -101,6 +100,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.022552 seconds and 4 git commands to generate.