summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac10
1 files changed, 2 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 699fd89..04830fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,13 +14,6 @@ PKG_CHECK_MODULES(SDL2, sdl2)
CFLAGS="$CFLAGS $SDL2_CFLAGS"
LIBS="$LIBS $SDL2_LIBS"
-# FIXME libplay needs compile-time configuration to omit the
-# music stuff so we don't need to fulfill the dependency even.
-dnl Check for SDL2_mixer
-PKG_CHECK_MODULES(SDL2_MIXER, SDL2_mixer)
-LIBS="$SDL2_MIXER_LIBS $LIBS"
-CFLAGS="$SDL2_MIXER_CFLAGS $CFLAGS"
-
dnl Check for OpenGL
PKG_CHECK_MODULES(GL, gl)
LIBS="$GL_LIBS $LIBS"
@@ -32,8 +25,9 @@ AC_CONFIG_FILES([
])
AC_CONFIG_SUBDIRS([
- libplay
libstage
])
+AX_SUBDIRS_CONFIGURE([libplay], [--with-audio=no], [], [], [])
+
AC_OUTPUT
© All Rights Reserved