1109 |
# include <unistd.h> |
# include <unistd.h> |
1110 |
#endif |
#endif |
1111 |
], |
], |
1112 |
[/* If this system has a BSD-style setpgrp, which takes arguments, exit |
[/* If this system has a BSD-style setpgrp which takes arguments, |
1113 |
successfully. */ |
setpgrp(1, 1) will fail with ESRCH and return -1, in that case |
1114 |
exit (setpgrp (1,1) == -1);])], |
exit successfully. */ |
1115 |
|
exit (setpgrp (1,1) == -1 ? 0 : 1);])], |
1116 |
[ac_cv_func_setpgrp_void=no], |
[ac_cv_func_setpgrp_void=no], |
1117 |
[ac_cv_func_setpgrp_void=yes], |
[ac_cv_func_setpgrp_void=yes], |
1118 |
[AC_MSG_ERROR([cannot check setpgrp if cross compiling])])]) |
[AC_MSG_ERROR([cannot check setpgrp if cross compiling])])]) |