po/POTFILES.in doesn't exist
Alan Modra
amodra@bigpond.net.au
Tue Oct 2 06:51:00 GMT 2001
> > 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
More information about the Binutils
mailing list