This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: po/POTFILES.in doesn't exist


> > 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


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