summaryrefslogtreecommitdiff
path: root/m4/strpbrk.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/strpbrk.m4')
-rw-r--r--m4/strpbrk.m418
1 files changed, 18 insertions, 0 deletions
diff --git a/m4/strpbrk.m4 b/m4/strpbrk.m4
new file mode 100644
index 0000000..0398d45
--- /dev/null
+++ b/m4/strpbrk.m4
@@ -0,0 +1,18 @@
+# strpbrk.m4 serial 4
+dnl Copyright (C) 2002-2003, 2007 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_HEADER_STRING_H_DEFAULTS])
+ AC_REPLACE_FUNCS(strpbrk)
+ if test $ac_cv_func_strpbrk = no; then
+ HAVE_STRPBRK=0
+ gl_PREREQ_STRPBRK
+ fi
+])
+
+# Prerequisites of lib/strpbrk.c.
+AC_DEFUN([gl_PREREQ_STRPBRK], [:])