Software /
code /
prosody
Comparison
configure @ 8448:f516a52f19e8
util.crand: Make it possible to use arc4random on Linux (needs libbsd)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 03 Dec 2017 15:21:12 +0100 |
parent | 8284:22460456c3a3 |
child | 9417:f5a471303e6a |
comparison
equal
deleted
inserted
replaced
8447:200f4f1b7833 | 8448:f516a52f19e8 |
---|---|
526 | 526 |
527 OPENSSL_LIBS="-l$OPENSSL_LIB" | 527 OPENSSL_LIBS="-l$OPENSSL_LIB" |
528 | 528 |
529 if [ "$PRNG" = "OPENSSL" ]; then | 529 if [ "$PRNG" = "OPENSSL" ]; then |
530 PRNGLIBS=$OPENSSL_LIBS | 530 PRNGLIBS=$OPENSSL_LIBS |
531 elif [ "$PRNG" = "ARC4RANDOM" -a "$(uname)" = "Linux" ]; then | |
532 PRNGLIBS="-lbsd" | |
531 fi | 533 fi |
532 | 534 |
533 # Write config | 535 # Write config |
534 | 536 |
535 echo "Writing configuration..." | 537 echo "Writing configuration..." |