X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fgettext.m4;h=6690538e75c5d78b0c0dedfdf323f1f8aaf0249f;hb=001ac7208ae894cd64c03be8658dc580caeb11ad;hp=1582da3cde634a2692f304ab0d1feb1a46f37425;hpb=9aa1320567f7f0524fd56b3d2ff1976c7aa57608;p=gnulib.git diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 1582da3cd..6690538e7 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -6,7 +6,7 @@ # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. -# serial 107 +# serial 108 AC_PREREQ(2.13) dnl Minimum Autoconf version required. @@ -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