From bc3b4c07966f6d5abaa22572c3ae00bad22c7368 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 9 Jul 2000 18:09:22 +0000 Subject: [PATCH] bring headers and functions more in-line with what's actually being used git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8631 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/configure.in | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/lib/roken/configure.in b/lib/roken/configure.in index 00fbed3f1..784951764 100644 --- a/lib/roken/configure.in +++ b/lib/roken/configure.in @@ -59,22 +59,23 @@ if test "$berkeley_db"; then fi AC_CHECK_HEADERS([\ - arpa/nameser.h \ arpa/inet.h \ + arpa/nameser.h \ config.h \ crypt.h \ dbm.h \ db.h \ + dirent.h \ errno.h \ err.h \ - dirent.h \ fcntl.h \ - fnmatch.h \ grp.h \ ndbm.h \ netdb.h \ netinet/in.h \ + netinet/in6.h \ netinet/in_systm.h \ + netinet6/in6.h \ paths.h \ pwd.h \ resolv.h \ @@ -184,6 +185,12 @@ AC_CHECK_FUNCS([ \ asnprintf \ asprintf \ cgetent \ + getconfattr \ + getrlimit \ + getspnam \ + sysconf \ + sysctl \ + uname \ vasnprintf \ vasprintf \ ]) @@ -194,6 +201,23 @@ fi AC_FUNC_GETLOGIN +AC_FIND_FUNC_NO_LIBS(getsockopt,, +[#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif], +[0,0,0,0,0]) +AC_FIND_FUNC_NO_LIBS(setsockopt,, +[#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif], +[0,0,0,0,0]) + AC_FIND_IF_NOT_BROKEN(hstrerror, resolv, [#ifdef HAVE_NETDB_H #include