diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-18 22:05:43 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-18 22:05:43 (GMT) |
commit | a8cd7705e7898d77764aa12ddcc2e29de1860138 (patch) | |
tree | 970f609cbecbe515998907fd55a12f814ad2edcd /m4/uintmax_t.m4 | |
parent | 08394ddb2d62ec8aab9121e45ab9c1a102e85ba4 (diff) | |
download | monitoring-plugins-a8cd7705e7898d77764aa12ddcc2e29de1860138.tar.gz |
Synchronise with coreutils 2.95. Gettext now synced with coreutils,
so no longer development platform requirement
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1394 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4/uintmax_t.m4')
-rw-r--r-- | m4/uintmax_t.m4 | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/m4/uintmax_t.m4 b/m4/uintmax_t.m4 index ec3a8b9..bf83ed7 100644 --- a/m4/uintmax_t.m4 +++ b/m4/uintmax_t.m4 | |||
@@ -1,29 +1,30 @@ | |||
1 | # uintmax_t.m4 serial 6 (gettext-0.11) | 1 | # uintmax_t.m4 serial 9 |
2 | dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. |
3 | dnl This file is free software, distributed under the terms of the GNU | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl General Public License. As a special exception to the GNU General | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl Public License, this file may be distributed as part of a program | 5 | dnl with or without modifications, as long as this notice is preserved. |
6 | dnl that contains a configuration script generated by Autoconf, under | ||
7 | dnl the same distribution terms as the rest of that program. | ||
8 | 6 | ||
9 | dnl From Paul Eggert. | 7 | dnl From Paul Eggert. |
10 | 8 | ||
11 | AC_PREREQ(2.13) | 9 | AC_PREREQ(2.13) |
12 | 10 | ||
13 | # Define uintmax_t to `unsigned long' or `unsigned long long' | 11 | # Define uintmax_t to 'unsigned long' or 'unsigned long long' |
14 | # if <inttypes.h> does not exist. | 12 | # if it is not already defined in <stdint.h> or <inttypes.h>. |
15 | 13 | ||
16 | AC_DEFUN([jm_AC_TYPE_UINTMAX_T], | 14 | AC_DEFUN([gl_AC_TYPE_UINTMAX_T], |
17 | [ | 15 | [ |
18 | AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) | 16 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) |
19 | AC_REQUIRE([jm_AC_HEADER_STDINT_H]) | 17 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) |
20 | if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then | 18 | if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then |
21 | AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) | 19 | AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) |
22 | test $ac_cv_type_unsigned_long_long = yes \ | 20 | test $ac_cv_type_unsigned_long_long = yes \ |
23 | && ac_type='unsigned long long' \ | 21 | && ac_type='unsigned long long' \ |
24 | || ac_type='unsigned long' | 22 | || ac_type='unsigned long' |
25 | AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, | 23 | AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, |
26 | [Define to unsigned long or unsigned long long | 24 | [Define to unsigned long or unsigned long long |
27 | if <inttypes.h> and <stdint.h> don't define.]) | 25 | if <stdint.h> and <inttypes.h> don't define.]) |
26 | else | ||
27 | AC_DEFINE(HAVE_UINTMAX_T, 1, | ||
28 | [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.]) | ||
28 | fi | 29 | fi |
29 | ]) | 30 | ]) |