summaryrefslogtreecommitdiff
path: root/gettext.m4
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-10-03 01:46:25 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-10-03 01:46:25 +0000
commit14ada2811ff79013dc08f5b3083dbe1a2dedfc91 (patch)
treedd5762b4fcfbff8ea7dc93083bfcfa73b0d1146b /gettext.m4
parente5cb3e924b6d7ee92b5b02b5f99c3c7ea617ebb8 (diff)
downloadgdb-14ada2811ff79013dc08f5b3083dbe1a2dedfc91.tar.gz
* gettext.m4: Test po/POTFILES.in exists before trying to read.
Diffstat (limited to 'gettext.m4')
-rw-r--r--gettext.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext.m4 b/gettext.m4
index 012bb818cb9..82a5277f225 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