| @@ -1,239 +1,300 @@ | | | @@ -1,239 +1,300 @@ |
1 | $NetBSD: patch-ab,v 1.68 2010/03/17 10:59:45 markd Exp $ | | 1 | $NetBSD: patch-ab,v 1.69 2011/03/23 15:46:36 obache Exp $ |
2 | | | 2 | |
3 | The last two chunks work around bugs in ksh on NetBSD. | | 3 | The last two chunks work around bugs in ksh on NetBSD. |
4 | The problem manifests with wl and no_builtin_flag containing newlines. | | 4 | The problem manifests with wl and no_builtin_flag containing newlines. |
5 | | | 5 | |
6 | --- configure.orig 2009-11-16 13:14:55.000000000 +0000 | | 6 | --- configure.orig 2010-06-19 07:24:20.000000000 +0000 |
7 | +++ configure | | 7 | +++ configure |
8 | @@ -5293,6 +5293,13 @@ else | | 8 | @@ -5293,6 +5293,13 @@ else |
9 | lt_cv_sys_max_cmd_len=8192; | | 9 | lt_cv_sys_max_cmd_len=8192; |
10 | ;; | | 10 | ;; |
11 | | | 11 | |
12 | + mint*) | | 12 | + mint*) |
13 | + # On MiNT we can support fairly large cmd lengths, but it takes | | 13 | + # On MiNT we can support fairly large cmd lengths, but it takes |
14 | + # a while to run the tests, so let's restrict it to something | | 14 | + # a while to run the tests, so let's restrict it to something |
15 | + # reasonable. | | 15 | + # reasonable. |
16 | + lt_cv_sys_max_cmd_len=8192; | | 16 | + lt_cv_sys_max_cmd_len=8192; |
17 | + ;; | | 17 | + ;; |
18 | + | | 18 | + |
19 | amigaos*) | | 19 | amigaos*) |
20 | # On AmigaOS with pdksh, this test takes hours, literally. | | 20 | # On AmigaOS with pdksh, this test takes hours, literally. |
21 | # So we just punt and use a minimum line length of 8192. | | 21 | # So we just punt and use a minimum line length of 8192. |
22 | @@ -5718,7 +5725,7 @@ newos6*) | | 22 | @@ -5665,6 +5672,10 @@ gnu*) |
| | | 23 | lt_cv_deplibs_check_method=pass_all |
| | | 24 | ;; |
| | | 25 | |
| | | 26 | +haiku*) |
| | | 27 | + lt_cv_deplibs_check_method=pass_all |
| | | 28 | + ;; |
| | | 29 | + |
| | | 30 | hpux10.20* | hpux11*) |
| | | 31 | lt_cv_file_magic_cmd=/usr/bin/file |
| | | 32 | case $host_cpu in |
| | | 33 | @@ -5718,7 +5729,7 @@ newos6*) |
23 | ;; | | 34 | ;; |
24 | | | 35 | |
25 | *nto* | *qnx*) | | 36 | *nto* | *qnx*) |
26 | - lt_cv_deplibs_check_method=pass_all | | 37 | - lt_cv_deplibs_check_method=pass_all |
27 | + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|S\.a)$' | | 38 | + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|S\.a)$' |
28 | ;; | | 39 | ;; |
29 | | | 40 | |
30 | openbsd*) | | 41 | openbsd*) |
31 | @@ -7900,7 +7907,10 @@ for cc_temp in $compiler""; do | | 42 | @@ -7900,7 +7911,10 @@ for cc_temp in $compiler""; do |
32 | *) break;; | | 43 | *) break;; |
33 | esac | | 44 | esac |
34 | done | | 45 | done |
35 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 46 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
36 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 47 | +# Return the actual command name, not our pkgsrc wrapper name because several |
37 | +# decisions are made only based on compiler names | | 48 | +# decisions are made only based on compiler names |
38 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 49 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
39 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 50 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
40 | | | 51 | |
41 | | | 52 | |
42 | # Only perform the check for file, if the check method requires it | | 53 | # Only perform the check for file, if the check method requires it |
43 | @@ -8210,9 +8220,11 @@ $as_echo_n "checking for $compiler optio | | 54 | @@ -8210,9 +8224,17 @@ $as_echo_n "checking for $compiler optio |
44 | ;; | | 55 | ;; |
45 | | | 56 | |
46 | darwin* | rhapsody*) | | 57 | darwin* | rhapsody*) |
47 | - # PIC is the default on this platform | | 58 | - # PIC is the default on this platform |
48 | + # PIC is the default on this platform, and static linking of | | 59 | + # PIC is the default on this platform, and static linking of |
49 | + # binaries generally doesn't work | | 60 | + # binaries generally doesn't work |
50 | # Common symbols not allowed in MH_DYLIB files | | 61 | # Common symbols not allowed in MH_DYLIB files |
51 | lt_prog_compiler_pic='-fno-common' | | 62 | lt_prog_compiler_pic='-fno-common' |
52 | + lt_prog_compiler_static='' | | 63 | + lt_prog_compiler_static='' |
| | | 64 | + ;; |
| | | 65 | + |
| | | 66 | + haiku*) |
| | | 67 | + # PIC is the default for Haiku. |
| | | 68 | + # The "-static" flag exists, but is broken. |
| | | 69 | + lt_prog_compiler_static= |
53 | ;; | | 70 | ;; |
54 | | | 71 | |
55 | hpux*) | | 72 | hpux*) |
56 | @@ -8234,6 +8246,13 @@ $as_echo_n "checking for $compiler optio | | 73 | @@ -8234,6 +8256,13 @@ $as_echo_n "checking for $compiler optio |
57 | # Instead, we relocate shared libraries at runtime. | | 74 | # Instead, we relocate shared libraries at runtime. |
58 | ;; | | 75 | ;; |
59 | | | 76 | |
60 | + mint*) | | 77 | + mint*) |
61 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 78 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
62 | + # on systems that don't support them. | | 79 | + # on systems that don't support them. |
63 | + lt_prog_compiler_can_build_shared=no | | 80 | + lt_prog_compiler_can_build_shared=no |
64 | + enable_shared=no | | 81 | + enable_shared=no |
65 | + ;; | | 82 | + ;; |
66 | + | | 83 | + |
67 | msdosdjgpp*) | | 84 | msdosdjgpp*) |
68 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 85 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
69 | # on systems that don't support them. | | 86 | # on systems that don't support them. |
70 | @@ -8431,6 +8450,9 @@ $as_echo_n "checking for $compiler optio | | 87 | @@ -8431,6 +8460,9 @@ $as_echo_n "checking for $compiler optio |
71 | | | 88 | |
72 | case $host_os in | | 89 | case $host_os in |
73 | # For platforms which do not support PIC, -DPIC is meaningless: | | 90 | # For platforms which do not support PIC, -DPIC is meaningless: |
74 | + mint*) | | 91 | + mint*) |
75 | + lt_prog_compiler_pic= | | 92 | + lt_prog_compiler_pic= |
76 | + ;; | | 93 | + ;; |
77 | *djgpp*) | | 94 | *djgpp*) |
78 | lt_prog_compiler_pic= | | 95 | lt_prog_compiler_pic= |
79 | ;; | | 96 | ;; |
80 | @@ -8930,7 +8952,7 @@ _LT_EOF | | 97 | @@ -8844,6 +8876,11 @@ _LT_EOF |
| | | 98 | fi |
| | | 99 | ;; |
| | | 100 | |
| | | 101 | + haiku*) |
| | | 102 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| | | 103 | + link_all_deplibs=yes |
| | | 104 | + ;; |
| | | 105 | + |
| | | 106 | interix[3-9]*) |
| | | 107 | hardcode_direct=no |
| | | 108 | hardcode_shlibpath_var=no |
| | | 109 | @@ -8930,7 +8967,7 @@ _LT_EOF |
81 | ;; | | 110 | ;; |
82 | | | 111 | |
83 | netbsd*) | | 112 | netbsd*) |
84 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 113 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
85 | + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | grep __G95__ >/dev/null; then | | 114 | + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | grep __G95__ >/dev/null; then |
86 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 115 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
87 | wlarc= | | 116 | wlarc= |
88 | else | | 117 | else |
89 | @@ -9450,6 +9472,8 @@ rm -f core conftest.err conftest.$ac_obj | | 118 | @@ -9450,6 +9487,8 @@ rm -f core conftest.err conftest.$ac_obj |
90 | ;; | | 119 | ;; |
91 | | | 120 | |
92 | *nto* | *qnx*) | | 121 | *nto* | *qnx*) |
93 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 122 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
94 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 123 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
95 | ;; | | 124 | ;; |
96 | | | 125 | |
97 | openbsd*) | | 126 | openbsd*) |
98 | @@ -10064,6 +10088,7 @@ beos*) | | 127 | @@ -10064,6 +10103,7 @@ beos*) |
99 | bsdi[45]*) | | 128 | bsdi[45]*) |
100 | version_type=linux | | 129 | version_type=linux |
101 | need_version=no | | 130 | need_version=no |
102 | + need_lib_prefix=no | | 131 | + need_lib_prefix=no |
103 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | | 132 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
104 | soname_spec='${libname}${release}${shared_ext}$major' | | 133 | soname_spec='${libname}${release}${shared_ext}$major' |
105 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | | 134 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
106 | @@ -10165,9 +10190,7 @@ freebsd1*) | | 135 | @@ -10165,9 +10205,7 @@ freebsd1*) |
107 | dynamic_linker=no | | 136 | dynamic_linker=no |
108 | ;; | | 137 | ;; |
109 | | | 138 | |
110 | -freebsd* | dragonfly*) | | 139 | -freebsd* | dragonfly*) |
111 | - # DragonFly does not have aout. When/if they implement a new | | 140 | - # DragonFly does not have aout. When/if they implement a new |
112 | - # versioning mechanism, adjust this. | | 141 | - # versioning mechanism, adjust this. |
113 | +freebsd*) | | 142 | +freebsd*) |
114 | if test -x /usr/bin/objformat; then | | 143 | if test -x /usr/bin/objformat; then |
115 | objformat=`/usr/bin/objformat` | | 144 | objformat=`/usr/bin/objformat` |
116 | else | | 145 | else |
117 | @@ -10179,7 +10202,7 @@ freebsd* | dragonfly*) | | 146 | @@ -10179,7 +10217,7 @@ freebsd* | dragonfly*) |
118 | version_type=freebsd-$objformat | | 147 | version_type=freebsd-$objformat |
119 | case $version_type in | | 148 | case $version_type in |
120 | freebsd-elf*) | | 149 | freebsd-elf*) |
121 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | 150 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
122 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 151 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
123 | need_version=no | | 152 | need_version=no |
124 | need_lib_prefix=no | | 153 | need_lib_prefix=no |
125 | ;; | | 154 | ;; |
126 | @@ -10202,13 +10225,24 @@ freebsd* | dragonfly*) | | 155 | @@ -10202,13 +10240,24 @@ freebsd* | dragonfly*) |
127 | shlibpath_overrides_runpath=no | | 156 | shlibpath_overrides_runpath=no |
128 | hardcode_into_libs=yes | | 157 | hardcode_into_libs=yes |
129 | ;; | | 158 | ;; |
130 | - *) # from 4.6 on, and DragonFly | | 159 | - *) # from 4.6 on, and DragonFly |
131 | + *) # from 4.6 on | | 160 | + *) # from 4.6 on |
132 | shlibpath_overrides_runpath=yes | | 161 | shlibpath_overrides_runpath=yes |
133 | hardcode_into_libs=yes | | 162 | hardcode_into_libs=yes |
134 | ;; | | 163 | ;; |
135 | esac | | 164 | esac |
136 | ;; | | 165 | ;; |
137 | | | 166 | |
138 | +dragonfly*) | | 167 | +dragonfly*) |
139 | + version_type=linux | | 168 | + version_type=linux |
140 | + need_version=no | | 169 | + need_version=no |
141 | + need_lib_prefix=no | | 170 | + need_lib_prefix=no |
142 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 171 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
143 | + soname_spec='${libname}${release}${shared_ext}$major' | | 172 | + soname_spec='${libname}${release}${shared_ext}$major' |
144 | + shlibpath_var=LD_LIBRARY_PATH | | 173 | + shlibpath_var=LD_LIBRARY_PATH |
145 | + shlibpath_overrides_runpath=no | | 174 | + shlibpath_overrides_runpath=no |
146 | + hardcode_into_libs=yes | | 175 | + hardcode_into_libs=yes |
147 | + ;; | | 176 | + ;; |
148 | + | | 177 | + |
149 | gnu*) | | 178 | gnu*) |
150 | version_type=linux | | 179 | version_type=linux |
151 | need_lib_prefix=no | | 180 | need_lib_prefix=no |
152 | @@ -10280,12 +10314,7 @@ interix[3-9]*) | | 181 | @@ -10219,6 +10268,19 @@ gnu*) |
| | | 182 | hardcode_into_libs=yes |
| | | 183 | ;; |
| | | 184 | |
| | | 185 | +haiku*) |
| | | 186 | + version_type=linux |
| | | 187 | + need_lib_prefix=no |
| | | 188 | + need_version=no |
| | | 189 | + dynamic_linker="$host_os runtime_loader" |
| | | 190 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| | | 191 | + soname_spec='${libname}${release}${shared_ext}$major' |
| | | 192 | + shlibpath_var=LIBRARY_PATH |
| | | 193 | + shlibpath_overrides_runpath=yes |
| | | 194 | + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| | | 195 | + hardcode_into_libs=yes |
| | | 196 | + ;; |
| | | 197 | + |
| | | 198 | hpux9* | hpux10* | hpux11*) |
| | | 199 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| | | 200 | # link against other versions. |
| | | 201 | @@ -10280,12 +10342,7 @@ interix[3-9]*) |
153 | irix5* | irix6* | nonstopux*) | | 202 | irix5* | irix6* | nonstopux*) |
154 | case $host_os in | | 203 | case $host_os in |
155 | nonstopux*) version_type=nonstopux ;; | | 204 | nonstopux*) version_type=nonstopux ;; |
156 | - *) | | 205 | - *) |
157 | - if test "$lt_cv_prog_gnu_ld" = yes; then | | 206 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
158 | - version_type=linux | | 207 | - version_type=linux |
159 | - else | | 208 | - else |
160 | - version_type=irix | | 209 | - version_type=irix |
161 | - fi ;; | | 210 | - fi ;; |
162 | + *) version_type=irix ;; | | 211 | + *) version_type=irix ;; |
163 | esac | | 212 | esac |
164 | need_lib_prefix=no | | 213 | need_lib_prefix=no |
165 | need_version=no | | 214 | need_version=no |
166 | @@ -10376,15 +10405,14 @@ rm -f core conftest.err conftest.$ac_obj | | 215 | @@ -10376,15 +10433,14 @@ rm -f core conftest.err conftest.$ac_obj |
167 | ;; | | 216 | ;; |
168 | | | 217 | |
169 | netbsd*) | | 218 | netbsd*) |
170 | - version_type=sunos | | 219 | - version_type=sunos |
171 | + version_type=linux | | 220 | + version_type=linux |
172 | need_lib_prefix=no | | 221 | need_lib_prefix=no |
173 | need_version=no | | 222 | need_version=no |
174 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 223 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
175 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 224 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
176 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 225 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
177 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | $GREP __G95__ >/dev/null; then | | 226 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | $GREP __G95__ >/dev/null; then |
178 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 227 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
179 | dynamic_linker='NetBSD (a.out) ld.so' | | 228 | dynamic_linker='NetBSD (a.out) ld.so' |
180 | else | | 229 | else |
181 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 230 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
182 | soname_spec='${libname}${release}${shared_ext}$major' | | 231 | soname_spec='${libname}${release}${shared_ext}$major' |
183 | dynamic_linker='NetBSD ld.elf_so' | | 232 | dynamic_linker='NetBSD ld.elf_so' |
184 | fi | | 233 | fi |
185 | @@ -10413,7 +10441,7 @@ newsos6) | | 234 | @@ -10413,7 +10469,7 @@ newsos6) |
186 | ;; | | 235 | ;; |
187 | | | 236 | |
188 | openbsd*) | | 237 | openbsd*) |
189 | - version_type=sunos | | 238 | - version_type=sunos |
190 | + version_type=linux | | 239 | + version_type=linux |
191 | sys_lib_dlsearch_path_spec="/usr/lib" | | 240 | sys_lib_dlsearch_path_spec="/usr/lib" |
192 | need_lib_prefix=no | | 241 | need_lib_prefix=no |
193 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | | 242 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
194 | @@ -10421,7 +10449,7 @@ openbsd*) | | 243 | @@ -10421,7 +10477,7 @@ openbsd*) |
195 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | | 244 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
196 | *) need_version=no ;; | | 245 | *) need_version=no ;; |
197 | esac | | 246 | esac |
198 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 247 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
199 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 248 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
200 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 249 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
201 | shlibpath_var=LD_LIBRARY_PATH | | 250 | shlibpath_var=LD_LIBRARY_PATH |
202 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | 251 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
203 | @@ -12587,9 +12615,7 @@ else | | 252 | @@ -12587,9 +12643,7 @@ else |
204 | fi | | 253 | fi |
205 | | | 254 | |
206 | | | 255 | |
207 | -if test -n "$CXX" && ( test "X$CXX" != "Xno" && | | 256 | -if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
208 | - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || | | 257 | - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
209 | - (test "X$CXX" != "Xg++"))) ; then | | 258 | - (test "X$CXX" != "Xg++"))) ; then |
210 | +if test -n "$CXX" && test "X$CXX" != "Xno" ; then | | 259 | +if test -n "$CXX" && test "X$CXX" != "Xno" ; then |
211 | ac_ext=cpp | | 260 | ac_ext=cpp |
212 | ac_cpp='$CXXCPP $CPPFLAGS' | | 261 | ac_cpp='$CXXCPP $CPPFLAGS' |
213 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 262 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
214 | @@ -12836,7 +12862,10 @@ $RM -r conftest* | | 263 | @@ -12836,7 +12890,10 @@ $RM -r conftest* |
215 | *) break;; | | 264 | *) break;; |
216 | esac | | 265 | esac |
217 | done | | 266 | done |
218 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 267 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
219 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 268 | +# Return the actual command name, not our pkgsrc wrapper name because several |
220 | +# decisions are made only based on compiler names | | 269 | +# decisions are made only based on compiler names |
221 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 270 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
222 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 271 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
223 | | | 272 | |
224 | | | 273 | |
225 | if test -n "$compiler"; then | | 274 | if test -n "$compiler"; then |
226 | @@ -13628,18 +13657,37 @@ if test -z "$aix_libpath"; then aix_libp | | 275 | @@ -13305,6 +13362,11 @@ if test -z "$aix_libpath"; then aix_libp |
| | | 276 | gnu*) |
| | | 277 | ;; |
| | | 278 | |
| | | 279 | + haiku*) |
| | | 280 | + archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| | | 281 | + link_all_deplibs_CXX=yes |
| | | 282 | + ;; |
| | | 283 | + |
| | | 284 | hpux9*) |
| | | 285 | hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
| | | 286 | hardcode_libdir_separator_CXX=: |
| | | 287 | @@ -13628,18 +13690,37 @@ if test -z "$aix_libpath"; then aix_libp |
227 | | | 288 | |
228 | netbsd*) | | 289 | netbsd*) |
229 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 290 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
230 | + # a.out is quite broken and goes directly to ld | | 291 | + # a.out is quite broken and goes directly to ld |
231 | archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' | | 292 | archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
232 | wlarc= | | 293 | wlarc= |
233 | + # Determine if we need to override the c++rt0 that is | | 294 | + # Determine if we need to override the c++rt0 that is |
234 | + # picked up by analysing output_verbose_link_cmds | | 295 | + # picked up by analysing output_verbose_link_cmds |
235 | + if test -f ${PREFIX}/lib/c++rt0/c++rt0.o.PIC; then | | 296 | + if test -f ${PREFIX}/lib/c++rt0/c++rt0.o.PIC; then |
236 | + cpprt0_file="${PREFIX}/lib/c++rt0/c++rt0.o.PIC" | | 297 | + cpprt0_file="${PREFIX}/lib/c++rt0/c++rt0.o.PIC" |
237 | + else | | 298 | + else |
238 | + cpprt0_file= | | 299 | + cpprt0_file= |
239 | + fi | | 300 | + fi |
| @@ -255,610 +316,734 @@ The problem manifests with wl and no_bui | | | @@ -255,610 +316,734 @@ The problem manifests with wl and no_bui |
255 | ;; | | 316 | ;; |
256 | | | 317 | |
257 | *nto* | *qnx*) | | 318 | *nto* | *qnx*) |
258 | - ld_shlibs_CXX=yes | | 319 | - ld_shlibs_CXX=yes |
259 | + archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 320 | + archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
260 | + archive_expsym_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 321 | + archive_expsym_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
261 | + hardcode_libdir_flag_spec_CXX='-R$libdir' | | 322 | + hardcode_libdir_flag_spec_CXX='-R$libdir' |
262 | + hardcode_direct_CXX=yes | | 323 | + hardcode_direct_CXX=yes |
263 | + hardcode_shlibpath_var_CXX=no | | 324 | + hardcode_shlibpath_var_CXX=no |
264 | + output_verbose_link_cmd='echo' | | 325 | + output_verbose_link_cmd='echo' |
265 | ;; | | 326 | ;; |
266 | | | 327 | |
267 | openbsd2*) | | 328 | openbsd2*) |
268 | @@ -14036,6 +14084,11 @@ $RM -f confest.$objext | | 329 | @@ -14036,6 +14117,11 @@ $RM -f confest.$objext |
269 | | | 330 | |
270 | # PORTME: override above test on systems where it is broken | | 331 | # PORTME: override above test on systems where it is broken |
271 | case $host_os in | | 332 | case $host_os in |
272 | +netbsd*) | | 333 | +netbsd*) |
273 | + if test -n "$cpprt0_file"; then | | 334 | + if test -n "$cpprt0_file"; then |
274 | + predep_objects_CXX=`eval echo $predep_objects_CXX | sed -e 's:/usr/lib/c++rt0.o:$cpprt0_file:'` | | 335 | + predep_objects_CXX=`eval echo $predep_objects_CXX | sed -e 's:/usr/lib/c++rt0.o:$cpprt0_file:'` |
275 | + fi | | 336 | + fi |
276 | + ;; | | 337 | + ;; |
277 | interix[3-9]*) | | 338 | interix[3-9]*) |
278 | # Interix 3.5 installs completely hosed .la files for C++, so rather than | | 339 | # Interix 3.5 installs completely hosed .la files for C++, so rather than |
279 | # hack all around it, let's just trust "g++" to DTRT. | | 340 | # hack all around it, let's just trust "g++" to DTRT. |
280 | @@ -14176,9 +14229,15 @@ $as_echo_n "checking for $compiler optio | | 341 | @@ -14176,14 +14262,25 @@ $as_echo_n "checking for $compiler optio |
281 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | | 342 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
282 | ;; | | 343 | ;; |
283 | darwin* | rhapsody*) | | 344 | darwin* | rhapsody*) |
284 | - # PIC is the default on this platform | | 345 | - # PIC is the default on this platform |
285 | + # PIC is the default on this platform, and static linking of | | 346 | + # PIC is the default on this platform, and static linking of |
286 | + # binaries generally doesn't work | | 347 | + # binaries generally doesn't work |
287 | # Common symbols not allowed in MH_DYLIB files | | 348 | # Common symbols not allowed in MH_DYLIB files |
288 | lt_prog_compiler_pic_CXX='-fno-common' | | 349 | lt_prog_compiler_pic_CXX='-fno-common' |
289 | + lt_prog_compiler_static_CXX='' | | 350 | + lt_prog_compiler_static_CXX='' |
290 | + ;; | | 351 | + ;; |
291 | + *mint*) | | 352 | + *mint*) |
292 | + # FreeMiNT does not support shared libraries at all | | 353 | + # FreeMiNT does not support shared libraries at all |
293 | + lt_prog_compiler_pic_CXX= | | 354 | + lt_prog_compiler_pic_CXX= |
294 | ;; | | 355 | ;; |
295 | *djgpp*) | | 356 | *djgpp*) |
296 | # DJGPP does not support shared libraries at all | | 357 | # DJGPP does not support shared libraries at all |
297 | @@ -14246,6 +14305,9 @@ $as_echo_n "checking for $compiler optio | | 358 | lt_prog_compiler_pic_CXX= |
| | | 359 | ;; |
| | | 360 | + haiku*) |
| | | 361 | + # PIC is the default for Haiku. |
| | | 362 | + # The "-static" flag exists, but is broken. |
| | | 363 | + lt_prog_compiler_static_CXX= |
| | | 364 | + ;; |
| | | 365 | interix[3-9]*) |
| | | 366 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| | | 367 | # Instead, we relocate shared libraries at runtime. |
| | | 368 | @@ -14246,6 +14343,9 @@ $as_echo_n "checking for $compiler optio |
298 | ;; | | 369 | ;; |
299 | esac | | 370 | esac |
300 | ;; | | 371 | ;; |
301 | + mint*) | | 372 | + mint*) |
302 | + # FreeMiNT uses GNU C++ | | 373 | + # FreeMiNT uses GNU C++ |
303 | + ;; | | 374 | + ;; |
304 | freebsd* | dragonfly*) | | 375 | freebsd* | dragonfly*) |
305 | # FreeBSD uses GNU C++ | | 376 | # FreeBSD uses GNU C++ |
306 | ;; | | 377 | ;; |
307 | @@ -14443,6 +14505,9 @@ $as_echo_n "checking for $compiler optio | | 378 | @@ -14443,6 +14543,9 @@ $as_echo_n "checking for $compiler optio |
308 | | | 379 | |
309 | case $host_os in | | 380 | case $host_os in |
310 | # For platforms which do not support PIC, -DPIC is meaningless: | | 381 | # For platforms which do not support PIC, -DPIC is meaningless: |
311 | + mint*) | | 382 | + mint*) |
312 | + lt_prog_compiler_pic_CXX= | | 383 | + lt_prog_compiler_pic_CXX= |
313 | + ;; | | 384 | + ;; |
314 | *djgpp*) | | 385 | *djgpp*) |
315 | lt_prog_compiler_pic_CXX= | | 386 | lt_prog_compiler_pic_CXX= |
316 | ;; | | 387 | ;; |
317 | @@ -14948,6 +15013,7 @@ beos*) | | 388 | @@ -14948,6 +15051,7 @@ beos*) |
318 | bsdi[45]*) | | 389 | bsdi[45]*) |
319 | version_type=linux | | 390 | version_type=linux |
320 | need_version=no | | 391 | need_version=no |
321 | + need_lib_prefix=no | | 392 | + need_lib_prefix=no |
322 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | | 393 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
323 | soname_spec='${libname}${release}${shared_ext}$major' | | 394 | soname_spec='${libname}${release}${shared_ext}$major' |
324 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | | 395 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
325 | @@ -15048,9 +15114,7 @@ freebsd1*) | | 396 | @@ -15048,9 +15152,7 @@ freebsd1*) |
326 | dynamic_linker=no | | 397 | dynamic_linker=no |
327 | ;; | | 398 | ;; |
328 | | | 399 | |
329 | -freebsd* | dragonfly*) | | 400 | -freebsd* | dragonfly*) |
330 | - # DragonFly does not have aout. When/if they implement a new | | 401 | - # DragonFly does not have aout. When/if they implement a new |
331 | - # versioning mechanism, adjust this. | | 402 | - # versioning mechanism, adjust this. |
332 | +freebsd*) | | 403 | +freebsd*) |
333 | if test -x /usr/bin/objformat; then | | 404 | if test -x /usr/bin/objformat; then |
334 | objformat=`/usr/bin/objformat` | | 405 | objformat=`/usr/bin/objformat` |
335 | else | | 406 | else |
336 | @@ -15062,7 +15126,7 @@ freebsd* | dragonfly*) | | 407 | @@ -15062,7 +15164,7 @@ freebsd* | dragonfly*) |
337 | version_type=freebsd-$objformat | | 408 | version_type=freebsd-$objformat |
338 | case $version_type in | | 409 | case $version_type in |
339 | freebsd-elf*) | | 410 | freebsd-elf*) |
340 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | 411 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
341 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 412 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
342 | need_version=no | | 413 | need_version=no |
343 | need_lib_prefix=no | | 414 | need_lib_prefix=no |
344 | ;; | | 415 | ;; |
345 | @@ -15085,13 +15149,24 @@ freebsd* | dragonfly*) | | 416 | @@ -15085,13 +15187,24 @@ freebsd* | dragonfly*) |
346 | shlibpath_overrides_runpath=no | | 417 | shlibpath_overrides_runpath=no |
347 | hardcode_into_libs=yes | | 418 | hardcode_into_libs=yes |
348 | ;; | | 419 | ;; |
349 | - *) # from 4.6 on, and DragonFly | | 420 | - *) # from 4.6 on, and DragonFly |
350 | + *) # from 4.6 on | | 421 | + *) # from 4.6 on |
351 | shlibpath_overrides_runpath=yes | | 422 | shlibpath_overrides_runpath=yes |
352 | hardcode_into_libs=yes | | 423 | hardcode_into_libs=yes |
353 | ;; | | 424 | ;; |
354 | esac | | 425 | esac |
355 | ;; | | 426 | ;; |
356 | | | 427 | |
357 | +dragonfly*) | | 428 | +dragonfly*) |
358 | + version_type=linux | | 429 | + version_type=linux |
359 | + need_version=no | | 430 | + need_version=no |
360 | + need_lib_prefix=no | | 431 | + need_lib_prefix=no |
361 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 432 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
362 | + soname_spec='${libname}${release}${shared_ext}$major' | | 433 | + soname_spec='${libname}${release}${shared_ext}$major' |
363 | + shlibpath_var=LD_LIBRARY_PATH | | 434 | + shlibpath_var=LD_LIBRARY_PATH |
364 | + shlibpath_overrides_runpath=no | | 435 | + shlibpath_overrides_runpath=no |
365 | + hardcode_into_libs=yes | | 436 | + hardcode_into_libs=yes |
366 | + ;; | | 437 | + ;; |
367 | + | | 438 | + |
368 | gnu*) | | 439 | gnu*) |
369 | version_type=linux | | 440 | version_type=linux |
370 | need_lib_prefix=no | | 441 | need_lib_prefix=no |
371 | @@ -15163,12 +15238,7 @@ interix[3-9]*) | | 442 | @@ -15102,6 +15215,19 @@ gnu*) |
| | | 443 | hardcode_into_libs=yes |
| | | 444 | ;; |
| | | 445 | |
| | | 446 | +haiku*) |
| | | 447 | + version_type=linux |
| | | 448 | + need_lib_prefix=no |
| | | 449 | + need_version=no |
| | | 450 | + dynamic_linker="$host_os runtime_loader" |
| | | 451 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| | | 452 | + soname_spec='${libname}${release}${shared_ext}$major' |
| | | 453 | + shlibpath_var=LIBRARY_PATH |
| | | 454 | + shlibpath_overrides_runpath=yes |
| | | 455 | + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| | | 456 | + hardcode_into_libs=yes |
| | | 457 | + ;; |
| | | 458 | + |
| | | 459 | hpux9* | hpux10* | hpux11*) |
| | | 460 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| | | 461 | # link against other versions. |
| | | 462 | @@ -15163,12 +15289,7 @@ interix[3-9]*) |
372 | irix5* | irix6* | nonstopux*) | | 463 | irix5* | irix6* | nonstopux*) |
373 | case $host_os in | | 464 | case $host_os in |
374 | nonstopux*) version_type=nonstopux ;; | | 465 | nonstopux*) version_type=nonstopux ;; |
375 | - *) | | 466 | - *) |
376 | - if test "$lt_cv_prog_gnu_ld" = yes; then | | 467 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
377 | - version_type=linux | | 468 | - version_type=linux |
378 | - else | | 469 | - else |
379 | - version_type=irix | | 470 | - version_type=irix |
380 | - fi ;; | | 471 | - fi ;; |
381 | + *) version_type=irix ;; | | 472 | + *) version_type=irix ;; |
382 | esac | | 473 | esac |
383 | need_lib_prefix=no | | 474 | need_lib_prefix=no |
384 | need_version=no | | 475 | need_version=no |
385 | @@ -15259,15 +15329,14 @@ rm -f core conftest.err conftest.$ac_obj | | 476 | @@ -15259,15 +15380,14 @@ rm -f core conftest.err conftest.$ac_obj |
386 | ;; | | 477 | ;; |
387 | | | 478 | |
388 | netbsd*) | | 479 | netbsd*) |
389 | - version_type=sunos | | 480 | - version_type=sunos |
390 | + version_type=linux | | 481 | + version_type=linux |
391 | need_lib_prefix=no | | 482 | need_lib_prefix=no |
392 | need_version=no | | 483 | need_version=no |
393 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 484 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
394 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 485 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
395 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 486 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
396 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | $GREP __G95__ >/dev/null; then | | 487 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | $GREP __G95__ >/dev/null; then |
397 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 488 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
398 | dynamic_linker='NetBSD (a.out) ld.so' | | 489 | dynamic_linker='NetBSD (a.out) ld.so' |
399 | else | | 490 | else |
400 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 491 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
401 | soname_spec='${libname}${release}${shared_ext}$major' | | 492 | soname_spec='${libname}${release}${shared_ext}$major' |
402 | dynamic_linker='NetBSD ld.elf_so' | | 493 | dynamic_linker='NetBSD ld.elf_so' |
403 | fi | | 494 | fi |
404 | @@ -15296,7 +15365,7 @@ newsos6) | | 495 | @@ -15296,7 +15416,7 @@ newsos6) |
405 | ;; | | 496 | ;; |
406 | | | 497 | |
407 | openbsd*) | | 498 | openbsd*) |
408 | - version_type=sunos | | 499 | - version_type=sunos |
409 | + version_type=linux | | 500 | + version_type=linux |
410 | sys_lib_dlsearch_path_spec="/usr/lib" | | 501 | sys_lib_dlsearch_path_spec="/usr/lib" |
411 | need_lib_prefix=no | | 502 | need_lib_prefix=no |
412 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | | 503 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
413 | @@ -15304,7 +15373,7 @@ openbsd*) | | 504 | @@ -15304,7 +15424,7 @@ openbsd*) |
414 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | | 505 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
415 | *) need_version=no ;; | | 506 | *) need_version=no ;; |
416 | esac | | 507 | esac |
417 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 508 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
418 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 509 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
419 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 510 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
420 | shlibpath_var=LD_LIBRARY_PATH | | 511 | shlibpath_var=LD_LIBRARY_PATH |
421 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | 512 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
422 | @@ -15877,7 +15946,10 @@ $RM -r conftest* | | 513 | @@ -15877,7 +15997,10 @@ $RM -r conftest* |
423 | *) break;; | | 514 | *) break;; |
424 | esac | | 515 | esac |
425 | done | | 516 | done |
426 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 517 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
427 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 518 | +# Return the actual command name, not our pkgsrc wrapper name because several |
428 | +# decisions are made only based on compiler names | | 519 | +# decisions are made only based on compiler names |
429 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 520 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
430 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 521 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
431 | | | 522 | |
432 | GCC=$G77 | | 523 | GCC=$G77 |
433 | if test -n "$compiler"; then | | 524 | if test -n "$compiler"; then |
434 | @@ -15971,9 +16043,11 @@ $as_echo_n "checking for $compiler optio | | 525 | @@ -15971,9 +16094,17 @@ $as_echo_n "checking for $compiler optio |
435 | ;; | | 526 | ;; |
436 | | | 527 | |
437 | darwin* | rhapsody*) | | 528 | darwin* | rhapsody*) |
438 | - # PIC is the default on this platform | | 529 | - # PIC is the default on this platform |
439 | + # PIC is the default on this platform, and static linking of | | 530 | + # PIC is the default on this platform, and static linking of |
440 | + # binaries generally doesn't work | | 531 | + # binaries generally doesn't work |
441 | # Common symbols not allowed in MH_DYLIB files | | 532 | # Common symbols not allowed in MH_DYLIB files |
442 | lt_prog_compiler_pic_F77='-fno-common' | | 533 | lt_prog_compiler_pic_F77='-fno-common' |
443 | + lt_prog_compiler_static_F77='' | | 534 | + lt_prog_compiler_static_F77='' |
| | | 535 | + ;; |
| | | 536 | + |
| | | 537 | + haiku*) |
| | | 538 | + # PIC is the default for Haiku. |
| | | 539 | + # The "-static" flag exists, but is broken. |
| | | 540 | + lt_prog_compiler_static_F77= |
444 | ;; | | 541 | ;; |
445 | | | 542 | |
446 | hpux*) | | 543 | hpux*) |
447 | @@ -15995,6 +16069,13 @@ $as_echo_n "checking for $compiler optio | | 544 | @@ -15995,6 +16126,13 @@ $as_echo_n "checking for $compiler optio |
448 | # Instead, we relocate shared libraries at runtime. | | 545 | # Instead, we relocate shared libraries at runtime. |
449 | ;; | | 546 | ;; |
450 | | | 547 | |
451 | + mint*) | | 548 | + mint*) |
452 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 549 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
453 | + # on systems that don't support them. | | 550 | + # on systems that don't support them. |
454 | + lt_prog_compiler_can_build_shared_F77=no | | 551 | + lt_prog_compiler_can_build_shared_F77=no |
455 | + enable_shared=no | | 552 | + enable_shared=no |
456 | + ;; | | 553 | + ;; |
457 | + | | 554 | + |
458 | msdosdjgpp*) | | 555 | msdosdjgpp*) |
459 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 556 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
460 | # on systems that don't support them. | | 557 | # on systems that don't support them. |
461 | @@ -16192,6 +16273,9 @@ $as_echo_n "checking for $compiler optio | | 558 | @@ -16192,6 +16330,9 @@ $as_echo_n "checking for $compiler optio |
462 | | | 559 | |
463 | case $host_os in | | 560 | case $host_os in |
464 | # For platforms which do not support PIC, -DPIC is meaningless: | | 561 | # For platforms which do not support PIC, -DPIC is meaningless: |
465 | + mint*) | | 562 | + mint*) |
466 | + lt_prog_compiler_pic_F77= | | 563 | + lt_prog_compiler_pic_F77= |
467 | + ;; | | 564 | + ;; |
468 | *djgpp*) | | 565 | *djgpp*) |
469 | lt_prog_compiler_pic_F77= | | 566 | lt_prog_compiler_pic_F77= |
470 | ;; | | 567 | ;; |
471 | @@ -16676,7 +16760,7 @@ _LT_EOF | | 568 | @@ -16590,6 +16731,11 @@ _LT_EOF |
| | | 569 | fi |
| | | 570 | ;; |
| | | 571 | |
| | | 572 | + haiku*) |
| | | 573 | + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| | | 574 | + link_all_deplibs_F77=yes |
| | | 575 | + ;; |
| | | 576 | + |
| | | 577 | interix[3-9]*) |
| | | 578 | hardcode_direct_F77=no |
| | | 579 | hardcode_shlibpath_var_F77=no |
| | | 580 | @@ -16676,7 +16822,7 @@ _LT_EOF |
472 | ;; | | 581 | ;; |
473 | | | 582 | |
474 | netbsd*) | | 583 | netbsd*) |
475 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 584 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
476 | + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | grep __G95__ >/dev/null; then | | 585 | + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | grep __G95__ >/dev/null; then |
477 | archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 586 | archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
478 | wlarc= | | 587 | wlarc= |
479 | else | | 588 | else |
480 | @@ -17183,6 +17267,8 @@ rm -f core conftest.err conftest.$ac_obj | | 589 | @@ -17183,6 +17329,8 @@ rm -f core conftest.err conftest.$ac_obj |
481 | ;; | | 590 | ;; |
482 | | | 591 | |
483 | *nto* | *qnx*) | | 592 | *nto* | *qnx*) |
484 | + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 593 | + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
485 | + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 594 | + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
486 | ;; | | 595 | ;; |
487 | | | 596 | |
488 | openbsd*) | | 597 | openbsd*) |
489 | @@ -17644,6 +17730,7 @@ beos*) | | 598 | @@ -17644,6 +17792,7 @@ beos*) |
490 | bsdi[45]*) | | 599 | bsdi[45]*) |
491 | version_type=linux | | 600 | version_type=linux |
492 | need_version=no | | 601 | need_version=no |
493 | + need_lib_prefix=no | | 602 | + need_lib_prefix=no |
494 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | | 603 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
495 | soname_spec='${libname}${release}${shared_ext}$major' | | 604 | soname_spec='${libname}${release}${shared_ext}$major' |
496 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | | 605 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
497 | @@ -17744,9 +17831,7 @@ freebsd1*) | | 606 | @@ -17744,9 +17893,7 @@ freebsd1*) |
498 | dynamic_linker=no | | 607 | dynamic_linker=no |
499 | ;; | | 608 | ;; |
500 | | | 609 | |
501 | -freebsd* | dragonfly*) | | 610 | -freebsd* | dragonfly*) |
502 | - # DragonFly does not have aout. When/if they implement a new | | 611 | - # DragonFly does not have aout. When/if they implement a new |
503 | - # versioning mechanism, adjust this. | | 612 | - # versioning mechanism, adjust this. |
504 | +freebsd*) | | 613 | +freebsd*) |
505 | if test -x /usr/bin/objformat; then | | 614 | if test -x /usr/bin/objformat; then |
506 | objformat=`/usr/bin/objformat` | | 615 | objformat=`/usr/bin/objformat` |
507 | else | | 616 | else |
508 | @@ -17758,7 +17843,7 @@ freebsd* | dragonfly*) | | 617 | @@ -17758,7 +17905,7 @@ freebsd* | dragonfly*) |
509 | version_type=freebsd-$objformat | | 618 | version_type=freebsd-$objformat |
510 | case $version_type in | | 619 | case $version_type in |
511 | freebsd-elf*) | | 620 | freebsd-elf*) |
512 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | 621 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
513 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 622 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
514 | need_version=no | | 623 | need_version=no |
515 | need_lib_prefix=no | | 624 | need_lib_prefix=no |
516 | ;; | | 625 | ;; |
517 | @@ -17781,13 +17866,24 @@ freebsd* | dragonfly*) | | 626 | @@ -17781,13 +17928,24 @@ freebsd* | dragonfly*) |
518 | shlibpath_overrides_runpath=no | | 627 | shlibpath_overrides_runpath=no |
519 | hardcode_into_libs=yes | | 628 | hardcode_into_libs=yes |
520 | ;; | | 629 | ;; |
521 | - *) # from 4.6 on, and DragonFly | | 630 | - *) # from 4.6 on, and DragonFly |
522 | + *) # from 4.6 on | | 631 | + *) # from 4.6 on |
523 | shlibpath_overrides_runpath=yes | | 632 | shlibpath_overrides_runpath=yes |
524 | hardcode_into_libs=yes | | 633 | hardcode_into_libs=yes |
525 | ;; | | 634 | ;; |
526 | esac | | 635 | esac |
527 | ;; | | 636 | ;; |
528 | | | 637 | |
529 | +dragonfly*) | | 638 | +dragonfly*) |
530 | + version_type=linux | | 639 | + version_type=linux |
531 | + need_version=no | | 640 | + need_version=no |
532 | + need_lib_prefix=no | | 641 | + need_lib_prefix=no |
533 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 642 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
534 | + soname_spec='${libname}${release}${shared_ext}$major' | | 643 | + soname_spec='${libname}${release}${shared_ext}$major' |
535 | + shlibpath_var=LD_LIBRARY_PATH | | 644 | + shlibpath_var=LD_LIBRARY_PATH |
536 | + shlibpath_overrides_runpath=no | | 645 | + shlibpath_overrides_runpath=no |
537 | + hardcode_into_libs=yes | | 646 | + hardcode_into_libs=yes |
538 | + ;; | | 647 | + ;; |
539 | + | | 648 | + |
540 | gnu*) | | 649 | gnu*) |
541 | version_type=linux | | 650 | version_type=linux |
542 | need_lib_prefix=no | | 651 | need_lib_prefix=no |
543 | @@ -17859,12 +17955,7 @@ interix[3-9]*) | | 652 | @@ -17798,6 +17956,19 @@ gnu*) |
| | | 653 | hardcode_into_libs=yes |
| | | 654 | ;; |
| | | 655 | |
| | | 656 | +haiku*) |
| | | 657 | + version_type=linux |
| | | 658 | + need_lib_prefix=no |
| | | 659 | + need_version=no |
| | | 660 | + dynamic_linker="$host_os runtime_loader" |
| | | 661 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| | | 662 | + soname_spec='${libname}${release}${shared_ext}$major' |
| | | 663 | + shlibpath_var=LIBRARY_PATH |
| | | 664 | + shlibpath_overrides_runpath=yes |
| | | 665 | + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| | | 666 | + hardcode_into_libs=yes |
| | | 667 | + ;; |
| | | 668 | + |
| | | 669 | hpux9* | hpux10* | hpux11*) |
| | | 670 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| | | 671 | # link against other versions. |
| | | 672 | @@ -17859,12 +18030,7 @@ interix[3-9]*) |
544 | irix5* | irix6* | nonstopux*) | | 673 | irix5* | irix6* | nonstopux*) |
545 | case $host_os in | | 674 | case $host_os in |
546 | nonstopux*) version_type=nonstopux ;; | | 675 | nonstopux*) version_type=nonstopux ;; |
547 | - *) | | 676 | - *) |
548 | - if test "$lt_cv_prog_gnu_ld" = yes; then | | 677 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
549 | - version_type=linux | | 678 | - version_type=linux |
550 | - else | | 679 | - else |
551 | - version_type=irix | | 680 | - version_type=irix |
552 | - fi ;; | | 681 | - fi ;; |
553 | + *) version_type=irix ;; | | 682 | + *) version_type=irix ;; |
554 | esac | | 683 | esac |
555 | need_lib_prefix=no | | 684 | need_lib_prefix=no |
556 | need_version=no | | 685 | need_version=no |
557 | @@ -17949,15 +18040,14 @@ rm -f core conftest.err conftest.$ac_obj | | 686 | @@ -17949,15 +18115,14 @@ rm -f core conftest.err conftest.$ac_obj |
558 | ;; | | 687 | ;; |
559 | | | 688 | |
560 | netbsd*) | | 689 | netbsd*) |
561 | - version_type=sunos | | 690 | - version_type=sunos |
562 | + version_type=linux | | 691 | + version_type=linux |
563 | need_lib_prefix=no | | 692 | need_lib_prefix=no |
564 | need_version=no | | 693 | need_version=no |
565 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 694 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
566 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 695 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
567 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 696 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
568 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | $GREP __G95__ >/dev/null; then | | 697 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | $GREP __G95__ >/dev/null; then |
569 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 698 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
570 | dynamic_linker='NetBSD (a.out) ld.so' | | 699 | dynamic_linker='NetBSD (a.out) ld.so' |
571 | else | | 700 | else |
572 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 701 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
573 | soname_spec='${libname}${release}${shared_ext}$major' | | 702 | soname_spec='${libname}${release}${shared_ext}$major' |
574 | dynamic_linker='NetBSD ld.elf_so' | | 703 | dynamic_linker='NetBSD ld.elf_so' |
575 | fi | | 704 | fi |
576 | @@ -17986,7 +18076,7 @@ newsos6) | | 705 | @@ -17986,7 +18151,7 @@ newsos6) |
577 | ;; | | 706 | ;; |
578 | | | 707 | |
579 | openbsd*) | | 708 | openbsd*) |
580 | - version_type=sunos | | 709 | - version_type=sunos |
581 | + version_type=linux | | 710 | + version_type=linux |
582 | sys_lib_dlsearch_path_spec="/usr/lib" | | 711 | sys_lib_dlsearch_path_spec="/usr/lib" |
583 | need_lib_prefix=no | | 712 | need_lib_prefix=no |
584 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | | 713 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
585 | @@ -17994,7 +18084,7 @@ openbsd*) | | 714 | @@ -17994,7 +18159,7 @@ openbsd*) |
586 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | | 715 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
587 | *) need_version=no ;; | | 716 | *) need_version=no ;; |
588 | esac | | 717 | esac |
589 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 718 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
590 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 719 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
591 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 720 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
592 | shlibpath_var=LD_LIBRARY_PATH | | 721 | shlibpath_var=LD_LIBRARY_PATH |
593 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | 722 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
594 | @@ -18557,7 +18647,10 @@ $RM -r conftest* | | 723 | @@ -18557,7 +18722,10 @@ $RM -r conftest* |
595 | *) break;; | | 724 | *) break;; |
596 | esac | | 725 | esac |
597 | done | | 726 | done |
598 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 727 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
599 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 728 | +# Return the actual command name, not our pkgsrc wrapper name because several |
600 | +# decisions are made only based on compiler names | | 729 | +# decisions are made only based on compiler names |
601 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 730 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
602 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 731 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
603 | | | 732 | |
604 | | | 733 | |
605 | if test -n "$compiler"; then | | 734 | if test -n "$compiler"; then |
606 | @@ -18776,9 +18869,11 @@ $as_echo_n "checking for $compiler optio | | 735 | @@ -18776,9 +18944,17 @@ $as_echo_n "checking for $compiler optio |
607 | ;; | | 736 | ;; |
608 | | | 737 | |
609 | darwin* | rhapsody*) | | 738 | darwin* | rhapsody*) |
610 | - # PIC is the default on this platform | | 739 | - # PIC is the default on this platform |
611 | + # PIC is the default on this platform, and static linking of | | 740 | + # PIC is the default on this platform, and static linking of |
612 | + # binaries generally doesn't work | | 741 | + # binaries generally doesn't work |
613 | # Common symbols not allowed in MH_DYLIB files | | 742 | # Common symbols not allowed in MH_DYLIB files |
614 | lt_prog_compiler_pic_FC='-fno-common' | | 743 | lt_prog_compiler_pic_FC='-fno-common' |
615 | + lt_prog_compiler_static_FC='' | | 744 | + lt_prog_compiler_static_FC='' |
| | | 745 | + ;; |
| | | 746 | + |
| | | 747 | + haiku*) |
| | | 748 | + # PIC is the default for Haiku. |
| | | 749 | + # The "-static" flag exists, but is broken. |
| | | 750 | + lt_prog_compiler_static_FC= |
616 | ;; | | 751 | ;; |
617 | | | 752 | |
618 | hpux*) | | 753 | hpux*) |
619 | @@ -18800,6 +18895,13 @@ $as_echo_n "checking for $compiler optio | | 754 | @@ -18800,6 +18976,13 @@ $as_echo_n "checking for $compiler optio |
620 | # Instead, we relocate shared libraries at runtime. | | 755 | # Instead, we relocate shared libraries at runtime. |
621 | ;; | | 756 | ;; |
622 | | | 757 | |
623 | + mint*) | | 758 | + mint*) |
624 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 759 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
625 | + # on systems that don't support them. | | 760 | + # on systems that don't support them. |
626 | + lt_prog_compiler_can_build_shared_FC=no | | 761 | + lt_prog_compiler_can_build_shared_FC=no |
627 | + enable_shared=no | | 762 | + enable_shared=no |
628 | + ;; | | 763 | + ;; |
629 | + | | 764 | + |
630 | msdosdjgpp*) | | 765 | msdosdjgpp*) |
631 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 766 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
632 | # on systems that don't support them. | | 767 | # on systems that don't support them. |
633 | @@ -18997,6 +19099,9 @@ $as_echo_n "checking for $compiler optio | | 768 | @@ -18997,6 +19180,9 @@ $as_echo_n "checking for $compiler optio |
634 | | | 769 | |
635 | case $host_os in | | 770 | case $host_os in |
636 | # For platforms which do not support PIC, -DPIC is meaningless: | | 771 | # For platforms which do not support PIC, -DPIC is meaningless: |
637 | + mint*) | | 772 | + mint*) |
638 | + lt_prog_compiler_pic_FC= | | 773 | + lt_prog_compiler_pic_FC= |
639 | + ;; | | 774 | + ;; |
640 | *djgpp*) | | 775 | *djgpp*) |
641 | lt_prog_compiler_pic_FC= | | 776 | lt_prog_compiler_pic_FC= |
642 | ;; | | 777 | ;; |
643 | @@ -19481,7 +19586,7 @@ _LT_EOF | | 778 | @@ -19395,6 +19581,11 @@ _LT_EOF |
| | | 779 | fi |
| | | 780 | ;; |
| | | 781 | |
| | | 782 | + haiku*) |
| | | 783 | + archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| | | 784 | + link_all_deplibs_FC=yes |
| | | 785 | + ;; |
| | | 786 | + |
| | | 787 | interix[3-9]*) |
| | | 788 | hardcode_direct_FC=no |
| | | 789 | hardcode_shlibpath_var_FC=no |
| | | 790 | @@ -19481,7 +19672,7 @@ _LT_EOF |
644 | ;; | | 791 | ;; |
645 | | | 792 | |
646 | netbsd*) | | 793 | netbsd*) |
647 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 794 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
648 | + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | grep __G95__ >/dev/null; then | | 795 | + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | grep __G95__ >/dev/null; then |
649 | archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 796 | archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
650 | wlarc= | | 797 | wlarc= |
651 | else | | 798 | else |
652 | @@ -19988,6 +20093,8 @@ rm -f core conftest.err conftest.$ac_obj | | 799 | @@ -19988,6 +20179,8 @@ rm -f core conftest.err conftest.$ac_obj |
653 | ;; | | 800 | ;; |
654 | | | 801 | |
655 | *nto* | *qnx*) | | 802 | *nto* | *qnx*) |
656 | + archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 803 | + archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
657 | + archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 804 | + archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
658 | ;; | | 805 | ;; |
659 | | | 806 | |
660 | openbsd*) | | 807 | openbsd*) |
661 | @@ -20449,6 +20556,7 @@ beos*) | | 808 | @@ -20449,6 +20642,7 @@ beos*) |
662 | bsdi[45]*) | | 809 | bsdi[45]*) |
663 | version_type=linux | | 810 | version_type=linux |
664 | need_version=no | | 811 | need_version=no |
665 | + need_lib_prefix=no | | 812 | + need_lib_prefix=no |
666 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | | 813 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
667 | soname_spec='${libname}${release}${shared_ext}$major' | | 814 | soname_spec='${libname}${release}${shared_ext}$major' |
668 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | | 815 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
669 | @@ -20549,9 +20657,7 @@ freebsd1*) | | 816 | @@ -20549,9 +20743,7 @@ freebsd1*) |
670 | dynamic_linker=no | | 817 | dynamic_linker=no |
671 | ;; | | 818 | ;; |
672 | | | 819 | |
673 | -freebsd* | dragonfly*) | | 820 | -freebsd* | dragonfly*) |
674 | - # DragonFly does not have aout. When/if they implement a new | | 821 | - # DragonFly does not have aout. When/if they implement a new |
675 | - # versioning mechanism, adjust this. | | 822 | - # versioning mechanism, adjust this. |
676 | +freebsd*) | | 823 | +freebsd*) |
677 | if test -x /usr/bin/objformat; then | | 824 | if test -x /usr/bin/objformat; then |
678 | objformat=`/usr/bin/objformat` | | 825 | objformat=`/usr/bin/objformat` |
679 | else | | 826 | else |
680 | @@ -20563,7 +20669,7 @@ freebsd* | dragonfly*) | | 827 | @@ -20563,7 +20755,7 @@ freebsd* | dragonfly*) |
681 | version_type=freebsd-$objformat | | 828 | version_type=freebsd-$objformat |
682 | case $version_type in | | 829 | case $version_type in |
683 | freebsd-elf*) | | 830 | freebsd-elf*) |
684 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | 831 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
685 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 832 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
686 | need_version=no | | 833 | need_version=no |
687 | need_lib_prefix=no | | 834 | need_lib_prefix=no |
688 | ;; | | 835 | ;; |
689 | @@ -20586,13 +20692,24 @@ freebsd* | dragonfly*) | | 836 | @@ -20586,13 +20778,24 @@ freebsd* | dragonfly*) |
690 | shlibpath_overrides_runpath=no | | 837 | shlibpath_overrides_runpath=no |
691 | hardcode_into_libs=yes | | 838 | hardcode_into_libs=yes |
692 | ;; | | 839 | ;; |
693 | - *) # from 4.6 on, and DragonFly | | 840 | - *) # from 4.6 on, and DragonFly |
694 | + *) # from 4.6 on | | 841 | + *) # from 4.6 on |
695 | shlibpath_overrides_runpath=yes | | 842 | shlibpath_overrides_runpath=yes |
696 | hardcode_into_libs=yes | | 843 | hardcode_into_libs=yes |
697 | ;; | | 844 | ;; |
698 | esac | | 845 | esac |
699 | ;; | | 846 | ;; |
700 | | | 847 | |
701 | +dragonfly*) | | 848 | +dragonfly*) |
702 | + version_type=linux | | 849 | + version_type=linux |
703 | + need_version=no | | 850 | + need_version=no |
704 | + need_lib_prefix=no | | 851 | + need_lib_prefix=no |
705 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 852 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
706 | + soname_spec='${libname}${release}${shared_ext}$major' | | 853 | + soname_spec='${libname}${release}${shared_ext}$major' |
707 | + shlibpath_var=LD_LIBRARY_PATH | | 854 | + shlibpath_var=LD_LIBRARY_PATH |
708 | + shlibpath_overrides_runpath=no | | 855 | + shlibpath_overrides_runpath=no |
709 | + hardcode_into_libs=yes | | 856 | + hardcode_into_libs=yes |
710 | + ;; | | 857 | + ;; |
711 | + | | 858 | + |
712 | gnu*) | | 859 | gnu*) |
713 | version_type=linux | | 860 | version_type=linux |
714 | need_lib_prefix=no | | 861 | need_lib_prefix=no |
715 | @@ -20664,12 +20781,7 @@ interix[3-9]*) | | 862 | @@ -20603,6 +20806,19 @@ gnu*) |
| | | 863 | hardcode_into_libs=yes |
| | | 864 | ;; |
| | | 865 | |
| | | 866 | +haiku*) |
| | | 867 | + version_type=linux |
| | | 868 | + need_lib_prefix=no |
| | | 869 | + need_version=no |
| | | 870 | + dynamic_linker="$host_os runtime_loader" |
| | | 871 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| | | 872 | + soname_spec='${libname}${release}${shared_ext}$major' |
| | | 873 | + shlibpath_var=LIBRARY_PATH |
| | | 874 | + shlibpath_overrides_runpath=yes |
| | | 875 | + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| | | 876 | + hardcode_into_libs=yes |
| | | 877 | + ;; |
| | | 878 | + |
| | | 879 | hpux9* | hpux10* | hpux11*) |
| | | 880 | # Give a soname corresponding to the major version so that dld.sl refuses to |
| | | 881 | # link against other versions. |
| | | 882 | @@ -20664,12 +20880,7 @@ interix[3-9]*) |
716 | irix5* | irix6* | nonstopux*) | | 883 | irix5* | irix6* | nonstopux*) |
717 | case $host_os in | | 884 | case $host_os in |
718 | nonstopux*) version_type=nonstopux ;; | | 885 | nonstopux*) version_type=nonstopux ;; |
719 | - *) | | 886 | - *) |
720 | - if test "$lt_cv_prog_gnu_ld" = yes; then | | 887 | - if test "$lt_cv_prog_gnu_ld" = yes; then |
721 | - version_type=linux | | 888 | - version_type=linux |
722 | - else | | 889 | - else |
723 | - version_type=irix | | 890 | - version_type=irix |
724 | - fi ;; | | 891 | - fi ;; |
725 | + *) version_type=irix ;; | | 892 | + *) version_type=irix ;; |
726 | esac | | 893 | esac |
727 | need_lib_prefix=no | | 894 | need_lib_prefix=no |
728 | need_version=no | | 895 | need_version=no |
729 | @@ -20754,15 +20866,14 @@ rm -f core conftest.err conftest.$ac_obj | | 896 | @@ -20754,15 +20965,14 @@ rm -f core conftest.err conftest.$ac_obj |
730 | ;; | | 897 | ;; |
731 | | | 898 | |
732 | netbsd*) | | 899 | netbsd*) |
733 | - version_type=sunos | | 900 | - version_type=sunos |
734 | + version_type=linux | | 901 | + version_type=linux |
735 | need_lib_prefix=no | | 902 | need_lib_prefix=no |
736 | need_version=no | | 903 | need_version=no |
737 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 904 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
738 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 905 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
739 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 906 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
740 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | $GREP __G95__ >/dev/null; then | | 907 | + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | $GREP __G95__ >/dev/null; then |
741 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 908 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
742 | dynamic_linker='NetBSD (a.out) ld.so' | | 909 | dynamic_linker='NetBSD (a.out) ld.so' |
743 | else | | 910 | else |
744 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 911 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
745 | soname_spec='${libname}${release}${shared_ext}$major' | | 912 | soname_spec='${libname}${release}${shared_ext}$major' |
746 | dynamic_linker='NetBSD ld.elf_so' | | 913 | dynamic_linker='NetBSD ld.elf_so' |
747 | fi | | 914 | fi |
748 | @@ -20791,7 +20902,7 @@ newsos6) | | 915 | @@ -20791,7 +21001,7 @@ newsos6) |
749 | ;; | | 916 | ;; |
750 | | | 917 | |
751 | openbsd*) | | 918 | openbsd*) |
752 | - version_type=sunos | | 919 | - version_type=sunos |
753 | + version_type=linux | | 920 | + version_type=linux |
754 | sys_lib_dlsearch_path_spec="/usr/lib" | | 921 | sys_lib_dlsearch_path_spec="/usr/lib" |
755 | need_lib_prefix=no | | 922 | need_lib_prefix=no |
756 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | | 923 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
757 | @@ -20799,7 +20910,7 @@ openbsd*) | | 924 | @@ -20799,7 +21009,7 @@ openbsd*) |
758 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | | 925 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
759 | *) need_version=no ;; | | 926 | *) need_version=no ;; |
760 | esac | | 927 | esac |
761 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | | 928 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
762 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | 929 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
763 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | | 930 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
764 | shlibpath_var=LD_LIBRARY_PATH | | 931 | shlibpath_var=LD_LIBRARY_PATH |
765 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | 932 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
766 | @@ -21205,7 +21316,10 @@ for cc_temp in $compiler""; do | | 933 | @@ -21205,7 +21415,10 @@ for cc_temp in $compiler""; do |
767 | *) break;; | | 934 | *) break;; |
768 | esac | | 935 | esac |
769 | done | | 936 | done |
770 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 937 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
771 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 938 | +# Return the actual command name, not our pkgsrc wrapper name because several |
772 | +# decisions are made only based on compiler names | | 939 | +# decisions are made only based on compiler names |
773 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 940 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
774 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 941 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
775 | | | 942 | |
776 | | | 943 | |
777 | # GCJ did not exist at the time GCC didn't implicitly link libc in. | | 944 | # GCJ did not exist at the time GCC didn't implicitly link libc in. |
778 | @@ -21320,9 +21434,11 @@ $as_echo_n "checking for $compiler optio | | 945 | @@ -21320,9 +21533,17 @@ $as_echo_n "checking for $compiler optio |
779 | ;; | | 946 | ;; |
780 | | | 947 | |
781 | darwin* | rhapsody*) | | 948 | darwin* | rhapsody*) |
782 | - # PIC is the default on this platform | | 949 | - # PIC is the default on this platform |
783 | + # PIC is the default on this platform, and static linking of | | 950 | + # PIC is the default on this platform, and static linking of |
784 | + # binaries generally doesn't work | | 951 | + # binaries generally doesn't work |
785 | # Common symbols not allowed in MH_DYLIB files | | 952 | # Common symbols not allowed in MH_DYLIB files |
786 | lt_prog_compiler_pic_GCJ='-fno-common' | | 953 | lt_prog_compiler_pic_GCJ='-fno-common' |
787 | + lt_prog_compiler_static_GCJ='' | | 954 | + lt_prog_compiler_static_GCJ='' |
| | | 955 | + ;; |
| | | 956 | + |
| | | 957 | + haiku*) |
| | | 958 | + # PIC is the default for Haiku. |
| | | 959 | + # The "-static" flag exists, but is broken. |
| | | 960 | + lt_prog_compiler_static_GCJ= |
788 | ;; | | 961 | ;; |
789 | | | 962 | |
790 | hpux*) | | 963 | hpux*) |
791 | @@ -21344,6 +21460,13 @@ $as_echo_n "checking for $compiler optio | | 964 | @@ -21344,6 +21565,13 @@ $as_echo_n "checking for $compiler optio |
792 | # Instead, we relocate shared libraries at runtime. | | 965 | # Instead, we relocate shared libraries at runtime. |
793 | ;; | | 966 | ;; |
794 | | | 967 | |
795 | + mint*) | | 968 | + mint*) |
796 | + # Just because we use GCC doesn't mean we suddenly get shared libraries | | 969 | + # Just because we use GCC doesn't mean we suddenly get shared libraries |
797 | + # on systems that don't support them. | | 970 | + # on systems that don't support them. |
798 | + lt_prog_compiler_can_build_shared_GCJ=no | | 971 | + lt_prog_compiler_can_build_shared_GCJ=no |
799 | + enable_shared=no | | 972 | + enable_shared=no |
800 | + ;; | | 973 | + ;; |
801 | + | | 974 | + |
802 | msdosdjgpp*) | | 975 | msdosdjgpp*) |
803 | # Just because we use GCC doesn't mean we suddenly get shared libraries | | 976 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
804 | # on systems that don't support them. | | 977 | # on systems that don't support them. |
805 | @@ -21541,6 +21664,9 @@ $as_echo_n "checking for $compiler optio | | 978 | @@ -21541,6 +21769,9 @@ $as_echo_n "checking for $compiler optio |
806 | | | 979 | |
807 | case $host_os in | | 980 | case $host_os in |
808 | # For platforms which do not support PIC, -DPIC is meaningless: | | 981 | # For platforms which do not support PIC, -DPIC is meaningless: |
809 | + mint*) | | 982 | + mint*) |
810 | + lt_prog_compiler_pic_GCJ= | | 983 | + lt_prog_compiler_pic_GCJ= |
811 | + ;; | | 984 | + ;; |
812 | *djgpp*) | | 985 | *djgpp*) |
813 | lt_prog_compiler_pic_GCJ= | | 986 | lt_prog_compiler_pic_GCJ= |
814 | ;; | | 987 | ;; |
815 | @@ -22025,7 +22151,7 @@ _LT_EOF | | 988 | @@ -21939,6 +22170,11 @@ _LT_EOF |
| | | 989 | fi |
| | | 990 | ;; |
| | | 991 | |
| | | 992 | + haiku*) |
| | | 993 | + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| | | 994 | + link_all_deplibs_GCJ=yes |
| | | 995 | + ;; |
| | | 996 | + |
| | | 997 | interix[3-9]*) |
| | | 998 | hardcode_direct_GCJ=no |
| | | 999 | hardcode_shlibpath_var_GCJ=no |
| | | 1000 | @@ -22025,7 +22261,7 @@ _LT_EOF |
816 | ;; | | 1001 | ;; |
817 | | | 1002 | |
818 | netbsd*) | | 1003 | netbsd*) |
819 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | | 1004 | - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
820 | + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | grep __G95__ >/dev/null; then | | 1005 | + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null && echo __G95__ | $CC -cpp -E - | grep __G95__ >/dev/null; then |
821 | archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | | 1006 | archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
822 | wlarc= | | 1007 | wlarc= |
823 | else | | 1008 | else |
824 | @@ -22545,6 +22671,8 @@ rm -f core conftest.err conftest.$ac_obj | | 1009 | @@ -22545,6 +22781,8 @@ rm -f core conftest.err conftest.$ac_obj |
825 | ;; | | 1010 | ;; |
826 | | | 1011 | |
827 | *nto* | *qnx*) | | 1012 | *nto* | *qnx*) |
828 | + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | 1013 | + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
829 | + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | | 1014 | + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
830 | ;; | | 1015 | ;; |
831 | | | 1016 | |
832 | openbsd*) | | 1017 | openbsd*) |
833 | @@ -23115,7 +23243,10 @@ for cc_temp in $compiler""; do | | 1018 | @@ -23115,7 +23353,10 @@ for cc_temp in $compiler""; do |
834 | *) break;; | | 1019 | *) break;; |
835 | esac | | 1020 | esac |
836 | done | | 1021 | done |
837 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 1022 | -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
838 | +# Return the actual command name, not our pkgsrc wrapper name because several | | 1023 | +# Return the actual command name, not our pkgsrc wrapper name because several |
839 | +# decisions are made only based on compiler names | | 1024 | +# decisions are made only based on compiler names |
840 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi | | 1025 | +if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi |
841 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | | 1026 | +cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
842 | | | 1027 | |
843 | lt_cv_prog_compiler_c_o_RC=yes | | 1028 | lt_cv_prog_compiler_c_o_RC=yes |
844 | | | 1029 | |
845 | @@ -24296,6 +24429,9 @@ LTCC='$LTCC' | | 1030 | @@ -24296,6 +24537,9 @@ LTCC='$LTCC' |
846 | LTCFLAGS='$LTCFLAGS' | | 1031 | LTCFLAGS='$LTCFLAGS' |
847 | compiler='$compiler_DEFAULT' | | 1032 | compiler='$compiler_DEFAULT' |
848 | | | 1033 | |
849 | +printf "%s" "$lt_prog_compiler_wl" > /dev/null | | 1034 | +printf "%s" "$lt_prog_compiler_wl" > /dev/null |
850 | +printf "%s" "$lt_prog_compiler_no_builtin_flag" > /dev/null | | 1035 | +printf "%s" "$lt_prog_compiler_no_builtin_flag" > /dev/null |
851 | + | | 1036 | + |
852 | # Quote evaled strings. | | 1037 | # Quote evaled strings. |
853 | for var in SED \ | | 1038 | for var in SED \ |
854 | GREP \ | | 1039 | GREP \ |
855 | @@ -24580,6 +24716,9 @@ case \$lt_ECHO in | | 1040 | @@ -24580,6 +24824,9 @@ case \$lt_ECHO in |
856 | ;; | | 1041 | ;; |
857 | esac | | 1042 | esac |
858 | | | 1043 | |
859 | +printf "%s" "$lt_prog_compiler_wl" > /dev/null | | 1044 | +printf "%s" "$lt_prog_compiler_wl" > /dev/null |
860 | +printf "%s" "$lt_prog_compiler_no_builtin_flag" > /dev/null | | 1045 | +printf "%s" "$lt_prog_compiler_no_builtin_flag" > /dev/null |
861 | + | | 1046 | + |
862 | ac_aux_dir='$ac_aux_dir' | | 1047 | ac_aux_dir='$ac_aux_dir' |
863 | xsi_shell='$xsi_shell' | | 1048 | xsi_shell='$xsi_shell' |
864 | lt_shell_append='$lt_shell_append' | | 1049 | lt_shell_append='$lt_shell_append' |