small patch for configure.in

Tim Rice tim at multitalents.net
Wed Feb 28 12:40:25 EST 2001


a small fix for the PRNG/EGD section

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net

-------------- next part --------------
--- openssh_cvs/configure.in.old	Tue Feb 27 12:56:06 2001
+++ openssh_cvs/configure.in	Tue Feb 27 16:54:48 2001
@@ -5,6 +5,7 @@
 AC_CONFIG_HEADER(config.h)
 AC_PROG_CC
 AC_CANONICAL_HOST
+AC_C_BIGENDIAN
 
 # Checks for programs.
 AC_PROG_CPP
@@ -1279,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 -n "$EGD_SOCKET" ; then
 				AC_MSG_RESULT($EGD_SOCKET)
 			else
 				AC_MSG_RESULT(not found)


More information about the openssh-unix-dev mailing list