summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b966262)
raw | patch | inline | side by side (parent: b966262)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 2 May 2010 21:41:51 +0000 (23:41 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 2 May 2010 21:41:51 +0000 (23:41 +0200) |
src/fb.c | patch | blob | history |
diff --git a/src/fb.c b/src/fb.c
index 7ff4ce8a3b34fbba3f072f12530e61548e6953f2..90daf8d8d9368e2770a2f8c8858cb7b1efefc22a 100644 (file)
--- a/src/fb.c
+++ b/src/fb.c
#endif /* HAVE_CONFIG_H */
#include "foobar.h"
+#include "fb_features.h"
#if HAVE_LIBGEN_H
# include <libgen.h>
" -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 <sh@tokkee.org>\n"
"\nThis is free software under the terms of the GNU GPLv2; see "