annotate m4/string_h.m4 @ 269:6cbc409ff09f 2.6

Added asprintf redux
author lost
date Tue, 22 Dec 2009 05:53:05 +0000
parents bec6d2480f08
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 # Configure a GNU-like replacement for <string.h>.
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
2
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
3 # Copyright (C) 2007, 2008 Free Software Foundation, Inc.
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
4 # This file is free software; the Free Software Foundation
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
5 # gives unlimited permission to copy and/or distribute it,
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
6 # with or without modifications, as long as this notice is preserved.
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
7
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
8 # serial 6
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
9
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
10 # Written by Paul Eggert.
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
11
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
12 AC_DEFUN([gl_HEADER_STRING_H],
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
13 [
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
14 dnl Use AC_REQUIRE here, so that the default behavior below is expanded
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
15 dnl once only, before all statements that occur in other macros.
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
16 AC_REQUIRE([gl_HEADER_STRING_H_BODY])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
17 ])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
18
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
19 AC_DEFUN([gl_HEADER_STRING_H_BODY],
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
20 [
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
21 AC_REQUIRE([AC_C_RESTRICT])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
22 AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
23 gl_CHECK_NEXT_HEADERS([string.h])
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 AC_DEFUN([gl_STRING_MODULE_INDICATOR],
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
27 [
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
28 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
29 AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
30 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
31 ])
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 AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS],
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
34 [
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
35 GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
36 GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
37 GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
38 GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
39 GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
40 GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
41 GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
42 GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
43 GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
44 GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
45 GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
46 GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
47 GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
48 GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
49 GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
50 GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
51 GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
52 GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
53 GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
54 GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
55 GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
56 GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
57 GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
58 GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
59 GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
60 GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
61 GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
62 GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
63 GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
64 GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
65 GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
66 GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
67 dnl Assume proper GNU behavior unless another module says otherwise.
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
68 HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
69 HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
70 HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
71 HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
72 HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
73 HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
74 HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
75 HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
76 HAVE_STRNDUP=1; AC_SUBST([HAVE_STRNDUP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
77 HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
78 HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
79 HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
80 HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
81 HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
82 HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
83 HAVE_DECL_STRERROR=1; AC_SUBST([HAVE_DECL_STRERROR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
84 HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
85 HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
86 REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
87 REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
88 REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
89 REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
90 REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
91 REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
92 ])