summaryrefslogtreecommitdiffstats
path: root/m4/strpbrk.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--m4/strpbrk.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/strpbrk.m4 b/m4/strpbrk.m4
new file mode 100644
index 0000000..b65c6e3
--- /dev/null
+++ b/m4/strpbrk.m4
@@ -0,0 +1,17 @@
+# strpbrk.m4 serial 7
+dnl Copyright (C) 2002-2003, 2007, 2009-2022 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_STRPBRK],
+[
+ AC_REQUIRE([gl_STRING_H_DEFAULTS])
+ AC_CHECK_FUNCS([strpbrk])
+ if test $ac_cv_func_strpbrk = no; then
+ HAVE_STRPBRK=0
+ fi
+])
+
+# Prerequisites of lib/strpbrk.c.
+AC_DEFUN([gl_PREREQ_STRPBRK], [:])