diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-03-08 11:35:06 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:50 +0100 |
commit | f97d784f172a10e0444ad93bb536ee0428613aa7 (patch) | |
tree | 085a0a2d5a5a84af4724d462014349d8c1f3473c /configure.ac | |
parent | 759f94965454a043285813cf4fd8b83944587973 (diff) | |
download | rtmux-f97d784f172a10e0444ad93bb536ee0428613aa7.tar.gz rtmux-f97d784f172a10e0444ad93bb536ee0428613aa7.tar.bz2 rtmux-f97d784f172a10e0444ad93bb536ee0428613aa7.zip |
Use getpeerucred if available (not tested).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6f607b0b..a9c035d7 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,7 @@ AC_CHECK_HEADERS([ \ sys/dir.h \ sys/ndir.h \ sys/tree.h \ + ucred.h \ util.h \ ]) @@ -146,7 +147,8 @@ AC_CHECK_FUNCS([ \ flock \ prctl \ proc_pidinfo \ - sysconf + getpeerucred \ + sysconf \ ]) # Check for functions with a compatibility implementation. @@ -170,7 +172,7 @@ AC_REPLACE_FUNCS([ \ strlcat \ strlcpy \ strndup \ - strsep + strsep \ ]) AC_FUNC_STRNLEN |