diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-15 04:22:57 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-15 05:19:08 -0500 |
commit | 71cdb52799220f8d9052643baf1d3e9836a9c755 (patch) | |
tree | 27aee97a35d9ab51f0d8f64a46690bd41a5f8c1b /gl/m4/stdlib_h.m4 | |
parent | f7afa46586645e50498d8b2d0c67884f014dc3a4 (diff) | |
download | monitoring-plugins-71cdb52799220f8d9052643baf1d3e9836a9c755.tar.gz |
Sync with gnulib
Diffstat (limited to 'gl/m4/stdlib_h.m4')
-rw-r--r-- | gl/m4/stdlib_h.m4 | 44 |
1 files changed, 32 insertions, 12 deletions
diff --git a/gl/m4/stdlib_h.m4 b/gl/m4/stdlib_h.m4 index fe4ce122..582db13d 100644 --- a/gl/m4/stdlib_h.m4 +++ b/gl/m4/stdlib_h.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # stdlib_h.m4 serial 5 | 1 | # stdlib_h.m4 serial 13 |
2 | dnl Copyright (C) 2007 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2007, 2008 Free Software Foundation, Inc. |
3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
@@ -8,6 +8,9 @@ AC_DEFUN([gl_STDLIB_H], | |||
8 | [ | 8 | [ |
9 | AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) | 9 | AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) |
10 | gl_CHECK_NEXT_HEADERS([stdlib.h]) | 10 | gl_CHECK_NEXT_HEADERS([stdlib.h]) |
11 | AC_CHECK_TYPES([struct random_data], | ||
12 | [], [HAVE_STRUCT_RANDOM_DATA=0], | ||
13 | [[#include <stdlib.h>]]) | ||
11 | ]) | 14 | ]) |
12 | 15 | ||
13 | AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], | 16 | AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], |
@@ -22,21 +25,38 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS], | |||
22 | GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) | 25 | GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) |
23 | GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) | 26 | GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) |
24 | GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) | 27 | GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) |
28 | GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL]) | ||
29 | GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG]) | ||
25 | GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) | 30 | GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) |
26 | GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) | 31 | GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) |
27 | GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) | 32 | GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) |
28 | GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) | 33 | GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) |
34 | GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R]) | ||
35 | GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH]) | ||
29 | GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) | 36 | GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) |
37 | GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD]) | ||
38 | GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL]) | ||
39 | GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL]) | ||
30 | GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) | 40 | GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) |
31 | dnl Assume proper GNU behavior unless another module says otherwise. | 41 | dnl Assume proper GNU behavior unless another module says otherwise. |
32 | HAVE_CALLOC_POSIX=1; AC_SUBST([HAVE_CALLOC_POSIX]) | 42 | HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) |
33 | HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) | 43 | HAVE_CALLOC_POSIX=1; AC_SUBST([HAVE_CALLOC_POSIX]) |
34 | HAVE_MALLOC_POSIX=1; AC_SUBST([HAVE_MALLOC_POSIX]) | 44 | HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) |
35 | HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) | 45 | HAVE_MALLOC_POSIX=1; AC_SUBST([HAVE_MALLOC_POSIX]) |
36 | HAVE_REALLOC_POSIX=1; AC_SUBST([HAVE_REALLOC_POSIX]) | 46 | HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) |
37 | HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) | 47 | HAVE_REALLOC_POSIX=1; AC_SUBST([HAVE_REALLOC_POSIX]) |
38 | HAVE_UNSETENV=1; AC_SUBST([HAVE_UNSETENV]) | 48 | HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R]) |
39 | REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) | 49 | HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH]) |
40 | REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) | 50 | HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) |
41 | VOID_UNSETENV=0; AC_SUBST([VOID_UNSETENV]) | 51 | HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD]) |
52 | HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL]) | ||
53 | HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL]) | ||
54 | HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) | ||
55 | HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H]) | ||
56 | HAVE_UNSETENV=1; AC_SUBST([HAVE_UNSETENV]) | ||
57 | HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG]) | ||
58 | REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) | ||
59 | REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) | ||
60 | REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) | ||
61 | VOID_UNSETENV=0; AC_SUBST([VOID_UNSETENV]) | ||
42 | ]) | 62 | ]) |