bug-gnulib
[Top][All Lists]
Advanced

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

Re: While cross compiling, assume the gcc signbit support for the musl a


From: Necktwi Ozfguah
Subject: Re: While cross compiling, assume the gcc signbit support for the musl as well
Date: Fri, 22 Mar 2019 17:55:40 +0000 (UTC)

From 56482aa68e71f2ef17ef42163023d78b3ffd35e8 Mon Sep 17 00:00:00 2001 From: Necktwi Ozfghua <address@hidden> Date: Sat, 16 Mar 2019 22:34:17 +0530 Subject: [PATCH] m4/signbit.m4: signbit support is assumed with musl

while cross building, signbit support is assumed with glibc so should be with musl.

Signed-off-by: Necktwi Ozfghua <address@hidden>

m4/signbit.m4 | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/m4/signbit.m4 b/m4/signbit.m4 index bf5bce594..2aefb2598 100644 --- a/m4/signbit.m4 +++ b/m4/signbit.m4 @@ -30,7 +30,9 @@ AC_DEFUN([gl_SIGNBIT],

         [gl_cv_func_signbit=no],
         [case "$host_os" in
# Guess yes on glibc systems.

+ -gnu | gnu*\ + | musl |\ + musl* | *musl) gl_cv_func_signbit="guessing yes" ;;

               # Guess yes on native Windows.
mingw*)        gl_cv_func_signbit="guessing yes" ;;
               # If we don't know, assume the worst.

@@ -61,7 +63,9 @@ AC_DEFUN([gl_SIGNBIT],

         [gl_cv_func_signbit_gcc=no],
         [case "$host_os" in
# Guess yes on glibc systems.

+ -gnu | gnu*\ + | musl |\ + musl | musl) gl_cv_func_signbit_gcc="guessing yes" ;;

               # Guess yes on mingw, no on MSVC.
mingw*)        if test -n "$GCC"; then
                 gl_cv_func_signbit_gcc="guessing yes"

reply via email to

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