Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e977d6ca
Commit
e977d6ca
authored
Sep 05, 1999
by
Ron Record
Committed by
Alexandre Julliard
Sep 05, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support of __thr_errno for reentrance on UnixWare.
parent
0ded0fe3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
360 additions
and
211 deletions
+360
-211
configure
configure
+313
-203
configure.in
configure.in
+38
-8
acconfig.h
include/acconfig.h
+3
-0
config.h.in
include/config.h.in
+3
-0
sysdeps.c
scheduler/sysdeps.c
+3
-0
No files found.
configure
View file @
e977d6ca
...
@@ -2296,7 +2296,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
...
@@ -2296,7 +2296,7 @@ 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
=
"-lnsl
$LIBS
"
LIBS
=
"-lnsl
-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2302 "configure"
#line 2302 "configure"
#include "confdefs.h"
#include "confdefs.h"
...
@@ -2324,30 +2324,63 @@ LIBS="$ac_save_LIBS"
...
@@ -2324,30 +2324,63 @@ LIBS="$ac_save_LIBS"
fi
fi
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_lib_'
$ac_lib_var
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
ac_tr_lib
=
HAVE_LIB
`
echo
nsl |
sed
-e
's/^a-zA-Z0-9_/_/g'
\
X_EXTRA_LIBS
=
"
$X_EXTRA_LIBS
-lnsl"
-e
'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
`
else
cat
>>
confdefs.h
<<
EOF
echo
"
$ac_t
""no"
1>&6
#define
$ac_tr_lib
1
echo
$ac_n
"checking for gethostbyname in -lsocket""...
$ac_c
"
1>&6
EOF
echo
"configure:2332: checking for gethostbyname in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
gethostbyname |
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
=
"-lsocket -lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 2340 "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 gethostbyname();
LIBS
=
"-lnsl
$LIBS
"
int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:2351:
\"
$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
X_EXTRA_LIBS
=
"
$X_EXTRA_LIBS
-lnsl"
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
fi
fi
fi
done
done
for
ac_func
in
connect
for
ac_func
in
connect
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:23
46
: checking for
$ac_func
"
>
&5
echo
"configure:23
79
: 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 23
51
"configure"
#line 23
84
"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. */
...
@@ -2370,7 +2403,7 @@ $ac_func();
...
@@ -2370,7 +2403,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:2
374
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:2
407
:
\"
$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
...
@@ -2392,7 +2425,7 @@ EOF
...
@@ -2392,7 +2425,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:2
396
: checking for connect in -lsocket"
>
&5
echo
"configure:2
429
: checking for connect in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
connect |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
socket
'_'
connect |
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
...
@@ -2400,7 +2433,7 @@ else
...
@@ -2400,7 +2433,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
04
"configure"
#line 24
37
"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
...
@@ -2411,7 +2444,7 @@ int main() {
...
@@ -2411,7 +2444,7 @@ int main() {
connect()
connect()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:24
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:24
48
:
\"
$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
...
@@ -2442,7 +2475,7 @@ fi
...
@@ -2442,7 +2475,7 @@ fi
done
done
echo
$ac_n
"checking for setrunelocale in -lxpg4""...
$ac_c
"
1>&6
echo
$ac_n
"checking for setrunelocale in -lxpg4""...
$ac_c
"
1>&6
echo
"configure:24
46
: checking for setrunelocale in -lxpg4"
>
&5
echo
"configure:24
79
: checking for setrunelocale in -lxpg4"
>
&5
ac_lib_var
=
`
echo
xpg4
'_'
setrunelocale |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
xpg4
'_'
setrunelocale |
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
...
@@ -2450,7 +2483,7 @@ else
...
@@ -2450,7 +2483,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lxpg4
$LIBS
"
LIBS
=
"-lxpg4
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
54
"configure"
#line 24
87
"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
...
@@ -2461,7 +2494,7 @@ int main() {
...
@@ -2461,7 +2494,7 @@ int main() {
setrunelocale()
setrunelocale()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:24
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:24
98
:
\"
$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
...
@@ -2489,7 +2522,7 @@ else
...
@@ -2489,7 +2522,7 @@ else
fi
fi
echo
$ac_n
"checking for mmap in -lmmap""...
$ac_c
"
1>&6
echo
$ac_n
"checking for mmap in -lmmap""...
$ac_c
"
1>&6
echo
"configure:2
493
: checking for mmap in -lmmap"
>
&5
echo
"configure:2
526
: checking for mmap in -lmmap"
>
&5
ac_lib_var
=
`
echo
mmap
'_'
mmap |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
mmap
'_'
mmap |
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
...
@@ -2497,7 +2530,7 @@ else
...
@@ -2497,7 +2530,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lmmap
$LIBS
"
LIBS
=
"-lmmap
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 25
01
"configure"
#line 25
34
"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
...
@@ -2508,7 +2541,7 @@ int main() {
...
@@ -2508,7 +2541,7 @@ int main() {
mmap()
mmap()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:25
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:25
45
:
\"
$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
...
@@ -2540,17 +2573,17 @@ for ac_hdr in dlfcn.h
...
@@ -2540,17 +2573,17 @@ for ac_hdr in dlfcn.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:25
44
: checking for
$ac_hdr
"
>
&5
echo
"configure:25
77
: 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 25
49
"configure"
#line 25
82
"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:25
54
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:25
87
:
\"
$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
*
...
@@ -2573,12 +2606,12 @@ EOF
...
@@ -2573,12 +2606,12 @@ EOF
for
ac_func
in
dlopen
for
ac_func
in
dlopen
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:2
577
: checking for
$ac_func
"
>
&5
echo
"configure:2
610
: 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 2
582
"configure"
#line 2
615
"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. */
...
@@ -2601,7 +2634,7 @@ $ac_func();
...
@@ -2601,7 +2634,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:26
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:26
38
:
\"
$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
...
@@ -2626,7 +2659,7 @@ EOF
...
@@ -2626,7 +2659,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:26
30
: checking for dlopen in -ldl"
>
&5
echo
"configure:26
63
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
dl
'_'
dlopen |
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
...
@@ -2634,7 +2667,7 @@ else
...
@@ -2634,7 +2667,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
38
"configure"
#line 26
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
...
@@ -2645,7 +2678,7 @@ int main() {
...
@@ -2645,7 +2678,7 @@ int main() {
dlopen()
dlopen()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:26
49
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:26
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
...
@@ -2691,17 +2724,17 @@ then
...
@@ -2691,17 +2724,17 @@ then
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:2
695
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
728
: 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 27
00
"configure"
#line 27
33
"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:27
05
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:27
38
:
\"
$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
*
...
@@ -2730,7 +2763,7 @@ done
...
@@ -2730,7 +2763,7 @@ done
if
test
"
$ac_cv_header_X11_xpm_h
"
=
"yes"
if
test
"
$ac_cv_header_X11_xpm_h
"
=
"yes"
then
then
echo
$ac_n
"checking for XpmCreatePixmapFromData in -lXpm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for XpmCreatePixmapFromData in -lXpm""...
$ac_c
"
1>&6
echo
"configure:27
34
: checking for XpmCreatePixmapFromData in -lXpm"
>
&5
echo
"configure:27
67
: checking for XpmCreatePixmapFromData in -lXpm"
>
&5
ac_lib_var
=
`
echo
Xpm
'_'
XpmCreatePixmapFromData |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
Xpm
'_'
XpmCreatePixmapFromData |
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
...
@@ -2738,7 +2771,7 @@ else
...
@@ -2738,7 +2771,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXpm
$X_LIBS
-lXext -lX11
$LIBS
"
LIBS
=
"-lXpm
$X_LIBS
-lXext -lX11
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 27
42
"configure"
#line 27
75
"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
...
@@ -2749,7 +2782,7 @@ int main() {
...
@@ -2749,7 +2782,7 @@ int main() {
XpmCreatePixmapFromData()
XpmCreatePixmapFromData()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:27
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:27
86
:
\"
$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
...
@@ -2778,17 +2811,17 @@ fi
...
@@ -2778,17 +2811,17 @@ fi
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:2
782
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
815
: 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 2
787
"configure"
#line 2
820
"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:2
792
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
825
:
\"
$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
*
...
@@ -2817,7 +2850,7 @@ done
...
@@ -2817,7 +2850,7 @@ done
if
test
"
$ac_cv_header_X11_Xlib_h
"
=
"yes"
-a
"
$ac_cv_header_X11_extensions_XShm_h
"
=
"yes"
if
test
"
$ac_cv_header_X11_Xlib_h
"
=
"yes"
-a
"
$ac_cv_header_X11_extensions_XShm_h
"
=
"yes"
then
then
echo
$ac_n
"checking for XShmQueryExtension in -lXext""...
$ac_c
"
1>&6
echo
$ac_n
"checking for XShmQueryExtension in -lXext""...
$ac_c
"
1>&6
echo
"configure:28
21
: checking for XShmQueryExtension in -lXext"
>
&5
echo
"configure:28
54
: checking for XShmQueryExtension in -lXext"
>
&5
ac_lib_var
=
`
echo
Xext
'_'
XShmQueryExtension |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
Xext
'_'
XShmQueryExtension |
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
...
@@ -2825,7 +2858,7 @@ else
...
@@ -2825,7 +2858,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXext
$X_LIBS
-lXext -lX11
$LIBS
"
LIBS
=
"-lXext
$X_LIBS
-lXext -lX11
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 28
29
"configure"
#line 28
62
"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
...
@@ -2836,7 +2869,7 @@ int main() {
...
@@ -2836,7 +2869,7 @@ int main() {
XShmQueryExtension()
XShmQueryExtension()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:28
40
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:28
73
:
\"
$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
...
@@ -2864,17 +2897,17 @@ fi
...
@@ -2864,17 +2897,17 @@ fi
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:2
868
: checking for
$ac_hdr
"
>
&5
echo
"configure:2
901
: 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 2
873
"configure"
#line 2
906
"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:2
878
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:2
911
:
\"
$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
*
...
@@ -2903,7 +2936,7 @@ done
...
@@ -2903,7 +2936,7 @@ done
if
test
"
$ac_cv_header_X11_Xlib_h
"
=
"yes"
-a
"
$ac_cv_header_X11_extensions_xf86dga_h
"
=
"yes"
if
test
"
$ac_cv_header_X11_Xlib_h
"
=
"yes"
-a
"
$ac_cv_header_X11_extensions_xf86dga_h
"
=
"yes"
then
then
echo
$ac_n
"checking for XF86DGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
$ac_n
"checking for XF86DGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
"configure:29
07
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
echo
"configure:29
40
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
ac_lib_var
=
`
echo
Xxf86dga
'_'
XF86DGAQueryExtension |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
Xxf86dga
'_'
XF86DGAQueryExtension |
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
...
@@ -2911,7 +2944,7 @@ else
...
@@ -2911,7 +2944,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$LIBS
"
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 29
15
"configure"
#line 29
48
"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
...
@@ -2922,7 +2955,7 @@ int main() {
...
@@ -2922,7 +2955,7 @@ int main() {
XF86DGAQueryExtension()
XF86DGAQueryExtension()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:29
26
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:29
59
:
\"
$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
...
@@ -2951,17 +2984,17 @@ fi
...
@@ -2951,17 +2984,17 @@ fi
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:29
55
: checking for
$ac_hdr
"
>
&5
echo
"configure:29
88
: 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 29
60
"configure"
#line 29
93
"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:29
65
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:29
98
:
\"
$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
*
...
@@ -2990,7 +3023,7 @@ done
...
@@ -2990,7 +3023,7 @@ done
if
test
"
$ac_cv_header_X11_Xlib_h
"
=
"yes"
-a
"
$ac_cv_header_X11_extensions_xf86vmode_h
"
=
"yes"
if
test
"
$ac_cv_header_X11_Xlib_h
"
=
"yes"
-a
"
$ac_cv_header_X11_extensions_xf86vmode_h
"
=
"yes"
then
then
echo
$ac_n
"checking for XF86VidModeQueryExtension in -lXxf86vm""...
$ac_c
"
1>&6
echo
$ac_n
"checking for XF86VidModeQueryExtension in -lXxf86vm""...
$ac_c
"
1>&6
echo
"configure:
2994
: checking for XF86VidModeQueryExtension in -lXxf86vm"
>
&5
echo
"configure:
3027
: checking for XF86VidModeQueryExtension in -lXxf86vm"
>
&5
ac_lib_var
=
`
echo
Xxf86vm
'_'
XF86VidModeQueryExtension |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
Xxf86vm
'_'
XF86VidModeQueryExtension |
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
...
@@ -2998,7 +3031,7 @@ else
...
@@ -2998,7 +3031,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXxf86vm
$X_LIBS
-lXext -lX11
$LIBS
"
LIBS
=
"-lXxf86vm
$X_LIBS
-lXext -lX11
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
02
"configure"
#line 30
35
"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
...
@@ -3009,7 +3042,7 @@ int main() {
...
@@ -3009,7 +3042,7 @@ int main() {
XF86VidModeQueryExtension()
XF86VidModeQueryExtension()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:30
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:30
46
:
\"
$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
...
@@ -3038,17 +3071,17 @@ fi
...
@@ -3038,17 +3071,17 @@ fi
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:30
42
: checking for
$ac_hdr
"
>
&5
echo
"configure:30
75
: 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 30
47
"configure"
#line 30
80
"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:30
52
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:30
85
:
\"
$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
*
...
@@ -3077,19 +3110,19 @@ done
...
@@ -3077,19 +3110,19 @@ done
if
test
"
$ac_cv_header_GL_gl_h
"
=
"yes"
-a
"
$ac_cv_header_GL_glx_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:3
081
: checking "
for
up-to-date Mesa version
""
>
&5
echo
"configure:3
114
: checking "
for
up-to-date Mesa version
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_mesa_version_OK
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
wine_cv_mesa_version_OK
'+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
086
"configure"
#line 3
119
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <GL/gl.h>
#include <GL/gl.h>
int main() {
int main() {
GLenum test = GL_UNSIGNED_SHORT_5_6_5;
GLenum test = GL_UNSIGNED_SHORT_5_6_5;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
093
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
126
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
wine_cv_mesa_version_OK
=
"yes"
wine_cv_mesa_version_OK
=
"yes"
else
else
...
@@ -3108,7 +3141,7 @@ echo "$ac_t""$wine_cv_mesa_version_OK" 1>&6
...
@@ -3108,7 +3141,7 @@ 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 glXCreateContext in -lGL""...
$ac_c
"
1>&6
echo
$ac_n
"checking for glXCreateContext in -lGL""...
$ac_c
"
1>&6
echo
"configure:31
12
: checking for glXCreateContext in -lGL"
>
&5
echo
"configure:31
45
: checking for glXCreateContext in -lGL"
>
&5
ac_lib_var
=
`
echo
GL
'_'
glXCreateContext |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
GL
'_'
glXCreateContext |
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
...
@@ -3116,7 +3149,7 @@ else
...
@@ -3116,7 +3149,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lGL
$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 31
20
"configure"
#line 31
53
"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
...
@@ -3127,7 +3160,7 @@ int main() {
...
@@ -3127,7 +3160,7 @@ int main() {
glXCreateContext()
glXCreateContext()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:31
31
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:31
64
:
\"
$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
...
@@ -3153,7 +3186,7 @@ fi
...
@@ -3153,7 +3186,7 @@ fi
if
test
"
$ac_cv_lib_GL_glXCreateContext
"
=
"no"
if
test
"
$ac_cv_lib_GL_glXCreateContext
"
=
"no"
then
then
echo
$ac_n
"checking for glXCreateContext in -lMesaGL""...
$ac_c
"
1>&6
echo
$ac_n
"checking for glXCreateContext in -lMesaGL""...
$ac_c
"
1>&6
echo
"configure:31
57
: checking for glXCreateContext in -lMesaGL"
>
&5
echo
"configure:31
90
: checking for glXCreateContext in -lMesaGL"
>
&5
ac_lib_var
=
`
echo
MesaGL
'_'
glXCreateContext |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
MesaGL
'_'
glXCreateContext |
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
...
@@ -3161,7 +3194,7 @@ else
...
@@ -3161,7 +3194,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lMesaGL
$X_LIBS
-lXext -lX11 -lm
$LIBS
"
LIBS
=
"-lMesaGL
$X_LIBS
-lXext -lX11 -lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
65
"configure"
#line 31
98
"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
...
@@ -3172,7 +3205,7 @@ int main() {
...
@@ -3172,7 +3205,7 @@ int main() {
glXCreateContext()
glXCreateContext()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
176
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
209
:
\"
$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
...
@@ -3210,17 +3243,17 @@ for ac_hdr in ncurses.h
...
@@ -3210,17 +3243,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:32
14
: checking for
$ac_hdr
"
>
&5
echo
"configure:32
47
: 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 32
19
"configure"
#line 32
52
"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:32
24
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:32
57
:
\"
$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
*
...
@@ -3249,7 +3282,7 @@ done
...
@@ -3249,7 +3282,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:32
53
: checking for waddch in -lncurses"
>
&5
echo
"configure:32
86
: 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
...
@@ -3257,7 +3290,7 @@ else
...
@@ -3257,7 +3290,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
61
"configure"
#line 32
94
"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
...
@@ -3268,7 +3301,7 @@ int main() {
...
@@ -3268,7 +3301,7 @@ int main() {
waddch()
waddch()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
272
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
305
:
\"
$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
...
@@ -3299,7 +3332,7 @@ fi
...
@@ -3299,7 +3332,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:33
03
: checking for resizeterm in -lncurses"
>
&5
echo
"configure:33
36
: 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
...
@@ -3307,7 +3340,7 @@ else
...
@@ -3307,7 +3340,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 33
11
"configure"
#line 33
44
"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
...
@@ -3318,7 +3351,7 @@ int main() {
...
@@ -3318,7 +3351,7 @@ int main() {
resizeterm()
resizeterm()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:33
22
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:33
55
:
\"
$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
...
@@ -3342,7 +3375,7 @@ else
...
@@ -3342,7 +3375,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:33
46
: checking for getbkgd in -lncurses"
>
&5
echo
"configure:33
79
: 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
...
@@ -3350,7 +3383,7 @@ else
...
@@ -3350,7 +3383,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 33
54
"configure"
#line 33
87
"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 +3394,7 @@ int main() {
...
@@ -3361,7 +3394,7 @@ int main() {
getbkgd()
getbkgd()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:33
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:33
98
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3389,17 +3422,17 @@ else
...
@@ -3389,17 +3422,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:3
393
: checking for
$ac_hdr
"
>
&5
echo
"configure:3
426
: 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
398
"configure"
#line 3
431
"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:34
03
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:34
36
:
\"
$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
*
...
@@ -3428,7 +3461,7 @@ done
...
@@ -3428,7 +3461,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:34
32
: checking for waddch in -lcurses"
>
&5
echo
"configure:34
65
: 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
...
@@ -3436,7 +3469,7 @@ else
...
@@ -3436,7 +3469,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
40
"configure"
#line 34
73
"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
...
@@ -3447,7 +3480,7 @@ int main() {
...
@@ -3447,7 +3480,7 @@ int main() {
waddch()
waddch()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:34
51
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:34
84
:
\"
$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
...
@@ -3475,7 +3508,7 @@ else
...
@@ -3475,7 +3508,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:3
479
: checking for resizeterm in -lcurses"
>
&5
echo
"configure:3
512
: 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
...
@@ -3483,7 +3516,7 @@ else
...
@@ -3483,7 +3516,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
487
"configure"
#line 3
520
"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
...
@@ -3494,7 +3527,7 @@ int main() {
...
@@ -3494,7 +3527,7 @@ int main() {
resizeterm()
resizeterm()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
498
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
531
:
\"
$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
...
@@ -3518,7 +3551,7 @@ else
...
@@ -3518,7 +3551,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:35
22
: checking for getbkgd in -lcurses"
>
&5
echo
"configure:35
55
: 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
...
@@ -3526,7 +3559,7 @@ else
...
@@ -3526,7 +3559,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 35
30
"configure"
#line 35
63
"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
...
@@ -3537,7 +3570,7 @@ int main() {
...
@@ -3537,7 +3570,7 @@ int main() {
getbkgd()
getbkgd()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:35
41
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:35
74
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -3564,12 +3597,12 @@ fi
...
@@ -3564,12 +3597,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
568
: checking "
for
GNU style IPX support
""
>
&5
echo
"configure:3
601
: 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
573
"configure"
#line 3
606
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/socket.h>
#include <sys/socket.h>
#include <netipx/ipx.h>
#include <netipx/ipx.h>
...
@@ -3577,7 +3610,7 @@ int main() {
...
@@ -3577,7 +3610,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
581
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:3
614
:
\"
$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
...
@@ -3599,12 +3632,12 @@ echo "$ac_t""$ac_cv_c_ipx_gnu" 1>&6
...
@@ -3599,12 +3632,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:36
03
: checking "
for
linux style IPX support
""
>
&5
echo
"configure:36
36
: 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 36
08
"configure"
#line 36
41
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/socket.h>
#include <sys/socket.h>
#include <asm/types.h>
#include <asm/types.h>
...
@@ -3613,7 +3646,7 @@ int main() {
...
@@ -3613,7 +3646,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:36
17
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:36
50
:
\"
$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
...
@@ -3637,17 +3670,17 @@ for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h
...
@@ -3637,17 +3670,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:36
41
: checking for
$ac_hdr
"
>
&5
echo
"configure:36
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 36
46
"configure"
#line 36
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:36
51
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:36
84
:
\"
$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
*
...
@@ -3675,12 +3708,12 @@ done
...
@@ -3675,12 +3708,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
679
: checking "
for
Open Sound System
""
>
&5
echo
"configure:3
712
: 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
684
"configure"
#line 3
717
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
#if defined(HAVE_SYS_SOUNDCARD_H)
...
@@ -3701,7 +3734,7 @@ int main() {
...
@@ -3701,7 +3734,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:37
05
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:37
38
:
\"
$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
...
@@ -3724,12 +3757,12 @@ EOF
...
@@ -3724,12 +3757,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:37
28
: checking "
for
Open Sound System/MIDI interface
""
>
&5
echo
"configure:37
61
: 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 37
33
"configure"
#line 37
66
"configure"
#include "confdefs.h"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
#if defined(HAVE_SYS_SOUNDCARD_H)
...
@@ -3750,7 +3783,7 @@ int main() {
...
@@ -3750,7 +3783,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:37
54
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:37
87
:
\"
$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
...
@@ -3779,7 +3812,7 @@ if test "x${GCC}" = "xyes"
...
@@ -3779,7 +3812,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
783
: checking "
for
gcc strength-reduce bug
""
>
&5
echo
"configure:3
816
: 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
...
@@ -3787,7 +3820,7 @@ else
...
@@ -3787,7 +3820,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 3
791
"configure"
#line 3
824
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main(void) {
int main(void) {
...
@@ -3798,7 +3831,7 @@ int main(void) {
...
@@ -3798,7 +3831,7 @@ int main(void) {
exit( Array[1] != -2 );
exit( Array[1] != -2 );
}
}
EOF
EOF
if
{
(
eval echo
configure:38
02
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:38
35
:
\"
$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
...
@@ -3821,7 +3854,7 @@ fi
...
@@ -3821,7 +3854,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:38
25
: checking "
whether external symbols need an underscore prefix
""
>
&5
echo
"configure:38
58
: 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
...
@@ -3833,14 +3866,14 @@ _ac_test:
...
@@ -3833,14 +3866,14 @@ _ac_test:
.long 0
.long 0
EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 38
37
"configure"
#line 38
70
"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:38
44
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:38
77
:
\"
$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
...
@@ -3864,7 +3897,7 @@ fi
...
@@ -3864,7 +3897,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
868
: checking "
whether assembler accepts .string
""
>
&5
echo
"configure:3
901
: 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
...
@@ -3874,14 +3907,14 @@ cat > conftest_asm.s <<EOF
...
@@ -3874,14 +3907,14 @@ cat > conftest_asm.s <<EOF
.string "test"
.string "test"
EOF
EOF
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
878
"configure"
#line 3
911
"configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:3
885
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:3
918
:
\"
$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
...
@@ -3910,21 +3943,21 @@ LDSHARED=""
...
@@ -3910,21 +3943,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:39
14
: checking "
whether we can build a Linux dll
""
>
&5
echo
"configure:39
47
: 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 39
21
"configure"
#line 39
54
"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:39
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:39
61
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_dll_linux
=
"yes"
ac_cv_c_dll_linux
=
"yes"
else
else
...
@@ -3945,44 +3978,81 @@ echo "$ac_t""$ac_cv_c_dll_linux" 1>&6
...
@@ -3945,44 +3978,81 @@ echo "$ac_t""$ac_cv_c_dll_linux" 1>&6
DLLFLAGS
=
"-fPIC"
DLLFLAGS
=
"-fPIC"
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
UnixWare
dll
"""...
$ac_c
"
1>&6
echo
"configure:39
50: checking "
whether we can build a NetBSD
dll
""
>
&5
echo
"configure:39
83: checking "
whether we can build a UnixWare
dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_
netbsd
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_
unixware
'+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 -
Wl,-G,conftest.so.1.0
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
57
"configure"
#line 39
90
"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:39
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:39
97
:
\"
$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_
unixware
=
"yes"
else
else
echo
"configure: failed program was:"
>
&5
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
rm
-rf
conftest
*
ac_cv_c_dll_
netbsd
=
"no"
ac_cv_c_dll_
unixware
=
"no"
fi
fi
rm
-f
conftest
*
rm
-f
conftest
*
CFLAGS
=
$saved_cflags
CFLAGS
=
$saved_cflags
fi
fi
echo
"
$ac_t
""
$ac_cv_c_dll_
netbsd
"
1>&6
echo
"
$ac_t
""
$ac_cv_c_dll_
unixware
"
1>&6
if
test
"
$ac_cv_c_dll_
netbsd
"
=
"yes"
if
test
"
$ac_cv_c_dll_
unixware
"
=
"yes"
then
then
BUILDFLAGS
=
"-pic"
BUILDFLAGS
=
"-pic"
DLLFLAGS
=
"-fPIC"
DLLFLAGS
=
"-fPIC"
LDSHARED
=
"ld -Bshareable -Bforcearchive"
LDSHARED
=
"
\$
(CC) -Wl,-G,-h,/usr/local/lib/libwine.so"
else
echo
$ac_n
"checking "
whether we can build a NetBSD dll
"""...
$ac_c
"
1>&6
echo
"configure:4019: checking "
whether we can build a NetBSD dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_netbsd
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -Bshareable -Bforcearchive"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4026 "configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:4033:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_dll_netbsd
=
"yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
ac_cv_c_dll_netbsd
=
"no"
fi
rm
-f
conftest
*
CFLAGS
=
$saved_cflags
fi
echo
"
$ac_t
""
$ac_cv_c_dll_netbsd
"
1>&6
if
test
"
$ac_cv_c_dll_netbsd
"
=
"yes"
then
BUILDFLAGS
=
"-pic"
DLLFLAGS
=
"-fPIC"
LDSHARED
=
"ld -Bshareable -Bforcearchive"
fi
fi
fi
fi
fi
if
test
"
$ac_cv_c_dll_linux
"
=
"no"
-a
"
$ac_cv_c_dll_netbsd
"
=
"no"
if
test
"
$ac_cv_c_dll_linux
"
=
"no"
-a
"
$ac_cv_c_dll_
unixware
"
=
"no"
-a
"
$ac_cv_c_dll_
netbsd
"
=
"no"
then
then
LIB_TARGET
=
"libwine.a"
LIB_TARGET
=
"libwine.a"
fi
fi
...
@@ -3994,7 +4064,7 @@ fi
...
@@ -3994,7 +4064,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:
399
8: checking "
for
reentrant libc: __errno_location
""
>
&5
echo
"configure:
406
8: 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
...
@@ -4002,14 +4072,14 @@ else
...
@@ -4002,14 +4072,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 40
0
6 "configure"
#line 40
7
6 "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:40
1
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:40
8
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
...
@@ -4034,7 +4104,7 @@ EOF
...
@@ -4034,7 +4104,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:4
03
8: checking "
for
reentrant libc: __error
""
>
&5
echo
"configure:4
10
8: 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
...
@@ -4042,14 +4112,14 @@ else
...
@@ -4042,14 +4112,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 4
04
6 "configure"
#line 4
11
6 "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:4
05
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
12
3:
\"
$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
...
@@ -4074,7 +4144,7 @@ EOF
...
@@ -4074,7 +4144,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:4
07
8: checking "
for
reentrant libc: ___errno
""
>
&5
echo
"configure:4
14
8: 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
...
@@ -4082,14 +4152,14 @@ else
...
@@ -4082,14 +4152,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 4
08
6 "configure"
#line 4
15
6 "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:4
09
3:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
16
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
=
yes
wine_cv_libc_r___errno
=
yes
else
else
...
@@ -4113,6 +4183,46 @@ EOF
...
@@ -4113,6 +4183,46 @@ EOF
wine_cv_libc_reentrant
=
___errno
wine_cv_libc_reentrant
=
___errno
fi
fi
echo
$ac_n
"checking "
for
reentrant libc: __thr_errno
"""...
$ac_c
"
1>&6
echo
"configure:4188: 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
if
test
"
$cross_compiling
"
=
yes
;
then
wine_cv_libc_r__thr_errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4196 "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:4203:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r__thr_errno
=
yes
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-fr
conftest
*
wine_cv_libc_r__thr_errno
=
no
fi
rm
-fr
conftest
*
fi
fi
echo
"
$ac_t
""
$wine_cv_libc_r__thr_errno
"
1>&6
if
test
"
$wine_cv_libc_r__thr_errno
"
=
"yes"
then
cat
>>
confdefs.h
<<
\
EOF
#define HAVE__THR_ERRNO 1
EOF
wine_cv_libc_reentrant
=
__thr_errno
fi
if
test
"
$wine_cv_libc_reentrant
"
=
"no"
if
test
"
$wine_cv_libc_reentrant
"
=
"no"
then
then
cat
>>
confdefs.h
<<
\
EOF
cat
>>
confdefs.h
<<
\
EOF
...
@@ -4125,7 +4235,7 @@ fi
...
@@ -4125,7 +4235,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:4
12
9: checking "
for
reentrant X libraries
""
>
&5
echo
"configure:4
23
9: 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
...
@@ -4173,19 +4283,19 @@ fi
...
@@ -4173,19 +4283,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
17
7: checking for working alloca.h"
>
&5
echo
"configure:4
28
7: 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
18
2 "configure"
#line 4
29
2 "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:4
18
9:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
29
9:
\"
$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
...
@@ -4206,12 +4316,12 @@ EOF
...
@@ -4206,12 +4316,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:4
21
0: checking for alloca"
>
&5
echo
"configure:4
32
0: 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 4
21
5 "configure"
#line 4
32
5 "configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef __GNUC__
#ifdef __GNUC__
...
@@ -4234,7 +4344,7 @@ int main() {
...
@@ -4234,7 +4344,7 @@ int main() {
char *p = (char *) alloca(1);
char *p = (char *) alloca(1);
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
23
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
34
8:
\"
$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
...
@@ -4266,12 +4376,12 @@ EOF
...
@@ -4266,12 +4376,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
27
0: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:4
38
0: 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
27
5 "configure"
#line 4
38
5 "configure"
#include "confdefs.h"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
#if defined(CRAY) && ! defined(CRAY2)
webecray
webecray
...
@@ -4296,12 +4406,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
...
@@ -4296,12 +4406,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:4
30
0: checking for
$ac_func
"
>
&5
echo
"configure:4
41
0: 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 4
30
5 "configure"
#line 4
41
5 "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. */
...
@@ -4324,7 +4434,7 @@ $ac_func();
...
@@ -4324,7 +4434,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
32
8:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
43
8:
\"
$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
...
@@ -4351,7 +4461,7 @@ done
...
@@ -4351,7 +4461,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
35
5: checking stack direction for C alloca"
>
&5
echo
"configure:4
46
5: 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
...
@@ -4359,7 +4469,7 @@ else
...
@@ -4359,7 +4469,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
36
3 "configure"
#line 4
47
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
find_stack_direction ()
find_stack_direction ()
{
{
...
@@ -4378,7 +4488,7 @@ main ()
...
@@ -4378,7 +4488,7 @@ main ()
exit (find_stack_direction() < 0);
exit (find_stack_direction() < 0);
}
}
EOF
EOF
if
{
(
eval echo
configure:4
38
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
49
2:
\"
$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
...
@@ -4419,12 +4529,12 @@ for ac_func in \
...
@@ -4419,12 +4529,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:4
42
3: checking for
$ac_func
"
>
&5
echo
"configure:4
53
3: 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 4
42
8 "configure"
#line 4
53
8 "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. */
...
@@ -4447,7 +4557,7 @@ $ac_func();
...
@@ -4447,7 +4557,7 @@ $ac_func();
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
45
1:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
56
1:
\"
$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
...
@@ -4510,17 +4620,17 @@ for ac_hdr in \
...
@@ -4510,17 +4620,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:4
51
4: checking for
$ac_hdr
"
>
&5
echo
"configure:4
62
4: 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 4
51
9 "configure"
#line 4
62
9 "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:4
52
4:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
63
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
*
...
@@ -4547,12 +4657,12 @@ fi
...
@@ -4547,12 +4657,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
55
1: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:4
66
1: 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
55
6 "configure"
#line 4
66
6 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -4605,12 +4715,12 @@ fi
...
@@ -4605,12 +4715,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:4
60
9: checking for working const"
>
&5
echo
"configure:4
71
9: 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 4
61
4 "configure"
#line 4
72
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
...
@@ -4659,7 +4769,7 @@ ccp = (char const *const *) p;
...
@@ -4659,7 +4769,7 @@ ccp = (char const *const *) p;
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:4
66
3:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
77
3:
\"
$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
...
@@ -4680,21 +4790,21 @@ EOF
...
@@ -4680,21 +4790,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
68
4: checking for inline"
>
&5
echo
"configure:4
79
4: 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 4
69
1 "configure"
#line 4
80
1 "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:4
69
8:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:4
80
8:
\"
$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
...
@@ -4720,12 +4830,12 @@ EOF
...
@@ -4720,12 +4830,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:4
72
4: checking for ANSI C header files"
>
&5
echo
"configure:4
83
4: 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 4
72
9 "configure"
#line 4
83
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -4733,7 +4843,7 @@ else
...
@@ -4733,7 +4843,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:4
73
7:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
84
7:
\"
$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
*
...
@@ -4750,7 +4860,7 @@ rm -f conftest*
...
@@ -4750,7 +4860,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
75
4 "configure"
#line 4
86
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <string.h>
#include <string.h>
EOF
EOF
...
@@ -4768,7 +4878,7 @@ fi
...
@@ -4768,7 +4878,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
77
2 "configure"
#line 4
88
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
EOF
EOF
...
@@ -4789,7 +4899,7 @@ if test "$cross_compiling" = yes; then
...
@@ -4789,7 +4899,7 @@ if test "$cross_compiling" = yes; then
:
:
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
79
3 "configure"
#line 4
90
3 "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')
...
@@ -4800,7 +4910,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
...
@@ -4800,7 +4910,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
EOF
EOF
if
{
(
eval echo
configure:4
80
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
91
4:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
:
:
else
else
...
@@ -4824,12 +4934,12 @@ EOF
...
@@ -4824,12 +4934,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:4
82
8: checking for size_t"
>
&5
echo
"configure:4
93
8: 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 4
83
3 "configure"
#line 4
94
3 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#if STDC_HEADERS
#if STDC_HEADERS
...
@@ -4857,7 +4967,7 @@ EOF
...
@@ -4857,7 +4967,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
86
1: checking size of long long"
>
&5
echo
"configure:4
97
1: 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
...
@@ -4865,7 +4975,7 @@ else
...
@@ -4865,7 +4975,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
86
9 "configure"
#line 4
97
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
main()
main()
...
@@ -4876,7 +4986,7 @@ main()
...
@@ -4876,7 +4986,7 @@ main()
exit(0);
exit(0);
}
}
EOF
EOF
if
{
(
eval echo
configure:4
88
0:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:4
99
0:
\"
$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
...
@@ -4899,12 +5009,12 @@ EOF
...
@@ -4899,12 +5009,12 @@ EOF
if
test
"
$ac_cv_header_linux_joystick_h
"
=
"yes"
if
test
"
$ac_cv_header_linux_joystick_h
"
=
"yes"
then
then
echo
$ac_n
"checking "
whether linux/joystick.h uses the Linux 2.2+ API
"""...
$ac_c
"
1>&6
echo
$ac_n
"checking "
whether linux/joystick.h uses the Linux 2.2+ API
"""...
$ac_c
"
1>&6
echo
"configure:
490
3: checking "
whether linux/joystick.h uses the Linux 2.2+ API
""
>
&5
echo
"configure:
501
3: 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
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_joystick_22_api
'+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
490
8 "configure"
#line
501
8 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/ioctl.h>
#include <sys/ioctl.h>
...
@@ -4916,7 +5026,7 @@ int main() {
...
@@ -4916,7 +5026,7 @@ int main() {
/*empty*/
/*empty*/
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
492
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
503
0:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
wine_cv_linux_joystick_22_api
=
yes
wine_cv_linux_joystick_22_api
=
yes
else
else
...
@@ -4943,12 +5053,12 @@ fi
...
@@ -4943,12 +5053,12 @@ fi
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:
494
7: checking "
whether sys/vfs.h defines statfs
""
>
&5
echo
"configure:
505
7: 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
495
2 "configure"
#line
506
2 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -4965,7 +5075,7 @@ int main() {
...
@@ -4965,7 +5075,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:
496
9:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:
507
9:
\"
$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
...
@@ -4992,12 +5102,12 @@ fi
...
@@ -4992,12 +5102,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:
499
6: checking "
whether sys/statfs.h defines statfs
""
>
&5
echo
"configure:
510
6: 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 5
00
1 "configure"
#line 5
11
1 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5012,7 +5122,7 @@ int main() {
...
@@ -5012,7 +5122,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
01
6:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
12
6:
\"
$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
...
@@ -5039,12 +5149,12 @@ fi
...
@@ -5039,12 +5149,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:5
04
3: checking "
whether sys/mount.h defines statfs
""
>
&5
echo
"configure:5
15
3: 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 5
04
8 "configure"
#line 5
15
8 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5059,7 +5169,7 @@ int main() {
...
@@ -5059,7 +5169,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
06
3:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
17
3:
\"
$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
...
@@ -5085,7 +5195,7 @@ fi
...
@@ -5085,7 +5195,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:5
08
9: checking "
for
statfs.f_bfree
""
>
&5
echo
"configure:5
19
9: 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
...
@@ -5094,7 +5204,7 @@ else
...
@@ -5094,7 +5204,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 5
09
8 "configure"
#line 5
20
8 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5121,7 +5231,7 @@ int main() {
...
@@ -5121,7 +5231,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
12
5:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
23
5:
\"
$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
...
@@ -5145,7 +5255,7 @@ EOF
...
@@ -5145,7 +5255,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:5
14
9: checking "
for
statfs.f_bavail
""
>
&5
echo
"configure:5
25
9: 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
...
@@ -5154,7 +5264,7 @@ else
...
@@ -5154,7 +5264,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 5
15
8 "configure"
#line 5
26
8 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5181,7 +5291,7 @@ int main() {
...
@@ -5181,7 +5291,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:5
18
5:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
29
5:
\"
$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
...
@@ -5206,7 +5316,7 @@ fi
...
@@ -5206,7 +5316,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
21
0: checking "
for
working sigaltstack
""
>
&5
echo
"configure:5
32
0: 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
...
@@ -5215,7 +5325,7 @@ else
...
@@ -5215,7 +5325,7 @@ else
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 5
21
9 "configure"
#line 5
32
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
...
@@ -5253,7 +5363,7 @@ else
...
@@ -5253,7 +5363,7 @@ else
}
}
EOF
EOF
if
{
(
eval echo
configure:5
25
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:5
36
7:
\"
$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
...
@@ -5280,12 +5390,12 @@ fi
...
@@ -5280,12 +5390,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:5
28
4: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
echo
"configure:5
39
4: 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
28
9 "configure"
#line 5
39
9 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
...
@@ -5293,7 +5403,7 @@ int main() {
...
@@ -5293,7 +5403,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
29
7:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:5
40
7:
\"
$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
...
@@ -5316,12 +5426,12 @@ fi
...
@@ -5316,12 +5426,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
32
0: checking "
whether we need to define __i386__
""
>
&5
echo
"configure:5
43
0: 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
32
5 "configure"
#line 5
43
5 "configure"
#include "confdefs.h"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
yes
...
...
configure.in
View file @
e977d6ca
...
@@ -93,7 +93,7 @@ AC_CHECK_LIB(ossaudio,_oss_ioctl)
...
@@ -93,7 +93,7 @@ AC_CHECK_LIB(ossaudio,_oss_ioctl)
dnl Check for -lw for Solaris
dnl Check for -lw for Solaris
AC_CHECK_LIB(w,iswalnum)
AC_CHECK_LIB(w,iswalnum)
dnl Check for -lnsl for Solaris
dnl Check for -lnsl for Solaris
AC_CHECK_FUNCS(gethostbyname,,
AC_CHECK_LIB(nsl,gethostbyname
))
AC_CHECK_FUNCS(gethostbyname,,
AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl", AC_CHECK_LIB(socket, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl", , -lnsl), -lsocket
))
dnl Check for -lsocket for Solaris
dnl Check for -lsocket for Solaris
AC_CHECK_FUNCS(connect,,AC_CHECK_LIB(socket,connect))
AC_CHECK_FUNCS(connect,,AC_CHECK_LIB(socket,connect))
dnl Check for -lxpg4 for FreeBSD
dnl Check for -lxpg4 for FreeBSD
...
@@ -351,21 +351,35 @@ then
...
@@ -351,21 +351,35 @@ then
DLLFLAGS="-fPIC"
DLLFLAGS="-fPIC"
LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so"
LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so"
else
else
AC_CACHE_CHECK("whether we can build a
NetBSD
dll",
AC_CACHE_CHECK("whether we can build a
UnixWare
dll",
ac_cv_c_dll_netbsd
,
ac_cv_c_dll_unixware
,
[saved_cflags=$CFLAGS
[saved_cflags=$CFLAGS
CFLAGS="$CFLAGS -fPIC -
Bshareable -Bforcearchive
"
CFLAGS="$CFLAGS -fPIC -
Wl,-G,conftest.so.1.0
"
AC_TRY_LINK(,[return 1],ac_cv_c_dll_
netbsd="yes",ac_cv_c_dll_netbsd
="no")
AC_TRY_LINK(,[return 1],ac_cv_c_dll_
unixware="yes",ac_cv_c_dll_unixware
="no")
CFLAGS=$saved_cflags
CFLAGS=$saved_cflags
])
])
if test "$ac_cv_c_dll_
netbsd
" = "yes"
if test "$ac_cv_c_dll_
unixware
" = "yes"
then
then
BUILDFLAGS="-pic"
BUILDFLAGS="-pic"
DLLFLAGS="-fPIC"
DLLFLAGS="-fPIC"
LDSHARED="ld -Bshareable -Bforcearchive"
LDSHARED="\$(CC) -Wl,-G,-h,/usr/local/lib/libwine.so"
else
AC_CACHE_CHECK("whether we can build a NetBSD dll",
ac_cv_c_dll_netbsd,
[saved_cflags=$CFLAGS
CFLAGS="$CFLAGS -fPIC -Bshareable -Bforcearchive"
AC_TRY_LINK(,[return 1],ac_cv_c_dll_netbsd="yes",ac_cv_c_dll_netbsd="no")
CFLAGS=$saved_cflags
])
if test "$ac_cv_c_dll_netbsd" = "yes"
then
BUILDFLAGS="-pic"
DLLFLAGS="-fPIC"
LDSHARED="ld -Bshareable -Bforcearchive"
fi
fi
fi
fi
fi
if test "$ac_cv_c_dll_linux" = "no" -a "$ac_cv_c_dll_netbsd" = "no"
if test "$ac_cv_c_dll_linux" = "no" -a "$ac_cv_c_dll_
unixware" = "no" -a "$ac_cv_c_dll_
netbsd" = "no"
then
then
LIB_TARGET="libwine.a"
LIB_TARGET="libwine.a"
fi
fi
...
@@ -428,6 +442,22 @@ then
...
@@ -428,6 +442,22 @@ then
AC_DEFINE(HAVE___ERRNO)
AC_DEFINE(HAVE___ERRNO)
wine_cv_libc_reentrant=___errno
wine_cv_libc_reentrant=___errno
fi
fi
dnl
dnl UnixWare style errno location
dnl
AC_CACHE_CHECK("for reentrant libc: __thr_errno", wine_cv_libc_r__thr_errno,
[AC_TRY_RUN([int myerrno = 0;
char buf[256];
int *__thr_errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}],
wine_cv_libc_r__thr_errno=yes, wine_cv_libc_r__thr_errno=no,
wine_cv_libc_r__thr_errno=yes )
])
if test "$wine_cv_libc_r__thr_errno" = "yes"
then
AC_DEFINE(HAVE__THR_ERRNO)
wine_cv_libc_reentrant=__thr_errno
fi
if test "$wine_cv_libc_reentrant" = "no"
if test "$wine_cv_libc_reentrant" = "no"
then
then
AC_DEFINE(NO_REENTRANT_LIBC)
AC_DEFINE(NO_REENTRANT_LIBC)
...
...
include/acconfig.h
View file @
e977d6ca
...
@@ -45,6 +45,9 @@
...
@@ -45,6 +45,9 @@
/* Define if libc uses ___errno for reentrant errno */
/* Define if libc uses ___errno for reentrant errno */
#undef HAVE___ERRNO
#undef HAVE___ERRNO
/* Define if libc uses __thr_errno for reentrant errno */
#undef HAVE__THR_ERRNO
/* Define if all debug messages are to be compiled out */
/* Define if all debug messages are to be compiled out */
#undef NO_DEBUG_MSGS
#undef NO_DEBUG_MSGS
...
...
include/config.h.in
View file @
e977d6ca
...
@@ -82,6 +82,9 @@
...
@@ -82,6 +82,9 @@
/* Define if libc uses ___errno for reentrant errno */
/* Define if libc uses ___errno for reentrant errno */
#undef HAVE___ERRNO
#undef HAVE___ERRNO
/* Define if libc uses __thr_errno for reentrant errno */
#undef HAVE__THR_ERRNO
/* Define if all debug messages are to be compiled out */
/* Define if all debug messages are to be compiled out */
#undef NO_DEBUG_MSGS
#undef NO_DEBUG_MSGS
...
...
scheduler/sysdeps.c
View file @
e977d6ca
...
@@ -72,6 +72,9 @@ int *__error()
...
@@ -72,6 +72,9 @@ int *__error()
#ifdef HAVE___ERRNO
#ifdef HAVE___ERRNO
int
*
___errno
()
int
*
___errno
()
#endif
#endif
#ifdef HAVE__THR_ERRNO
int
*
__thr_errno
()
#endif
{
{
if
(
!
init_done
)
return
perrno
;
if
(
!
init_done
)
return
perrno
;
#ifdef NO_REENTRANT_X11
#ifdef NO_REENTRANT_X11
...
...
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