; Typo fixes, mostly repeated words
[emacs.git] / m4 / explicit_bzero.m4
blobf9dc678207a2402d19e277bb4a19d307c5c50ef3
1 dnl Copyright 2017 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
15     HAVE_EXPLICIT_BZERO=0
16   fi
19 AC_DEFUN([gl_PREREQ_EXPLICIT_BZERO],
21   AC_CHECK_FUNCS([explicit_memset])