bug-gnulib
[Top][All Lists]
Advanced

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

Re: gl_* check do nothing?


From: Bruno Haible
Subject: Re: gl_* check do nothing?
Date: Wed, 29 Sep 2010 18:42:16 +0200
User-agent: KMail/1.9.9

Sam Steingold wrote:
> ==========================
> gl_FUNC_STRERROR
> gl_STRING_MODULE_INDICATOR([strerror])
> ==========================
> 
> print NOTHING.

gl_STRING_MODULE_INDICATOR - look at how it's defined in m4/string_h.m4 - only
sets some variable and arranges for some #define in config.h. It never prints
anything.

gl_FUNC_STRERROR - look at m4/strerror.m4 - prints nothing if previous tests
have already determined that errno.h must define additional errno values.

> So, does this mean that gnulib NEVER relies on the system-supplied strftime, 
> strptime, getdate, strerror?

strftime: See 
<http://www.gnu.org/software/gnulib/manual/html_node/strftime.html>
The gnulib module 'strftime' does not define a function named strftime(), but
nstrftime().

strptime: See 
<http://www.gnu.org/software/gnulib/manual/html_node/strptime.html>
and m4/strptime.m4. It does an AC_CHECK_FUNCS_ONCE([strptime])
but you did not see it there because all AC_CHECK_FUNCS_ONCE invocations are
handled near the beginning of the 'configure' run.

getdate: never supplied by the system.

strerror: See above.

Bruno



reply via email to

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