~nhandler/ubuntu/lucid/am-utils/merge-from-squeeze

« back to all changes in this revision

Viewing changes to aux/macros/type_cachefs_args.m4

  • Committer: Bazaar Package Importer
  • Author(s): Tim Cutts
  • Date: 2005-03-26 20:07:58 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050326200758-00l3vu36xznldrky
Tags: 6.0.9-3.2
* Non-maintainer upload
* Switched to po-debconf. (closes: #205794)
* Added French debconf template translation. (closes: #206440)
* Added Czech debconf template translation.
* Updated Spanish debconf template translation.
* All above patches from Lucas Wall

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl ######################################################################
2
 
dnl Find the correct type for CACHEFS mount(2) arguments structure
3
 
AC_DEFUN(AC_TYPE_CACHEFS_ARGS,
4
 
[
5
 
AC_CACHE_CHECK(for structure type of cachefs mount(2) arguments,
6
 
ac_cv_type_cachefs_args,
7
 
[
8
 
# set to a default value
9
 
ac_cv_type_cachefs_args=notfound
10
 
# look for "struct cachefs_mountargs"
11
 
if test "$ac_cv_type_cachefs_args" = notfound
12
 
then
13
 
AC_TRY_COMPILE_ANYFS(
14
 
[ struct cachefs_mountargs a;
15
 
], ac_cv_type_cachefs_args="struct cachefs_mountargs", ac_cv_type_cachefs_args=notfound)
16
 
fi
17
 
])
18
 
if test "$ac_cv_type_cachefs_args" != notfound
19
 
then
20
 
  AC_DEFINE_UNQUOTED(cachefs_args_t, $ac_cv_type_cachefs_args)
21
 
fi
22
 
])
23
 
dnl ======================================================================