libxmp / xmp-cli

Command-line mod player using libxmp
GNU General Public License v2.0
75 stars 22 forks source link

SYSCONFDIR fixes for #27 #28

Closed sezero closed 3 years ago

sezero commented 3 years ago
  1. fix xmp-cli not respecting system xmp.conf.

    src/Makefile.am defined SYSCONFDIR as ${sysconfdir}, but installed xmp.conf under ${sysconfdir}//${PACKAGE_NAME}. therefore, changing the SYSCONFDIR define to reflect reality.

    Patch from RedHat rpm repositories. Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1365321

    Closes: https://github.com/libxmp/xmp-cli/issues/27

  2. read_config.c: define SYSCONFDIR as ".", if not already defined.

    Just to be safe. (and would help with cases where one might use standalone makefiles and not autotools.)