Re: [RFA] Eliminate warnings about snprintf declaration

Eli Zaretskii
2005-05-20T12:11:45Z

> Date: Sun, 15 May 2005 13:04:35 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, gcc-patches@gcc.gnu.org,
> gdb-patches@sourceware.org, binutils@sourceware.org
>
> > > gdb/ChangeLog:
> > > 2005-05-14 Eli Zaretskii <eliz@gnu.org>
> > >
> > > * configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS.
> >
> > I can't approve this one, but it looks fine to me.
>
> Eli can approve it himself; or I will :-) Same comment as above
> applies; please mention configure.

It turns out I don't know how to regenerate configure and config.in.
I looked everywhere for some dependency in some Makefile.in or for
something similar that will show me which commands are to be used for
that and in what way, but failed to find anything. I tried to run
autoconf and autoheader, but the resultant config.in misses quite a
few undef's, like HAVE_VALUES_H and HAVE_STRCHR, so I guess I didn't
invoke it correctly.

So could someone please educate me: how should I invoke autoconf and
autoheader to produce gdb/configure and gdb/config.in, what input
files are needed (use by autoconf and autoheader) for this, and where
(in what makefile or script) are the rules to do that spelled out?

TIA