configure: require libtoolize, create wrapper to it
authorTitus von Boxberg <titus@v9g.de>
Mon Aug 22 09:40:31 2011 +0200 (2011-08-22)
changeset 2626c7c9e98d36d8
parent 2625 b1be254591e7
child 2627 b745004e1d29
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>
Makefile.in
configure
docs/C - Misc. tutorials.txt
     1.1 --- a/Makefile.in	Mon Aug 22 09:41:35 2011 +0200
     1.2 +++ b/Makefile.in	Mon Aug 22 09:40:31 2011 +0200
     1.3 @@ -50,16 +50,17 @@
     1.4  LOCAL  := @@LOCAL@@
     1.5  
     1.6  # Paths found by ./configure
     1.7 -install:= @@install@@
     1.8 -bash   := @@bash@@
     1.9 -grep   := @@grep@@
    1.10 -make   := @@make@@
    1.11 -sed    := @@sed@@
    1.12 -libtool:= @@libtool@@
    1.13 -objcopy:= @@objcopy@@
    1.14 -objdump:= @@objdump@@
    1.15 -readelf:= @@readelf@@
    1.16 -patch  := @@patch@@
    1.17 +install   := @@install@@
    1.18 +bash      := @@bash@@
    1.19 +grep      := @@grep@@
    1.20 +make      := @@make@@
    1.21 +sed       := @@sed@@
    1.22 +libtool   := @@libtool@@
    1.23 +libtoolize:= @@libtoolize@@
    1.24 +objcopy   := @@objcopy@@
    1.25 +objdump   := @@objdump@@
    1.26 +readelf   := @@readelf@@
    1.27 +patch     := @@patch@@
    1.28  
    1.29  # config options to push down to kconfig
    1.30  KCONFIG:= @@KCONFIG@@
    1.31 @@ -183,6 +184,7 @@
    1.32  	  echo "export make=$(make)";       \
    1.33  	  echo "export sed=$(sed)";         \
    1.34  	  echo "export libtool=$(libtool)"; \
    1.35 +	  echo "export libtoolize=$(libtoolize)"; \
    1.36  	  echo "export objcopy=$(objcopy)"; \
    1.37  	  echo "export objdump=$(objdump)"; \
    1.38  	  echo "export readelf=$(readelf)"; \
     2.1 --- a/configure	Mon Aug 22 09:41:35 2011 +0200
     2.2 +++ b/configure	Mon Aug 22 09:40:31 2011 +0200
     2.3 @@ -491,6 +491,10 @@
     2.4               var=libtool                                                                            \
     2.5               ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)'   \
     2.6               err="'libtool' 1.5.26 or above was not found"
     2.7 +has_or_abort prog=libtoolize                                                                        \
     2.8 +             var=libtoolize                                                                         \
     2.9 +             ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)'   \
    2.10 +             err="'libtoolize' 1.5.26 or above was not found"
    2.11  has_or_abort prog=stat
    2.12  has_or_abort prog="curl wget"
    2.13  has_or_abort prog=patch
     3.1 --- a/docs/C - Misc. tutorials.txt	Mon Aug 22 09:41:35 2011 +0200
     3.2 +++ b/docs/C - Misc. tutorials.txt	Mon Aug 22 09:40:31 2011 +0200
     3.3 @@ -71,11 +71,12 @@
     3.4  
     3.5  4) run ct-ng's configure with the following tool configuration
     3.6     (assuming you have installed the tools via macports in /opt/local):
     3.7 -   ./configure --with-sed=/opt/local/bin/gsed           \
     3.8 -               --with-libtool=/opt/local/bin/glibtool   \
     3.9 -               --with-objcopy=/opt/local/bin/gobjcopy   \
    3.10 -               --with-objdump=/opt/local/bin/gobjdump   \
    3.11 -               --with-readelf=/opt/local/bin/greadelf   \
    3.12 +   ./configure --with-sed=/opt/local/bin/gsed                 \
    3.13 +               --with-libtool=/opt/local/bin/glibtool         \
    3.14 +               --with-libtoolize=/opt/local/bin/glibtoolize   \
    3.15 +               --with-objcopy=/opt/local/bin/gobjcopy         \
    3.16 +               --with-objdump=/opt/local/bin/gobjdump         \
    3.17 +               --with-readelf=/opt/local/bin/greadelf         \
    3.18                 [...other configure parameters as you like...]
    3.19  
    3.20  5) proceed as described in standard documentation