X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=configure.in;h=3788737049e9edfe9a492949e03fc264e5f6f2d8;hp=57b2a090601942a72b0271b78b1e1c8055787eea;hb=cca7148b36e60b4671518602ff9a7c2d0c22a7b2;hpb=0556ca2241619d3aded24726dfe34a511da39d52 diff --git a/configure.in b/configure.in index 57b2a09..3788737 100644 --- a/configure.in +++ b/configure.in @@ -393,6 +393,14 @@ if test "$ext2fs_h" = no -o "$ext2fs_lib" = no; then AC_MSG_ERROR(You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs) fi +dnl +dnl Check for ext2fs_read_inode_full +dnl +AC_CHECK_LIB(ext2fs, ext2fs_read_inode_full, [rif=yes], [rif=no], [-lcom_err]) +if test "$rif" = yes; then + AC_DEFINE([HAVE_EXT2FS_READ_INODE_FULL],1,[Define this if your ext2fs libs have the ext2fs_read_inode_full function.]) +fi + dnl dnl Try to use ext2_fs.h header from libext2fs instead of from the kernel dnl