| @@ -1,1514 +1,1526 @@ | | | @@ -1,1514 +1,1526 @@ |
1 | $NetBSD: patch-ab,v 1.80 2014/05/10 15:32:08 joerg Exp $ | | 1 | $NetBSD: patch-ab,v 1.81 2014/06/15 14:42:05 joerg Exp $ |
2 | | | 2 | |
3 | --- configure.orig 2014-03-06 15:38:07.000000000 +0000 | | 3 | --- configure.orig 2014-06-15 14:27:26.000000000 +0000 |
4 | +++ configure | | 4 | +++ configure |
5 | @@ -5335,7 +5335,7 @@ else | | 5 | @@ -5335,7 +5335,7 @@ else |
6 | lt_cv_sys_max_cmd_len=8192; | | 6 | lt_cv_sys_max_cmd_len=8192; |
7 | ;; | | 7 | ;; |
8 | | | 8 | |
9 | - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | | 9 | - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
10 | + netbsd* | freebsd* | openbsd* | mirbsd* | darwin* | dragonfly*) | | 10 | + netbsd* | freebsd* | openbsd* | mirbsd* | darwin* | dragonfly*) |
11 | # This has been around since 386BSD, at least. Likely further. | | 11 | # This has been around since 386BSD, at least. Likely further. |
12 | if test -x /sbin/sysctl; then | | 12 | if test -x /sbin/sysctl; then |
13 | lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | | 13 | lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
14 | @@ -5829,12 +5829,19 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) | | 14 | @@ -5829,12 +5829,19 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) |
15 | lt_cv_deplibs_check_method=pass_all | | 15 | lt_cv_deplibs_check_method=pass_all |
16 | ;; | | 16 | ;; |
17 | | | 17 | |
18 | +midnightbsd*) | | 18 | +midnightbsd*) |
19 | + # might to use match_pattern like MirBSD, but there is no well-defined | | 19 | + # might to use match_pattern like MirBSD, but there is no well-defined |
20 | + # naming scheme for libraries yet, as the current one is deprecated, and | | 20 | + # naming scheme for libraries yet, as the current one is deprecated, and |
21 | + # the new one in a state of flux especially between mports and MirPorts | | 21 | + # the new one in a state of flux especially between mports and MirPorts |
22 | + lt_cv_deplibs_check_method=pass_all | | 22 | + lt_cv_deplibs_check_method=pass_all |
23 | + ;; | | 23 | + ;; |
24 | + | | 24 | + |
25 | +mirbsd*) | | 25 | +mirbsd*) |
26 | + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' | | 26 | + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
27 | + ;; | | 27 | + ;; |
28 | + | | 28 | + |
29 | netbsd*) | | 29 | netbsd*) |
30 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | | 30 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
31 | - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | | 31 | - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
32 | - else | | 32 | - else |
33 | - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | | 33 | - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
34 | - fi | | 34 | - fi |
35 | + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | | 35 | + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
36 | ;; | | 36 | ;; |
37 | | | 37 | |
38 | newos6*) | | 38 | newos6*) |
39 | @@ -5844,7 +5851,7 @@ newos6*) | | 39 | @@ -5844,7 +5851,7 @@ newos6*) |
40 | ;; | | 40 | ;; |
41 | | | 41 | |
42 | *nto* | *qnx*) | | 42 | *nto* | *qnx*) |
43 | - lt_cv_deplibs_check_method=pass_all | | 43 | - lt_cv_deplibs_check_method=pass_all |
44 | + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|S\.a)$' | | 44 | + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|S\.a)$' |
45 | ;; | | 45 | ;; |
46 | | | 46 | |
47 | openbsd*) | | 47 | openbsd*) |
48 | @@ -6473,7 +6480,7 @@ fi | | 48 | @@ -6473,7 +6480,7 @@ fi |
49 | | | 49 | |
50 | case $host_os in | | 50 | case $host_os in |
51 | darwin*) | | 51 | darwin*) |
52 | - lock_old_archive_extraction=yes ;; | | 52 | - lock_old_archive_extraction=yes ;; |
53 | + lock_old_archive_extraction=no ;; # work around bug #14579 | | 53 | + lock_old_archive_extraction=no ;; # work around bug #14579 |
54 | *) | | 54 | *) |
55 | lock_old_archive_extraction=no ;; | | 55 | lock_old_archive_extraction=no ;; |
56 | esac | | 56 | esac |
57 | @@ -8493,7 +8500,10 @@ for cc_temp in $compiler""; do | | 57 | @@ -8493,7 +8500,10 @@ for cc_temp in $compiler""; do |
58 | *) break;; | | 58 | *) break;; |
59 | esac | | 59 | esac |
60 | done | | 60 | done |
61 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | | 61 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
62 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 62 | +# Return the actual command name, not our pkgsrc wrapper name because several |
63 | +# decisions are made only based on compiler names | | 63 | +# decisions are made only based on compiler names |
64 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 64 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
65 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 65 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
66 | | | 66 | |
67 | | | 67 | |
68 | # Only perform the check for file, if the check method requires it | | 68 | # Only perform the check for file, if the check method requires it |
69 | @@ -8806,9 +8816,16 @@ lt_prog_compiler_static= | | 69 | @@ -8806,9 +8816,16 @@ lt_prog_compiler_static= |
70 | ;; | | 70 | ;; |
71 | | | 71 | |
72 | darwin* | rhapsody*) | | 72 | darwin* | rhapsody*) |
73 | - # PIC is the default on this platform | | 73 | - # PIC is the default on this platform |
74 | + # PIC is the default on this platform, and static linking of | | 74 | + # PIC is the default on this platform, and static linking of |
75 | + # binaries generally doesn't work | | 75 | + # binaries generally doesn't work |
76 | # Common symbols not allowed in MH_DYLIB files | | 76 | # Common symbols not allowed in MH_DYLIB files |
77 | lt_prog_compiler_pic='-fno-common' | | 77 | lt_prog_compiler_pic='-fno-common' |
78 | + lt_prog_compiler_static='' | | 78 | + lt_prog_compiler_static='' |
79 | + ;; | | 79 | + ;; |
80 | + | | 80 | + |
81 | + *mint*) | | 81 | + *mint*) |
82 | + # FreeMiNT does not support shared libraries at all | | 82 | + # FreeMiNT does not support shared libraries at all |
83 | + lt_prog_compiler_pic= | | 83 | + lt_prog_compiler_pic= |
84 | ;; | | 84 | ;; |
85 | | | 85 | |
86 | haiku*) | | 86 | haiku*) |
87 | @@ -8836,6 +8853,13 @@ lt_prog_compiler_static= | | 87 | @@ -8836,6 +8853,13 @@ lt_prog_compiler_static= |
88 | # Instead, we relocate shared libraries at runtime. | | 88 | # Instead, we relocate shared libraries at runtime. |
89 | ;; | | 89 | ;; |
90 | | | 90 | |
91 | + mint*) | | 91 | + mint*) |
92 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 92 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
93 | + # on systems that don't support them. | | 93 | + # on systems that don't support them. |
94 | + lt_prog_compiler_can_build_shared=no | | 94 | + lt_prog_compiler_can_build_shared=no |
95 | + enable_shared=no | | 95 | + enable_shared=no |
96 | + ;; | | 96 | + ;; |
97 | + | | 97 | + |
98 | msdosdjgpp*) | | 98 | msdosdjgpp*) |
99 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 99 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
100 | # on systems that don't support them. | | 100 | # on systems that don't support them. |
101 | @@ -8988,6 +9012,15 @@ lt_prog_compiler_static= | | 101 | @@ -8988,6 +9012,15 @@ lt_prog_compiler_static= |
102 | esac | | 102 | esac |
103 | ;; | | 103 | ;; |
104 | | | 104 | |
105 | + mirbsd*) | | 105 | + mirbsd*) |
106 | + case $cc_basename in | | 106 | + case $cc_basename in |
107 | + # pkgsrc f77 is f2c, which uses gcc underneath. | | 107 | + # pkgsrc f77 is f2c, which uses gcc underneath. |
108 | + f77*) | | 108 | + f77*) |
109 | + lt_prog_compiler_wl='-Wl,' | | 109 | + lt_prog_compiler_wl='-Wl,' |
110 | + ;; | | 110 | + ;; |
111 | + esac | | 111 | + esac |
112 | + ;; | | 112 | + ;; |
113 | + | | 113 | + |
114 | newsos6) | | 114 | newsos6) |
115 | lt_prog_compiler_pic='-KPIC' | | 115 | lt_prog_compiler_pic='-KPIC' |
116 | lt_prog_compiler_static='-Bstatic' | | 116 | lt_prog_compiler_static='-Bstatic' |
117 | @@ -9063,6 +9096,9 @@ lt_prog_compiler_static= | | 117 | @@ -9063,6 +9096,9 @@ lt_prog_compiler_static= |
118 | | | 118 | |
119 | case $host_os in | | 119 | case $host_os in |
120 | # For platforms which do not support PIC, -DPIC is meaningless: | | 120 | # For platforms which do not support PIC, -DPIC is meaningless: |
121 | + mint*) | | 121 | + mint*) |
122 | + lt_prog_compiler_pic= | | 122 | + lt_prog_compiler_pic= |
123 | + ;; | | 123 | + ;; |
124 | *djgpp*) | | 124 | *djgpp*) |
125 | lt_prog_compiler_pic= | | 125 | lt_prog_compiler_pic= |
126 | ;; | | 126 | ;; |
127 | @@ -9608,16 +9644,29 @@ _LT_EOF | | 127 | @@ -9608,16 +9644,29 @@ _LT_EOF |
128 | fi | | 128 | fi |
129 | ;; | | 129 | ;; |
130 | | | 130 | |
131 | - netbsd*) | | 131 | - netbsd*) |
132 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 132 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
133 | - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 133 | - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
134 | - wlarc= | | 134 | - wlarc= |
135 | + mirbsd*) | | 135 | + mirbsd*) |
136 | + if test -f /usr/libexec/ld.so; then | | 136 | + if test -f /usr/libexec/ld.so; then |
137 | + hardcode_direct=yes | | 137 | + hardcode_direct=yes |
138 | + hardcode_shlibpath_var=no | | 138 | + hardcode_shlibpath_var=no |
139 | + hardcode_direct_absolute=yes | | 139 | + hardcode_direct_absolute=yes |
140 | + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | | 140 | + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
141 | + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | | 141 | + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
142 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | | 142 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
143 | + export_dynamic_flag_spec='${wl}-E' | | 143 | + export_dynamic_flag_spec='${wl}-E' |
144 | else | | 144 | else |
145 | - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 145 | - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
146 | - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 146 | - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
147 | + ld_shlibs=no | | 147 | + ld_shlibs=no |
148 | fi | | 148 | fi |
149 | ;; | | 149 | ;; |
150 | | | 150 | |
151 | + netbsd*) | | 151 | + netbsd*) |
152 | + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 152 | + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
153 | + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 153 | + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
154 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | | 154 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
155 | + hardcode_direct=yes | | 155 | + hardcode_direct=yes |
156 | + hardcode_shlibpath_var=no | | 156 | + hardcode_shlibpath_var=no |
157 | + output_verbose_link_cmd=func_echo_all | | 157 | + output_verbose_link_cmd=func_echo_all |
158 | + ;; | | 158 | + ;; |
159 | + | | 159 | + |
160 | solaris*) | | 160 | solaris*) |
161 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | | 161 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
162 | ld_shlibs=no | | 162 | ld_shlibs=no |
163 | @@ -10026,7 +10075,7 @@ fi | | 163 | @@ -10026,7 +10075,7 @@ fi |
164 | allow_undefined_flag="$_lt_dar_allow_undefined" | | 164 | allow_undefined_flag="$_lt_dar_allow_undefined" |
165 | case $cc_basename in | | 165 | case $cc_basename in |
166 | ifort*) _lt_dar_can_shared=yes ;; | | 166 | ifort*) _lt_dar_can_shared=yes ;; |
167 | - *) _lt_dar_can_shared=$GCC ;; | | 167 | - *) _lt_dar_can_shared=$GCC ;; |
168 | + *) _lt_dar_can_shared=yes ;; | | 168 | + *) _lt_dar_can_shared=yes ;; |
169 | esac | | 169 | esac |
170 | if test "$_lt_dar_can_shared" = "yes"; then | | 170 | if test "$_lt_dar_can_shared" = "yes"; then |
171 | output_verbose_link_cmd=func_echo_all | | 171 | output_verbose_link_cmd=func_echo_all |
172 | @@ -10238,15 +10287,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 172 | @@ -10238,15 +10287,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
173 | link_all_deplibs=yes | | 173 | link_all_deplibs=yes |
174 | ;; | | 174 | ;; |
175 | | | 175 | |
176 | - netbsd*) | | 176 | - netbsd*) |
177 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 177 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
178 | - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | | 178 | - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
179 | + mirbsd*) | | 179 | + mirbsd*) |
180 | + if test -f /usr/libexec/ld.so; then | | 180 | + if test -f /usr/libexec/ld.so; then |
181 | + hardcode_direct=yes | | 181 | + hardcode_direct=yes |
182 | + hardcode_shlibpath_var=no | | 182 | + hardcode_shlibpath_var=no |
183 | + hardcode_direct_absolute=yes | | 183 | + hardcode_direct_absolute=yes |
184 | + archive_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | | 184 | + archive_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
185 | + archive_expsym_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | | 185 | + archive_expsym_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
186 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | | 186 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
187 | + export_dynamic_flag_spec='${wl}-E' | | 187 | + export_dynamic_flag_spec='${wl}-E' |
188 | + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | | 188 | + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
189 | else | | 189 | else |
190 | - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | | 190 | - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
191 | + ld_shlibs=no | | 191 | + ld_shlibs=no |
192 | fi | | 192 | fi |
193 | - hardcode_libdir_flag_spec='-R$libdir' | | 193 | - hardcode_libdir_flag_spec='-R$libdir' |
194 | + ;; | | 194 | + ;; |
195 | + | | 195 | + |
196 | + netbsd*) | | 196 | + netbsd*) |
197 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 197 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
198 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 198 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
199 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | | 199 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
200 | hardcode_direct=yes | | 200 | hardcode_direct=yes |
201 | hardcode_shlibpath_var=no | | 201 | hardcode_shlibpath_var=no |
202 | + output_verbose_link_cmd=func_echo_all | | 202 | + output_verbose_link_cmd=func_echo_all |
203 | ;; | | 203 | ;; |
204 | | | 204 | |
205 | newsos6) | | 205 | newsos6) |
206 | @@ -10258,6 +10320,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 206 | @@ -10258,6 +10320,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
207 | ;; | | 207 | ;; |
208 | | | 208 | |
209 | *nto* | *qnx*) | | 209 | *nto* | *qnx*) |
210 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 210 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
211 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 211 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
212 | + hardcode_libdir_flag_spec='-R$libdir' | | 212 | + hardcode_libdir_flag_spec='-R$libdir' |
213 | + hardcode_direct=yes | | 213 | + hardcode_direct=yes |
214 | + hardcode_shlibpath_var=no | | 214 | + hardcode_shlibpath_var=no |
215 | ;; | | 215 | ;; |
216 | | | 216 | |
217 | openbsd*) | | 217 | openbsd*) |
218 | @@ -11031,7 +11098,7 @@ dgux*) | | 218 | @@ -11031,7 +11098,7 @@ dgux*) |
219 | shlibpath_var=LD_LIBRARY_PATH | | 219 | shlibpath_var=LD_LIBRARY_PATH |
220 | ;; | | 220 | ;; |
221 | | | 221 | |
222 | -freebsd* | dragonfly*) | | 222 | -freebsd* | dragonfly*) |
223 | +freebsd*) | | 223 | +freebsd*) |
224 | # DragonFly does not have aout. When/if they implement a new | | 224 | # DragonFly does not have aout. When/if they implement a new |
225 | # versioning mechanism, adjust this. | | 225 | # versioning mechanism, adjust this. |
226 | if test -x /usr/bin/objformat; then | | 226 | if test -x /usr/bin/objformat; then |
227 | @@ -11045,7 +11112,7 @@ freebsd* | dragonfly*) | | 227 | @@ -11045,7 +11112,7 @@ freebsd* | dragonfly*) |
228 | version_type=freebsd-$objformat | | 228 | version_type=freebsd-$objformat |
229 | case $version_type in | | 229 | case $version_type in |
230 | freebsd-elf*) | | 230 | freebsd-elf*) |
231 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | 231 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
232 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 232 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
233 | need_version=no | | 233 | need_version=no |
234 | need_lib_prefix=no | | 234 | need_lib_prefix=no |
235 | ;; | | 235 | ;; |
236 | @@ -11068,13 +11135,24 @@ freebsd* | dragonfly*) | | 236 | @@ -11068,13 +11135,24 @@ freebsd* | dragonfly*) |
237 | shlibpath_overrides_runpath=no | | 237 | shlibpath_overrides_runpath=no |
238 | hardcode_into_libs=yes | | 238 | hardcode_into_libs=yes |
239 | ;; | | 239 | ;; |
240 | - *) # from 4.6 on, and DragonFly | | 240 | - *) # from 4.6 on, and DragonFly |
241 | + *) # from 4.6 on | | 241 | + *) # from 4.6 on |
242 | shlibpath_overrides_runpath=yes | | 242 | shlibpath_overrides_runpath=yes |
243 | hardcode_into_libs=yes | | 243 | hardcode_into_libs=yes |
244 | ;; | | 244 | ;; |
245 | esac | | 245 | esac |
246 | ;; | | 246 | ;; |
247 | | | 247 | |
248 | +dragonfly*) | | 248 | +dragonfly*) |
249 | + version_type=linux | | 249 | + version_type=linux |
250 | + need_version=no | | 250 | + need_version=no |
251 | + need_lib_prefix=no | | 251 | + need_lib_prefix=no |
252 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 252 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
253 | + soname_spec='${libname}${release}${shared_ext}$major' | | 253 | + soname_spec='${libname}${release}${shared_ext}$major' |
254 | + shlibpath_var=LD_LIBRARY_PATH | | 254 | + shlibpath_var=LD_LIBRARY_PATH |
255 | + shlibpath_overrides_runpath=no | | 255 | + shlibpath_overrides_runpath=no |
256 | + hardcode_into_libs=yes | | 256 | + hardcode_into_libs=yes |
257 | + ;; | | 257 | + ;; |
258 | + | | 258 | + |
259 | gnu*) | | 259 | gnu*) |
260 | version_type=linux # correct to gnu/linux during the next big refactor | | 260 | version_type=linux # correct to gnu/linux during the next big refactor |
261 | need_lib_prefix=no | | 261 | need_lib_prefix=no |
262 | @@ -11162,12 +11240,7 @@ interix[3-9]*) | | 262 | @@ -11162,12 +11240,7 @@ interix[3-9]*) |
263 | irix5* | irix6* | nonstopux*) | | 263 | irix5* | irix6* | nonstopux*) |
264 | case $host_os in | | 264 | case $host_os in |
265 | nonstopux*) version_type=nonstopux ;; | | 265 | nonstopux*) version_type=nonstopux ;; |
266 | - *) | | 266 | - *) |
267 | - if test "$lt_cv_prog_gnu_ld" = yes; then | | 267 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
268 | - version_type=linux # correct to gnu/linux during the next big refactor | | 268 | - version_type=linux # correct to gnu/linux during the next big refactor |
269 | - else | | 269 | - else |
270 | - version_type=irix | | 270 | - version_type=irix |
271 | - fi ;; | | 271 | - fi ;; |
272 | + *) version_type=irix ;; | | 272 | + *) version_type=irix ;; |
273 | esac | | 273 | esac |
274 | need_lib_prefix=no | | 274 | need_lib_prefix=no |
275 | need_version=no | | 275 | need_version=no |
276 | @@ -11266,19 +11339,36 @@ fi | | 276 | @@ -11266,19 +11339,36 @@ fi |
277 | dynamic_linker='GNU/Linux ld.so' | | 277 | dynamic_linker='GNU/Linux ld.so' |
278 | ;; | | 278 | ;; |
279 | | | 279 | |
280 | +midnightbsd*) | | 280 | +midnightbsd*) |
281 | + version_type=linux | | 281 | + version_type=linux |
282 | + need_lib_prefix=no | | 282 | + need_lib_prefix=no |
283 | + need_version=no | | 283 | + need_version=no |
284 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}' | | 284 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}' |
285 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 285 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
286 | + shlibpath_var=LD_LIBRARY_PATH | | 286 | + shlibpath_var=LD_LIBRARY_PATH |
287 | + shlibpath_overrides_runpath=yes | | 287 | + shlibpath_overrides_runpath=yes |
288 | + hardcode_into_libs=yes | | 288 | + hardcode_into_libs=yes |
289 | + ;; | | 289 | + ;; |
290 | + | | 290 | + |
291 | +mirbsd*) | | 291 | +mirbsd*) |
292 | + version_type=linux | | 292 | + version_type=linux |
293 | + sys_lib_search_path_spec="/usr/lib" | | 293 | + sys_lib_search_path_spec="/usr/lib" |
294 | + sys_lib_dlsearch_path_spec="/usr/lib" | | 294 | + sys_lib_dlsearch_path_spec="/usr/lib" |
295 | + need_lib_prefix=no | | 295 | + need_lib_prefix=no |
296 | + need_version=no | | 296 | + need_version=no |
297 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}' | | 297 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}' |
298 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 298 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
299 | + shlibpath_var=LD_LIBRARY_PATH | | 299 | + shlibpath_var=LD_LIBRARY_PATH |
300 | + shlibpath_overrides_runpath=yes | | 300 | + shlibpath_overrides_runpath=yes |
301 | + ;; | | 301 | + ;; |
302 | + | | 302 | + |
303 | netbsd*) | | 303 | netbsd*) |
304 | - version_type=sunos | | 304 | - version_type=sunos |
305 | + version_type=linux | | 305 | + version_type=linux |
306 | need_lib_prefix=no | | 306 | need_lib_prefix=no |
307 | need_version=no | | 307 | need_version=no |
308 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 308 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
309 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 309 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
310 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 310 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
311 | - dynamic_linker='NetBSD (a.out) ld.so' | | 311 | - dynamic_linker='NetBSD (a.out) ld.so' |
312 | - else | | 312 | - else |
313 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 313 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
314 | - soname_spec='${libname}${release}${shared_ext}$major' | | 314 | - soname_spec='${libname}${release}${shared_ext}$major' |
315 | - dynamic_linker='NetBSD ld.elf_so' | | 315 | - dynamic_linker='NetBSD ld.elf_so' |
316 | - fi | | 316 | - fi |
317 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 317 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
318 | + soname_spec='${libname}${release}${shared_ext}$major' | | 318 | + soname_spec='${libname}${release}${shared_ext}$major' |
319 | + dynamic_linker='NetBSD ld.elf_so' | | 319 | + dynamic_linker='NetBSD ld.elf_so' |
320 | shlibpath_var=LD_LIBRARY_PATH | | 320 | shlibpath_var=LD_LIBRARY_PATH |
321 | shlibpath_overrides_runpath=yes | | 321 | shlibpath_overrides_runpath=yes |
322 | hardcode_into_libs=yes | | 322 | hardcode_into_libs=yes |
323 | @@ -11304,7 +11394,7 @@ newsos6) | | 323 | @@ -11304,7 +11394,7 @@ newsos6) |
324 | ;; | | 324 | ;; |
325 | | | 325 | |
326 | openbsd*) | | 326 | openbsd*) |
327 | - version_type=sunos | | 327 | - version_type=sunos |
328 | + version_type=linux | | 328 | + version_type=linux |
329 | sys_lib_dlsearch_path_spec="/usr/lib" | | 329 | sys_lib_dlsearch_path_spec="/usr/lib" |
330 | need_lib_prefix=no | | 330 | need_lib_prefix=no |
331 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | | 331 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
332 | @@ -11312,7 +11402,7 @@ openbsd*) | | 332 | @@ -11312,7 +11402,7 @@ openbsd*) |
333 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | | 333 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
334 | *) need_version=no ;; | | 334 | *) need_version=no ;; |
335 | esac | | 335 | esac |
336 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 336 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
337 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 337 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
338 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 338 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
339 | shlibpath_var=LD_LIBRARY_PATH | | 339 | shlibpath_var=LD_LIBRARY_PATH |
340 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | 340 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
341 | @@ -12847,6 +12937,9 @@ else | | 341 | @@ -12847,6 +12937,9 @@ else |
342 | # at 6.2 and later dlopen does load deplibs. | | 342 | # at 6.2 and later dlopen does load deplibs. |
343 | lt_cv_sys_dlopen_deplibs=yes | | 343 | lt_cv_sys_dlopen_deplibs=yes |
344 | ;; | | 344 | ;; |
345 | + mirbsd*) | | 345 | + mirbsd*) |
346 | + lt_cv_sys_dlopen_deplibs=yes | | 346 | + lt_cv_sys_dlopen_deplibs=yes |
347 | + ;; | | 347 | + ;; |
348 | netbsd*) | | 348 | netbsd*) |
349 | lt_cv_sys_dlopen_deplibs=yes | | 349 | lt_cv_sys_dlopen_deplibs=yes |
350 | ;; | | 350 | ;; |
351 | @@ -13536,9 +13629,7 @@ func_stripname_cnf () | | 351 | @@ -13536,9 +13629,7 @@ func_stripname_cnf () |
352 | esac | | 352 | esac |
353 | } # func_stripname_cnf | | 353 | } # func_stripname_cnf |
354 | | | 354 | |
355 | - if test -n "$CXX" && ( test "X$CXX" != "Xno" && | | 355 | - if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
356 | - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || | | 356 | - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
357 | - (test "X$CXX" != "Xg++"))) ; then | | 357 | - (test "X$CXX" != "Xg++"))) ; then |
358 | + if test -n "$CXX" && test "X$CXX" != "Xno" ; then | | 358 | + if test -n "$CXX" && test "X$CXX" != "Xno" ; then |
359 | ac_ext=cpp | | 359 | ac_ext=cpp |
360 | ac_cpp='$CXXCPP $CPPFLAGS' | | 360 | ac_cpp='$CXXCPP $CPPFLAGS' |
361 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 361 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
362 | @@ -13786,7 +13877,10 @@ $RM -r conftest* | | 362 | @@ -13786,7 +13877,10 @@ $RM -r conftest* |
363 | *) break;; | | 363 | *) break;; |
364 | esac | | 364 | esac |
365 | done | | 365 | done |
366 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | | 366 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
367 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 367 | +# Return the actual command name, not our pkgsrc wrapper name because several |
368 | +# decisions are made only based on compiler names | | 368 | +# decisions are made only based on compiler names |
369 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 369 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
370 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 370 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
371 | | | 371 | |
372 | | | 372 | |
373 | if test -n "$compiler"; then | | 373 | if test -n "$compiler"; then |
374 | @@ -14282,7 +14376,7 @@ fi | | 374 | @@ -14282,7 +14376,7 @@ fi |
375 | allow_undefined_flag_CXX="$_lt_dar_allow_undefined" | | 375 | allow_undefined_flag_CXX="$_lt_dar_allow_undefined" |
376 | case $cc_basename in | | 376 | case $cc_basename in |
377 | ifort*) _lt_dar_can_shared=yes ;; | | 377 | ifort*) _lt_dar_can_shared=yes ;; |
378 | - *) _lt_dar_can_shared=$GCC ;; | | 378 | - *) _lt_dar_can_shared=$GCC ;; |
379 | + *) _lt_dar_can_shared=yes ;; | | 379 | + *) _lt_dar_can_shared=yes ;; |
380 | esac | | 380 | esac |
381 | if test "$_lt_dar_can_shared" = "yes"; then | | 381 | if test "$_lt_dar_can_shared" = "yes"; then |
382 | output_verbose_link_cmd=func_echo_all | | 382 | output_verbose_link_cmd=func_echo_all |
383 | @@ -14651,6 +14745,22 @@ fi | | 383 | @@ -14651,6 +14745,22 @@ fi |
384 | ld_shlibs_CXX=no | | 384 | ld_shlibs_CXX=no |
385 | ;; | | 385 | ;; |
386 | | | 386 | |
387 | + mirbsd*) | | 387 | + mirbsd*) |
388 | + if test -f /usr/libexec/ld.so; then | | 388 | + if test -f /usr/libexec/ld.so; then |
389 | + hardcode_direct_CXX=yes | | 389 | + hardcode_direct_CXX=yes |
390 | + hardcode_shlibpath_var_CXX=no | | 390 | + hardcode_shlibpath_var_CXX=no |
391 | + hardcode_direct_absolute_CXX=yes | | 391 | + hardcode_direct_absolute_CXX=yes |
392 | + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | | 392 | + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
393 | + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | | 393 | + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
394 | + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | | 394 | + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
395 | + export_dynamic_flag_spec_CXX='${wl}-E' | | 395 | + export_dynamic_flag_spec_CXX='${wl}-E' |
396 | + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | | 396 | + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
397 | + output_verbose_link_cmd='echo' | | 397 | + output_verbose_link_cmd='echo' |
398 | + else | | 398 | + else |
399 | + ld_shlibs_CXX=no | | 399 | + ld_shlibs_CXX=no |
400 | + fi | | 400 | + fi |
401 | + ;; | | 401 | + ;; |
402 | + | | 402 | + |
403 | mvs*) | | 403 | mvs*) |
404 | case $cc_basename in | | 404 | case $cc_basename in |
405 | cxx*) | | 405 | cxx*) |
406 | @@ -14665,15 +14775,13 @@ fi | | 406 | @@ -14665,15 +14775,13 @@ fi |
407 | ;; | | 407 | ;; |
408 | | | 408 | |
409 | netbsd*) | | 409 | netbsd*) |
410 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 410 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
411 | - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' | | 411 | - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
412 | - wlarc= | | 412 | - wlarc= |
413 | - hardcode_libdir_flag_spec_CXX='-R$libdir' | | 413 | - hardcode_libdir_flag_spec_CXX='-R$libdir' |
414 | - hardcode_direct_CXX=yes | | 414 | - hardcode_direct_CXX=yes |
415 | - hardcode_shlibpath_var_CXX=no | | 415 | - hardcode_shlibpath_var_CXX=no |
416 | - fi | | 416 | - fi |
417 | - # Workaround some broken pre-1.5 toolchains | | 417 | - # Workaround some broken pre-1.5 toolchains |
418 | - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' | | 418 | - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
419 | + ld_shlibs_CXX=yes | | 419 | + ld_shlibs_CXX=yes |
420 | + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 420 | + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
421 | + archive_expsym_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 421 | + archive_expsym_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
422 | + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | | 422 | + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
423 | + hardcode_direct_CXX=yes | | 423 | + hardcode_direct_CXX=yes |
424 | + hardcode_shlibpath_var_CXX=no | | 424 | + hardcode_shlibpath_var_CXX=no |
425 | + output_verbose_link_cmd=func_echo_all | | 425 | + output_verbose_link_cmd=func_echo_all |
426 | ;; | | 426 | ;; |
427 | | | 427 | |
428 | *nto* | *qnx*) | | 428 | *nto* | *qnx*) |
429 | @@ -14853,9 +14961,9 @@ fi | | 429 | @@ -14852,27 +14960,14 @@ fi |
| | | 430 | # GNU C++ compiler with Solaris linker |
430 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then | | 431 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
431 | no_undefined_flag_CXX=' ${wl}-z ${wl}defs' | | 432 | no_undefined_flag_CXX=' ${wl}-z ${wl}defs' |
432 | if $CC --version | $GREP -v '^2\.7' > /dev/null; then | | 433 | - if $CC --version | $GREP -v '^2\.7' > /dev/null; then |
433 | - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | | 434 | - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
434 | + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | | 435 | - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
435 | archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | | | |
436 | - $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | | 436 | - $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
437 | + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | | 437 | - |
438 | | | 438 | - # Commands to make compiler produce verbose output that lists |
439 | # Commands to make compiler produce verbose output that lists | | 439 | - # what "hidden" libraries, object files and flags are used when |
440 | # what "hidden" libraries, object files and flags are used when | | 440 | - # linking a shared library. |
441 | @@ -14864,9 +14972,9 @@ fi | | 441 | - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
442 | else | | 442 | - else |
443 | # g++ 2.7 appears to require `-G' NOT `-shared' on this | | 443 | - # g++ 2.7 appears to require `-G' NOT `-shared' on this |
444 | # platform. | | 444 | - # platform. |
445 | - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | | 445 | - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
446 | + archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | | 446 | - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
447 | archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | | | |
448 | - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | | 447 | - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
449 | + $CC -G -nostdlib ${wl}-M $wl$lib.exp $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | | 448 | - |
450 | | | 449 | - # Commands to make compiler produce verbose output that lists |
451 | # Commands to make compiler produce verbose output that lists | | 450 | - # what "hidden" libraries, object files and flags are used when |
452 | # what "hidden" libraries, object files and flags are used when | | 451 | - # linking a shared library. |
453 | @@ -15236,9 +15344,15 @@ lt_prog_compiler_static_CXX= | | 452 | - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
| | | 453 | - fi |
| | | 454 | + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
| | | 455 | + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| | | 456 | + $CC -shared $pic_flag ${wl}-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
| | | 457 | + |
| | | 458 | + # Commands to make compiler produce verbose output that lists |
| | | 459 | + # what "hidden" libraries, object files and flags are used when |
| | | 460 | + # linking a shared library. |
| | | 461 | + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
| | | 462 | |
| | | 463 | hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
| | | 464 | case $host_os in |
| | | 465 | @@ -15236,9 +15331,15 @@ lt_prog_compiler_static_CXX= |
454 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | | 466 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
455 | ;; | | 467 | ;; |
456 | darwin* | rhapsody*) | | 468 | darwin* | rhapsody*) |
457 | - # PIC is the default on this platform | | 469 | - # PIC is the default on this platform |
458 | + # PIC is the default on this platform, and static linking of | | 470 | + # PIC is the default on this platform, and static linking of |
459 | + # binaries generally doesn't work | | 471 | + # binaries generally doesn't work |
460 | # Common symbols not allowed in MH_DYLIB files | | 472 | # Common symbols not allowed in MH_DYLIB files |
461 | lt_prog_compiler_pic_CXX='-fno-common' | | 473 | lt_prog_compiler_pic_CXX='-fno-common' |
462 | + lt_prog_compiler_static_CXX='' | | 474 | + lt_prog_compiler_static_CXX='' |
463 | + ;; | | 475 | + ;; |
464 | + *mint*) | | 476 | + *mint*) |
465 | + # FreeMiNT does not support shared libraries at all | | 477 | + # FreeMiNT does not support shared libraries at all |
466 | + lt_prog_compiler_pic_CXX= | | 478 | + lt_prog_compiler_pic_CXX= |
467 | ;; | | 479 | ;; |
468 | *djgpp*) | | 480 | *djgpp*) |
469 | # DJGPP does not support shared libraries at all | | 481 | # DJGPP does not support shared libraries at all |
470 | @@ -15316,6 +15430,9 @@ lt_prog_compiler_static_CXX= | | 482 | @@ -15316,6 +15417,9 @@ lt_prog_compiler_static_CXX= |
471 | ;; | | 483 | ;; |
472 | esac | | 484 | esac |
473 | ;; | | 485 | ;; |
474 | + mint*) | | 486 | + mint*) |
475 | + # FreeMiNT uses GNU C++ | | 487 | + # FreeMiNT uses GNU C++ |
476 | + ;; | | 488 | + ;; |
477 | freebsd* | dragonfly*) | | 489 | freebsd* | dragonfly*) |
478 | # FreeBSD uses GNU C++ | | 490 | # FreeBSD uses GNU C++ |
479 | ;; | | 491 | ;; |
480 | @@ -15513,6 +15630,9 @@ lt_prog_compiler_static_CXX= | | 492 | @@ -15513,6 +15617,9 @@ lt_prog_compiler_static_CXX= |
481 | | | 493 | |
482 | case $host_os in | | 494 | case $host_os in |
483 | # For platforms which do not support PIC, -DPIC is meaningless: | | 495 | # For platforms which do not support PIC, -DPIC is meaningless: |
484 | + mint*) | | 496 | + mint*) |
485 | + lt_prog_compiler_pic_CXX= | | 497 | + lt_prog_compiler_pic_CXX= |
486 | + ;; | | 498 | + ;; |
487 | *djgpp*) | | 499 | *djgpp*) |
488 | lt_prog_compiler_pic_CXX= | | 500 | lt_prog_compiler_pic_CXX= |
489 | ;; | | 501 | ;; |
490 | @@ -16184,7 +16304,7 @@ dgux*) | | 502 | @@ -16184,7 +16291,7 @@ dgux*) |
491 | shlibpath_var=LD_LIBRARY_PATH | | 503 | shlibpath_var=LD_LIBRARY_PATH |
492 | ;; | | 504 | ;; |
493 | | | 505 | |
494 | -freebsd* | dragonfly*) | | 506 | -freebsd* | dragonfly*) |
495 | +freebsd*) | | 507 | +freebsd*) |
496 | # DragonFly does not have aout. When/if they implement a new | | 508 | # DragonFly does not have aout. When/if they implement a new |
497 | # versioning mechanism, adjust this. | | 509 | # versioning mechanism, adjust this. |
498 | if test -x /usr/bin/objformat; then | | 510 | if test -x /usr/bin/objformat; then |
499 | @@ -16198,7 +16318,7 @@ freebsd* | dragonfly*) | | 511 | @@ -16198,7 +16305,7 @@ freebsd* | dragonfly*) |
500 | version_type=freebsd-$objformat | | 512 | version_type=freebsd-$objformat |
501 | case $version_type in | | 513 | case $version_type in |
502 | freebsd-elf*) | | 514 | freebsd-elf*) |
503 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | 515 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
504 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 516 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
505 | need_version=no | | 517 | need_version=no |
506 | need_lib_prefix=no | | 518 | need_lib_prefix=no |
507 | ;; | | 519 | ;; |
508 | @@ -16221,13 +16341,24 @@ freebsd* | dragonfly*) | | 520 | @@ -16221,13 +16328,24 @@ freebsd* | dragonfly*) |
509 | shlibpath_overrides_runpath=no | | 521 | shlibpath_overrides_runpath=no |
510 | hardcode_into_libs=yes | | 522 | hardcode_into_libs=yes |
511 | ;; | | 523 | ;; |
512 | - *) # from 4.6 on, and DragonFly | | 524 | - *) # from 4.6 on, and DragonFly |
513 | + *) # from 4.6 on | | 525 | + *) # from 4.6 on |
514 | shlibpath_overrides_runpath=yes | | 526 | shlibpath_overrides_runpath=yes |
515 | hardcode_into_libs=yes | | 527 | hardcode_into_libs=yes |
516 | ;; | | 528 | ;; |
517 | esac | | 529 | esac |
518 | ;; | | 530 | ;; |
519 | | | 531 | |
520 | +dragonfly*) | | 532 | +dragonfly*) |
521 | + version_type=linux | | 533 | + version_type=linux |
522 | + need_version=no | | 534 | + need_version=no |
523 | + need_lib_prefix=no | | 535 | + need_lib_prefix=no |
524 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 536 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
525 | + soname_spec='${libname}${release}${shared_ext}$major' | | 537 | + soname_spec='${libname}${release}${shared_ext}$major' |
526 | + shlibpath_var=LD_LIBRARY_PATH | | 538 | + shlibpath_var=LD_LIBRARY_PATH |
527 | + shlibpath_overrides_runpath=no | | 539 | + shlibpath_overrides_runpath=no |
528 | + hardcode_into_libs=yes | | 540 | + hardcode_into_libs=yes |
529 | + ;; | | 541 | + ;; |
530 | + | | 542 | + |
531 | gnu*) | | 543 | gnu*) |
532 | version_type=linux # correct to gnu/linux during the next big refactor | | 544 | version_type=linux # correct to gnu/linux during the next big refactor |
533 | need_lib_prefix=no | | 545 | need_lib_prefix=no |
534 | @@ -16315,12 +16446,7 @@ interix[3-9]*) | | 546 | @@ -16315,12 +16433,7 @@ interix[3-9]*) |
535 | irix5* | irix6* | nonstopux*) | | 547 | irix5* | irix6* | nonstopux*) |
536 | case $host_os in | | 548 | case $host_os in |
537 | nonstopux*) version_type=nonstopux ;; | | 549 | nonstopux*) version_type=nonstopux ;; |
538 | - *) | | 550 | - *) |
539 | - if test "$lt_cv_prog_gnu_ld" = yes; then | | 551 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
540 | - version_type=linux # correct to gnu/linux during the next big refactor | | 552 | - version_type=linux # correct to gnu/linux during the next big refactor |
541 | - else | | 553 | - else |
542 | - version_type=irix | | 554 | - version_type=irix |
543 | - fi ;; | | 555 | - fi ;; |
544 | + *) version_type=irix ;; | | 556 | + *) version_type=irix ;; |
545 | esac | | 557 | esac |
546 | need_lib_prefix=no | | 558 | need_lib_prefix=no |
547 | need_version=no | | 559 | need_version=no |
548 | @@ -16419,19 +16545,36 @@ fi | | 560 | @@ -16419,19 +16532,36 @@ fi |
549 | dynamic_linker='GNU/Linux ld.so' | | 561 | dynamic_linker='GNU/Linux ld.so' |
550 | ;; | | 562 | ;; |
551 | | | 563 | |
552 | +midnightbsd*) | | 564 | +midnightbsd*) |
553 | + version_type=linux | | 565 | + version_type=linux |
554 | + need_lib_prefix=no | | 566 | + need_lib_prefix=no |
555 | + need_version=no | | 567 | + need_version=no |
556 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}' | | 568 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}' |
557 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 569 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
558 | + shlibpath_var=LD_LIBRARY_PATH | | 570 | + shlibpath_var=LD_LIBRARY_PATH |
559 | + shlibpath_overrides_runpath=yes | | 571 | + shlibpath_overrides_runpath=yes |
560 | + hardcode_into_libs=yes | | 572 | + hardcode_into_libs=yes |
561 | + ;; | | 573 | + ;; |
562 | + | | 574 | + |
563 | +mirbsd*) | | 575 | +mirbsd*) |
564 | + version_type=linux | | 576 | + version_type=linux |
565 | + sys_lib_search_path_spec="/usr/lib" | | 577 | + sys_lib_search_path_spec="/usr/lib" |
566 | + sys_lib_dlsearch_path_spec="/usr/lib" | | 578 | + sys_lib_dlsearch_path_spec="/usr/lib" |
567 | + need_lib_prefix=no | | 579 | + need_lib_prefix=no |
568 | + need_version=no | | 580 | + need_version=no |
569 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}' | | 581 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}' |
570 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 582 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
571 | + shlibpath_var=LD_LIBRARY_PATH | | 583 | + shlibpath_var=LD_LIBRARY_PATH |
572 | + shlibpath_overrides_runpath=yes | | 584 | + shlibpath_overrides_runpath=yes |
573 | + ;; | | 585 | + ;; |
574 | + | | 586 | + |
575 | netbsd*) | | 587 | netbsd*) |
576 | - version_type=sunos | | 588 | - version_type=sunos |
577 | + version_type=linux | | 589 | + version_type=linux |
578 | need_lib_prefix=no | | 590 | need_lib_prefix=no |
579 | need_version=no | | 591 | need_version=no |
580 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 592 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
581 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 593 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
582 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 594 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
583 | - dynamic_linker='NetBSD (a.out) ld.so' | | 595 | - dynamic_linker='NetBSD (a.out) ld.so' |
584 | - else | | 596 | - else |
585 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 597 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
586 | - soname_spec='${libname}${release}${shared_ext}$major' | | 598 | - soname_spec='${libname}${release}${shared_ext}$major' |
587 | - dynamic_linker='NetBSD ld.elf_so' | | 599 | - dynamic_linker='NetBSD ld.elf_so' |
588 | - fi | | 600 | - fi |
589 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 601 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
590 | + soname_spec='${libname}${release}${shared_ext}$major' | | 602 | + soname_spec='${libname}${release}${shared_ext}$major' |
591 | + dynamic_linker='NetBSD ld.elf_so' | | 603 | + dynamic_linker='NetBSD ld.elf_so' |
592 | shlibpath_var=LD_LIBRARY_PATH | | 604 | shlibpath_var=LD_LIBRARY_PATH |
593 | shlibpath_overrides_runpath=yes | | 605 | shlibpath_overrides_runpath=yes |
594 | hardcode_into_libs=yes | | 606 | hardcode_into_libs=yes |
595 | @@ -16457,7 +16600,7 @@ newsos6) | | 607 | @@ -16457,7 +16587,7 @@ newsos6) |
596 | ;; | | 608 | ;; |
597 | | | 609 | |
598 | openbsd*) | | 610 | openbsd*) |
599 | - version_type=sunos | | 611 | - version_type=sunos |
600 | + version_type=linux | | 612 | + version_type=linux |
601 | sys_lib_dlsearch_path_spec="/usr/lib" | | 613 | sys_lib_dlsearch_path_spec="/usr/lib" |
602 | need_lib_prefix=no | | 614 | need_lib_prefix=no |
603 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | | 615 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
604 | @@ -16465,7 +16608,7 @@ openbsd*) | | 616 | @@ -16465,7 +16595,7 @@ openbsd*) |
605 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | | 617 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
606 | *) need_version=no ;; | | 618 | *) need_version=no ;; |
607 | esac | | 619 | esac |
608 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 620 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
609 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 621 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
610 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 622 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
611 | shlibpath_var=LD_LIBRARY_PATH | | 623 | shlibpath_var=LD_LIBRARY_PATH |
612 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | 624 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
613 | @@ -17039,7 +17182,10 @@ $RM -r conftest* | | 625 | @@ -17039,7 +17169,10 @@ $RM -r conftest* |
614 | *) break;; | | 626 | *) break;; |
615 | esac | | 627 | esac |
616 | done | | 628 | done |
617 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | | 629 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
618 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 630 | +# Return the actual command name, not our pkgsrc wrapper name because several |
619 | +# decisions are made only based on compiler names | | 631 | +# decisions are made only based on compiler names |
620 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 632 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
621 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 633 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
622 | | | 634 | |
623 | GCC=$G77 | | 635 | GCC=$G77 |
624 | if test -n "$compiler"; then | | 636 | if test -n "$compiler"; then |
625 | @@ -17131,9 +17277,16 @@ lt_prog_compiler_static_F77= | | 637 | @@ -17131,9 +17264,16 @@ lt_prog_compiler_static_F77= |
626 | ;; | | 638 | ;; |
627 | | | 639 | |
628 | darwin* | rhapsody*) | | 640 | darwin* | rhapsody*) |
629 | - # PIC is the default on this platform | | 641 | - # PIC is the default on this platform |
630 | + # PIC is the default on this platform, and static linking of | | 642 | + # PIC is the default on this platform, and static linking of |
631 | + # binaries generally doesn't work | | 643 | + # binaries generally doesn't work |
632 | # Common symbols not allowed in MH_DYLIB files | | 644 | # Common symbols not allowed in MH_DYLIB files |
633 | lt_prog_compiler_pic_F77='-fno-common' | | 645 | lt_prog_compiler_pic_F77='-fno-common' |
634 | + lt_prog_compiler_static_F77='' | | 646 | + lt_prog_compiler_static_F77='' |
635 | + ;; | | 647 | + ;; |
636 | + | | 648 | + |
637 | + *mint*) | | 649 | + *mint*) |
638 | + # FreeMiNT does not support shared libraries at all | | 650 | + # FreeMiNT does not support shared libraries at all |
639 | + lt_prog_compiler_pic_F77= | | 651 | + lt_prog_compiler_pic_F77= |
640 | ;; | | 652 | ;; |
641 | | | 653 | |
642 | haiku*) | | 654 | haiku*) |
643 | @@ -17161,6 +17314,13 @@ lt_prog_compiler_static_F77= | | 655 | @@ -17161,6 +17301,13 @@ lt_prog_compiler_static_F77= |
644 | # Instead, we relocate shared libraries at runtime. | | 656 | # Instead, we relocate shared libraries at runtime. |
645 | ;; | | 657 | ;; |
646 | | | 658 | |
647 | + mint*) | | 659 | + mint*) |
648 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 660 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
649 | + # on systems that don't support them. | | 661 | + # on systems that don't support them. |
650 | + lt_prog_compiler_can_build_shared_F77=no | | 662 | + lt_prog_compiler_can_build_shared_F77=no |
651 | + enable_shared=no | | 663 | + enable_shared=no |
652 | + ;; | | 664 | + ;; |
653 | + | | 665 | + |
654 | msdosdjgpp*) | | 666 | msdosdjgpp*) |
655 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 667 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
656 | # on systems that don't support them. | | 668 | # on systems that don't support them. |
657 | @@ -17313,6 +17473,15 @@ lt_prog_compiler_static_F77= | | 669 | @@ -17313,6 +17460,15 @@ lt_prog_compiler_static_F77= |
658 | esac | | 670 | esac |
659 | ;; | | 671 | ;; |
660 | | | 672 | |
661 | + mirbsd*) | | 673 | + mirbsd*) |
662 | + case $cc_basename in | | 674 | + case $cc_basename in |
663 | + # pkgsrc f77 is f2c, which uses gcc underneath. | | 675 | + # pkgsrc f77 is f2c, which uses gcc underneath. |
664 | + f77*) | | 676 | + f77*) |
665 | + lt_prog_compiler_wl_F77='-Wl,' | | 677 | + lt_prog_compiler_wl_F77='-Wl,' |
666 | + ;; | | 678 | + ;; |
667 | + esac | | 679 | + esac |
668 | + ;; | | 680 | + ;; |
669 | + | | 681 | + |
670 | newsos6) | | 682 | newsos6) |
671 | lt_prog_compiler_pic_F77='-KPIC' | | 683 | lt_prog_compiler_pic_F77='-KPIC' |
672 | lt_prog_compiler_static_F77='-Bstatic' | | 684 | lt_prog_compiler_static_F77='-Bstatic' |
673 | @@ -17388,6 +17557,9 @@ lt_prog_compiler_static_F77= | | 685 | @@ -17388,6 +17544,9 @@ lt_prog_compiler_static_F77= |
674 | | | 686 | |
675 | case $host_os in | | 687 | case $host_os in |
676 | # For platforms which do not support PIC, -DPIC is meaningless: | | 688 | # For platforms which do not support PIC, -DPIC is meaningless: |
677 | + mint*) | | 689 | + mint*) |
678 | + lt_prog_compiler_pic_F77= | | 690 | + lt_prog_compiler_pic_F77= |
679 | + ;; | | 691 | + ;; |
680 | *djgpp*) | | 692 | *djgpp*) |
681 | lt_prog_compiler_pic_F77= | | 693 | lt_prog_compiler_pic_F77= |
682 | ;; | | 694 | ;; |
683 | @@ -17918,16 +18090,29 @@ _LT_EOF | | 695 | @@ -17918,16 +18077,29 @@ _LT_EOF |
684 | fi | | 696 | fi |
685 | ;; | | 697 | ;; |
686 | | | 698 | |
687 | - netbsd*) | | 699 | - netbsd*) |
688 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 700 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
689 | - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 701 | - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
690 | - wlarc= | | 702 | - wlarc= |
691 | + mirbsd*) | | 703 | + mirbsd*) |
692 | + if test -f /usr/libexec/ld.so; then | | 704 | + if test -f /usr/libexec/ld.so; then |
693 | + hardcode_direct_F77=yes | | 705 | + hardcode_direct_F77=yes |
694 | + hardcode_shlibpath_var_F77=no | | 706 | + hardcode_shlibpath_var_F77=no |
695 | + hardcode_direct_absolute_F77=yes | | 707 | + hardcode_direct_absolute_F77=yes |
696 | + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | | 708 | + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
697 | + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | | 709 | + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
698 | + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | | 710 | + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
699 | + export_dynamic_flag_spec_F77='${wl}-E' | | 711 | + export_dynamic_flag_spec_F77='${wl}-E' |
700 | else | | 712 | else |
701 | - archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 713 | - archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
702 | - archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 714 | - archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
703 | + ld_shlibs_F77=no | | 715 | + ld_shlibs_F77=no |
704 | fi | | 716 | fi |
705 | ;; | | 717 | ;; |
706 | | | 718 | |
707 | + netbsd*) | | 719 | + netbsd*) |
708 | + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 720 | + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
709 | + archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 721 | + archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
710 | + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | | 722 | + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
711 | + hardcode_direct_F77=yes | | 723 | + hardcode_direct_F77=yes |
712 | + hardcode_shlibpath_var_F77=no | | 724 | + hardcode_shlibpath_var_F77=no |
713 | + output_verbose_link_cmd=func_echo_all | | 725 | + output_verbose_link_cmd=func_echo_all |
714 | + ;; | | 726 | + ;; |
715 | + | | 727 | + |
716 | solaris*) | | 728 | solaris*) |
717 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | | 729 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
718 | ld_shlibs_F77=no | | 730 | ld_shlibs_F77=no |
719 | @@ -18324,7 +18509,7 @@ fi | | 731 | @@ -18324,7 +18496,7 @@ fi |
720 | allow_undefined_flag_F77="$_lt_dar_allow_undefined" | | 732 | allow_undefined_flag_F77="$_lt_dar_allow_undefined" |
721 | case $cc_basename in | | 733 | case $cc_basename in |
722 | ifort*) _lt_dar_can_shared=yes ;; | | 734 | ifort*) _lt_dar_can_shared=yes ;; |
723 | - *) _lt_dar_can_shared=$GCC ;; | | 735 | - *) _lt_dar_can_shared=$GCC ;; |
724 | + *) _lt_dar_can_shared=yes ;; | | 736 | + *) _lt_dar_can_shared=yes ;; |
725 | esac | | 737 | esac |
726 | if test "$_lt_dar_can_shared" = "yes"; then | | 738 | if test "$_lt_dar_can_shared" = "yes"; then |
727 | output_verbose_link_cmd=func_echo_all | | 739 | output_verbose_link_cmd=func_echo_all |
728 | @@ -18498,15 +18683,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 740 | @@ -18498,15 +18670,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
729 | link_all_deplibs_F77=yes | | 741 | link_all_deplibs_F77=yes |
730 | ;; | | 742 | ;; |
731 | | | 743 | |
732 | - netbsd*) | | 744 | - netbsd*) |
733 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 745 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
734 | - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | | 746 | - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
735 | + mirbsd*) | | 747 | + mirbsd*) |
736 | + if test -f /usr/libexec/ld.so; then | | 748 | + if test -f /usr/libexec/ld.so; then |
737 | + hardcode_direct_F77=yes | | 749 | + hardcode_direct_F77=yes |
738 | + hardcode_shlibpath_var_F77=no | | 750 | + hardcode_shlibpath_var_F77=no |
739 | + hardcode_direct_absolute_F77=yes | | 751 | + hardcode_direct_absolute_F77=yes |
740 | + archive_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | | 752 | + archive_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
741 | + archive_expsym_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | | 753 | + archive_expsym_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
742 | + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | | 754 | + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
743 | + export_dynamic_flag_spec_F77='${wl}-E' | | 755 | + export_dynamic_flag_spec_F77='${wl}-E' |
744 | + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | | 756 | + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
745 | else | | 757 | else |
746 | - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | | 758 | - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
747 | + ld_shlibs_F77=no | | 759 | + ld_shlibs_F77=no |
748 | fi | | 760 | fi |
749 | - hardcode_libdir_flag_spec_F77='-R$libdir' | | 761 | - hardcode_libdir_flag_spec_F77='-R$libdir' |
750 | + ;; | | 762 | + ;; |
751 | + | | 763 | + |
752 | + netbsd*) | | 764 | + netbsd*) |
753 | + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 765 | + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
754 | + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 766 | + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
755 | + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | | 767 | + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
756 | hardcode_direct_F77=yes | | 768 | hardcode_direct_F77=yes |
757 | hardcode_shlibpath_var_F77=no | | 769 | hardcode_shlibpath_var_F77=no |
758 | + output_verbose_link_cmd=func_echo_all | | 770 | + output_verbose_link_cmd=func_echo_all |
759 | ;; | | 771 | ;; |
760 | | | 772 | |
761 | newsos6) | | 773 | newsos6) |
762 | @@ -18518,6 +18716,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 774 | @@ -18518,6 +18703,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
763 | ;; | | 775 | ;; |
764 | | | 776 | |
765 | *nto* | *qnx*) | | 777 | *nto* | *qnx*) |
766 | + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 778 | + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
767 | + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 779 | + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
768 | + hardcode_libdir_flag_spec_F77='-R$libdir' | | 780 | + hardcode_libdir_flag_spec_F77='-R$libdir' |
769 | + hardcode_direct_F77=yes | | 781 | + hardcode_direct_F77=yes |
770 | + hardcode_shlibpath_var_F77=no | | 782 | + hardcode_shlibpath_var_F77=no |
771 | ;; | | 783 | ;; |
772 | | | 784 | |
773 | openbsd*) | | 785 | openbsd*) |
774 | @@ -19126,7 +19329,7 @@ dgux*) | | 786 | @@ -19126,7 +19316,7 @@ dgux*) |
775 | shlibpath_var=LD_LIBRARY_PATH | | 787 | shlibpath_var=LD_LIBRARY_PATH |
776 | ;; | | 788 | ;; |
777 | | | 789 | |
778 | -freebsd* | dragonfly*) | | 790 | -freebsd* | dragonfly*) |
779 | +freebsd*) | | 791 | +freebsd*) |
780 | # DragonFly does not have aout. When/if they implement a new | | 792 | # DragonFly does not have aout. When/if they implement a new |
781 | # versioning mechanism, adjust this. | | 793 | # versioning mechanism, adjust this. |
782 | if test -x /usr/bin/objformat; then | | 794 | if test -x /usr/bin/objformat; then |
783 | @@ -19140,7 +19343,7 @@ freebsd* | dragonfly*) | | 795 | @@ -19140,7 +19330,7 @@ freebsd* | dragonfly*) |
784 | version_type=freebsd-$objformat | | 796 | version_type=freebsd-$objformat |
785 | case $version_type in | | 797 | case $version_type in |
786 | freebsd-elf*) | | 798 | freebsd-elf*) |
787 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | 799 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
788 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 800 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
789 | need_version=no | | 801 | need_version=no |
790 | need_lib_prefix=no | | 802 | need_lib_prefix=no |
791 | ;; | | 803 | ;; |
792 | @@ -19163,13 +19366,24 @@ freebsd* | dragonfly*) | | 804 | @@ -19163,13 +19353,24 @@ freebsd* | dragonfly*) |
793 | shlibpath_overrides_runpath=no | | 805 | shlibpath_overrides_runpath=no |
794 | hardcode_into_libs=yes | | 806 | hardcode_into_libs=yes |
795 | ;; | | 807 | ;; |
796 | - *) # from 4.6 on, and DragonFly | | 808 | - *) # from 4.6 on, and DragonFly |
797 | + *) # from 4.6 on | | 809 | + *) # from 4.6 on |
798 | shlibpath_overrides_runpath=yes | | 810 | shlibpath_overrides_runpath=yes |
799 | hardcode_into_libs=yes | | 811 | hardcode_into_libs=yes |
800 | ;; | | 812 | ;; |
801 | esac | | 813 | esac |
802 | ;; | | 814 | ;; |
803 | | | 815 | |
804 | +dragonfly*) | | 816 | +dragonfly*) |
805 | + version_type=linux | | 817 | + version_type=linux |
806 | + need_version=no | | 818 | + need_version=no |
807 | + need_lib_prefix=no | | 819 | + need_lib_prefix=no |
808 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 820 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
809 | + soname_spec='${libname}${release}${shared_ext}$major' | | 821 | + soname_spec='${libname}${release}${shared_ext}$major' |
810 | + shlibpath_var=LD_LIBRARY_PATH | | 822 | + shlibpath_var=LD_LIBRARY_PATH |
811 | + shlibpath_overrides_runpath=no | | 823 | + shlibpath_overrides_runpath=no |
812 | + hardcode_into_libs=yes | | 824 | + hardcode_into_libs=yes |
813 | + ;; | | 825 | + ;; |
814 | + | | 826 | + |
815 | gnu*) | | 827 | gnu*) |
816 | version_type=linux # correct to gnu/linux during the next big refactor | | 828 | version_type=linux # correct to gnu/linux during the next big refactor |
817 | need_lib_prefix=no | | 829 | need_lib_prefix=no |
818 | @@ -19257,12 +19471,7 @@ interix[3-9]*) | | 830 | @@ -19257,12 +19458,7 @@ interix[3-9]*) |
819 | irix5* | irix6* | nonstopux*) | | 831 | irix5* | irix6* | nonstopux*) |
820 | case $host_os in | | 832 | case $host_os in |
821 | nonstopux*) version_type=nonstopux ;; | | 833 | nonstopux*) version_type=nonstopux ;; |
822 | - *) | | 834 | - *) |
823 | - if test "$lt_cv_prog_gnu_ld" = yes; then | | 835 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
824 | - version_type=linux # correct to gnu/linux during the next big refactor | | 836 | - version_type=linux # correct to gnu/linux during the next big refactor |
825 | - else | | 837 | - else |
826 | - version_type=irix | | 838 | - version_type=irix |
827 | - fi ;; | | 839 | - fi ;; |
828 | + *) version_type=irix ;; | | 840 | + *) version_type=irix ;; |
829 | esac | | 841 | esac |
830 | need_lib_prefix=no | | 842 | need_lib_prefix=no |
831 | need_version=no | | 843 | need_version=no |
832 | @@ -19355,19 +19564,36 @@ fi | | 844 | @@ -19355,19 +19551,36 @@ fi |
833 | dynamic_linker='GNU/Linux ld.so' | | 845 | dynamic_linker='GNU/Linux ld.so' |
834 | ;; | | 846 | ;; |
835 | | | 847 | |
836 | +midnightbsd*) | | 848 | +midnightbsd*) |
837 | + version_type=linux | | 849 | + version_type=linux |
838 | + need_lib_prefix=no | | 850 | + need_lib_prefix=no |
839 | + need_version=no | | 851 | + need_version=no |
840 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}' | | 852 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}' |
841 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 853 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
842 | + shlibpath_var=LD_LIBRARY_PATH | | 854 | + shlibpath_var=LD_LIBRARY_PATH |
843 | + shlibpath_overrides_runpath=yes | | 855 | + shlibpath_overrides_runpath=yes |
844 | + hardcode_into_libs=yes | | 856 | + hardcode_into_libs=yes |
845 | + ;; | | 857 | + ;; |
846 | + | | 858 | + |
847 | +mirbsd*) | | 859 | +mirbsd*) |
848 | + version_type=linux | | 860 | + version_type=linux |
849 | + sys_lib_search_path_spec="/usr/lib" | | 861 | + sys_lib_search_path_spec="/usr/lib" |
850 | + sys_lib_dlsearch_path_spec="/usr/lib" | | 862 | + sys_lib_dlsearch_path_spec="/usr/lib" |
851 | + need_lib_prefix=no | | 863 | + need_lib_prefix=no |
852 | + need_version=no | | 864 | + need_version=no |
853 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}' | | 865 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}' |
854 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 866 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
855 | + shlibpath_var=LD_LIBRARY_PATH | | 867 | + shlibpath_var=LD_LIBRARY_PATH |
856 | + shlibpath_overrides_runpath=yes | | 868 | + shlibpath_overrides_runpath=yes |
857 | + ;; | | 869 | + ;; |
858 | + | | 870 | + |
859 | netbsd*) | | 871 | netbsd*) |
860 | - version_type=sunos | | 872 | - version_type=sunos |
861 | + version_type=linux | | 873 | + version_type=linux |
862 | need_lib_prefix=no | | 874 | need_lib_prefix=no |
863 | need_version=no | | 875 | need_version=no |
864 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 876 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
865 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 877 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
866 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 878 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
867 | - dynamic_linker='NetBSD (a.out) ld.so' | | 879 | - dynamic_linker='NetBSD (a.out) ld.so' |
868 | - else | | 880 | - else |
869 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 881 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
870 | - soname_spec='${libname}${release}${shared_ext}$major' | | 882 | - soname_spec='${libname}${release}${shared_ext}$major' |
871 | - dynamic_linker='NetBSD ld.elf_so' | | 883 | - dynamic_linker='NetBSD ld.elf_so' |
872 | - fi | | 884 | - fi |
873 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 885 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
874 | + soname_spec='${libname}${release}${shared_ext}$major' | | 886 | + soname_spec='${libname}${release}${shared_ext}$major' |
875 | + dynamic_linker='NetBSD ld.elf_so' | | 887 | + dynamic_linker='NetBSD ld.elf_so' |
876 | shlibpath_var=LD_LIBRARY_PATH | | 888 | shlibpath_var=LD_LIBRARY_PATH |
877 | shlibpath_overrides_runpath=yes | | 889 | shlibpath_overrides_runpath=yes |
878 | hardcode_into_libs=yes | | 890 | hardcode_into_libs=yes |
879 | @@ -19393,7 +19619,7 @@ newsos6) | | 891 | @@ -19393,7 +19606,7 @@ newsos6) |
880 | ;; | | 892 | ;; |
881 | | | 893 | |
882 | openbsd*) | | 894 | openbsd*) |
883 | - version_type=sunos | | 895 | - version_type=sunos |
884 | + version_type=linux | | 896 | + version_type=linux |
885 | sys_lib_dlsearch_path_spec="/usr/lib" | | 897 | sys_lib_dlsearch_path_spec="/usr/lib" |
886 | need_lib_prefix=no | | 898 | need_lib_prefix=no |
887 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | | 899 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
888 | @@ -19401,7 +19627,7 @@ openbsd*) | | 900 | @@ -19401,7 +19614,7 @@ openbsd*) |
889 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | | 901 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
890 | *) need_version=no ;; | | 902 | *) need_version=no ;; |
891 | esac | | 903 | esac |
892 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 904 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
893 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 905 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
894 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 906 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
895 | shlibpath_var=LD_LIBRARY_PATH | | 907 | shlibpath_var=LD_LIBRARY_PATH |
896 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | 908 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
897 | @@ -19966,7 +20192,10 @@ $RM -r conftest* | | 909 | @@ -19966,7 +20179,10 @@ $RM -r conftest* |
898 | *) break;; | | 910 | *) break;; |
899 | esac | | 911 | esac |
900 | done | | 912 | done |
901 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | | 913 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
902 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 914 | +# Return the actual command name, not our pkgsrc wrapper name because several |
903 | +# decisions are made only based on compiler names | | 915 | +# decisions are made only based on compiler names |
904 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 916 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
905 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 917 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
906 | | | 918 | |
907 | | | 919 | |
908 | if test -n "$compiler"; then | | 920 | if test -n "$compiler"; then |
909 | @@ -20203,9 +20432,16 @@ lt_prog_compiler_static_FC= | | 921 | @@ -20203,9 +20419,16 @@ lt_prog_compiler_static_FC= |
910 | ;; | | 922 | ;; |
911 | | | 923 | |
912 | darwin* | rhapsody*) | | 924 | darwin* | rhapsody*) |
913 | - # PIC is the default on this platform | | 925 | - # PIC is the default on this platform |
914 | + # PIC is the default on this platform, and static linking of | | 926 | + # PIC is the default on this platform, and static linking of |
915 | + # binaries generally doesn't work | | 927 | + # binaries generally doesn't work |
916 | # Common symbols not allowed in MH_DYLIB files | | 928 | # Common symbols not allowed in MH_DYLIB files |
917 | lt_prog_compiler_pic_FC='-fno-common' | | 929 | lt_prog_compiler_pic_FC='-fno-common' |
918 | + lt_prog_compiler_static_FC='' | | 930 | + lt_prog_compiler_static_FC='' |
919 | + ;; | | 931 | + ;; |
920 | + | | 932 | + |
921 | + *mint*) | | 933 | + *mint*) |
922 | + # FreeMiNT does not support shared libraries at all | | 934 | + # FreeMiNT does not support shared libraries at all |
923 | + lt_prog_compiler_pic_FC= | | 935 | + lt_prog_compiler_pic_FC= |
924 | ;; | | 936 | ;; |
925 | | | 937 | |
926 | haiku*) | | 938 | haiku*) |
927 | @@ -20233,6 +20469,13 @@ lt_prog_compiler_static_FC= | | 939 | @@ -20233,6 +20456,13 @@ lt_prog_compiler_static_FC= |
928 | # Instead, we relocate shared libraries at runtime. | | 940 | # Instead, we relocate shared libraries at runtime. |
929 | ;; | | 941 | ;; |
930 | | | 942 | |
931 | + mint*) | | 943 | + mint*) |
932 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 944 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
933 | + # on systems that don't support them. | | 945 | + # on systems that don't support them. |
934 | + lt_prog_compiler_can_build_shared_FC=no | | 946 | + lt_prog_compiler_can_build_shared_FC=no |
935 | + enable_shared=no | | 947 | + enable_shared=no |
936 | + ;; | | 948 | + ;; |
937 | + | | 949 | + |
938 | msdosdjgpp*) | | 950 | msdosdjgpp*) |
939 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 951 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
940 | # on systems that don't support them. | | 952 | # on systems that don't support them. |
941 | @@ -20385,6 +20628,15 @@ lt_prog_compiler_static_FC= | | 953 | @@ -20385,6 +20615,15 @@ lt_prog_compiler_static_FC= |
942 | esac | | 954 | esac |
943 | ;; | | 955 | ;; |
944 | | | 956 | |
945 | + mirbsd*) | | 957 | + mirbsd*) |
946 | + case $cc_basename in | | 958 | + case $cc_basename in |
947 | + # pkgsrc f77 is f2c, which uses gcc underneath. | | 959 | + # pkgsrc f77 is f2c, which uses gcc underneath. |
948 | + f77*) | | 960 | + f77*) |
949 | + lt_prog_compiler_wl_FC='-Wl,' | | 961 | + lt_prog_compiler_wl_FC='-Wl,' |
950 | + ;; | | 962 | + ;; |
951 | + esac | | 963 | + esac |
952 | + ;; | | 964 | + ;; |
953 | + | | 965 | + |
954 | newsos6) | | 966 | newsos6) |
955 | lt_prog_compiler_pic_FC='-KPIC' | | 967 | lt_prog_compiler_pic_FC='-KPIC' |
956 | lt_prog_compiler_static_FC='-Bstatic' | | 968 | lt_prog_compiler_static_FC='-Bstatic' |
957 | @@ -20460,6 +20712,9 @@ lt_prog_compiler_static_FC= | | 969 | @@ -20460,6 +20699,9 @@ lt_prog_compiler_static_FC= |
958 | | | 970 | |
959 | case $host_os in | | 971 | case $host_os in |
960 | # For platforms which do not support PIC, -DPIC is meaningless: | | 972 | # For platforms which do not support PIC, -DPIC is meaningless: |
961 | + mint*) | | 973 | + mint*) |
962 | + lt_prog_compiler_pic_FC= | | 974 | + lt_prog_compiler_pic_FC= |
963 | + ;; | | 975 | + ;; |
964 | *djgpp*) | | 976 | *djgpp*) |
965 | lt_prog_compiler_pic_FC= | | 977 | lt_prog_compiler_pic_FC= |
966 | ;; | | 978 | ;; |
967 | @@ -20990,16 +21245,29 @@ _LT_EOF | | 979 | @@ -20990,16 +21232,29 @@ _LT_EOF |
968 | fi | | 980 | fi |
969 | ;; | | 981 | ;; |
970 | | | 982 | |
971 | - netbsd*) | | 983 | - netbsd*) |
972 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 984 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
973 | - archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 985 | - archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
974 | - wlarc= | | 986 | - wlarc= |
975 | + mirbsd*) | | 987 | + mirbsd*) |
976 | + if test -f /usr/libexec/ld.so; then | | 988 | + if test -f /usr/libexec/ld.so; then |
977 | + hardcode_direct_FC=yes | | 989 | + hardcode_direct_FC=yes |
978 | + hardcode_shlibpath_var_FC=no | | 990 | + hardcode_shlibpath_var_FC=no |
979 | + hardcode_direct_absolute_FC=yes | | 991 | + hardcode_direct_absolute_FC=yes |
980 | + archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | | 992 | + archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
981 | + archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | | 993 | + archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
982 | + hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' | | 994 | + hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
983 | + export_dynamic_flag_spec_FC='${wl}-E' | | 995 | + export_dynamic_flag_spec_FC='${wl}-E' |
984 | else | | 996 | else |
985 | - archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 997 | - archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
986 | - archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 998 | - archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
987 | + ld_shlibs_FC=no | | 999 | + ld_shlibs_FC=no |
988 | fi | | 1000 | fi |
989 | ;; | | 1001 | ;; |
990 | | | 1002 | |
991 | + netbsd*) | | 1003 | + netbsd*) |
992 | + archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1004 | + archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
993 | + archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1005 | + archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
994 | + hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' | | 1006 | + hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
995 | + hardcode_direct_FC=yes | | 1007 | + hardcode_direct_FC=yes |
996 | + hardcode_shlibpath_var_FC=no | | 1008 | + hardcode_shlibpath_var_FC=no |
997 | + output_verbose_link_cmd=func_echo_all | | 1009 | + output_verbose_link_cmd=func_echo_all |
998 | + ;; | | 1010 | + ;; |
999 | + | | 1011 | + |
1000 | solaris*) | | 1012 | solaris*) |
1001 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | | 1013 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
1002 | ld_shlibs_FC=no | | 1014 | ld_shlibs_FC=no |
1003 | @@ -21396,7 +21664,7 @@ fi | | 1015 | @@ -21396,7 +21651,7 @@ fi |
1004 | allow_undefined_flag_FC="$_lt_dar_allow_undefined" | | 1016 | allow_undefined_flag_FC="$_lt_dar_allow_undefined" |
1005 | case $cc_basename in | | 1017 | case $cc_basename in |
1006 | ifort*) _lt_dar_can_shared=yes ;; | | 1018 | ifort*) _lt_dar_can_shared=yes ;; |
1007 | - *) _lt_dar_can_shared=$GCC ;; | | 1019 | - *) _lt_dar_can_shared=$GCC ;; |
1008 | + *) _lt_dar_can_shared=yes ;; | | 1020 | + *) _lt_dar_can_shared=yes ;; |
1009 | esac | | 1021 | esac |
1010 | if test "$_lt_dar_can_shared" = "yes"; then | | 1022 | if test "$_lt_dar_can_shared" = "yes"; then |
1011 | output_verbose_link_cmd=func_echo_all | | 1023 | output_verbose_link_cmd=func_echo_all |
1012 | @@ -21570,15 +21838,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 1024 | @@ -21570,15 +21825,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
1013 | link_all_deplibs_FC=yes | | 1025 | link_all_deplibs_FC=yes |
1014 | ;; | | 1026 | ;; |
1015 | | | 1027 | |
1016 | - netbsd*) | | 1028 | - netbsd*) |
1017 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 1029 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1018 | - archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | | 1030 | - archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
1019 | + mirbsd*) | | 1031 | + mirbsd*) |
1020 | + if test -f /usr/libexec/ld.so; then | | 1032 | + if test -f /usr/libexec/ld.so; then |
1021 | + hardcode_direct_FC=yes | | 1033 | + hardcode_direct_FC=yes |
1022 | + hardcode_shlibpath_var_FC=no | | 1034 | + hardcode_shlibpath_var_FC=no |
1023 | + hardcode_direct_absolute_FC=yes | | 1035 | + hardcode_direct_absolute_FC=yes |
1024 | + archive_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | | 1036 | + archive_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
1025 | + archive_expsym_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | | 1037 | + archive_expsym_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
1026 | + hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' | | 1038 | + hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
1027 | + export_dynamic_flag_spec_FC='${wl}-E' | | 1039 | + export_dynamic_flag_spec_FC='${wl}-E' |
1028 | + whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | | 1040 | + whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
1029 | else | | 1041 | else |
1030 | - archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | | 1042 | - archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
1031 | + ld_shlibs_FC=no | | 1043 | + ld_shlibs_FC=no |
1032 | fi | | 1044 | fi |
1033 | - hardcode_libdir_flag_spec_FC='-R$libdir' | | 1045 | - hardcode_libdir_flag_spec_FC='-R$libdir' |
1034 | + ;; | | 1046 | + ;; |
1035 | + | | 1047 | + |
1036 | + netbsd*) | | 1048 | + netbsd*) |
1037 | + archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1049 | + archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1038 | + archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1050 | + archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1039 | + hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' | | 1051 | + hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' |
1040 | hardcode_direct_FC=yes | | 1052 | hardcode_direct_FC=yes |
1041 | hardcode_shlibpath_var_FC=no | | 1053 | hardcode_shlibpath_var_FC=no |
1042 | + output_verbose_link_cmd=func_echo_all | | 1054 | + output_verbose_link_cmd=func_echo_all |
1043 | ;; | | 1055 | ;; |
1044 | | | 1056 | |
1045 | newsos6) | | 1057 | newsos6) |
1046 | @@ -21590,6 +21871,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 1058 | @@ -21590,6 +21858,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
1047 | ;; | | 1059 | ;; |
1048 | | | 1060 | |
1049 | *nto* | *qnx*) | | 1061 | *nto* | *qnx*) |
1050 | + archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1062 | + archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1051 | + archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1063 | + archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1052 | + hardcode_libdir_flag_spec_FC='-R$libdir' | | 1064 | + hardcode_libdir_flag_spec_FC='-R$libdir' |
1053 | + hardcode_direct_FC=yes | | 1065 | + hardcode_direct_FC=yes |
1054 | + hardcode_shlibpath_var_FC=no | | 1066 | + hardcode_shlibpath_var_FC=no |
1055 | ;; | | 1067 | ;; |
1056 | | | 1068 | |
1057 | openbsd*) | | 1069 | openbsd*) |
1058 | @@ -22198,7 +22484,7 @@ dgux*) | | 1070 | @@ -22198,7 +22471,7 @@ dgux*) |
1059 | shlibpath_var=LD_LIBRARY_PATH | | 1071 | shlibpath_var=LD_LIBRARY_PATH |
1060 | ;; | | 1072 | ;; |
1061 | | | 1073 | |
1062 | -freebsd* | dragonfly*) | | 1074 | -freebsd* | dragonfly*) |
1063 | +freebsd*) | | 1075 | +freebsd*) |
1064 | # DragonFly does not have aout. When/if they implement a new | | 1076 | # DragonFly does not have aout. When/if they implement a new |
1065 | # versioning mechanism, adjust this. | | 1077 | # versioning mechanism, adjust this. |
1066 | if test -x /usr/bin/objformat; then | | 1078 | if test -x /usr/bin/objformat; then |
1067 | @@ -22212,7 +22498,7 @@ freebsd* | dragonfly*) | | 1079 | @@ -22212,7 +22485,7 @@ freebsd* | dragonfly*) |
1068 | version_type=freebsd-$objformat | | 1080 | version_type=freebsd-$objformat |
1069 | case $version_type in | | 1081 | case $version_type in |
1070 | freebsd-elf*) | | 1082 | freebsd-elf*) |
1071 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | 1083 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
1072 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 1084 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
1073 | need_version=no | | 1085 | need_version=no |
1074 | need_lib_prefix=no | | 1086 | need_lib_prefix=no |
1075 | ;; | | 1087 | ;; |
1076 | @@ -22235,13 +22521,24 @@ freebsd* | dragonfly*) | | 1088 | @@ -22235,13 +22508,24 @@ freebsd* | dragonfly*) |
1077 | shlibpath_overrides_runpath=no | | 1089 | shlibpath_overrides_runpath=no |
1078 | hardcode_into_libs=yes | | 1090 | hardcode_into_libs=yes |
1079 | ;; | | 1091 | ;; |
1080 | - *) # from 4.6 on, and DragonFly | | 1092 | - *) # from 4.6 on, and DragonFly |
1081 | + *) # from 4.6 on | | 1093 | + *) # from 4.6 on |
1082 | shlibpath_overrides_runpath=yes | | 1094 | shlibpath_overrides_runpath=yes |
1083 | hardcode_into_libs=yes | | 1095 | hardcode_into_libs=yes |
1084 | ;; | | 1096 | ;; |
1085 | esac | | 1097 | esac |
1086 | ;; | | 1098 | ;; |
1087 | | | 1099 | |
1088 | +dragonfly*) | | 1100 | +dragonfly*) |
1089 | + version_type=linux | | 1101 | + version_type=linux |
1090 | + need_version=no | | 1102 | + need_version=no |
1091 | + need_lib_prefix=no | | 1103 | + need_lib_prefix=no |
1092 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 1104 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
1093 | + soname_spec='${libname}${release}${shared_ext}$major' | | 1105 | + soname_spec='${libname}${release}${shared_ext}$major' |
1094 | + shlibpath_var=LD_LIBRARY_PATH | | 1106 | + shlibpath_var=LD_LIBRARY_PATH |
1095 | + shlibpath_overrides_runpath=no | | 1107 | + shlibpath_overrides_runpath=no |
1096 | + hardcode_into_libs=yes | | 1108 | + hardcode_into_libs=yes |
1097 | + ;; | | 1109 | + ;; |
1098 | + | | 1110 | + |
1099 | gnu*) | | 1111 | gnu*) |
1100 | version_type=linux # correct to gnu/linux during the next big refactor | | 1112 | version_type=linux # correct to gnu/linux during the next big refactor |
1101 | need_lib_prefix=no | | 1113 | need_lib_prefix=no |
1102 | @@ -22329,12 +22626,7 @@ interix[3-9]*) | | 1114 | @@ -22329,12 +22613,7 @@ interix[3-9]*) |
1103 | irix5* | irix6* | nonstopux*) | | 1115 | irix5* | irix6* | nonstopux*) |
1104 | case $host_os in | | 1116 | case $host_os in |
1105 | nonstopux*) version_type=nonstopux ;; | | 1117 | nonstopux*) version_type=nonstopux ;; |
1106 | - *) | | 1118 | - *) |
1107 | - if test "$lt_cv_prog_gnu_ld" = yes; then | | 1119 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
1108 | - version_type=linux # correct to gnu/linux during the next big refactor | | 1120 | - version_type=linux # correct to gnu/linux during the next big refactor |
1109 | - else | | 1121 | - else |
1110 | - version_type=irix | | 1122 | - version_type=irix |
1111 | - fi ;; | | 1123 | - fi ;; |
1112 | + *) version_type=irix ;; | | 1124 | + *) version_type=irix ;; |
1113 | esac | | 1125 | esac |
1114 | need_lib_prefix=no | | 1126 | need_lib_prefix=no |
1115 | need_version=no | | 1127 | need_version=no |
1116 | @@ -22427,19 +22719,36 @@ fi | | 1128 | @@ -22427,19 +22706,36 @@ fi |
1117 | dynamic_linker='GNU/Linux ld.so' | | 1129 | dynamic_linker='GNU/Linux ld.so' |
1118 | ;; | | 1130 | ;; |
1119 | | | 1131 | |
1120 | +midnightbsd*) | | 1132 | +midnightbsd*) |
1121 | + version_type=linux | | 1133 | + version_type=linux |
1122 | + need_lib_prefix=no | | 1134 | + need_lib_prefix=no |
1123 | + need_version=no | | 1135 | + need_version=no |
1124 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}' | | 1136 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}' |
1125 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 1137 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
1126 | + shlibpath_var=LD_LIBRARY_PATH | | 1138 | + shlibpath_var=LD_LIBRARY_PATH |
1127 | + shlibpath_overrides_runpath=yes | | 1139 | + shlibpath_overrides_runpath=yes |
1128 | + hardcode_into_libs=yes | | 1140 | + hardcode_into_libs=yes |
1129 | + ;; | | 1141 | + ;; |
1130 | + | | 1142 | + |
1131 | +mirbsd*) | | 1143 | +mirbsd*) |
1132 | + version_type=linux | | 1144 | + version_type=linux |
1133 | + sys_lib_search_path_spec="/usr/lib" | | 1145 | + sys_lib_search_path_spec="/usr/lib" |
1134 | + sys_lib_dlsearch_path_spec="/usr/lib" | | 1146 | + sys_lib_dlsearch_path_spec="/usr/lib" |
1135 | + need_lib_prefix=no | | 1147 | + need_lib_prefix=no |
1136 | + need_version=no | | 1148 | + need_version=no |
1137 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}' | | 1149 | + library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}' |
1138 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 1150 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
1139 | + shlibpath_var=LD_LIBRARY_PATH | | 1151 | + shlibpath_var=LD_LIBRARY_PATH |
1140 | + shlibpath_overrides_runpath=yes | | 1152 | + shlibpath_overrides_runpath=yes |
1141 | + ;; | | 1153 | + ;; |
1142 | + | | 1154 | + |
1143 | netbsd*) | | 1155 | netbsd*) |
1144 | - version_type=sunos | | 1156 | - version_type=sunos |
1145 | + version_type=linux | | 1157 | + version_type=linux |
1146 | need_lib_prefix=no | | 1158 | need_lib_prefix=no |
1147 | need_version=no | | 1159 | need_version=no |
1148 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 1160 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1149 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 1161 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
1150 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 1162 | - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
1151 | - dynamic_linker='NetBSD (a.out) ld.so' | | 1163 | - dynamic_linker='NetBSD (a.out) ld.so' |
1152 | - else | | 1164 | - else |
1153 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 1165 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
1154 | - soname_spec='${libname}${release}${shared_ext}$major' | | 1166 | - soname_spec='${libname}${release}${shared_ext}$major' |
1155 | - dynamic_linker='NetBSD ld.elf_so' | | 1167 | - dynamic_linker='NetBSD ld.elf_so' |
1156 | - fi | | 1168 | - fi |
1157 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 1169 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
1158 | + soname_spec='${libname}${release}${shared_ext}$major' | | 1170 | + soname_spec='${libname}${release}${shared_ext}$major' |
1159 | + dynamic_linker='NetBSD ld.elf_so' | | 1171 | + dynamic_linker='NetBSD ld.elf_so' |
1160 | shlibpath_var=LD_LIBRARY_PATH | | 1172 | shlibpath_var=LD_LIBRARY_PATH |
1161 | shlibpath_overrides_runpath=yes | | 1173 | shlibpath_overrides_runpath=yes |
1162 | hardcode_into_libs=yes | | 1174 | hardcode_into_libs=yes |
1163 | @@ -22465,7 +22774,7 @@ newsos6) | | 1175 | @@ -22465,7 +22761,7 @@ newsos6) |
1164 | ;; | | 1176 | ;; |
1165 | | | 1177 | |
1166 | openbsd*) | | 1178 | openbsd*) |
1167 | - version_type=sunos | | 1179 | - version_type=sunos |
1168 | + version_type=linux | | 1180 | + version_type=linux |
1169 | sys_lib_dlsearch_path_spec="/usr/lib" | | 1181 | sys_lib_dlsearch_path_spec="/usr/lib" |
1170 | need_lib_prefix=no | | 1182 | need_lib_prefix=no |
1171 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | | 1183 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
1172 | @@ -22473,7 +22782,7 @@ openbsd*) | | 1184 | @@ -22473,7 +22769,7 @@ openbsd*) |
1173 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | | 1185 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
1174 | *) need_version=no ;; | | 1186 | *) need_version=no ;; |
1175 | esac | | 1187 | esac |
1176 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 1188 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
1177 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 1189 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
1178 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 1190 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
1179 | shlibpath_var=LD_LIBRARY_PATH | | 1191 | shlibpath_var=LD_LIBRARY_PATH |
1180 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | 1192 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1181 | @@ -22883,7 +23192,10 @@ for cc_temp in $compiler""; do | | 1193 | @@ -22883,7 +23179,10 @@ for cc_temp in $compiler""; do |
1182 | *) break;; | | 1194 | *) break;; |
1183 | esac | | 1195 | esac |
1184 | done | | 1196 | done |
1185 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | | 1197 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
1186 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 1198 | +# Return the actual command name, not our pkgsrc wrapper name because several |
1187 | +# decisions are made only based on compiler names | | 1199 | +# decisions are made only based on compiler names |
1188 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 1200 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
1189 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 1201 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
1190 | | | 1202 | |
1191 | | | 1203 | |
1192 | # Go did not exist at the time GCC didn't implicitly link libc in. | | 1204 | # Go did not exist at the time GCC didn't implicitly link libc in. |
1193 | @@ -23003,9 +23315,16 @@ lt_prog_compiler_static_GO= | | 1205 | @@ -23003,9 +23302,16 @@ lt_prog_compiler_static_GO= |
1194 | ;; | | 1206 | ;; |
1195 | | | 1207 | |
1196 | darwin* | rhapsody*) | | 1208 | darwin* | rhapsody*) |
1197 | - # PIC is the default on this platform | | 1209 | - # PIC is the default on this platform |
1198 | + # PIC is the default on this platform, and static linking of | | 1210 | + # PIC is the default on this platform, and static linking of |
1199 | + # binaries generally doesn't work | | 1211 | + # binaries generally doesn't work |
1200 | # Common symbols not allowed in MH_DYLIB files | | 1212 | # Common symbols not allowed in MH_DYLIB files |
1201 | lt_prog_compiler_pic_GO='-fno-common' | | 1213 | lt_prog_compiler_pic_GO='-fno-common' |
1202 | + lt_prog_compiler_static_GO='' | | 1214 | + lt_prog_compiler_static_GO='' |
1203 | + ;; | | 1215 | + ;; |
1204 | + | | 1216 | + |
1205 | + *mint*) | | 1217 | + *mint*) |
1206 | + # FreeMiNT does not support shared libraries at all | | 1218 | + # FreeMiNT does not support shared libraries at all |
1207 | + lt_prog_compiler_pic_GO= | | 1219 | + lt_prog_compiler_pic_GO= |
1208 | ;; | | 1220 | ;; |
1209 | | | 1221 | |
1210 | haiku*) | | 1222 | haiku*) |
1211 | @@ -23033,6 +23352,13 @@ lt_prog_compiler_static_GO= | | 1223 | @@ -23033,6 +23339,13 @@ lt_prog_compiler_static_GO= |
1212 | # Instead, we relocate shared libraries at runtime. | | 1224 | # Instead, we relocate shared libraries at runtime. |
1213 | ;; | | 1225 | ;; |
1214 | | | 1226 | |
1215 | + mint*) | | 1227 | + mint*) |
1216 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 1228 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
1217 | + # on systems that don't support them. | | 1229 | + # on systems that don't support them. |
1218 | + lt_prog_compiler_can_build_shared_GO=no | | 1230 | + lt_prog_compiler_can_build_shared_GO=no |
1219 | + enable_shared=no | | 1231 | + enable_shared=no |
1220 | + ;; | | 1232 | + ;; |
1221 | + | | 1233 | + |
1222 | msdosdjgpp*) | | 1234 | msdosdjgpp*) |
1223 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 1235 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
1224 | # on systems that don't support them. | | 1236 | # on systems that don't support them. |
1225 | @@ -23185,6 +23511,15 @@ lt_prog_compiler_static_GO= | | 1237 | @@ -23185,6 +23498,15 @@ lt_prog_compiler_static_GO= |
1226 | esac | | 1238 | esac |
1227 | ;; | | 1239 | ;; |
1228 | | | 1240 | |
1229 | + mirbsd*) | | 1241 | + mirbsd*) |
1230 | + case $cc_basename in | | 1242 | + case $cc_basename in |
1231 | + # pkgsrc f77 is f2c, which uses gcc underneath. | | 1243 | + # pkgsrc f77 is f2c, which uses gcc underneath. |
1232 | + f77*) | | 1244 | + f77*) |
1233 | + lt_prog_compiler_wl_GO='-Wl,' | | 1245 | + lt_prog_compiler_wl_GO='-Wl,' |
1234 | + ;; | | 1246 | + ;; |
1235 | + esac | | 1247 | + esac |
1236 | + ;; | | 1248 | + ;; |
1237 | + | | 1249 | + |
1238 | newsos6) | | 1250 | newsos6) |
1239 | lt_prog_compiler_pic_GO='-KPIC' | | 1251 | lt_prog_compiler_pic_GO='-KPIC' |
1240 | lt_prog_compiler_static_GO='-Bstatic' | | 1252 | lt_prog_compiler_static_GO='-Bstatic' |
1241 | @@ -23260,6 +23595,9 @@ lt_prog_compiler_static_GO= | | 1253 | @@ -23260,6 +23582,9 @@ lt_prog_compiler_static_GO= |
1242 | | | 1254 | |
1243 | case $host_os in | | 1255 | case $host_os in |
1244 | # For platforms which do not support PIC, -DPIC is meaningless: | | 1256 | # For platforms which do not support PIC, -DPIC is meaningless: |
1245 | + mint*) | | 1257 | + mint*) |
1246 | + lt_prog_compiler_pic_GO= | | 1258 | + lt_prog_compiler_pic_GO= |
1247 | + ;; | | 1259 | + ;; |
1248 | *djgpp*) | | 1260 | *djgpp*) |
1249 | lt_prog_compiler_pic_GO= | | 1261 | lt_prog_compiler_pic_GO= |
1250 | ;; | | 1262 | ;; |
1251 | @@ -23790,16 +24128,29 @@ _LT_EOF | | 1263 | @@ -23790,16 +24115,29 @@ _LT_EOF |
1252 | fi | | 1264 | fi |
1253 | ;; | | 1265 | ;; |
1254 | | | 1266 | |
1255 | - netbsd*) | | 1267 | - netbsd*) |
1256 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 1268 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1257 | - archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 1269 | - archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
1258 | - wlarc= | | 1270 | - wlarc= |
1259 | + mirbsd*) | | 1271 | + mirbsd*) |
1260 | + if test -f /usr/libexec/ld.so; then | | 1272 | + if test -f /usr/libexec/ld.so; then |
1261 | + hardcode_direct_GO=yes | | 1273 | + hardcode_direct_GO=yes |
1262 | + hardcode_shlibpath_var_GO=no | | 1274 | + hardcode_shlibpath_var_GO=no |
1263 | + hardcode_direct_absolute_GO=yes | | 1275 | + hardcode_direct_absolute_GO=yes |
1264 | + archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | | 1276 | + archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
1265 | + archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | | 1277 | + archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
1266 | + hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' | | 1278 | + hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' |
1267 | + export_dynamic_flag_spec_GO='${wl}-E' | | 1279 | + export_dynamic_flag_spec_GO='${wl}-E' |
1268 | else | | 1280 | else |
1269 | - archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1281 | - archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1270 | - archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1282 | - archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1271 | + ld_shlibs_GO=no | | 1283 | + ld_shlibs_GO=no |
1272 | fi | | 1284 | fi |
1273 | ;; | | 1285 | ;; |
1274 | | | 1286 | |
1275 | + netbsd*) | | 1287 | + netbsd*) |
1276 | + archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1288 | + archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1277 | + archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1289 | + archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1278 | + hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' | | 1290 | + hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' |
1279 | + hardcode_direct_GO=yes | | 1291 | + hardcode_direct_GO=yes |
1280 | + hardcode_shlibpath_var_GO=no | | 1292 | + hardcode_shlibpath_var_GO=no |
1281 | + output_verbose_link_cmd=func_echo_all | | 1293 | + output_verbose_link_cmd=func_echo_all |
1282 | + ;; | | 1294 | + ;; |
1283 | + | | 1295 | + |
1284 | solaris*) | | 1296 | solaris*) |
1285 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | | 1297 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
1286 | ld_shlibs_GO=no | | 1298 | ld_shlibs_GO=no |
1287 | @@ -24208,7 +24559,7 @@ fi | | 1299 | @@ -24208,7 +24546,7 @@ fi |
1288 | allow_undefined_flag_GO="$_lt_dar_allow_undefined" | | 1300 | allow_undefined_flag_GO="$_lt_dar_allow_undefined" |
1289 | case $cc_basename in | | 1301 | case $cc_basename in |
1290 | ifort*) _lt_dar_can_shared=yes ;; | | 1302 | ifort*) _lt_dar_can_shared=yes ;; |
1291 | - *) _lt_dar_can_shared=$GCC ;; | | 1303 | - *) _lt_dar_can_shared=$GCC ;; |
1292 | + *) _lt_dar_can_shared=yes ;; | | 1304 | + *) _lt_dar_can_shared=yes ;; |
1293 | esac | | 1305 | esac |
1294 | if test "$_lt_dar_can_shared" = "yes"; then | | 1306 | if test "$_lt_dar_can_shared" = "yes"; then |
1295 | output_verbose_link_cmd=func_echo_all | | 1307 | output_verbose_link_cmd=func_echo_all |
1296 | @@ -24381,15 +24732,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 1308 | @@ -24381,15 +24719,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
1297 | link_all_deplibs_GO=yes | | 1309 | link_all_deplibs_GO=yes |
1298 | ;; | | 1310 | ;; |
1299 | | | 1311 | |
1300 | - netbsd*) | | 1312 | - netbsd*) |
1301 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 1313 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1302 | - archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | | 1314 | - archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
1303 | + mirbsd*) | | 1315 | + mirbsd*) |
1304 | + if test -f /usr/libexec/ld.so; then | | 1316 | + if test -f /usr/libexec/ld.so; then |
1305 | + hardcode_direct_GO=yes | | 1317 | + hardcode_direct_GO=yes |
1306 | + hardcode_shlibpath_var_GO=no | | 1318 | + hardcode_shlibpath_var_GO=no |
1307 | + hardcode_direct_absolute_GO=yes | | 1319 | + hardcode_direct_absolute_GO=yes |
1308 | + archive_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | | 1320 | + archive_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
1309 | + archive_expsym_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | | 1321 | + archive_expsym_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
1310 | + hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' | | 1322 | + hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' |
1311 | + export_dynamic_flag_spec_GO='${wl}-E' | | 1323 | + export_dynamic_flag_spec_GO='${wl}-E' |
1312 | + whole_archive_flag_spec_GO="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | | 1324 | + whole_archive_flag_spec_GO="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
1313 | else | | 1325 | else |
1314 | - archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | | 1326 | - archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
1315 | + ld_shlibs_GO=no | | 1327 | + ld_shlibs_GO=no |
1316 | fi | | 1328 | fi |
1317 | - hardcode_libdir_flag_spec_GO='-R$libdir' | | 1329 | - hardcode_libdir_flag_spec_GO='-R$libdir' |
1318 | + ;; | | 1330 | + ;; |
1319 | + | | 1331 | + |
1320 | + netbsd*) | | 1332 | + netbsd*) |
1321 | + archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1333 | + archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1322 | + archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1334 | + archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1323 | + hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' | | 1335 | + hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' |
1324 | hardcode_direct_GO=yes | | 1336 | hardcode_direct_GO=yes |
1325 | hardcode_shlibpath_var_GO=no | | 1337 | hardcode_shlibpath_var_GO=no |
1326 | + output_verbose_link_cmd=func_echo_all | | 1338 | + output_verbose_link_cmd=func_echo_all |
1327 | ;; | | 1339 | ;; |
1328 | | | 1340 | |
1329 | newsos6) | | 1341 | newsos6) |
1330 | @@ -24401,6 +24765,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 1342 | @@ -24401,6 +24752,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
1331 | ;; | | 1343 | ;; |
1332 | | | 1344 | |
1333 | *nto* | *qnx*) | | 1345 | *nto* | *qnx*) |
1334 | + archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1346 | + archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1335 | + archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1347 | + archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1336 | + hardcode_libdir_flag_spec_GO='-R$libdir' | | 1348 | + hardcode_libdir_flag_spec_GO='-R$libdir' |
1337 | + hardcode_direct_GO=yes | | 1349 | + hardcode_direct_GO=yes |
1338 | + hardcode_shlibpath_var_GO=no | | 1350 | + hardcode_shlibpath_var_GO=no |
1339 | ;; | | 1351 | ;; |
1340 | | | 1352 | |
1341 | openbsd*) | | 1353 | openbsd*) |
1342 | @@ -24980,7 +25349,10 @@ for cc_temp in $compiler""; do | | 1354 | @@ -24980,7 +25336,10 @@ for cc_temp in $compiler""; do |
1343 | *) break;; | | 1355 | *) break;; |
1344 | esac | | 1356 | esac |
1345 | done | | 1357 | done |
1346 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | | 1358 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
1347 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 1359 | +# Return the actual command name, not our pkgsrc wrapper name because several |
1348 | +# decisions are made only based on compiler names | | 1360 | +# decisions are made only based on compiler names |
1349 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 1361 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
1350 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 1362 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
1351 | | | 1363 | |
1352 | | | 1364 | |
1353 | # GCJ did not exist at the time GCC didn't implicitly link libc in. | | 1365 | # GCJ did not exist at the time GCC didn't implicitly link libc in. |
1354 | @@ -25100,9 +25472,16 @@ lt_prog_compiler_static_GCJ= | | 1366 | @@ -25100,9 +25459,16 @@ lt_prog_compiler_static_GCJ= |
1355 | ;; | | 1367 | ;; |
1356 | | | 1368 | |
1357 | darwin* | rhapsody*) | | 1369 | darwin* | rhapsody*) |
1358 | - # PIC is the default on this platform | | 1370 | - # PIC is the default on this platform |
1359 | + # PIC is the default on this platform, and static linking of | | 1371 | + # PIC is the default on this platform, and static linking of |
1360 | + # binaries generally doesn't work | | 1372 | + # binaries generally doesn't work |
1361 | # Common symbols not allowed in MH_DYLIB files | | 1373 | # Common symbols not allowed in MH_DYLIB files |
1362 | lt_prog_compiler_pic_GCJ='-fno-common' | | 1374 | lt_prog_compiler_pic_GCJ='-fno-common' |
1363 | + lt_prog_compiler_static_GCJ='' | | 1375 | + lt_prog_compiler_static_GCJ='' |
1364 | + ;; | | 1376 | + ;; |
1365 | + | | 1377 | + |
1366 | + *mint*) | | 1378 | + *mint*) |
1367 | + # FreeMiNT does not support shared libraries at all | | 1379 | + # FreeMiNT does not support shared libraries at all |
1368 | + lt_prog_compiler_pic_GCJ= | | 1380 | + lt_prog_compiler_pic_GCJ= |
1369 | ;; | | 1381 | ;; |
1370 | | | 1382 | |
1371 | haiku*) | | 1383 | haiku*) |
1372 | @@ -25130,6 +25509,13 @@ lt_prog_compiler_static_GCJ= | | 1384 | @@ -25130,6 +25496,13 @@ lt_prog_compiler_static_GCJ= |
1373 | # Instead, we relocate shared libraries at runtime. | | 1385 | # Instead, we relocate shared libraries at runtime. |
1374 | ;; | | 1386 | ;; |
1375 | | | 1387 | |
1376 | + mint*) | | 1388 | + mint*) |
1377 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 1389 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
1378 | + # on systems that don't support them. | | 1390 | + # on systems that don't support them. |
1379 | + lt_prog_compiler_can_build_shared_GCJ=no | | 1391 | + lt_prog_compiler_can_build_shared_GCJ=no |
1380 | + enable_shared=no | | 1392 | + enable_shared=no |
1381 | + ;; | | 1393 | + ;; |
1382 | + | | 1394 | + |
1383 | msdosdjgpp*) | | 1395 | msdosdjgpp*) |
1384 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 1396 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
1385 | # on systems that don't support them. | | 1397 | # on systems that don't support them. |
1386 | @@ -25282,6 +25668,15 @@ lt_prog_compiler_static_GCJ= | | 1398 | @@ -25282,6 +25655,15 @@ lt_prog_compiler_static_GCJ= |
1387 | esac | | 1399 | esac |
1388 | ;; | | 1400 | ;; |
1389 | | | 1401 | |
1390 | + mirbsd*) | | 1402 | + mirbsd*) |
1391 | + case $cc_basename in | | 1403 | + case $cc_basename in |
1392 | + # pkgsrc f77 is f2c, which uses gcc underneath. | | 1404 | + # pkgsrc f77 is f2c, which uses gcc underneath. |
1393 | + f77*) | | 1405 | + f77*) |
1394 | + lt_prog_compiler_wl_GCJ='-Wl,' | | 1406 | + lt_prog_compiler_wl_GCJ='-Wl,' |
1395 | + ;; | | 1407 | + ;; |
1396 | + esac | | 1408 | + esac |
1397 | + ;; | | 1409 | + ;; |
1398 | + | | 1410 | + |
1399 | newsos6) | | 1411 | newsos6) |
1400 | lt_prog_compiler_pic_GCJ='-KPIC' | | 1412 | lt_prog_compiler_pic_GCJ='-KPIC' |
1401 | lt_prog_compiler_static_GCJ='-Bstatic' | | 1413 | lt_prog_compiler_static_GCJ='-Bstatic' |
1402 | @@ -25357,6 +25752,9 @@ lt_prog_compiler_static_GCJ= | | 1414 | @@ -25357,6 +25739,9 @@ lt_prog_compiler_static_GCJ= |
1403 | | | 1415 | |
1404 | case $host_os in | | 1416 | case $host_os in |
1405 | # For platforms which do not support PIC, -DPIC is meaningless: | | 1417 | # For platforms which do not support PIC, -DPIC is meaningless: |
1406 | + mint*) | | 1418 | + mint*) |
1407 | + lt_prog_compiler_pic_GCJ= | | 1419 | + lt_prog_compiler_pic_GCJ= |
1408 | + ;; | | 1420 | + ;; |
1409 | *djgpp*) | | 1421 | *djgpp*) |
1410 | lt_prog_compiler_pic_GCJ= | | 1422 | lt_prog_compiler_pic_GCJ= |
1411 | ;; | | 1423 | ;; |
1412 | @@ -25887,16 +26285,29 @@ _LT_EOF | | 1424 | @@ -25887,16 +26272,29 @@ _LT_EOF |
1413 | fi | | 1425 | fi |
1414 | ;; | | 1426 | ;; |
1415 | | | 1427 | |
1416 | - netbsd*) | | 1428 | - netbsd*) |
1417 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 1429 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1418 | - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 1430 | - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
1419 | - wlarc= | | 1431 | - wlarc= |
1420 | + mirbsd*) | | 1432 | + mirbsd*) |
1421 | + if test -f /usr/libexec/ld.so; then | | 1433 | + if test -f /usr/libexec/ld.so; then |
1422 | + hardcode_direct_GCJ=yes | | 1434 | + hardcode_direct_GCJ=yes |
1423 | + hardcode_shlibpath_var_GCJ=no | | 1435 | + hardcode_shlibpath_var_GCJ=no |
1424 | + hardcode_direct_absolute_GCJ=yes | | 1436 | + hardcode_direct_absolute_GCJ=yes |
1425 | + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | | 1437 | + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
1426 | + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | | 1438 | + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
1427 | + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | | 1439 | + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
1428 | + export_dynamic_flag_spec_GCJ='${wl}-E' | | 1440 | + export_dynamic_flag_spec_GCJ='${wl}-E' |
1429 | else | | 1441 | else |
1430 | - archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1442 | - archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1431 | - archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1443 | - archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1432 | + ld_shlibs_GCJ=no | | 1444 | + ld_shlibs_GCJ=no |
1433 | fi | | 1445 | fi |
1434 | ;; | | 1446 | ;; |
1435 | | | 1447 | |
1436 | + netbsd*) | | 1448 | + netbsd*) |
1437 | + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1449 | + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1438 | + archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1450 | + archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1439 | + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | | 1451 | + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
1440 | + hardcode_direct_GCJ=yes | | 1452 | + hardcode_direct_GCJ=yes |
1441 | + hardcode_shlibpath_var_GCJ=no | | 1453 | + hardcode_shlibpath_var_GCJ=no |
1442 | + output_verbose_link_cmd=func_echo_all | | 1454 | + output_verbose_link_cmd=func_echo_all |
1443 | + ;; | | 1455 | + ;; |
1444 | + | | 1456 | + |
1445 | solaris*) | | 1457 | solaris*) |
1446 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | | 1458 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
1447 | ld_shlibs_GCJ=no | | 1459 | ld_shlibs_GCJ=no |
1448 | @@ -26305,7 +26716,7 @@ fi | | 1460 | @@ -26305,7 +26703,7 @@ fi |
1449 | allow_undefined_flag_GCJ="$_lt_dar_allow_undefined" | | 1461 | allow_undefined_flag_GCJ="$_lt_dar_allow_undefined" |
1450 | case $cc_basename in | | 1462 | case $cc_basename in |
1451 | ifort*) _lt_dar_can_shared=yes ;; | | 1463 | ifort*) _lt_dar_can_shared=yes ;; |
1452 | - *) _lt_dar_can_shared=$GCC ;; | | 1464 | - *) _lt_dar_can_shared=$GCC ;; |
1453 | + *) _lt_dar_can_shared=yes ;; | | 1465 | + *) _lt_dar_can_shared=yes ;; |
1454 | esac | | 1466 | esac |
1455 | if test "$_lt_dar_can_shared" = "yes"; then | | 1467 | if test "$_lt_dar_can_shared" = "yes"; then |
1456 | output_verbose_link_cmd=func_echo_all | | 1468 | output_verbose_link_cmd=func_echo_all |
1457 | @@ -26478,15 +26889,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 1469 | @@ -26478,15 +26876,28 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
1458 | link_all_deplibs_GCJ=yes | | 1470 | link_all_deplibs_GCJ=yes |
1459 | ;; | | 1471 | ;; |
1460 | | | 1472 | |
1461 | - netbsd*) | | 1473 | - netbsd*) |
1462 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 1474 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1463 | - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | | 1475 | - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
1464 | + mirbsd*) | | 1476 | + mirbsd*) |
1465 | + if test -f /usr/libexec/ld.so; then | | 1477 | + if test -f /usr/libexec/ld.so; then |
1466 | + hardcode_direct_GCJ=yes | | 1478 | + hardcode_direct_GCJ=yes |
1467 | + hardcode_shlibpath_var_GCJ=no | | 1479 | + hardcode_shlibpath_var_GCJ=no |
1468 | + hardcode_direct_absolute_GCJ=yes | | 1480 | + hardcode_direct_absolute_GCJ=yes |
1469 | + archive_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | | 1481 | + archive_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
1470 | + archive_expsym_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | | 1482 | + archive_expsym_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
1471 | + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | | 1483 | + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
1472 | + export_dynamic_flag_spec_GCJ='${wl}-E' | | 1484 | + export_dynamic_flag_spec_GCJ='${wl}-E' |
1473 | + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | | 1485 | + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
1474 | else | | 1486 | else |
1475 | - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | | 1487 | - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
1476 | + ld_shlibs_GCJ=no | | 1488 | + ld_shlibs_GCJ=no |
1477 | fi | | 1489 | fi |
1478 | - hardcode_libdir_flag_spec_GCJ='-R$libdir' | | 1490 | - hardcode_libdir_flag_spec_GCJ='-R$libdir' |
1479 | + ;; | | 1491 | + ;; |
1480 | + | | 1492 | + |
1481 | + netbsd*) | | 1493 | + netbsd*) |
1482 | + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1494 | + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1483 | + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1495 | + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1484 | + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | | 1496 | + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
1485 | hardcode_direct_GCJ=yes | | 1497 | hardcode_direct_GCJ=yes |
1486 | hardcode_shlibpath_var_GCJ=no | | 1498 | hardcode_shlibpath_var_GCJ=no |
1487 | + output_verbose_link_cmd=func_echo_all | | 1499 | + output_verbose_link_cmd=func_echo_all |
1488 | ;; | | 1500 | ;; |
1489 | | | 1501 | |
1490 | newsos6) | | 1502 | newsos6) |
1491 | @@ -26498,6 +26922,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > | | 1503 | @@ -26498,6 +26909,11 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
1492 | ;; | | 1504 | ;; |
1493 | | | 1505 | |
1494 | *nto* | *qnx*) | | 1506 | *nto* | *qnx*) |
1495 | + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1507 | + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
1496 | + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1508 | + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
1497 | + hardcode_libdir_flag_spec_GCJ='-R$libdir' | | 1509 | + hardcode_libdir_flag_spec_GCJ='-R$libdir' |
1498 | + hardcode_direct_GCJ=yes | | 1510 | + hardcode_direct_GCJ=yes |
1499 | + hardcode_shlibpath_var_GCJ=no | | 1511 | + hardcode_shlibpath_var_GCJ=no |
1500 | ;; | | 1512 | ;; |
1501 | | | 1513 | |
1502 | openbsd*) | | 1514 | openbsd*) |
1503 | @@ -27075,7 +27504,10 @@ for cc_temp in $compiler""; do | | 1515 | @@ -27075,7 +27491,10 @@ for cc_temp in $compiler""; do |
1504 | *) break;; | | 1516 | *) break;; |
1505 | esac | | 1517 | esac |
1506 | done | | 1518 | done |
1507 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | | 1519 | -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
1508 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 1520 | +# Return the actual command name, not our pkgsrc wrapper name because several |
1509 | +# decisions are made only based on compiler names | | 1521 | +# decisions are made only based on compiler names |
1510 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 1522 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
1511 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 1523 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
1512 | | | 1524 | |
1513 | lt_cv_prog_compiler_c_o_RC=yes | | 1525 | lt_cv_prog_compiler_c_o_RC=yes |
1514 | | | 1526 | |