[前][次][番号順一覧][スレッド一覧]

ruby-changes:61350

From: Nobuyoshi <ko1@a...>
Date: Sat, 23 May 2020 21:22:00 +0900 (JST)
Subject: [ruby-changes:61350] b722182e47 (master): Revert "Search pkg-config by AC_CHECK_TOOL [Bug #16909]"

https://git.ruby-lang.org/ruby.git/commit/?id=b722182e47

From b722182e479199fc9dfdcacb09652fb9f494aa5d Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 23 May 2020 21:20:20 +0900
Subject: Revert "Search pkg-config by AC_CHECK_TOOL [Bug #16909]"

This reverts commit 6006ab8cf93a0e06d9d65213eff3117965c9bd0c.
AC_CHECK_TOOL does not have REJECT argument.

diff --git a/configure.ac b/configure.ac
index ba4b471..5993cf5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -406,7 +406,7 @@ AS_IF([test "$cross_compiling:$ac_cv_prog_DTRACE" = no: -a -n "$ac_tool_prefix"] https://github.com/ruby/ruby/blob/trunk/configure.ac#L406
 AC_CHECK_PROGS(DOT, dot)
 AC_CHECK_PROGS(DOXYGEN, doxygen)
 
-AC_CHECK_TOOL(PKG_CONFIG, pkg-config, [pkg-config], [], [],
+AC_CHECK_PROG(PKG_CONFIG, pkg-config, [pkg-config], [], [],
     [`"$as_dir/$ac_word$ac_exec_ext" --print-errors --version > /dev/null 2>&1 || echo "$as_dir/$ac_word$ac_exec_ext"`])
 
 # checks for UNIX variants that set C preprocessor variables
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]