This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Fix compilation failure of remote-fileio.c


Hi Eli,

src/gdb/configure is produced with this version of autoconf:

  ftp://sources.redhat.com/pub/binutils/autoconf-000227.tar.bz2

This version of autoconf identifies itself as "autoconf version 2.13",
but produces different "configure" files than autoconf 2.13.
Fun fun fun!

The difference is that autoconf-000227 has some "--site-file"
stuff in it that I don't even understand.  But that's the blessed
version for gdb.

eli> Because running Autoconf 2.13 installed on fencepost.gnu.org
eli> produces quite a few errors about undefined macros.  What am I missing?

Oddly, when I run the real autoconf 2.13 on current cvs HEAD,
it does run.  It just produces a different "configure" than the
version in cvs.  autoconf 000227 produces the identical "configure".
So if you are getting "undefined macros" then there is something
even more wrong.

I would recommend:

  -- download autoconf 000227
  -- build your own private copy of it
  -- check that it generates identical "configure"

Do that before banging on configure.in

eli> Also, if it _is_ Autoconf 2.13, then it seems like it doesn't know
eli> about AC_CHECK_MEMBER, so what should I put in configure.in for
eli> testing the existence of st_blocks?

Maybe cut-and-paste from the l_addr check?

Michael C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]