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
3f510ad2
Commit
3f510ad2
authored
Jan 01, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link with libutil only where needed.
parent
91195437
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
286 additions
and
277 deletions
+286
-277
configure
configure
+263
-259
configure.in
configure.in
+4
-1
xterm.c
console/xterm.c
+8
-3
Makefile.in
dlls/winedos/Makefile.in
+1
-1
port.h
include/wine/port.h
+6
-0
port.c
library/port.c
+4
-13
No files found.
configure
View file @
3f510ad2
...
...
@@ -2763,15 +2763,18 @@ else
echo
"
$ac_t
""no"
1>&6
fi
UTILLIBS
=
""
for
ac_func
in
openpty
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:277
0
: checking for
$ac_func
"
>
&5
echo
"configure:277
3
: 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 277
5
"configure"
#line 277
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2794,7 +2797,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:2
798
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:2
801
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2816,7 +2819,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for openpty in -lutil""...
$ac_c
"
1>&6
echo
"configure:282
0
: checking for openpty in -lutil"
>
&5
echo
"configure:282
3
: checking for openpty in -lutil"
>
&5
ac_lib_var
=
`
echo
util
'_'
openpty |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2824,7 +2827,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lutil
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
28
"configure"
#line 28
31
"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
...
...
@@ -2835,7 +2838,7 @@ int main() {
openpty()
; return 0; }
EOF
if
{
(
eval echo
configure:28
39
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:28
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2854,7 +2857,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
#define HAVE_OPENPTY 1
EOF
LIBS
=
"
$LIBS
-lutil"
UTILLIBS
=
"
-lutil"
else
echo
"
$ac_t
""no"
1>&6
...
...
@@ -2870,17 +2873,17 @@ for ac_hdr in dlfcn.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:287
4
: checking for
$ac_hdr
"
>
&5
echo
"configure:287
7
: 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 28
79
"configure"
#line 28
82
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:288
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:288
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2903,12 +2906,12 @@ EOF
for
ac_func
in
dlopen
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:29
07
: checking for
$ac_func
"
>
&5
echo
"configure:29
10
: 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 291
2
"configure"
#line 291
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2931,7 +2934,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:293
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:293
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2953,7 +2956,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:29
57
: checking for dlopen in -ldl"
>
&5
echo
"configure:29
60
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2961,7 +2964,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 296
5
"configure"
#line 296
8
"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
...
...
@@ -2972,7 +2975,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:297
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:297
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3015,17 +3018,17 @@ for ac_hdr in jpeglib.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:30
19
: checking for
$ac_hdr
"
>
&5
echo
"configure:30
22
: 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 302
4
"configure"
#line 302
7
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:30
29
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:30
32
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3046,7 +3049,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for jpeg_start_decompress in -ljpeg""...
$ac_c
"
1>&6
echo
"configure:305
0
: checking for jpeg_start_decompress in -ljpeg"
>
&5
echo
"configure:305
3
: checking for jpeg_start_decompress in -ljpeg"
>
&5
ac_lib_var
=
`
echo
jpeg
'_'
jpeg_start_decompress |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3054,7 +3057,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ljpeg
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
58
"configure"
#line 30
61
"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
...
...
@@ -3065,7 +3068,7 @@ int main() {
jpeg_start_decompress()
; return 0; }
EOF
if
{
(
eval echo
configure:30
69
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:30
72
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3115,17 +3118,17 @@ then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:31
19
: checking for
$ac_hdr
"
>
&5
echo
"configure:31
22
: 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 312
4
"configure"
#line 312
7
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:31
29
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:31
32
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3146,7 +3149,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XpmCreatePixmapFromData in -lXpm""...
$ac_c
"
1>&6
echo
"configure:315
0
: checking for XpmCreatePixmapFromData in -lXpm"
>
&5
echo
"configure:315
3
: checking for XpmCreatePixmapFromData in -lXpm"
>
&5
ac_lib_var
=
`
echo
Xpm
'_'
XpmCreatePixmapFromData |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3155,7 +3158,7 @@ else
LIBS
=
"-lXpm
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
59
"configure"
#line 31
62
"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
...
...
@@ -3166,7 +3169,7 @@ int main() {
XpmCreatePixmapFromData()
; return 0; }
EOF
if
{
(
eval echo
configure:317
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:317
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3216,17 +3219,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:322
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:322
3
: 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 322
5
"configure"
#line 322
8
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:323
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:323
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3251,17 +3254,17 @@ EOF
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:325
5
: checking for
$ac_hdr
"
>
&5
echo
"configure:325
8
: 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 326
0
"configure"
#line 326
3
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:326
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:326
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3282,7 +3285,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XkbQueryExtension in -lX11""...
$ac_c
"
1>&6
echo
"configure:328
6
: checking for XkbQueryExtension in -lX11"
>
&5
echo
"configure:328
9
: checking for XkbQueryExtension in -lX11"
>
&5
ac_lib_var
=
`
echo
X11
'_'
XkbQueryExtension |
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 +3293,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lX11
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 329
4
"configure"
#line 329
7
"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 +3304,7 @@ int main() {
XkbQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:330
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:330
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3337,17 +3340,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:334
1
: checking for
$ac_hdr
"
>
&5
echo
"configure:334
4
: 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 334
6
"configure"
#line 334
9
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:335
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:335
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3368,7 +3371,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XShmQueryExtension in -lXext""...
$ac_c
"
1>&6
echo
"configure:337
2
: checking for XShmQueryExtension in -lXext"
>
&5
echo
"configure:337
5
: checking for XShmQueryExtension in -lXext"
>
&5
ac_lib_var
=
`
echo
Xext
'_'
XShmQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3376,7 +3379,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXext
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 338
0
"configure"
#line 338
3
"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
...
...
@@ -3387,7 +3390,7 @@ int main() {
XShmQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:339
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:339
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3423,17 +3426,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:34
27
: checking for
$ac_hdr
"
>
&5
echo
"configure:34
30
: 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 343
2
"configure"
#line 343
5
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:34
37
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:34
40
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3454,7 +3457,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XShapeQueryExtension in -lXext""...
$ac_c
"
1>&6
echo
"configure:34
58
: checking for XShapeQueryExtension in -lXext"
>
&5
echo
"configure:34
61
: checking for XShapeQueryExtension in -lXext"
>
&5
ac_lib_var
=
`
echo
Xext
'_'
XShapeQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3462,7 +3465,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXext
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 346
6
"configure"
#line 346
9
"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
...
...
@@ -3473,7 +3476,7 @@ int main() {
XShapeQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:34
77
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:34
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3509,17 +3512,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:351
3
: checking for
$ac_hdr
"
>
&5
echo
"configure:351
6
: 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 35
18
"configure"
#line 35
21
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:352
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:352
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3540,7 +3543,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XDGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
"configure:354
4
: checking for XDGAQueryExtension in -lXxf86dga"
>
&5
echo
"configure:354
7
: 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
...
...
@@ -3549,7 +3552,7 @@ else
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 355
3
"configure"
#line 355
6
"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
...
...
@@ -3560,7 +3563,7 @@ int main() {
XDGAQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:356
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:356
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3584,7 +3587,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for XF86DGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
"configure:35
88
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
echo
"configure:35
91
: 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
...
...
@@ -3593,7 +3596,7 @@ else
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
597
"configure"
#line 3
600
"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
...
...
@@ -3604,7 +3607,7 @@ int main() {
XF86DGAQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:36
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:36
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3645,17 +3648,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:36
49
: checking for
$ac_hdr
"
>
&5
echo
"configure:36
52
: 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 365
4
"configure"
#line 365
7
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:36
59
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:36
62
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3676,7 +3679,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XF86VidModeQueryExtension in -lXxf86vm""...
$ac_c
"
1>&6
echo
"configure:368
0
: checking for XF86VidModeQueryExtension in -lXxf86vm"
>
&5
echo
"configure:368
3
: 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
...
...
@@ -3685,7 +3688,7 @@ else
LIBS
=
"-lXxf86vm
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
89
"configure"
#line 36
92
"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
...
...
@@ -3696,7 +3699,7 @@ int main() {
XF86VidModeQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:370
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:370
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3734,17 +3737,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:37
38
: checking for
$ac_hdr
"
>
&5
echo
"configure:37
41
: 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 374
3
"configure"
#line 374
6
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:37
48
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:37
51
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3765,7 +3768,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XvShmCreateImage in -lXv""...
$ac_c
"
1>&6
echo
"configure:37
69
: checking for XvShmCreateImage in -lXv"
>
&5
echo
"configure:37
72
: checking for XvShmCreateImage in -lXv"
>
&5
ac_lib_var
=
`
echo
Xv
'_'
XvShmCreateImage |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3774,7 +3777,7 @@ else
LIBS
=
"-lXv
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
78
"configure"
#line 37
81
"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
...
...
@@ -3785,7 +3788,7 @@ int main() {
XvShmCreateImage()
; return 0; }
EOF
if
{
(
eval echo
configure:37
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:37
92
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3823,17 +3826,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:38
27
: checking for
$ac_hdr
"
>
&5
echo
"configure:38
30
: 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 383
2
"configure"
#line 383
5
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:38
37
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:38
40
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3854,7 +3857,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for XRenderQueryExtension in -lXrender""...
$ac_c
"
1>&6
echo
"configure:38
58
: checking for XRenderQueryExtension in -lXrender"
>
&5
echo
"configure:38
61
: checking for XRenderQueryExtension in -lXrender"
>
&5
ac_lib_var
=
`
echo
Xrender
'_'
XRenderQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3863,7 +3866,7 @@ else
LIBS
=
"-lXrender
$X_LIBS
-lXext -lX11
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
67
"configure"
#line 38
70
"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
...
...
@@ -3874,7 +3877,7 @@ int main() {
XRenderQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:38
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:38
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3921,17 +3924,17 @@ done
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:392
5
: checking for
$ac_hdr
"
>
&5
echo
"configure:392
8
: 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 393
0
"configure"
#line 393
3
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:393
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:393
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3960,19 +3963,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 OpenGL version""...
$ac_c
"
1>&6
echo
"configure:396
4
: checking for up-to-date OpenGL version"
>
&5
echo
"configure:396
7
: checking for up-to-date OpenGL version"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_opengl_version_OK
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
69
"configure"
#line 39
72
"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:397
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:397
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_opengl_version_OK
=
"yes"
else
...
...
@@ -3989,21 +3992,21 @@ fi
echo
"
$ac_t
""
$wine_cv_opengl_version_OK
"
1>&6
echo
$ac_n
"checking for thread-safe OpenGL version""...
$ac_c
"
1>&6
echo
"configure:399
3
: checking for thread-safe OpenGL version"
>
&5
echo
"configure:399
6
: checking for thread-safe OpenGL version"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_opengl_version_threadsafe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_libs
=
$LIBS
LIBS
=
"
$X_LIBS
-lGL"
cat
>
conftest.
$ac_ext
<<
EOF
#line 400
0
"configure"
#line 400
3
"configure"
#include "confdefs.h"
int main() {
pthread_getspecific();
; return 0; }
EOF
if
{
(
eval echo
configure:40
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
wine_cv_opengl_version_threadsafe
=
"yes"
else
...
...
@@ -4022,7 +4025,7 @@ echo "$ac_t""$wine_cv_opengl_version_threadsafe" 1>&6
if
test
"
$wine_cv_opengl_version_OK
"
=
"yes"
-a
\(
"
$wine_cv_opengl_version_threadsafe
"
=
"no"
-o
$OPENGL
=
"yes"
\)
then
echo
$ac_n
"checking for glXCreateContext in -lGL""...
$ac_c
"
1>&6
echo
"configure:402
6
: checking for glXCreateContext in -lGL"
>
&5
echo
"configure:402
9
: 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
...
...
@@ -4030,7 +4033,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 403
4
"configure"
#line 403
7
"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
...
...
@@ -4041,7 +4044,7 @@ int main() {
glXCreateContext()
; return 0; }
EOF
if
{
(
eval echo
configure:404
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:404
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4073,7 +4076,7 @@ EOF
echo
$ac_n
"checking for glXGetProcAddressARB in -lGL""...
$ac_c
"
1>&6
echo
"configure:40
77
: checking for glXGetProcAddressARB in -lGL"
>
&5
echo
"configure:40
80
: checking for glXGetProcAddressARB in -lGL"
>
&5
ac_lib_var
=
`
echo
GL
'_'
glXGetProcAddressARB |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4081,7 +4084,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 408
5
"configure"
#line 408
8
"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
...
...
@@ -4092,7 +4095,7 @@ int main() {
glXGetProcAddressARB()
; return 0; }
EOF
if
{
(
eval echo
configure:409
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:409
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4119,12 +4122,12 @@ fi
if
test
$ac_cv_lib_GL_glXGetProcAddressARB
=
"yes"
then
echo
$ac_n
"checking for OpenGL extension functions prototypes""...
$ac_c
"
1>&6
echo
"configure:412
3
: checking for OpenGL extension functions prototypes"
>
&5
echo
"configure:412
6
: checking for OpenGL extension functions prototypes"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_extension_prototypes
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
28
"configure"
#line 41
31
"configure"
#include "confdefs.h"
#include <GL/gl.h>
#ifdef HAVE_GL_GLEXT_H
...
...
@@ -4135,7 +4138,7 @@ int main() {
PFNGLCOLORTABLEEXTPROC test_proc;
; return 0; }
EOF
if
{
(
eval echo
configure:41
39
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:41
42
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_extension_prototypes
=
"yes"
else
...
...
@@ -4161,7 +4164,7 @@ EOF
fi
echo
$ac_n
"checking for gluLookAt in -lGLU""...
$ac_c
"
1>&6
echo
"configure:416
5
: checking for gluLookAt in -lGLU"
>
&5
echo
"configure:416
8
: checking for gluLookAt in -lGLU"
>
&5
ac_lib_var
=
`
echo
GLU
'_'
gluLookAt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4170,7 +4173,7 @@ else
LIBS
=
"-lGLU
$X_LIBS
$X_PRE_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 417
4
"configure"
#line 417
7
"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
...
...
@@ -4181,7 +4184,7 @@ int main() {
gluLookAt()
; return 0; }
EOF
if
{
(
eval echo
configure:418
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:418
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4222,17 +4225,17 @@ then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:422
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:422
9
: 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 423
1
"configure"
#line 423
4
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:423
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:423
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4253,7 +4256,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for waddch in -lncurses""...
$ac_c
"
1>&6
echo
"configure:42
57
: checking for waddch in -lncurses"
>
&5
echo
"configure:42
60
: 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
...
...
@@ -4261,7 +4264,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 426
5
"configure"
#line 426
8
"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
...
...
@@ -4272,7 +4275,7 @@ int main() {
waddch()
; return 0; }
EOF
if
{
(
eval echo
configure:427
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:427
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4298,17 +4301,17 @@ for ac_hdr in curses.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:430
2
: checking for
$ac_hdr
"
>
&5
echo
"configure:430
5
: 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 43
07
"configure"
#line 43
10
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:431
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:431
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4329,7 +4332,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for waddch in -lcurses""...
$ac_c
"
1>&6
echo
"configure:433
3
: checking for waddch in -lcurses"
>
&5
echo
"configure:433
6
: 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
...
...
@@ -4337,7 +4340,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 434
1
"configure"
#line 434
4
"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
...
...
@@ -4348,7 +4351,7 @@ int main() {
waddch()
; return 0; }
EOF
if
{
(
eval echo
configure:435
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:435
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4389,12 +4392,12 @@ done
for
ac_func
in
getbkgd resizeterm
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:439
3
: checking for
$ac_func
"
>
&5
echo
"configure:439
6
: 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 4
398
"configure"
#line 4
401
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4417,7 +4420,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:442
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:442
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4448,7 +4451,7 @@ fi
CUPSLIBS
=
""
wine_cv_warn_cups_h
=
no
echo
$ac_n
"checking for cupsGetPPD in -lcups""...
$ac_c
"
1>&6
echo
"configure:445
2
: checking for cupsGetPPD in -lcups"
>
&5
echo
"configure:445
5
: checking for cupsGetPPD in -lcups"
>
&5
ac_lib_var
=
`
echo
cups
'_'
cupsGetPPD |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4456,7 +4459,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcups
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 446
0
"configure"
#line 446
3
"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
...
...
@@ -4467,7 +4470,7 @@ int main() {
cupsGetPPD()
; return 0; }
EOF
if
{
(
eval echo
configure:447
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:447
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4484,17 +4487,17 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo
"
$ac_t
""yes"
1>&6
ac_safe
=
`
echo
"cups/cups.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for cups/cups.h""...
$ac_c
"
1>&6
echo
"configure:44
88
: checking for cups/cups.h"
>
&5
echo
"configure:44
91
: checking for cups/cups.h"
>
&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 449
3
"configure"
#line 449
6
"configure"
#include "confdefs.h"
#include <cups/cups.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
498
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
501
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4528,7 +4531,7 @@ fi
echo
$ac_n
"checking for FT_Init_FreeType in -lfreetype""...
$ac_c
"
1>&6
echo
"configure:453
2
: checking for FT_Init_FreeType in -lfreetype"
>
&5
echo
"configure:453
5
: checking for FT_Init_FreeType in -lfreetype"
>
&5
ac_lib_var
=
`
echo
freetype
'_'
FT_Init_FreeType |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4536,7 +4539,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lfreetype
$X_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 454
0
"configure"
#line 454
3
"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
...
...
@@ -4547,7 +4550,7 @@ int main() {
FT_Init_FreeType()
; return 0; }
EOF
if
{
(
eval echo
configure:455
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:455
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4577,7 +4580,7 @@ else
# Extract the first word of "freetype-config", so it can be a program name with args.
set
dummy freetype-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:458
1
: checking for
$ac_word
"
>
&5
echo
"configure:458
4
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ft_devel
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4609,7 +4612,7 @@ fi
# Extract the first word of "freetype2-config", so it can be a program name with args.
set
dummy freetype2-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:461
3
: checking for
$ac_word
"
>
&5
echo
"configure:461
6
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ft_devel2
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4666,17 +4669,17 @@ EOF
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:467
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:467
3
: 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 467
5
"configure"
#line 467
8
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:468
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:468
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4710,19 +4713,19 @@ fi
echo
$ac_n
"checking for parport header/ppdev.h""...
$ac_c
"
1>&6
echo
"configure:471
4
: checking for parport header/ppdev.h"
>
&5
echo
"configure:471
7
: checking for parport header/ppdev.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ppdev
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
19
"configure"
#line 47
22
"configure"
#include "confdefs.h"
#include <linux/ppdev.h>
int main() {
ioctl (1,PPCLAIM,0)
; return 0; }
EOF
if
{
(
eval echo
configure:472
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:472
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ppdev
=
"yes"
else
...
...
@@ -4745,12 +4748,12 @@ EOF
fi
echo
$ac_n
"checking for GNU style IPX support""...
$ac_c
"
1>&6
echo
"configure:47
49
: checking for GNU style IPX support"
>
&5
echo
"configure:47
52
: 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 475
4
"configure"
#line 475
7
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <netipx/ipx.h>
...
...
@@ -4758,7 +4761,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:476
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:476
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ipx_gnu
=
"yes"
else
...
...
@@ -4783,12 +4786,12 @@ fi
if
test
"
$ac_cv_c_ipx_gnu
"
=
"no"
then
echo
$ac_n
"checking for linux style IPX support""...
$ac_c
"
1>&6
echo
"configure:47
87
: checking for linux style IPX support"
>
&5
echo
"configure:47
90
: 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 479
2
"configure"
#line 479
5
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <asm/types.h>
...
...
@@ -4797,7 +4800,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:480
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:480
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ipx_linux
=
"yes"
else
...
...
@@ -4824,17 +4827,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:48
28
: checking for
$ac_hdr
"
>
&5
echo
"configure:48
31
: 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 483
3
"configure"
#line 483
6
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:48
38
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:48
41
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4862,12 +4865,12 @@ done
echo
$ac_n
"checking for Open Sound System""...
$ac_c
"
1>&6
echo
"configure:486
6
: checking for Open Sound System"
>
&5
echo
"configure:486
9
: 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 487
1
"configure"
#line 487
4
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -4888,7 +4891,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:489
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:489
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem
=
"yes"
else
...
...
@@ -4911,12 +4914,12 @@ EOF
fi
echo
$ac_n
"checking for Open Sound System/MIDI interface""...
$ac_c
"
1>&6
echo
"configure:491
5
: checking for Open Sound System/MIDI interface"
>
&5
echo
"configure:491
8
: 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 492
0
"configure"
#line 492
3
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -4937,7 +4940,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:494
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:494
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem_midi
=
"yes"
else
...
...
@@ -4963,7 +4966,7 @@ if test "$ac_cv_prog_LN_S" = "ln -s"; then : ; else LN_S=cp ; fi
echo
$ac_n
"checking whether mmap64 works defined as mmap""...
$ac_c
"
1>&6
echo
"configure:49
67
: checking whether mmap64 works defined as mmap"
>
&5
echo
"configure:49
70
: checking whether mmap64 works defined as mmap"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mmap64_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4971,7 +4974,7 @@ else
ac_cv_mmap64_works
=
"no"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 497
5
"configure"
#line 497
8
"configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
...
...
@@ -5001,7 +5004,7 @@ else
EOF
if
{
(
eval echo
configure:500
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:500
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_mmap64_works
=
"yes"
else
...
...
@@ -5030,7 +5033,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:503
4
: checking for gcc strength-reduce bug"
>
&5
echo
"configure:503
7
: 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
...
...
@@ -5038,7 +5041,7 @@ else
ac_cv_c_gcc_strength_bug
=
"yes"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 504
2
"configure"
#line 504
5
"configure"
#include "confdefs.h"
int L[4] = {0,1,2,3};
...
...
@@ -5053,7 +5056,7 @@ int main(void) {
exit( Array[1] != -2 || L[2] != 3);
}
EOF
if
{
(
eval echo
configure:50
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:50
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_gcc_strength_bug
=
"no"
else
...
...
@@ -5074,21 +5077,21 @@ echo "$ac_t""$ac_cv_c_gcc_strength_bug" 1>&6
fi
echo
$ac_n
"checking for gcc -mpreferred-stack-boundary=2 support""...
$ac_c
"
1>&6
echo
"configure:50
78
: checking for gcc -mpreferred-stack-boundary=2 support"
>
&5
echo
"configure:50
81
: checking for gcc -mpreferred-stack-boundary=2 support"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_gcc_stack_boundary
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-mpreferred-stack-boundary=2"
cat
>
conftest.
$ac_ext
<<
EOF
#line 508
5
"configure"
#line 508
8
"configure"
#include "confdefs.h"
int main() {
return 0
; return 0; }
EOF
if
{
(
eval echo
configure:509
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:509
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_gcc_stack_boundary
=
"yes"
else
...
...
@@ -5111,7 +5114,7 @@ fi
echo
$ac_n
"checking whether .type must sit inside a .def directive""...
$ac_c
"
1>&6
echo
"configure:511
5
: checking whether .type must sit inside a .def directive"
>
&5
echo
"configure:511
8
: checking whether .type must sit inside a .def directive"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_type_in_def
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5124,14 +5127,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
28
"configure"
#line 51
31
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:513
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:513
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_type_in_def
=
"yes"
else
...
...
@@ -5155,7 +5158,7 @@ fi
echo
$ac_n
"checking whether external symbols need an underscore prefix""...
$ac_c
"
1>&6
echo
"configure:51
59
: checking whether external symbols need an underscore prefix"
>
&5
echo
"configure:51
62
: 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
...
...
@@ -5167,14 +5170,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 517
1
"configure"
#line 517
4
"configure"
#include "confdefs.h"
extern int ac_test;
int main() {
if (ac_test) return 1
; return 0; }
EOF
if
{
(
eval echo
configure:51
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:51
81
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_extern_prefix
=
"yes"
else
...
...
@@ -5198,7 +5201,7 @@ fi
echo
$ac_n
"checking whether assembler accepts .string""...
$ac_c
"
1>&6
echo
"configure:520
2
: checking whether assembler accepts .string"
>
&5
echo
"configure:520
5
: 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
...
...
@@ -5208,14 +5211,14 @@ cat > conftest_asm.s <<EOF
.string "test"
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 521
2
"configure"
#line 521
5
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:52
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:52
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_asm_string
=
"yes"
else
...
...
@@ -5243,21 +5246,21 @@ LDDLLFLAGS=""
if
test
"
$LIBEXT
"
=
"so"
then
echo
$ac_n
"checking whether we can build a GNU style ELF dll""...
$ac_c
"
1>&6
echo
"configure:52
47
: checking whether we can build a GNU style ELF dll"
>
&5
echo
"configure:52
50
: checking whether we can build a GNU style ELF dll"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_gnuelf
'+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,-Bsymbolic"
cat
>
conftest.
$ac_ext
<<
EOF
#line 525
4
"configure"
#line 525
7
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:526
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:526
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_dll_gnuelf
=
"yes"
else
...
...
@@ -5278,21 +5281,21 @@ echo "$ac_t""$ac_cv_c_dll_gnuelf" 1>&6
LDDLLFLAGS
=
"-Wl,-Bsymbolic"
else
echo
$ac_n
"checking whether we can build a UnixWare (Solaris) dll""...
$ac_c
"
1>&6
echo
"configure:528
2
: checking whether we can build a UnixWare (Solaris) dll"
>
&5
echo
"configure:528
5
: checking whether we can build a UnixWare (Solaris) 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,-h,conftest.so.1.0,-B,symbolic"
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
89
"configure"
#line 52
92
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:529
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:529
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_dll_unixware
=
"yes"
else
...
...
@@ -5356,7 +5359,7 @@ fi
wine_cv_libc_reentrant
=
no
echo
$ac_n
"checking for reentrant libc: __errno_location""...
$ac_c
"
1>&6
echo
"configure:536
0
: checking for reentrant libc: __errno_location"
>
&5
echo
"configure:536
3
: 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
...
...
@@ -5364,14 +5367,14 @@ else
wine_cv_libc_r___errno_location
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
68
"configure"
#line 53
71
"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:537
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:537
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___errno_location
=
yes
else
...
...
@@ -5394,7 +5397,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __error""...
$ac_c
"
1>&6
echo
"configure:5
398
: checking for reentrant libc: __error"
>
&5
echo
"configure:5
401
: 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
...
...
@@ -5402,14 +5405,14 @@ else
wine_cv_libc_r___error
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 540
6
"configure"
#line 540
9
"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:541
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:541
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___error
=
yes
else
...
...
@@ -5432,7 +5435,7 @@ fi
echo
$ac_n
"checking for reentrant libc: ___errno""...
$ac_c
"
1>&6
echo
"configure:543
6
: checking for reentrant libc: ___errno"
>
&5
echo
"configure:543
9
: 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
...
...
@@ -5440,14 +5443,14 @@ else
wine_cv_libc_r____errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 544
4
"configure"
#line 544
7
"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:545
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:545
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r____errno
=
yes
else
...
...
@@ -5470,7 +5473,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __thr_errno""...
$ac_c
"
1>&6
echo
"configure:547
4
: checking for reentrant libc: __thr_errno"
>
&5
echo
"configure:547
7
: 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
...
...
@@ -5478,14 +5481,14 @@ else
wine_cv_libc_r___thr_errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 548
2
"configure"
#line 548
5
"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:54
89
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:54
92
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___thr_errno
=
yes
else
...
...
@@ -5508,7 +5511,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __errno""...
$ac_c
"
1>&6
echo
"configure:551
2
: checking for reentrant libc: __errno"
>
&5
echo
"configure:551
5
: 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
...
...
@@ -5516,14 +5519,14 @@ else
wine_cv_libc_r___errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 552
0
"configure"
#line 552
3
"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:55
27
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:55
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___errno
=
yes
else
...
...
@@ -5557,7 +5560,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:556
1
: checking for reentrant X libraries"
>
&5
echo
"configure:556
4
: 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
...
...
@@ -5606,19 +5609,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:561
0
: checking for working alloca.h"
>
&5
echo
"configure:561
3
: 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 561
5
"configure"
#line 561
8
"configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if
{
(
eval echo
configure:562
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:562
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_header_alloca_h
=
yes
else
...
...
@@ -5639,12 +5642,12 @@ EOF
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:564
3
: checking for alloca"
>
&5
echo
"configure:564
6
: 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 56
48
"configure"
#line 56
51
"configure"
#include "confdefs.h"
#ifdef __GNUC__
...
...
@@ -5672,7 +5675,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if
{
(
eval echo
configure:567
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:567
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_alloca_works
=
yes
else
...
...
@@ -5704,12 +5707,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:57
08
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:57
11
: 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 571
3
"configure"
#line 571
6
"configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
...
...
@@ -5734,12 +5737,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:57
38
: checking for
$ac_func
"
>
&5
echo
"configure:57
41
: 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 574
3
"configure"
#line 574
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5762,7 +5765,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:576
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:576
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5789,7 +5792,7 @@ done
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:579
3
: checking stack direction for C alloca"
>
&5
echo
"configure:579
6
: 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
...
...
@@ -5797,7 +5800,7 @@ else
ac_cv_c_stack_direction
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 580
1
"configure"
#line 580
4
"configure"
#include "confdefs.h"
find_stack_direction ()
{
...
...
@@ -5816,7 +5819,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if
{
(
eval echo
configure:582
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:582
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_stack_direction
=
1
else
...
...
@@ -5876,12 +5879,12 @@ for ac_func in \
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:588
0
: checking for
$ac_func
"
>
&5
echo
"configure:588
3
: 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 588
5
"configure"
#line 588
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5904,7 +5907,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:59
08
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:59
11
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5988,17 +5991,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:599
2
: checking for
$ac_hdr
"
>
&5
echo
"configure:599
5
: 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
5997
"configure"
#line
6000
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:600
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:600
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6025,12 +6028,12 @@ fi
done
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
"configure:60
29
: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:60
32
: 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 603
4
"configure"
#line 603
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -6083,12 +6086,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:60
87
: checking for working const"
>
&5
echo
"configure:60
90
: 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 609
2
"configure"
#line 609
5
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -6137,7 +6140,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:614
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:614
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -6158,21 +6161,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:616
2
: checking for inline"
>
&5
echo
"configure:616
5
: 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 61
69
"configure"
#line 61
72
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:617
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:617
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -6198,12 +6201,12 @@ EOF
esac
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:620
2
: checking for ANSI C header files"
>
&5
echo
"configure:620
5
: 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 62
07
"configure"
#line 62
10
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -6211,7 +6214,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:621
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:621
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6228,7 +6231,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 623
2
"configure"
#line 623
5
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -6246,7 +6249,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 625
0
"configure"
#line 625
3
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -6267,7 +6270,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 627
1
"configure"
#line 627
4
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -6278,7 +6281,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:628
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:628
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -6302,12 +6305,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:630
6
: checking for size_t"
>
&5
echo
"configure:630
9
: 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 631
1
"configure"
#line 631
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -6335,7 +6338,7 @@ EOF
fi
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:63
39
: checking size of long long"
>
&5
echo
"configure:63
42
: 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
...
...
@@ -6343,7 +6346,7 @@ else
ac_cv_sizeof_long_long
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 63
47
"configure"
#line 63
50
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
...
...
@@ -6355,7 +6358,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:63
59
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:63
62
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -6376,12 +6379,12 @@ EOF
echo
$ac_n
"checking whether linux/input.h is for real""...
$ac_c
"
1>&6
echo
"configure:638
0
: checking whether linux/input.h is for real"
>
&5
echo
"configure:638
3
: checking whether linux/input.h is for real"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_input_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 638
5
"configure"
#line 638
8
"configure"
#include "confdefs.h"
#include <linux/input.h>
...
...
@@ -6394,7 +6397,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
398
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
401
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_input_h
=
yes
else
...
...
@@ -6418,12 +6421,12 @@ EOF
echo
$ac_n
"checking whether we can use re-entrant gethostbyname_r Linux style""...
$ac_c
"
1>&6
echo
"configure:642
2
: checking whether we can use re-entrant gethostbyname_r Linux style"
>
&5
echo
"configure:642
5
: checking whether we can use re-entrant gethostbyname_r Linux style"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_gethostbyname_r_6
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 64
27
"configure"
#line 64
30
"configure"
#include "confdefs.h"
#include <netdb.h>
...
...
@@ -6444,7 +6447,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:64
48
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:64
51
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_gethostbyname_r_6
=
yes
else
...
...
@@ -6470,12 +6473,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:647
4
: checking whether linux/joystick.h uses the Linux 2.2+ API"
>
&5
echo
"configure:647
7
: 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 64
79
"configure"
#line 64
82
"configure"
#include "confdefs.h"
#include <sys/ioctl.h>
...
...
@@ -6490,7 +6493,7 @@ int main() {
/*empty*/
; return 0; }
EOF
if
{
(
eval echo
configure:649
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:649
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_joystick_22_api
=
yes
else
...
...
@@ -6517,12 +6520,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:652
1
: checking whether sys/vfs.h defines statfs"
>
&5
echo
"configure:652
4
: 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 652
6
"configure"
#line 652
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6539,7 +6542,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:654
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:654
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_vfs_has_statfs
=
yes
else
...
...
@@ -6566,12 +6569,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:657
0
: checking whether sys/statfs.h defines statfs"
>
&5
echo
"configure:657
3
: 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 657
5
"configure"
#line 657
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6586,7 +6589,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:659
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:659
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_statfs_has_statfs
=
yes
else
...
...
@@ -6613,12 +6616,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:66
17
: checking whether sys/mount.h defines statfs"
>
&5
echo
"configure:66
20
: 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 662
2
"configure"
#line 662
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6633,7 +6636,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:66
37
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:66
40
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_mount_has_statfs
=
yes
else
...
...
@@ -6659,7 +6662,7 @@ fi
echo
$ac_n
"checking for statfs.f_bfree""...
$ac_c
"
1>&6
echo
"configure:666
3
: checking for statfs.f_bfree"
>
&5
echo
"configure:666
6
: 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
...
...
@@ -6668,7 +6671,7 @@ else
wine_cv_statfs_bfree
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 667
2
"configure"
#line 667
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6695,7 +6698,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
699
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
702
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bfree
=
yes
else
...
...
@@ -6719,7 +6722,7 @@ EOF
fi
echo
$ac_n
"checking for statfs.f_bavail""...
$ac_c
"
1>&6
echo
"configure:672
3
: checking for statfs.f_bavail"
>
&5
echo
"configure:672
6
: 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
...
...
@@ -6728,7 +6731,7 @@ else
wine_cv_statfs_bavail
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 673
2
"configure"
#line 673
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6755,7 +6758,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:67
59
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:67
62
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bavail
=
yes
else
...
...
@@ -6780,12 +6783,12 @@ fi
echo
$ac_n
"checking for msg_accrights in struct msghdr""...
$ac_c
"
1>&6
echo
"configure:678
4
: checking for msg_accrights in struct msghdr"
>
&5
echo
"configure:678
7
: 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 67
89
"configure"
#line 67
92
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6793,7 +6796,7 @@ int main() {
struct msghdr hdr; hdr.msg_accrights=0
; return 0; }
EOF
if
{
(
eval echo
configure:6
797
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
800
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_msg_accrights
=
"yes"
else
...
...
@@ -6816,12 +6819,12 @@ fi
echo
$ac_n
"checking for sa_len in struct sockaddr""...
$ac_c
"
1>&6
echo
"configure:682
0
: checking for sa_len in struct sockaddr"
>
&5
echo
"configure:682
3
: checking for sa_len in struct sockaddr"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_sockaddr_sa_len
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 682
5
"configure"
#line 682
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6830,7 +6833,7 @@ int main() {
static struct sockaddr addr; addr.sa_len = 1
; return 0; }
EOF
if
{
(
eval echo
configure:683
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:683
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_sockaddr_sa_len
=
"yes"
else
...
...
@@ -6853,12 +6856,12 @@ fi
echo
$ac_n
"checking for sun_len in struct sockaddr_un""...
$ac_c
"
1>&6
echo
"configure:68
57
: checking for sun_len in struct sockaddr_un"
>
&5
echo
"configure:68
60
: checking for sun_len in struct sockaddr_un"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_sockaddr_sun_len
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 686
2
"configure"
#line 686
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6867,7 +6870,7 @@ int main() {
static struct sockaddr_un addr; addr.sun_len = 1
; return 0; }
EOF
if
{
(
eval echo
configure:687
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:687
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_sockaddr_sun_len
=
"yes"
else
...
...
@@ -6890,12 +6893,12 @@ fi
echo
$ac_n
"checking whether we need to define __i386__""...
$ac_c
"
1>&6
echo
"configure:689
4
: checking whether we need to define __i386__"
>
&5
echo
"configure:689
7
: 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 6
899
"configure"
#line 6
902
"configure"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
...
...
@@ -7243,6 +7246,7 @@ s%@DLLWRAP@%$DLLWRAP%g
s%@LINT@%
$LINT
%g
s%@LINTFLAGS@%
$LINTFLAGS
%g
s%@LDCOMBINE@%
$LDCOMBINE
%g
s%@UTILLIBS@%
$UTILLIBS
%g
s%@DLLIBS@%
$DLLIBS
%g
s%@JPEGLIB@%
$JPEGLIB
%g
s%@XLIB@%
$XLIB
%g
...
...
configure.in
View file @
3f510ad2
...
...
@@ -106,11 +106,14 @@ dnl Check for -lxpg4 for FreeBSD
AC_CHECK_LIB(xpg4,_xpg4_setrunelocale)
dnl Check for -lmmap for OS/2
AC_CHECK_LIB(mmap,mmap)
dnl Check for openpty
UTILLIBS=""
AC_SUBST(UTILLIBS)
AC_CHECK_FUNCS(openpty,,
[AC_CHECK_LIB(util,openpty,
[AC_DEFINE(HAVE_OPENPTY)
LIBS="$LIBS
-lutil"]
UTILLIBS="
-lutil"]
)])
DLLIBS=""
...
...
console/xterm.c
View file @
3f510ad2
...
...
@@ -9,6 +9,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdio.h>
...
...
@@ -17,6 +18,12 @@
#include <fcntl.h>
#include <unistd.h>
#include <termios.h>
#ifdef HAVE_LIBUTIL_H
# include <libutil.h>
#endif
#ifdef HAVE_PTY_H
# include <pty.h>
#endif
#include "console.h"
#include "options.h"
...
...
@@ -27,8 +34,6 @@ DEFAULT_DEBUG_CHANNEL(console);
char
console_xterm_prog
[
80
];
static
BOOL
wine_create_console
(
FILE
**
master
,
FILE
**
slave
,
pid_t
*
pid
);
int
wine_openpty
(
int
*
master
,
int
*
slave
,
char
*
name
,
struct
termios
*
term
,
struct
winsize
*
winsize
);
/* The console -- I chose to keep the master and slave
* (UNIX) file descriptors around in case they are needed for
...
...
@@ -129,7 +134,7 @@ static BOOL wine_create_console(FILE **master, FILE **slave, pid_t *pid)
if
(
tcgetattr
(
0
,
&
term
)
<
0
)
return
FALSE
;
term
.
c_lflag
|=
ICANON
;
term
.
c_lflag
&=
~
ECHO
;
if
(
wine_
openpty
(
&
tmaster
,
&
tslave
,
NULL
,
&
term
,
NULL
)
<
0
)
if
(
openpty
(
&
tmaster
,
&
tslave
,
NULL
,
&
term
,
NULL
)
<
0
)
return
FALSE
;
*
master
=
fdopen
(
tmaster
,
"r+"
);
*
slave
=
fdopen
(
tslave
,
"r+"
);
...
...
dlls/winedos/Makefile.in
View file @
3f510ad2
...
...
@@ -5,7 +5,7 @@ VPATH = @srcdir@
MODULE
=
winedos
SOVERSION
=
1.0
IMPORTS
=
user32 kernel32 ntdll
EXTRALIBS
=
@CURSESLIBS@
EXTRALIBS
=
@CURSESLIBS@
@UTILLIBS@
C_SRCS
=
\
dosaspi.c
\
...
...
include/wine/port.h
View file @
3f510ad2
...
...
@@ -113,6 +113,12 @@ int statfs(const char *name, struct statfs *info);
int
strncasecmp
(
const
char
*
str1
,
const
char
*
str2
,
size_t
n
);
#endif
/* !defined(HAVE_STRNCASECMP) */
#ifndef HAVE_OPENPTY
struct
termios
;
struct
winsize
;
int
openpty
(
int
*
master
,
int
*
slave
,
char
*
name
,
struct
termios
*
term
,
struct
winsize
*
winsize
);
#endif
/* HAVE_OPENPTY */
#ifndef HAVE_STRERROR
const
char
*
strerror
(
int
err
);
#endif
/* !defined(HAVE_STRERROR) */
...
...
library/port.c
View file @
3f510ad2
...
...
@@ -34,12 +34,6 @@
#ifdef HAVE_SYSCALL_H
# include <syscall.h>
#endif
#ifdef HAVE_PTY_H
# include <pty.h>
#endif
#ifdef HAVE_LIBUTIL_H
# include <libutil.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
...
...
@@ -197,7 +191,7 @@ int strncasecmp( const char *str1, const char *str2, size_t n )
#endif
/* HAVE_STRNCASECMP */
/***********************************************************************
*
wine_
openpty
* openpty
* NOTE
* It looks like the openpty that comes with glibc in RedHat 5.0
* is buggy (second call returns what looks like a dup of 0 and 1
...
...
@@ -206,12 +200,9 @@ int strncasecmp( const char *str1, const char *str2, size_t n )
* FIXME
* We should have a autoconf check for this.
*/
int
wine_openpty
(
int
*
master
,
int
*
slave
,
char
*
name
,
struct
termios
*
term
,
struct
winsize
*
winsize
)
#ifndef HAVE_OPENPTY
int
openpty
(
int
*
master
,
int
*
slave
,
char
*
name
,
struct
termios
*
term
,
struct
winsize
*
winsize
)
{
#ifdef HAVE_OPENPTY
return
openpty
(
master
,
slave
,
name
,
term
,
winsize
);
#else
const
char
*
ptr1
,
*
ptr2
;
char
pts_name
[
512
];
...
...
@@ -246,8 +237,8 @@ int wine_openpty(int *master, int *slave, char *name,
}
errno
=
EMFILE
;
return
-
1
;
#endif
}
#endif
/* HAVE_OPENPTY */
/***********************************************************************
* getnetbyaddr
...
...
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