1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[meson] check getgid and getegid

This commit is contained in:
Witold Filipczyk 2024-04-19 11:14:18 +02:00
parent 8e6a480afd
commit 397294bb28

View File

@ -879,6 +879,14 @@ if compiler.has_function('unsetenv', prefix : '#include <stdlib.h>')
conf_data.set('HAVE_UNSETENV', 1)
endif
if compiler.has_function('getegid', prefix : '#include <unistd.h>')
conf_data.set('HAVE_GETEGID', 1)
endif
if compiler.has_function('getgid', prefix : '#include <unistd.h>')
conf_data.set('HAVE_GETGID', 1)
endif
if compiler.has_function('getuid', prefix : '#include <unistd.h>')
conf_data.set('HAVE_GETUID', 1)
endif