svn commit: trunk/busybox/coreutils

vda at busybox.net vda at busybox.net
Sun Nov 16 15:03:12 UTC 2008


Author: vda
Date: 2008-11-16 07:03:11 -0800 (Sun, 16 Nov 2008)
New Revision: 24060

Log:
id: abort the build of uclibc is less than 0.9.30



Modified:
   trunk/busybox/coreutils/id.c


Changeset:
Modified: trunk/busybox/coreutils/id.c
===================================================================
--- trunk/busybox/coreutils/id.c	2008-11-16 04:07:16 UTC (rev 24059)
+++ trunk/busybox/coreutils/id.c	2008-11-16 15:03:11 UTC (rev 24060)
@@ -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),




More information about the busybox-cvs mailing list