From: Bruno Haible Date: Fri, 16 Mar 2001 18:05:53 +0000 (+0000) Subject: Tweak for DOS platforms. X-Git-Tag: v0.10.36~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e4536066e8fd2d632cdd029dae551a219a7b0b0;p=thirdparty%2Fgettext.git Tweak for DOS platforms. --- diff --git a/m4/ChangeLog b/m4/ChangeLog index 5a2a50726..6008e8c71 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2001-03-16 Bruno Haible + + * gettext.m4 (AM_WITH_NLS): Allow po/Makefile.in to be generated from + a different file than po/Makefile.in.in. + 2001-03-11 Bruno Haible * getline.m4: New file, from fileutils-4.0.41 with modifications. diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 606d41770..434669a4d 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -159,7 +159,7 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "" POSUB=po fi AC_OUTPUT_COMMANDS( - [case " $CONFIG_FILES " in *" po/Makefile.in "*) + [case " $CONFIG_FILES " in *" po/Makefile.in "* | *" po/Makefile.in:"*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac])