~ubuntu-branches/debian/experimental/dpkg/experimental

« back to all changes in this revision

Viewing changes to m4/dpkg-types.m4

  • Committer: Package Import Robot
  • Author(s): Guillem Jover
  • Date: 2012-01-31 21:58:08 UTC
  • Revision ID: package-import@ubuntu.com-20120131215808-jd379pas5w3epk43
Tags: 1.16.2~really1.16.1.2
Revert unapproved NMU.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright © 2005 Scott James Remnant <scott@netsplit.com>
2
 
# Copyright © 2009-2011 Guillem Jover <guillem@debian.org>
 
2
# Copyright © 2009 Guillem Jover <guillem@debian.org>
3
3
 
4
4
# DPKG_TYPE_PTRDIFF_T
5
5
# -------------------
10
10
                           [Define to 'int' if <malloc.h> does not define.]))dnl
11
11
])# DPKG_TYPE_PTRDIFF_T
12
12
 
13
 
# DPKG_TYPE_U_INT_T(N)
14
 
# --------------------
15
 
# Check for u_intN_t BSD type, defining to C99 type if not.
16
 
AC_DEFUN([DPKG_TYPE_U_INT_T],
17
 
[
18
 
  AC_CHECK_TYPE([u_int$1_t], [],
19
 
                AC_DEFINE_UNQUOTED([u_int$1_t], [uint$1_t],
20
 
                                   [Define to 'uint$1_t' if not defined.]))
21
 
])
22
 
 
23
 
# DPKG_TYPES_U_INT_T
24
 
# ------------------
25
 
# Check for u_int(8|16|32|64)_t BSD types, defining to C99 types if not.
26
 
AC_DEFUN([DPKG_TYPES_U_INT_T],
27
 
[
28
 
  DPKG_TYPE_U_INT_T([8])
29
 
  DPKG_TYPE_U_INT_T([16])
30
 
  DPKG_TYPE_U_INT_T([32])
31
 
  DPKG_TYPE_U_INT_T([64])
32
 
])
33
 
 
34
13
# DPKG_DECL_SYS_SIGLIST
35
14
# ---------------------
36
15
# Check for the sys_siglist variable in either signal.h or unistd.h