diff options
Diffstat (limited to 'xts5/src/bin/reports/xts-report.c')
-rw-r--r-- | xts5/src/bin/reports/xts-report.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xts5/src/bin/reports/xts-report.c b/xts5/src/bin/reports/xts-report.c index 385b5ce9..49a831e1 100644 --- a/xts5/src/bin/reports/xts-report.c +++ b/xts5/src/bin/reports/xts-report.c @@ -291,6 +291,11 @@ char *tet_root; #define DEFAULT_TET_ROOT "." #endif +/* version */ +#ifndef PACKAGE_VERSION +#define PACKAGE_VERSION "" +#endif + static void whatj(void) { int jfileno = 0; @@ -1828,7 +1833,8 @@ int main(int argc, char * const argv[]) fuser++; break; case 'v': - fprintf(stderr, "%s Report Generator V%s\n", test_name, verbuf); + fprintf(stderr, "%s Report Generator %s\n", + test_name, PACKAGE_VERSION); exit(0); case ':': fprintf(stderr, "Option -%c requires an operand\n", optopt); |