diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-23 00:09:32 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-23 00:09:32 +0800 |
commit | 5a29c7fa895a14112a1ac65e541f4b87ae9dba04 (patch) | |
tree | ebe00528c9d0b992406de8c30ab2a3e99eccdd0a /openbsc/src/vty | |
parent | 351ec2a1784fbdb2ce688f50a9134532f3bf0723 (diff) |
automatically include program version and print it from vty and --version
Diffstat (limited to 'openbsc/src/vty')
-rw-r--r-- | openbsc/src/vty/cardshell.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/vty/cardshell.h b/openbsc/src/vty/cardshell.h index d963a3810..85164d2bd 100644 --- a/openbsc/src/vty/cardshell.h +++ b/openbsc/src/vty/cardshell.h @@ -1,5 +1,6 @@ -#define QUAGGA_PROGNAME "OpenBSC" -#define QUAGGA_VERSION "0.01" +#include "../../bscconfig.h" +#define QUAGGA_PROGNAME PACKAGE_NAME +#define QUAGGA_VERSION PACKAGE_VERSION #define QUAGGA_COPYRIGHT "Harald Welte <laforge@gnumonks.org>" #define CONFIGFILE_MASK 022 #define SYSCONFDIR "/usr/local/etc" |