summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-11-16 13:40:43 -0500
committerAnthony G. Basile <blueness@gentoo.org>2014-11-16 13:40:43 -0500
commit6740579367ddd2ce0b315863cdb92d34d1d693c7 (patch)
treee4aa6b091f2b49404f925809cc43df306eef2490 /configure.ac
parentd3ef837153dc1523d30cb160abfc35ab189d26fa (diff)
configure.ac: don't die on missing linux/btrfs.h, fixes issue #100
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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