more complicated check for asl.h. From Tom Payerle.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24040 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-11-12 04:29:33 +00:00
parent 2767e8f372
commit 521aa55d0a

View File

@@ -216,7 +216,6 @@ AC_HEADER_STDC
AC_CHECK_HEADERS([\
arpa/ftp.h \
arpa/telnet.h \
asl.h \
bind/bitypes.h \
bsdsetjmp.h \
curses.h \
@@ -274,6 +273,13 @@ dnl On Solaris 8 there's a compilation warning for term.h because
dnl it doesn't define `bool'.
AC_CHECK_HEADERS(term.h, , , -)
dnl aix have asl.h (A/IX screen library) that we don't want
AC_CHECK_HEADERS(asl.h, , , [
#include <asl.h>
#ifndef ASL_STRING_EMERG
#error ASL_STRING_EMERG missing
#endif])
AC_CHECK_HEADERS(net/if.h, , , [AC_INCLUDES_DEFAULT
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>