~ubuntu-branches/ubuntu/wily/man-db/wily-proposed

« back to all changes in this revision

Viewing changes to gnulib/m4/fstat.m4

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-06-24 11:34:02 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20130624113402-6xdn53l2p9qu8yus
Tags: 2.6.4-1
* New upstream release:
  - Document default section list in manual pages (closes: #611007).
  - Quieten most warnings from compiling Gnulib (closes: #668429).
  - The MANLESS environment variable is now treated as if it were a
    default value for the -r option to man: occurrences of the text
    "$MAN_PN" are expanded, and explicitly using the -r option overrides
    the default (closes: #690831).
* Use 'set -e' rather than '#! /bin/sh -e' in maintainer scripts.
* Remove maintainer script support for direct upgrades from pre-etch
  (three releases before current stable).
* Breaks/Replaces manpages-zh (<< 1.5.2-1.1); man-db now ships zh_CN
  translations formerly included there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# fstat.m4 serial 1
2
 
dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
 
1
# fstat.m4 serial 4
 
2
dnl Copyright (C) 2011-2013 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,
5
5
dnl with or without modifications, as long as this notice is preserved.
7
7
AC_DEFUN([gl_FUNC_FSTAT],
8
8
[
9
9
  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
 
10
 
10
11
  AC_REQUIRE([gl_MSVC_INVAL])
11
12
  if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
12
13
    REPLACE_FSTAT=1
13
14
  fi
 
15
 
 
16
  AC_REQUIRE([gl_HEADER_SYS_STAT_H])
 
17
  if test $WINDOWS_64_BIT_ST_SIZE = 1; then
 
18
    REPLACE_FSTAT=1
 
19
  fi
 
20
 
14
21
  dnl Replace fstat() for supporting the gnulib-defined open() on directories.
15
22
  m4_ifdef([gl_FUNC_FCHDIR], [
16
23
    gl_TEST_FCHDIR
17
 
    if test $HAVE_FCHDIR = 0 \
18
 
       && test "$gl_cv_func_open_directory_works" != yes; then
19
 
      REPLACE_FSTAT=1
 
24
    if test $HAVE_FCHDIR = 0; then
 
25
      case "$gl_cv_func_open_directory_works" in
 
26
        *yes) ;;
 
27
        *)
 
28
          REPLACE_FSTAT=1
 
29
          ;;
 
30
      esac
20
31
    fi
21
32
  ])
22
33
])
23
34
 
24
35
# Prerequisites of lib/fstat.c.
25
 
AC_DEFUN([gl_PREREQ_FSTAT],
26
 
[
27
 
  AC_REQUIRE([AC_C_INLINE])
28
 
])
 
36
AC_DEFUN([gl_PREREQ_FSTAT], [:])