From: Sebastian Harl Date: Sun, 2 May 2010 21:41:51 +0000 (+0200) Subject: src/fb.c: Use FB_VERSION… rather than VERSION. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aa1dc7980c1dd9b660d0a3e308d17b00bb60a5a1;p=template.git src/fb.c: Use FB_VERSION… rather than VERSION. --- diff --git a/src/fb.c b/src/fb.c index 7ff4ce8..90daf8d 100644 --- a/src/fb.c +++ b/src/fb.c @@ -48,6 +48,7 @@ #endif /* HAVE_CONFIG_H */ #include "foobar.h" +#include "fb_features.h" #if HAVE_LIBGEN_H # include @@ -70,14 +71,16 @@ exit_usage(char *name, int status) " -h display this help and exit\n" " -V display the version number and copyright\n" -"\nfb "VERSION", http://tokkee.org\n", basename(name)); +"\nfb "FB_VERSION_STRING FB_VERSION_EXTRA", http://tokkee.org\n", +basename(name)); exit(status); } /* exit_usage */ static void exit_version(void) { - printf("fb version "VERSION", built "BUILD_DATE"\n" + printf("fb version "FB_VERSION_STRING FB_VERSION_EXTRA", " + "built "BUILD_DATE"\n" "Copyright (C) 2010 Sebastian Harl \n" "\nThis is free software under the terms of the GNU GPLv2; see "