bug-gnulib
[Top][All Lists]
Advanced

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

Re: missing dependency in *printf


From: Bruno Haible
Subject: Re: missing dependency in *printf
Date: Wed, 4 Apr 2007 01:53:36 +0200
User-agent: KMail/1.5.4

Eric Blake wrote:
> libtool: compile:  gcc -std=gnu99 -I. -I../../gnu -I../intl -g2 -Wall
> -Werror -MT ldexpl.lo -MD -MP -MF .deps/ldexpl.Tpo -c ../../gnu/ldexpl.c
> -DDLL_EXPORT -DPIC -o .libs/ldexpl.o
> ../../gnu/ldexpl.c:29:20: isnanl.h: No such file or directory
> ...
> make[3]: *** [ldexpl.lo] Error 1
> 
> 2007-04-02  Eric Blake  <address@hidden>
> 
>       * lib/ldexpl.c (includes): Avoid libm.

There's a better fix: You can see in m4/ldexpl.m4 that users of the
'ldexpl' module must be prepared to link with libm. Therefore there is no
point in trying to avoid libm in ldexpl.c. I'm applying this:

2007-04-03  Bruno Haible  <address@hidden>

        * modules/ldexpl (Depends-on): Add isnanl, remove isnanl-nolibm.
        * lib/ldexpl.c: Undo last change.

*** modules/ldexpl      3 Apr 2007 23:28:37 -0000       1.3
--- modules/ldexpl      3 Apr 2007 23:50:29 -0000
***************
*** 7,13 ****
  
  Depends-on:
  math
! isnanl-nolibm
  fpucw
  
  configure.ac:
--- 7,13 ----
  
  Depends-on:
  math
! isnanl
  fpucw
  
  configure.ac:
*** lib/ldexpl.c        3 Apr 2007 03:52:05 -0000       1.8
--- lib/ldexpl.c        3 Apr 2007 23:50:29 -0000
***************
*** 26,32 ****
  
  #include <float.h>
  #include "fpucw.h"
! #include "isnanl-nolibm.h"
  
  long double
  ldexpl(long double x, int exp)
--- 26,32 ----
  
  #include <float.h>
  #include "fpucw.h"
! #include "isnanl.h"
  
  long double
  ldexpl(long double x, int exp)





reply via email to

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