(AM_GNU_GETTEXT): Quote square brackets with `[' and `]'
authorJim Meyering <jim@meyering.net>
Tue, 8 Feb 2000 15:29:26 +0000 (15:29 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 8 Feb 2000 15:29:26 +0000 (15:29 +0000)
and remove uses of `changequote'.

m4/gettext.m4

index 1582da3..0aceca4 100644 (file)
@@ -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