From f8d4356f85aef62e8f0f8f5fbc5b28485d2a07c5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Feb 2000 15:29:26 +0000 Subject: [PATCH] (AM_GNU_GETTEXT): Quote square brackets with `[' and `]' and remove uses of `changequote'. --- m4/gettext.m4 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 1582da3cde..0aceca47e9 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 -- 2.30.2