From: Jim Meyering Date: Wed, 3 Jan 2001 10:16:02 +0000 (+0000) Subject: (AM_GNU_GETTEXT): Define MKINSTALLDIRS by X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39b60825c60bea58adbf5484882e88714889a32e;p=pspp (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 index b4c62f5b95..87ecce46df 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"