Fix up a configure diagnostic when detecting attr/acl headers.

Merge of master-melb:xfs-cmds:25114a by kenmcd.
This commit is contained in:
Nathan Scott
2006-02-06 02:50:10 +00:00
parent 62f8947fac
commit 2164ebf911
3 changed files with 10 additions and 15 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ AC_DEFUN([AC_PACKAGE_NEED_SYS_ACL_H],
echo
echo 'FATAL ERROR: sys/acl.h does not exist.'
echo 'Install the access control lists (acl) development package.'
echo 'Alternatively, run "make install-lib" from the acl source.'
echo 'Alternatively, run "make install-dev" from the acl source.'
exit 1
fi
])
@@ -15,7 +15,7 @@ AC_DEFUN([AC_PACKAGE_NEED_ACL_LIBACL_H],
echo
echo 'FATAL ERROR: acl/libacl.h does not exist.'
echo 'Install the access control lists (acl) development package.'
echo 'Alternatively, run "make install-lib" from the acl source.'
echo 'Alternatively, run "make install-dev" from the acl source.'
exit 1
fi
])
+3 -8
View File
@@ -4,7 +4,7 @@ AC_DEFUN([AC_PACKAGE_NEED_ATTR_XATTR_H],
echo
echo 'FATAL ERROR: attr/xattr.h does not exist.'
echo 'Install the extended attributes (attr) development package.'
echo 'Alternatively, run "make install-lib" from the attr source.'
echo 'Alternatively, run "make install-dev" from the attr source.'
exit 1
fi
])
@@ -15,7 +15,7 @@ AC_DEFUN([AC_PACKAGE_NEED_ATTR_ERROR_H],
echo
echo 'FATAL ERROR: attr/error_context.h does not exist.'
echo 'Install the extended attributes (attr) development package.'
echo 'Alternatively, run "make install-lib" from the attr source.'
echo 'Alternatively, run "make install-dev" from the attr source.'
exit 1
fi
])
@@ -27,16 +27,11 @@ AC_DEFUN([AC_PACKAGE_NEED_ATTRIBUTES_H],
echo
echo 'FATAL ERROR: attributes.h does not exist.'
echo 'Install the extended attributes (attr) development package.'
echo 'Alternatively, run "make install-lib" from the attr source.'
echo 'Alternatively, run "make install-dev" from the attr source.'
exit 1
fi
])
AC_DEFUN([AC_PACKAGE_WANT_ATTRLIST_LIBATTR],
[ AC_CHECK_LIB(attr, attr_list, [have_attr_list=true], [have_attr_list=false])
AC_SUBST(have_attr_list)
])
AC_DEFUN([AC_PACKAGE_NEED_GETXATTR_LIBATTR],
[ AC_CHECK_LIB(attr, getxattr,, [
echo