mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
Make the probe for RNG sources at runtime since the configure script isn't
compatible with cross-compiling. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@744 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
e4b2a47bb1
commit
c22a0c12e4
4 changed files with 65 additions and 65 deletions
20
configure.ac
20
configure.ac
|
|
@ -396,26 +396,6 @@ AC_SUBST(LIRC_CFLAGS)
|
|||
AC_SUBST(LIRC_LIBS)
|
||||
AM_CONDITIONAL([HAVE_LIRC], [test "x$HAVE_LIRC" = x1])
|
||||
|
||||
### /dev/random ###
|
||||
|
||||
AC_MSG_CHECKING([whether a random device is available])
|
||||
|
||||
rnd="no"
|
||||
|
||||
if test -e /dev/urandom ; then
|
||||
rnd=/dev/urandom
|
||||
else
|
||||
if test -e /dev/random ; then
|
||||
rnd=/dev/random
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$rnd" != "no" ; then
|
||||
AC_DEFINE_UNQUOTED([RANDOM_DEVICE], ["$rnd"], [Random device])
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([$rnd])
|
||||
|
||||
###################################
|
||||
# Output #
|
||||
###################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue