From: Bruno Haible Date: Thu, 12 Apr 2001 23:50:45 +0000 (+0000) Subject: Fix bug that caused po/Makefile to not be generated in some cases. X-Git-Tag: v0.10.37~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c94c4b2b1e297871d34e2a792f342fc41bfded17;p=thirdparty%2Fgettext.git Fix bug that caused po/Makefile to not be generated in some cases. --- diff --git a/m4/ChangeLog b/m4/ChangeLog index b509d6760..c3d72ff41 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,9 @@ +2001-04-12 Bruno Haible + + * gettext.m4 (AM_WITH_NLS): Fix syntax error in 'case'. Change + whitespace in $CONFIG_FILES to spaces for matching with 'case'. + Reported by Thorsten Kukuk . + 2001-04-11 Bruno Haible * gettext.m4 (AM_WITH_NLS): Even if 'msgfmt' is not found in $PATH, diff --git a/m4/gettext.m4 b/m4/gettext.m4 index c3bc72025..90b34c609 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -159,8 +159,9 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "" POSUB=po fi AC_OUTPUT_COMMANDS( - [case " $CONFIG_FILES " in *" po/Makefile.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])