diff -Nru libtool-1.5.6.old/ltmain.in libtool-1.5.6/ltmain.in
--- libtool-1.5.6.old/ltmain.in	2004-07-08 19:36:35.533628176 -0400
+++ libtool-1.5.6/ltmain.in	2004-07-08 19:37:50.504230912 -0400
@@ -33,6 +33,9 @@
 # function.
 progpath="$0"
 
+# define SED for historic ltconfig's generated by Libtool 1.3
+test -z "$SED" && SED=sed
+
 # The name of this program:
 progname=`echo "$progpath" | $SED $basename`
 modename="$progname"
