configure: require libtoolize, create wrapper to it 1.12
authorTitus von Boxberg <titus@v9g.de>
Mon Aug 22 09:40:31 2011 +0200 (2011-08-22)
branch1.12
changeset 263797cc0c987a1a
parent 2636 d53c6d529923
child 2638 18d05b18e242
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)
Makefile.in
configure
     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 @@ -47,16 +47,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 @@ -164,6 +165,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 @@ -448,6 +448,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