Remove AC_FUNC_MALLOC from configure.ac

Removing AC_FUNC_MALLOC from configure.ac, to allow compilation
on BG/P systems.  This check can fail in cross-compilation environments,
which unnecessarily forces autoconf to require an rpl_malloc()
replacement for malloc().  We could implement the conditional addition
of rpl_malloc(), but removing AC_FUNC_MALLOC is a quite work-around.

fixes #4
master
Christopher J. Morrone 2012-09-10 10:51:04 -07:00
parent 15e5f648a8
commit 84264657fb
1 changed files with 0 additions and 1 deletions

View File

@ -26,7 +26,6 @@ AC_CHECK_HEADERS([fcntl.h libintl.h stdlib.h string.h strings.h sys/ioctl.h sys/
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([getpagesize gettimeofday memset mkdir pow putenv realpath regcomp sqrt strcasecmp strchr strerror strncasecmp strstr uname])
AC_SEARCH_LIBS([sqrt], [m], [],
[AC_MSG_ERROR([Math library not found])])