From 6e3f33592810c0045fea6583da21111d57083327 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Mon, 28 Apr 2003 10:35:32 +0000
Subject: [PATCH] check always for shared libX11. Fixes problem when called
 with --disable-shared.

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

diff --git a/configure b/configure
index 4e6d8db6cc0..49e8ae4ef35 100755
--- a/configure
+++ b/configure
@@ -610,10 +610,10 @@ fi
 ### echo %%% X11 and XPM Library - Mandatory lib on Unix
 #
 # Mandatory test, must succeed
-# Check for X11 and Xpm library
+# Check for X11 and Xpm library (for X11 use always shared lib)
 #
 if test ! "$platform" = "win32"; then
-    check_library "libX11" "$enable_shared" "$x11libdir" \
+    check_library "libX11" "yes" "$x11libdir" \
 	/usr/lib /usr/X11R6/lib /usr/lib/X11 /usr/openwin/lib \
 	/usr/local/lib /usr/local/lib/X11 /use/local/X11R6/lib \
 	/usr/X11/lib /usr/lib32 /usr/lib/X11R5
-- 
GitLab