Skip to contentSkip to conversation

autogen.sh: check for libtoolize rather than libtool

PATCH Applied Helmut Grohne 2 participants 2 messages Oct 7, 2014 – Oct 14, 2014 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autogen.sh: check for libtoolize rather than libtool

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.

---
 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

autogen.sh +1 -1
index d1a686c..d0b340f 100755
@@ -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
Signature · 1 line
2.1.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Helmut Grohne
 autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com