From aa1dc7980c1dd9b660d0a3e308d17b00bb60a5a1 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 2 May 2010 23:41:51 +0200 Subject: [PATCH] =?utf8?q?src/fb.c:=20Use=20FB=5FVERSION=E2=80=A6=20rather?= =?utf8?q?=20than=20VERSION.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/fb.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 " -- 2.30.2