annotate m4/strings_h.m4 @ 423:079d43b6967b 3.0-beta2 3.0-beta2

Added missing file
author lost@l-w.ca
date Sun, 19 Sep 2010 01:44:47 -0600
parents 3c2e1f24cc7d
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 # Configure a replacement for <string.h>.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
2
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
3 # Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
4 # This file is free software; the Free Software Foundation
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
5 # gives unlimited permission to copy and/or distribute it,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
6 # with or without modifications, as long as this notice is preserved.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
7
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
8 AC_DEFUN([gl_HEADER_STRINGS_H],
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
9 [
3c2e1f24cc7d Added 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
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
11 dnl once only, before all statements that occur in other macros.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
12 AC_REQUIRE([gl_HEADER_STRINGS_H_BODY])
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
13 ])
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
14
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
15 AC_DEFUN([gl_HEADER_STRINGS_H_BODY],
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
16 [
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
17 AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
18 gl_CHECK_NEXT_HEADERS([strings.h])
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
19 ])
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
20
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
21 AC_DEFUN([gl_STRINGS_MODULE_INDICATOR],
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
22 [
3c2e1f24cc7d Added 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.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
24 AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
25 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
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
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
28 AC_DEFUN([gl_HEADER_STRINGS_H_DEFAULTS],
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
29 [
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
30 dnl Assume proper GNU behavior unless another module says otherwise.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
31 HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP])
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
32 HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP])
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
33 ])