- (djm) Fix non-standard shell syntax in autoconf. Patch from

Dave Dykstra <dwd@bell-labs.com>
This commit is contained in:
Damien Miller 2002-01-23 08:12:36 +11:00
parent ec52d7c093
commit 6385ba0228
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
20020123
- (djm) Fix non-standard shell syntax in autoconf. Patch from
Dave Dykstra <dwd@bell-labs.com>
20020122 20020122
- (djm) autoconf hacking: - (djm) autoconf hacking:
- We don't support --without-zlib currently, so don't allow it. - We don't support --without-zlib currently, so don't allow it.
@ -7378,4 +7382,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1789 2002/01/22 12:52:17 djm Exp $ $Id: ChangeLog,v 1.1790 2002/01/22 21:12:36 djm Exp $

View File

@ -1,4 +1,4 @@
i# $Id: configure.ac,v 1.13 2002/01/22 12:51:43 djm Exp $ i# $Id: configure.ac,v 1.14 2002/01/22 21:12:37 djm Exp $
AC_INIT AC_INIT
AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_SRCDIR([ssh.c])
@ -915,10 +915,12 @@ AC_ARG_WITH(prngd-socket,
if test ! -z "$PRNGD_PORT" ; then if test ! -z "$PRNGD_PORT" ; then
AC_MSG_ERROR(You may not specify both a PRNGD/EGD port and socket) AC_MSG_ERROR(You may not specify both a PRNGD/EGD port and socket)
fi fi
if ! echo "$withval" | grep -q '^/' ; then if echo "$withval" | grep '^/' >/dev/null 2>&1 ; then
# Good
else
AC_MSG_ERROR(You must specify an absolute path to the entropy socket) AC_MSG_ERROR(You must specify an absolute path to the entropy socket)
fi fi
if ! test -r "$withval" ; then if test ! -r "$withval" ; then
AC_MSG_WARN(Entropy socket is not readable) AC_MSG_WARN(Entropy socket is not readable)
fi fi
PRNGD_SOCKET="$withval" PRNGD_SOCKET="$withval"