~ubuntu-branches/ubuntu/saucy/m17n-lib/saucy

« back to all changes in this revision

Viewing changes to m4/inttypes-pri.m4

  • Committer: Bazaar Package Importer
  • Author(s): Harshula Jayasuriya
  • Date: 2010-11-23 01:39:29 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101123013929-rs3kpqgu4kr3qx32
Tags: 1.6.2-1
* New upstream release 1.6.2.
* Update Standards-Version to Debian Policy 3.9.1. (No changes)
* debian/control: Depends: m17n-db and m17n-contrib. (Closes: #599643)
* PATCH: (make_locale): Don't call setlocale.  Just parse the arg NAME.
         (Closes: #601858)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# inttypes-pri.m4 serial 1 (gettext-0.11.4)
2
 
dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
 
1
# inttypes-pri.m4 serial 4 (gettext-0.16)
 
2
dnl Copyright (C) 1997-2002, 2006 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.
6
6
 
7
7
dnl From Bruno Haible.
8
8
 
 
9
AC_PREREQ(2.52)
 
10
 
9
11
# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
10
12
# macros to non-string values.  This is the case on AIX 4.3.3.
11
13
 
12
14
AC_DEFUN([gt_INTTYPES_PRI],
13
15
[
14
 
  AC_REQUIRE([gt_HEADER_INTTYPES_H])
15
 
  if test $gt_cv_header_inttypes_h = yes; then
 
16
  AC_CHECK_HEADERS([inttypes.h])
 
17
  if test $ac_cv_header_inttypes_h = yes; then
16
18
    AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
17
19
      gt_cv_inttypes_pri_broken,
18
20
      [
26
28
  if test "$gt_cv_inttypes_pri_broken" = yes; then
27
29
    AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
28
30
      [Define if <inttypes.h> exists and defines unusable PRI* macros.])
 
31
    PRI_MACROS_BROKEN=1
 
32
  else
 
33
    PRI_MACROS_BROKEN=0
29
34
  fi
 
35
  AC_SUBST([PRI_MACROS_BROKEN])
30
36
])