summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-01-24 15:27:30 +0000
committerBenny Prijono <bennylp@teluu.com>2008-01-24 15:27:30 +0000
commit83e87b76edf4c5c5819a0d08ba1ba0897bec10c7 (patch)
tree79b6644c7d0205458a844603f9fad937833a5032 /aconfigure.ac
parent6b80575da6571096086b911a8462417b1f54e685 (diff)
More ticket #61: SRTP will try to use /dev/urandom as RNG if fcntl.h and unistd.h is present. If it fails, it will fallback to using rand()
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1738 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 011fa1d0..15a86817 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -138,6 +138,7 @@ case $target in
;;
esac
+AC_CHECK_HEADER(fcntl.h,[AC_DEFINE(PJ_HAS_FCNTL_H,1)])
AC_CHECK_HEADER(linux/socket.h,[AC_DEFINE(PJ_HAS_LINUX_SOCKET_H,1)])
AC_CHECK_HEADER(malloc.h,[AC_DEFINE(PJ_HAS_MALLOC_H,1)])
AC_CHECK_HEADER(netdb.h,[AC_DEFINE(PJ_HAS_NETDB_H,1)])