From bab41f5e1fc1fc809da1371e6a0222e0eb21e5f0 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Mon, 21 Nov 2011 12:00:54 +0100
Subject: [PATCH] t1lib: add 5.1.2

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

Upstream-Status: Pending

---
 Makefile.in           | 5 +++--
 examples/Makefile.in  | 5 +++--
 lib/Makefile.in       | 6 ++++--
 lib/t1lib/Makefile.in | 6 ++++--
 lib/type1/Makefile.in | 6 ++++--
 type1afm/Makefile.in  | 6 ++++--
 xglyph/Makefile.in    | 6 ++++--
 7 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 29c3468..396c020 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,7 +18,8 @@
 # Last modified:       2005-05-01
 #
 
-SHELL     = /bin/sh
+SHELL     = @SHELL@
+LIBTOOL   = @LIBTOOL@
 CC        = @CC@
 CPP       = @CPP@
 CFLAGS    = @CFLAGS@
@@ -149,7 +150,7 @@ distclean: clean
 	$(RM) examples/Makefile
 	$(RM) xglyph/Makefile
 	$(RM) doc/Makefile
-	$(RM) libtool
+	$(RM) $(LIBTOOL)
 
 
 # The following two targets are for building and cleaning the python-
diff --git a/examples/Makefile.in b/examples/Makefile.in
index b301db5..7a6a514 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -14,9 +14,10 @@
 # Last modified:       2001-04-01
 #
 
+top_builddir = @top_builddir@
 
-LIBTOOL   = ../libtool
-SHELL     = /bin/sh
+LIBTOOL   = @LIBTOOL@
+SHELL     = @SHELL@
 CC        = @CC@
 CPP       = @CPP@
 CFLAGS    = @CFLAGS@
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 89e5e86..6e0f960 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -15,8 +15,10 @@
 #
 # Contributions by H.Kakugawa to use libtool!
 
-LIBTOOL   = ../libtool
-SHELL     = /bin/sh
+top_builddir = @top_builddir@
+
+LIBTOOL   = @LIBTOOL@
+SHELL     = @SHELL@
 CC        = @CC@
 CPP       = @CPP@
 CFLAGS    = @CFLAGS@
diff --git a/lib/t1lib/Makefile.in b/lib/t1lib/Makefile.in
index a6c2478..32434b3 100644
--- a/lib/t1lib/Makefile.in
+++ b/lib/t1lib/Makefile.in
@@ -14,8 +14,10 @@
 #
 # Modified by H.Kakugawa to use libtool
 
-LIBTOOL   = ../../libtool
-SHELL     = /bin/sh
+top_builddir = @top_builddir@
+
+LIBTOOL   = @LIBTOOL@
+SHELL     = @SHELL@
 CC        = @CC@
 CPP       = @CPP@
 CFLAGS    = @CFLAGS@
diff --git a/lib/type1/Makefile.in b/lib/type1/Makefile.in
index 241f124..42efa94 100644
--- a/lib/type1/Makefile.in
+++ b/lib/type1/Makefile.in
@@ -14,8 +14,10 @@
 #
 # Modified by H.Kakugawa to use libtool
 
-LIBTOOL   = ../../libtool
-SHELL     = /bin/sh
+top_builddir = @top_builddir@
+
+LIBTOOL   = @LIBTOOL@
+SHELL     = @SHELL@
 CC        = @CC@
 CPP       = @CPP@
 CFLAGS    = @CFLAGS@
diff --git a/type1afm/Makefile.in b/type1afm/Makefile.in
index 61611e1..9b51406 100644
--- a/type1afm/Makefile.in
+++ b/type1afm/Makefile.in
@@ -15,8 +15,10 @@
 #
 # Modified by H.Kakugawa to use libtool
 
-LIBTOOL   = ../libtool
-SHELL     = /bin/sh
+top_builddir = @top_builddir@
+
+LIBTOOL   = @LIBTOOL@
+SHELL     = @SHELL@
 CC        = @CC@
 CPP       = @CPP@
 CFLAGS    = @CFLAGS@
diff --git a/xglyph/Makefile.in b/xglyph/Makefile.in
index 8da9b63..741334c 100644
--- a/xglyph/Makefile.in
+++ b/xglyph/Makefile.in
@@ -15,8 +15,10 @@
 #
 # Modified by H.Kakugawa to use libtool
 
-LIBTOOL   = ../libtool
-SHELL     = /bin/sh
+top_builddir = @top_builddir@
+
+LIBTOOL   = @LIBTOOL@
+SHELL     = @SHELL@
 CC        = @CC@
 CPP       = @CPP@
 CFLAGS    = @CFLAGS@
