asyncsafe-spin: Use GCC extended asm syntax for SunStudio 12 compiler.
[gnulib.git] / m4 / getentropy.m4
blob596544b2ebefdde7cc8207848aefadb9ec81a1de
1 # getentropy.m4
2 dnl Copyright 2020 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 dnl Written by Paul Eggert.
9 AC_DEFUN([gl_FUNC_GETENTROPY],
11   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
12   AC_CHECK_FUNCS_ONCE([getentropy])
13   if test $ac_cv_func_getentropy = no; then
14     HAVE_GETENTROPY=0
15   fi