From 89bdf84bcd9c6032e379af1b74fee56a0cb24427 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 24 Feb 2010 10:53:44 +0100 Subject: [PATCH] build: ensure that MKINSTALLDIRS is AC_SUBST-defined since we're using gettext-0.14.1, which uses that now-obsolete automake symbol. Otherwise, make distcheck would fails like this: make[2]: Entering directory `/t/libvirt-0.7.6/_build/po' /bin/sh @MKINSTALLDIRS@ /t/libvirt-0.7.6/_inst/share /bin/sh: @MKINSTALLDIRS@: No such file or directory make[2]: *** [install-data-yes] Error 127 * configure.ac (MKINSTALLDIRS): Define. For reference, we're currently hamstrung by our desire to support RHEL5, which still uses gettext-0.14: http://bugzilla.redhat.com/523713 --- .gnulib | 2 +- configure.ac | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gnulib b/.gnulib index 108cfb8031..11fbc57405 160000 --- a/.gnulib +++ b/.gnulib @@ -1 +1 @@ -Subproject commit 108cfb803174abf17eb101e9999b9d1a642ce1ba +Subproject commit 11fbc57405a118e6ec9a3ebc19bbf5ececdae4d6 diff --git a/configure.ac b/configure.ac index 117cb201a4..bcd48a3dbf 100644 --- a/configure.ac +++ b/configure.ac @@ -1655,6 +1655,11 @@ AM_CONDITIONAL([WITH_LIBVIRTD],[test "x$with_libvirtd" = "xyes"]) dnl Check for gettext AM_GNU_GETTEXT_VERSION([0.14.1]) AM_GNU_GETTEXT([external]) +dnl Since we're using such an old version of gettext, we must also define +dnl this symbol, in order to make the autopoint-supplied Makefile.in.in +dnl work properly. +AC_SUBST([MKINSTALLDIRS], ["\$(top_builddir)/$ac_aux_dir/mkinstalldirs"]) + ALL_LINGUAS=`cd "$srcdir/po" > /dev/null && ls *.po | sed 's+\.po$++'` dnl Extra link-time flags for Cygwin.