summaryrefslogtreecommitdiff
path: root/m4/gettext.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/gettext.m4')
-rw-r--r--m4/gettext.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index 3ecb20348..a12bdbf08 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/"