Update the configure.ac to make sure it can't be compiled without an output target.

git-svn-id: https://svn.musicpd.org/mpd/trunk@3092 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich 2005-03-16 23:30:18 +00:00
parent 65f6e33b60
commit 70865740fb

View File

@ -126,7 +126,11 @@ if test x$enable_oss = xyes; then
AC_CHECK_HEADER(sys/soundcard.h,[enable_oss=yes;AC_DEFINE(HAVE_OSS,1,[Define to enable OSS])],[AC_MSG_WARN(Soundcard headers not found -- disabling OSS support);enable_oss=no])
fi
if test x$enable_ao = xno && test x$enable_oss = xno && test x$enable_shout = xno && test x$enable_alsa = xno; then
if test x$enable_ao = xno &&
test x$enable_oss = xno &&
test x$enable_shout = xno &&
test x$enable_alsa = xno &&
test x$enable_osx = xno; then
AC_MSG_ERROR("Cannot compile without an output target")
fi