mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
* lib/string.in.h (_GL_STRING_INLINE): Remove macro. (_GL_MEMEQ_INLINE): New macro. (memeq): Use it instead of _GL_STRING_INLINE. Test GNULIB_MEMEQ. (_GL_STREQ_INLINE): New macro. (streq): Use it instead of _GL_STRING_INLINE. Test GNULIB_STREQ. * lib/memeq.c: New file. * lib/streq.c: New file. * lib/string.c: Remove file. * m4/memeq.m4: New file, based on m4/stringeq.m4. * m4/streq.m4: New file, based on m4/stringeq.m4. * m4/stringeq.m4: Remove file. * m4/string_h.m4 (gl_STRING_H_REQUIRE_DEFAULTS): Initialize GNULIB_MEMEQ, GNULIB_STREQ. Don't initialize GNULIB_STRINGEQ. * modules/string-h (Makefile.am): Substitute GNULIB_MEMEQ, GNULIB_STREQ. Don't substitute GNULIB_STRINGEQ. * modules/memeq: New file. * modules/streq: New file. * modules/stringeq: Change to just be the union of streq and memeq. * MODULES.html.sh (func_all_modules): Add memeq, streq.
27 lines
273 B
Plaintext
27 lines
273 B
Plaintext
Description:
|
|
streq() function: test for string equality
|
|
|
|
Files:
|
|
lib/streq.c
|
|
m4/streq.m4
|
|
|
|
Depends-on:
|
|
bool
|
|
string-h
|
|
|
|
configure.ac:
|
|
gl_FUNC_STREQ
|
|
gl_STRING_MODULE_INDICATOR([streq])
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += streq.c
|
|
|
|
Include:
|
|
<string.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|