echo
echo 'FATAL ERROR: could not find a valid XFS library header.'
echo 'Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.'
+ echo 'Alternatively, run "make install-dev" from the xfsprogs source.'
exit 1
])
AC_CHECK_LIB(xfs, libxfs_init,, [
echo
echo 'FATAL ERROR: could not find a valid XFS base library.'
echo 'Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.'
+ echo 'Alternatively, run "make install-dev" from the xfsprogs source.'
exit 1
])
AC_CHECK_HEADER(xfs/handle.h,, [
echo
echo 'FATAL ERROR: could not find a valid XFS handle header.'
echo 'Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.'
+ echo 'Alternatively, run "make install-dev" from the xfsprogs source.'
exit 1
])
AC_CHECK_LIB(handle, path_to_handle,, [
echo
echo 'FATAL ERROR: could not find a valid XFS handle library.'
echo 'Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.'
+ echo 'Alternatively, run "make install-dev" from the xfsprogs source.'
exit 1
])
libxfs="-lxfs"
echo
echo 'FATAL ERROR: could not find a valid Extended Attributes header.'
echo 'Install either the attr-devel (rpm) or the attr-dev (deb) package.'
+ echo 'Alternatively, run "make install-dev" from the attr source.'
exit 1
])
AC_CHECK_LIB(attr, attr_get,, [
echo
echo 'FATAL ERROR: could not find a valid Extended Attributes library.'
echo 'Install either the attr-devel (rpm) or the attr-dev (deb) package.'
+ echo 'Alternatively, run "make install-dev" from the attr source.'
exit 1
])
libattr="-lattr"
echo
echo 'FATAL ERROR: could not find a valid Access Control List header.'
echo 'Install either the acl-devel (rpm) or the acl-dev (deb) package.'
+ echo 'Alternatively, run "make install-dev" from the acl source.'
exit 1
])
-AC_CHECK_LIB(acl, acl_get,, [
+AC_CHECK_LIB(acl, acl_init,, [
echo
echo 'FATAL ERROR: could not find a valid Access Control List library.'
echo 'Install either the acl-devel (rpm) or the acl-dev (deb) package.'
+ echo 'Alternatively, run "make install-dev" from the acl source.'
exit 1
])
libacl="-lacl"