diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-08-09 17:45:37 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-08-10 10:11:24 +0200 |
commit | ce3cec7f8742254b8627b9db48973b81e91cbfc8 (patch) | |
tree | e818b6bf9a0f73cf5435b295771bd2c6b34c92e2 /configure.ac | |
parent | 50f8906e63c9413a7687bab6608496d83c29a222 (diff) |
common: Prefer __register_atfork() to pthread_atfork() if possible
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d4ff1ad..24e9519 100644 --- a/configure.ac +++ b/configure.ac @@ -123,6 +123,8 @@ if test "$os_unix" = "yes"; then AC_CHECK_FUNCS([setenv]) AC_CHECK_FUNCS([getpeereid]) AC_CHECK_FUNCS([getpeerucred]) + AC_CHECK_FUNCS([__register_atfork]) + AC_CHECK_DECLS([__register_atfork]) # Check if issetugid() is available and has compatible behavior with OpenBSD AC_CHECK_FUNCS([issetugid], [ |