annotate m4/strings_h.m4 @ 436:4c272633fce2 3.0 3.0

Added missing files
author lost@l-w.ca
date Fri, 29 Oct 2010 19:28:54 -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 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, 2009, 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 AC_DEFUN([gl_HEADER_STRINGS_H],
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 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
11 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
12 AC_REQUIRE([gl_HEADER_STRINGS_H_BODY])
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
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
15 AC_DEFUN([gl_HEADER_STRINGS_H_BODY],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
16 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
17 AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
18 gl_CHECK_NEXT_HEADERS([strings.h])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
19 ])
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_DEFUN([gl_STRINGS_MODULE_INDICATOR],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
22 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
23 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
24 AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
25 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
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
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
28 AC_DEFUN([gl_HEADER_STRINGS_H_DEFAULTS],
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
29 [
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
30 dnl Assume proper GNU behavior unless another module says otherwise.
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
31 HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
32 HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP])
b8bf63962a99 Added various generated files for release
lost@l-w.ca
parents:
diff changeset
33 ])