Hello: 2017-07-27 17:48 GMT+02:00 Ron Yorston <[email protected]>: > Kang-Che Sung wrote: >>dietlibc supports %m only if WANT_ERROR_PRINTF is defined in >><dietfeartures.h> when building, and its commented out by default. >>I don't know how to check the macro WANT_ERROR_PRINTF in >>the dietlibc build environment, but I think busybox needs to be >>aware of this. > > There doesn't seem to be anything in a standard build of dietlibc > to allow detection of this at (application) build-time. The > dietfeatures.h include file is only available when the library is > built; it isn't installed. > > I suppose if the default is for '%m' to be disabled that's what > BusyBox should assume. If someone has built dietlibc with the > non-default option they should be capable of doing the same for > BusyBox. > > Unless any dietlibc users have a better suggestion... > > Ron
Try to compile a little application that uses this functionality and check for success, as would be done with autoconf. Not suggesting to do that, just giving ideas... Cheers, Xabier Oneca_,,_ _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
