aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-18 07:52:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-18 07:52:58 +0000
commit855e7649a8ef9835cb461ece4b25a525ac1916fa (patch)
treebc0052535baec2c06b1ac03b5e7095a81c35e4a6
parent754fb5b3bb8196f357cb0cae025688e8dbb4f078 (diff)
downloadruby-855e7649a8ef9835cb461ece4b25a525ac1916fa.tar.gz
configure.in: use newer libtool only
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index a9cdc01108..82c69993a3 100644
--- a/configure.in
+++ b/configure.in
@@ -582,9 +582,11 @@ AS_CASE(["$target_cpu-$target_os"], [[i[3-6]86*]], [
])])
AS_CASE(["$target_os"], [darwin*], [
+if libtool 2>&1 | grep no_warning_for_no_symbols > /dev/null; then
ac_cv_prog_ac_ct_RANLIB=:
ac_cv_prog_ac_ct_AR='libtool -static'
rb_cv_arflags='-no_warning_for_no_symbols -o'
+fi
])
AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_CHECK_TOOL(AR, ar)