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
6cef4cdc
Commit
6cef4cdc
authored
Nov 06, 2002
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Nov 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When checking for sys/mount.h and sys/user.h also include sys/types.h
if available.
parent
74476416
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
9 deletions
+59
-9
configure
configure
+52
-4
configure.ac
configure.ac
+7
-5
No files found.
configure
View file @
6cef4cdc
...
...
@@ -11645,8 +11645,6 @@ done
for
ac_header
in
\
arpa/inet.h
\
arpa/nameser.h
\
...
...
@@ -11688,7 +11686,6 @@ for ac_header in \
sys/lwp.h
\
sys/mman.h
\
sys/modem.h
\
sys/mount.h
\
sys/msg.h
\
sys/param.h
\
sys/poll.h
\
...
...
@@ -11706,7 +11703,6 @@ for ac_header in \
sys/times.h
\
sys/uio.h
\
sys/un.h
\
sys/user.h
\
sys/v86.h
\
sys/v86intr.h
\
sys/vfs.h
\
...
...
@@ -11887,6 +11883,58 @@ fi
for
ac_header
in
sys/mount.h sys/user.h
do
as_ac_Header
=
`
echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
echo
"
$as_me
:
$LINENO
: checking for
$ac_header
"
>
&5
echo
$ECHO_N
"checking for
$ac_header
...
$ECHO_C
"
>
&6
if
eval
"test
\"\$
{
$as_ac_Header
+set}
\"
= set"
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
#include "confdefs.h"
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <
$ac_header
>
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_compile
\"
"
)
>
&5
(
eval
$ac_compile
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'test -s conftest.$ac_objext'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
eval
"
$as_ac_Header
=yes"
else
echo
"
$as_me
: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
eval
"
$as_ac_Header
=no"
fi
rm
-f
conftest.
$ac_objext
conftest.
$ac_ext
fi
echo
"
$as_me
:
$LINENO
: result:
`
eval echo
'${'
$as_ac_Header
'}'
`
"
>
&5
echo
"
${
ECHO_T
}
`
eval echo
'${'
$as_ac_Header
'}'
`
"
>
&6
if
test
`
eval echo
'${'
$as_ac_Header
'}'
`
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define `echo "HAVE_
$ac_header
" |
$as_tr_cpp
` 1
_ACEOF
fi
done
for
ac_header
in
net/if.h
do
as_ac_Header
=
`
echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
...
...
configure.ac
View file @
6cef4cdc
...
...
@@ -1001,7 +1001,6 @@ AC_CHECK_HEADERS(\
sys/lwp.h \
sys/mman.h \
sys/modem.h \
sys/mount.h \
sys/msg.h \
sys/param.h \
sys/poll.h \
...
...
@@ -1019,7 +1018,6 @@ AC_CHECK_HEADERS(\
sys/times.h \
sys/uio.h \
sys/un.h \
sys/user.h \
sys/v86.h \
sys/v86intr.h \
sys/vfs.h \
...
...
@@ -1033,7 +1031,13 @@ AC_CHECK_HEADERS(\
)
AC_HEADER_STAT()
dnl *** Check for net/if.h
dnl **** Checks for headers that depend on other ones ****
AC_CHECK_HEADERS(sys/mount.h sys/user.h,,,
[#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif])
AC_CHECK_HEADERS(net/if.h,,,
[#if HAVE_SYS_TYPES_H
# include <sys/types.h>
...
...
@@ -1042,7 +1046,6 @@ AC_CHECK_HEADERS(net/if.h,,,
# include <sys/socket.h>
#endif])
dnl *** Check for netinet/ip.h
AC_CHECK_HEADERS(netinet/ip.h,,,
[#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
...
...
@@ -1051,7 +1054,6 @@ AC_CHECK_HEADERS(netinet/ip.h,,,
# include <netinet/in_systm.h>
#endif])
dnl *** Check for resolv.h
AC_CHECK_HEADERS(resolv.h,,,
[#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
...
...
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