summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0f38ccdf3f..6d85ad774e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,12 @@ AC_CHECK_HEADERS(
[AC_MSG_ERROR([*** POSIX header not found])]
)
+AC_CHECK_HEADERS(
+ [mtd/mtd-user.h],
+ [],
+ [AC_MSG_ERROR([*** KERNEL header not found])]
+)
+
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_UID_T
AC_C_INLINE