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:
parent
932e62bf45
commit
4a878425fc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue