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)
commit389450ecd054160e43f9d5f924af4458519d0616 (patch)
tree764c6779c36d79ec3f2bacae7382deb0226b1012
parente9798b85210faee48dd29bae64c6e1bddca70296 (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> (transplanted from c7c9e98d36d8a6a49fcd5f3836d5797bb965eba7)
-rw-r--r--Makefile.in22
-rwxr-xr-xconfigure4
2 files changed, 16 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index 4be16c5..d2a6583 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -47,16 +47,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@@
@@ -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)"; \
diff --git a/configure b/configure
index d7e3ce0..7342e16 100755
--- a/configure
+++ b/configure
@@ -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