summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-03 10:16:02 +0000
committerJim Meyering <jim@meyering.net>2001-01-03 10:16:02 +0000
commit9e14c229184d06bc404c5794aa4b1d5ea6f002be (patch)
treecf27a9116d004f1228d1c2248379c0087e45d59b /m4
parentf3334434ea33093fbcce97ea0dc53a000c288e07 (diff)
downloadcoreutils-9e14c229184d06bc404c5794aa4b1d5ea6f002be.tar.xz
(AM_GNU_GETTEXT): Define MKINSTALLDIRS by
expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN, so `make install' also works in VPATH builds.
Diffstat (limited to 'm4')
-rw-r--r--m4/libintl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/libintl.m4 b/m4/libintl.m4
index b4c62f5b9..87ecce46d 100644
--- a/m4/libintl.m4
+++ b/m4/libintl.m4
@@ -289,7 +289,7 @@ strdup __argz_count __argz_stringify __argz_next])
dnl Try to locate it.
MKINSTALLDIRS=
if test -n "$ac_aux_dir"; then
- MKINSTALLDIRS="\$(top_srcdir)/$ac_aux_dir/mkinstalldirs"
+ MKINSTALLDIRS="`CDPATH=:; cd $ac_aux_dir && pwd`/mkinstalldirs"
fi
if test -z "$MKINSTALLDIRS"; then
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"