util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] autogen.sh: check for libtoolize rather than libtool
@ 2014-10-07 21:07 Helmut Grohne
  2014-10-14 10:10 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Grohne @ 2014-10-07 21:07 UTC (permalink / raw)
  To: util-linux; +Cc: 764387

The system libtool program has architecture dependent behaviour. It is
therefore unavailable in cross build environments. The only place it was
used in util-linux is autogen.sh to determine the availability of
libtool. All other places correctly use libtoolize or
$(top_builddir)/libtool.

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
---
 autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This patch has been applied to Debian to ease cross compiling, because
there libtool will be unavailable soon.

Please CC me in replies.

Helmut

diff --git a/autogen.sh b/autogen.sh
index d1a686c..d0b340f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -66,7 +66,7 @@ test -f sys-utils/mount.c || {
 	echo
 	DIE=1
 }
-(libtool --version) < /dev/null > /dev/null 2>&1 || {
+(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
 	echo
 	echo "You must have libtool-2 installed to generate util-linux build system."
 	echo
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] autogen.sh: check for libtoolize rather than libtool
  2014-10-07 21:07 [PATCH] autogen.sh: check for libtoolize rather than libtool Helmut Grohne
@ 2014-10-14 10:10 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2014-10-14 10:10 UTC (permalink / raw)
  To: Helmut Grohne, util-linux, 764387

On Tue, Oct 07, 2014 at 11:07:19PM +0200, Helmut Grohne wrote:
>  autogen.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-14 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07 21:07 [PATCH] autogen.sh: check for libtoolize rather than libtool Helmut Grohne
2014-10-14 10:10 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).