Subject: pkg/24419: autofool doesn't like sys/mount.h
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <lha@netbsd.org>
List: netbsd-bugs
Date: 02/14/2004 05:29:03
>Number:         24419
>Category:       pkg
>Synopsis:       autofool doesn't like sys/mount.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 14 04:30:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Love
>Release:        NetBSD 1.6ZI
>Organization:
	
>Environment:
	
	
System: NetBSD nutcracker.stacken.kth.se 1.6ZI NetBSD 1.6ZI (NUTCRACKER) #47: Sat Feb 7 21:25:06 CET 2004 lha@nutcracker.stacken.kth.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
Architecture: i386
Machine: i386
>Description:

This is a note for jlam

configure: WARNING: sys/mount.h: present but cannot be compiled
configure: WARNING: sys/mount.h: check for missing prerequisite headers?
configure: WARNING: sys/mount.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##

	
>How-To-Repeat:

AC_CHECK_HEADERS([sys/mount.h])

>Fix:

AC_CHECK_HEADERS([sys/param.h])
AC_CHECK_HEADERS([sys/mount.h], , , [AC_INCLUDES_DEFAULT
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
])


also you might want to set AC_INIT to something sane like

AC_INIT(nbcompat, version-goes-here, [tech-pkg@netbsd.org])

>Release-Note:
>Audit-Trail:
>Unformatted: