annotate m4/strings_h.m4 @ 268:c48e676d641f 2.6

Added missing asprintf() to gnulib
author lost
date Tue, 22 Dec 2009 05:46:58 +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 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 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 AC_DEFUN([gl_HEADER_STRINGS_H],
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 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
11 dnl once only, before all statements that occur in other macros.
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
12 AC_REQUIRE([gl_HEADER_STRINGS_H_BODY])
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
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
15 AC_DEFUN([gl_HEADER_STRINGS_H_BODY],
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
16 [
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
17 AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
18 gl_CHECK_NEXT_HEADERS([strings.h])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
19 ])
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_DEFUN([gl_STRINGS_MODULE_INDICATOR],
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
22 [
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
23 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
24 AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
25 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
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
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
28 AC_DEFUN([gl_HEADER_STRINGS_H_DEFAULTS],
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
29 [
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
30 dnl Assume proper GNU behavior unless another module says otherwise.
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
31 HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
32 HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP])
bec6d2480f08 Added add'l generated files for release
lost
parents:
diff changeset
33 ])