[libvirt] [PATCH 1/4] Don't use mylibtool, (subsumed by automake's silent rules)

Jim Meyering jim at meyering.net
Wed Jul 8 09:51:59 UTC 2009


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.

 Makefile.am  |    3 +--
 configure.in |    4 ----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index dd98ff2..c251f96 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,8 +20,7 @@ EXTRA_DIST = \
   .x-sc_require_config_h \
   .x-sc_prohibit_nonreentrant \
   Makefile.nonreentrant \
-  autogen.sh \
-  mylibtool
+  autogen.sh

 man_MANS = virsh.1

diff --git a/configure.in b/configure.in
index 1170958..a6f6754 100644
--- a/configure.in
+++ b/configure.in
@@ -59,10 +59,6 @@ dnl Support building Win32 DLLs (must appear *before* AM_PROG_LIBTOOL)
 AC_LIBTOOL_WIN32_DLL

 AM_PROG_LIBTOOL
-dnl Override normal libtool in favour of our quiet version
-LIBTOOL='$(SHELL) $(top_srcdir)/mylibtool'
-AC_SUBST([LIBTOOL])
-
 AM_PROG_CC_C_O

 VERSION_SCRIPT_FLAGS=-Wl,--version-script=
--
1.6.3.3.524.g8586b




More information about the libvir-list mailing list