proc/version.c: use autotools version
The old version output does not work, or make sense, after autotools are in use again. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
06d491f9e4
commit
68c73c864c
@ -12,11 +12,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#ifdef MINORVERSION
|
const char procps_version[] = PACKAGE_NAME " version " PACKAGE_VERSION;
|
||||||
const char procps_version[] = "procps version " VERSION "." SUBVERSION "." MINORVERSION;
|
|
||||||
#else
|
|
||||||
const char procps_version[] = "procps version " VERSION "." SUBVERSION;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void display_version(void) {
|
void display_version(void) {
|
||||||
fprintf(stdout, "%s\n", procps_version);
|
fprintf(stdout, "%s\n", procps_version);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user