Commit 9f8740a0 authored by Max Kellermann's avatar Max Kellermann

configure.ac: check ${host_os} instead of ${host}

The configure.ac script does not care about the host architecture, it only cares about the OS. Use ${host_os} instead of ${host} to simplify the matching expressions.
parent f2717a71
...@@ -36,8 +36,8 @@ dnl ...@@ -36,8 +36,8 @@ dnl
AC_CANONICAL_HOST AC_CANONICAL_HOST
case "$host" in case "$host_os" in
*-mingw32* | *-windows*) mingw32* | windows*)
MPD_LIBS="$MPD_LIBS -lws2_32" MPD_LIBS="$MPD_LIBS -lws2_32"
;; ;;
esac esac
...@@ -532,8 +532,8 @@ AC_ARG_ENABLE(shout-mp3, ...@@ -532,8 +532,8 @@ AC_ARG_ENABLE(shout-mp3,
[enable_shout_mp3=yes]) [enable_shout_mp3=yes])
enable_osx=no enable_osx=no
case $host in case "$host_os" in
*-darwin*) darwin*)
AC_DEFINE(HAVE_OSX, 1, [Define for compiling OS X support]) AC_DEFINE(HAVE_OSX, 1, [Define for compiling OS X support])
MPD_LIBS="$MPD_LIBS -framework AudioUnit -framework CoreServices" MPD_LIBS="$MPD_LIBS -framework AudioUnit -framework CoreServices"
enable_osx=yes ;; enable_osx=yes ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment