bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext-0.10.37 is not compatible with gettext-0.10.35


From: Andreas Schwab
Subject: Re: gettext-0.10.37 is not compatible with gettext-0.10.35
Date: 27 Apr 2001 12:57:22 +0200
User-agent: Gnus/5.090002 (Oort Gnus v0.02) Emacs/21.0.103

"H . J . Lu" <address@hidden> writes:

|> --- gettext-0.10.37/m4/gettext.m4.compat     Thu Apr 12 19:34:32 2001
|> +++ gettext-0.10.37/m4/gettext.m4    Thu Apr 26 10:28:45 2001
|> @@ -159,10 +159,13 @@ return (int) gettext ("")]ifelse([$2], n
|>        POSUB=po
|>      fi
|>      AC_OUTPUT_COMMANDS(
|> -     [case " "$CONFIG_FILES" " in *" po/Makefile.in "* | *" 
po/Makefile.in:"*)
|> -        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|> -        ;;
|> -      esac])
|> +     [for f in $CONFIG_FILES; do
|> +    case $f in po/Makefile.in)
|> +      sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|> +      break
|> +      ;;
|> +    esac
|> +      done])

This can be written in a simpler way:

    case " $CONFIG_FILES " in *[\ \     ]po/Makefile.in[\ \     :]*)
       sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
       ;;
    esac

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
address@hidden
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]