[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fprintftime dependencies
From: |
Bruno Haible |
Subject: |
fprintftime dependencies |
Date: |
Thu, 16 Jun 2011 22:32:58 +0200 |
User-agent: |
KMail/1.9.9 |
Hi Jim,
The module 'fprintftime' depends on module 'strftime' - as if a function
nstrftime() was necessary to implement fprintftime(). But actually the
fprintftime() implementation invokes strftime(), not nstrftime().
Here's a proprosed fix for this unneeded dependency:
2011-06-16 Bruno Haible <address@hidden>
fprintftime: Remove unneeded dependency to module 'strftime'.
* modules/fprintftime (Files): Add lib/strftime.c, m4/tm_gmtoff.m4,
m4/strftime.m4.
(Depends-on): Remove strftime. Add extensions, stdbool, time_r.
(configure.ac): Invoke gl_FUNC_STRFTIME.
--- modules/fprintftime.orig Thu Jun 16 22:22:02 2011
+++ modules/fprintftime Thu Jun 16 22:16:33 2011
@@ -4,12 +4,18 @@
Files:
lib/fprintftime.h
lib/fprintftime.c
+lib/strftime.c
+m4/tm_gmtoff.m4
+m4/strftime.m4
Depends-on:
+extensions
ignore-value
-strftime
+stdbool
+time_r
configure.ac:
+gl_FUNC_STRFTIME
Makefile.am:
lib_SOURCES += fprintftime.c
--
In memoriam Imre Nagy <http://en.wikipedia.org/wiki/Imre_Nagy>
- Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions, (continued)
- Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions, Bruno Haible, 2011/06/15
- Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions, Tom G. Christensen, 2011/06/16
- Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions, Bruno Haible, 2011/06/16
- Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions, Tom G. Christensen, 2011/06/18
- Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions, Bruno Haible, 2011/06/18