- (djm) EGD detection patch from Tim Rice <tim@multitalents.net>
diff --git a/configure.in b/configure.in
index b1eb4d4..e611168 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.257 2001/02/27 21:14:22 djm Exp $
+# $Id: configure.in,v 1.258 2001/02/28 01:49:38 djm Exp $
AC_INIT(ssh.c)
@@ -1280,14 +1280,14 @@
if test -z "$RANDOM_POOL" ; then
AC_MSG_CHECKING(for PRNGD/EGD socket)
# Insert other locations here
- for egdsock in /var/run/egd-pool /etc/entropy /tmp/entropy ; do
+ for egdsock in /var/run/egd-pool /tmp/egd-pool /etc/entropy /tmp/entropy ; do
if test -r $egdsock && $TEST_MINUS_S_SH -c "test -S $egdsock -o -p $egdsock" ; then
EGD_SOCKET="$egdsock"
AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET")
break;
fi
done
- if test -x "$EGD_SOCKET" ; then
+ if test ! -z "$EGD_SOCKET" ; then
AC_MSG_RESULT($EGD_SOCKET)
else
AC_MSG_RESULT(not found)