summaryrefslogtreecommitdiffstats
path: root/korundum
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-07-18 02:36:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-07-18 12:48:58 +0200
commit37c8286f0c03c860167e6c5f34807a9d13e36a6a (patch)
treefd6531f635148557cb5e5f513aafaa2a5d5e8984 /korundum
parent98fd2a511b0216d502dc0de19c04e06c4b2dd1d2 (diff)
downloadtdebindings-37c8286f0c03c860167e6c5f34807a9d13e36a6a.tar.gz
tdebindings-37c8286f0c03c860167e6c5f34807a9d13e36a6a.zip
Added conditions for installing man pages according to parts that are builded.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'korundum')
-rw-r--r--korundum/configure.in.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/korundum/configure.in.in b/korundum/configure.in.in
index c420adc9..f32e1473 100644
--- a/korundum/configure.in.in
+++ b/korundum/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 korundum"
+ BUILD_korundum=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_korundum=true
fi
+AM_CONDITIONAL(BUILD_korundum, $BUILD_korundum)