Also check for /usr/X11R6/lib/libGL.dylib.
This commit is contained in:
parent
0624e17e7e
commit
009781d4d3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue