Linux: 2.6.39: deal with BKL removal
[openafs.git] / acinclude.m4
index a58f396..6ed38ed 100644 (file)
@@ -1224,6 +1224,7 @@ AC_CHECK_HEADERS([ \
                   ncurses.h \
                   netdb.h \
                   netinet/in.h \
+                  pwd.h \
                   regex.h \
                   security/pam_modules.h \
                   signal.h \
@@ -1249,6 +1250,7 @@ AC_CHECK_HEADERS([ \
                   sys/statfs.h \
                   sys/statvfs.h \
                   sys/socket.h \
+                  sys/sysctl.h \
                   sys/time.h \
                   sys/types.h \
                   sys/un.h \
@@ -1340,6 +1342,8 @@ AC_CHECK_FUNCS([ \
        sigaction \
        strcasestr \
        strerror \
+       sysconf \
+       sysctl \
        timegm \
 ])
 
@@ -1351,7 +1355,6 @@ dnl haven't found a need for yet, and so haven't imported
 AC_CHECK_FUNCS([ \
        chown \
        fchown \
-       getdtablesize \
        gethostname \
        gettimeofday \
        localtime_r \
@@ -1384,6 +1387,7 @@ AC_REPLACE_FUNCS([ \
        erealloc \
        err \
        errx \
+       getdtablesize \
        getopt \
        getprogname \
        mkstemp \