~ubuntu-branches/ubuntu/karmic/cryptsetup/karmic-proposed

« back to all changes in this revision

Viewing changes to m4/inttypes-h.m4

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Steve Langasek, Scott James Remnant
  • Date: 2009-10-14 04:52:16 UTC
  • Revision ID: james.westby@ubuntu.com-20091014045216-yej34imeg7sh3ljd
Tags: 2:1.0.6+20090405.svn49-1ubuntu6
[ Steve Langasek ]
* Move the Debian Vcs- fields aside.

[ Scott James Remnant ]
* debian/cryptdisks-enable.upstart: Don't overcompensate for my idiocy,
  cryptsetup should not need a controlling terminal, just a terminal
  is fine.  May fix LP: #439138.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# inttypes-h.m4 serial 1 (gettext-0.15)
 
2
dnl Copyright (C) 1997-2002, 2006 Free Software Foundation, Inc.
 
3
dnl This file is free software; the Free Software Foundation
 
4
dnl gives unlimited permission to copy and/or distribute it,
 
5
dnl with or without modifications, as long as this notice is preserved.
 
6
 
 
7
dnl From Paul Eggert.
 
8
 
 
9
# Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
 
10
# <sys/types.h>.
 
11
 
 
12
AC_DEFUN([gl_HEADER_INTTYPES_H],
 
13
[
 
14
  AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
 
15
  [
 
16
    AC_TRY_COMPILE(
 
17
      [#include <sys/types.h>
 
18
#include <inttypes.h>],
 
19
      [], gl_cv_header_inttypes_h=yes, gl_cv_header_inttypes_h=no)
 
20
  ])
 
21
  if test $gl_cv_header_inttypes_h = yes; then
 
22
    AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
 
23
      [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
 
24
  fi
 
25
])