Mercurial > hg > xmms-sid
comparison config.rpath @ 485:1aed5dfaa9ae
Updated config.rpath
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 26 Jan 2007 15:25:00 +0000 |
parents | 3f02945a0c48 |
children | fa9851e0da4e |
comparison
equal
deleted
inserted
replaced
484:49a51c89dca6 | 485:1aed5dfaa9ae |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Output a system dependent set of variables, describing how to set the | 2 # Output a system dependent set of variables, describing how to set the |
3 # run time search path of shared libraries in an executable. | 3 # run time search path of shared libraries in an executable. |
4 # | 4 # |
5 # Copyright 1996-2003 Free Software Foundation, Inc. | 5 # Copyright 1996-2006 Free Software Foundation, Inc. |
6 # Taken from GNU libtool, 2001 | 6 # Taken from GNU libtool, 2001 |
7 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 7 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
8 # | 8 # |
9 # This program is free software; you can redistribute it and/or modify | 9 # This file is free software; the Free Software Foundation gives |
10 # it under the terms of the GNU General Public License as published by | 10 # unlimited permission to copy and/or distribute it, with or without |
11 # the Free Software Foundation; either version 2 of the License, or | 11 # modifications, as long as this notice is preserved. |
12 # (at your option) any later version. | |
13 # | |
14 # This program is distributed in the hope that it will be useful, but | |
15 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
17 # General Public License for more details. | |
18 # | |
19 # You should have received a copy of the GNU General Public License | |
20 # along with this program; if not, write to the Free Software | |
21 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
22 # | |
23 # As a special exception to the GNU General Public License, if you | |
24 # distribute this file as part of a program that contains a | |
25 # configuration script generated by Autoconf, you may include it under | |
26 # the same distribution terms that you use for the rest of that program. | |
27 # | 12 # |
28 # The first argument passed to this file is the canonical host specification, | 13 # The first argument passed to this file is the canonical host specification, |
29 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | 14 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM |
30 # or | 15 # or |
31 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM | 16 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM |
38 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer | 23 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer |
39 # than 256 bytes, otherwise the compiler driver will dump core. The only | 24 # than 256 bytes, otherwise the compiler driver will dump core. The only |
40 # known workaround is to choose shorter directory names for the build | 25 # known workaround is to choose shorter directory names for the build |
41 # directory and/or the installation directory. | 26 # directory and/or the installation directory. |
42 | 27 |
43 # All known linkers require a `.a' archive for static linking (except M$VC, | 28 # All known linkers require a `.a' archive for static linking (except MSVC, |
44 # which needs '.lib'). | 29 # which needs '.lib'). |
45 libext=a | 30 libext=a |
46 shrext=.so | 31 shrext=.so |
47 | 32 |
48 host="$1" | 33 host="$1" |
49 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 34 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
50 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 35 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
51 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 36 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
37 | |
38 # Code taken from libtool.m4's _LT_CC_BASENAME. | |
39 | |
40 for cc_temp in $CC""; do | |
41 case $cc_temp in | |
42 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
43 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
44 \-*) ;; | |
45 *) break;; | |
46 esac | |
47 done | |
48 cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` | |
52 | 49 |
53 # Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. | 50 # Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. |
54 | 51 |
55 wl= | 52 wl= |
56 if test "$GCC" = yes; then | 53 if test "$GCC" = yes; then |
58 else | 55 else |
59 case "$host_os" in | 56 case "$host_os" in |
60 aix*) | 57 aix*) |
61 wl='-Wl,' | 58 wl='-Wl,' |
62 ;; | 59 ;; |
60 darwin*) | |
61 case $cc_basename in | |
62 xlc*) | |
63 wl='-Wl,' | |
64 ;; | |
65 esac | |
66 ;; | |
63 mingw* | pw32* | os2*) | 67 mingw* | pw32* | os2*) |
64 ;; | 68 ;; |
65 hpux9* | hpux10* | hpux11*) | 69 hpux9* | hpux10* | hpux11*) |
66 wl='-Wl,' | 70 wl='-Wl,' |
67 ;; | 71 ;; |
69 wl='-Wl,' | 73 wl='-Wl,' |
70 ;; | 74 ;; |
71 newsos6) | 75 newsos6) |
72 ;; | 76 ;; |
73 linux*) | 77 linux*) |
74 case $CC in | 78 case $cc_basename in |
75 icc|ecc) | 79 icc* | ecc*) |
76 wl='-Wl,' | 80 wl='-Wl,' |
77 ;; | 81 ;; |
78 ccc) | 82 pgcc | pgf77 | pgf90) |
79 wl='-Wl,' | 83 wl='-Wl,' |
84 ;; | |
85 ccc*) | |
86 wl='-Wl,' | |
87 ;; | |
88 como) | |
89 wl='-lopt=' | |
90 ;; | |
91 *) | |
92 case `$CC -V 2>&1 | sed 5q` in | |
93 *Sun\ C*) | |
94 wl='-Wl,' | |
95 ;; | |
96 esac | |
80 ;; | 97 ;; |
81 esac | 98 esac |
82 ;; | 99 ;; |
83 osf3* | osf4* | osf5*) | 100 osf3* | osf4* | osf5*) |
84 wl='-Wl,' | 101 wl='-Wl,' |
93 ;; | 110 ;; |
94 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 111 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
95 wl='-Wl,' | 112 wl='-Wl,' |
96 ;; | 113 ;; |
97 sysv4*MP*) | 114 sysv4*MP*) |
115 ;; | |
116 unicos*) | |
117 wl='-Wl,' | |
98 ;; | 118 ;; |
99 uts4*) | 119 uts4*) |
100 ;; | 120 ;; |
101 esac | 121 esac |
102 fi | 122 fi |
115 # Microsoft Visual C++. | 135 # Microsoft Visual C++. |
116 if test "$GCC" != yes; then | 136 if test "$GCC" != yes; then |
117 with_gnu_ld=no | 137 with_gnu_ld=no |
118 fi | 138 fi |
119 ;; | 139 ;; |
140 interix*) | |
141 # we just hope/assume this is gcc and not c89 (= MSVC++) | |
142 with_gnu_ld=yes | |
143 ;; | |
120 openbsd*) | 144 openbsd*) |
121 with_gnu_ld=no | 145 with_gnu_ld=no |
122 ;; | 146 ;; |
123 esac | 147 esac |
124 | 148 |
125 ld_shlibs=yes | 149 ld_shlibs=yes |
126 if test "$with_gnu_ld" = yes; then | 150 if test "$with_gnu_ld" = yes; then |
151 # Set some defaults for GNU ld with shared library support. These | |
152 # are reset later if shared libraries are not supported. Putting them | |
153 # here allows them to be overridden if necessary. | |
154 # Unlike libtool, we use -rpath here, not --rpath, since the documented | |
155 # option of GNU ld is called -rpath, not --rpath. | |
156 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
127 case "$host_os" in | 157 case "$host_os" in |
128 aix3* | aix4* | aix5*) | 158 aix3* | aix4* | aix5*) |
129 # On AIX/PPC, the GNU linker is very broken | 159 # On AIX/PPC, the GNU linker is very broken |
130 if test "$host_cpu" != ia64; then | 160 if test "$host_cpu" != ia64; then |
131 ld_shlibs=no | 161 ld_shlibs=no |
136 hardcode_minus_L=yes | 166 hardcode_minus_L=yes |
137 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 167 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
138 # that the semantics of dynamic libraries on AmigaOS, at least up | 168 # that the semantics of dynamic libraries on AmigaOS, at least up |
139 # to version 4, is to share data among multiple programs linked | 169 # to version 4, is to share data among multiple programs linked |
140 # with the same dynamic library. Since this doesn't match the | 170 # with the same dynamic library. Since this doesn't match the |
141 # behavior of shared libraries on other platforms, we can use | 171 # behavior of shared libraries on other platforms, we cannot use |
142 # them. | 172 # them. |
143 ld_shlibs=no | 173 ld_shlibs=no |
144 ;; | 174 ;; |
145 beos*) | 175 beos*) |
146 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 176 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
157 : | 187 : |
158 else | 188 else |
159 ld_shlibs=no | 189 ld_shlibs=no |
160 fi | 190 fi |
161 ;; | 191 ;; |
192 interix3*) | |
193 hardcode_direct=no | |
194 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
195 ;; | |
196 linux*) | |
197 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
198 : | |
199 else | |
200 ld_shlibs=no | |
201 fi | |
202 ;; | |
162 netbsd*) | 203 netbsd*) |
163 ;; | 204 ;; |
164 solaris* | sysv5*) | 205 solaris*) |
165 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 206 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
166 ld_shlibs=no | 207 ld_shlibs=no |
167 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 208 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
168 : | 209 : |
169 else | 210 else |
170 ld_shlibs=no | 211 ld_shlibs=no |
171 fi | 212 fi |
172 ;; | 213 ;; |
214 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
215 case `$LD -v 2>&1` in | |
216 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
217 ld_shlibs=no | |
218 ;; | |
219 *) | |
220 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
221 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' | |
222 else | |
223 ld_shlibs=no | |
224 fi | |
225 ;; | |
226 esac | |
227 ;; | |
173 sunos4*) | 228 sunos4*) |
174 hardcode_direct=yes | 229 hardcode_direct=yes |
175 ;; | 230 ;; |
176 *) | 231 *) |
177 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 232 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
179 else | 234 else |
180 ld_shlibs=no | 235 ld_shlibs=no |
181 fi | 236 fi |
182 ;; | 237 ;; |
183 esac | 238 esac |
184 if test "$ld_shlibs" = yes; then | 239 if test "$ld_shlibs" = no; then |
185 # Unlike libtool, we use -rpath here, not --rpath, since the documented | 240 hardcode_libdir_flag_spec= |
186 # option of GNU ld is called -rpath, not --rpath. | |
187 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
188 fi | 241 fi |
189 else | 242 else |
190 case "$host_os" in | 243 case "$host_os" in |
191 aix3*) | 244 aix3*) |
192 # Note: this linker hardcodes the directories in LIBPATH if there | 245 # Note: this linker hardcodes the directories in LIBPATH if there |
213 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 266 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
214 aix_use_runtimelinking=yes | 267 aix_use_runtimelinking=yes |
215 break | 268 break |
216 fi | 269 fi |
217 done | 270 done |
271 ;; | |
218 esac | 272 esac |
219 fi | 273 fi |
220 hardcode_direct=yes | 274 hardcode_direct=yes |
221 hardcode_libdir_separator=':' | 275 hardcode_libdir_separator=':' |
222 if test "$GCC" = yes; then | 276 if test "$GCC" = yes; then |
232 hardcode_direct=unsupported | 286 hardcode_direct=unsupported |
233 hardcode_minus_L=yes | 287 hardcode_minus_L=yes |
234 hardcode_libdir_flag_spec='-L$libdir' | 288 hardcode_libdir_flag_spec='-L$libdir' |
235 hardcode_libdir_separator= | 289 hardcode_libdir_separator= |
236 fi | 290 fi |
291 ;; | |
237 esac | 292 esac |
238 fi | 293 fi |
239 # Begin _LT_AC_SYS_LIBPATH_AIX. | 294 # Begin _LT_AC_SYS_LIBPATH_AIX. |
240 echo 'int main () { return 0; }' > conftest.c | 295 echo 'int main () { return 0; }' > conftest.c |
241 ${CC} ${LDFLAGS} conftest.c -o conftest | 296 ${CC} ${LDFLAGS} conftest.c -o conftest |
264 hardcode_libdir_flag_spec='-L$libdir' | 319 hardcode_libdir_flag_spec='-L$libdir' |
265 hardcode_minus_L=yes | 320 hardcode_minus_L=yes |
266 # see comment about different semantics on the GNU ld section | 321 # see comment about different semantics on the GNU ld section |
267 ld_shlibs=no | 322 ld_shlibs=no |
268 ;; | 323 ;; |
269 bsdi4*) | 324 bsdi[45]*) |
270 ;; | 325 ;; |
271 cygwin* | mingw* | pw32*) | 326 cygwin* | mingw* | pw32*) |
272 # When not using gcc, we currently assume that we are using | 327 # When not using gcc, we currently assume that we are using |
273 # Microsoft Visual C++. | 328 # Microsoft Visual C++. |
274 # hardcode_libdir_flag_spec is actually meaningless, as there is | 329 # hardcode_libdir_flag_spec is actually meaningless, as there is |
275 # no search path for DLLs. | 330 # no search path for DLLs. |
276 hardcode_libdir_flag_spec=' ' | 331 hardcode_libdir_flag_spec=' ' |
277 libext=lib | 332 libext=lib |
278 ;; | 333 ;; |
279 darwin* | rhapsody*) | 334 darwin* | rhapsody*) |
280 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 335 hardcode_direct=no |
281 hardcode_direct=no | 336 if test "$GCC" = yes ; then |
337 : | |
338 else | |
339 case $cc_basename in | |
340 xlc*) | |
341 ;; | |
342 *) | |
343 ld_shlibs=no | |
344 ;; | |
345 esac | |
282 fi | 346 fi |
283 ;; | 347 ;; |
284 dgux*) | 348 dgux*) |
285 hardcode_libdir_flag_spec='-L$libdir' | 349 hardcode_libdir_flag_spec='-L$libdir' |
286 ;; | 350 ;; |
293 ;; | 357 ;; |
294 freebsd2*) | 358 freebsd2*) |
295 hardcode_direct=yes | 359 hardcode_direct=yes |
296 hardcode_minus_L=yes | 360 hardcode_minus_L=yes |
297 ;; | 361 ;; |
298 freebsd*) | 362 freebsd* | kfreebsd*-gnu | dragonfly*) |
299 hardcode_libdir_flag_spec='-R$libdir' | 363 hardcode_libdir_flag_spec='-R$libdir' |
300 hardcode_direct=yes | 364 hardcode_direct=yes |
301 ;; | 365 ;; |
302 hpux9*) | 366 hpux9*) |
303 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 367 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
305 hardcode_direct=yes | 369 hardcode_direct=yes |
306 # hardcode_minus_L: Not really in the search PATH, | 370 # hardcode_minus_L: Not really in the search PATH, |
307 # but as the default location of the library. | 371 # but as the default location of the library. |
308 hardcode_minus_L=yes | 372 hardcode_minus_L=yes |
309 ;; | 373 ;; |
310 hpux10* | hpux11*) | 374 hpux10*) |
311 if test "$with_gnu_ld" = no; then | 375 if test "$with_gnu_ld" = no; then |
312 case "$host_cpu" in | 376 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
313 hppa*64*) | 377 hardcode_libdir_separator=: |
314 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 378 hardcode_direct=yes |
315 hardcode_libdir_separator=: | 379 # hardcode_minus_L: Not really in the search PATH, |
380 # but as the default location of the library. | |
381 hardcode_minus_L=yes | |
382 fi | |
383 ;; | |
384 hpux11*) | |
385 if test "$with_gnu_ld" = no; then | |
386 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
387 hardcode_libdir_separator=: | |
388 case $host_cpu in | |
389 hppa*64*|ia64*) | |
316 hardcode_direct=no | 390 hardcode_direct=no |
317 ;; | 391 ;; |
318 ia64*) | |
319 hardcode_libdir_flag_spec='-L$libdir' | |
320 hardcode_direct=no | |
321 # hardcode_minus_L: Not really in the search PATH, | |
322 # but as the default location of the library. | |
323 hardcode_minus_L=yes | |
324 ;; | |
325 *) | 392 *) |
326 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
327 hardcode_libdir_separator=: | |
328 hardcode_direct=yes | 393 hardcode_direct=yes |
329 # hardcode_minus_L: Not really in the search PATH, | 394 # hardcode_minus_L: Not really in the search PATH, |
330 # but as the default location of the library. | 395 # but as the default location of the library. |
331 hardcode_minus_L=yes | 396 hardcode_minus_L=yes |
332 ;; | 397 ;; |
376 # Both cc and cxx compiler support -rpath directly | 441 # Both cc and cxx compiler support -rpath directly |
377 hardcode_libdir_flag_spec='-rpath $libdir' | 442 hardcode_libdir_flag_spec='-rpath $libdir' |
378 fi | 443 fi |
379 hardcode_libdir_separator=: | 444 hardcode_libdir_separator=: |
380 ;; | 445 ;; |
381 sco3.2v5*) | |
382 ;; | |
383 solaris*) | 446 solaris*) |
384 hardcode_libdir_flag_spec='-R$libdir' | 447 hardcode_libdir_flag_spec='-R$libdir' |
385 ;; | 448 ;; |
386 sunos4*) | 449 sunos4*) |
387 hardcode_libdir_flag_spec='-L$libdir' | 450 hardcode_libdir_flag_spec='-L$libdir' |
406 sysv4*MP*) | 469 sysv4*MP*) |
407 if test -d /usr/nec; then | 470 if test -d /usr/nec; then |
408 ld_shlibs=yes | 471 ld_shlibs=yes |
409 fi | 472 fi |
410 ;; | 473 ;; |
411 sysv4.2uw2*) | 474 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
412 hardcode_direct=yes | 475 ;; |
413 hardcode_minus_L=no | 476 sysv5* | sco3.2v5* | sco5v6*) |
414 ;; | 477 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
415 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | 478 hardcode_libdir_separator=':' |
416 ;; | |
417 sysv5*) | |
418 hardcode_libdir_flag_spec= | |
419 ;; | 479 ;; |
420 uts4*) | 480 uts4*) |
421 hardcode_libdir_flag_spec='-L$libdir' | 481 hardcode_libdir_flag_spec='-L$libdir' |
422 ;; | 482 ;; |
423 *) | 483 *) |
436 ;; | 496 ;; |
437 amigaos*) | 497 amigaos*) |
438 ;; | 498 ;; |
439 beos*) | 499 beos*) |
440 ;; | 500 ;; |
441 bsdi4*) | 501 bsdi[45]*) |
442 ;; | 502 ;; |
443 cygwin* | mingw* | pw32*) | 503 cygwin* | mingw* | pw32*) |
444 shrext=.dll | 504 shrext=.dll |
445 ;; | 505 ;; |
446 darwin* | rhapsody*) | 506 darwin* | rhapsody*) |
448 ;; | 508 ;; |
449 dgux*) | 509 dgux*) |
450 ;; | 510 ;; |
451 freebsd1*) | 511 freebsd1*) |
452 ;; | 512 ;; |
453 freebsd*) | 513 kfreebsd*-gnu) |
514 ;; | |
515 freebsd* | dragonfly*) | |
454 ;; | 516 ;; |
455 gnu*) | 517 gnu*) |
456 ;; | 518 ;; |
457 hpux9* | hpux10* | hpux11*) | 519 hpux9* | hpux10* | hpux11*) |
458 case "$host_cpu" in | 520 case $host_cpu in |
459 ia64*) | 521 ia64*) |
460 shrext=.so | 522 shrext=.so |
461 ;; | 523 ;; |
462 hppa*64*) | 524 hppa*64*) |
463 shrext=.sl | 525 shrext=.sl |
464 ;; | 526 ;; |
465 *) | 527 *) |
466 shrext=.sl | 528 shrext=.sl |
467 ;; | 529 ;; |
468 esac | 530 esac |
531 ;; | |
532 interix3*) | |
469 ;; | 533 ;; |
470 irix5* | irix6* | nonstopux*) | 534 irix5* | irix6* | nonstopux*) |
471 case "$host_os" in | 535 case "$host_os" in |
472 irix5* | nonstopux*) | 536 irix5* | nonstopux*) |
473 libsuff= shlibsuff= | 537 libsuff= shlibsuff= |
484 ;; | 548 ;; |
485 linux*oldld* | linux*aout* | linux*coff*) | 549 linux*oldld* | linux*aout* | linux*coff*) |
486 ;; | 550 ;; |
487 linux*) | 551 linux*) |
488 ;; | 552 ;; |
553 knetbsd*-gnu) | |
554 ;; | |
489 netbsd*) | 555 netbsd*) |
490 ;; | 556 ;; |
491 newsos6) | 557 newsos6) |
492 ;; | 558 ;; |
493 nto-qnx) | 559 nto-qnx*) |
494 ;; | 560 ;; |
495 openbsd*) | 561 openbsd*) |
496 ;; | 562 ;; |
497 os2*) | 563 os2*) |
498 libname_spec='$name' | 564 libname_spec='$name' |
499 shrext=.dll | 565 shrext=.dll |
500 ;; | 566 ;; |
501 osf3* | osf4* | osf5*) | 567 osf3* | osf4* | osf5*) |
502 ;; | 568 ;; |
503 sco3.2v5*) | |
504 ;; | |
505 solaris*) | 569 solaris*) |
506 ;; | 570 ;; |
507 sunos4*) | 571 sunos4*) |
508 ;; | 572 ;; |
509 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 573 sysv4 | sysv4.3*) |
510 ;; | 574 ;; |
511 sysv4*MP*) | 575 sysv4*MP*) |
576 ;; | |
577 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
512 ;; | 578 ;; |
513 uts4*) | 579 uts4*) |
514 ;; | 580 ;; |
515 esac | 581 esac |
516 | 582 |
517 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | 583 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
518 escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` | 584 escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` |
519 shlibext=`echo "$shrext" | sed -e 's,^\.,,'` | 585 shlibext=`echo "$shrext" | sed -e 's,^\.,,'` |
520 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` | 586 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` |
521 | 587 |
522 sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF | 588 LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF |
523 | 589 |
524 # How to pass a linker flag through the compiler. | 590 # How to pass a linker flag through the compiler. |
525 wl="$escaped_wl" | 591 wl="$escaped_wl" |
526 | 592 |
527 # Static library suffix (normally "a"). | 593 # Static library suffix (normally "a"). |