mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Remove compile time check HAVE_DEV_URANDOM.
The code was doing a runtime check, anyway. The compile time check isn't always valid (cross-compiling, packages). Review: https://reviewboard.asterisk.org/r/2245/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -719,11 +719,6 @@ AC_DEFINE([HAVE_SYS_ENDIAN_BSWAP16], 1, [Define to 1 if your sys/endian.h header
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
|
||||
if test "${cross_compiling}" = "no";
|
||||
then
|
||||
AC_CHECK_FILE(/dev/urandom, AC_DEFINE([HAVE_DEV_URANDOM], 1, [Define to 1 if your system has /dev/urandom.]))
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for locale_t in locale.h)
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM([#include <locale.h>], [locale_t lt = NULL])],
|
||||
|
Reference in New Issue
Block a user