This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [5.1] Re: po/POTFILES.in doesn't exist
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb at sources dot redhat dot com, Eli Zaretskii <eliz at is dot elta dot co dot il>, amodra at bigpond dot net dot au, drow at mvista dot com
- Date: 25 Nov 2001 14:59:41 -0200
- Subject: Re: [5.1] Re: po/POTFILES.in doesn't exist
- Organization: GCC Team, Red Hat
- References: <Pine.SUN.3.91.1010729143812.3073B-100000@is><3B707412.9080906@cygnus.com> <20010807161144.A28818@nevyn.them.org><3BB2AC9A.1080306@cygnus.com><20011002232138.L1019@bubble.sa.bigpond.net.au><3BB9E5AF.2050207@cygnus.com><2593-Tue02Oct2001190537+0300-eliz@is.elta.co.il><3BC9DE01.2030609@cygnus.com>
Sorry about the long delay, I've been way behind in my GDB e-mailing
folders :-(
On Oct 14, 2001, Andrew Cagney <ac131313@cygnus.com> wrote:
> cd /home/scratch/51/gdb/src/bfd && autoconf
> configure.in:8: AC_TRY_COMPILE was called before AC_ISC_POSIX
> configure.in:8: AC_TRY_RUN was called before AC_ISC_POSIX
> autoconf: Undefined macros:
> ***BUG in Autoconf--please report*** AC_FD_MSG
Which version of autoconf was this?
This last error is generally a symptom of under-quoted macro
invocations in configure.in or aclocal.m4. Typical scenario is a
construct such as:
AC_FOO(AC_BAR(...))
The correct way to write this is:
AC_FOO([AC_BAR([...])])
^ ^ ^ ^
I.e., every argument of every macro should be enclosed in quotation
brackets. Sometimes, you may get on without so much quoting, in the
hopes that the argument of the macro won't contain any active content
(i.e., no other m4 macro). But, if any macro argument does, you may
observe this kind of problem.
As for the errors about AC_ISC_POSIX, they can't be helped. There are
two macros called in bfd's configure that both want to be expanded
before any compilation takes place, but both of them do compiles
themselves. So, one of them gets to be second and generate these
messages.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me