X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gettext.m4;h=82a5277f2253fb9a35887a5bcbb3abb2dbc2a7e3;hb=b749473bc4c4e05436f3b07d464b0a172af761cf;hp=012bb818cb941313650d93c7e99fdee38154f956;hpb=6cf86f7f466bf834b633086882b9cd5aa9c3a7e9;p=deliverable%2Fbinutils-gdb.git diff --git a/gettext.m4 b/gettext.m4 index 012bb818cb..82a5277f22 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