Commit 0ce420de authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

ws2_32: Test for linux/irda.h.

parent 97319aa9
...@@ -5708,9 +5708,10 @@ fi ...@@ -5708,9 +5708,10 @@ fi
done done
for ac_header in linux/ipx.h for ac_header in linux/ipx.h linux/irda.h
do : do :
ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h> as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
#ifdef HAVE_ASM_TYPES_H #ifdef HAVE_ASM_TYPES_H
# include <asm/types.h> # include <asm/types.h>
#endif #endif
...@@ -5721,9 +5722,10 @@ do : ...@@ -5721,9 +5722,10 @@ do :
# include <linux/types.h> # include <linux/types.h>
#endif #endif
" "
if test "x$ac_cv_header_linux_ipx_h" = x""yes; then : eval as_val=\$$as_ac_Header
if test "x$as_val" = x""yes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LINUX_IPX_H 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
......
...@@ -479,7 +479,7 @@ AC_CHECK_HEADERS([netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netin ...@@ -479,7 +479,7 @@ AC_CHECK_HEADERS([netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netin
#include <netinet/tcp_timer.h> #include <netinet/tcp_timer.h>
#endif]) #endif])
AC_CHECK_HEADERS([linux/ipx.h],,, AC_CHECK_HEADERS([linux/ipx.h linux/irda.h],,,
[#include <sys/types.h> [#include <sys/types.h>
#ifdef HAVE_ASM_TYPES_H #ifdef HAVE_ASM_TYPES_H
# include <asm/types.h> # include <asm/types.h>
......
...@@ -396,6 +396,9 @@ ...@@ -396,6 +396,9 @@
/* Define to 1 if you have the <linux/ipx.h> header file. */ /* Define to 1 if you have the <linux/ipx.h> header file. */
#undef HAVE_LINUX_IPX_H #undef HAVE_LINUX_IPX_H
/* Define to 1 if you have the <linux/irda.h> header file. */
#undef HAVE_LINUX_IRDA_H
/* Define to 1 if you have the <linux/joystick.h> header file. */ /* Define to 1 if you have the <linux/joystick.h> header file. */
#undef HAVE_LINUX_JOYSTICK_H #undef HAVE_LINUX_JOYSTICK_H
......
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