1 --- libltdl/config/ltmain.m4sh.orig 2008-09-07 17:54:53.000000000 +0000
2 +++ libltdl/config/ltmain.m4sh 2008-09-28 04:35:05.000000000 +0000
4 # At present, this check doesn't affect windows .dll's that
5 # are installed into $libdir/../bin (currently, that works fine)
6 # but it's something to keep an eye on.
7 - test "$inst_prefix_dir" = "$destdir" && \
8 - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
9 + #test "$inst_prefix_dir" = "$destdir" && \
10 + # func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
12 if test -n "$inst_prefix_dir"; then
13 # Stick the inst_prefix_dir data into the link command.
15 if test -n "$inst_prefix_dir"; then
18 - add_dir="$add_dir -L$inst_prefix_dir$libdir"
19 + add_dir="$add_dir -L$inst_prefix_dir"
25 elif test "$hardcode_automatic" = yes; then
26 if test -n "$inst_prefix_dir" &&
27 - test -f "$inst_prefix_dir$libdir/$linklib" ; then
28 - add="$inst_prefix_dir$libdir/$linklib"
29 + test -f "$inst_prefix_dir" ; then
30 + add="$inst_prefix_dir"
32 add="$libdir/$linklib"
35 if test -n "$inst_prefix_dir"; then
38 - add_dir="$add_dir -L$inst_prefix_dir$libdir"
39 + add_dir="$add_dir -L$inst_prefix_dir"
43 --- libltdl/config/ltmain.sh.orig 2008-09-07 19:56:33.000000000 +0200
44 +++ libltdl/config/ltmain.sh 2008-10-06 04:21:18.000000000 +0200
46 # At present, this check doesn't affect windows .dll's that
47 # are installed into $libdir/../bin (currently, that works fine)
48 # but it's something to keep an eye on.
49 - test "$inst_prefix_dir" = "$destdir" && \
50 - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
51 + #test "$inst_prefix_dir" = "$destdir" && \
52 + # func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
54 if test -n "$inst_prefix_dir"; then
55 # Stick the inst_prefix_dir data into the link command.
57 finalize_deplibs="$deplib $finalize_deplibs"
59 deplibs="$deplib $deplibs"
60 - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
61 + test "$linkmode" = lib && newdependency_libs="$newdependency_libs"
64 else # deplib is a libtool library
66 finalize_deplibs="$deplib $finalize_deplibs"
68 deplibs="$deplib $deplibs"
69 - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
70 + test "$linkmode" = lib && newdependency_libs="$newdependency_libs"
76 deplibs="$deplib $deplibs"
77 test "$pass" = conv && continue
78 - newdependency_libs="$deplib $newdependency_libs"
79 + newdependency_libs="$newdependency_libs"
80 func_stripname '-L' '' "$deplib"
81 newlib_search_path="$newlib_search_path $func_stripname_result"
85 # Need to hardcode shared library paths
86 # or/and link against static libraries
87 - newdependency_libs="$deplib $newdependency_libs"
88 + newdependency_libs="$newdependency_libs"
90 if $opt_duplicate_deps ; then
93 if test -n "$inst_prefix_dir"; then
96 - add_dir="$add_dir -L$inst_prefix_dir$libdir"
97 + add_dir="$add_dir -L$inst_prefix_dir"
101 @@ -5778,8 +5778,8 @@
103 elif test "$hardcode_automatic" = yes; then
104 if test -n "$inst_prefix_dir" &&
105 - test -f "$inst_prefix_dir$libdir/$linklib" ; then
106 - add="$inst_prefix_dir$libdir/$linklib"
107 + test -f "$inst_prefix_dir" ; then
108 + add="$inst_prefix_dir"
110 add="$libdir/$linklib"
112 @@ -5790,7 +5790,7 @@
113 if test -n "$inst_prefix_dir"; then
116 - add_dir="$add_dir -L$inst_prefix_dir$libdir"
117 + add_dir="$add_dir -L$inst_prefix_dir"
121 @@ -5881,7 +5881,7 @@
122 # ... and its dependency_libs
124 for deplib in $dependency_libs; do
125 - newdependency_libs="$deplib $newdependency_libs"
126 + newdependency_libs="$newdependency_libs"
127 if $opt_duplicate_deps ; then
129 *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
130 @@ -6449,7 +6449,7 @@
133 if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
134 - dependency_libs="$temp_xrpath $dependency_libs"
135 + dependency_libs="$dependency_libs"