diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-12 08:40:24 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-12 08:40:24 +0000 |
commit | 7776ca930b0b72a95d453481d942c4069d088dc6 (patch) | |
tree | fbd115f2496af3976e0e2bae64ccead351b81544 /configure.in | |
parent | fa5db01644420b903549f69e99767995a62cbc65 (diff) |
* configure.in: add getenv() declaration check.
* dln_find.c: add HAVE_DECL_GETENV test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 75f4ff85dd..3a00250748 100644 --- a/configure.in +++ b/configure.in @@ -1470,6 +1470,8 @@ dnl Check whether we need to define sys_nerr locally AC_CHECK_DECLS([sys_nerr], [], [], [$ac_includes_default @%:@include <errno.h>]) +AC_CHECK_DECLS([getenv]) + AS_CASE(["$target_cpu"], [alpha*|sh4|sh4el|sh4eb], [AS_CASE(["$target_os"::"$GCC"], [*::yes], # gcc |