From 870a1706483df2ec17c64d952692236dfcc3fd2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 11 Feb 2004 16:52:54 +0000 Subject: [PATCH] Check for sys/socket.h, net/if.h. Modify term.h, security/pam_appl.h tests. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13330 ec53bebd-3082-4978-b11e-865c3cabbd6b --- configure.in | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index e3ad5a3ea..20bdfda6d 100644 --- a/configure.in +++ b/configure.in @@ -259,7 +259,6 @@ AC_CHECK_HEADERS([\ pthread.h \ pty.h \ sac.h \ - security/pam_modules.h \ sgtty.h \ siad.h \ signal.h \ @@ -274,6 +273,7 @@ AC_CHECK_HEADERS([\ sys/ptyio.h \ sys/ptyvar.h \ sys/select.h \ + sys/socket.h \ sys/str_tty.h \ sys/stream.h \ sys/stropts.h \ @@ -283,7 +283,6 @@ AC_CHECK_HEADERS([\ sys/timeb.h \ sys/times.h \ sys/un.h \ - term.h \ termcap.h \ termio.h \ time.h \ @@ -293,6 +292,19 @@ AC_CHECK_HEADERS([\ utmpx.h \ ]) +dnl On Solaris 8 there's a compilation warning for term.h because +dnl it doesn't define `bool'. +AC_CHECK_HEADERS(term.h, , , -) + +AC_CHECK_HEADERS(net/if.h, , , [AC_INCLUDES_DEFAULT +#if HAVE_SYS_SOCKET_H +#include +#endif]) + +AC_CHECK_HEADERS(security/pam_modules.h, , , [AC_INCLUDES_DEFAULT +#include +]) + AC_ARG_ENABLE(netinfo, AC_HELP_STRING([--enable-netinfo],[enable netinfo for configuration lookup]))