Linux: autoconf.h is moving in 2.6.33
[openafs.git] / acinclude.m4
index ab229e1..9194de8 100644 (file)
@@ -364,7 +364,8 @@ case $system in
                      fi
                    fi
                 fi
-                if test ! -f "$LINUX_KERNEL_BUILD/include/linux/autoconf.h"; then
+                if test ! -f "$LINUX_KERNEL_BUILD/include/generated/autoconf.h" &&
+                   test ! -f "$LINUX_KERNEL_BUILD/include/linux/autoconf.h"; then
                     enable_kernel_module="no"
                 fi
                 if test "x$enable_kernel_module" = "xno"; then