diff options
author | Alan Modra <modra@gmail.com> | 2001-10-03 01:46:25 +0000 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2001-10-03 01:46:25 +0000 |
commit | b519ee2a4e53a65756b9e4f6be4c7bb123d21812 (patch) | |
tree | 2e6b21a04d3254848206fa3a5860b4631fde1eca /gettext.m4 | |
parent | 2f17ab16892397a5214a0bed127bf85033e7c540 (diff) | |
download | newlib-b519ee2a4e53a65756b9e4f6be4c7bb123d21812.zip newlib-b519ee2a4e53a65756b9e4f6be4c7bb123d21812.tar.gz newlib-b519ee2a4e53a65756b9e4f6be4c7bb123d21812.tar.bz2 |
* gettext.m4: Test po/POTFILES.in exists before trying to read.
Diffstat (limited to 'gettext.m4')
-rw-r--r-- | gettext.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |