]>
Commit | Line | Data |
---|---|---|
b35e5b4e | 1 | /* @configure_input@ |
718e3744 | 2 | * |
b35e5b4e | 3 | * Quagga version |
4 | * Copyright (C) 1997, 1999 Kunihiro Ishiguro | |
5 | * | |
718e3744 | 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 | ||
0be793e6 | 27 | #ifdef GIT_VERSION |
09781197 | 28 | #include "lib/gitversion.h" |
0be793e6 DL |
29 | #endif |
30 | ||
17e38209 RW |
31 | #ifdef __cplusplus |
32 | extern "C" { | |
33 | #endif | |
34 | ||
0be793e6 DL |
35 | #ifndef GIT_SUFFIX |
36 | #define GIT_SUFFIX "" | |
37 | #endif | |
38 | #ifndef GIT_INFO | |
39 | #define GIT_INFO "" | |
40 | #endif | |
41 | ||
b2f36157 DL |
42 | #define FRR_PAM_NAME "@PACKAGE_NAME@" |
43 | #define FRR_SMUX_NAME "@PACKAGE_NAME@" | |
ae435b19 | 44 | #define FRR_PTM_NAME "@PACKAGE_NAME@" |
b2f36157 | 45 | |
447a8fe9 | 46 | #define FRR_FULL_NAME "FRRouting" |
b2f36157 | 47 | #define FRR_VERSION "@PACKAGE_VERSION@" GIT_SUFFIX |
8efe88ea | 48 | #define FRR_VER_SHORT "@PACKAGE_VERSION@" |
b2f36157 DL |
49 | #define FRR_BUG_ADDRESS "@PACKAGE_BUGREPORT@" |
50 | #define FRR_COPYRIGHT "Copyright 1996-2005 Kunihiro Ishiguro, et al." | |
51 | #define FRR_CONFIG_ARGS "@CONFIG_ARGS@" | |
52 | ||
53 | #define FRR_DEFAULT_MOTD \ | |
fe6b47b9 QY |
54 | "\n" \ |
55 | "Hello, this is " FRR_FULL_NAME " (version " FRR_VERSION ").\n" \ | |
56 | FRR_COPYRIGHT "\n" \ | |
57 | GIT_INFO "\n" | |
80db5ac1 | 58 | |
47ca2953 | 59 | pid_t pid_output (const char *); |
718e3744 | 60 | |
17e38209 RW |
61 | #ifdef __cplusplus |
62 | } | |
63 | #endif | |
64 | ||
718e3744 | 65 | #endif /* _ZEBRA_VERSION_H */ |