emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#6628: closed ([PATCH] omit $(POW_LIB) when linki


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6628: closed ([PATCH] omit $(POW_LIB) when linking, as this is no longer needed)
Date: Wed, 14 Jul 2010 14:47:02 +0000

Your message dated Wed, 14 Jul 2010 15:45:09 +0100
with message-id <address@hidden>
and subject line Re: bug#6628: [PATCH] omit $(POW_LIB) when linking,    as this 
is no longer needed
has caused the GNU bug report #6628,
regarding [PATCH] omit $(POW_LIB) when linking, as this is no longer needed
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
6628: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6628
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] omit $(POW_LIB) when linking, as this is no longer needed Date: Tue, 13 Jul 2010 16:32:17 -0700 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5
Here's an obvious patch to simplify src/Makefile.am now that
gnulib strtod no longer needs libm.  Is it OK to install this?

>From 018e0adb679ac8ba713de00c1afb686395ce13fc Mon Sep 17 00:00:00 2001
From: Paul R. Eggert <address@hidden>
Date: Tue, 13 Jul 2010 16:29:37 -0700
Subject: [PATCH] omit $(POW_LIB) when linking, as this is no longer needed

* src/Makefile.am (printf_LDADD, seq_LDADD, sleep_LDADD, sort_LDADD):
(tail_LDADD, uptime_LDADD): Omit $(POW_LIB), as it's no longer
needed due to recent gnulib changes, where the strtod module no
longer uses the pow function.  strtold needs pow only because it's
sometimes aliased to strtod.  See
http://lists.gnu.org/archive/html/bug-gnulib/2010-07/msg00076.html
---
 src/Makefile.am |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 2e0e320..d87fbb5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -343,14 +343,6 @@ ls_LDADD += $(LIB_CAP)
 dd_LDADD += $(LIB_FDATASYNC)
 shred_LDADD += $(LIB_FDATASYNC)
 
-# for strtod, strtold
-printf_LDADD += $(POW_LIB)
-seq_LDADD += $(POW_LIB)
-sleep_LDADD += $(POW_LIB)
-sort_LDADD += $(POW_LIB)
-tail_LDADD += $(POW_LIB)
-uptime_LDADD += $(POW_LIB)
-
 # for xnanosleep
 sleep_LDADD += $(LIB_NANOSLEEP)
 sort_LDADD += $(LIB_NANOSLEEP)
-- 
1.7.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#6628: [PATCH] omit $(POW_LIB) when linking, as this is no longer needed Date: Wed, 14 Jul 2010 15:45:09 +0100 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
On 14/07/10 00:32, Paul Eggert wrote:
> Here's an obvious patch to simplify src/Makefile.am now that
> gnulib strtod no longer needs libm.  Is it OK to install this?
> 
>>From 018e0adb679ac8ba713de00c1afb686395ce13fc Mon Sep 17 00:00:00 2001
> From: Paul R. Eggert <address@hidden>
> Date: Tue, 13 Jul 2010 16:29:37 -0700
> Subject: [PATCH] omit $(POW_LIB) when linking, as this is no longer needed

That looks good.
I've just updated to the latest gnulib,
so I went ahead and pushed that.

cheers,
Pádraig.


--- End Message ---

reply via email to

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