diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
| commit | 1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch) | |
| tree | d69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /gl/m4/stringeq.m4 | |
| parent | 99283972fe3a74d3a1dea12c4099f76286130a67 (diff) | |
| parent | a71ce153082565e5728424749475593dc0623492 (diff) | |
| download | monitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz | |
merged with mastercheck_snmp_fixes
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 | ]) | ||
