Daniel P. Berrange wrote:
On Wed, Jul 08, 2009 at 11:51:59AM +0200, Jim Meyering wrote:
> Its use was causing a non-srcdir build to fail.
> * Makefile.am (EXTRA_DIST): Remove mylibtool.
> * configure.in: Don't use mylibtool.
> ---
>
> An alternative (if you don't want to use automake's silent-rules option)
> would be to keep mylibtool, but to use $(abs_top_srcdir) rather than
> $(top_srcdir) in that script.
NACK, this only works with automake 1.11, which is not available
on RHEL-5
Here's that alternative patch:
From 018953765f5329c0e7ac182e5e0ce4e550528238 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering(a)redhat.com>
Date: Wed, 8 Jul 2009 12:49:27 +0200
Subject: [PATCH] mylibtool: fix a "make distcheck" and non-srcdir build failure
* configure.in (LIBTOOL): Use $(abs_top_srcdir), not $(top_srcdir).
---
configure.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in
index 1170958..b135987 100644
--- a/configure.in
+++ b/configure.in
@@ -60,7 +60,7 @@ AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
dnl Override normal libtool in favour of our quiet version
-LIBTOOL='$(SHELL) $(top_srcdir)/mylibtool'
+LIBTOOL='$(SHELL) $(abs_top_srcdir)/mylibtool'
AC_SUBST([LIBTOOL])
AM_PROG_CC_C_O
--
1.6.3.3.524.g8586b