summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/memcasecmp.m412
1 files changed, 5 insertions, 7 deletions
diff --git a/m4/memcasecmp.m4 b/m4/memcasecmp.m4
index 63343481d..9652bbe94 100644
--- a/m4/memcasecmp.m4
+++ b/m4/memcasecmp.m4
@@ -1,17 +1,15 @@
-#serial 1
+#serial 3
dnl Copyright (C) 2005 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_MEMCASECMP],
+AC_DEFUN([gl_MEMCASECMP],
[
AC_LIBSOURCES([memcasecmp.c, memcasecmp.h])
AC_LIBOBJ([memcasecmp])
- dnl prerequisites
- AC_HEADER_STDC
- AC_CHECK_HEADERS([stddef.h])
- AC_C_CONST
- AC_TYPE_SIZE_T
+ dnl Prerequisites of lib/memcasecmp.c.
+ AC_REQUIRE([AC_HEADER_STDC])
+ AC_CHECK_FUNCS_ONCE(isascii)
])