#undef RECALC_SIGPENDING_TAKES_VOID
#undef STRUCT_FS_HAS_FS_ROLLED
#undef ssize_t
-#undef HAVE_ARPA_NAMESER_COMPAT_H
/* glue for RedHat kernel bug */
#undef ENABLE_REDHAT_BUILDSYS
#if defined(ENABLE_REDHAT_BUILDSYS) && defined(KERNEL) && defined(REDHAT_FIX)
AC_CHECK_LINUX_FUNC([pagevec_lru_add_file],
[#include <linux/pagevec.h>],
[__pagevec_lru_add_file(NULL);])
+ AC_CHECK_LINUX_FUNC([path_lookup],
+ [#include <linux/namei.h>],
+ [path_lookup(NULL, 0, NULL);])
AC_CHECK_LINUX_FUNC([rcu_read_lock],
[#include <linux/rcupdate.h>],
[rcu_read_lock();])
AC_HEADER_SYS_WAIT
AC_HEADER_DIRENT
AC_CHECK_HEADERS([ \
+ arpa/inet.h \
+ arpa/nameser.h \
curses.h\
direct.h \
et/com_err.h \
netinet/in.h \
pwd.h \
regex.h \
+ resolv.h \
security/pam_modules.h \
signal.h \
stdint.h \
sys/statfs.h \
sys/statvfs.h \
sys/socket.h \
+ sys/sysctl.h \
sys/time.h \
sys/types.h \
+ sys/uio.h \
sys/un.h \
sys/vfs.h \
syslog.h \
AC_CHECK_FUNCS([ \
arc4random \
- flock \
+ fcntl \
fseeko64 \
ftello64 \
getcwd \
sigaction \
strcasestr \
strerror \
+ sysconf \
+ sysctl \
timegm \
])
AC_CHECK_FUNCS([ \
chown \
fchown \
- getdtablesize \
gethostname \
gettimeofday \
localtime_r \
erealloc \
err \
errx \
+ flock \
+ getdtablesize \
getopt \
getprogname \
mkstemp \