From b6eb2ffd1e53f6eb099339dfd51f72736cfd14da Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 31 Oct 2001 02:30:19 +0000 Subject: Fix POO file warning. Regenerate everthing that wants to be. --- ChangeLog | 4 ++++ gettext.m4 | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2fdc15d27..c3264a248 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-10-03 Alan Modra + + * gettext.m4: Test po/POTFILES.in exists before trying to read. + 2001-07-26 DJ Delorie * MAINTAINERS: Clarify libiberty merge rules and procedures. diff --git a/gettext.m4 b/gettext.m4 index 012bb818c..82a5277f2 100644 --- a/gettext.m4 +++ b/gettext.m4 @@ -256,8 +256,8 @@ __argz_count __argz_stringify __argz_next]) 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 -- cgit v1.2.3