chiark / gitweb /
error/fatal/info -> disorder_error/fatal/info
[disorder] / lib / defs.c
1 /*
2  * This file is part of DisOrder
3  * Copyright (C) 2005, 2007, 2008 Richard Kettlewell
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  * 
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  * 
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 /** @file lib/defs.c @brief Definitions chosen by configure
19  *
20  * The binary directories are included so that they can be appended to the path
21  * (see fix_path()), not so that the path can be ignored.
22  */
23
24 #include "common.h"
25
26 #include "defs.h"
27 #include "definitions.h"
28
29 /** @brief Software version number */
30 const char disorder_short_version_string[] = VERSION;
31
32 /** @brief Package library directory */
33 const char pkglibdir[] = PKGLIBDIR;
34
35 /** @brief Package configuration directory */
36 const char pkgconfdir[] = PKGCONFDIR;
37
38 /** @brief Package variable state directory */
39 const char pkgstatedir[] = PKGSTATEDIR;
40
41 /** @brief Package fixed data directory */
42 const char pkgdatadir[] = PKGDATADIR;
43
44 /** @brief Binary directory */
45 const char bindir[] = BINDIR;
46
47 /** @brief System binary directory */
48 const char sbindir[] = SBINDIR;
49
50 /** @brief System sendmail executable */
51 const char sendmail_binary[] = SENDMAIL;
52
53 /** @brief Fink binary directory
54  *
55  * Meaningless if not on a Mac.
56  */
57 const char finkbindir[] = FINKBINDIR;
58
59 #include "versionstring.h"
60
61 /*
62 Local Variables:
63 c-basic-offset:2
64 comment-column:40
65 fill-column:79
66 End:
67 */