1 dnl Copyright 2017-2018 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
6 AC_DEFUN([gl_FUNC_EXPLICIT_BZERO],
8 AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
10 dnl Persuade glibc <string.h> to declare explicit_bzero.
11 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
13 AC_CHECK_FUNCS_ONCE([explicit_bzero])
14 if test $ac_cv_func_explicit_bzero = no; then
19 AC_DEFUN([gl_PREREQ_EXPLICIT_BZERO],
21 AC_CHECK_FUNCS([explicit_memset])