From d57b6491a31e74aa18094b1d23a8f34c05634d91 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Fri, 18 Jun 2004 13:46:52 +0000
Subject: [PATCH] when --enable-ruby is selected also force explicitlink
 option.

git-svn-id: http://root.cern.ch/svn/root/trunk@9248 27541ba8-7e3a-0410-8455-c3a389f83636
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index cecff174a1d..70b2fc9fcd7 100755
--- a/configure
+++ b/configure
@@ -69,6 +69,7 @@ enable_shadowpw=
 enable_soversion=no
 enable_table=no
 enable_python=no
+enable_ruby=no
 enable_thread=           # must be set explicitely via --enable-thread
 
 #
@@ -1567,6 +1568,9 @@ if test ! "x$enable_ruby" = "xno" ; then
 
     if test "x$rubyincdir" = "x" || test "x$rubylib" = "x"; then
         enable_ruby="no"
+    else
+        # Ruby support requires the explicitlink option
+        enable_explicitlink="yes"
     fi
 fi
 
-- 
GitLab