diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-09 12:14:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-09 12:14:58 +0000 |
commit | ef98740d31e9df52f49093fc31f3a58d4f242691 (patch) | |
tree | 47b4525beb8cc17ecd730c143b6c4eddfa97e5b2 /configure.in | |
parent | e9c4a44f238153114d91b5996bc8cb04e7a573a0 (diff) | |
download | ruby-ef98740d31e9df52f49093fc31f3a58d4f242691.tar.gz |
* 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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
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 |