[configure.ac] fix libc89 utimes test. Mention default path for

--with-privsep-path=
This commit is contained in:
Tim Rice 2002-07-08 19:17:10 -07:00
parent 2d0bf3dcfd
commit cbb9066d2d
2 changed files with 7 additions and 4 deletions

View File

@ -2,6 +2,8 @@
- (tim) [openssh/contrib/solaris/buildpkg.sh] add PKG_INSTALL_ROOT to
work in a jumpstart environment. patch by kbrint@rufus.net
- (tim) [Makefile.in] workaround for broken pakadd on some systems.
- (tim) [configure.ac] fix libc89 utimes test. Mention default path for
--with-privsep-path=
20020707
- (tim) [Makefile.in] use umask instead of chmod on $(PRIVSEP_PATH)
@ -1314,4 +1316,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2350 2002/07/09 02:10:05 tim Exp $
$Id: ChangeLog,v 1.2351 2002/07/09 02:17:10 tim Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.75 2002/07/07 20:43:36 tim Exp $
# $Id: configure.ac,v 1.76 2002/07/09 02:17:10 tim Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@ -424,7 +424,8 @@ AC_CHECK_FUNC(strcasecmp,
[], [ AC_CHECK_LIB(resolv, strcasecmp, LIBS="$LIBS -lresolv") ]
)
AC_CHECK_FUNC(utimes,
[], [ AC_CHECK_LIB(c89, utimes, LIBS="$LIBS -lc89") ]
[], [ AC_CHECK_LIB(c89, utimes, [AC_DEFINE(HAVE_UTIMES)
LIBS="$LIBS -lc89"]) ]
)
dnl Checks for libutil functions
@ -1825,7 +1826,7 @@ LIBS="$LIBS $KLIBS $K5LIBS"
PRIVSEP_PATH=/var/empty
AC_ARG_WITH(privsep-path,
[ --with-privsep-path=xxx Path for privilege separation chroot ],
[ --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)],
[
if test "x$withval" != "$no" ; then
PRIVSEP_PATH=$withval