Displaying 2 results from an estimated 2 matches for "ac_check_funct".
Did you mean:
ac_check_func
2023 Mar 17
1
[libnbd PATCH v4 3/3] lib/utils: add unit test for async-signal-safe assert()
...ot;header check" too, and indeed it
> does: AC_CHECK_HEADER, AC_CHECK_HEADERS, at
> <https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Generic-Headers.html>.
> We do use AC_CHECK_HEADERS in libnbd.
Autoconf also has a way to write one-off function checks with
AC_CHECK_FUNCTION where you can supply your own #include's specific to
the normal usage of that function (the most robust configure tests are
the ones that mirror actual usage as closely as possible); but
AC_CHECK_FUNCTIONS (with its shell loop) is so much more compact, that
I didn't think it is worth wor...
2023 Mar 16
1
[libnbd PATCH v4 3/3] lib/utils: add unit test for async-signal-safe assert()
On 3/15/23 18:25, Eric Blake wrote:
> On Wed, Mar 15, 2023 at 12:01:57PM +0100, Laszlo Ersek wrote:
>> Don't try to test async-signal-safety, only that
>> NBD_INTERNAL_FORK_SAFE_ASSERT() works similarly to assert():
>>
>> - it prints diagnostics to stderr,
>>
>> - it calls abort().
>>
>> Some unfortunate gymnastics are necessary to avoid