- (dtucker) [configure.ac] Include sys/stream.h in sys/ptms.h header check,

fixes configure warning on Solaris reported by wknox at mitre.org.
This commit is contained in:
Darren Tucker 2004-08-29 17:04:50 +10:00
parent 0f56ed16b8
commit 48d99d36bb
2 changed files with 12 additions and 3 deletions

View File

@ -23,6 +23,8 @@
[sshd.c]
don't erroneously close stdin for !reexec case, from Dave Johnson;
ok markus@
- (dtucker) [configure.ac] Include sys/stream.h in sys/ptms.h header check,
fixes configure warning on Solaris reported by wknox at mitre.org.
20040828
- (dtucker) [openbsd-compat/mktemp.c] Remove superfluous Cygwin #ifdef; from
@ -1690,4 +1692,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3528 2004/08/29 06:38:41 dtucker Exp $
$Id: ChangeLog,v 1.3529 2004/08/29 07:04:50 dtucker Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.226 2004/08/16 13:12:06 dtucker Exp $
# $Id: configure.ac,v 1.227 2004/08/29 07:04:50 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -525,10 +525,17 @@ AC_CHECK_HEADERS(bstring.h crypt.h dirent.h endian.h features.h \
rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \
sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \
sys/pstat.h sys/ptms.h sys/select.h sys/stat.h sys/stream.h \
sys/pstat.h sys/select.h sys/stat.h sys/stream.h \
sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \
time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h)
# sys/ptms.h requires sys/stream.h to be included first on Solaris
AC_CHECK_HEADERS(sys/ptms.h, [], [], [
#ifdef HAVE_SYS_STREAM_H
# include <sys/stream.h>
#endif
])
# Checks for libraries.
AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match))
AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))