summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 8f7f5d2b7..e99d01602 100644
--- a/configure.in
+++ b/configure.in
@@ -14,6 +14,9 @@ AC_SUBST(PERL)
14AC_PATH_PROG(ENT, ent) 14AC_PATH_PROG(ENT, ent)
15AC_SUBST(ENT) 15AC_SUBST(ENT)
16AC_PATH_PROGS(FILEPRIV, filepriv, true, /sbin:/usr/sbin) 16AC_PATH_PROGS(FILEPRIV, filepriv, true, /sbin:/usr/sbin)
17AC_PATH_PROG(TEST_MINUS_S_SH, bash)
18AC_PATH_PROG(TEST_MINUS_S_SH, ksh)
19AC_PATH_PROG(TEST_MINUS_S_SH, sh)
17 20
18if test -z "$AR" ; then 21if test -z "$AR" ; then
19 AC_MSG_ERROR([*** 'ar' missing, please install or fix your \$PATH ***]) 22 AC_MSG_ERROR([*** 'ar' missing, please install or fix your \$PATH ***])
@@ -1079,14 +1082,18 @@ AC_ARG_WITH(egd-pool,
1079 if test -z "$RANDOM_POOL" ; then 1082 if test -z "$RANDOM_POOL" ; then
1080 AC_MSG_CHECKING(for PRNGD/EGD socket) 1083 AC_MSG_CHECKING(for PRNGD/EGD socket)
1081 # Insert other locations here 1084 # Insert other locations here
1082 for egdsock in /var/run/egd-pool /etc/entropy ; do 1085 for egdsock in /var/run/egd-pool /etc/entropy /tmp/entropy ; do
1083 if test -S $egdsock ; then 1086 if $TEST_MINUS_S_SH -c "test -S $egdsock -o -p $egdsock" ; then
1084 EGD_SOCKET="$egdsock" 1087 EGD_SOCKET="$egdsock"
1085 AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET") 1088 AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET")
1086 AC_MSG_RESULT($egdsock)
1087 break; 1089 break;
1088 fi 1090 fi
1089 done 1091 done
1092 if test -x "$EGD_SOCKET" ; then
1093 AC_MSG_RESULT($EGD_SOCKET)
1094 else
1095 AC_MSG_RESULT(not found)
1096 fi
1090 fi 1097 fi
1091 ] 1098 ]
1092) 1099)