aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-12-10 01:13:50 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-01-29 12:44:56 -0500
commitd63dd579848723b5508cf379d65956c125644f3b (patch)
tree66af2331890c9bc96a8566f5a2a58246311121d7 /include
parent0b80d41e10000be0f7fa57c2cafd445ff1fd1aee (diff)
downloadstasis-d63dd579848723b5508cf379d65956c125644f3b.tar.gz
Add config.h.in header template
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;