On IRIX 6.5, a testdir for module 'strtod' fails, due to an undefined
symbol/macro 'NAN'.

The fix is trivial: Depend on the module 'math', which already contains
the workaround.


2019-01-29  Bruno Haible  <br...@clisp.org>

        strtod: Fix compilation error on IRIX 6.5.
        * modules/strtod (Depends-on): Add 'math'.

diff --git a/modules/strtod b/modules/strtod
index e8b72b4..7c7c4e0 100644
--- a/modules/strtod
+++ b/modules/strtod
@@ -10,6 +10,7 @@ Depends-on:
 stdlib
 strtod-obsolete
 c-ctype         [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
+math            [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
 stdbool         [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
 
 configure.ac:


Reply via email to