summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-11 16:36:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-11 16:36:04 +0000
commita22b9b09458369dca68d5edc9ae304c484925331 (patch)
tree824e06752b1520cb4721ef8176e148fd8df98723 /configure.in
parent812fc57a9a6140d547214e094807e8ddce621a53 (diff)
* configure.in (DOT, DOXYGEN, PKG_CONFIG): tools running on build
platform, no tool prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 10e9e8155e..23b12dfb17 100644
--- a/configure.in
+++ b/configure.in
@@ -356,13 +356,11 @@ fi
MAKEDIRS="$MKDIR_P"
AC_SUBST(MAKEDIRS)
-AC_CHECK_TOOL(DOT, dot)
-AC_CHECK_TOOL(DOXYGEN, doxygen)
+AC_CHECK_PROG(DOT, dot)
+AC_CHECK_PROG(DOXYGEN, doxygen)
-AC_CHECK_TOOL(PKG_CONFIG, pkg-config)
-if test -n "$PKG_CONFIG"; then
- $PKG_CONFIG --print-errors --version > /dev/null 2>&1 || PKG_CONFIG=
-fi
+AC_CHECK_PROG(PKG_CONFIG, pkg-config, [], [], [],
+ [`$as_dir/$ac_word$ac_exec_ext --print-errors --version > /dev/null 2>&1 || continue`])
# checks for UNIX variants that set C preprocessor variables
AC_USE_SYSTEM_EXTENSIONS