ws2_32(3/8): Test for linux/irda.h (try 4)
Juan Lang
juan.lang at gmail.com
Wed Aug 12 11:15:43 CDT 2009
--Juan
-------------- next part --------------
From 598ed6c1a5fbe95eef2ac9c8a5de5bb11cc0bce4 Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang at gmail.com>
Date: Wed, 12 Aug 2009 09:14:16 -0700
Subject: [PATCH 3/8] Test for linux/irda.h
---
configure.ac | 9 +++++++++
include/config.h.in | 3 +++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index e637722..9b1ae5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -491,6 +491,15 @@ AC_CHECK_HEADERS([linux/ipx.h],,,
# include <linux/types.h>
#endif])
+AC_CHECK_HEADERS([linux/irda.h],,,
+ [#include <sys/types.h>
+ #ifdef HAVE_LINUX_TYPES_H
+ # include <linux/types.h>
+ #endif
+ #ifdef HAVE_SYS_SOCKET_H
+ # include <sys/socket.h>
+ #endif])
+
AC_CHECK_HEADERS([mach-o/dyld_images.h],,,
[#ifdef HAVE_STDBOOL_H
# include <stdbool.h>
diff --git a/include/config.h.in b/include/config.h.in
index 56d6fd9..f74c86b 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -393,6 +393,9 @@
/* Define to 1 if you have the <linux/ioctl.h> header file. */
#undef HAVE_LINUX_IOCTL_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/ipx.h> header file. */
#undef HAVE_LINUX_IPX_H
--
1.6.3.2
More information about the wine-patches
mailing list