Remove AC_FUNC_MALLOC, which may break C++ build

This commit is contained in:
Tatsuhiro Tsujikawa 2015-07-07 21:13:46 +09:00
parent d10228cdf7
commit 580c1f3af3
1 changed files with 3 additions and 3 deletions

View File

@ -559,9 +559,9 @@ AC_CHECK_SIZEOF([int *])
AC_CHECK_SIZEOF([time_t]) AC_CHECK_SIZEOF([time_t])
# Checks for library functions. # Checks for library functions.
if test "x$cross_compiling" != "xyes"; then
AC_FUNC_MALLOC # Don't check malloc, since it does not play nicely with C++ stdlib
fi # AC_FUNC_MALLOC
AC_FUNC_CHOWN AC_FUNC_CHOWN
AC_FUNC_ERROR_AT_LINE AC_FUNC_ERROR_AT_LINE