aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-18 23:01:08 +0100
committerMax Kellermann <max@duempel.org>2009-02-18 23:01:08 +0100
commitf2717a71390fed6c700b429321a9d230998fab3f (patch)
treef4675028a0c0419c64bd77f5fea2eb73fee7b435 /configure.ac
parent7f701744a7aa65ff4c123c293791670ae0d6b8c4 (diff)
downloadmpd-f2717a71390fed6c700b429321a9d230998fab3f.tar.gz
mpd-f2717a71390fed6c700b429321a9d230998fab3f.tar.xz
mpd-f2717a71390fed6c700b429321a9d230998fab3f.zip
configure.ac: added AC_CANONICAL_HOST
Without AC_CANONICAL_HOST, ${host_os} etc. are not defined.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fbeb1beb8..b68b8a5e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,8 @@ dnl
dnl OS specific defaults
dnl
+AC_CANONICAL_HOST
+
case "$host" in
*-mingw32* | *-windows*)
MPD_LIBS="$MPD_LIBS -lws2_32"