kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=09fc7a95ef24cb0af585146fa48905b16fd40fc8

commit 09fc7a95ef24cb0af585146fa48905b16fd40fc8
Author: Kim Woelders <[email protected]>
Date:   Sat Jun 23 08:19:12 2018 +0200

    If sound is enabled check that we have a sound loader
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 420f9fb9..a68fd309 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,6 +138,10 @@ if test "x$enable_sound" = "xesound"; then
 fi
 AM_CONDITIONAL(USE_LIBESD, test "x$enable_sound" = "xesound")
 
+if test "x$enable_sound" != "xno" -a "x$with_sndldr" = "xnone"; then
+  AC_MSG_ERROR([Sound support requires a sound loader])
+fi
+
 # Save CPPFLAGS/LDFLAGS and add X_... to each
 SAVE_CPPFLAGS="$CPPFLAGS"
 SAVE_LDFLAGS="$LDFLAGS"

-- 


Reply via email to