Add getgrouplist() detection functionality
Defines the macro HAVE_GETGROUPLIST if getgrouplist() is available, and defines the type passed to the GID array as GETGROUPS_T
This commit is contained in:
parent
89ceaf0c52
commit
84a0befd30
@ -217,7 +217,10 @@ AM_COND_IF([DEVEL_DEBUG],
|
||||
AC_SEARCH_LIBS([setusercontext], [util])
|
||||
|
||||
# Define HAVE_XXXXX macros for some system functions
|
||||
AC_CHECK_FUNCS([setusercontext])
|
||||
AC_CHECK_FUNCS([setusercontext getgrouplist])
|
||||
|
||||
# The type used by getgrouplist() is the same type used by getgroups()
|
||||
AC_TYPE_GETGROUPS
|
||||
|
||||
# Don't fail without working nasm if rfxcodec is not enabled
|
||||
if test "x$enable_rfxcodec" != xyes; then
|
||||
|
Loading…
Reference in New Issue
Block a user