Use normal function check instead of AC_FUNC_MALLOC as we never call it

to allocate zero bytes.
AC_FUNC_MALLOC cannot be tested wile cross-compiling and its default 
behaviour disturbs subsequent tests.


git-svn-id: http://voip.null.ro/svn/yate@2680 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2009-06-03 12:34:07 +00:00
parent 932e62bf45
commit 4a878425fc
1 changed files with 1 additions and 2 deletions

View File

@ -90,9 +90,8 @@ AC_C_INLINE
AC_HEADER_TIME
# Checks for library functions.
AC_FUNC_MALLOC
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([gettimeofday inet_ntoa memmove strerror], , [AC_MSG_ERROR([This function is required.])])
AC_CHECK_FUNCS([malloc gettimeofday inet_ntoa memmove strerror], , [AC_MSG_ERROR([This function is required.])])
AC_CACHE_SAVE