From dd1ccddf1b33972966760857092eb9b659b7a40a Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Thu, 16 Feb 2006 15:40:24 +0000 Subject: 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 --- libbb/messages.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libbb/messages.c') diff --git a/libbb/messages.c b/libbb/messages.c index e11dddc50..23f0ea2ba 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"; -- cgit v1.2.3