From ef98740d31e9df52f49093fc31f3a58d4f242691 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 9 Nov 2010 12:14:58 +0000 Subject: * configure.in (AC_FUNC_GETPGRP, AC_FUNC_SETPGRP): no need when not used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 808bba8a41..5dede8d33e 100644 --- a/configure.in +++ b/configure.in @@ -986,7 +986,6 @@ main() ac_cv_func_ftello=yes ac_cv_lib_crypt_crypt=no ac_cv_func_getpgrp_void=no - ac_cv_func_setpgrp_void=yes ac_cv_func_memcmp_working=yes ac_cv_lib_dl_dlopen=no rb_cv_binary_elf=no @@ -1510,8 +1509,12 @@ main() fi fi +if test "$ac_cv_func_getpgid" = no; then AC_FUNC_GETPGRP +fi +if test "$ac_cv_func_setpgid:$ac_cv_func_setpgrp" = no:yes; then AC_FUNC_SETPGRP +fi AC_C_BIGENDIAN AC_C_CONST -- cgit v1.2.3