aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
blob: 8ee44200de63dcd114e13887e1af458cb05d4405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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_INSTALL
#define TOMO_INSTALL "/usr/local"
#endif

extern const char *TOMO_PATH;

#ifndef DEFAULT_C_COMPILER
#define DEFAULT_C_COMPILER "cc"
#endif

#ifndef SUDO
#if defined(__OpenBSD__)
#define SUDO "doas"
#else
#define SUDO "sudo"
#endif
#endif