1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "Search pkg-config by AC_CHECK_TOOL [Bug #16909]"

This reverts commit 6006ab8cf9.
AC_CHECK_TOOL does not have REJECT argument.
This commit is contained in:
Nobuyoshi Nakada 2020-05-23 21:20:20 +09:00
parent 6006ab8cf9
commit b722182e47
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -406,7 +406,7 @@ AS_IF([test "$cross_compiling:$ac_cv_prog_DTRACE" = no: -a -n "$ac_tool_prefix"]
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