From 009781d4d31091a6be17212458edb6c40c1cc712 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Mon, 20 Jun 2005 15:52:16 +0000 Subject: [PATCH] Also check for /usr/X11R6/lib/libGL.dylib. --- configure | 2 +- configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 395b668001a..19cda87d524 100755 --- a/configure +++ b/configure @@ -8150,7 +8150,7 @@ done if test "x$with_opengl" != "xno" then - if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so + if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so -a ! -f /usr/X11R6/lib/libGL.dylib then { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system. This prevents linking to OpenGL. Delete the file and restart configure." >&5 diff --git a/configure.ac b/configure.ac index 6bf13445ec8..5d74667e12b 100644 --- a/configure.ac +++ b/configure.ac @@ -353,8 +353,8 @@ then dnl Check for the presence of OpenGL if test "x$with_opengl" != "xno" then - if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so - then + if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so -a ! -f /usr/X11R6/lib/libGL.dylib + then AC_MSG_ERROR([/usr/X11R6/lib/libGL.a is present on your system. This prevents linking to OpenGL. Delete the file and restart configure.]) fi -- 2.11.4.GIT