summaryrefslogtreecommitdiff
path: root/m4/gettext.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-08 15:29:26 +0000
committerJim Meyering <jim@meyering.net>2000-02-08 15:29:26 +0000
commit345ed2f0c49d64ee9b9db0ebfe68b21f4982b681 (patch)
tree0442c70fc711c58db5ccb07ac04f340fad406af4 /m4/gettext.m4
parentc52336c44062da1be015a32ba81de987c58185c0 (diff)
downloadcoreutils-345ed2f0c49d64ee9b9db0ebfe68b21f4982b681.tar.xz
(AM_GNU_GETTEXT): Quote square brackets with `[' and `]'
and remove uses of `changequote'.
Diffstat (limited to 'm4/gettext.m4')
-rw-r--r--m4/gettext.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index 1582da3cd..0aceca47e 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -303,16 +303,14 @@ strdup __argz_count __argz_stringify __argz_next])
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