summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-09-26 11:31:01 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-09-26 11:31:01 -0400
commite27fa9c2e75ba098430b7a8200dd99eb8438099a (patch)
tree6841177875ae92bdbd416c520bc75e1cd205c08d /configure.ac
parent25aa98f285b966c6b230e66b0ad0cc8e5c566d37 (diff)
configure.ac: add header check for mtd/mtd-user.h
This addresses https://github.com/gentoo/eudev/issues/73 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'configure.ac')
-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