Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@mono-cvs.ximian.com>2005-07-12 20:11:02 +0400
committerDaniel Drake <dsd@mono-cvs.ximian.com>2005-07-12 20:11:02 +0400
commitcb100cdce31f41914aab62331b3c4763791a15c5 (patch)
tree796e29a09613d75afb9f967f2d7347bafc2c93a6 /configure.in
parentaa3e8ca88d1dbfb5f58d99b04633d79eac27ed94 (diff)
2005-07-12 Daniel Drake <dsd@gentoo.org>
* configure.in: Add check for libattr's <attr/attr.h> svn path=/trunk/mono/; revision=47230
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0cf3c8a38f3..0359772691a 100644
--- a/configure.in
+++ b/configure.in
@@ -1154,6 +1154,7 @@ if test x$platform_win32 = xno; then
dnl **********************************
AC_CHECK_HEADERS(checklist.h)
AC_CHECK_HEADERS(fstab.h)
+ AC_CHECK_HEADERS(attr/xattr.h)
AC_CHECK_HEADERS(sys/extattr.h)
AC_CHECK_HEADERS(sys/sendfile.h)
AC_CHECK_HEADERS(sys/statvfs.h)
@@ -1186,6 +1187,12 @@ if test x$platform_win32 = xno; then
[#include <sys/types.h>
#include <dirent.h>])
+ dnl Favour xattr through glibc, but use libattr if we have to
+ AC_CHECK_FUNC(lsetxattr, ,
+ AC_CHECK_LIB(attr, lsetxattr, XATTR_LIB="-lattr",)
+ )
+ AC_SUBST(XATTR_LIB)
+
dnl *********************************
dnl *** Check for Console 2.0 I/O ***
dnl *********************************