annotate m4/strings_h.m4 @ 12559:c2cbabec01dd

update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
author Jim Meyering <meyering@redhat.com>
date Fri, 01 Jan 2010 10:31:12 +0100
parents b5e42ef33b49
children 2c14f1e449e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9496
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 # Configure a replacement for <string.h>.
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2
12559
c2cbabec01dd update nearly all FSF copyright year lists to include 2010
Jim Meyering <meyering@redhat.com>
parents: 12518
diff changeset
3 # Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
9496
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 # This file is free software; the Free Software Foundation
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 # gives unlimited permission to copy and/or distribute it,
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 # with or without modifications, as long as this notice is preserved.
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 AC_DEFUN([gl_HEADER_STRINGS_H],
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 [
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 dnl Use AC_REQUIRE here, so that the default behavior below is expanded
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 dnl once only, before all statements that occur in other macros.
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 AC_REQUIRE([gl_HEADER_STRINGS_H_BODY])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 ])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 AC_DEFUN([gl_HEADER_STRINGS_H_BODY],
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 [
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 gl_CHECK_NEXT_HEADERS([strings.h])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 ])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 AC_DEFUN([gl_STRINGS_MODULE_INDICATOR],
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 [
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 ])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 AC_DEFUN([gl_HEADER_STRINGS_H_DEFAULTS],
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 [
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 dnl Assume proper GNU behavior unless another module says otherwise.
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP])
d7da1f241448 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 ])