From: Helmut Grohne <helmut@subdivi.de>
To: util-linux@vger.kernel.org
Cc: 764387@bugs.debian.org
Subject: [PATCH] autogen.sh: check for libtoolize rather than libtool
Date: Tue, 7 Oct 2014 23:07:19 +0200 [thread overview]
Message-ID: <20141007210718.GA746@alf.mars> (raw)
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
next reply other threads:[~2014-10-07 21:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 21:07 Helmut Grohne [this message]
2014-10-14 10:10 ` [PATCH] autogen.sh: check for libtoolize rather than libtool Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141007210718.GA746@alf.mars \
--to=helmut@subdivi.de \
--cc=764387@bugs.debian.org \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.