mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* acinclude.m4 (MC_UNDELFS_CHECKS): Check for ext2_ino_t,
fallback to ino_t for e2fsprogs version 1.19 and older.
This commit is contained in:
parent
9d4e2fcd1c
commit
d85bffa7b2
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-14 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* acinclude.m4 (MC_UNDELFS_CHECKS): Check for ext2_ino_t,
|
||||||
|
fallback to ino_t for e2fsprogs version 1.19 and older.
|
||||||
|
|
||||||
2001-10-30 Pavel Roskin <proski@gnu.org>
|
2001-10-30 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* lib/mc.ext.in: Add support for Netpbm files.
|
* lib/mc.ext.in: Add support for Netpbm files.
|
||||||
|
11
acinclude.m4
11
acinclude.m4
@ -18,6 +18,17 @@ AC_DEFUN([MC_UNDELFS_CHECKS], [
|
|||||||
[Define to enable undelete support on ext2])
|
[Define to enable undelete support on ext2])
|
||||||
ext2fs_undel=yes
|
ext2fs_undel=yes
|
||||||
EXT2FS_UNDEL_LIBS="-lext2fs -lcom_err"
|
EXT2FS_UNDEL_LIBS="-lext2fs -lcom_err"
|
||||||
|
AC_CHECK_TYPE(ext2_ino_t, ,
|
||||||
|
[AC_DEFINE(ext2_ino_t, ino_t,
|
||||||
|
[Define to ino_t if undefined.])],
|
||||||
|
[#include <errno.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
/* asm/types.h defines its own umode_t :-( */
|
||||||
|
#undef umode_t
|
||||||
|
#include <linux/ext2_fs.h>
|
||||||
|
#include <ext2fs/ext2fs.h>])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user