annotate m4/stdlib_h.m4 @ 435:8f33e95a3269 3.0

Added missing file
author lost@l-w.ca
date Fri, 29 Oct 2010 19:27:55 -0600
parents b8bf63962a99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
434
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
1 # stdlib_h.m4 serial 21
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
2 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
6
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
7 AC_DEFUN([gl_STDLIB_H],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
8 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
9 AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
10 gl_CHECK_NEXT_HEADERS([stdlib.h])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
11 AC_CHECK_HEADERS([random.h], [], [], [AC_INCLUDES_DEFAULT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
12 if test $ac_cv_header_random_h = yes; then
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
13 HAVE_RANDOM_H=1
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
14 else
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
15 HAVE_RANDOM_H=0
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
16 fi
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
17 AC_SUBST([HAVE_RANDOM_H])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
18 AC_CHECK_TYPES([struct random_data],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
19 [], [HAVE_STRUCT_RANDOM_DATA=0],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
20 [[#include <stdlib.h>
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
21 #if HAVE_RANDOM_H
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
22 # include <random.h>
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
23 #endif
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
24 ]])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
25 ])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
26
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
27 AC_DEFUN([gl_STDLIB_MODULE_INDICATOR],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
28 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
29 dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
30 AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
31 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
32 ])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
33
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
34 AC_DEFUN([gl_STDLIB_H_DEFAULTS],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
35 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
36 GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
37 GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
38 GNULIB_CANONICALIZE_FILE_NAME=0; AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
39 GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
40 GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
41 GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
42 GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
43 GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
44 GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
45 GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
46 GNULIB_MKSTEMPS=0; AC_SUBST([GNULIB_MKSTEMPS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
47 GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
48 GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
49 GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
50 GNULIB_REALPATH=0; AC_SUBST([GNULIB_REALPATH])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
51 GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
52 GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
53 GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
54 GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
55 GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
56 GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
57 dnl Assume proper GNU behavior unless another module says otherwise.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
58 HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
59 HAVE_CALLOC_POSIX=1; AC_SUBST([HAVE_CALLOC_POSIX])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
60 HAVE_CANONICALIZE_FILE_NAME=1; AC_SUBST([HAVE_CANONICALIZE_FILE_NAME])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
61 HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
62 HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
63 HAVE_MALLOC_POSIX=1; AC_SUBST([HAVE_MALLOC_POSIX])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
64 HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
65 HAVE_MKOSTEMP=1; AC_SUBST([HAVE_MKOSTEMP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
66 HAVE_MKOSTEMPS=1; AC_SUBST([HAVE_MKOSTEMPS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
67 HAVE_MKSTEMPS=1; AC_SUBST([HAVE_MKSTEMPS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
68 HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
69 HAVE_REALLOC_POSIX=1; AC_SUBST([HAVE_REALLOC_POSIX])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
70 HAVE_REALPATH=1; AC_SUBST([HAVE_REALPATH])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
71 HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
72 HAVE_SETENV=1; AC_SUBST([HAVE_SETENV])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
73 HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
74 HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
75 HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
76 HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
77 HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
78 HAVE_UNSETENV=1; AC_SUBST([HAVE_UNSETENV])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
79 REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
80 REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
81 REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
82 REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
83 REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
84 REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
85 REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
86 ])