summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2020-09-09configure: implement --with-audio=(no|yes)Vito Caputo
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.
2020-09-09configure: utilize config.hVito Caputo
Prep for conditional audio/music support, having automake-generated Makefiles which rebuild on configuration changes naturally occurs when the compilation units include config.h. It's unclear to me how to do this simply when the configuration only affects the generated Makefiles, since automake doens't seem to add a dependency on the Makefile for some reason.
2020-04-19*: initial commitVito Caputo
This is largely ripped out of Eon to try give a reusable scaffolding for accelerating SDL-based simple game development. I expect there to be future commits adding more configurability like a means of influencing which flags are passed to SDL_Init(), e.g. if you have no need for joystick support, don't pass in that flag, and libplay won't pass it to SDL_Init() and do the joystick opening/mapping dance, etc.
© All Rights Reserved