diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-09 14:48:43 +0400 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-15 16:26:18 +0100 |
commit | 2137f511db6c71319c78d6b980ab2fc0cff6da58 (patch) | |
tree | 5edebeb9717c6ad4a7ae54f1ce549d01fc9d64e0 /configure.ac | |
parent | 519dd8726e7ff0b30ee9bffb87cd9fb04792ff16 (diff) | |
download | dbus-2137f511db6c71319c78d6b980ab2fc0cff6da58.tar.gz |
build-sys: check for afunix.h
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d72d8f7c..0c5cdfea 100644 --- a/configure.ac +++ b/configure.ac @@ -430,6 +430,7 @@ sys/syscall.h sys/syslimits.h sys/time.h unistd.h +winsock2.h ws2tcpip.h ]) @@ -1052,6 +1053,13 @@ if test x$dbus_win = xyes ; then fi fi +AC_CHECK_HEADERS([afunix.h], [], [], + [AC_INCLUDES_DEFAULT[ + #ifdef HAVE_WINSOCK2_H + # include <winsock2.h> + #endif + ]]) + AC_SUBST([NETWORK_libs]) AC_ARG_WITH([valgrind], |