Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5a2da4ee
Commit
5a2da4ee
authored
Jul 25, 2005
by
Anderson Lizardo
Committed by
Alexandre Julliard
Jul 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed "broken OpenGL setup" configure check, which used to report
false errors on some systems.
parent
8d09a7cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
configure
configure
+10
-9
configure.ac
configure.ac
+7
-6
No files found.
configure
View file @
5a2da4ee
...
...
@@ -8156,15 +8156,6 @@ done
if
test
"x
$with_opengl
"
!=
"xno"
then
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
echo
"
$as_me
: error: /usr/X11R6/lib/libGL.a is present on your system.
This prevents linking to OpenGL. Delete the file and restart configure."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
for
ac_header
in
GL/gl.h GL/glx.h
...
...
@@ -8511,7 +8502,17 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENGL 1
_ACEOF
else
if
test
-f
/usr/X11R6/lib/libGL.a
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
echo
"
$as_me
: error: /usr/X11R6/lib/libGL.a is present on your system.
This prevents linking to OpenGL. Delete the file and restart configure."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
fi
echo
"
$as_me
:
$LINENO
: checking for gluLookAt in -lGLU"
>
&5
echo
$ECHO_N
"checking for gluLookAt in -lGLU...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_lib_GLU_gluLookAt
+set
}
"
=
set
;
then
...
...
configure.ac
View file @
5a2da4ee
...
...
@@ -356,12 +356,6 @@ 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 -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
AC_CHECK_HEADERS(GL/gl.h GL/glx.h)
if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
then
...
...
@@ -388,7 +382,14 @@ This prevents linking to OpenGL. Delete the file and restart configure.])
then
OPENGLFILES='$(OPENGLFILES)'
AC_DEFINE(HAVE_OPENGL, 1, [Define if OpenGL is present on the system])
else
if test -f /usr/X11R6/lib/libGL.a
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
fi
dnl Check for GLU32 library.
AC_CHECK_LIB(GLU,gluLookAt,
[OPENGL_LIBS="$OPENGL_LIBS -lGLU"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment