Codechange: Drop libxdg-basedir dependency in favour of finding the directories ourselves

This commit is contained in:
Charles Pigott
2020-12-06 18:49:28 +00:00
parent c288eba813
commit 3dfee979a7
6 changed files with 64 additions and 113 deletions

View File

@@ -131,7 +131,7 @@ enum Subdirectory {
enum Searchpath : unsigned {
SP_FIRST_DIR,
SP_WORKING_DIR = SP_FIRST_DIR, ///< Search in the working directory
#if defined(WITH_XDG_BASEDIR) && defined(WITH_PERSONAL_DIR)
#ifdef USE_XDG
SP_PERSONAL_DIR_XDG, ///< Search in the personal directory from the XDG specification
#endif
SP_PERSONAL_DIR, ///< Search in the personal directory