aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-undelfs.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-undelfs.m4')
-rw-r--r--macros/gnome-undelfs.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/gnome-undelfs.m4 b/macros/gnome-undelfs.m4
new file mode 100644
index 0000000000..c8ea6f4bac
--- /dev/null
+++ b/macros/gnome-undelfs.m4
@@ -0,0 +1,20 @@
+dnl GNOME_UNDELFS_CHECKS
+dnl Check for ext2fs undel support.
+dnl Set shell variable ext2fs_undel to "yes" if we have it,
+dnl "no" otherwise. May define USE_EXT2FSLIB for cpp.
+dnl Will set EXT2FS_UNDEL_LIBS to required libraries.
+
+AC_DEFUN([GNOME_UNDELFS_CHECKS], [
+ AC_CHECK_HEADERS(ext2fs/ext2fs.h linux/ext2_fs.h)
+ ext2fs_undel=no
+ EXT2FS_UNDEL_LIBS=
+ if test x$ac_cv_header_ext2fs_ext2fs_h = xyes
+ then
+ if test x$ac_cv_header_linux_ext2_fs_h = xyes
+ then
+ AC_DEFINE(USE_EXT2FSLIB)
+ ext2fs_undel=yes
+ EXT2FS_UNDEL_LIBS="-lext2fs -lcom_err"
+ fi
+ fi
+])
02 15:16:50 +0800'>2014-06-021-1/+1 * Support stagebapt2014-02-281-24/+11 * Remove trailing whitespaces from category x11-wmehaupt2014-02-211-1/+1 * According to the Porter's Handbook (5.12.2.3.) default options must be added toehaupt2014-02-101-0/+2 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * - Remove MAKE_JOBS_SAFE variableak2013-08-151-1/+0 * - Update to 20130209miwi2013-02-104-198/+8 * - makefile cleanup and trim historical headerjgh2013-01-181-13/+10 * A a missing colon introduced on r308628garga2012-12-111-1/+1 * - Update xcb-util to 0.3.9garga2012-12-111-4/+4 * Adjust necesary ports to build with xcb-util 0.3.8garga2012-01-153-3/+169 * - Fix build with gcc46crees2011-12-292-27/+22 * - Update to 20111124miwi2011-11-263-7/+5 * Update to 20110818zi2011-08-242-3/+5 * - Make portlint happierdhn2011-07-241-3/+3 * - Update to 20110721dhn2011-07-244-16/+20 * - Update to 20110412culot2011-04-124-21/+33 * - Add LICENSEdhn2011-03-272-1/+14