This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: po/POTFILES.in doesn't exist
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: po/POTFILES.in doesn't exist
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Tue, 2 Oct 2001 23:21:38 +0930
- Cc: Alexandre Oliva <aoliva at redhat dot com>, Daniel Jacobowitz <drow at mvista dot com>, Eli Zaretskii <eliz at is dot elta dot co dot il>, gdb at sources dot redhat dot com, binutils at sources dot redhat dot com
- References: <Pine.SUN.3.91.1010729143812.3073B-100000@is> <3B707412.9080906@cygnus.com> <20010807161144.A28818@nevyn.them.org> <3BB2AC9A.1080306@cygnus.com>
> > checking for xgettext... (cached) /usr/bin/xgettext
> > ./configure: ./po/POTFILES.in: No such file or directory
This tweak should fix it.
* gettext.m4: Test po/POTFILES.in exists before trying to read.
Anybody have any objections to installing this?
--
Alan Modra
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/02 12:43:15
@@ -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 -d $srcdir/po && 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