From: Waldemar Brodkorb Date: Fri, 3 Jun 2016 02:23:28 +0000 (+0200) Subject: build-sys: fix uClibc-ng scanf check X-Git-Tag: v2.29-rc1~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bac7fbdb2d141879526ca4342d56d2c749ba8af5;p=thirdparty%2Futil-linux.git build-sys: fix uClibc-ng scanf check uClibc-ng tries to be compatible with GNU libc and defines __GLIBC__ and pretend to be version 2.2. We once changed it to 2.10, but then some hard to fix problems in different software packages (gcc) occured. It would be better if we disable the special GNU libc checks for uClibc-ng here. uClibc-ng implements the required scanf functionality. Signed-off-by: Waldemar Brodkorb --- diff --git a/configure.ac b/configure.ac index 3ba723f3e9..ec197ee833 100644 --- a/configure.ac +++ b/configure.ac @@ -581,7 +581,7 @@ AC_CACHE_VAL([scanf_cv_alloc_modifier], #include #include - #ifdef __GLIBC__ + #if defined(__GLIBC__) && !defined(__UCLIBC__) #if !(__GLIBC_PREREQ(2, 7)) #error %m is not available