| 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 |
]) |