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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7defc1e9104ebecae380e0567d7f31f84c2f73de;p=pspp 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/"