mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
5a59e28dec
This incorporates: 2016-12-19 stdint: Fix WINT_MAX to match wint_t on mingw 2016-12-18 getopt: Fix link error for users of getopt() in <unistd.h> 2016-12-17 getlogin: Port to newer mingw 2016-12-17 stdint: Fix WINT_MAX to match wint_t on MSVC 2016-12-17 Avoid redefinition errors on MSVC * lib/getopt.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/unistd.in.h: * m4/stdint.m4, m4/unistd_h.m4: Copy from gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. Plus, this commit updates the indenting on copyright notices to match that of gnulib.
24 lines
683 B
Plaintext
24 lines
683 B
Plaintext
# memrchr.m4 serial 10
|
|
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2017 Free Software Foundation,
|
|
dnl 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_MEMRCHR],
|
|
[
|
|
dnl Persuade glibc <string.h> to declare memrchr().
|
|
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
|
|
|
|
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
|
|
AC_CHECK_DECLS_ONCE([memrchr])
|
|
if test $ac_cv_have_decl_memrchr = no; then
|
|
HAVE_DECL_MEMRCHR=0
|
|
fi
|
|
|
|
AC_CHECK_FUNCS([memrchr])
|
|
])
|
|
|
|
# Prerequisites of lib/memrchr.c.
|
|
AC_DEFUN([gl_PREREQ_MEMRCHR], [:])
|