configure: require libtoolize, create wrapper to it

libtoolize must be checked_for and there needs to be a wrapper
that points to GNU libtoolize since that may be installed
as glibtoolize.
This fixes a problem with building Cloog/PPL that was

Reported-by: "Pierrick Brossin" <pierrick@bs-network.net>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from c7c9e98d36d8a6a49fcd5f3836d5797bb965eba7)
This commit is contained in:
Titus von Boxberg 2011-08-22 09:40:31 +02:00
parent e9798b8521
commit 389450ecd0
2 changed files with 16 additions and 10 deletions

View File

@ -53,6 +53,7 @@ grep := @@grep@@
make := @@make@@
sed := @@sed@@
libtool := @@libtool@@
libtoolize:= @@libtoolize@@
objcopy := @@objcopy@@
objdump := @@objdump@@
readelf := @@readelf@@
@ -164,6 +165,7 @@ paths.mk: FORCE
echo "export make=$(make)"; \
echo "export sed=$(sed)"; \
echo "export libtool=$(libtool)"; \
echo "export libtoolize=$(libtoolize)"; \
echo "export objcopy=$(objcopy)"; \
echo "export objdump=$(objdump)"; \
echo "export readelf=$(readelf)"; \

4
configure vendored
View File

@ -448,6 +448,10 @@ has_or_abort prog=libtool
var=libtool \
ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)' \
err="'libtool' 1.5.26 or above was not found"
has_or_abort prog=libtoolize \
var=libtoolize \
ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)' \
err="'libtoolize' 1.5.26 or above was not found"
has_or_abort prog=stat
has_or_abort prog="curl wget"
has_or_abort prog=patch