Revision 16767,
672 bytes
checked in by ghudson, 23 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r16766,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
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. |
---|
6 | |
---|
7 | AC_DEFUN([GNOME_UNDELFS_CHECKS], [ |
---|
8 | ext2fs_undel=no |
---|
9 | EXT2FS_UNDEL_LIBS= |
---|
10 | AC_CHECK_HEADERS(linux/ext2_fs.h) |
---|
11 | if test x$ac_cv_header_linux_ext2_fs_h = xyes |
---|
12 | then |
---|
13 | AC_CHECK_HEADERS(ext2fs/ext2fs.h, , , [#include <stdio.h> |
---|
14 | #include <linux/ext2_fs.h>]) |
---|
15 | if test x$ac_cv_header_ext2fs_ext2fs_h = xyes |
---|
16 | then |
---|
17 | AC_DEFINE(USE_EXT2FSLIB) |
---|
18 | ext2fs_undel=yes |
---|
19 | EXT2FS_UNDEL_LIBS="-lext2fs -lcom_err" |
---|
20 | fi |
---|
21 | fi |
---|
22 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.