bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] Re: getaddrinfo.c: don't require snprintf; new function


From: Bruno Haible
Subject: Re: [bug-gnulib] Re: getaddrinfo.c: don't require snprintf; new function: shorttostr
Date: Mon, 23 Oct 2006 18:08:13 +0200
User-agent: KMail/1.9.1

Simon Josefsson wrote:
> > +# Prerequisites of lib/uinttostr.c.
> > +AC_DEFUN([gl_PREREQ_UINTTOSTR], [:])
> 
> What are these dummy functions useful for, anyway?

They separate the autoconf macros needed to determine _when_ to enable a
replacement from the autoconf macros needed for compiling the replacement.
The purpose is that when you change the source code of the .c file you need
to proofread only half of the implementation.

Also, sometimes we use the same .c file in two different modules; here also
it helps.

Bruno




reply via email to

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