bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strtod: Fix compilation error on IRIX 6.5


From: Bruno Haible
Subject: strtod: Fix compilation error on IRIX 6.5
Date: Wed, 30 Jan 2019 03:55:29 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; )

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  <address@hidden>

        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

[Prev in Thread] Current Thread [Next in Thread]