summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a3747f9040..dbca833f6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,11 +49,17 @@ AC_CHECK_HEADERS(
)
AC_CHECK_HEADERS(
- [linux/btrfs.h mtd/mtd-user.h],
+ [mtd/mtd-user.h],
[],
[AC_MSG_ERROR([*** KERNEL header not found])]
)
+AC_CHECK_HEADERS(
+ [linux/btrfs.h],
+ [],
+ [AC_MSG_WARN([*** KERNEL header not found])]
+)
+
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_UID_T
AC_C_INLINE