aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 00000000..f7fa63a0
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,27 @@
+// 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_PREFIX
+# define TOMO_PREFIX "/usr/local"
+#endif
+
+#ifndef DEFAULT_C_COMPILER
+# define DEFAULT_C_COMPILER "cc"
+#endif
+
+#ifndef SUDO
+# if defined(__OpenBSD__)
+# define SUDO "doas"
+# else
+# define SUDO "sudo"
+# endif
+#endif
+
+// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0