--- /dev/null
+--- ltmain.bak Thu Apr 7 19:12:55 2005
++++ ltmain.sh Thu Apr 7 19:20:28 2005
+@@ -5362,10 +5362,10 @@
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+- if test "$inst_prefix_dir" = "$destdir"; then
+- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
+- exit 1
+- fi
++# if test "$inst_prefix_dir" = "$destdir"; then
++# $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
++# exit 1
++# fi
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.