diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-16 15:03:11 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-16 15:03:11 +0000 |
commit | 5ff12656911d12879f7302b3e4a237a7e8b2b184 (patch) | |
tree | a205ac83afb39c5579307f0e3c2fff1ada1bf25a /coreutils | |
parent | e88bd2d9318417d01e141e598c3870def0eddfcc (diff) | |
download | busybox-w32-5ff12656911d12879f7302b3e4a237a7e8b2b184.tar.gz busybox-w32-5ff12656911d12879f7302b3e4a237a7e8b2b184.tar.bz2 busybox-w32-5ff12656911d12879f7302b3e4a237a7e8b2b184.zip |
id: abort the build of uclibc is less than 0.9.30
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/id.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ | |||
17 | 17 | ||
18 | #include "libbb.h" | 18 | #include "libbb.h" |
19 | 19 | ||
20 | #if defined(__UCLIBC_MAJOR__) && (__UCLIBC_MAJOR__ == 0) | ||
21 | #if (__UCLIBC_MINOR__ < 9) || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 30) | ||
22 | #error "Sorry, you need at least uClibc version 0.9.30 for id applet to build" | ||
23 | #endif | ||
24 | #endif | ||
25 | |||
20 | enum { | 26 | enum { |
21 | PRINT_REAL = (1 << 0), | 27 | PRINT_REAL = (1 << 0), |
22 | NAME_NOT_NUMBER = (1 << 1), | 28 | NAME_NOT_NUMBER = (1 << 1), |