- (dtucker) [configure.ac] Include sys/param.h for the sys/mount.h test,

prevents configure complaining on older BSDs.
This commit is contained in:
Darren Tucker 2009-07-12 21:56:29 +10:00
parent 4d4fdc0f7d
commit c4b22ca1c8
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,7 @@
20090712
- (dtucker) [configure.ac] Include sys/param.h for the sys/mount.h test,
prevents configure complaining on older BSDs.
20090707 20090707
- (dtucker) [contrib/cygwin/ssh-host-config] better support for automated - (dtucker) [contrib/cygwin/ssh-host-config] better support for automated
scripts and fix usage of eval. Patch from Corinna Vinschen. scripts and fix usage of eval. Patch from Corinna Vinschen.

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.420 2009/06/16 06:11:02 dtucker Exp $ # $Id: configure.ac,v 1.421 2009/07/12 11:56:29 dtucker Exp $
# #
# Copyright (c) 1999-2004 Damien Miller # Copyright (c) 1999-2004 Damien Miller
# #
@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
AC_REVISION($Revision: 1.420 $) AC_REVISION($Revision: 1.421 $)
AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_SRCDIR([ssh.c])
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(config.h)
@ -279,7 +279,6 @@ AC_CHECK_HEADERS( \
sys/cdefs.h \ sys/cdefs.h \
sys/dir.h \ sys/dir.h \
sys/mman.h \ sys/mman.h \
sys/mount.h \
sys/ndir.h \ sys/ndir.h \
sys/poll.h \ sys/poll.h \
sys/prctl.h \ sys/prctl.h \
@ -326,6 +325,11 @@ AC_CHECK_HEADERS(login_cap.h, [], [], [
#include <sys/types.h> #include <sys/types.h>
]) ])
# older BSDs need sys/param.h before sys/mount.h
AC_CHECK_HEADERS(sys/mount.h, [], [], [
#include <sys/param.h>
])
# Messages for features tested for in target-specific section # Messages for features tested for in target-specific section
SIA_MSG="no" SIA_MSG="no"
SPC_MSG="no" SPC_MSG="no"