summaryrefslogtreecommitdiffstats
path: root/gl/m4/stringeq.m4
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
commit1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch)
treed69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /gl/m4/stringeq.m4
parent99283972fe3a74d3a1dea12c4099f76286130a67 (diff)
parenta71ce153082565e5728424749475593dc0623492 (diff)
downloadmonitoring-plugins-refs/heads/check_snmp_fixes.tar.gz
merged with mastercheck_snmp_fixes
Diffstat (limited to 'gl/m4/stringeq.m4')
-rw-r--r--gl/m4/stringeq.m425
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
3dnl Copyright (C) 2025-2026 Free Software Foundation, Inc.
4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved.
7dnl This file is offered as-is, without any warranty.
8
9AC_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
18AC_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])