summaryrefslogtreecommitdiffstats
path: root/lib/version.h.in
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-12-14 19:30:44 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-20 17:57:47 +0100
commitb2f361571b2ada8e820ad8ab87c023479e3af90a (patch)
treef96a05e79aafa9484f7c241f42e64d1341c87379 /lib/version.h.in
parentdoc: use config values from configure in manpages (diff)
downloadfrr-b2f361571b2ada8e820ad8ab87c023479e3af90a.tar.xz
frr-b2f361571b2ada8e820ad8ab87c023479e3af90a.zip
build: rename (1 of ?): configure.ac + preproc
This replaces Quagga -> FRR in most configure.ac settings as well as a handful of preprocessor macros in the source code. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/version.h.in')
-rw-r--r--lib/version.h.in25
1 files changed, 14 insertions, 11 deletions
diff --git a/lib/version.h.in b/lib/version.h.in
index 1f95f0c5f..c41d44e0a 100644
--- a/lib/version.h.in
+++ b/lib/version.h.in
@@ -35,17 +35,20 @@
#define GIT_INFO ""
#endif
-#define QUAGGA_PROGNAME "@PACKAGE_NAME@"
-
-#define QUAGGA_VERSION "@PACKAGE_VERSION@" GIT_SUFFIX
-
-#define ZEBRA_BUG_ADDRESS "@PACKAGE_BUGREPORT@"
-
-#define QUAGGA_URL "http://www.quagga.net"
-
-#define QUAGGA_COPYRIGHT "Copyright 1996-2005 Kunihiro Ishiguro, et al."
-
-#define QUAGGA_CONFIG_ARGS "@CONFIG_ARGS@"
+#define FRR_PAM_NAME "@PACKAGE_NAME@"
+#define FRR_SMUX_NAME "@PACKAGE_NAME@"
+
+#define FRR_FULL_NAME "FreeRangeRouting"
+#define FRR_VERSION "@PACKAGE_VERSION@" GIT_SUFFIX
+#define FRR_BUG_ADDRESS "@PACKAGE_BUGREPORT@"
+#define FRR_COPYRIGHT "Copyright 1996-2005 Kunihiro Ishiguro, et al."
+#define FRR_CONFIG_ARGS "@CONFIG_ARGS@"
+
+#define FRR_DEFAULT_MOTD \
+ "\r\n" \
+ "Hello, this is " FRR_FULL_NAME " (version " FRR_VERSION ").\r\n" \
+ FRR_COPYRIGHT "\r\n" \
+ GIT_INFO "\r\n"
pid_t pid_output (const char *);