summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e66365a)
raw | patch | inline | side by side (parent: e66365a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 22 Sep 2008 05:38:28 +0000 (05:38 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 22 Sep 2008 05:38:28 +0000 (05:38 +0000) |
program/configure.ac | patch | blob | history |
diff --git a/program/configure.ac b/program/configure.ac
index efc2a1c9fd168e9308ebdd018a8a5953346f5d14..124b92792c115b9de9cae5142b6b2c6c89f74d5e 100644 (file)
--- a/program/configure.ac
+++ b/program/configure.ac
fi
fi
+rpref=$prefix
+test "$rpref" = "NONE" && rpref=$ac_default_prefix
dnl pass additional ruby options when generating Makefile from Makefile.PL
AC_ARG_ENABLE(ruby-site-install,
together with rrdtool in $prefix/lib/ruby. You have to
add $prefix/lib/ruby/$ruby_version/$sitearch to you $: variable
for ruby to find the RRD.so file.],
-[RUBY_MAKE_OPTIONS=],[RUBY_MAKE_OPTIONS="sitedir="'$(DESTDIR)'"$prefix/lib/ruby"])
+[RUBY_MAKE_OPTIONS=],[RUBY_MAKE_OPTIONS="sitedir="'$(DESTDIR)'"$rpref/lib/ruby"])
AC_ARG_WITH(ruby-options,