Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
605a9c39
Commit
605a9c39
authored
Nov 04, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 04, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enhanced linux joystick api detection slightly.
parent
384a10dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
24 deletions
+30
-24
configure
configure
+27
-24
configure.in
configure.in
+3
-0
No files found.
configure
View file @
605a9c39
...
@@ -5078,12 +5078,15 @@ else
...
@@ -5078,12 +5078,15 @@ else
#include <linux/joystick.h>
#include <linux/joystick.h>
struct js_event blub;
struct js_event blub;
#if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
#error "no 2.2 header"
#endif
int main() {
int main() {
/*empty*/
/*empty*/
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:50
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
90
:
\"
$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
...
@@ -5110,12 +5113,12 @@ fi
...
@@ -5110,12 +5113,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:511
4
: checking "
whether sys/vfs.h defines statfs
""
>
&5
echo
"configure:511
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 51
19
"configure"
#line 51
22
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5132,7 +5135,7 @@ int main() {
...
@@ -5132,7 +5135,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:513
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:513
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
...
@@ -5159,12 +5162,12 @@ fi
...
@@ -5159,12 +5162,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:516
3
: checking "
whether sys/statfs.h defines statfs
""
>
&5
echo
"configure:516
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 51
68
"configure"
#line 51
71
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5179,7 +5182,7 @@ int main() {
...
@@ -5179,7 +5182,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:518
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:518
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
...
@@ -5206,12 +5209,12 @@ fi
...
@@ -5206,12 +5209,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:521
0
: checking "
whether sys/mount.h defines statfs
""
>
&5
echo
"configure:521
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 521
5
"configure"
#line 521
8
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5226,7 +5229,7 @@ int main() {
...
@@ -5226,7 +5229,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:523
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:523
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
...
@@ -5252,7 +5255,7 @@ fi
...
@@ -5252,7 +5255,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:525
6
: checking "
for
statfs.f_bfree
""
>
&5
echo
"configure:525
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
...
@@ -5261,7 +5264,7 @@ else
...
@@ -5261,7 +5264,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 526
5
"configure"
#line 526
8
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5288,7 +5291,7 @@ int main() {
...
@@ -5288,7 +5291,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:529
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:529
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
...
@@ -5312,7 +5315,7 @@ EOF
...
@@ -5312,7 +5315,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:531
6
: checking "
for
statfs.f_bavail
""
>
&5
echo
"configure:531
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
...
@@ -5321,7 +5324,7 @@ else
...
@@ -5321,7 +5324,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 532
5
"configure"
#line 532
8
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
...
@@ -5348,7 +5351,7 @@ int main() {
...
@@ -5348,7 +5351,7 @@ int main() {
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:535
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:535
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
...
@@ -5373,7 +5376,7 @@ fi
...
@@ -5373,7 +5376,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:53
77
: checking "
for
working sigaltstack
""
>
&5
echo
"configure:53
80
: 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
...
@@ -5382,7 +5385,7 @@ else
...
@@ -5382,7 +5385,7 @@ else
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 538
6
"configure"
#line 538
9
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
...
@@ -5420,7 +5423,7 @@ else
...
@@ -5420,7 +5423,7 @@ else
}
}
EOF
EOF
if
{
(
eval echo
configure:542
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:542
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
...
@@ -5447,12 +5450,12 @@ fi
...
@@ -5447,12 +5450,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:545
1
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
echo
"configure:545
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 545
6
"configure"
#line 545
9
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
...
@@ -5460,7 +5463,7 @@ int main() {
...
@@ -5460,7 +5463,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:546
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:546
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
...
@@ -5483,12 +5486,12 @@ fi
...
@@ -5483,12 +5486,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:54
87
: checking "
whether we need to define __i386__
""
>
&5
echo
"configure:54
90
: 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 549
2
"configure"
#line 549
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 @
605a9c39
...
@@ -597,6 +597,9 @@ then
...
@@ -597,6 +597,9 @@ then
#include <linux/joystick.h>
#include <linux/joystick.h>
struct js_event blub;
struct js_event blub;
#if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
#error "no 2.2 header"
#endif
],/*empty*/,
],/*empty*/,
wine_cv_linux_joystick_22_api=yes,
wine_cv_linux_joystick_22_api=yes,
wine_cv_linux_joystick_22_api=no,
wine_cv_linux_joystick_22_api=no,
...
...
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