From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: gdb@sources.redhat.com Cc: Eli Zaretskii , amodra@bigpond.net.au, aoliva@redhat.com, drow@mvista.com Subject: [5.1] Re: po/POTFILES.in doesn't exist Date: Sun, 14 Oct 2001 11:49:00 -0000 Message-id: <3BC9DE01.2030609@cygnus.com> References: <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> X-SW-Source: 2001-10/msg00144.html >> Date: Tue, 02 Oct 2001 12:05:03 -0400 >> From: Andrew Cagney >> >> Assuming it makes it into the trunk, does anyone have an opinion on >> committing it to the 5.1 branch? On the up-side is that it eliminates >> the configure warning, on the down side, the warning didn't appear to do >> any harm any way. > > > I generally think that something is very wrong when the configure > script prints error messages. Yes. Er. If anyone knows the correct tools / process to use to re-generate bfd's configure can they let me know. I tried --enable-maintainer-mode using the 000227 auto* tools in the binutils ftp site and got the error: gmake[1]: Entering directory `/home/scratch/51/gdb/native/bfd' cd /home/scratch/51/gdb/src/bfd && aclocal cd /home/scratch/51/gdb/src/bfd && automake --cygnus Makefile 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 ***BUG in Autoconf--please report*** AC_FD_CC ***BUG in Autoconf--please report*** AC_FD_MSG ***BUG in Autoconf--please report*** AC_FD_MSG ***BUG in Autoconf--please report*** AC_FD_MSG ***BUG in Autoconf--please report*** AC_FD_MSG Andrew 2001-10-03 Alan Modra * gettext.m4: Test po/POTFILES.in exists before trying to read. Index: gettext.m4 =================================================================== RCS file: /cvs/src/src/gettext.m4,v retrieving revision 1.1 diff -u -p -r1.1 gettext.m4 --- gettext.m4 2000/08/31 09:25:11 1.1 +++ gettext.m4 2001/10/03 01:15:56 @@ -256,8 +256,8 @@ __argz_count __argz_stringify __argz_nex dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. But only do this if the po directory - dnl exists in srcdir. - if test -d $srcdir/po; then + dnl exists in srcdir and contains POTFILES.in. + if test -f $srcdir/po/POTFILES.in; then test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then