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
This commit is contained in:
Love Hörnquist Åstrand
2004-02-11 16:52:54 +00:00
parent 0128031661
commit 870a170648

View File

@@ -259,7 +259,6 @@ AC_CHECK_HEADERS([\
pthread.h \ pthread.h \
pty.h \ pty.h \
sac.h \ sac.h \
security/pam_modules.h \
sgtty.h \ sgtty.h \
siad.h \ siad.h \
signal.h \ signal.h \
@@ -274,6 +273,7 @@ AC_CHECK_HEADERS([\
sys/ptyio.h \ sys/ptyio.h \
sys/ptyvar.h \ sys/ptyvar.h \
sys/select.h \ sys/select.h \
sys/socket.h \
sys/str_tty.h \ sys/str_tty.h \
sys/stream.h \ sys/stream.h \
sys/stropts.h \ sys/stropts.h \
@@ -283,7 +283,6 @@ AC_CHECK_HEADERS([\
sys/timeb.h \ sys/timeb.h \
sys/times.h \ sys/times.h \
sys/un.h \ sys/un.h \
term.h \
termcap.h \ termcap.h \
termio.h \ termio.h \
time.h \ time.h \
@@ -293,6 +292,19 @@ AC_CHECK_HEADERS([\
utmpx.h \ 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 <sys/socket.h>
#endif])
AC_CHECK_HEADERS(security/pam_modules.h, , , [AC_INCLUDES_DEFAULT
#include <security/pam_appl.h>
])
AC_ARG_ENABLE(netinfo, AC_ARG_ENABLE(netinfo,
AC_HELP_STRING([--enable-netinfo],[enable netinfo for configuration lookup])) AC_HELP_STRING([--enable-netinfo],[enable netinfo for configuration lookup]))