[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getdate fails to build
From: |
Eric Blake |
Subject: |
Re: getdate fails to build |
Date: |
Wed, 29 Sep 2010 11:31:44 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4 |
On 09/29/2010 10:46 AM, Sam Steingold wrote:
Does glibc have a getdate.h include file?
posix does not require "getdate.h".
gnulib shouldn't either.
If you want getdate(), then you are correct that you want <time.h>.
But gnulib's getdate module provides get_date(), which is NOT the same
beast as getdate().
It may make sense to rename the current getdate module to get_date to
reflect the fact that it is providing a completely different interface.
which means that getdate.y is compiled unconditionally.
Whereas platform-dependent compilations are usually triggered
through AC_LIBOBJ.
this is a bug in gnulib.
No, it is not - if you are using the gnulib module getdate, it is
assumed that you want get_date(), which glibc does NOT provide.
this is another gnulib bug: it should have detected bad YACC at
configure time and failed then.
Patches welcome.
the bottom line is:
gnulib has no business requiring YACC on linux
Unless of course you are compiling the gnulib get_date() function, in
which case YACC is a necessity.
gnulib has no business replacing glibc functions on linux
It is NOT replacing the glibc getdate(), it is providing get_date().
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
- getdate fails to build, Sam Steingold, 2010/09/29
- Re: getdate fails to build, Bruno Haible, 2010/09/29
- Re: getdate fails to build, Sam Steingold, 2010/09/29
- Re: getdate fails to build, Paul Eggert, 2010/09/29
- Re: getdate fails to build, Sam Steingold, 2010/09/29
- Re: getdate fails to build, Eric Blake, 2010/09/29
- [PATCH] getdate: rename to get_date, Eric Blake, 2010/09/30
- Re: [PATCH] getdate: rename to get_date, Jim Meyering, 2010/09/30
- Re: [PATCH] getdate: rename to get_date, Bruno Haible, 2010/09/30
- Re: [PATCH] getdate: rename to get_date, Eric Blake, 2010/09/30
- Re: [PATCH] getdate: rename to get_date, Bruno Haible, 2010/09/30