aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2010-04-13 18:55:00 -0700
committerAvuton Olrich <avuton@gmail.com>2010-04-13 19:09:26 -0700
commitfa8992fc63a3d361e6bcab23ddaf6bc82c4abbe9 (patch)
tree0d727438c46414604b4cf4e96109eb38fd5cb14b /configure.ac
parent8d631b346ade8a56490bfb7b73fa9d59e0ee2cd6 (diff)
downloadmpd-fa8992fc63a3d361e6bcab23ddaf6bc82c4abbe9.tar.gz
mpd-fa8992fc63a3d361e6bcab23ddaf6bc82c4abbe9.tar.xz
mpd-fa8992fc63a3d361e6bcab23ddaf6bc82c4abbe9.zip
configure.ac: Don't allow UNIX IPC to be configured for a native Windows build.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0c2d694bb..504bd6474 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,6 +195,12 @@ AC_ARG_ENABLE(un,
[disable support for clients connecting via unix domain sockets (default: enable)]),,
[enable_un=yes])
+case "$host_os" in
+mingw* | windows*)
+ enable_un=no
+ ;;
+esac
+
if test x$enable_un = xyes; then
AC_DEFINE(HAVE_UN, 1, [Define if unix domain socket support is enabled])
STRUCT_UCRED