~ubuntu-branches/ubuntu/intrepid/parted/intrepid

« back to all changes in this revision

Viewing changes to gnulib/modules/inttypes

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-24 14:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624143105-rd7yw67a9qnvh51i
Tags: 1.8.8.git.2008.03.24-7ubuntu1
* Resynchronise with Debian (LP: #237568). Remaining changes:
  - swap-uuid.dpatch: Create UUIDs on new swap partitions.
  - gptsync.dpatch: On Intel Mac systems, write a synced MBR rather than a
    protective MBR.
  - Add -fno-stack-protector on sparc.
  - sparc-new-label.dpatch: Fix sparc disk label generation. This is
    required for LDOM and parallel installations with Solaris 10.
  - loop-partitions.dpatch: Loop devices can only have one partition, so
    don't generate device names such as "/dev/loop0p1".
  - unpartitioned-disks.dpatch: Don't try to call BLKPG ioctls on
    unpartitionable disks (only implemented for loop devices at the
    moment), as they will always fail.
  - When building with gcc-4.3, add -Wno-array-bounds to CFLAGS.
  - Cell partition tables are misdetected as pc98, so disable pc98 support
    on powerpc.
  - array-bounds.dpatch: Backport patch from git to allow building with
    gcc-4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description:
 
2
An <inttypes.h> that nearly conforms to C99.
 
3
 
 
4
Files:
 
5
lib/inttypes_.h
 
6
m4/inttypes-pri.m4
 
7
m4/inttypes.m4
 
8
 
 
9
Depends-on:
 
10
include_next
 
11
link-warning
 
12
stdint
 
13
 
 
14
configure.ac:
 
15
gl_INTTYPES_H
 
16
 
 
17
Makefile.am:
 
18
BUILT_SOURCES += $(INTTYPES_H)
 
19
 
 
20
# We need the following in order to create <inttypes.h> when the system
 
21
# doesn't have one that works with the given compiler.
 
22
inttypes.h: inttypes_.h
 
23
        rm -f $@-t $@
 
24
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
 
25
          sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
 
26
              -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
 
27
              -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
 
28
              -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
 
29
              -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
 
30
              -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
 
31
              -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
 
32
              -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
 
33
              -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
 
34
              -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
 
35
              -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
 
36
              -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
 
37
              -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
 
38
              -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
 
39
              -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
 
40
              -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
 
41
              < $(srcdir)/inttypes_.h; \
 
42
        } > $@-t
 
43
        mv $@-t $@
 
44
MOSTLYCLEANFILES += inttypes.h inttypes.h-t
 
45
 
 
46
Include:
 
47
#include <inttypes.h>
 
48
 
 
49
License:
 
50
LGPL
 
51
 
 
52
Maintainer:
 
53
all