]>
Commit | Line | Data |
---|---|---|
1 | /* @configure_input@ | |
2 | * | |
3 | * Quagga version | |
4 | * Copyright (C) 1997, 1999 Kunihiro Ishiguro | |
5 | * | |
6 | * This file is part of GNU Zebra. | |
7 | * | |
8 | * GNU Zebra is free software; you can redistribute it and/or modify it | |
9 | * under the terms of the GNU General Public License as published by the | |
10 | * Free Software Foundation; either version 2, or (at your option) any | |
11 | * later version. | |
12 | * | |
13 | * GNU Zebra is distributed in the hope that it will be useful, but | |
14 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | * General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with GNU Zebra; see the file COPYING. If not, write to the Free | |
20 | * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
21 | * 02111-1307, USA. | |
22 | */ | |
23 | ||
24 | #ifndef _ZEBRA_VERSION_H | |
25 | #define _ZEBRA_VERSION_H | |
26 | ||
27 | #ifdef GIT_VERSION | |
28 | #include "gitversion.h" | |
29 | #endif | |
30 | ||
31 | #ifndef GIT_SUFFIX | |
32 | #define GIT_SUFFIX "" | |
33 | #endif | |
34 | #ifndef GIT_INFO | |
35 | #define GIT_INFO "" | |
36 | #endif | |
37 | ||
38 | #define FRR_PAM_NAME "@PACKAGE_NAME@" | |
39 | #define FRR_SMUX_NAME "@PACKAGE_NAME@" | |
40 | #define FRR_PTM_NAME "@PACKAGE_NAME@" | |
41 | ||
42 | #define FRR_FULL_NAME "FRRouting" | |
43 | #define FRR_VERSION "@PACKAGE_VERSION@" GIT_SUFFIX | |
44 | #define FRR_VER_SHORT "@PACKAGE_VERSION@" | |
45 | #define FRR_BUG_ADDRESS "@PACKAGE_BUGREPORT@" | |
46 | #define FRR_COPYRIGHT "Copyright 1996-2005 Kunihiro Ishiguro, et al." | |
47 | #define FRR_CONFIG_ARGS "@CONFIG_ARGS@" | |
48 | ||
49 | #define FRR_DEFAULT_MOTD \ | |
50 | "\n" \ | |
51 | "Hello, this is " FRR_FULL_NAME " (version " FRR_VERSION ").\n" \ | |
52 | FRR_COPYRIGHT "\n" \ | |
53 | GIT_INFO "\n" | |
54 | ||
55 | pid_t pid_output (const char *); | |
56 | ||
57 | #endif /* _ZEBRA_VERSION_H */ |