summaryrefslogtreecommitdiffstats
path: root/qtruby/configure.in.in
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-07-18 02:36:40 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-07-18 19:59:53 +0900
commitf3d12ac00bf3d7368b69087bdf199b9929aa50d8 (patch)
treec4b8c3147ab7232754534a7e277aff6eb321849c /qtruby/configure.in.in
parent7f2b95bd6dbf83c927a8ddf46ea67c91726dfe1d (diff)
downloadtdebindings-f3d12ac00bf3d7368b69087bdf199b9929aa50d8.tar.gz
tdebindings-f3d12ac00bf3d7368b69087bdf199b9929aa50d8.zip
Added conditions for installing man pages according to parts that are builded.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 37c8286f0c03c860167e6c5f34807a9d13e36a6a)
Diffstat (limited to 'qtruby/configure.in.in')
-rw-r--r--qtruby/configure.in.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtruby/configure.in.in b/qtruby/configure.in.in
index 84ad88ec..bc32a89d 100644
--- a/qtruby/configure.in.in
+++ b/qtruby/configure.in.in
@@ -2,6 +2,7 @@ AC_CHECK_PROG(RUBY_EXECUTABLE, ruby, ruby)
if test -z "RUBY_EXECUTABLE"; then
DO_NOT_COMPILE="$DO_NOT_COMPILE qtruby"
+ BUILD_qtruby=false
else
RUBY_MAJOR=`${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG.fetch(%q(MAJOR))"`
RUBY_MINOR=`${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG.fetch(%q(MINOR))"`
@@ -87,4 +88,6 @@ else
AC_SUBST(RUBY_INCLUDEDIR)
AC_SUBST(RUBY_LIBRUBYARG)
AC_SUBST(RUBY_CFLAGS)
+ BUILD_qtruby=true
fi
+AM_CONDITIONAL(BUILD_qtruby, $BUILD_qtruby)