diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-01 18:56:31 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-01 18:56:31 +0000 |
commit | fd7772aad8a2e63baf8960af39ce485cea8158b1 (patch) | |
tree | 2964917a1141d8c4d25927f561a073b183ea1a42 /configure | |
parent | cd6de7204adcbf9d116bf8a59c9d4832b141311c (diff) |
Don't look for /dev/urandom when cross compiling. Just assume it is not available.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77875 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 77864 . +# From configure.ac Revision: 77866 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61. # @@ -15454,7 +15454,9 @@ fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext -{ echo "$as_me:$LINENO: checking for /dev/urandom" >&5 +if test "${cross_compiling}" = "no"; +then + { echo "$as_me:$LINENO: checking for /dev/urandom" >&5 echo $ECHO_N "checking for /dev/urandom... $ECHO_C" >&6; } if test "${ac_cv_file__dev_urandom+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15479,6 +15481,7 @@ _ACEOF fi +fi if test "x${PBX_PTHREAD_RWLOCK_INITIALIZER}" != "x1" -a "${USE_PTHREAD_RWLOCK_INITIALIZER}" != "no"; then |