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]))