summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index de1c7f582..d002a3386 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1i# $Id: configure.ac,v 1.13 2002/01/22 12:51:43 djm Exp $ 1i# $Id: configure.ac,v 1.14 2002/01/22 21:12:37 djm Exp $
2 2
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -915,10 +915,12 @@ AC_ARG_WITH(prngd-socket,
915 if test ! -z "$PRNGD_PORT" ; then 915 if test ! -z "$PRNGD_PORT" ; then
916 AC_MSG_ERROR(You may not specify both a PRNGD/EGD port and socket) 916 AC_MSG_ERROR(You may not specify both a PRNGD/EGD port and socket)
917 fi 917 fi
918 if ! echo "$withval" | grep -q '^/' ; then 918 if echo "$withval" | grep '^/' >/dev/null 2>&1 ; then
919 # Good
920 else
919 AC_MSG_ERROR(You must specify an absolute path to the entropy socket) 921 AC_MSG_ERROR(You must specify an absolute path to the entropy socket)
920 fi 922 fi
921 if ! test -r "$withval" ; then 923 if test ! -r "$withval" ; then
922 AC_MSG_WARN(Entropy socket is not readable) 924 AC_MSG_WARN(Entropy socket is not readable)
923 fi 925 fi
924 PRNGD_SOCKET="$withval" 926 PRNGD_SOCKET="$withval"