~ubuntu-branches/ubuntu/dapper/cappuccino/dapper

« back to all changes in this revision

Viewing changes to macros/gnome-undelfs.m4

  • Committer: Bazaar Package Importer
  • Author(s): Lars Wirzenius
  • Date: 2005-04-28 16:32:00 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050428163200-6ktj118672tak662
Tags: 0.4-2.1
* Non-maintainer upload.
* Rebuilt since linc no longer in archive. Closes: #306151
  (the bug is release critical, hence the urgency).
* debian/menu: Quoted values that weren't quoted, since that's what the
  menu file syntax requires.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
  AC_CHECK_HEADERS(ext2fs/ext2fs.h linux/ext2_fs.h)
9
 
  ext2fs_undel=no
10
 
  EXT2FS_UNDEL_LIBS=
11
 
  if test x$ac_cv_header_ext2fs_ext2fs_h = xyes
12
 
  then
13
 
    if test x$ac_cv_header_linux_ext2_fs_h = xyes
14
 
    then
15
 
      AC_DEFINE(USE_EXT2FSLIB)
16
 
      ext2fs_undel=yes
17
 
      EXT2FS_UNDEL_LIBS="-lext2fs -lcom_err"
18
 
    fi
19
 
  fi
20
 
])