From 42977fb0776f8907435d65de7c6b348c45e1a3e9 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 9 Sep 2020 15:47:51 -0700 Subject: configure: implement --with-audio=(no|yes) This adds the ability to turn off the audio/music parts of the API, removing the SDL2_Mixer dependency when disabled. It will also automatically disable the audio/music parts of the API when SDL2_Mixer isn't detected @ configure time and --with-audio was unspecified. It's a bit ugly with a bunch of #ifdef's in play.c, oh well. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index aff4573..6d5fc80 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,2 +1,2 @@ noinst_LIBRARIES = libplay.a -libplay_a_SOURCES = play.c play.h +libplay_a_SOURCES = macros.h play.c play.h -- cgit v1.2.3