diff options
| author | Alexander Barton <alex@barton.de> | 2015-06-06 22:19:47 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2015-06-06 22:19:47 +0200 |
| commit | 2fc61ce8a6a6c2ac8652b8cea33d57acd50681c2 (patch) | |
| tree | 5f64ec05deff17924a5d8d34e5ef0fd218156651 /configure.ng | |
| parent | 5c48d7e9c7f0181772c14b133030a3c0e978fdc5 (diff) | |
| download | ngircd-2fc61ce8a6a6c2ac8652b8cea33d57acd50681c2.tar.gz ngircd-2fc61ce8a6a6c2ac8652b8cea33d57acd50681c2.zip | |
Make setgroups(3) function optional
For example, Interix is missing this function, which prevented ngIRCd to build on this platform. When setgroups(3) isn't available, a warning message is issued when ngIRCd starts up.
Diffstat (limited to 'configure.ng')
| -rw-r--r-- | configure.ng | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ng b/configure.ng index bd40694f..34094a48 100644 --- a/configure.ng +++ b/configure.ng @@ -221,8 +221,8 @@ AC_CHECK_FUNCS([ \ # Optional functions AC_CHECK_FUNCS_ONCE([ arc4random arc4random_stir gai_strerror getnameinfo inet_aton \ - sigaction sigprocmask snprintf vsnprintf strdup strndup strlcpy strlcat \ - strtok_r unsetenv waitpid]) + setgroups sigaction sigprocmask snprintf strdup strlcat strlcpy \ + strndup strtok_r unsetenv vsnprintf waitpid]) WORKING_GETADDRINFO |