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>
This commit is contained in:
Anthony G. Basile 2013-09-26 11:31:01 -04:00
parent 25aa98f285
commit e27fa9c2e7

View File

@ -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