* gettext.m4: Test po/POTFILES.in exists before trying to read.

This commit is contained in:
Alan Modra
2001-10-03 01:46:25 +00:00
parent 2f17ab1689
commit b519ee2a4e
2 changed files with 6 additions and 2 deletions

View File

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