diff -ur apr-1.4.6-orig/build/ltmain.sh apr-1.4.6/build/ltmain.sh --- apr-1.4.6-orig/build/ltmain.sh 2012-02-08 00:17:55.000000000 +0100 +++ apr-1.4.6/build/ltmain.sh 2012-02-19 17:45:40.000000000 +0100 @@ -2963,8 +2963,8 @@ # 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. - test "$inst_prefix_dir" = "$destdir" && \ - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" +# test "$inst_prefix_dir" = "$destdir" && \ +# func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command.