]> git.lyx.org Git - lyx.git/blobdiff - m4/po.m4
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / m4 / po.m4
index 3bfafbe1c2a42ad6848e53e6df086fd88187556b..815c873be4a16915e7a661441e095b42b7573032 100644 (file)
--- a/m4/po.m4
+++ b/m4/po.m4
@@ -24,7 +24,8 @@ AC_DEFUN([AM_PO_SUBDIRS],
 [
   AC_REQUIRE([AC_PROG_MAKE_SET])dnl
   AC_REQUIRE([AC_PROG_INSTALL])dnl
-  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
+  AC_REQUIRE([AC_PROG_MKDIR_P])dnl defined by autoconf
+dnl  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake (obsolete)
   AC_REQUIRE([AM_NLS])dnl
 
   dnl Perform the following tests also if --disable-nls has been given,
@@ -112,13 +113,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.