From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16713 invoked by alias); 22 Aug 2011 07:49:39 -0000 Received: (qmail 16593 invoked by uid 22791); 22 Aug 2011 07:49:38 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from tschetwerikow.v9g.de (HELO tschetwerikow.v9g.de) (217.92.164.63) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Aug 2011 07:49:23 +0000 Received: from localhost (localhost [127.0.0.1]) by tschetwerikow.v9g.de (Postfix) with ESMTP id 1DFAA1751362; Mon, 22 Aug 2011 09:49:22 +0200 (CEST) Received: from tschetwerikow.v9g.de ([127.0.0.1]) by localhost (tschetwerikow.boxberg.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bs370QDkhBe0; Mon, 22 Aug 2011 09:49:19 +0200 (CEST) Received: from mikulin.boxberg.lan (mikulin.boxberg.lan [10.0.1.253]) by tschetwerikow.v9g.de (Postfix) with ESMTPS id 1659C1751337; Mon, 22 Aug 2011 09:49:18 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 2 of 6] configure: require libtoolize, create wrapper to it X-Mercurial-Node: f9bee81aabe252b001ff70d40c0c061811011c05 Message-Id: In-Reply-To: References: User-Agent: Mercurial-patchbomb/1.9 Date: Mon, 22 Aug 2011 07:49:00 -0000 From: Titus von Boxberg To: crossgcc@sourceware.org Cc: yann.morin.1998@anciens.enib.fr X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00101.txt.bz2 # HG changeset patch # User Titus von Boxberg # Date 1313998831 -7200 # Node ID f9bee81aabe252b001ff70d40c0c061811011c05 # Parent b1be254591e7b524a0b06a2247a9331ebe0faf1d 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" Signed-off-by: "Titus von Boxberg" diff -r b1be254591e7 -r f9bee81aabe2 Makefile.in --- a/Makefile.in Mon Aug 22 09:41:35 2011 +0200 +++ b/Makefile.in Mon Aug 22 09:40:31 2011 +0200 @@ -50,16 +50,17 @@ 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 @@ 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 -r b1be254591e7 -r f9bee81aabe2 configure --- a/configure Mon Aug 22 09:41:35 2011 +0200 +++ b/configure Mon Aug 22 09:40:31 2011 +0200 @@ -491,6 +491,10 @@ 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 -r b1be254591e7 -r f9bee81aabe2 docs/C - Misc. tutorials.txt --- a/docs/C - Misc. tutorials.txt Mon Aug 22 09:41:35 2011 +0200 +++ b/docs/C - Misc. tutorials.txt Mon Aug 22 09:40:31 2011 +0200 @@ -71,11 +71,12 @@ 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 -- For unsubscribe information see http://sourceware.org/lists.html#faq