]> andersk Git - openssh.git/commitdiff
- (dtucker) [configure.ac] Include sys/param.h for the sys/mount.h test,
authordtucker <dtucker>
Sun, 12 Jul 2009 11:56:29 +0000 (11:56 +0000)
committerdtucker <dtucker>
Sun, 12 Jul 2009 11:56:29 +0000 (11:56 +0000)
   prevents configure complaining on older BSDs.

ChangeLog
configure.ac

index 5e77f831546d443244b8c3ff68144ed6877849fe..635bbd435aa9a0a08a44abc8c88dd623f3e7e6db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
  - (dtucker) [contrib/cygwin/ssh-host-config] better support for automated
    scripts and fix usage of eval.  Patch from Corinna Vinschen.
index b6c70e6a050b89cb216c34789543b2b8f86882fa..4b065193427d99d39f4974fc83310dbb2ad70e98 100644 (file)
@@ -279,7 +279,6 @@ AC_CHECK_HEADERS( \
        sys/cdefs.h \
        sys/dir.h \
        sys/mman.h \
-       sys/mount.h \
        sys/ndir.h \
        sys/poll.h \
        sys/prctl.h \
@@ -326,6 +325,11 @@ AC_CHECK_HEADERS(login_cap.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
 SIA_MSG="no"
 SPC_MSG="no"
This page took 0.044784 seconds and 5 git commands to generate.