]> git.lyx.org Git - lyx.git/blobdiff - m4/po.m4
without NLS dummy available() should return false
[lyx.git] / m4 / po.m4
index 86085f6a1bdec40ddb758385af2ea8db0406240b..00133ef36f83c91ec47b1e2ca721d542fdabf9d4 100644 (file)
--- a/m4/po.m4
+++ b/m4/po.m4
@@ -112,13 +112,6 @@ changequote([,])dnl
           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[  ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
           POMAKEFILEDEPS="POTFILES.in"
-          # Remove POTFILES.in if it is empty, such that it can be
-          # correctly rebuilt later.
-          if test -s "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
-            : ;
-          else
-            rm -f "$ac_given_srcdir/$ac_dir/POTFILES.in"
-          fi
           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
           # on $ac_dir but don't depend on user-specified configuration
           # parameters.