Use xfs.h rather than libxfs.h

Use xfs/xfs.h when possible rather than xfs/libxfs.h,
now that libxfs.h isn't part of a normal xfsprogs-devel
install.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Eric Sandeen
2009-05-28 11:36:27 -05:00
parent 84567e4977
commit 7a2ae4184b
9 changed files with 36 additions and 20 deletions
+10
View File
@@ -1,3 +1,13 @@
AC_DEFUN([AC_PACKAGE_NEED_XFS_XFS_H],
[ AC_CHECK_HEADERS([xfs/xfs.h])
if test "$ac_cv_header_xfs_xfs_h" != "yes"; then
echo
echo 'FATAL ERROR: cannot find a valid <xfs/xfs.h> header file.'
echo 'Run "make install-qa" from the xfsprogs source.'
exit 1
fi
])
AC_DEFUN([AC_PACKAGE_NEED_XFS_LIBXFS_H],
[ AC_CHECK_HEADERS([xfs/libxfs.h])
if test "$ac_cv_header_xfs_libxfs_h" != "yes"; then