This is the mail archive of the gdb@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]

[5.1] Re: po/POTFILES.in doesn't exist


>> Date: Tue, 02 Oct 2001 12:05:03 -0400
>> From: Andrew Cagney <ac131313@cygnus.com>
>> 
>> 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  <amodra@bigpond.net.au>

     * 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






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