(AM_GNU_GETTEXT): Define MKINSTALLDIRS by
authorJim Meyering <jim@meyering.net>
Wed, 3 Jan 2001 10:16:02 +0000 (10:16 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 3 Jan 2001 10:16:02 +0000 (10:16 +0000)
expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
so `make install' also works in VPATH builds.

m4/libintl.m4

index b4c62f5..87ecce4 100644 (file)
@@ -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"