summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitus von Boxberg" <titus@v9g.de>2011-08-22 07:40:31 (GMT)
committerTitus von Boxberg <titus@v9g.de>2011-08-22 07:40:31 (GMT)
commit6b9c9e74b2ecd86b97af25ae9fdb06538bc78b86 (patch)
tree2f1bc22ff931df94ec76b32cc087c421675b1de0
parent9e5e41568c7afec93d3cb7991481ba9dc10b2fa3 (diff)
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>
-rw-r--r--Makefile.in22
-rwxr-xr-xconfigure4
-rw-r--r--docs/C - Misc. tutorials.txt11
3 files changed, 22 insertions, 15 deletions
diff --git a/Makefile.in b/Makefile.in
index c59ea64..76b0a22 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,16 +50,17 @@ DATE := @@DATE@@
LOCAL := @@LOCAL@@
# Paths found by ./configure
-install:= @@install@@
-bash := @@bash@@
-grep := @@grep@@
-make := @@make@@
-sed := @@sed@@
-libtool:= @@libtool@@
-objcopy:= @@objcopy@@
-objdump:= @@objdump@@
-readelf:= @@readelf@@
-patch := @@patch@@
+install := @@install@@
+bash := @@bash@@
+grep := @@grep@@
+make := @@make@@
+sed := @@sed@@
+libtool := @@libtool@@
+libtoolize:= @@libtoolize@@
+objcopy := @@objcopy@@
+objdump := @@objdump@@
+readelf := @@readelf@@
+patch := @@patch@@
# config options to push down to kconfig
KCONFIG:= @@KCONFIG@@
@@ -183,6 +184,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)"; \
diff --git a/configure b/configure
index ed48555..b2cddcc 100755
--- a/configure
+++ b/configure
@@ -491,6 +491,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
diff --git a/docs/C - Misc. tutorials.txt b/docs/C - Misc. tutorials.txt
index 5f94a61..6e7d463 100644
--- a/docs/C - Misc. tutorials.txt
+++ b/docs/C - Misc. tutorials.txt
@@ -71,11 +71,12 @@ toolchain on MacOS as host.
4) run ct-ng's configure with the following tool configuration
(assuming you have installed the tools via macports in /opt/local):
- ./configure --with-sed=/opt/local/bin/gsed \
- --with-libtool=/opt/local/bin/glibtool \
- --with-objcopy=/opt/local/bin/gobjcopy \
- --with-objdump=/opt/local/bin/gobjdump \
- --with-readelf=/opt/local/bin/greadelf \
+ ./configure --with-sed=/opt/local/bin/gsed \
+ --with-libtool=/opt/local/bin/glibtool \
+ --with-libtoolize=/opt/local/bin/glibtoolize \
+ --with-objcopy=/opt/local/bin/gobjcopy \
+ --with-objdump=/opt/local/bin/gobjdump \
+ --with-readelf=/opt/local/bin/greadelf \
[...other configure parameters as you like...]
5) proceed as described in standard documentation