This commit is split up in two parts.
First, usage of DEBUG is remapped to NDEBUG, such that the behaviour of
assert(3) is as expected with --enable-debug=false (i.e. asserts get
disabled, where they previously did not).
Second, instances of `printf` guarded by `#ifdef DEBUG` blocks have been
refactored into a dedicated `debug` macro to make the code a bit easier
to follow. `debug` is a no-op when `NDEBUG` is set.
Adds a variable to specify the location where the font will be installed.
In this patch I chose to use /usr/share/consolefonts as the default,
though on my openSUSE system it will be /usr/share/kbd/consolefonts.
Maybe it varies between distros, so its good to have a variable.
Example usage:
FONT_DIR="/usr/share/kbd/consolefonts" ./configure && make && make install
Fixes https://github.com/karlstav/cava/issues/147