configure: Fix the linux/ipx.h check.

This commit is contained in:
Francois Gouget 2008-12-28 10:35:02 +01:00 committed by Alexandre Julliard
parent cbf19c30e0
commit da1a352972
4 changed files with 15 additions and 0 deletions

5
configure vendored
View File

@ -7442,6 +7442,7 @@ done
for ac_header in \
@ -7484,6 +7485,7 @@ for ac_header in \
linux/major.h \
linux/param.h \
linux/serial.h \
linux/types.h \
linux/ucdrom.h \
mach/mach.h \
mach/machine.h \
@ -8063,6 +8065,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_LINUX_TYPES_H
# include <linux/types.h>
#endif
#include <$ac_header>
_ACEOF

View File

@ -282,6 +282,7 @@ AC_CHECK_HEADERS(\
linux/major.h \
linux/param.h \
linux/serial.h \
linux/types.h \
linux/ucdrom.h \
mach/mach.h \
mach/machine.h \
@ -432,6 +433,9 @@ AC_CHECK_HEADERS([linux/ipx.h],,,
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_LINUX_TYPES_H
# include <linux/types.h>
#endif])
AC_CHECK_HEADERS([resolv.h],,,

View File

@ -103,6 +103,9 @@
# ifdef HAVE_ASM_TYPES_H
# include <asm/types.h>
# endif
# ifdef HAVE_LINUX_TYPES_H
# include <linux/types.h>
# endif
# include <linux/ipx.h>
# define HAVE_IPX
#endif

View File

@ -393,6 +393,9 @@
/* Define to 1 if you have the <linux/serial.h> header file. */
#undef HAVE_LINUX_SERIAL_H
/* Define to 1 if you have the <linux/types.h> header file. */
#undef HAVE_LINUX_TYPES_H
/* Define to 1 if you have the <linux/ucdrom.h> header file. */
#undef HAVE_LINUX_UCDROM_H