summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2006-02-16 15:40:24 +0000
committer"Vladimir N. Oleynik"2006-02-16 15:40:24 +0000
commitdd1ccddf1b33972966760857092eb9b659b7a40a (patch)
tree311c032dd6a55cc3923e744d8e888d9edd9ede44 /libbb
parent21e68703ce35805ff8b9590c22a400de05155ac2 (diff)
downloadbusybox-dd1ccddf1b33972966760857092eb9b659b7a40a.zip
busybox-dd1ccddf1b33972966760857092eb9b659b7a40a.tar.gz
moved BB_BANNER to applets/version.c file: make kernel like version,
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
Diffstat (limited to 'libbb')
-rw-r--r--libbb/messages.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c
index e11dddc..23f0ea2 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -22,7 +22,12 @@
#include "libbb.h"
#ifdef L_full_version
- const char * const bb_msg_full_version = BB_BANNER " multi-call binary";
+#ifndef BB_EXTRA_VERSION
+#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_BT ")"
+#else
+#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_EXTRA_VERSION ")"
+#endif
+ const char * const libbb_msg_full_version = LIBBB_BANNER;
#endif
#ifdef L_memory_exhausted
const char * const bb_msg_memory_exhausted = "memory exhausted";