- define search paths for plugins and gkrellmd.conf for win32

This commit is contained in:
Stefan Gehn 2008-02-01 20:27:11 +00:00
parent bdba94298d
commit 55b00bc848
1 changed files with 14 additions and 5 deletions

View File

@ -102,17 +102,26 @@
GKRELLMD_VERSION_REV >= (rev)))
#define GKRELLMD_CONFIG "gkrellmd.conf"
#define GKRELLMD_PLUGINS_DIR ".gkrellm2/plugins-gkrellmd"
#if defined(WIN32)
#define GKRELLMD_LOCAL_PLUGINS_DIR "./plugins-gkrellmd"
#undef GKRELLMD_SYSTEM_PLUGINS_DIR
#else
#define GKRELLMD_LOCAL_PLUGINS_DIR "/usr/local/lib/gkrellm2/plugins-gkrellmd"
#if !defined(GKRELLMD_SYSTEM_PLUGINS_DIR)
#define GKRELLMD_SYSTEM_PLUGINS_DIR "/usr/lib/gkrellm2/plugins-gkrellmd"
#endif
#endif // defined(WIN32)
#if !defined(WIN32)
#if defined(WIN32)
#undef GKRELLMD_SYS_ETC
#define GKRELLMD_LOCAL_ETC "./etc"
#else
#define GKRELLMD_SYS_ETC "/etc"
#define GKRELLMD_LOCAL_ETC "/usr/local/etc"
#endif
#endif // defined(WIN32)
typedef struct _GkrellmdClient