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 #4master
parent
15e5f648a8
commit
84264657fb
|
@ -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])])
|
||||
|
|
Loading…
Reference in New Issue