Commit c23872d9 authored by Aaron Hope's avatar Aaron Hope Committed by Alexandre Julliard

Fixed IPX detection.

parent 271ba29e
...@@ -242,10 +242,13 @@ AC_CACHE_CHECK("for GNU style IPX support", ac_cv_c_ipx_gnu, ...@@ -242,10 +242,13 @@ AC_CACHE_CHECK("for GNU style IPX support", ac_cv_c_ipx_gnu,
[#include <sys/socket.h> [#include <sys/socket.h>
#include <netipx/ipx.h>], #include <netipx/ipx.h>],
[((struct sockaddr_ipx *)0)->sipx_family == AF_IPX], [((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
[AC_DEFINE(HAVE_IPX_GNU) [ac_cv_c_ipx_gnu="yes"],
ac_cv_c_ipx_gnu="yes"],
[ac_cv_c_ipx_gnu="no"]) [ac_cv_c_ipx_gnu="no"])
) )
if test "$ac_cv_c_ipx_gnu" = "yes"
then
AC_DEFINE(HAVE_IPX_GNU)
fi
if test "$ac_cv_c_ipx_gnu" = "no" if test "$ac_cv_c_ipx_gnu" = "no"
then then
...@@ -255,10 +258,13 @@ then ...@@ -255,10 +258,13 @@ then
#include <asm/types.h> #include <asm/types.h>
#include <linux/ipx.h>], #include <linux/ipx.h>],
[((struct sockaddr_ipx *)0)->sipx_family == AF_IPX], [((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
[AC_DEFINE(HAVE_IPX_LINUX) [ac_cv_c_ipx_linux="yes"],
ac_cv_c_ipx_linux="yes"],
[ac_cv_c_ipx_linux="no"]) [ac_cv_c_ipx_linux="no"])
) )
if test "$ac_cv_c_ipx_linux" = "yes"
then
AC_DEFINE(HAVE_IPX_LINUX)
fi
fi fi
dnl **** Check for Open Sound System **** dnl **** Check for Open Sound System ****
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment