# HG changeset patch # User Jim Meyering # Date 978516962 0 # Node ID 81e719af0bc19392dd7a28305a4a2d2b3df4d318 # Parent 4e021a920141e28f836fcb7a9d6421d00bbc9c8c (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. diff --git a/m4/libintl.m4 b/m4/libintl.m4 --- a/m4/libintl.m4 +++ b/m4/libintl.m4 @@ -289,7 +289,7 @@ 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"