~ubuntu-branches/ubuntu/natty/augeas/natty

« back to all changes in this revision

Viewing changes to gnulib/m4/sys_stat_h.m4

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Valcárcel Scerpella (Canonical)
  • Date: 2010-06-25 16:12:45 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100625161245-8pwq1gbejazeo07u
Tags: 0.7.2-1
* New upstream release
* Droped 50_iptables-lens.diff. Included upstream
* Updated libaugeas0.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# sys_stat_h.m4 serial 21   -*- Autoconf -*-
 
1
# sys_stat_h.m4 serial 24   -*- Autoconf -*-
2
2
dnl Copyright (C) 2006-2010 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
27
27
    [#include <sys/types.h>
28
28
     #include <sys/stat.h>])
29
29
 
 
30
  dnl Check for declarations of anything we want to poison if the
 
31
  dnl corresponding gnulib module is not in use.
 
32
  gl_WARN_ON_USE_PREPARE([[#include <sys/stat.h>
 
33
    ]], [fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat
 
34
    mknod mknodat stat utimensat])
30
35
]) # gl_HEADER_SYS_STAT_H
31
36
 
32
37
AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR],
33
38
[
34
39
  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
35
40
  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
36
 
  GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
 
41
  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
 
42
  dnl Define it also as a C macro, for the benefit of the unit tests.
 
43
  gl_MODULE_INDICATOR_FOR_TESTS([$1])
37
44
])
38
45
 
39
46
AC_DEFUN([gl_SYS_STAT_H_DEFAULTS],