Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b8074991
Commit
b8074991
authored
Nov 21, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed OpenGL thread safety check.
Renamed option to --without-opengl for consistency.
parent
28a632a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
99 deletions
+12
-99
configure
configure
+8
-68
configure.ac
configure.ac
+4
-31
No files found.
configure
View file @
b8074991
...
...
@@ -849,12 +849,11 @@ Optional Features:
--disable-win16 do not include Win16 support
--disable-debug compile out all debugging messages
--disable-trace compile out TRACE messages
--enable-opengl force usage of OpenGL even if the latter is
thread-safe via pthread
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-opengl do not use OpenGL
--without-curses do not use curses
--with-wine-tools=<dir> use Wine tools from directory <dir>
--with-x use the X Window System
...
...
@@ -1302,9 +1301,11 @@ if test "${enable_trace+set}" = set; then
enableval
=
"
$enable_trace
"
fi
;
# Check whether --enable-opengl or --disable-opengl was given.
if
test
"
${
enable_opengl
+set
}
"
=
set
;
then
enableval
=
"
$enable_opengl
"
# Check whether --with-opengl or --without-opengl was given.
if
test
"
${
with_opengl
+set
}
"
=
set
;
then
withval
=
"
$with_opengl
"
fi
;
...
...
@@ -6702,7 +6703,7 @@ fi
done
if
test
"x
$
enable
_opengl
"
!=
"xno"
if
test
"x
$
with
_opengl
"
!=
"xno"
then
if
test
-f
/usr/X11R6/lib/libGL.a
-a
!
-f
/usr/X11R6/lib/libGL.so
then
...
...
@@ -6919,51 +6920,7 @@ fi
echo
"
$as_me
:
$LINENO
: result:
$wine_cv_opengl_version_OK
"
>
&5
echo
"
${
ECHO_T
}
$wine_cv_opengl_version_OK
"
>
&6
echo
"
$as_me
:
$LINENO
: checking for thread-safe OpenGL version"
>
&5
echo
$ECHO_N
"checking for thread-safe OpenGL version...
$ECHO_C
"
>
&6
if
test
"
${
wine_cv_opengl_version_threadsafe
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
saved_libs
=
$LIBS
LIBS
=
"
$X_LIBS
-lGL"
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
#include "confdefs.h"
int
main ()
{
pthread_getspecific();
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
(
eval
$ac_link
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'test -s conftest$ac_exeext'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
wine_cv_opengl_version_threadsafe
=
"yes"
else
echo
"
$as_me
: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
wine_cv_opengl_version_threadsafe
=
"no"
fi
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$saved_libs
fi
echo
"
$as_me
:
$LINENO
: result:
$wine_cv_opengl_version_threadsafe
"
>
&5
echo
"
${
ECHO_T
}
$wine_cv_opengl_version_threadsafe
"
>
&6
if
test
"
$wine_cv_opengl_version_OK
"
=
"yes"
-a
\(
"
$wine_cv_opengl_version_threadsafe
"
=
"no"
-o
"x
$enable_opengl
"
=
"xyes"
\)
if
test
"
$wine_cv_opengl_version_OK
"
=
"yes"
then
echo
"
$as_me
:
$LINENO
: checking for glXCreateContext in -lGL"
>
&5
echo
$ECHO_N
"checking for glXCreateContext in -lGL...
$ECHO_C
"
>
&6
...
...
@@ -15200,23 +15157,6 @@ then
echo
"*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
fi
if
test
"
$wine_cv_opengl_version_threadsafe
"
=
"yes"
-a
"x
$enable_opengl
"
=
"x"
then
echo
echo
"*** Warning: the OpenGL version you have installed relies on libpthread for"
echo
"*** thread-safety. To prevent crashes, OpenGL support has been disabled."
echo
"*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
echo
"*** start configure with '--enable-opengl' to force OpenGL support."
fi
if
test
"
$wine_cv_opengl_version_threadsafe
"
=
"yes"
-a
"x
$enable_opengl
"
=
"xyes"
then
echo
echo
"*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
echo
"*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
echo
"*** support before reporting bugs."
fi
if
test
"
$wine_cv_msg_freetype
"
=
"yes"
then
echo
...
...
configure.ac
View file @
b8074991
...
...
@@ -18,7 +18,8 @@ AC_SUBST(LIBEXT,"so")
AC_ARG_ENABLE(win16, AC_HELP_STRING([--disable-win16],[do not include Win16 support]))
AC_ARG_ENABLE(debug, AC_HELP_STRING([--disable-debug],[compile out all debugging messages]))
AC_ARG_ENABLE(trace, AC_HELP_STRING([--disable-trace],[compile out TRACE messages]))
AC_ARG_ENABLE(opengl,AC_HELP_STRING([--enable-opengl],[force usage of OpenGL even if the latter is thread-safe via pthread]))
AC_ARG_WITH(opengl, AC_HELP_STRING([--without-opengl],[do not use OpenGL]))
AC_ARG_WITH(curses, AC_HELP_STRING([--without-curses],[do not use curses]))
AC_ARG_WITH(wine-tools,AC_HELP_STRING([--with-wine-tools=<dir>],[use Wine tools from directory <dir>]))
...
...
@@ -245,7 +246,7 @@ then
) dnl *** End of X11/Xlib.h check
dnl Check for the presence of OpenGL
if test "x$
enable
_opengl" != "xno"
if test "x$
with
_opengl" != "xno"
then
if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
then
...
...
@@ -267,18 +268,7 @@ This prevents linking to OpenGL. Delete the file and restart configure.])
)
)
dnl Check for the thread-safety of the OpenGL library
AC_CACHE_CHECK([for thread-safe OpenGL version],
wine_cv_opengl_version_threadsafe,
[saved_libs=$LIBS
LIBS="$X_LIBS -lGL"
AC_TRY_LINK([],[pthread_getspecific();],
[wine_cv_opengl_version_threadsafe="yes"],
[wine_cv_opengl_version_threadsafe="no"])
LIBS=$saved_libs]
)
if test "$wine_cv_opengl_version_OK" = "yes" -a \( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \)
if test "$wine_cv_opengl_version_OK" = "yes"
then
dnl Check for the presence of the library
AC_CHECK_LIB(GL,glXCreateContext,
...
...
@@ -1584,23 +1574,6 @@ then
echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
fi
if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
then
echo
echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
echo "*** thread-safety. To prevent crashes, OpenGL support has been disabled."
echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
echo "*** start configure with '--enable-opengl' to force OpenGL support."
fi
if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
then
echo
echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
echo "*** support before reporting bugs."
fi
if test "$wine_cv_msg_freetype" = "yes"
then
echo
...
...
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