[PATCH 2 of 5] main: need path to libtoolize

Titus von Boxberg titus@v9g.de
Sun Aug 21 13:14:00 GMT 2011


# HG changeset patch
# User Titus von Boxberg <titus@v9g.de>
# Date 1313914387 -7200
# Node ID bd9a1c22c37c77c6563311a6a7e816bef0855382
# Parent  a946359cb4429037976e6ff22c51515401eaf820
main: need path to libtoolize

libtoolize must be checked_for and there needs to be a wrapper
that points to GNU libtoolize since that may be installed
as glibtoolize.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

diff -r a946359cb442 -r bd9a1c22c37c Makefile.in
--- a/Makefile.in	Sat Aug 20 23:45:46 2011 +0200
+++ b/Makefile.in	Sun Aug 21 10:13:07 2011 +0200
@@ -47,16 +47,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@@
@@ -164,6 +165,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 a946359cb442 -r bd9a1c22c37c configure
--- a/configure	Sat Aug 20 23:45:46 2011 +0200
+++ b/configure	Sun Aug 21 10:13:07 2011 +0200
@@ -448,6 +448,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 a946359cb442 -r bd9a1c22c37c docs/C - Misc. tutorials.txt
--- a/docs/C - Misc. tutorials.txt	Sat Aug 20 23:45:46 2011 +0200
+++ b/docs/C - Misc. tutorials.txt	Sun Aug 21 10:13:07 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



More information about the crossgcc mailing list