diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-25 14:37:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-25 14:37:40 +0000 |
commit | e410642e101a9bcb068dd1f8d1bb5c327892a757 (patch) | |
tree | 34ab6a3b8008bb9ac4304a74d2cd2f31a7de1093 /config.rpath | |
parent | 59963c11ad3dfbb6b8179af9854f168998f13880 (diff) | |
download | libextractor-e410642e101a9bcb068dd1f8d1bb5c327892a757.tar.gz libextractor-e410642e101a9bcb068dd1f8d1bb5c327892a757.zip |
releasing GNU libextractor 1.0.0
Diffstat (limited to 'config.rpath')
-rwxr-xr-x | config.rpath | 228 |
1 files changed, 76 insertions, 152 deletions
diff --git a/config.rpath b/config.rpath index 1a07018..c492a93 100755 --- a/config.rpath +++ b/config.rpath | |||
@@ -2,7 +2,7 @@ | |||
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-2012 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 | # |
@@ -25,7 +25,7 @@ | |||
25 | # known workaround is to choose shorter directory names for the build | 25 | # known workaround is to choose shorter directory names for the build |
26 | # directory and/or the installation directory. | 26 | # directory and/or the installation directory. |
27 | 27 | ||
28 | # All known linkers require a '.a' archive for static linking (except MSVC, | 28 | # All known linkers require a `.a' archive for static linking (except MSVC, |
29 | # which needs '.lib'). | 29 | # which needs '.lib'). |
30 | libext=a | 30 | libext=a |
31 | shrext=.so | 31 | shrext=.so |
@@ -47,7 +47,7 @@ for cc_temp in $CC""; do | |||
47 | done | 47 | done |
48 | cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` | 48 | cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` |
49 | 49 | ||
50 | # Code taken from libtool.m4's _LT_COMPILER_PIC. | 50 | # Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. |
51 | 51 | ||
52 | wl= | 52 | wl= |
53 | if test "$GCC" = yes; then | 53 | if test "$GCC" = yes; then |
@@ -57,7 +57,14 @@ else | |||
57 | aix*) | 57 | aix*) |
58 | wl='-Wl,' | 58 | wl='-Wl,' |
59 | ;; | 59 | ;; |
60 | mingw* | cygwin* | pw32* | os2* | cegcc*) | 60 | darwin*) |
61 | case $cc_basename in | ||
62 | xlc*) | ||
63 | wl='-Wl,' | ||
64 | ;; | ||
65 | esac | ||
66 | ;; | ||
67 | mingw* | pw32* | os2*) | ||
61 | ;; | 68 | ;; |
62 | hpux9* | hpux10* | hpux11*) | 69 | hpux9* | hpux10* | hpux11*) |
63 | wl='-Wl,' | 70 | wl='-Wl,' |
@@ -65,37 +72,24 @@ else | |||
65 | irix5* | irix6* | nonstopux*) | 72 | irix5* | irix6* | nonstopux*) |
66 | wl='-Wl,' | 73 | wl='-Wl,' |
67 | ;; | 74 | ;; |
68 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 75 | newsos6) |
76 | ;; | ||
77 | linux*) | ||
69 | case $cc_basename in | 78 | case $cc_basename in |
70 | ecc*) | 79 | icc* | ecc*) |
71 | wl='-Wl,' | 80 | wl='-Wl,' |
72 | ;; | 81 | ;; |
73 | icc* | ifort*) | 82 | pgcc | pgf77 | pgf90) |
74 | wl='-Wl,' | ||
75 | ;; | ||
76 | lf95*) | ||
77 | wl='-Wl,' | ||
78 | ;; | ||
79 | nagfor*) | ||
80 | wl='-Wl,-Wl,,' | ||
81 | ;; | ||
82 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | ||
83 | wl='-Wl,' | 83 | wl='-Wl,' |
84 | ;; | 84 | ;; |
85 | ccc*) | 85 | ccc*) |
86 | wl='-Wl,' | 86 | wl='-Wl,' |
87 | ;; | 87 | ;; |
88 | xl* | bgxl* | bgf* | mpixl*) | ||
89 | wl='-Wl,' | ||
90 | ;; | ||
91 | como) | 88 | como) |
92 | wl='-lopt=' | 89 | wl='-lopt=' |
93 | ;; | 90 | ;; |
94 | *) | 91 | *) |
95 | case `$CC -V 2>&1 | sed 5q` in | 92 | case `$CC -V 2>&1 | sed 5q` in |
96 | *Sun\ F* | *Sun*Fortran*) | ||
97 | wl= | ||
98 | ;; | ||
99 | *Sun\ C*) | 93 | *Sun\ C*) |
100 | wl='-Wl,' | 94 | wl='-Wl,' |
101 | ;; | 95 | ;; |
@@ -103,36 +97,22 @@ else | |||
103 | ;; | 97 | ;; |
104 | esac | 98 | esac |
105 | ;; | 99 | ;; |
106 | newsos6) | ||
107 | ;; | ||
108 | *nto* | *qnx*) | ||
109 | ;; | ||
110 | osf3* | osf4* | osf5*) | 100 | osf3* | osf4* | osf5*) |
111 | wl='-Wl,' | 101 | wl='-Wl,' |
112 | ;; | 102 | ;; |
113 | rdos*) | 103 | sco3.2v5*) |
114 | ;; | 104 | ;; |
115 | solaris*) | 105 | solaris*) |
116 | case $cc_basename in | 106 | wl='-Wl,' |
117 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | ||
118 | wl='-Qoption ld ' | ||
119 | ;; | ||
120 | *) | ||
121 | wl='-Wl,' | ||
122 | ;; | ||
123 | esac | ||
124 | ;; | 107 | ;; |
125 | sunos4*) | 108 | sunos4*) |
126 | wl='-Qoption ld ' | 109 | wl='-Qoption ld ' |
127 | ;; | 110 | ;; |
128 | sysv4 | sysv4.2uw2* | sysv4.3*) | 111 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
129 | wl='-Wl,' | 112 | wl='-Wl,' |
130 | ;; | 113 | ;; |
131 | sysv4*MP*) | 114 | sysv4*MP*) |
132 | ;; | 115 | ;; |
133 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | ||
134 | wl='-Wl,' | ||
135 | ;; | ||
136 | unicos*) | 116 | unicos*) |
137 | wl='-Wl,' | 117 | wl='-Wl,' |
138 | ;; | 118 | ;; |
@@ -141,7 +121,7 @@ else | |||
141 | esac | 121 | esac |
142 | fi | 122 | fi |
143 | 123 | ||
144 | # Code taken from libtool.m4's _LT_LINKER_SHLIBS. | 124 | # Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. |
145 | 125 | ||
146 | hardcode_libdir_flag_spec= | 126 | hardcode_libdir_flag_spec= |
147 | hardcode_libdir_separator= | 127 | hardcode_libdir_separator= |
@@ -149,7 +129,7 @@ hardcode_direct=no | |||
149 | hardcode_minus_L=no | 129 | hardcode_minus_L=no |
150 | 130 | ||
151 | case "$host_os" in | 131 | case "$host_os" in |
152 | cygwin* | mingw* | pw32* | cegcc*) | 132 | cygwin* | mingw* | pw32*) |
153 | # FIXME: the MSVC++ port hasn't been tested in a loooong time | 133 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
154 | # When not using gcc, we currently assume that we are using | 134 | # When not using gcc, we currently assume that we are using |
155 | # Microsoft Visual C++. | 135 | # Microsoft Visual C++. |
@@ -175,21 +155,22 @@ if test "$with_gnu_ld" = yes; then | |||
175 | # option of GNU ld is called -rpath, not --rpath. | 155 | # option of GNU ld is called -rpath, not --rpath. |
176 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 156 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
177 | case "$host_os" in | 157 | case "$host_os" in |
178 | aix[3-9]*) | 158 | aix3* | aix4* | aix5*) |
179 | # On AIX/PPC, the GNU linker is very broken | 159 | # On AIX/PPC, the GNU linker is very broken |
180 | if test "$host_cpu" != ia64; then | 160 | if test "$host_cpu" != ia64; then |
181 | ld_shlibs=no | 161 | ld_shlibs=no |
182 | fi | 162 | fi |
183 | ;; | 163 | ;; |
184 | amigaos*) | 164 | amigaos*) |
185 | case "$host_cpu" in | 165 | hardcode_libdir_flag_spec='-L$libdir' |
186 | powerpc) | 166 | hardcode_minus_L=yes |
187 | ;; | 167 | # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
188 | m68k) | 168 | # that the semantics of dynamic libraries on AmigaOS, at least up |
189 | hardcode_libdir_flag_spec='-L$libdir' | 169 | # to version 4, is to share data among multiple programs linked |
190 | hardcode_minus_L=yes | 170 | # with the same dynamic library. Since this doesn't match the |
191 | ;; | 171 | # behavior of shared libraries on other platforms, we cannot use |
192 | esac | 172 | # them. |
173 | ld_shlibs=no | ||
193 | ;; | 174 | ;; |
194 | beos*) | 175 | beos*) |
195 | 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 |
@@ -198,7 +179,7 @@ if test "$with_gnu_ld" = yes; then | |||
198 | ld_shlibs=no | 179 | ld_shlibs=no |
199 | fi | 180 | fi |
200 | ;; | 181 | ;; |
201 | cygwin* | mingw* | pw32* | cegcc*) | 182 | cygwin* | mingw* | pw32*) |
202 | # hardcode_libdir_flag_spec is actually meaningless, as there is | 183 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
203 | # no search path for DLLs. | 184 | # no search path for DLLs. |
204 | hardcode_libdir_flag_spec='-L$libdir' | 185 | hardcode_libdir_flag_spec='-L$libdir' |
@@ -208,13 +189,11 @@ if test "$with_gnu_ld" = yes; then | |||
208 | ld_shlibs=no | 189 | ld_shlibs=no |
209 | fi | 190 | fi |
210 | ;; | 191 | ;; |
211 | haiku*) | 192 | interix3*) |
212 | ;; | ||
213 | interix[3-9]*) | ||
214 | hardcode_direct=no | 193 | hardcode_direct=no |
215 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 194 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
216 | ;; | 195 | ;; |
217 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | 196 | linux*) |
218 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 197 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
219 | : | 198 | : |
220 | else | 199 | else |
@@ -272,7 +251,7 @@ else | |||
272 | hardcode_direct=unsupported | 251 | hardcode_direct=unsupported |
273 | fi | 252 | fi |
274 | ;; | 253 | ;; |
275 | aix[4-9]*) | 254 | aix4* | aix5*) |
276 | if test "$host_cpu" = ia64; then | 255 | if test "$host_cpu" = ia64; then |
277 | # On IA64, the linker does run time linking by default, so we don't | 256 | # On IA64, the linker does run time linking by default, so we don't |
278 | # have to do anything special. | 257 | # have to do anything special. |
@@ -282,7 +261,7 @@ else | |||
282 | # Test if we are trying to use run time linking or normal | 261 | # Test if we are trying to use run time linking or normal |
283 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 262 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
284 | # need to do runtime linking. | 263 | # need to do runtime linking. |
285 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | 264 | case $host_os in aix4.[23]|aix4.[23].*|aix5*) |
286 | for ld_flag in $LDFLAGS; do | 265 | for ld_flag in $LDFLAGS; do |
287 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 266 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
288 | aix_use_runtimelinking=yes | 267 | aix_use_runtimelinking=yes |
@@ -301,7 +280,7 @@ else | |||
301 | strings "$collect2name" | grep resolve_lib_name >/dev/null | 280 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
302 | then | 281 | then |
303 | # We have reworked collect2 | 282 | # We have reworked collect2 |
304 | : | 283 | hardcode_direct=yes |
305 | else | 284 | else |
306 | # We have old collect2 | 285 | # We have old collect2 |
307 | hardcode_direct=unsupported | 286 | hardcode_direct=unsupported |
@@ -337,18 +316,14 @@ else | |||
337 | fi | 316 | fi |
338 | ;; | 317 | ;; |
339 | amigaos*) | 318 | amigaos*) |
340 | case "$host_cpu" in | 319 | hardcode_libdir_flag_spec='-L$libdir' |
341 | powerpc) | 320 | hardcode_minus_L=yes |
342 | ;; | 321 | # see comment about different semantics on the GNU ld section |
343 | m68k) | 322 | ld_shlibs=no |
344 | hardcode_libdir_flag_spec='-L$libdir' | ||
345 | hardcode_minus_L=yes | ||
346 | ;; | ||
347 | esac | ||
348 | ;; | 323 | ;; |
349 | bsdi[45]*) | 324 | bsdi[45]*) |
350 | ;; | 325 | ;; |
351 | cygwin* | mingw* | pw32* | cegcc*) | 326 | cygwin* | mingw* | pw32*) |
352 | # When not using gcc, we currently assume that we are using | 327 | # When not using gcc, we currently assume that we are using |
353 | # Microsoft Visual C++. | 328 | # Microsoft Visual C++. |
354 | # hardcode_libdir_flag_spec is actually meaningless, as there is | 329 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
@@ -358,15 +333,24 @@ else | |||
358 | ;; | 333 | ;; |
359 | darwin* | rhapsody*) | 334 | darwin* | rhapsody*) |
360 | hardcode_direct=no | 335 | hardcode_direct=no |
361 | if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then | 336 | if test "$GCC" = yes ; then |
362 | : | 337 | : |
363 | else | 338 | else |
364 | ld_shlibs=no | 339 | case $cc_basename in |
340 | xlc*) | ||
341 | ;; | ||
342 | *) | ||
343 | ld_shlibs=no | ||
344 | ;; | ||
345 | esac | ||
365 | fi | 346 | fi |
366 | ;; | 347 | ;; |
367 | dgux*) | 348 | dgux*) |
368 | hardcode_libdir_flag_spec='-L$libdir' | 349 | hardcode_libdir_flag_spec='-L$libdir' |
369 | ;; | 350 | ;; |
351 | freebsd1*) | ||
352 | ld_shlibs=no | ||
353 | ;; | ||
370 | freebsd2.2*) | 354 | freebsd2.2*) |
371 | hardcode_libdir_flag_spec='-R$libdir' | 355 | hardcode_libdir_flag_spec='-R$libdir' |
372 | hardcode_direct=yes | 356 | hardcode_direct=yes |
@@ -375,7 +359,7 @@ else | |||
375 | hardcode_direct=yes | 359 | hardcode_direct=yes |
376 | hardcode_minus_L=yes | 360 | hardcode_minus_L=yes |
377 | ;; | 361 | ;; |
378 | freebsd* | dragonfly*) | 362 | freebsd* | kfreebsd*-gnu | dragonfly*) |
379 | hardcode_libdir_flag_spec='-R$libdir' | 363 | hardcode_libdir_flag_spec='-R$libdir' |
380 | hardcode_direct=yes | 364 | hardcode_direct=yes |
381 | ;; | 365 | ;; |
@@ -427,25 +411,19 @@ else | |||
427 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 411 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
428 | hardcode_libdir_separator=: | 412 | hardcode_libdir_separator=: |
429 | ;; | 413 | ;; |
430 | *nto* | *qnx*) | ||
431 | ;; | ||
432 | openbsd*) | 414 | openbsd*) |
433 | if test -f /usr/libexec/ld.so; then | 415 | hardcode_direct=yes |
434 | hardcode_direct=yes | 416 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
435 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 417 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
436 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | ||
437 | else | ||
438 | case "$host_os" in | ||
439 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | ||
440 | hardcode_libdir_flag_spec='-R$libdir' | ||
441 | ;; | ||
442 | *) | ||
443 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | ||
444 | ;; | ||
445 | esac | ||
446 | fi | ||
447 | else | 418 | else |
448 | ld_shlibs=no | 419 | case "$host_os" in |
420 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | ||
421 | hardcode_libdir_flag_spec='-R$libdir' | ||
422 | ;; | ||
423 | *) | ||
424 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | ||
425 | ;; | ||
426 | esac | ||
449 | fi | 427 | fi |
450 | ;; | 428 | ;; |
451 | os2*) | 429 | os2*) |
@@ -493,7 +471,7 @@ else | |||
493 | ld_shlibs=yes | 471 | ld_shlibs=yes |
494 | fi | 472 | fi |
495 | ;; | 473 | ;; |
496 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) | 474 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
497 | ;; | 475 | ;; |
498 | sysv5* | sco3.2v5* | sco5v6*) | 476 | sysv5* | sco3.2v5* | sco5v6*) |
499 | hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' | 477 | hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
@@ -509,58 +487,34 @@ else | |||
509 | fi | 487 | fi |
510 | 488 | ||
511 | # Check dynamic linker characteristics | 489 | # Check dynamic linker characteristics |
512 | # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. | 490 | # Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. |
513 | # Unlike libtool.m4, here we don't care about _all_ names of the library, but | ||
514 | # only about the one the linker finds when passed -lNAME. This is the last | ||
515 | # element of library_names_spec in libtool.m4, or possibly two of them if the | ||
516 | # linker has special search rules. | ||
517 | library_names_spec= # the last element of library_names_spec in libtool.m4 | ||
518 | libname_spec='lib$name' | 491 | libname_spec='lib$name' |
519 | case "$host_os" in | 492 | case "$host_os" in |
520 | aix3*) | 493 | aix3*) |
521 | library_names_spec='$libname.a' | ||
522 | ;; | 494 | ;; |
523 | aix[4-9]*) | 495 | aix4* | aix5*) |
524 | library_names_spec='$libname$shrext' | ||
525 | ;; | 496 | ;; |
526 | amigaos*) | 497 | amigaos*) |
527 | case "$host_cpu" in | ||
528 | powerpc*) | ||
529 | library_names_spec='$libname$shrext' ;; | ||
530 | m68k) | ||
531 | library_names_spec='$libname.a' ;; | ||
532 | esac | ||
533 | ;; | 498 | ;; |
534 | beos*) | 499 | beos*) |
535 | library_names_spec='$libname$shrext' | ||
536 | ;; | 500 | ;; |
537 | bsdi[45]*) | 501 | bsdi[45]*) |
538 | library_names_spec='$libname$shrext' | ||
539 | ;; | 502 | ;; |
540 | cygwin* | mingw* | pw32* | cegcc*) | 503 | cygwin* | mingw* | pw32*) |
541 | shrext=.dll | 504 | shrext=.dll |
542 | library_names_spec='$libname.dll.a $libname.lib' | ||
543 | ;; | 505 | ;; |
544 | darwin* | rhapsody*) | 506 | darwin* | rhapsody*) |
545 | shrext=.dylib | 507 | shrext=.dylib |
546 | library_names_spec='$libname$shrext' | ||
547 | ;; | 508 | ;; |
548 | dgux*) | 509 | dgux*) |
549 | library_names_spec='$libname$shrext' | 510 | ;; |
511 | freebsd1*) | ||
512 | ;; | ||
513 | kfreebsd*-gnu) | ||
550 | ;; | 514 | ;; |
551 | freebsd* | dragonfly*) | 515 | freebsd* | dragonfly*) |
552 | case "$host_os" in | ||
553 | freebsd[123]*) | ||
554 | library_names_spec='$libname$shrext$versuffix' ;; | ||
555 | *) | ||
556 | library_names_spec='$libname$shrext' ;; | ||
557 | esac | ||
558 | ;; | 516 | ;; |
559 | gnu*) | 517 | gnu*) |
560 | library_names_spec='$libname$shrext' | ||
561 | ;; | ||
562 | haiku*) | ||
563 | library_names_spec='$libname$shrext' | ||
564 | ;; | 518 | ;; |
565 | hpux9* | hpux10* | hpux11*) | 519 | hpux9* | hpux10* | hpux11*) |
566 | case $host_cpu in | 520 | case $host_cpu in |
@@ -574,13 +528,10 @@ case "$host_os" in | |||
574 | shrext=.sl | 528 | shrext=.sl |
575 | ;; | 529 | ;; |
576 | esac | 530 | esac |
577 | library_names_spec='$libname$shrext' | ||
578 | ;; | 531 | ;; |
579 | interix[3-9]*) | 532 | interix3*) |
580 | library_names_spec='$libname$shrext' | ||
581 | ;; | 533 | ;; |
582 | irix5* | irix6* | nonstopux*) | 534 | irix5* | irix6* | nonstopux*) |
583 | library_names_spec='$libname$shrext' | ||
584 | case "$host_os" in | 535 | case "$host_os" in |
585 | irix5* | nonstopux*) | 536 | irix5* | nonstopux*) |
586 | libsuff= shlibsuff= | 537 | libsuff= shlibsuff= |
@@ -597,62 +548,41 @@ case "$host_os" in | |||
597 | ;; | 548 | ;; |
598 | linux*oldld* | linux*aout* | linux*coff*) | 549 | linux*oldld* | linux*aout* | linux*coff*) |
599 | ;; | 550 | ;; |
600 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 551 | linux*) |
601 | library_names_spec='$libname$shrext' | ||
602 | ;; | 552 | ;; |
603 | knetbsd*-gnu) | 553 | knetbsd*-gnu) |
604 | library_names_spec='$libname$shrext' | ||
605 | ;; | 554 | ;; |
606 | netbsd*) | 555 | netbsd*) |
607 | library_names_spec='$libname$shrext' | ||
608 | ;; | 556 | ;; |
609 | newsos6) | 557 | newsos6) |
610 | library_names_spec='$libname$shrext' | ||
611 | ;; | 558 | ;; |
612 | *nto* | *qnx*) | 559 | nto-qnx*) |
613 | library_names_spec='$libname$shrext' | ||
614 | ;; | 560 | ;; |
615 | openbsd*) | 561 | openbsd*) |
616 | library_names_spec='$libname$shrext$versuffix' | ||
617 | ;; | 562 | ;; |
618 | os2*) | 563 | os2*) |
619 | libname_spec='$name' | 564 | libname_spec='$name' |
620 | shrext=.dll | 565 | shrext=.dll |
621 | library_names_spec='$libname.a' | ||
622 | ;; | 566 | ;; |
623 | osf3* | osf4* | osf5*) | 567 | osf3* | osf4* | osf5*) |
624 | library_names_spec='$libname$shrext' | ||
625 | ;; | ||
626 | rdos*) | ||
627 | ;; | 568 | ;; |
628 | solaris*) | 569 | solaris*) |
629 | library_names_spec='$libname$shrext' | ||
630 | ;; | 570 | ;; |
631 | sunos4*) | 571 | sunos4*) |
632 | library_names_spec='$libname$shrext$versuffix' | ||
633 | ;; | 572 | ;; |
634 | sysv4 | sysv4.3*) | 573 | sysv4 | sysv4.3*) |
635 | library_names_spec='$libname$shrext' | ||
636 | ;; | 574 | ;; |
637 | sysv4*MP*) | 575 | sysv4*MP*) |
638 | library_names_spec='$libname$shrext' | ||
639 | ;; | 576 | ;; |
640 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 577 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
641 | library_names_spec='$libname$shrext' | ||
642 | ;; | ||
643 | tpf*) | ||
644 | library_names_spec='$libname$shrext' | ||
645 | ;; | 578 | ;; |
646 | uts4*) | 579 | uts4*) |
647 | library_names_spec='$libname$shrext' | ||
648 | ;; | 580 | ;; |
649 | esac | 581 | esac |
650 | 582 | ||
651 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | 583 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
652 | 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"` |
653 | shlibext=`echo "$shrext" | sed -e 's,^\.,,'` | 585 | shlibext=`echo "$shrext" | sed -e 's,^\.,,'` |
654 | escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` | ||
655 | escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` | ||
656 | 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"` |
657 | 587 | ||
658 | LC_ALL=C 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 |
@@ -666,12 +596,6 @@ libext="$libext" | |||
666 | # Shared library suffix (normally "so"). | 596 | # Shared library suffix (normally "so"). |
667 | shlibext="$shlibext" | 597 | shlibext="$shlibext" |
668 | 598 | ||
669 | # Format of library name prefix. | ||
670 | libname_spec="$escaped_libname_spec" | ||
671 | |||
672 | # Library names that the linker finds when passed -lNAME. | ||
673 | library_names_spec="$escaped_library_names_spec" | ||
674 | |||
675 | # Flag to hardcode \$libdir into a binary during linking. | 599 | # Flag to hardcode \$libdir into a binary during linking. |
676 | # This must work even if \$libdir does not exist. | 600 | # This must work even if \$libdir does not exist. |
677 | hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" | 601 | hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" |