From c2de8fcafae0ece6d62c419251006e6dd3481a7a Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Fri, 9 Mar 2012 08:43:25 +0000
Subject: [PATCH] add back special libGL linking case for MacOS X 10.5.

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

diff --git a/configure b/configure
index ff8e601312b..7c57089614e 100755
--- a/configure
+++ b/configure
@@ -2642,6 +2642,11 @@ if test ! "x$enable_opengl" = "xno" && test ! "x$platform" = "xwin32" ; then
     opengllib=$found_lib
     opengllibdir=$found_dir
 
+    if test ! "x$macosx105" = "x" && test "x$macosx106" = "x" ; then
+	# Mac OS X 10.5 problem
+	opengllib="-dylib_file /usr/X11R6/lib/libGL.dylib:/usr/X11R6/lib/libGL.dylib"
+    fi
+
     check_library "libGLU libMesaGLU" "$enable_shared" \
         "$keep" $opengllibdirs
     openglulib=$found_lib
-- 
GitLab