]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: improve detection of the "isnan" function in uClibc
authorCarlos Santos <casantos@datacom.ind.br>
Wed, 8 Feb 2017 15:27:36 +0000 (13:27 -0200)
committerKarel Zak <kzak@redhat.com>
Tue, 21 Feb 2017 12:45:15 +0000 (13:45 +0100)
commit66a04ff4fc7c9edf67d38a8687f00c72e6ae426b
tree5e19d7f66aa87b3569760c94f09342c6a0cc143a
parent1425cbced6e2ac3f6c13d2d2bd25affe5f3c3c58
build-sys: improve detection of the "isnan" function in uClibc

Since commit beceb14b450ded6560ed743634a5e80604a8edf3, MATH_LIBS is set
to "-lm" when the isnan function is detected. In uClibc, however, isnan
is a macro that calls __isnan, __isnanf, or __isnanl, depending on the
size of the argument (double, float or long double).

Fixes:
  http://autobuild.buildroot.net/results/2c2/2c29a78ed81ca844a87dcd076ab3e14ea080296d/
  http://autobuild.buildroot.net/results/404/404b10f359b2ae8a7216729fa1bab37fed2d3d4c/

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
configure.ac