summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-03-21 20:14:56 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-03-21 20:14:56 +0000
commitd6580393870887915937ecf0c4cce81ba6169a7f (patch)
tree52761748589c775b28aa55c0b0cd18c1f616b5ab /m4
parent438cf5065927dcb2a714e6a3281dbd5b8b58d119 (diff)
downloadcoreutils-d6580393870887915937ecf0c4cce81ba6169a7f.tar.xz
Another change imported from gnulib.
(gl_MEMCASECMP): Renamed from gl_FUNC_MEMCASECMP. All uses changed. Require AC_HEADER_STDC instead of invoking it. Remove check for stddef.h, size_t, const, since we now assume C89 or better.
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)
])