Also check for /usr/X11R6/lib/libGL.dylib.

This commit is contained in:
Pierre d'Herbemont 2005-06-20 15:52:16 +00:00 committed by Alexandre Julliard
parent 0624e17e7e
commit 009781d4d3
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -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

View File

@ -353,7 +353,7 @@ 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
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.])