diff --git a/configure.ac b/configure.ac index ea371fc69..ffe833940 100644 --- a/configure.ac +++ b/configure.ac @@ -301,7 +301,8 @@ AM_CONDITIONAL([USE_AO], [test "x$with_ao" = "xyes"]) AC_ARG_WITH(soundio, [AS_HELP_STRING([--with-soundio],[choose soundio API support.])]) if test "x$with_soundio" = "xyes" ; then AC_DEFINE([CONFIG_SOUNDIO], 1, [Include the SoundIO (libsoundio) backend.]) - AC_CHECK_LIB([soundio], [soundio_create], AC_MSG_WARN([The soundio (libsoundio) backend is deprecated and will be removed in a future update.]), AC_MSG_ERROR(soundio support requires the libsoundio library -- libsoundio-dev suggested (note: the soundio backend is deprecated and will be removed in a future update))) + AC_CHECK_LIB([soundio], [soundio_create], , AC_MSG_ERROR(soundio support requires the libsoundio library -- libsoundio-dev suggested (note: the soundio backend is deprecated and will be removed in a future update))) + AC_MSG_WARN([The soundio (libsoundio) backend is deprecated and will be removed in a future update.]) fi AM_CONDITIONAL([USE_SOUNDIO], [test "x$with_soundio" = "xyes"])