mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-18 16:20:23 +00:00
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>
This commit is contained in:
parent
9e5e41568c
commit
6b9c9e74b2
22
Makefile.in
22
Makefile.in
@ -50,16 +50,17 @@ DATE := @@DATE@@
|
|||||||
LOCAL := @@LOCAL@@
|
LOCAL := @@LOCAL@@
|
||||||
|
|
||||||
# Paths found by ./configure
|
# Paths found by ./configure
|
||||||
install:= @@install@@
|
install := @@install@@
|
||||||
bash := @@bash@@
|
bash := @@bash@@
|
||||||
grep := @@grep@@
|
grep := @@grep@@
|
||||||
make := @@make@@
|
make := @@make@@
|
||||||
sed := @@sed@@
|
sed := @@sed@@
|
||||||
libtool:= @@libtool@@
|
libtool := @@libtool@@
|
||||||
objcopy:= @@objcopy@@
|
libtoolize:= @@libtoolize@@
|
||||||
objdump:= @@objdump@@
|
objcopy := @@objcopy@@
|
||||||
readelf:= @@readelf@@
|
objdump := @@objdump@@
|
||||||
patch := @@patch@@
|
readelf := @@readelf@@
|
||||||
|
patch := @@patch@@
|
||||||
|
|
||||||
# config options to push down to kconfig
|
# config options to push down to kconfig
|
||||||
KCONFIG:= @@KCONFIG@@
|
KCONFIG:= @@KCONFIG@@
|
||||||
@ -183,6 +184,7 @@ paths.mk: FORCE
|
|||||||
echo "export make=$(make)"; \
|
echo "export make=$(make)"; \
|
||||||
echo "export sed=$(sed)"; \
|
echo "export sed=$(sed)"; \
|
||||||
echo "export libtool=$(libtool)"; \
|
echo "export libtool=$(libtool)"; \
|
||||||
|
echo "export libtoolize=$(libtoolize)"; \
|
||||||
echo "export objcopy=$(objcopy)"; \
|
echo "export objcopy=$(objcopy)"; \
|
||||||
echo "export objdump=$(objdump)"; \
|
echo "export objdump=$(objdump)"; \
|
||||||
echo "export readelf=$(readelf)"; \
|
echo "export readelf=$(readelf)"; \
|
||||||
|
4
configure
vendored
4
configure
vendored
@ -491,6 +491,10 @@ has_or_abort prog=libtool
|
|||||||
var=libtool \
|
var=libtool \
|
||||||
ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)' \
|
ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)' \
|
||||||
err="'libtool' 1.5.26 or above was not found"
|
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=stat
|
||||||
has_or_abort prog="curl wget"
|
has_or_abort prog="curl wget"
|
||||||
has_or_abort prog=patch
|
has_or_abort prog=patch
|
||||||
|
@ -71,11 +71,12 @@ toolchain on MacOS as host.
|
|||||||
|
|
||||||
4) run ct-ng's configure with the following tool configuration
|
4) run ct-ng's configure with the following tool configuration
|
||||||
(assuming you have installed the tools via macports in /opt/local):
|
(assuming you have installed the tools via macports in /opt/local):
|
||||||
./configure --with-sed=/opt/local/bin/gsed \
|
./configure --with-sed=/opt/local/bin/gsed \
|
||||||
--with-libtool=/opt/local/bin/glibtool \
|
--with-libtool=/opt/local/bin/glibtool \
|
||||||
--with-objcopy=/opt/local/bin/gobjcopy \
|
--with-libtoolize=/opt/local/bin/glibtoolize \
|
||||||
--with-objdump=/opt/local/bin/gobjdump \
|
--with-objcopy=/opt/local/bin/gobjcopy \
|
||||||
--with-readelf=/opt/local/bin/greadelf \
|
--with-objdump=/opt/local/bin/gobjdump \
|
||||||
|
--with-readelf=/opt/local/bin/greadelf \
|
||||||
[...other configure parameters as you like...]
|
[...other configure parameters as you like...]
|
||||||
|
|
||||||
5) proceed as described in standard documentation
|
5) proceed as described in standard documentation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user