check_linux_ext2fs.m4 411 B

1234567891011121314151617
  1. # CHECK_LINUX_EXT2FS
  2. # ---------------------------
  3. AC_DEFUN([CHECK_LINUX_EXT2FS],
  4. [AC_REQUIRE([AC_CANONICAL_TARGET])
  5. case $target_os in
  6. linux*)
  7. AC_CHECK_HEADER(ext2fs/ext2_fs.h,
  8. AC_DEFINE([HAVE_EXT2FS_EXT2_FS_H], [1],
  9. [Define to 1 if you have the <ext2fs/ext2_fs.h> header file.]),
  10. AC_MSG_ERROR([*** ext2fs/ext2_fs.h missing ***]))
  11. ;;
  12. esac
  13. AC_SUBST([HAVE_EXT2FS_EXT2_FS_H])
  14. ])# CHECK_LINUX_EXT2FS