Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
5d68f79a
Commit
5d68f79a
authored
25 years ago
by
Lionel Ulmer
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Better detection of OpenGL.
parent
22d2c527
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
configure
+182
-136
182 additions, 136 deletions
configure
configure.in
+7
-3
7 additions, 3 deletions
configure.in
include/config.h.in
+3
-0
3 additions, 0 deletions
include/config.h.in
include/wine_gl.h
+1
-4
1 addition, 4 deletions
include/wine_gl.h
with
193 additions
and
143 deletions
configure
+
182
−
136
View file @
5d68f79a
...
@@ -2994,7 +2994,7 @@ fi
...
@@ -2994,7 +2994,7 @@ fi
fi
fi
for
ac_hdr
in
GL/gl.h GL/osmesa.h
for
ac_hdr
in
GL/gl.h
GL/glx.h
GL/osmesa.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
...
@@ -3034,7 +3034,7 @@ else
...
@@ -3034,7 +3034,7 @@ else
fi
fi
done
done
if
test
"
$ac_cv_header_GL_gl_h
"
=
"yes"
-a
"
$ac_cv_header_GL_
osmesa
_h
"
=
"yes"
if
test
"
$ac_cv_header_GL_gl_h
"
=
"yes"
-a
"
$ac_cv_header_GL_
glx
_h
"
=
"yes"
then
then
echo
$ac_n
"checking "
for
up-to-date Mesa version
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
up-to-date Mesa version
"""...
$ac_c
"
1>&6
echo
"configure:3041: checking "
for
up-to-date Mesa version
""
>
&5
echo
"configure:3041: checking "
for
up-to-date Mesa version
""
>
&5
...
@@ -3067,24 +3067,24 @@ echo "$ac_t""$wine_cv_mesa_version_OK" 1>&6
...
@@ -3067,24 +3067,24 @@ echo "$ac_t""$wine_cv_mesa_version_OK" 1>&6
if
test
"
$wine_cv_mesa_version_OK
"
=
"yes"
if
test
"
$wine_cv_mesa_version_OK
"
=
"yes"
then
then
echo
$ac_n
"checking for
OSMesa
CreateContext in -l
Mesa
GL""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
glX
CreateContext in -lGL""...
$ac_c
"
1>&6
echo
"configure:3072: checking for
OSMesa
CreateContext in -l
Mesa
GL"
>
&5
echo
"configure:3072: checking for
glX
CreateContext in -lGL"
>
&5
ac_lib_var
=
`
echo
Mesa
GL
'_'
OSMesa
CreateContext |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
GL
'_'
glX
CreateContext |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
Mesa
GL
$X_LIBS
-lXext -lX11 -lm
$LIBS
"
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3080 "configure"
#line 3080 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
builtin and then its argument prototype would still apply. */
char
OSMesa
CreateContext();
char
glX
CreateContext();
int main() {
int main() {
OSMesa
CreateContext()
glX
CreateContext()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3091:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3091:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
...
@@ -3105,11 +3105,57 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
...
@@ -3105,11 +3105,57 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_LIBMESAGL 1
#define HAVE_LIBMESAGL 1
EOF
EOF
X_PRE_LIBS
=
"
$X_PRE_LIBS
-lMesaGL"
X_PRE_LIBS
=
"
$X_PRE_LIBS
-lGL"
else
echo
"
$ac_t
""no"
1>&6
fi
if
test
"
$ac_cv_lib_GL_glXCreateContext
"
=
"no"
then
echo
$ac_n
"checking for glXCreateContext in -lMesaGL""...
$ac_c
"
1>&6
echo
"configure:3117: 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
else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lMesaGL
$X_LIBS
-lXext -lX11 -lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3125 "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 glXCreateContext();
int main() {
glXCreateContext()
; return 0; }
EOF
if
{
(
eval echo
configure:3136:
\"
$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_LIBMESAGL 1
EOF
X_PRE_LIBS
=
"
$X_PRE_LIBS
-lGL"
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
fi
fi
fi
fi
fi
...
@@ -3124,17 +3170,17 @@ for ac_hdr in ncurses.h
...
@@ -3124,17 +3170,17 @@ for ac_hdr in ncurses.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:31
28
: checking for
$ac_hdr
"
>
&5
echo
"configure:31
74
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
33
"configure"
#line 31
79
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:31
3
8:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:318
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -3163,7 +3209,7 @@ done
...
@@ -3163,7 +3209,7 @@ done
if
test
"
$ac_cv_header_ncurses_h
"
=
"yes"
if
test
"
$ac_cv_header_ncurses_h
"
=
"yes"
then
then
echo
$ac_n
"checking for waddch in -lncurses""...
$ac_c
"
1>&6
echo
$ac_n
"checking for waddch in -lncurses""...
$ac_c
"
1>&6
echo
"configure:3
167
: checking for waddch in -lncurses"
>
&5
echo
"configure:3
213
: checking for waddch in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
waddch |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
ncurses
'_'
waddch |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3171,7 +3217,7 @@ else
...
@@ -3171,7 +3217,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
175
"configure"
#line 3
221
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3182,7 +3228,7 @@ int main() {
...
@@ -3182,7 +3228,7 @@ int main() {
waddch()
waddch()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
186
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
232
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3213,7 +3259,7 @@ fi
...
@@ -3213,7 +3259,7 @@ fi
if
test
"
$ac_cv_lib_ncurses_waddch
"
=
"yes"
if
test
"
$ac_cv_lib_ncurses_waddch
"
=
"yes"
then
then
echo
$ac_n
"checking for resizeterm in -lncurses""...
$ac_c
"
1>&6
echo
$ac_n
"checking for resizeterm in -lncurses""...
$ac_c
"
1>&6
echo
"configure:32
17
: checking for resizeterm in -lncurses"
>
&5
echo
"configure:32
63
: checking for resizeterm in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
resizeterm |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
ncurses
'_'
resizeterm |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3221,7 +3267,7 @@ else
...
@@ -3221,7 +3267,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 32
25
"configure"
#line 32
71
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3232,7 +3278,7 @@ int main() {
...
@@ -3232,7 +3278,7 @@ int main() {
resizeterm()
resizeterm()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:32
36
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:32
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3256,7 +3302,7 @@ else
...
@@ -3256,7 +3302,7 @@ else
fi
fi
echo
$ac_n
"checking for getbkgd in -lncurses""...
$ac_c
"
1>&6
echo
$ac_n
"checking for getbkgd in -lncurses""...
$ac_c
"
1>&6
echo
"configure:3
260
: checking for getbkgd in -lncurses"
>
&5
echo
"configure:3
306
: checking for getbkgd in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
getbkgd |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
ncurses
'_'
getbkgd |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3264,7 +3310,7 @@ else
...
@@ -3264,7 +3310,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
268
"configure"
#line 3
314
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3275,7 +3321,7 @@ int main() {
...
@@ -3275,7 +3321,7 @@ int main() {
getbkgd()
getbkgd()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
279
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
325
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3303,17 +3349,17 @@ else
...
@@ -3303,17 +3349,17 @@ else
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:33
07
: checking for
$ac_hdr
"
>
&5
echo
"configure:33
53
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 33
12
"configure"
#line 33
58
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:33
17
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:33
63
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -3342,7 +3388,7 @@ done
...
@@ -3342,7 +3388,7 @@ done
if
test
"
$ac_cv_header_curses_h
"
=
"yes"
if
test
"
$ac_cv_header_curses_h
"
=
"yes"
then
then
echo
$ac_n
"checking for waddch in -lcurses""...
$ac_c
"
1>&6
echo
$ac_n
"checking for waddch in -lcurses""...
$ac_c
"
1>&6
echo
"configure:33
46
: checking for waddch in -lcurses"
>
&5
echo
"configure:33
92
: checking for waddch in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
waddch |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
curses
'_'
waddch |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3350,7 +3396,7 @@ else
...
@@ -3350,7 +3396,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
354
"configure"
#line 3
400
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3361,7 +3407,7 @@ int main() {
...
@@ -3361,7 +3407,7 @@ int main() {
waddch()
waddch()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
365
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
411
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3389,7 +3435,7 @@ else
...
@@ -3389,7 +3435,7 @@ else
fi
fi
echo
$ac_n
"checking for resizeterm in -lcurses""...
$ac_c
"
1>&6
echo
$ac_n
"checking for resizeterm in -lcurses""...
$ac_c
"
1>&6
echo
"configure:339
3
: checking for resizeterm in -lcurses"
>
&5
echo
"configure:3
4
39: checking for resizeterm in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
resizeterm |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
curses
'_'
resizeterm |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3397,7 +3443,7 @@ else
...
@@ -3397,7 +3443,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
01
"configure"
#line 34
47
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3408,7 +3454,7 @@ int main() {
...
@@ -3408,7 +3454,7 @@ int main() {
resizeterm()
resizeterm()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:34
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3432,7 +3478,7 @@ else
...
@@ -3432,7 +3478,7 @@ else
fi
fi
echo
$ac_n
"checking for getbkgd in -lcurses""...
$ac_c
"
1>&6
echo
$ac_n
"checking for getbkgd in -lcurses""...
$ac_c
"
1>&6
echo
"configure:34
36
: checking for getbkgd in -lcurses"
>
&5
echo
"configure:34
82
: checking for getbkgd in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
getbkgd |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
curses
'_'
getbkgd |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -3440,7 +3486,7 @@ else
...
@@ -3440,7 +3486,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 34
44
"configure"
#line 34
90
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -3451,7 +3497,7 @@ int main() {
...
@@ -3451,7 +3497,7 @@ int main() {
getbkgd()
getbkgd()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
455
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
501
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3478,12 +3524,12 @@ fi
...
@@ -3478,12 +3524,12 @@ fi
fi
fi
echo
$ac_n
"checking "
for
GNU style IPX support
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
GNU style IPX support
"""...
$ac_c
"
1>&6
echo
"configure:3
482
: checking "
for
GNU style IPX support
""
>
&5
echo
"configure:3
528
: checking "
for
GNU style IPX support
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_gnu
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_gnu
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
487
"configure"
#line 3
533
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/socket.h>
#include <sys/socket.h>
#include <netipx/ipx.h>
#include <netipx/ipx.h>
...
@@ -3491,7 +3537,7 @@ int main() {
...
@@ -3491,7 +3537,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
495
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
541
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_IPX_GNU 1
#define HAVE_IPX_GNU 1
...
@@ -3513,12 +3559,12 @@ echo "$ac_t""$ac_cv_c_ipx_gnu" 1>&6
...
@@ -3513,12 +3559,12 @@ echo "$ac_t""$ac_cv_c_ipx_gnu" 1>&6
if
test
"
$ac_cv_c_ipx_gnu
"
=
"no"
if
test
"
$ac_cv_c_ipx_gnu
"
=
"no"
then
then
echo
$ac_n
"checking "
for
linux style IPX support
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
linux style IPX support
"""...
$ac_c
"
1>&6
echo
"configure:35
17
: checking "
for
linux style IPX support
""
>
&5
echo
"configure:35
63
: checking "
for
linux style IPX support
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_linux
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_linux
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 35
22
"configure"
#line 35
68
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/socket.h>
#include <sys/socket.h>
#include <asm/types.h>
#include <asm/types.h>
...
@@ -3527,7 +3573,7 @@ int main() {
...
@@ -3527,7 +3573,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
31
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:35
77
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_IPX_LINUX 1
#define HAVE_IPX_LINUX 1
...
@@ -3551,17 +3597,17 @@ for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h
...
@@ -3551,17 +3597,17 @@ for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:3
555
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
601
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
5
60 "configure"
#line 360
6
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:3
565
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:3
611
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -3589,12 +3635,12 @@ done
...
@@ -3589,12 +3635,12 @@ done
echo
$ac_n
"checking "
for
Open Sound System
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
Open Sound System
"""...
$ac_c
"
1>&6
echo
"configure:3
593
: checking "
for
Open Sound System
""
>
&5
echo
"configure:3
639
: checking "
for
Open Sound System
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
598
"configure"
#line 3
644
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
#if defined(HAVE_SYS_SOUNDCARD_H)
...
@@ -3615,7 +3661,7 @@ int main() {
...
@@ -3615,7 +3661,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:36
19
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:36
65
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_opensoundsystem
=
"yes"
ac_cv_c_opensoundsystem
=
"yes"
else
else
...
@@ -3638,12 +3684,12 @@ EOF
...
@@ -3638,12 +3684,12 @@ EOF
fi
fi
echo
$ac_n
"checking "
for
Open Sound System/MIDI interface
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
Open Sound System/MIDI interface
"""...
$ac_c
"
1>&6
echo
"configure:36
42
: checking "
for
Open Sound System/MIDI interface
""
>
&5
echo
"configure:36
88
: checking "
for
Open Sound System/MIDI interface
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem_midi
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem_midi
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 36
47
"configure"
#line 36
93
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
#if defined(HAVE_SYS_SOUNDCARD_H)
...
@@ -3664,7 +3710,7 @@ int main() {
...
@@ -3664,7 +3710,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
668
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
714
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_opensoundsystem_midi
=
"yes"
ac_cv_c_opensoundsystem_midi
=
"yes"
else
else
...
@@ -3693,7 +3739,7 @@ if test "x${GCC}" = "xyes"
...
@@ -3693,7 +3739,7 @@ if test "x${GCC}" = "xyes"
then
then
CFLAGS
=
"
$CFLAGS
-Wall"
CFLAGS
=
"
$CFLAGS
-Wall"
echo
$ac_n
"checking "
for
gcc strength-reduce bug
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
gcc strength-reduce bug
"""...
$ac_c
"
1>&6
echo
"configure:3
697
: checking "
for
gcc strength-reduce bug
""
>
&5
echo
"configure:3
743
: checking "
for
gcc strength-reduce bug
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_gcc_strength_bug
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_gcc_strength_bug
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -3701,7 +3747,7 @@ else
...
@@ -3701,7 +3747,7 @@ else
ac_cv_c_gcc_strength_bug
=
"yes"
ac_cv_c_gcc_strength_bug
=
"yes"
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
0
5 "configure"
#line 375
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main(void) {
int main(void) {
...
@@ -3712,7 +3758,7 @@ int main(void) {
...
@@ -3712,7 +3758,7 @@ int main(void) {
exit( Array[1] != -2 );
exit( Array[1] != -2 );
}
}
EOF
EOF
if
{
(
eval echo
configure:37
1
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:376
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_c_gcc_strength_bug
=
"no"
ac_cv_c_gcc_strength_bug
=
"no"
else
else
...
@@ -3735,7 +3781,7 @@ fi
...
@@ -3735,7 +3781,7 @@ fi
echo
$ac_n
"checking "
whether external symbols need an underscore prefix
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether external symbols need an underscore prefix
"""...
$ac_c
"
1>&6
echo
"configure:37
39
: checking "
whether external symbols need an underscore prefix
""
>
&5
echo
"configure:37
85
: checking "
whether external symbols need an underscore prefix
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_extern_prefix
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_extern_prefix
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -3747,14 +3793,14 @@ _ac_test:
...
@@ -3747,14 +3793,14 @@ _ac_test:
.long 0
.long 0
EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 37
51
"configure"
#line 37
97
"configure"
#include "confdefs.h"
#include "confdefs.h"
extern int ac_test;
extern int ac_test;
int main() {
int main() {
if (ac_test) return 1
if (ac_test) return 1
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
758
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
804
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_extern_prefix
=
"yes"
ac_cv_c_extern_prefix
=
"yes"
else
else
...
@@ -3778,7 +3824,7 @@ fi
...
@@ -3778,7 +3824,7 @@ fi
echo
$ac_n
"checking "
whether assembler accepts .string
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether assembler accepts .string
"""...
$ac_c
"
1>&6
echo
"configure:3
7
82: checking "
whether assembler accepts .string
""
>
&5
echo
"configure:382
8
: checking "
whether assembler accepts .string
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_asm_string
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_asm_string
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -3788,14 +3834,14 @@ cat > conftest_asm.s <<EOF
...
@@ -3788,14 +3834,14 @@ cat > conftest_asm.s <<EOF
.string "test"
.string "test"
EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
792
"configure"
#line 3
838
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
799
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
845
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_asm_string
=
"yes"
ac_cv_c_asm_string
=
"yes"
else
else
...
@@ -3824,21 +3870,21 @@ LDSHARED=""
...
@@ -3824,21 +3870,21 @@ LDSHARED=""
if
test
"
$LIB_TARGET
"
=
"libwine.so.1.0"
if
test
"
$LIB_TARGET
"
=
"libwine.so.1.0"
then
then
echo
$ac_n
"checking "
whether we can build a Linux dll
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether we can build a Linux dll
"""...
$ac_c
"
1>&6
echo
"configure:38
28
: checking "
whether we can build a Linux dll
""
>
&5
echo
"configure:38
74
: checking "
whether we can build a Linux dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_linux
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_linux
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
saved_cflags
=
$CFLAGS
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -shared -Wl,-soname,conftest.so.1.0"
CFLAGS
=
"
$CFLAGS
-fPIC -shared -Wl,-soname,conftest.so.1.0"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
35
"configure"
#line 38
81
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
return 1
return 1
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:38
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:38
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_dll_linux
=
"yes"
ac_cv_c_dll_linux
=
"yes"
else
else
...
@@ -3860,21 +3906,21 @@ echo "$ac_t""$ac_cv_c_dll_linux" 1>&6
...
@@ -3860,21 +3906,21 @@ echo "$ac_t""$ac_cv_c_dll_linux" 1>&6
LDSHARED
=
"
\$
(CC) -shared -Wl,-soname,libwine.so"
LDSHARED
=
"
\$
(CC) -shared -Wl,-soname,libwine.so"
else
else
echo
$ac_n
"checking "
whether we can build a NetBSD dll
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether we can build a NetBSD dll
"""...
$ac_c
"
1>&6
echo
"configure:3
864
: checking "
whether we can build a NetBSD dll
""
>
&5
echo
"configure:3
910
: checking "
whether we can build a NetBSD dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_netbsd
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_netbsd
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
saved_cflags
=
$CFLAGS
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -Bshareable -Bforcearchive"
CFLAGS
=
"
$CFLAGS
-fPIC -Bshareable -Bforcearchive"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
871
"configure"
#line 3
917
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
return 1
return 1
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
878
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
924
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_dll_netbsd
=
"yes"
ac_cv_c_dll_netbsd
=
"yes"
else
else
...
@@ -3908,7 +3954,7 @@ fi
...
@@ -3908,7 +3954,7 @@ fi
wine_cv_libc_reentrant
=
no
wine_cv_libc_reentrant
=
no
echo
$ac_n
"checking "
for
reentrant libc: __errno_location
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
reentrant libc: __errno_location
"""...
$ac_c
"
1>&6
echo
"configure:39
12
: checking "
for
reentrant libc: __errno_location
""
>
&5
echo
"configure:39
58
: checking "
for
reentrant libc: __errno_location
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r__errno_location
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r__errno_location
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -3916,14 +3962,14 @@ else
...
@@ -3916,14 +3962,14 @@ else
wine_cv_libc_r__errno_location
=
yes
wine_cv_libc_r__errno_location
=
yes
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
20
"configure"
#line 39
66
"configure"
#include "confdefs.h"
#include "confdefs.h"
int myerrno = 0;
int myerrno = 0;
char buf[256];
char buf[256];
int *__errno_location(){return &myerrno;}
int *__errno_location(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
EOF
if
{
(
eval echo
configure:39
2
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:397
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
wine_cv_libc_r__errno_location
=
yes
wine_cv_libc_r__errno_location
=
yes
else
else
...
@@ -3948,7 +3994,7 @@ EOF
...
@@ -3948,7 +3994,7 @@ EOF
wine_cv_libc_reentrant
=
__errno_location
wine_cv_libc_reentrant
=
__errno_location
fi
fi
echo
$ac_n
"checking "
for
reentrant libc: __error
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
reentrant libc: __error
"""...
$ac_c
"
1>&6
echo
"configure:39
52
: checking "
for
reentrant libc: __error
""
>
&5
echo
"configure:39
98
: checking "
for
reentrant libc: __error
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r__error
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r__error
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -3956,14 +4002,14 @@ else
...
@@ -3956,14 +4002,14 @@ else
wine_cv_libc_r__error
=
yes
wine_cv_libc_r__error
=
yes
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
3960
"configure"
#line
4006
"configure"
#include "confdefs.h"
#include "confdefs.h"
int myerrno = 0;
int myerrno = 0;
char buf[256];
char buf[256];
int *__error(){return &myerrno;}
int *__error(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
EOF
if
{
(
eval echo
configure:
3967
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:
4013
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
wine_cv_libc_r__error
=
yes
wine_cv_libc_r__error
=
yes
else
else
...
@@ -3988,7 +4034,7 @@ EOF
...
@@ -3988,7 +4034,7 @@ EOF
wine_cv_libc_reentrant
=
__error
wine_cv_libc_reentrant
=
__error
fi
fi
echo
$ac_n
"checking "
for
reentrant libc: ___errno
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
reentrant libc: ___errno
"""...
$ac_c
"
1>&6
echo
"configure:
3992
: checking "
for
reentrant libc: ___errno
""
>
&5
echo
"configure:
4038
: checking "
for
reentrant libc: ___errno
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___errno
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -3996,14 +4042,14 @@ else
...
@@ -3996,14 +4042,14 @@ else
wine_cv_libc_r___errno
=
yes
wine_cv_libc_r___errno
=
yes
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
00
"configure"
#line 40
46
"configure"
#include "confdefs.h"
#include "confdefs.h"
int myerrno = 0;
int myerrno = 0;
char buf[256];
char buf[256];
int *___errno(){return &myerrno;}
int *___errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
EOF
if
{
(
eval echo
configure:40
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:40
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
wine_cv_libc_r___errno
=
yes
wine_cv_libc_r___errno
=
yes
else
else
...
@@ -4039,7 +4085,7 @@ fi
...
@@ -4039,7 +4085,7 @@ fi
if
test
"
$have_x
"
=
"yes"
-a
"
$wine_cv_libc_reentrant
"
!=
"no"
if
test
"
$have_x
"
=
"yes"
-a
"
$wine_cv_libc_reentrant
"
!=
"no"
then
then
echo
$ac_n
"checking "
for
reentrant X libraries
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
reentrant X libraries
"""...
$ac_c
"
1>&6
echo
"configure:40
43
: checking "
for
reentrant X libraries
""
>
&5
echo
"configure:40
89
: checking "
for
reentrant X libraries
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_x_reentrant
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_x_reentrant
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -4087,19 +4133,19 @@ fi
...
@@ -4087,19 +4133,19 @@ fi
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
# for constant arguments. Useless!
echo
$ac_n
"checking for working alloca.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working alloca.h""...
$ac_c
"
1>&6
echo
"configure:4
091
: checking for working alloca.h"
>
&5
echo
"configure:4
137
: checking for working alloca.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_alloca_h
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_alloca_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
096
"configure"
#line 4
142
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <alloca.h>
#include <alloca.h>
int main() {
int main() {
char *p = alloca(2 * sizeof(int));
char *p = alloca(2 * sizeof(int));
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:41
03
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:41
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_header_alloca_h
=
yes
ac_cv_header_alloca_h
=
yes
else
else
...
@@ -4120,12 +4166,12 @@ EOF
...
@@ -4120,12 +4166,12 @@ EOF
fi
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:41
24
: checking for alloca"
>
&5
echo
"configure:41
70
: checking for alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_alloca_works
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_alloca_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
29
"configure"
#line 41
75
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __GNUC__
#ifdef __GNUC__
...
@@ -4148,7 +4194,7 @@ int main() {
...
@@ -4148,7 +4194,7 @@ int main() {
char *p = (char *) alloca(1);
char *p = (char *) alloca(1);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:41
52
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:41
98
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_func_alloca_works
=
yes
ac_cv_func_alloca_works
=
yes
else
else
...
@@ -4180,12 +4226,12 @@ EOF
...
@@ -4180,12 +4226,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:4
184
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:4
230
: checking whether alloca needs Cray hooks"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_os_cray
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_os_cray
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
189
"configure"
#line 4
235
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
#if defined(CRAY) && ! defined(CRAY2)
webecray
webecray
...
@@ -4210,12 +4256,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
...
@@ -4210,12 +4256,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
if
test
$ac_cv_os_cray
=
yes
;
then
if
test
$ac_cv_os_cray
=
yes
;
then
for
ac_func
in
_getb67 GETB67 getb67
;
do
for
ac_func
in
_getb67 GETB67 getb67
;
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:42
14
: checking for
$ac_func
"
>
&5
echo
"configure:42
60
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 42
19
"configure"
#line 42
65
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -4238,7 +4284,7 @@ $ac_func();
...
@@ -4238,7 +4284,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:42
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:42
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -4265,7 +4311,7 @@ done
...
@@ -4265,7 +4311,7 @@ done
fi
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:4
269
: checking stack direction for C alloca"
>
&5
echo
"configure:4
315
: checking stack direction for C alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stack_direction
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stack_direction
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -4273,7 +4319,7 @@ else
...
@@ -4273,7 +4319,7 @@ else
ac_cv_c_stack_direction
=
0
ac_cv_c_stack_direction
=
0
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
277
"configure"
#line 4
323
"configure"
#include "confdefs.h"
#include "confdefs.h"
find_stack_direction ()
find_stack_direction ()
{
{
...
@@ -4292,7 +4338,7 @@ main ()
...
@@ -4292,7 +4338,7 @@ main ()
exit (find_stack_direction() < 0);
exit (find_stack_direction() < 0);
}
}
EOF
EOF
if
{
(
eval echo
configure:4
296
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
342
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_c_stack_direction
=
1
ac_cv_c_stack_direction
=
1
else
else
...
@@ -4332,12 +4378,12 @@ for ac_func in \
...
@@ -4332,12 +4378,12 @@ for ac_func in \
do
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:43
36
: checking for
$ac_func
"
>
&5
echo
"configure:43
82
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 43
41
"configure"
#line 43
87
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
which can conflict with char
$ac_func
(); below. */
...
@@ -4360,7 +4406,7 @@ $ac_func();
...
@@ -4360,7 +4406,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
364
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
410
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
eval
"ac_cv_func_
$ac_func
=yes"
else
else
...
@@ -4422,17 +4468,17 @@ for ac_hdr in \
...
@@ -4422,17 +4468,17 @@ for ac_hdr in \
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:442
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:44
7
2: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 44
31
"configure"
#line 44
77
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:44
36
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:44
82
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4459,12 +4505,12 @@ fi
...
@@ -4459,12 +4505,12 @@ fi
done
done
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
"configure:4
463
: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:4
509
: checking whether stat file-mode macros are broken"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stat_broken
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stat_broken
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
468
"configure"
#line 4
514
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -4517,12 +4563,12 @@ fi
...
@@ -4517,12 +4563,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:45
21
: checking for working const"
>
&5
echo
"configure:45
67
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 452
6
"configure"
#line 45
7
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -4571,7 +4617,7 @@ ccp = (char const *const *) p;
...
@@ -4571,7 +4617,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
575
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
621
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_const
=
yes
ac_cv_c_const
=
yes
else
else
...
@@ -4592,21 +4638,21 @@ EOF
...
@@ -4592,21 +4638,21 @@ EOF
fi
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:4
596
: checking for inline"
>
&5
echo
"configure:4
642
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
ac_cv_c_inline
=
no
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
03
"configure"
#line 46
49
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
}
$ac_kw
foo() {
}
$ac_kw
foo() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:46
10
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:46
56
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
ac_cv_c_inline
=
$ac_kw
;
break
else
else
...
@@ -4632,12 +4678,12 @@ EOF
...
@@ -4632,12 +4678,12 @@ EOF
esac
esac
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:46
36
: checking for ANSI C header files"
>
&5
echo
"configure:46
82
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
41
"configure"
#line 46
87
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -4645,7 +4691,7 @@ else
...
@@ -4645,7 +4691,7 @@ else
#include <float.h>
#include <float.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:46
4
9:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:469
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -4662,7 +4708,7 @@ rm -f conftest*
...
@@ -4662,7 +4708,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
666
"configure"
#line 4
712
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -4680,7 +4726,7 @@ fi
...
@@ -4680,7 +4726,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
684
"configure"
#line 4
730
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -4701,7 +4747,7 @@ if test "$cross_compiling" = yes; then
...
@@ -4701,7 +4747,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
0
5 "configure"
#line 475
1
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <ctype.h>
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
@@ -4712,7 +4758,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -4712,7 +4758,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:47
1
6:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:476
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -4736,12 +4782,12 @@ EOF
...
@@ -4736,12 +4782,12 @@ EOF
fi
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:47
40
: checking for size_t"
>
&5
echo
"configure:47
86
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
45
"configure"
#line 47
91
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -4769,7 +4815,7 @@ EOF
...
@@ -4769,7 +4815,7 @@ EOF
fi
fi
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:4
773
: checking size of long long"
>
&5
echo
"configure:4
819
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -4777,7 +4823,7 @@ else
...
@@ -4777,7 +4823,7 @@ else
ac_cv_sizeof_long_long
=
0
ac_cv_sizeof_long_long
=
0
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
781
"configure"
#line 4
827
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -4788,7 +4834,7 @@ main()
...
@@ -4788,7 +4834,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:4
792
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
838
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
else
...
@@ -4812,12 +4858,12 @@ EOF
...
@@ -4812,12 +4858,12 @@ EOF
if
test
"
$ac_cv_header_sys_vfs_h
"
=
"yes"
if
test
"
$ac_cv_header_sys_vfs_h
"
=
"yes"
then
then
echo
$ac_n
"checking "
whether sys/vfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether sys/vfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:48
1
6: checking "
whether sys/vfs.h defines statfs
""
>
&5
echo
"configure:486
2
: checking "
whether sys/vfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_vfs_has_statfs
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_vfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
21
"configure"
#line 48
67
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4834,7 +4880,7 @@ int main() {
...
@@ -4834,7 +4880,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:48
3
8:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:488
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
wine_cv_sys_vfs_has_statfs
=
yes
wine_cv_sys_vfs_has_statfs
=
yes
else
else
...
@@ -4861,12 +4907,12 @@ fi
...
@@ -4861,12 +4907,12 @@ fi
if
test
"
$ac_cv_header_sys_statfs_h
"
=
"yes"
if
test
"
$ac_cv_header_sys_statfs_h
"
=
"yes"
then
then
echo
$ac_n
"checking "
whether sys/statfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether sys/statfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:4
865
: checking "
whether sys/statfs.h defines statfs
""
>
&5
echo
"configure:4
911
: checking "
whether sys/statfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_statfs_has_statfs
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_statfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
870
"configure"
#line 4
916
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4881,7 +4927,7 @@ int main() {
...
@@ -4881,7 +4927,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
885
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
931
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
wine_cv_sys_statfs_has_statfs
=
yes
wine_cv_sys_statfs_has_statfs
=
yes
else
else
...
@@ -4908,12 +4954,12 @@ fi
...
@@ -4908,12 +4954,12 @@ fi
if
test
"
$ac_cv_header_sys_mount_h
"
=
"yes"
if
test
"
$ac_cv_header_sys_mount_h
"
=
"yes"
then
then
echo
$ac_n
"checking "
whether sys/mount.h defines statfs
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether sys/mount.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:49
12
: checking "
whether sys/mount.h defines statfs
""
>
&5
echo
"configure:49
58
: checking "
whether sys/mount.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_mount_has_statfs
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_mount_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
17
"configure"
#line 49
63
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4928,7 +4974,7 @@ int main() {
...
@@ -4928,7 +4974,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:49
32
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:49
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
wine_cv_sys_mount_has_statfs
=
yes
wine_cv_sys_mount_has_statfs
=
yes
else
else
...
@@ -4954,7 +5000,7 @@ fi
...
@@ -4954,7 +5000,7 @@ fi
echo
$ac_n
"checking "
for
statfs.f_bfree
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
statfs.f_bfree
"""...
$ac_c
"
1>&6
echo
"configure:
4958
: checking "
for
statfs.f_bfree
""
>
&5
echo
"configure:
5004
: checking "
for
statfs.f_bfree
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bfree
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bfree
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -4963,7 +5009,7 @@ else
...
@@ -4963,7 +5009,7 @@ else
wine_cv_statfs_bfree
=
no
wine_cv_statfs_bfree
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
4967
"configure"
#line
5013
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4990,7 +5036,7 @@ int main() {
...
@@ -4990,7 +5036,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
4994
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
5040
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
wine_cv_statfs_bfree
=
yes
wine_cv_statfs_bfree
=
yes
else
else
...
@@ -5014,7 +5060,7 @@ EOF
...
@@ -5014,7 +5060,7 @@ EOF
fi
fi
echo
$ac_n
"checking "
for
statfs.f_bavail
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
statfs.f_bavail
"""...
$ac_c
"
1>&6
echo
"configure:50
18
: checking "
for
statfs.f_bavail
""
>
&5
echo
"configure:50
64
: checking "
for
statfs.f_bavail
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bavail
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bavail
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -5023,7 +5069,7 @@ else
...
@@ -5023,7 +5069,7 @@ else
wine_cv_statfs_bavail
=
no
wine_cv_statfs_bavail
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
2
7 "configure"
#line 507
3
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5050,7 +5096,7 @@ int main() {
...
@@ -5050,7 +5096,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
054
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
100
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
wine_cv_statfs_bavail
=
yes
wine_cv_statfs_bavail
=
yes
else
else
...
@@ -5075,7 +5121,7 @@ fi
...
@@ -5075,7 +5121,7 @@ fi
echo
$ac_n
"checking "
for
working sigaltstack
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
working sigaltstack
"""...
$ac_c
"
1>&6
echo
"configure:5
079
: checking "
for
working sigaltstack
""
>
&5
echo
"configure:5
125
: checking "
for
working sigaltstack
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_working_sigaltstack
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_working_sigaltstack
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -5084,7 +5130,7 @@ else
...
@@ -5084,7 +5130,7 @@ else
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
088
"configure"
#line 5
134
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
...
@@ -5122,7 +5168,7 @@ else
...
@@ -5122,7 +5168,7 @@ else
}
}
EOF
EOF
if
{
(
eval echo
configure:512
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:51
7
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
ac_cv_c_working_sigaltstack
=
"yes"
ac_cv_c_working_sigaltstack
=
"yes"
else
else
...
@@ -5149,12 +5195,12 @@ fi
...
@@ -5149,12 +5195,12 @@ fi
echo
$ac_n
"checking "
for
msg_accrights
in
struct msghdr
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
for
msg_accrights
in
struct msghdr
"""...
$ac_c
"
1>&6
echo
"configure:51
53
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
echo
"configure:51
99
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_msg_accrights
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_msg_accrights
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
158
"configure"
#line 5
204
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
...
@@ -5162,7 +5208,7 @@ int main() {
...
@@ -5162,7 +5208,7 @@ int main() {
struct msghdr hdr; hdr.msg_accrights=0
struct msghdr hdr; hdr.msg_accrights=0
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
166
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
212
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_msg_accrights
=
"yes"
ac_cv_c_msg_accrights
=
"yes"
else
else
...
@@ -5185,12 +5231,12 @@ fi
...
@@ -5185,12 +5231,12 @@ fi
echo
$ac_n
"checking "
whether we need to define __i386__
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether we need to define __i386__
"""...
$ac_c
"
1>&6
echo
"configure:5
189
: checking "
whether we need to define __i386__
""
>
&5
echo
"configure:5
235
: checking "
whether we need to define __i386__
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cpp_def_i386
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cpp_def_i386
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
194
"configure"
#line 5
240
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
yes
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
7
−
3
View file @
5d68f79a
...
@@ -135,8 +135,8 @@ then
...
@@ -135,8 +135,8 @@ then
fi
fi
dnl Check for the presence of Mesa
dnl Check for the presence of Mesa
AC_CHECK_HEADERS(GL/gl.h GL/osmesa.h)
AC_CHECK_HEADERS(GL/gl.h
GL/glx.h
GL/osmesa.h)
if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_
osmesa
_h" = "yes"
if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_
glx
_h" = "yes"
then
then
dnl Check for some problems due to old Mesa versions
dnl Check for some problems due to old Mesa versions
AC_CACHE_CHECK("for up-to-date Mesa version", wine_cv_mesa_version_OK,
AC_CACHE_CHECK("for up-to-date Mesa version", wine_cv_mesa_version_OK,
...
@@ -151,7 +151,11 @@ then
...
@@ -151,7 +151,11 @@ then
if test "$wine_cv_mesa_version_OK" = "yes"
if test "$wine_cv_mesa_version_OK" = "yes"
then
then
dnl Check for the presense of the library
dnl Check for the presense of the library
AC_CHECK_LIB(MesaGL,OSMesaCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lMesaGL",,$X_LIBS -lXext -lX11 -lm)
AC_CHECK_LIB(GL,glXCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lGL",,$X_LIBS -lXext -lX11 -lm)
if test "$ac_cv_lib_GL_glXCreateContext" = "no"
then
AC_CHECK_LIB(MesaGL,glXCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lGL",,$X_LIBS -lXext -lX11 -lm)
fi
fi
fi
fi
fi
...
...
This diff is collapsed.
Click to expand it.
include/config.h.in
+
3
−
0
View file @
5d68f79a
...
@@ -184,6 +184,9 @@
...
@@ -184,6 +184,9 @@
/* Define if you have the <GL/gl.h> header file. */
/* Define if you have the <GL/gl.h> header file. */
#undef HAVE_GL_GL_H
#undef HAVE_GL_GL_H
/* Define if you have the <GL/glx.h> header file. */
#undef HAVE_GL_GLX_H
/* Define if you have the <GL/osmesa.h> header file. */
/* Define if you have the <GL/osmesa.h> header file. */
#undef HAVE_GL_OSMESA_H
#undef HAVE_GL_OSMESA_H
...
...
This diff is collapsed.
Click to expand it.
include/wine_gl.h
+
1
−
4
View file @
5d68f79a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
#include
"config.h"
#include
"config.h"
#if defined(HAVE_LIBMESAGL) && defined(HAVE_GL_
OSMESA
_H)
#if defined(HAVE_LIBMESAGL) && defined(HAVE_GL_
GLX
_H)
#define HAVE_MESAGL
#define HAVE_MESAGL
...
@@ -18,9 +18,6 @@
...
@@ -18,9 +18,6 @@
#undef WINAPI
#undef WINAPI
#include
<GL/gl.h>
#include
<GL/gl.h>
/* These will need to have some #ifdef / #endif added to support
more than the X11 using OSMesa target */
#include
<GL/osmesa.h>
#include
<GL/glx.h>
#include
<GL/glx.h>
#undef APIENTRY
#undef APIENTRY
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment