[Patch] [resent] libGL.a test on darwin
Pierre d'Herbemont
stegefin at free.fr
Sat Jun 18 14:48:58 CDT 2005
Alexandre,
You probably missed this fix last time. So here is goes again.
> This patch address the issue when ./configure-ing, on Mac OS X:
> ** /usr/X11R6/lib/libGL.a is present on your system.
> ** This prevents linking to OpenGL. Delete the file and restart
> configure.
>
> I would have used LIBEXT to do that but that would have involved
> some larger code changes, since LIBEXT is defined after. So here is
> a quick fix.
Thanks,
Pierre.
ChangeLog:
- check also for /usr/X11R6/lib/libGL.dylib.
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.365
diff -u -r1.365 configure.ac
--- configure.ac 17 Jun 2005 10:22:46 -0000 1.365
+++ configure.ac 18 Jun 2005 19:44:42 -0000
@@ -353,8 +353,8 @@
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
More information about the wine-patches
mailing list