Alexandre Julliard : configure: Cope with sys/un.h requiring sys/socket.h.
Alexandre Julliard
julliard at winehq.org
Tue Jan 8 13:58:43 CST 2013
Module: wine
Branch: master
Commit: a58ae36aed6dbb064fec757649d53f0615721012
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a58ae36aed6dbb064fec757649d53f0615721012
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jan 8 13:13:34 2013 +0100
configure: Cope with sys/un.h requiring sys/socket.h.
---
configure | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 5e62766..a1caaa4 100755
--- a/configure
+++ b/configure
@@ -5935,7 +5935,6 @@ for ac_header in \
sys/timeout.h \
sys/times.h \
sys/uio.h \
- sys/un.h \
sys/utsname.h \
sys/vm86.h \
sys/wait.h \
@@ -6036,6 +6035,7 @@ for ac_header in \
netinet/ip_var.h \
netinet/udp.h \
netipx/ipx.h \
+ sys/un.h \
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
diff --git a/configure.ac b/configure.ac
index 372bc06..d14a2df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -522,7 +522,6 @@ AC_CHECK_HEADERS(\
sys/timeout.h \
sys/times.h \
sys/uio.h \
- sys/un.h \
sys/utsname.h \
sys/vm86.h \
sys/wait.h \
@@ -559,6 +558,7 @@ AC_CHECK_HEADERS(\
netinet/ip_var.h \
netinet/udp.h \
netipx/ipx.h \
+ sys/un.h \
,,,[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
More information about the wine-cvs
mailing list