annotate m4/string_h.m4 @ 448:5cccf90bf838 3.0 tip

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