diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2014-11-22 10:43:29 -0800 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-02-14 19:19:45 +0100 |
commit | 7abd87529499e5d76435213e2590838c5e320a9a (patch) | |
tree | fe2a3107483104d92aa092156fe5584069c19736 /lib/command.c | |
parent | 85c63b844df4a295a64f37573e0ba08a7cc63659 (diff) | |
download | quagga-7abd87529499e5d76435213e2590838c5e320a9a.tar.bz2 quagga-7abd87529499e5d76435213e2590838c5e320a9a.tar.xz |
build: track config args
Record the ./configure arguments used and make them user-visible.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Acked-by: Paul Jakma <paul@jakma.org>
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 8870a421..83177895 100644 --- a/lib/command.c +++ b/lib/command.c @@ -181,6 +181,7 @@ print_version (const char *progname) { printf ("%s version %s\n", progname, QUAGGA_VERSION); printf ("%s\n", QUAGGA_COPYRIGHT); + printf ("configured with:\n\t%s\n", QUAGGA_CONFIG_ARGS); } @@ -2951,6 +2952,8 @@ DEFUN (show_version, vty_out (vty, "Quagga %s (%s).%s", QUAGGA_VERSION, host.name?host.name:"", VTY_NEWLINE); vty_out (vty, "%s%s%s", QUAGGA_COPYRIGHT, GIT_INFO, VTY_NEWLINE); + vty_out (vty, "configured with:%s %s%s", VTY_NEWLINE, + QUAGGA_CONFIG_ARGS, VTY_NEWLINE); return CMD_SUCCESS; } |