aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-12-21 15:54:55 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-12-21 15:54:55 -0500
commit434ffd71c9a7eebd46ec0cba1d97b0827b874901 (patch)
treeeb5b02823b7cba714136a0c6b777aca36d147c3a /src/config.h
parent63e6d52f1e1ad9ba3e5dd453115abfc2f8418fc6 (diff)
Don't embed tomo version/path information at compile time, instead infer
it at runtime
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/config.h b/src/config.h
index 8ee44200..e703f95d 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1,18 +1,11 @@
// Configuration of values that will be baked into the executable:
-#ifndef TOMO_VERSION
-#define TOMO_VERSION "v???"
-#endif
-
#ifndef GIT_VERSION
#define GIT_VERSION "???"
#endif
-#ifndef TOMO_INSTALL
-#define TOMO_INSTALL "/usr/local"
-#endif
-
extern const char *TOMO_PATH;
+extern const char *TOMO_VERSION;
#ifndef DEFAULT_C_COMPILER
#define DEFAULT_C_COMPILER "cc"