SunOS 4.1.4 "configure: WARNING" for sys/audit.h and sys/dir.h

Tim Rice tim at multitalents.net
Sat Jul 1 06:10:42 EST 2006


On Fri, 30 Jun 2006, Tim Rice wrote:

> On Fri, 30 Jun 2006, Darren Tucker wrote:
> 
> > On Thu, Jun 29, 2006 at 09:05:12AM -0700, Russell Ruby wrote:
> > >     429 *-*-sunos4*)
> > >     430         CPPFLAGS="$CPPFLAGS -DSUNOS4"
> > >     431         AC_CHECK_FUNCS(getpwanam)
> > >     432         AC_DEFINE(PAM_SUN_CODEBASE)
> > > + add this +	AC_DEFINE(HAVE_SYS_TYPES_H)
> > 
> > That's odd, <sys/types.h> is one of the first tests autoconf does so it
> > should already be defined.  Do you see "checking for sys/types.h..." near
> > the start of the configure output?
> 
> Hmm, something strange going on with our configure
> ....
> tim at sun2 3% grep SYS_TYPE config.h
> /* #undef HAVE_SYS_TYPES_H */
> tim at sun2 4% ls -l /usr/include/sys/types.h
> -rw-r--r--   1 root     bin        15840 Nov 19  2003 /usr/include/sys/types.h
> tim at sun2 5% uname -a
> SunOS sun2 5.8 Generic_117350-31 sun4u sparc SUNW,Ultra-2
> tim at sun2 6% pwd
> /usr/local/src/networking/openssh
> ....

If I generate configure with autoconf 2.60 it seems define HAVE_SYS_TYPES_H
as it should my Solaris & UnixWare boxes.

Russell, Try http://www.multitalents.net/openssh/configure-1.343.gz and
see if that helps on your Sun OS box.
 
> 
> 

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list