| 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 2 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, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * 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, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| 18 | * USA |
| 19 | */ |
| 20 | /** @file lib/defs.c @brief Definitions chosen by configure |
| 21 | * |
| 22 | * The binary directories are included so that they can be appended to the path |
| 23 | * (see fix_path()), not so that the path can be ignored. |
| 24 | */ |
| 25 | |
| 26 | #include "common.h" |
| 27 | |
| 28 | #include "defs.h" |
| 29 | #include "definitions.h" |
| 30 | |
| 31 | /** @brief Software version number */ |
| 32 | const char disorder_short_version_string[] = VERSION; |
| 33 | |
| 34 | /** @brief Package library directory */ |
| 35 | const char pkglibdir[] = PKGLIBDIR; |
| 36 | |
| 37 | /** @brief Package configuration directory */ |
| 38 | const char pkgconfdir[] = PKGCONFDIR; |
| 39 | |
| 40 | /** @brief Package variable state directory */ |
| 41 | const char pkgstatedir[] = PKGSTATEDIR; |
| 42 | |
| 43 | /** @brief Package fixed data directory */ |
| 44 | const char pkgdatadir[] = PKGDATADIR; |
| 45 | |
| 46 | /** @brief Binary directory */ |
| 47 | const char bindir[] = BINDIR; |
| 48 | |
| 49 | /** @brief System binary directory */ |
| 50 | const char sbindir[] = SBINDIR; |
| 51 | |
| 52 | /** @brief System sendmail executable */ |
| 53 | const char sendmail_binary[] = SENDMAIL; |
| 54 | |
| 55 | /** @brief Fink binary directory |
| 56 | * |
| 57 | * Meaningless if not on a Mac. |
| 58 | */ |
| 59 | const char finkbindir[] = FINKBINDIR; |
| 60 | |
| 61 | #include "versionstring.h" |
| 62 | |
| 63 | /* |
| 64 | Local Variables: |
| 65 | c-basic-offset:2 |
| 66 | comment-column:40 |
| 67 | fill-column:79 |
| 68 | End: |
| 69 | */ |