From: Jim Meyering Date: Sun, 7 Feb 1999 13:41:27 +0000 (+0000) Subject: Support DOS-style d:/foo/bar absolute file names. X-Git-Tag: TEXTUTILS-1_22h~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e0faa6d1813e2a0a7f060f4a6ddfabb4207e052;p=thirdparty%2Fcoreutils.git Support DOS-style d:/foo/bar absolute file names. From Eli Zaretskii. --- diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 3ecb203485..a12bdbf08d 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -314,7 +314,7 @@ strdup __argz_count __argz_stringify __argz_next]) dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then - if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + if test "x`echo $srcdir | sed -e 's@^[A-z]:@@' -e 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/"