summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 36c457728..b89d2fa25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.226 2004/08/16 13:12:06 dtucker Exp $ 1# $Id: configure.ac,v 1.227 2004/08/29 07:04:50 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -525,10 +525,17 @@ AC_CHECK_HEADERS(bstring.h crypt.h dirent.h endian.h features.h \
525 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ 525 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
526 strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \ 526 strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \
527 sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \ 527 sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \
528 sys/pstat.h sys/ptms.h sys/select.h sys/stat.h sys/stream.h \ 528 sys/pstat.h sys/select.h sys/stat.h sys/stream.h \
529 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \ 529 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \
530 time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h) 530 time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h)
531 531
532# sys/ptms.h requires sys/stream.h to be included first on Solaris
533AC_CHECK_HEADERS(sys/ptms.h, [], [], [
534#ifdef HAVE_SYS_STREAM_H
535# include <sys/stream.h>
536#endif
537])
538
532# Checks for libraries. 539# Checks for libraries.
533AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match)) 540AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match))
534AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt)) 541AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))