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.
This commit is contained in:
Paul Eggert 2005-03-21 20:14:56 +00:00
parent 438cf50659
commit d658039387

View File

@ -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)
])