Configure: fixed posix_spawn() detection with glic 2.30.

In particular, it was previously broken on Ubuntu 19.10 and Fedora 31.
See for details: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2ab5741
This commit is contained in:
Sergey Kandaurov
2019-11-22 14:06:02 +03:00
parent 217914df7c
commit 94a9162baa

View File

@@ -186,8 +186,8 @@ nxt_feature_libs=
nxt_feature_test="#include <spawn.h> nxt_feature_test="#include <spawn.h>
#include <unistd.h> #include <unistd.h>
int main() { int main(int argc, char *argv[]) {
(void) posix_spawn(NULL, NULL, NULL, NULL, NULL, NULL); (void) posix_spawn(NULL, \"\", NULL, NULL, argv, NULL);
return 0; return 0;
}" }"
. auto/feature . auto/feature