From: Denis Vlasenko Date: Sun, 16 Nov 2008 15:03:11 +0000 (-0000) Subject: id: abort the build of uclibc is less than 0.9.30 X-Git-Tag: 1_14_0~461 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5ff12656911d12879f7302b3e4a237a7e8b2b184;p=oweals%2Fbusybox.git id: abort the build of uclibc is less than 0.9.30 --- diff --git a/coreutils/id.c b/coreutils/id.c index a75c226ef..f33f9ab25 100644 --- a/coreutils/id.c +++ b/coreutils/id.c @@ -17,6 +17,12 @@ #include "libbb.h" +#if defined(__UCLIBC_MAJOR__) && (__UCLIBC_MAJOR__ == 0) +#if (__UCLIBC_MINOR__ < 9) || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 30) +#error "Sorry, you need at least uClibc version 0.9.30 for id applet to build" +#endif +#endif + enum { PRINT_REAL = (1 << 0), NAME_NOT_NUMBER = (1 << 1),