]> git.ipfire.org Git - thirdparty/gnulib.git/commit
strings-h: Don't declare strcasecmp, strncasecmp without the module.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Feb 2025 11:30:58 +0000 (12:30 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Feb 2025 12:45:36 +0000 (13:45 +0100)
commitc17d70aaaebfc79e4d5cc9b490b0cc7d43b5cd42
tree6aa8f35b1de299045d8130a29eebd687b01394a8
parentb2927d1b1fa3fb09a2210a3df5691f7d48d6151b
strings-h: Don't declare strcasecmp, strncasecmp without the module.

* lib/strings.in.h (strcasecmp): Don't declare if module 'strcasecmp' is
not present.
(strncasecmp): Don't declare if module 'strncasecmp' is not present.
* m4/strings_h.m4 (gl_STRINGS_H_REQUIRE_DEFAULTS): Initialize
GNULIB_STRCASECMP, GNULIB_STRNCASECMP.
* modules/strings-h (Makefile.am): Substitute GNULIB_STRCASECMP,
GNULIB_STRNCASECMP.
ChangeLog
lib/strings.in.h
m4/strings_h.m4
modules/strings-h