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
d94475bd
Commit
d94475bd
authored
Sep 20, 1999
by
Lionel Ulmer
Committed by
Alexandre Julliard
Sep 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the possibility to use DGA 2.0.
parent
26e1e714
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
536 additions
and
162 deletions
+536
-162
configure
configure
+200
-157
configure.in
configure.in
+2
-1
acconfig.h
include/acconfig.h
+3
-0
config.h.in
include/config.h.in
+3
-0
ts_xf86dga2.h
include/ts_xf86dga2.h
+44
-0
make_X11wrappers
tools/make_X11wrappers
+63
-4
Makefile.in
tsx11/Makefile.in
+1
-0
X11_calls
tsx11/X11_calls
+18
-0
ts_xf86dga2.c
tsx11/ts_xf86dga2.c
+202
-0
No files found.
configure
View file @
d94475bd
...
...
@@ -2935,8 +2935,51 @@ done
if
test
"
$ac_cv_header_X11_Xlib_h
"
=
"yes"
-a
"
$ac_cv_header_X11_extensions_xf86dga_h
"
=
"yes"
then
echo
$ac_n
"checking for XDGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
"configure:2940: checking for XDGAQueryExtension in -lXxf86dga"
>
&5
ac_lib_var
=
`
echo
Xxf86dga
'_'
XDGAQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2948 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XDGAQueryExtension();
int main() {
XDGAQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:2959:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=no"
fi
rm
-f
conftest
*
LIBS
=
"
$ac_save_LIBS
"
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LIBXXF86DGA2 1
EOF
X_PRE_LIBS
=
"
$X_PRE_LIBS
-lXxf86dga"
else
echo
"
$ac_t
""no"
1>&6
fi
echo
$ac_n
"checking for XF86DGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
"configure:29
40
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
echo
"configure:29
83
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
ac_lib_var
=
`
echo
Xxf86dga
'_'
XF86DGAQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2944,7 +2987,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
48
"configure"
#line 29
91
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2955,7 +2998,7 @@ int main() {
XF86DGAQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:
2959
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:
3002
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2984,17 +3027,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:
2988
: checking for
$ac_hdr
"
>
&5
echo
"configure:
3031
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
2993
"configure"
#line
3036
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:
2998
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:
3041
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3023,7 +3066,7 @@ done
if
test
"
$ac_cv_header_X11_Xlib_h
"
=
"yes"
-a
"
$ac_cv_header_X11_extensions_xf86vmode_h
"
=
"yes"
then
echo
$ac_n
"checking for XF86VidModeQueryExtension in -lXxf86vm""...
$ac_c
"
1>&6
echo
"configure:30
27
: checking for XF86VidModeQueryExtension in -lXxf86vm"
>
&5
echo
"configure:30
70
: checking for XF86VidModeQueryExtension in -lXxf86vm"
>
&5
ac_lib_var
=
`
echo
Xxf86vm
'_'
XF86VidModeQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3031,7 +3074,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXxf86vm
$X_LIBS
-lXext -lX11
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
35
"configure"
#line 30
78
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3042,7 +3085,7 @@ int main() {
XF86VidModeQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:30
46
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:30
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3071,17 +3114,17 @@ fi
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
075
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
118
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
080
"configure"
#line 3
123
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
085
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
128
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3110,19 +3153,19 @@ done
if
test
"
$ac_cv_header_GL_gl_h
"
=
"yes"
-a
"
$ac_cv_header_GL_glx_h
"
=
"yes"
then
echo
$ac_n
"checking "
for
up-to-date Mesa version
"""...
$ac_c
"
1>&6
echo
"configure:31
14
: checking "
for
up-to-date Mesa version
""
>
&5
echo
"configure:31
57
: checking "
for
up-to-date Mesa version
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_mesa_version_OK
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
19
"configure"
#line 31
62
"configure"
#include "confdefs.h"
#include <GL/gl.h>
int main() {
GLenum test = GL_UNSIGNED_SHORT_5_6_5;
; return 0; }
EOF
if
{
(
eval echo
configure:31
26
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_mesa_version_OK
=
"yes"
else
...
...
@@ -3141,7 +3184,7 @@ echo "$ac_t""$wine_cv_mesa_version_OK" 1>&6
if
test
"
$wine_cv_mesa_version_OK
"
=
"yes"
then
echo
$ac_n
"checking for glXCreateContext in -lGL""...
$ac_c
"
1>&6
echo
"configure:31
45
: checking for glXCreateContext in -lGL"
>
&5
echo
"configure:31
88
: checking for glXCreateContext in -lGL"
>
&5
ac_lib_var
=
`
echo
GL
'_'
glXCreateContext |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3149,7 +3192,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
53
"configure"
#line 31
96
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3160,7 +3203,7 @@ int main() {
glXCreateContext()
; return 0; }
EOF
if
{
(
eval echo
configure:3
164
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
207
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3186,7 +3229,7 @@ fi
if
test
"
$ac_cv_lib_GL_glXCreateContext
"
=
"no"
then
echo
$ac_n
"checking for glXCreateContext in -lMesaGL""...
$ac_c
"
1>&6
echo
"configure:3
190
: checking for glXCreateContext in -lMesaGL"
>
&5
echo
"configure:3
233
: checking for glXCreateContext in -lMesaGL"
>
&5
ac_lib_var
=
`
echo
MesaGL
'_'
glXCreateContext |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3194,7 +3237,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lMesaGL
$X_LIBS
-lXext -lX11 -lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
198
"configure"
#line 3
241
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3205,7 +3248,7 @@ int main() {
glXCreateContext()
; return 0; }
EOF
if
{
(
eval echo
configure:32
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:32
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3243,17 +3286,17 @@ for ac_hdr in ncurses.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:32
47
: checking for
$ac_hdr
"
>
&5
echo
"configure:32
90
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
52
"configure"
#line 32
95
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
257
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
300
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3282,7 +3325,7 @@ done
if
test
"
$ac_cv_header_ncurses_h
"
=
"yes"
then
echo
$ac_n
"checking for waddch in -lncurses""...
$ac_c
"
1>&6
echo
"configure:3
286
: checking for waddch in -lncurses"
>
&5
echo
"configure:3
329
: checking for waddch in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
waddch |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3290,7 +3333,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
294
"configure"
#line 3
337
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3301,7 +3344,7 @@ int main() {
waddch()
; return 0; }
EOF
if
{
(
eval echo
configure:33
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:33
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3332,7 +3375,7 @@ fi
if
test
"
$ac_cv_lib_ncurses_waddch
"
=
"yes"
then
echo
$ac_n
"checking for resizeterm in -lncurses""...
$ac_c
"
1>&6
echo
"configure:33
36
: checking for resizeterm in -lncurses"
>
&5
echo
"configure:33
79
: checking for resizeterm in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
resizeterm |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3340,7 +3383,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
44
"configure"
#line 33
87
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3351,7 +3394,7 @@ int main() {
resizeterm()
; return 0; }
EOF
if
{
(
eval echo
configure:33
55
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:33
98
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3375,7 +3418,7 @@ else
fi
echo
$ac_n
"checking for getbkgd in -lncurses""...
$ac_c
"
1>&6
echo
"configure:3
379
: checking for getbkgd in -lncurses"
>
&5
echo
"configure:3
422
: checking for getbkgd in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
getbkgd |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3383,7 +3426,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
387
"configure"
#line 3
430
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3394,7 +3437,7 @@ int main() {
getbkgd()
; return 0; }
EOF
if
{
(
eval echo
configure:3
398
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
441
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3422,17 +3465,17 @@ else
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:34
26
: checking for
$ac_hdr
"
>
&5
echo
"configure:34
69
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
31
"configure"
#line 34
74
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:34
36
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:34
79
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3461,7 +3504,7 @@ done
if
test
"
$ac_cv_header_curses_h
"
=
"yes"
then
echo
$ac_n
"checking for waddch in -lcurses""...
$ac_c
"
1>&6
echo
"configure:3
465
: checking for waddch in -lcurses"
>
&5
echo
"configure:3
508
: checking for waddch in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
waddch |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3469,7 +3512,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
473
"configure"
#line 3
516
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3480,7 +3523,7 @@ int main() {
waddch()
; return 0; }
EOF
if
{
(
eval echo
configure:3
484
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
527
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3508,7 +3551,7 @@ else
fi
echo
$ac_n
"checking for resizeterm in -lcurses""...
$ac_c
"
1>&6
echo
"configure:35
12
: checking for resizeterm in -lcurses"
>
&5
echo
"configure:35
55
: checking for resizeterm in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
resizeterm |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3516,7 +3559,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
20
"configure"
#line 35
63
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3527,7 +3570,7 @@ int main() {
resizeterm()
; return 0; }
EOF
if
{
(
eval echo
configure:35
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:35
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3551,7 +3594,7 @@ else
fi
echo
$ac_n
"checking for getbkgd in -lcurses""...
$ac_c
"
1>&6
echo
"configure:35
55
: checking for getbkgd in -lcurses"
>
&5
echo
"configure:35
98
: checking for getbkgd in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
getbkgd |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3559,7 +3602,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
563
"configure"
#line 3
606
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3570,7 +3613,7 @@ int main() {
getbkgd()
; return 0; }
EOF
if
{
(
eval echo
configure:3
574
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
617
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3597,12 +3640,12 @@ fi
fi
echo
$ac_n
"checking "
for
GNU style IPX support
"""...
$ac_c
"
1>&6
echo
"configure:36
01
: checking "
for
GNU style IPX support
""
>
&5
echo
"configure:36
44
: checking "
for
GNU style IPX support
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_gnu
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
06
"configure"
#line 36
49
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <netipx/ipx.h>
...
...
@@ -3610,7 +3653,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:36
14
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:36
57
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_IPX_GNU 1
...
...
@@ -3632,12 +3675,12 @@ echo "$ac_t""$ac_cv_c_ipx_gnu" 1>&6
if
test
"
$ac_cv_c_ipx_gnu
"
=
"no"
then
echo
$ac_n
"checking "
for
linux style IPX support
"""...
$ac_c
"
1>&6
echo
"configure:36
36
: checking "
for
linux style IPX support
""
>
&5
echo
"configure:36
79
: checking "
for
linux style IPX support
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_linux
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
41
"configure"
#line 36
84
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <asm/types.h>
...
...
@@ -3646,7 +3689,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:36
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:36
93
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_IPX_LINUX 1
...
...
@@ -3670,17 +3713,17 @@ for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
674
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
717
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
679
"configure"
#line 3
722
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
684
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
727
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3708,12 +3751,12 @@ done
echo
$ac_n
"checking "
for
Open Sound System
"""...
$ac_c
"
1>&6
echo
"configure:37
12
: checking "
for
Open Sound System
""
>
&5
echo
"configure:37
55
: checking "
for
Open Sound System
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
17
"configure"
#line 37
60
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -3734,7 +3777,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:37
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:37
81
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem
=
"yes"
else
...
...
@@ -3757,12 +3800,12 @@ EOF
fi
echo
$ac_n
"checking "
for
Open Sound System/MIDI interface
"""...
$ac_c
"
1>&6
echo
"configure:3
761
: checking "
for
Open Sound System/MIDI interface
""
>
&5
echo
"configure:3
804
: checking "
for
Open Sound System/MIDI interface
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem_midi
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
766
"configure"
#line 3
809
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -3783,7 +3826,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:3
787
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
830
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem_midi
=
"yes"
else
...
...
@@ -3812,7 +3855,7 @@ if test "x${GCC}" = "xyes"
then
CFLAGS
=
"
$CFLAGS
-Wall"
echo
$ac_n
"checking "
for
gcc strength-reduce bug
"""...
$ac_c
"
1>&6
echo
"configure:38
16
: checking "
for
gcc strength-reduce bug
""
>
&5
echo
"configure:38
59
: checking "
for
gcc strength-reduce bug
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_gcc_strength_bug
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3820,7 +3863,7 @@ else
ac_cv_c_gcc_strength_bug
=
"yes"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
24
"configure"
#line 38
67
"configure"
#include "confdefs.h"
int main(void) {
...
...
@@ -3831,7 +3874,7 @@ int main(void) {
exit( Array[1] != -2 );
}
EOF
if
{
(
eval echo
configure:38
35
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:38
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_gcc_strength_bug
=
"no"
else
...
...
@@ -3854,7 +3897,7 @@ fi
echo
$ac_n
"checking "
whether external symbols need an underscore prefix
"""...
$ac_c
"
1>&6
echo
"configure:3
858
: checking "
whether external symbols need an underscore prefix
""
>
&5
echo
"configure:3
901
: checking "
whether external symbols need an underscore prefix
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_extern_prefix
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3866,14 +3909,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
870
"configure"
#line 3
913
"configure"
#include "confdefs.h"
extern int ac_test;
int main() {
if (ac_test) return 1
; return 0; }
EOF
if
{
(
eval echo
configure:3
877
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
920
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_extern_prefix
=
"yes"
else
...
...
@@ -3897,7 +3940,7 @@ fi
echo
$ac_n
"checking "
whether assembler accepts .string
"""...
$ac_c
"
1>&6
echo
"configure:39
01
: checking "
whether assembler accepts .string
""
>
&5
echo
"configure:39
44
: checking "
whether assembler accepts .string
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_asm_string
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3907,14 +3950,14 @@ cat > conftest_asm.s <<EOF
.string "test"
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
11
"configure"
#line 39
54
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:39
18
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:39
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_asm_string
=
"yes"
else
...
...
@@ -3943,21 +3986,21 @@ LDSHARED=""
if
test
"
$LIB_TARGET
"
=
"libwine.so.1.0"
then
echo
$ac_n
"checking "
whether we can build a Linux dll
"""...
$ac_c
"
1>&6
echo
"configure:39
47
: checking "
whether we can build a Linux dll
""
>
&5
echo
"configure:39
90
: checking "
whether we can build a Linux dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_linux
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -shared -Wl,-soname,conftest.so.1.0"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
54
"configure"
#line 39
97
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:
3961
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:
4004
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_dll_linux
=
"yes"
else
...
...
@@ -3979,21 +4022,21 @@ echo "$ac_t""$ac_cv_c_dll_linux" 1>&6
LDSHARED
=
"
\$
(CC) -shared -Wl,-soname,libwine.so"
else
echo
$ac_n
"checking "
whether we can build a UnixWare dll
"""...
$ac_c
"
1>&6
echo
"configure:
3983
: checking "
whether we can build a UnixWare dll
""
>
&5
echo
"configure:
4026
: checking "
whether we can build a UnixWare dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_unixware
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -Wl,-G,conftest.so.1.0"
cat
>
conftest.
$ac_ext
<<
EOF
#line
3990
"configure"
#line
4033
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:
3997
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:
4040
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_dll_unixware
=
"yes"
else
...
...
@@ -4015,21 +4058,21 @@ echo "$ac_t""$ac_cv_c_dll_unixware" 1>&6
LDSHARED
=
"
\$
(CC) -Wl,-G,-h,/usr/local/lib/libwine.so"
else
echo
$ac_n
"checking "
whether we can build a NetBSD dll
"""...
$ac_c
"
1>&6
echo
"configure:40
19
: checking "
whether we can build a NetBSD dll
""
>
&5
echo
"configure:40
62
: checking "
whether we can build a NetBSD dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_netbsd
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -Bshareable -Bforcearchive"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
26
"configure"
#line 40
69
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:40
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:40
76
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_dll_netbsd
=
"yes"
else
...
...
@@ -4064,7 +4107,7 @@ fi
wine_cv_libc_reentrant
=
no
echo
$ac_n
"checking "
for
reentrant libc: __errno_location
"""...
$ac_c
"
1>&6
echo
"configure:4
068
: checking "
for
reentrant libc: __errno_location
""
>
&5
echo
"configure:4
111
: checking "
for
reentrant libc: __errno_location
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r__errno_location
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4072,14 +4115,14 @@ else
wine_cv_libc_r__errno_location
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
076
"configure"
#line 4
119
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__errno_location(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:4
083
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
126
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r__errno_location
=
yes
else
...
...
@@ -4104,7 +4147,7 @@ EOF
wine_cv_libc_reentrant
=
__errno_location
fi
echo
$ac_n
"checking "
for
reentrant libc: __error
"""...
$ac_c
"
1>&6
echo
"configure:41
08
: checking "
for
reentrant libc: __error
""
>
&5
echo
"configure:41
51
: checking "
for
reentrant libc: __error
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r__error
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4112,14 +4155,14 @@ else
wine_cv_libc_r__error
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
16
"configure"
#line 41
59
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__error(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:41
23
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:41
66
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r__error
=
yes
else
...
...
@@ -4144,7 +4187,7 @@ EOF
wine_cv_libc_reentrant
=
__error
fi
echo
$ac_n
"checking "
for
reentrant libc: ___errno
"""...
$ac_c
"
1>&6
echo
"configure:41
48
: checking "
for
reentrant libc: ___errno
""
>
&5
echo
"configure:41
91
: checking "
for
reentrant libc: ___errno
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4152,14 +4195,14 @@ else
wine_cv_libc_r___errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
56
"configure"
#line 41
99
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *___errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:4
163
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
206
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___errno
=
yes
else
...
...
@@ -4184,7 +4227,7 @@ EOF
wine_cv_libc_reentrant
=
___errno
fi
echo
$ac_n
"checking "
for
reentrant libc: __thr_errno
"""...
$ac_c
"
1>&6
echo
"configure:4
188
: checking "
for
reentrant libc: __thr_errno
""
>
&5
echo
"configure:4
231
: checking "
for
reentrant libc: __thr_errno
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r__thr_errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4192,14 +4235,14 @@ else
wine_cv_libc_r__thr_errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
196
"configure"
#line 4
239
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__thr_errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:42
03
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:42
46
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r__thr_errno
=
yes
else
...
...
@@ -4235,7 +4278,7 @@ fi
if
test
"
$have_x
"
=
"yes"
-a
"
$wine_cv_libc_reentrant
"
!=
"no"
then
echo
$ac_n
"checking "
for
reentrant X libraries
"""...
$ac_c
"
1>&6
echo
"configure:42
39
: checking "
for
reentrant X libraries
""
>
&5
echo
"configure:42
82
: checking "
for
reentrant X libraries
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_x_reentrant
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4283,19 +4326,19 @@ fi
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo
$ac_n
"checking for working alloca.h""...
$ac_c
"
1>&6
echo
"configure:4
287
: checking for working alloca.h"
>
&5
echo
"configure:4
330
: checking for working alloca.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_alloca_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
292
"configure"
#line 4
335
"configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if
{
(
eval echo
configure:4
299
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
342
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_header_alloca_h
=
yes
else
...
...
@@ -4316,12 +4359,12 @@ EOF
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:43
20
: checking for alloca"
>
&5
echo
"configure:43
63
: checking for alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_alloca_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
25
"configure"
#line 43
68
"configure"
#include "confdefs.h"
#ifdef __GNUC__
...
...
@@ -4344,7 +4387,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if
{
(
eval echo
configure:43
48
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:43
91
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_func_alloca_works
=
yes
else
...
...
@@ -4376,12 +4419,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:4
380
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:4
423
: checking whether alloca needs Cray hooks"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_os_cray
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
385
"configure"
#line 4
428
"configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
...
...
@@ -4406,12 +4449,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
if
test
$ac_cv_os_cray
=
yes
;
then
for
ac_func
in
_getb67 GETB67 getb67
;
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:44
10
: checking for
$ac_func
"
>
&5
echo
"configure:44
53
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
15
"configure"
#line 44
58
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4434,7 +4477,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:44
38
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:44
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4461,7 +4504,7 @@ done
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:4
465
: checking stack direction for C alloca"
>
&5
echo
"configure:4
508
: checking stack direction for C alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stack_direction
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4469,7 +4512,7 @@ else
ac_cv_c_stack_direction
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
473
"configure"
#line 4
516
"configure"
#include "confdefs.h"
find_stack_direction ()
{
...
...
@@ -4488,7 +4531,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if
{
(
eval echo
configure:4
492
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
535
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_stack_direction
=
1
else
...
...
@@ -4529,12 +4572,12 @@ for ac_func in \
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:45
33
: checking for
$ac_func
"
>
&5
echo
"configure:45
76
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 45
38
"configure"
#line 45
81
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4557,7 +4600,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:4
561
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
604
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4620,17 +4663,17 @@ for ac_hdr in \
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:46
24
: checking for
$ac_hdr
"
>
&5
echo
"configure:46
67
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
29
"configure"
#line 46
72
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:46
34
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:46
77
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4657,12 +4700,12 @@ fi
done
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
"configure:4
661
: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:4
704
: checking whether stat file-mode macros are broken"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stat_broken
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
666
"configure"
#line 4
709
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -4715,12 +4758,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:47
19
: checking for working const"
>
&5
echo
"configure:47
62
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
24
"configure"
#line 47
67
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -4769,7 +4812,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:4
773
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
816
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -4790,21 +4833,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:4
794
: checking for inline"
>
&5
echo
"configure:4
837
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
01
"configure"
#line 48
44
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:48
08
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
51
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -4830,12 +4873,12 @@ EOF
esac
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:48
34
: checking for ANSI C header files"
>
&5
echo
"configure:48
77
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
39
"configure"
#line 48
82
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -4843,7 +4886,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:48
47
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:48
90
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4860,7 +4903,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
864
"configure"
#line 4
907
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -4878,7 +4921,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
882
"configure"
#line 4
925
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -4899,7 +4942,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
03
"configure"
#line 49
46
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -4910,7 +4953,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:49
14
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:49
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -4934,12 +4977,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:49
38
: checking for size_t"
>
&5
echo
"configure:49
81
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
43
"configure"
#line 49
86
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -4967,7 +5010,7 @@ EOF
fi
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:
4971
: checking size of long long"
>
&5
echo
"configure:
5014
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4975,7 +5018,7 @@ else
ac_cv_sizeof_long_long
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
4979
"configure"
#line
5022
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -4986,7 +5029,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:
4990
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
5033
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -5009,12 +5052,12 @@ EOF
if
test
"
$ac_cv_header_linux_joystick_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether linux/joystick.h uses the Linux 2.2+ API
"""...
$ac_c
"
1>&6
echo
"configure:50
13
: checking "
whether linux/joystick.h uses the Linux 2.2+ API
""
>
&5
echo
"configure:50
56
: checking "
whether linux/joystick.h uses the Linux 2.2+ API
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_joystick_22_api
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
18
"configure"
#line 50
61
"configure"
#include "confdefs.h"
#include <sys/ioctl.h>
...
...
@@ -5026,7 +5069,7 @@ int main() {
/*empty*/
; return 0; }
EOF
if
{
(
eval echo
configure:50
30
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
73
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_joystick_22_api
=
yes
else
...
...
@@ -5053,12 +5096,12 @@ fi
if
test
"
$ac_cv_header_sys_vfs_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/vfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:5
057
: checking "
whether sys/vfs.h defines statfs
""
>
&5
echo
"configure:5
100
: checking "
whether sys/vfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_vfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
062
"configure"
#line 5
105
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5075,7 +5118,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
079
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
122
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_vfs_has_statfs
=
yes
else
...
...
@@ -5102,12 +5145,12 @@ fi
if
test
"
$ac_cv_header_sys_statfs_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/statfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:51
06
: checking "
whether sys/statfs.h defines statfs
""
>
&5
echo
"configure:51
49
: checking "
whether sys/statfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_statfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
11
"configure"
#line 51
54
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5122,7 +5165,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:51
26
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_statfs_has_statfs
=
yes
else
...
...
@@ -5149,12 +5192,12 @@ fi
if
test
"
$ac_cv_header_sys_mount_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/mount.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:51
53
: checking "
whether sys/mount.h defines statfs
""
>
&5
echo
"configure:51
96
: checking "
whether sys/mount.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_mount_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
158
"configure"
#line 5
201
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5169,7 +5212,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
173
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
216
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_mount_has_statfs
=
yes
else
...
...
@@ -5195,7 +5238,7 @@ fi
echo
$ac_n
"checking "
for
statfs.f_bfree
"""...
$ac_c
"
1>&6
echo
"configure:5
199
: checking "
for
statfs.f_bfree
""
>
&5
echo
"configure:5
242
: checking "
for
statfs.f_bfree
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bfree
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5204,7 +5247,7 @@ else
wine_cv_statfs_bfree
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
08
"configure"
#line 52
51
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5231,7 +5274,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:52
35
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bfree
=
yes
else
...
...
@@ -5255,7 +5298,7 @@ EOF
fi
echo
$ac_n
"checking "
for
statfs.f_bavail
"""...
$ac_c
"
1>&6
echo
"configure:5
259
: checking "
for
statfs.f_bavail
""
>
&5
echo
"configure:5
302
: checking "
for
statfs.f_bavail
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bavail
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5264,7 +5307,7 @@ else
wine_cv_statfs_bavail
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
268
"configure"
#line 5
311
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5291,7 +5334,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:5
295
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
338
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bavail
=
yes
else
...
...
@@ -5316,7 +5359,7 @@ fi
echo
$ac_n
"checking "
for
working sigaltstack
"""...
$ac_c
"
1>&6
echo
"configure:53
20
: checking "
for
working sigaltstack
""
>
&5
echo
"configure:53
63
: checking "
for
working sigaltstack
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_working_sigaltstack
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5325,7 +5368,7 @@ else
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
29
"configure"
#line 53
72
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -5363,7 +5406,7 @@ else
}
EOF
if
{
(
eval echo
configure:5
367
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
410
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_working_sigaltstack
=
"yes"
else
...
...
@@ -5390,12 +5433,12 @@ fi
echo
$ac_n
"checking "
for
msg_accrights
in
struct msghdr
"""...
$ac_c
"
1>&6
echo
"configure:5
394
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
echo
"configure:5
437
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_msg_accrights
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
399
"configure"
#line 5
442
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -5403,7 +5446,7 @@ int main() {
struct msghdr hdr; hdr.msg_accrights=0
; return 0; }
EOF
if
{
(
eval echo
configure:54
07
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_msg_accrights
=
"yes"
else
...
...
@@ -5426,12 +5469,12 @@ fi
echo
$ac_n
"checking "
whether we need to define __i386__
"""...
$ac_c
"
1>&6
echo
"configure:54
30
: checking "
whether we need to define __i386__
""
>
&5
echo
"configure:54
73
: checking "
whether we need to define __i386__
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cpp_def_i386
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
35
"configure"
#line 54
78
"configure"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
...
...
configure.in
View file @
d94475bd
...
...
@@ -130,10 +130,11 @@ then
then
AC_CHECK_LIB(Xext,XShmQueryExtension,AC_DEFINE(HAVE_LIBXXSHM),,$X_LIBS -lXext -lX11)
fi
dnl Check for XFree86 DGA extension
dnl Check for XFree86 DGA
/ DGA 2.0
extension
AC_CHECK_HEADERS(X11/Xlib.h X11/extensions/xf86dga.h)
if test "$ac_cv_header_X11_Xlib_h" = "yes" -a "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
then
AC_CHECK_LIB(Xxf86dga,XDGAQueryExtension,AC_DEFINE(HAVE_LIBXXF86DGA2) X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga",,$X_LIBS -lXext -lX11)
AC_CHECK_LIB(Xxf86dga,XF86DGAQueryExtension,AC_DEFINE(HAVE_LIBXXF86DGA) X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga",,$X_LIBS -lXext -lX11)
fi
...
...
include/acconfig.h
View file @
d94475bd
...
...
@@ -15,6 +15,9 @@
/* Define if you have the Xxf86dga library (-lXxf86dga). */
#undef HAVE_LIBXXF86DGA
/* Define if you have the Xxf86dga library version 2.0 (-lXxf86dga). */
#undef HAVE_LIBXXF86DGA2
/* Define if you have the X Shm extension */
#undef HAVE_LIBXXSHM
...
...
include/config.h.in
View file @
d94475bd
...
...
@@ -52,6 +52,9 @@
/* Define if you have the Xxf86dga library (-lXxf86dga). */
#undef HAVE_LIBXXF86DGA
/* Define if you have the Xxf86dga library version 2.0 (-lXxf86dga). */
#undef HAVE_LIBXXF86DGA2
/* Define if you have the X Shm extension */
#undef HAVE_LIBXXSHM
...
...
include/ts_xf86dga2.h
0 → 100644
View file @
d94475bd
/*
* Thread safe wrappers around xf86dga2 calls.
* Always include this file instead of <X11/xf86dga2.h>.
* This file was generated automatically by tools/make_X11wrappers
*
* Copyright 1998 Kristian Nielsen
*/
#ifndef __WINE_TS_XF86DGA2_H
#define __WINE_TS_XF86DGA2_H
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXF86DGA2
#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
extern
Bool
TSXDGAQueryVersion
(
Display
*
,
int
*
,
int
*
);
extern
Bool
TSXDGAQueryExtension
(
Display
*
,
int
*
,
int
*
);
extern
XDGAMode
*
TSXDGAQueryModes
(
Display
*
,
int
,
int
*
);
extern
XDGADevice
*
TSXDGASetMode
(
Display
*
,
int
,
int
);
extern
Bool
TSXDGAOpenFramebuffer
(
Display
*
,
int
);
extern
void
TSXDGACloseFramebuffer
(
Display
*
,
int
);
extern
void
TSXDGASetViewport
(
Display
*
,
int
,
int
,
int
,
int
);
extern
void
TSXDGAInstallColormap
(
Display
*
,
int
,
Colormap
);
extern
Colormap
TSXDGACreateColormap
(
Display
*
,
int
,
XDGADevice
*
,
int
);
extern
void
TSXDGASelectInput
(
Display
*
,
int
,
long
);
extern
void
TSXDGAFillRectangle
(
Display
*
,
int
,
int
,
int
,
unsigned
int
,
unsigned
int
,
unsigned
long
);
extern
void
TSXDGACopyArea
(
Display
*
,
int
,
int
,
int
,
unsigned
int
,
unsigned
int
,
int
,
int
);
extern
void
TSXDGACopyTransparentArea
(
Display
*
,
int
,
int
,
int
,
unsigned
int
,
unsigned
int
,
int
,
int
,
unsigned
long
);
extern
int
TSXDGAGetViewportStatus
(
Display
*
,
int
);
extern
void
TSXDGASync
(
Display
*
,
int
);
extern
Bool
TSXDGASetClientVersion
(
Display
*
);
extern
void
TSXDGAChangePixmapMode
(
Display
*
,
int
,
int
*
,
int
*
,
int
);
extern
void
TSXDGAKeyEventToXKeyEvent
(
XDGAKeyEvent
*
,
XKeyEvent
*
);
#endif
/* defined(HAVE_LIBXXF86DGA2) */
#endif
/* !defined(X_DISPLAY_MISSING) */
#endif
/* __WINE_TS_XF86DGA2_H */
tools/make_X11wrappers
View file @
d94475bd
...
...
@@ -14,10 +14,10 @@
#
# This program expects to be run from Wine's main directory.
$X11_include_dir
=
"/usr/X11
R6
/include"
;
$X11_include_dir
=
"/usr/X11/include"
;
$outdir
=
"tsx11"
;
$wantfile
=
"$outdir/X11_calls"
;
@dolist
=
(
"Xlib"
,
"Xresource"
,
"Xutil"
,
"xpm"
,
"XShm"
,
"xf86dga"
,
"xf86vmode"
);
@dolist
=
(
"Xlib"
,
"Xresource"
,
"Xutil"
,
"xpm"
,
"XShm"
,
"xf86dga"
,
"xf86
dga2"
,
"xf86
vmode"
);
# First read list of wanted function names.
...
...
@@ -46,6 +46,7 @@ foreach $name (@dolist) {
$extensions_dir
=
""
;
$pre_file
=
""
;
$post_file
=
""
;
$inc_name
=
$name
;
if
(
$name
eq
"Xutil"
||
$name
eq
"Xresource"
||
$name
eq
"XShm"
)
{
$x11_incl
=
"#include <X11/Xlib.h>\n"
;
# For Xutil, we need X11/Xresource.h for XUniqueContext().
...
...
@@ -57,6 +58,13 @@ foreach $name (@dolist) {
$pre_file
=
"#ifdef HAVE_LIBXXF86DGA\n"
;
$post_file
=
"#endif /* defined(HAVE_LIBXXF86DGA) */\n"
;
}
if
(
$name
eq
"xf86dga2"
)
{
$x11_incl
=
"#include <X11/Xlib.h>\n"
;
$extensions_dir
=
"extensions/"
;
$pre_file
=
"#ifdef HAVE_LIBXXF86DGA2\n"
;
$post_file
=
"#endif /* defined(HAVE_LIBXXF86DGA2) */\n"
;
$inc_name
=
"xf86dga"
;
}
if
(
$name
eq
"XShm"
)
{
$extensions_dir
=
"extensions/"
;
$pre_file
=
"#ifdef HAVE_LIBXXSHM\n"
;
...
...
@@ -90,7 +98,7 @@ foreach $name (@dolist) {
#ifndef X_DISPLAY_MISSING
$pre_file
$x11_incl#include <X11/$extensions_dir$name.h>
$x11_incl#include <X11/$extensions_dir$
inc_
name.h>
END
...
...
@@ -106,7 +114,7 @@ END
#ifndef X_DISPLAY_MISSING
$pre_file
$x11_incl#include <X11/$extensions_dir$name.h>
$x11_incl#include <X11/$extensions_dir$
inc_
name.h>
#include "debugtools.h"
#include "ts_$lcname.h"
...
...
@@ -196,6 +204,25 @@ END
"Display*a0,int a1,int a2"
,
"a0,a1,a2"
);
}
elsif
(
$name
eq
"xf86dga2"
)
{
output_fn_short
(
"Bool"
,
"XDGAQueryVersion"
,
"Display*"
,
"int*"
,
"int*"
);
output_fn_short
(
"Bool"
,
"XDGAQueryExtension"
,
"Display*"
,
"int*"
,
"int*"
);
output_fn_short
(
"XDGAMode*"
,
"XDGAQueryModes"
,
"Display*"
,
"int"
,
"int*"
);
output_fn_short
(
"XDGADevice*"
,
"XDGASetMode"
,
"Display*"
,
"int"
,
"int"
);
output_fn_short
(
"Bool"
,
"XDGAOpenFramebuffer"
,
"Display*"
,
"int"
);
output_fn_short
(
"void"
,
"XDGACloseFramebuffer"
,
"Display*"
,
"int"
);
output_fn_short
(
"void"
,
"XDGASetViewport"
,
"Display*"
,
"int"
,
"int"
,
"int"
,
"int"
);
output_fn_short
(
"void"
,
"XDGAInstallColormap"
,
"Display*"
,
"int"
,
"Colormap"
);
output_fn_short
(
"Colormap"
,
"XDGACreateColormap"
,
"Display*"
,
"int"
,
"XDGADevice*"
,
"int"
);
output_fn_short
(
"void"
,
"XDGASelectInput"
,
"Display*"
,
"int"
,
"long"
);
output_fn_short
(
"void"
,
"XDGAFillRectangle"
,
"Display*"
,
"int"
,
"int"
,
"int"
,
"unsigned int"
,
"unsigned int"
,
"unsigned long"
);
output_fn_short
(
"void"
,
"XDGACopyArea"
,
"Display*"
,
"int"
,
"int"
,
"int"
,
"unsigned int"
,
"unsigned int"
,
"int"
,
"int"
);
output_fn_short
(
"void"
,
"XDGACopyTransparentArea"
,
"Display*"
,
"int"
,
"int"
,
"int"
,
"unsigned int"
,
"unsigned int"
,
"int"
,
"int"
,
"unsigned long"
);
output_fn_short
(
"int"
,
"XDGAGetViewportStatus"
,
"Display*"
,
"int"
);
output_fn_short
(
"void"
,
"XDGASync"
,
"Display*"
,
"int"
);
output_fn_short
(
"Bool"
,
"XDGASetClientVersion"
,
"Display*"
);
output_fn_short
(
"void"
,
"XDGAChangePixmapMode"
,
"Display*"
,
"int"
,
"int*"
,
"int*"
,
"int"
);
output_fn_short
(
"void"
,
"XDGAKeyEventToXKeyEvent"
,
"XDGAKeyEvent*"
,
"XKeyEvent*"
);
}
elsif
(
$name
eq
"xf86vmode"
)
{
output_fn
(
"XF86VidModeQueryVersion"
,
Bool
,
"Display*,int*,int*"
,
...
...
@@ -383,6 +410,38 @@ sub output_fn {
$actuals
);
}
sub
output_fn_short
{
# Example call:
# output_fn_sort("Bool", "XDGAQueryExtension", "Display *", "int *", "int *");
#
my
(
$result_type
,
$fn_name
,
@args
)
=
@_
;
my
(
$i
,
$proto
,
$formals
,
$actuals
)
=
(
0
,
"$result_type TS$fn_name("
,
"$result_type TS$fn_name("
,
""
);
while
(
$val
=
shift
@args
)
{
$proto
=
$proto
.
$val
;
$formals
=
$formals
.
$val
.
" a$i"
;
$actuals
=
$actuals
.
" a$i"
;
$i
++
;
if
(
@args
)
{
$proto
=
$proto
.
", "
;
$formals
=
$formals
.
", "
;
$actuals
=
$actuals
.
", "
;
}
}
$proto
=
$proto
.
")"
;
$formals
=
$formals
.
")"
;
raw_output_fn
(
$fn_name
,
$result_type
=~
/^\s*void\s*$/
?
""
:
"$result_type r"
,
$proto
,
$formals
,
$actuals
);
}
sub
raw_output_fn
{
# Example call:
# output_fn("main", "int r", "int main(int, char **)", "int main(int a0, char **a1)", "a0, a1")
...
...
tsx11/Makefile.in
View file @
d94475bd
...
...
@@ -7,6 +7,7 @@ MODULE = tsx11
C_SRCS
=
\
ts_xf86dga.c
\
ts_xf86dga2.c
\
ts_xf86vmode.c
\
ts_xshm.c
\
ts_xlib.c
\
...
...
tsx11/X11_calls
View file @
d94475bd
...
...
@@ -197,3 +197,21 @@ XF86VidModeLockModeSwitch
XF86VidModeGetMonitor
XF86VidModeGetViewPort
XF86VidModeSetViewPort
XDGAQueryExtension
XDGAQueryVersion
XDGAQueryModes
XDGASetMode
XDGAOpenFramebuffer
XDGACloseFramebuffer
XDGASetViewport
XDGAInstallColormap
XDGACreateColormap
XDGASelectInput
XDGAFillRectangle
XDGACopyArea
XDGACopyTransparentArea
XDGAGetViewportStatus
XDGASync
XDGASetClientVersion
XDGAChangePixmapMode
XDGAKeyEventToXKeyEvent
tsx11/ts_xf86dga2.c
0 → 100644
View file @
d94475bd
/*
* Thread safe wrappers around xf86dga2 calls.
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXF86DGA2
#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
#include "debugtools.h"
#include "ts_xf86dga2.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL
(
x11
)
Bool
TSXDGAQueryVersion
(
Display
*
a0
,
int
*
a1
,
int
*
a2
)
{
Bool
r
;
TRACE
(
"Call XDGAQueryVersion
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XDGAQueryVersion
(
a0
,
a1
,
a2
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAQueryVersion
\n
"
);
return
r
;
}
Bool
TSXDGAQueryExtension
(
Display
*
a0
,
int
*
a1
,
int
*
a2
)
{
Bool
r
;
TRACE
(
"Call XDGAQueryExtension
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XDGAQueryExtension
(
a0
,
a1
,
a2
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAQueryExtension
\n
"
);
return
r
;
}
XDGAMode
*
TSXDGAQueryModes
(
Display
*
a0
,
int
a1
,
int
*
a2
)
{
XDGAMode
*
r
;
TRACE
(
"Call XDGAQueryModes
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XDGAQueryModes
(
a0
,
a1
,
a2
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAQueryModes
\n
"
);
return
r
;
}
XDGADevice
*
TSXDGASetMode
(
Display
*
a0
,
int
a1
,
int
a2
)
{
XDGADevice
*
r
;
TRACE
(
"Call XDGASetMode
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XDGASetMode
(
a0
,
a1
,
a2
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGASetMode
\n
"
);
return
r
;
}
Bool
TSXDGAOpenFramebuffer
(
Display
*
a0
,
int
a1
)
{
Bool
r
;
TRACE
(
"Call XDGAOpenFramebuffer
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XDGAOpenFramebuffer
(
a0
,
a1
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAOpenFramebuffer
\n
"
);
return
r
;
}
void
TSXDGACloseFramebuffer
(
Display
*
a0
,
int
a1
)
{
TRACE
(
"Call XDGACloseFramebuffer
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGACloseFramebuffer
(
a0
,
a1
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGACloseFramebuffer
\n
"
);
}
void
TSXDGASetViewport
(
Display
*
a0
,
int
a1
,
int
a2
,
int
a3
,
int
a4
)
{
TRACE
(
"Call XDGASetViewport
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGASetViewport
(
a0
,
a1
,
a2
,
a3
,
a4
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGASetViewport
\n
"
);
}
void
TSXDGAInstallColormap
(
Display
*
a0
,
int
a1
,
Colormap
a2
)
{
TRACE
(
"Call XDGAInstallColormap
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGAInstallColormap
(
a0
,
a1
,
a2
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAInstallColormap
\n
"
);
}
Colormap
TSXDGACreateColormap
(
Display
*
a0
,
int
a1
,
XDGADevice
*
a2
,
int
a3
)
{
Colormap
r
;
TRACE
(
"Call XDGACreateColormap
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XDGACreateColormap
(
a0
,
a1
,
a2
,
a3
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGACreateColormap
\n
"
);
return
r
;
}
void
TSXDGASelectInput
(
Display
*
a0
,
int
a1
,
long
a2
)
{
TRACE
(
"Call XDGASelectInput
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGASelectInput
(
a0
,
a1
,
a2
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGASelectInput
\n
"
);
}
void
TSXDGAFillRectangle
(
Display
*
a0
,
int
a1
,
int
a2
,
int
a3
,
unsigned
int
a4
,
unsigned
int
a5
,
unsigned
long
a6
)
{
TRACE
(
"Call XDGAFillRectangle
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGAFillRectangle
(
a0
,
a1
,
a2
,
a3
,
a4
,
a5
,
a6
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAFillRectangle
\n
"
);
}
void
TSXDGACopyArea
(
Display
*
a0
,
int
a1
,
int
a2
,
int
a3
,
unsigned
int
a4
,
unsigned
int
a5
,
int
a6
,
int
a7
)
{
TRACE
(
"Call XDGACopyArea
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGACopyArea
(
a0
,
a1
,
a2
,
a3
,
a4
,
a5
,
a6
,
a7
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGACopyArea
\n
"
);
}
void
TSXDGACopyTransparentArea
(
Display
*
a0
,
int
a1
,
int
a2
,
int
a3
,
unsigned
int
a4
,
unsigned
int
a5
,
int
a6
,
int
a7
,
unsigned
long
a8
)
{
TRACE
(
"Call XDGACopyTransparentArea
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGACopyTransparentArea
(
a0
,
a1
,
a2
,
a3
,
a4
,
a5
,
a6
,
a7
,
a8
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGACopyTransparentArea
\n
"
);
}
int
TSXDGAGetViewportStatus
(
Display
*
a0
,
int
a1
)
{
int
r
;
TRACE
(
"Call XDGAGetViewportStatus
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XDGAGetViewportStatus
(
a0
,
a1
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAGetViewportStatus
\n
"
);
return
r
;
}
void
TSXDGASync
(
Display
*
a0
,
int
a1
)
{
TRACE
(
"Call XDGASync
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGASync
(
a0
,
a1
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGASync
\n
"
);
}
Bool
TSXDGASetClientVersion
(
Display
*
a0
)
{
Bool
r
;
TRACE
(
"Call XDGASetClientVersion
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XDGASetClientVersion
(
a0
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGASetClientVersion
\n
"
);
return
r
;
}
void
TSXDGAChangePixmapMode
(
Display
*
a0
,
int
a1
,
int
*
a2
,
int
*
a3
,
int
a4
)
{
TRACE
(
"Call XDGAChangePixmapMode
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGAChangePixmapMode
(
a0
,
a1
,
a2
,
a3
,
a4
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAChangePixmapMode
\n
"
);
}
void
TSXDGAKeyEventToXKeyEvent
(
XDGAKeyEvent
*
a0
,
XKeyEvent
*
a1
)
{
TRACE
(
"Call XDGAKeyEventToXKeyEvent
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
XDGAKeyEventToXKeyEvent
(
a0
,
a1
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
"Ret XDGAKeyEventToXKeyEvent
\n
"
);
}
#endif
/* defined(HAVE_LIBXXF86DGA2) */
#endif
/* !defined(X_DISPLAY_MISSING) */
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