1 dnl GNOME_UNDELFS_CHECKS
2 dnl Check for ext2fs undel support.
3 dnl Set shell variable ext2fs_undel to "yes" if we have it,
4 dnl "no" otherwise. May define USE_EXT2FSLIB for cpp.
5 dnl Will set EXT2FS_UNDEL_LIBS to required libraries.
7 AC_DEFUN([GNOME_UNDELFS_CHECKS], [
8 AC_CHECK_HEADERS(ext2fs/ext2fs.h linux/ext2_fs.h)
11 if test x$ac_cv_header_ext2fs_ext2fs_h = xyes
13 if test x$ac_cv_header_linux_ext2_fs_h = xyes
15 AC_DEFINE(USE_EXT2FSLIB)
17 EXT2FS_UNDEL_LIBS="-lext2fs -lcom_err"