diff options
Diffstat (limited to 'gl/m4/stringeq.m4')
| -rw-r--r-- | gl/m4/stringeq.m4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gl/m4/stringeq.m4 b/gl/m4/stringeq.m4 new file mode 100644 index 00000000..ffea8afc --- /dev/null +++ b/gl/m4/stringeq.m4 | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # stringeq.m4 | ||
| 2 | # serial 1 | ||
| 3 | dnl Copyright (C) 2025-2026 Free Software Foundation, Inc. | ||
| 4 | dnl This file is free software; the Free Software Foundation | ||
| 5 | dnl gives unlimited permission to copy and/or distribute it, | ||
| 6 | dnl with or without modifications, as long as this notice is preserved. | ||
| 7 | dnl This file is offered as-is, without any warranty. | ||
| 8 | |||
| 9 | AC_DEFUN([gl_FUNC_STREQ], | ||
| 10 | [ | ||
| 11 | AC_REQUIRE([gl_STRING_H_DEFAULTS]) | ||
| 12 | AC_CHECK_DECLS_ONCE([streq]) | ||
| 13 | if test $ac_cv_have_decl_streq != no; then | ||
| 14 | HAVE_DECL_STREQ=1 | ||
| 15 | fi | ||
| 16 | ]) | ||
| 17 | |||
| 18 | AC_DEFUN([gl_FUNC_MEMEQ], | ||
| 19 | [ | ||
| 20 | AC_REQUIRE([gl_STRING_H_DEFAULTS]) | ||
| 21 | AC_CHECK_DECLS_ONCE([memeq]) | ||
| 22 | if test $ac_cv_have_decl_memeq != no; then | ||
| 23 | HAVE_DECL_MEMEQ=1 | ||
| 24 | fi | ||
| 25 | ]) | ||
