aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2015-03-08 16:39:07 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2015-03-16 19:01:40 +0100
commit011ce3b82449710812ae8d27c9bf4af35173e3d8 (patch)
tree60724c8051e90f12ceea9d8dd8e08332f9e8ee51
parent1ec43ea1fe74776c24e8b76716b11fe5477734ab (diff)
downloadpaludis-011ce3b82449710812ae8d27c9bf4af35173e3d8.tar.gz
paludis-011ce3b82449710812ae8d27c9bf4af35173e3d8.tar.xz
configure.ac: Use ${PKG_CONFIG} instead of hard coding it
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index dbc07c6..b14af64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -733,8 +733,8 @@ if test "x$enable_ruby" = "xyes" ; then
esac
PKG_CHECK_MODULES(RUBY, [ruby-$RUBY_VERSION], [
- RUBY=`pkg-config --variable=ruby ruby-$RUBY_VERSION`
- RUBY_SITEARCHDIR=`pkg-config --variable=sitearchdir ruby-$RUBY_VERSION`
+ RUBY=`${PKG_CONFIG} --variable=ruby ruby-$RUBY_VERSION`
+ RUBY_SITEARCHDIR=`${PKG_CONFIG} --variable=sitearchdir ruby-$RUBY_VERSION`
], [
AC_MSG_ERROR([Ruby $RUBY_VERSION is required for --enable-ruby])
])