[ostree] build: Check for attr/xattr.h



commit fbaf32f7761d98a522e9d48820993f9a6585a293
Author: Colin Walters <walters verbum org>
Date:   Mon Feb 20 13:59:52 2012 -0500

    build: Check for attr/xattr.h

 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bce1a45..c976a11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,8 @@ AC_SUBST(WARN_CFLAGS)
 LT_PREREQ([2.2.4])
 LT_INIT([disable-static])
 
+AC_CHECK_HEADER([attr/xattr.h],,[AC_MSG_ERROR([You must have attr/xattr.h from libattr])])
+
 PKG_PROG_PKG_CONFIG
 
 GIO_DEPENDENCY="gio-unix-2.0 >= 2.28"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]