Mercurial > hg > octave-kai > gnulib-hg
changeset 2257:d6279dc85bc3
(AM_GNU_GETTEXT): Quote square brackets with `[' and `]'
and remove uses of `changequote'.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 08 Feb 2000 15:29:26 +0000 |
parents | cd177d39cd8d |
children | fd33ec549652 |
files | m4/gettext.m4 |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -303,16 +303,14 @@ dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po - changequote(, )dnl case "$srcdir" in .) posrcprefix="../" ;; - /* | [A-Za-z]:*) + /* | [[A-Za-z]]:*) posrcprefix="$srcdir/" ;; *) posrcprefix="../$srcdir/" ;; esac - changequote([, ])dnl rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES