~psusi/ubuntu/natty/parted/fix-dmraid

« back to all changes in this revision

Viewing changes to m4/stdio_h.m4

  • Committer: Colin Watson
  • Date: 2010-08-05 21:06:19 UTC
  • mfrom: (7.2.9 sid)
  • Revision ID: cjwatson@canonical.com-20100805210619-f9ld2tuntueagfeo
* Resynchronise with Debian.  Remaining changes:
  - gptsync.dpatch: On Intel Mac systems, write a synced MBR rather than a
    protective MBR.
  - Add -fno-stack-protector on sparc.
  - loop-partitions.dpatch: Loop devices can only have one partition, so
    don't generate device names such as "/dev/loop0p1".
  - udevadm-settle.dpatch: Run 'udevadm settle' either side of rereading
    the partition table, to avoid a variety of races.
  - dmraid.dpatch: Ensure that device-mapper devices for dmraid arrays do
    not have extra nodes created needlessly, as well as making sure that
    partition nodes for dmraid devices are not probed.
  - loop-limits.patch: Remove limits on loop labels.
  - fix-dmraid-regression.path: Reverse upstream change that broke
    installation on dmraid disks for lucid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# stdio_h.m4 serial 25
 
1
# stdio_h.m4 serial 31
2
2
dnl Copyright (C) 2007-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,
8
8
[
9
9
  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
10
10
  AC_REQUIRE([AC_C_INLINE])
 
11
  AC_REQUIRE([gl_ASM_SYMBOL_PREFIX])
11
12
  gl_CHECK_NEXT_HEADERS([stdio.h])
12
13
  dnl No need to create extra modules for these functions. Everyone who uses
13
14
  dnl <stdio.h> likely needs them.
37
38
  dnl guaranteed by C89.
38
39
  gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
39
40
    ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
40
 
    snprintf vdprintf vsnprintf])
 
41
    snprintf tmpfile vdprintf vsnprintf])
41
42
])
42
43
 
43
44
AC_DEFUN([gl_STDIO_MODULE_INDICATOR],
44
45
[
45
46
  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
46
47
  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
47
 
  GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
 
48
  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
 
49
  dnl Define it also as a C macro, for the benefit of the unit tests.
 
50
  gl_MODULE_INDICATOR_FOR_TESTS([$1])
48
51
])
49
52
 
50
53
AC_DEFUN([gl_STDIO_H_DEFAULTS],
81
84
  GNULIB_SNPRINTF=0;             AC_SUBST([GNULIB_SNPRINTF])
82
85
  GNULIB_SPRINTF_POSIX=0;        AC_SUBST([GNULIB_SPRINTF_POSIX])
83
86
  GNULIB_STDIO_H_SIGPIPE=0;      AC_SUBST([GNULIB_STDIO_H_SIGPIPE])
 
87
  GNULIB_TMPFILE=0;              AC_SUBST([GNULIB_TMPFILE])
84
88
  GNULIB_VASPRINTF=0;            AC_SUBST([GNULIB_VASPRINTF])
85
89
  GNULIB_VDPRINTF=0;             AC_SUBST([GNULIB_VDPRINTF])
86
90
  GNULIB_VFPRINTF=0;             AC_SUBST([GNULIB_VFPRINTF])
97
101
  HAVE_DECL_SNPRINTF=1;          AC_SUBST([HAVE_DECL_SNPRINTF])
98
102
  HAVE_DECL_VSNPRINTF=1;         AC_SUBST([HAVE_DECL_VSNPRINTF])
99
103
  HAVE_DPRINTF=1;                AC_SUBST([HAVE_DPRINTF])
 
104
  HAVE_FSEEKO=1;                 AC_SUBST([HAVE_FSEEKO])
 
105
  HAVE_FTELLO=1;                 AC_SUBST([HAVE_FTELLO])
100
106
  HAVE_RENAMEAT=1;               AC_SUBST([HAVE_RENAMEAT])
101
107
  HAVE_VASPRINTF=1;              AC_SUBST([HAVE_VASPRINTF])
102
108
  HAVE_VDPRINTF=1;               AC_SUBST([HAVE_VDPRINTF])
123
129
  REPLACE_SNPRINTF=0;            AC_SUBST([REPLACE_SNPRINTF])
124
130
  REPLACE_SPRINTF=0;             AC_SUBST([REPLACE_SPRINTF])
125
131
  REPLACE_STDIO_WRITE_FUNCS=0;   AC_SUBST([REPLACE_STDIO_WRITE_FUNCS])
 
132
  REPLACE_TMPFILE=0;             AC_SUBST([REPLACE_TMPFILE])
126
133
  REPLACE_VASPRINTF=0;           AC_SUBST([REPLACE_VASPRINTF])
127
134
  REPLACE_VDPRINTF=0;            AC_SUBST([REPLACE_VDPRINTF])
128
135
  REPLACE_VFPRINTF=0;            AC_SUBST([REPLACE_VFPRINTF])