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
b38b4c2c
Commit
b38b4c2c
authored
Jan 21, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved the IPX check so that the sys/socket.h check has already been
done when we check for IPX headers.
parent
ffd4fd51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
159 additions
and
157 deletions
+159
-157
configure
configure
+121
-120
configure.ac
configure.ac
+38
-37
No files found.
configure
View file @
b38b4c2c
...
@@ -9771,126 +9771,6 @@ _ACEOF
...
@@ -9771,126 +9771,6 @@ _ACEOF
fi
fi
echo
"
$as_me
:
$LINENO
: checking for GNU style IPX support"
>
&5
echo
$ECHO_N
"checking for GNU style IPX support...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_c_ipx_gnu
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <netipx/ipx.h>
int
main ()
{
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
;
return 0;
}
_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
ac_cv_c_ipx_gnu
=
"yes"
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_c_ipx_gnu
=
"no"
fi
rm
-f
conftest.
$ac_objext
conftest.
$ac_ext
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_c_ipx_gnu
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_c_ipx_gnu
"
>
&6
if
test
"
$ac_cv_c_ipx_gnu
"
=
"yes"
then
cat
>>
confdefs.h
<<
\
_ACEOF
#define HAVE_IPX_GNU 1
_ACEOF
fi
if
test
"
$ac_cv_c_ipx_gnu
"
=
"no"
then
echo
"
$as_me
:
$LINENO
: checking for linux style IPX support"
>
&5
echo
$ECHO_N
"checking for linux style IPX support...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_c_ipx_linux
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <asm/types.h>
#include <linux/ipx.h>
int
main ()
{
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
;
return 0;
}
_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
ac_cv_c_ipx_linux
=
"yes"
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_c_ipx_linux
=
"no"
fi
rm
-f
conftest.
$ac_objext
conftest.
$ac_ext
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_c_ipx_linux
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_c_ipx_linux
"
>
&6
if
test
"
$ac_cv_c_ipx_linux
"
=
"yes"
then
cat
>>
confdefs.h
<<
\
_ACEOF
#define HAVE_IPX_LINUX 1
_ACEOF
fi
fi
...
@@ -13918,6 +13798,127 @@ done
...
@@ -13918,6 +13798,127 @@ done
echo
"
$as_me
:
$LINENO
: checking for GNU style IPX support"
>
&5
echo
$ECHO_N
"checking for GNU style IPX support...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_c_ipx_gnu
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <netipx/ipx.h>
int
main ()
{
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
;
return 0;
}
_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
ac_cv_c_ipx_gnu
=
"yes"
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_c_ipx_gnu
=
"no"
fi
rm
-f
conftest.
$ac_objext
conftest.
$ac_ext
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_c_ipx_gnu
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_c_ipx_gnu
"
>
&6
if
test
"
$ac_cv_c_ipx_gnu
"
=
"yes"
then
cat
>>
confdefs.h
<<
\
_ACEOF
#define HAVE_IPX_GNU 1
_ACEOF
fi
if
test
"
$ac_cv_c_ipx_gnu
"
=
"no"
then
echo
"
$as_me
:
$LINENO
: checking for linux style IPX support"
>
&5
echo
$ECHO_N
"checking for linux style IPX support...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_c_ipx_linux
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <asm/types.h>
#include <linux/ipx.h>
int
main ()
{
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
;
return 0;
}
_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
ac_cv_c_ipx_linux
=
"yes"
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_c_ipx_linux
=
"no"
fi
rm
-f
conftest.
$ac_objext
conftest.
$ac_ext
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_c_ipx_linux
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_c_ipx_linux
"
>
&6
if
test
"
$ac_cv_c_ipx_linux
"
=
"yes"
then
cat
>>
confdefs.h
<<
\
_ACEOF
#define HAVE_IPX_LINUX 1
_ACEOF
fi
fi
echo
"
$as_me
:
$LINENO
: checking for an ANSI C-conforming const"
>
&5
echo
"
$as_me
:
$LINENO
: checking for an ANSI C-conforming const"
>
&5
echo
$ECHO_N
"checking for an ANSI C-conforming const...
$ECHO_C
"
>
&6
echo
$ECHO_N
"checking for an ANSI C-conforming const...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_c_const
+set
}
"
=
set
;
then
if
test
"
${
ac_cv_c_const
+set
}
"
=
set
;
then
...
...
configure.ac
View file @
b38b4c2c
...
@@ -497,43 +497,6 @@ then
...
@@ -497,43 +497,6 @@ then
AC_DEFINE(HAVE___VA_COPY, 1, [Define if we have __va_copy])
AC_DEFINE(HAVE___VA_COPY, 1, [Define if we have __va_copy])
fi
fi
dnl **** Check for IPX (currently Linux only) ****
AC_CACHE_CHECK([for GNU style IPX support], ac_cv_c_ipx_gnu,
AC_TRY_COMPILE(
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <netipx/ipx.h>],
[((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
[ac_cv_c_ipx_gnu="yes"],
[ac_cv_c_ipx_gnu="no"])
)
if test "$ac_cv_c_ipx_gnu" = "yes"
then
AC_DEFINE(HAVE_IPX_GNU, 1, [Define if IPX should use netipx/ipx.h from libc])
fi
if test "$ac_cv_c_ipx_gnu" = "no"
then
AC_CACHE_CHECK([for linux style IPX support], ac_cv_c_ipx_linux,
AC_TRY_COMPILE(
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <asm/types.h>
#include <linux/ipx.h>],
[((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
[ac_cv_c_ipx_linux="yes"],
[ac_cv_c_ipx_linux="no"])
)
if test "$ac_cv_c_ipx_linux" = "yes"
then
AC_DEFINE(HAVE_IPX_LINUX, 1, [Define if IPX includes are taken from Linux kernel])
fi
fi
dnl **** Check for Open Sound System ****
dnl **** Check for Open Sound System ****
AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h soundcard.h, break)
AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h soundcard.h, break)
...
@@ -1096,6 +1059,44 @@ AC_CHECK_HEADERS(resolv.h,,,
...
@@ -1096,6 +1059,44 @@ AC_CHECK_HEADERS(resolv.h,,,
AC_CHECK_HEADERS(ucontext.h,,,[#include <signal.h>])
AC_CHECK_HEADERS(ucontext.h,,,[#include <signal.h>])
dnl **** Check for IPX headers (currently Linux only) ****
AC_CACHE_CHECK([for GNU style IPX support], ac_cv_c_ipx_gnu,
AC_TRY_COMPILE(
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <netipx/ipx.h>],
[((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
[ac_cv_c_ipx_gnu="yes"],
[ac_cv_c_ipx_gnu="no"])
)
if test "$ac_cv_c_ipx_gnu" = "yes"
then
AC_DEFINE(HAVE_IPX_GNU, 1, [Define if IPX should use netipx/ipx.h from libc])
fi
if test "$ac_cv_c_ipx_gnu" = "no"
then
AC_CACHE_CHECK([for linux style IPX support], ac_cv_c_ipx_linux,
AC_TRY_COMPILE(
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <asm/types.h>
#include <linux/ipx.h>],
[((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
[ac_cv_c_ipx_linux="yes"],
[ac_cv_c_ipx_linux="no"])
)
if test "$ac_cv_c_ipx_linux" = "yes"
then
AC_DEFINE(HAVE_IPX_LINUX, 1, [Define if IPX includes are taken from Linux kernel])
fi
fi
dnl **** Check for types ****
dnl **** Check for types ****
AC_C_CONST
AC_C_CONST
...
...
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