From d63dd579848723b5508cf379d65956c125644f3b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 10 Dec 2023 01:13:50 -0500 Subject: Add config.h.in header template --- include/config.h.in | 6 ++++++ include/omc.h | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 include/config.h.in (limited to 'include') 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; -- cgit