annotate m4/stdlib_h.m4 @ 267:bec6d2480f08 2.6

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