summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 62b064b4..ad297def 100644
--- a/configure.in
+++ b/configure.in
@@ -391,7 +391,9 @@ fi
RFX_CHECK_RUBY
if test "x$RUBY_OK" '!=' "xyes";then
- echo all install uninstall clean: > lib/ruby/Makefile
+ if test -d "lib/ruby/";then
+ echo all install uninstall clean: > lib/ruby/Makefile
+ fi
# fail silently- the most users won't have any need for the
# ruby interface anyway
else