mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
6bd47f4477
This incorporates: 2020-05-03 attribute: new module 2020-04-13 explicit_bzero: improve code style 2020-04-13 explicit_bzero: On native Windows, use SecureZeroMemory 2020-04-13 explicit_bzero: use memset_s() when available 2020-04-04 maint: remove a stray inter-word space * build-aux/config.guess, build-aux/config.sub: * build-aux/gitlog-to-changelog, build-aux/update-copyright: * doc/misc/texinfo.tex, lib/explicit_bzero.c, lib/ieee754.in.h: * lib/nstrftime.c, m4/explicit_bzero.m4, m4/gnulib-common.m4: Copy from Gnulib. * lib/attribute.h: New file, copied from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
24 lines
668 B
Plaintext
24 lines
668 B
Plaintext
dnl Copyright 2017-2020 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_EXPLICIT_BZERO],
|
|
[
|
|
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
|
|
|
|
dnl Persuade glibc <string.h> to declare explicit_bzero.
|
|
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
|
|
|
|
AC_CHECK_FUNCS_ONCE([explicit_bzero])
|
|
if test $ac_cv_func_explicit_bzero = no; then
|
|
HAVE_EXPLICIT_BZERO=0
|
|
fi
|
|
])
|
|
|
|
AC_DEFUN([gl_PREREQ_EXPLICIT_BZERO],
|
|
[
|
|
AC_CHECK_FUNCS([explicit_memset])
|
|
AC_CHECK_FUNCS_ONCE([memset_s])
|
|
])
|