X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=acinclude.m4;h=eb158ed63873b798630447d3b31c034965c7450b;hp=6b3491122289c01024d14ca30ba31d2127948a57;hb=80df5096e7179ab9c7562614180e2e90c083ff7c;hpb=8180f9abbfc79731e1557dbd78b26ecba81611d7 diff --git a/acinclude.m4 b/acinclude.m4 index 6b34911..eb158ed 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1230,12 +1230,11 @@ AC_CHECK_HEADERS([ \ ncurses.h \ net/if.h \ netdb.h \ - netinet/if_ether.h \ netinet/in.h \ pwd.h \ regex.h \ resolv.h \ - security/pam_modules.h \ + security/pam_appl.h \ signal.h \ stdint.h \ stdio_ext.h \ @@ -1276,6 +1275,14 @@ AC_CHECK_HEADERS([ \ unistd.h \ windows.h \ ]) +AC_CHECK_HEADERS([netinet/if_ether.h],[],[],[AC_INCLUDES_DEFAULT +#ifdef HAVE_NET_IF_H +# include +#endif]) +AC_CHECK_HEADERS([security/pam_modules.h],[],[],[AC_INCLUDES_DEFAULT +#ifdef HAVE_SECURITY_PAM_APPL_H +# include +#endif]) AC_CHECK_HEADERS(linux/errqueue.h,,,[#include ])