annotate m4/stdlib_h.m4 @ 421:3c2e1f24cc7d 3.0-beta2

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