aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h.in6
-rw-r--r--include/omc.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/include/config.h.in b/include/config.h.in
new file mode 100644
index 0000000..85e1a2f
--- /dev/null
+++ b/include/config.h.in
@@ -0,0 +1,6 @@
+#ifndef OMC_CONFIG_H
+#define OMC_CONFIG_H
+
+#define OMC_SYSCONFDIR "@SYSCONFDIR@/omc"
+
+#endif // OMC_CONFIG_H \ No newline at end of file
diff --git a/include/omc.h b/include/omc.h
index bad0939..792dd90 100644
--- a/include/omc.h
+++ b/include/omc.h
@@ -13,6 +13,8 @@
#define OMC_NAME_MAX 255
#define OMC_DIRSTACK_MAX 1024
+#include "config.h"
+#include "template.h"
#include "utils.h"
#include "ini.h"
#include "conda.h"
@@ -45,6 +47,7 @@ struct OMC_GLOBAL {
struct StrList *pip_packages;
char *tmpdir;
char *conda_install_prefix;
+ char *sysconfdir;
struct Jfrog {
char *jfrog_artifactory_base_url;
char *jfrog_artifactory_product;