Allow 'browse-url-emacs' to fetch URL in the selected window
[emacs.git] / m4 / explicit_bzero.m4
blobba0eefeb4f3f1d40d97f2f8f4f715b58c22318bb
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
15     HAVE_EXPLICIT_BZERO=0
16   fi
19 AC_DEFUN([gl_PREREQ_EXPLICIT_BZERO],
21   AC_CHECK_FUNCS([explicit_memset])