diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-08-29 17:04:50 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-08-29 17:04:50 +1000 |
commit | 48d99d36bb427f6c43cfe8d8e7d8a457897dfd53 (patch) | |
tree | b217c6c5f2b2456e8ad6e9e629dbd236e4edfe68 /configure.ac | |
parent | 0f56ed16b8e463e16c3a8f78544943a9e6f8ea1f (diff) |
- (dtucker) [configure.ac] Include sys/stream.h in sys/ptms.h header check,
fixes configure warning on Solaris reported by wknox at mitre.org.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 36c45772..b89d2fa2 100644 --- a/configure.ac +++ b/configure.ac @@ -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)) |