| OLD | NEW |
| 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-2006 Free Software Foundation, Inc. | 5 # Copyright 1996-2007 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 file is free software; the Free Software Foundation gives | 9 # This file is free software; the Free Software Foundation gives |
| 10 # unlimited permission to copy and/or distribute it, with or without | 10 # unlimited permission to copy and/or distribute it, with or without |
| 11 # modifications, as long as this notice is preserved. | 11 # modifications, as long as this notice is preserved. |
| 12 # | 12 # |
| 13 # 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, |
| 14 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | 14 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM |
| 15 # or | 15 # or |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 aix*) | 57 aix*) |
| 58 wl='-Wl,' | 58 wl='-Wl,' |
| 59 ;; | 59 ;; |
| 60 darwin*) | 60 darwin*) |
| 61 case $cc_basename in | 61 case $cc_basename in |
| 62 xlc*) | 62 xlc*) |
| 63 wl='-Wl,' | 63 wl='-Wl,' |
| 64 ;; | 64 ;; |
| 65 esac | 65 esac |
| 66 ;; | 66 ;; |
| 67 mingw* | pw32* | os2*) | 67 mingw* | cygwin* | pw32* | os2*) |
| 68 ;; | 68 ;; |
| 69 hpux9* | hpux10* | hpux11*) | 69 hpux9* | hpux10* | hpux11*) |
| 70 wl='-Wl,' | 70 wl='-Wl,' |
| 71 ;; | 71 ;; |
| 72 irix5* | irix6* | nonstopux*) | 72 irix5* | irix6* | nonstopux*) |
| 73 wl='-Wl,' | 73 wl='-Wl,' |
| 74 ;; | 74 ;; |
| 75 newsos6) | 75 newsos6) |
| 76 ;; | 76 ;; |
| 77 linux*) | 77 linux* | k*bsd*-gnu) |
| 78 case $cc_basename in | 78 case $cc_basename in |
| 79 icc* | ecc*) | 79 icc* | ecc*) |
| 80 wl='-Wl,' | 80 wl='-Wl,' |
| 81 ;; | 81 ;; |
| 82 pgcc | pgf77 | pgf90) | 82 pgcc | pgf77 | pgf90) |
| 83 wl='-Wl,' | 83 wl='-Wl,' |
| 84 ;; | 84 ;; |
| 85 ccc*) | 85 ccc*) |
| 86 wl='-Wl,' | 86 wl='-Wl,' |
| 87 ;; | 87 ;; |
| 88 como) | 88 como) |
| 89 wl='-lopt=' | 89 wl='-lopt=' |
| 90 ;; | 90 ;; |
| 91 *) | 91 *) |
| 92 case `$CC -V 2>&1 | sed 5q` in | 92 case `$CC -V 2>&1 | sed 5q` in |
| 93 *Sun\ C*) | 93 *Sun\ C*) |
| 94 wl='-Wl,' | 94 wl='-Wl,' |
| 95 ;; | 95 ;; |
| 96 esac | 96 esac |
| 97 ;; | 97 ;; |
| 98 esac | 98 esac |
| 99 ;; | 99 ;; |
| 100 osf3* | osf4* | osf5*) | 100 osf3* | osf4* | osf5*) |
| 101 wl='-Wl,' | 101 wl='-Wl,' |
| 102 ;; | 102 ;; |
| 103 sco3.2v5*) | 103 rdos*) |
| 104 ;; | 104 ;; |
| 105 solaris*) | 105 solaris*) |
| 106 wl='-Wl,' | 106 wl='-Wl,' |
| 107 ;; | 107 ;; |
| 108 sunos4*) | 108 sunos4*) |
| 109 wl='-Qoption ld ' | 109 wl='-Qoption ld ' |
| 110 ;; | 110 ;; |
| 111 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 111 sysv4 | sysv4.2uw2* | sysv4.3*) |
| 112 wl='-Wl,' | 112 wl='-Wl,' |
| 113 ;; | 113 ;; |
| 114 sysv4*MP*) | 114 sysv4*MP*) |
| 115 ;; | 115 ;; |
| 116 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 117 wl='-Wl,' |
| 118 ;; |
| 116 unicos*) | 119 unicos*) |
| 117 wl='-Wl,' | 120 wl='-Wl,' |
| 118 ;; | 121 ;; |
| 119 uts4*) | 122 uts4*) |
| 120 ;; | 123 ;; |
| 121 esac | 124 esac |
| 122 fi | 125 fi |
| 123 | 126 |
| 124 # Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. | 127 # Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. |
| 125 | 128 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 cygwin* | mingw* | pw32*) | 185 cygwin* | mingw* | pw32*) |
| 183 # hardcode_libdir_flag_spec is actually meaningless, as there is | 186 # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 184 # no search path for DLLs. | 187 # no search path for DLLs. |
| 185 hardcode_libdir_flag_spec='-L$libdir' | 188 hardcode_libdir_flag_spec='-L$libdir' |
| 186 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 189 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
| 187 : | 190 : |
| 188 else | 191 else |
| 189 ld_shlibs=no | 192 ld_shlibs=no |
| 190 fi | 193 fi |
| 191 ;; | 194 ;; |
| 192 interix3*) | 195 interix[3-9]*) |
| 193 hardcode_direct=no | 196 hardcode_direct=no |
| 194 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 197 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 195 ;; | 198 ;; |
| 196 linux*) | 199 gnu* | linux* | k*bsd*-gnu) |
| 197 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 200 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
| 198 : | 201 : |
| 199 else | 202 else |
| 200 ld_shlibs=no | 203 ld_shlibs=no |
| 201 fi | 204 fi |
| 202 ;; | 205 ;; |
| 203 netbsd*) | 206 netbsd*) |
| 204 ;; | 207 ;; |
| 205 solaris*) | 208 solaris*) |
| 206 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 209 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 fi | 276 fi |
| 274 hardcode_direct=yes | 277 hardcode_direct=yes |
| 275 hardcode_libdir_separator=':' | 278 hardcode_libdir_separator=':' |
| 276 if test "$GCC" = yes; then | 279 if test "$GCC" = yes; then |
| 277 case $host_os in aix4.[012]|aix4.[012].*) | 280 case $host_os in aix4.[012]|aix4.[012].*) |
| 278 collect2name=`${CC} -print-prog-name=collect2` | 281 collect2name=`${CC} -print-prog-name=collect2` |
| 279 if test -f "$collect2name" && \ | 282 if test -f "$collect2name" && \ |
| 280 strings "$collect2name" | grep resolve_lib_name >/dev/null | 283 strings "$collect2name" | grep resolve_lib_name >/dev/null |
| 281 then | 284 then |
| 282 # We have reworked collect2 | 285 # We have reworked collect2 |
| 283 hardcode_direct=yes | 286 : |
| 284 else | 287 else |
| 285 # We have old collect2 | 288 # We have old collect2 |
| 286 hardcode_direct=unsupported | 289 hardcode_direct=unsupported |
| 287 hardcode_minus_L=yes | 290 hardcode_minus_L=yes |
| 288 hardcode_libdir_flag_spec='-L$libdir' | 291 hardcode_libdir_flag_spec='-L$libdir' |
| 289 hardcode_libdir_separator= | 292 hardcode_libdir_separator= |
| 290 fi | 293 fi |
| 291 ;; | 294 ;; |
| 292 esac | 295 esac |
| 293 fi | 296 fi |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 ld_shlibs=no | 355 ld_shlibs=no |
| 353 ;; | 356 ;; |
| 354 freebsd2.2*) | 357 freebsd2.2*) |
| 355 hardcode_libdir_flag_spec='-R$libdir' | 358 hardcode_libdir_flag_spec='-R$libdir' |
| 356 hardcode_direct=yes | 359 hardcode_direct=yes |
| 357 ;; | 360 ;; |
| 358 freebsd2*) | 361 freebsd2*) |
| 359 hardcode_direct=yes | 362 hardcode_direct=yes |
| 360 hardcode_minus_L=yes | 363 hardcode_minus_L=yes |
| 361 ;; | 364 ;; |
| 362 freebsd* | kfreebsd*-gnu | dragonfly*) | 365 freebsd* | dragonfly*) |
| 363 hardcode_libdir_flag_spec='-R$libdir' | 366 hardcode_libdir_flag_spec='-R$libdir' |
| 364 hardcode_direct=yes | 367 hardcode_direct=yes |
| 365 ;; | 368 ;; |
| 366 hpux9*) | 369 hpux9*) |
| 367 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 370 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 368 hardcode_libdir_separator=: | 371 hardcode_libdir_separator=: |
| 369 hardcode_direct=yes | 372 hardcode_direct=yes |
| 370 # hardcode_minus_L: Not really in the search PATH, | 373 # hardcode_minus_L: Not really in the search PATH, |
| 371 # but as the default location of the library. | 374 # but as the default location of the library. |
| 372 hardcode_minus_L=yes | 375 hardcode_minus_L=yes |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 netbsd*) | 408 netbsd*) |
| 406 hardcode_libdir_flag_spec='-R$libdir' | 409 hardcode_libdir_flag_spec='-R$libdir' |
| 407 hardcode_direct=yes | 410 hardcode_direct=yes |
| 408 ;; | 411 ;; |
| 409 newsos6) | 412 newsos6) |
| 410 hardcode_direct=yes | 413 hardcode_direct=yes |
| 411 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 414 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 412 hardcode_libdir_separator=: | 415 hardcode_libdir_separator=: |
| 413 ;; | 416 ;; |
| 414 openbsd*) | 417 openbsd*) |
| 415 hardcode_direct=yes | 418 if test -f /usr/libexec/ld.so; then |
| 416 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$h
ost_cpu" = "openbsd2.8-powerpc"; then | 419 hardcode_direct=yes |
| 417 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 420 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-
$host_cpu" = "openbsd2.8-powerpc"; then |
| 421 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 422 else |
| 423 case "$host_os" in |
| 424 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
| 425 hardcode_libdir_flag_spec='-R$libdir' |
| 426 ;; |
| 427 *) |
| 428 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 429 ;; |
| 430 esac |
| 431 fi |
| 418 else | 432 else |
| 419 case "$host_os" in | 433 ld_shlibs=no |
| 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 | |
| 427 fi | 434 fi |
| 428 ;; | 435 ;; |
| 429 os2*) | 436 os2*) |
| 430 hardcode_libdir_flag_spec='-L$libdir' | 437 hardcode_libdir_flag_spec='-L$libdir' |
| 431 hardcode_minus_L=yes | 438 hardcode_minus_L=yes |
| 432 ;; | 439 ;; |
| 433 osf3*) | 440 osf3*) |
| 434 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 441 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 435 hardcode_libdir_separator=: | 442 hardcode_libdir_separator=: |
| 436 ;; | 443 ;; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 464 ;; | 471 ;; |
| 465 esac | 472 esac |
| 466 ;; | 473 ;; |
| 467 sysv4.3*) | 474 sysv4.3*) |
| 468 ;; | 475 ;; |
| 469 sysv4*MP*) | 476 sysv4*MP*) |
| 470 if test -d /usr/nec; then | 477 if test -d /usr/nec; then |
| 471 ld_shlibs=yes | 478 ld_shlibs=yes |
| 472 fi | 479 fi |
| 473 ;; | 480 ;; |
| 474 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) | 481 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.
2v5.0.[024]*) |
| 475 ;; | 482 ;; |
| 476 sysv5* | sco3.2v5* | sco5v6*) | 483 sysv5* | sco3.2v5* | sco5v6*) |
| 477 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`
' | 484 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`
' |
| 478 hardcode_libdir_separator=':' | 485 hardcode_libdir_separator=':' |
| 479 ;; | 486 ;; |
| 480 uts4*) | 487 uts4*) |
| 481 hardcode_libdir_flag_spec='-L$libdir' | 488 hardcode_libdir_flag_spec='-L$libdir' |
| 482 ;; | 489 ;; |
| 483 *) | 490 *) |
| 484 ld_shlibs=no | 491 ld_shlibs=no |
| 485 ;; | 492 ;; |
| 486 esac | 493 esac |
| 487 fi | 494 fi |
| 488 | 495 |
| 489 # Check dynamic linker characteristics | 496 # Check dynamic linker characteristics |
| 490 # Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. | 497 # Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. |
| 498 # Unlike libtool.m4, here we don't care about _all_ names of the library, but |
| 499 # only about the one the linker finds when passed -lNAME. This is the last |
| 500 # element of library_names_spec in libtool.m4, or possibly two of them if the |
| 501 # linker has special search rules. |
| 502 library_names_spec= # the last element of library_names_spec in libtool.m4 |
| 491 libname_spec='lib$name' | 503 libname_spec='lib$name' |
| 492 case "$host_os" in | 504 case "$host_os" in |
| 493 aix3*) | 505 aix3*) |
| 506 library_names_spec='$libname.a' |
| 494 ;; | 507 ;; |
| 495 aix4* | aix5*) | 508 aix4* | aix5*) |
| 509 library_names_spec='$libname$shrext' |
| 496 ;; | 510 ;; |
| 497 amigaos*) | 511 amigaos*) |
| 512 library_names_spec='$libname.a' |
| 498 ;; | 513 ;; |
| 499 beos*) | 514 beos*) |
| 515 library_names_spec='$libname$shrext' |
| 500 ;; | 516 ;; |
| 501 bsdi[45]*) | 517 bsdi[45]*) |
| 518 library_names_spec='$libname$shrext' |
| 502 ;; | 519 ;; |
| 503 cygwin* | mingw* | pw32*) | 520 cygwin* | mingw* | pw32*) |
| 504 shrext=.dll | 521 shrext=.dll |
| 522 library_names_spec='$libname.dll.a $libname.lib' |
| 505 ;; | 523 ;; |
| 506 darwin* | rhapsody*) | 524 darwin* | rhapsody*) |
| 507 shrext=.dylib | 525 shrext=.dylib |
| 526 library_names_spec='$libname$shrext' |
| 508 ;; | 527 ;; |
| 509 dgux*) | 528 dgux*) |
| 529 library_names_spec='$libname$shrext' |
| 510 ;; | 530 ;; |
| 511 freebsd1*) | 531 freebsd1*) |
| 512 ;; | 532 ;; |
| 513 kfreebsd*-gnu) | |
| 514 ;; | |
| 515 freebsd* | dragonfly*) | 533 freebsd* | dragonfly*) |
| 534 case "$host_os" in |
| 535 freebsd[123]*) |
| 536 library_names_spec='$libname$shrext$versuffix' ;; |
| 537 *) |
| 538 library_names_spec='$libname$shrext' ;; |
| 539 esac |
| 516 ;; | 540 ;; |
| 517 gnu*) | 541 gnu*) |
| 542 library_names_spec='$libname$shrext' |
| 518 ;; | 543 ;; |
| 519 hpux9* | hpux10* | hpux11*) | 544 hpux9* | hpux10* | hpux11*) |
| 520 case $host_cpu in | 545 case $host_cpu in |
| 521 ia64*) | 546 ia64*) |
| 522 shrext=.so | 547 shrext=.so |
| 523 ;; | 548 ;; |
| 524 hppa*64*) | 549 hppa*64*) |
| 525 shrext=.sl | 550 shrext=.sl |
| 526 ;; | 551 ;; |
| 527 *) | 552 *) |
| 528 shrext=.sl | 553 shrext=.sl |
| 529 ;; | 554 ;; |
| 530 esac | 555 esac |
| 556 library_names_spec='$libname$shrext' |
| 531 ;; | 557 ;; |
| 532 interix3*) | 558 interix[3-9]*) |
| 559 library_names_spec='$libname$shrext' |
| 533 ;; | 560 ;; |
| 534 irix5* | irix6* | nonstopux*) | 561 irix5* | irix6* | nonstopux*) |
| 562 library_names_spec='$libname$shrext' |
| 535 case "$host_os" in | 563 case "$host_os" in |
| 536 irix5* | nonstopux*) | 564 irix5* | nonstopux*) |
| 537 libsuff= shlibsuff= | 565 libsuff= shlibsuff= |
| 538 ;; | 566 ;; |
| 539 *) | 567 *) |
| 540 case $LD in | 568 case $LD in |
| 541 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; | 569 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; |
| 542 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuf
f=N32 ;; | 570 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuf
f=N32 ;; |
| 543 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; | 571 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; |
| 544 *) libsuff= shlibsuff= ;; | 572 *) libsuff= shlibsuff= ;; |
| 545 esac | 573 esac |
| 546 ;; | 574 ;; |
| 547 esac | 575 esac |
| 548 ;; | 576 ;; |
| 549 linux*oldld* | linux*aout* | linux*coff*) | 577 linux*oldld* | linux*aout* | linux*coff*) |
| 550 ;; | 578 ;; |
| 551 linux*) | 579 linux* | k*bsd*-gnu) |
| 580 library_names_spec='$libname$shrext' |
| 552 ;; | 581 ;; |
| 553 knetbsd*-gnu) | 582 knetbsd*-gnu) |
| 583 library_names_spec='$libname$shrext' |
| 554 ;; | 584 ;; |
| 555 netbsd*) | 585 netbsd*) |
| 586 library_names_spec='$libname$shrext' |
| 556 ;; | 587 ;; |
| 557 newsos6) | 588 newsos6) |
| 589 library_names_spec='$libname$shrext' |
| 558 ;; | 590 ;; |
| 559 nto-qnx*) | 591 nto-qnx*) |
| 592 library_names_spec='$libname$shrext' |
| 560 ;; | 593 ;; |
| 561 openbsd*) | 594 openbsd*) |
| 595 library_names_spec='$libname$shrext$versuffix' |
| 562 ;; | 596 ;; |
| 563 os2*) | 597 os2*) |
| 564 libname_spec='$name' | 598 libname_spec='$name' |
| 565 shrext=.dll | 599 shrext=.dll |
| 600 library_names_spec='$libname.a' |
| 566 ;; | 601 ;; |
| 567 osf3* | osf4* | osf5*) | 602 osf3* | osf4* | osf5*) |
| 603 library_names_spec='$libname$shrext' |
| 604 ;; |
| 605 rdos*) |
| 568 ;; | 606 ;; |
| 569 solaris*) | 607 solaris*) |
| 608 library_names_spec='$libname$shrext' |
| 570 ;; | 609 ;; |
| 571 sunos4*) | 610 sunos4*) |
| 611 library_names_spec='$libname$shrext$versuffix' |
| 572 ;; | 612 ;; |
| 573 sysv4 | sysv4.3*) | 613 sysv4 | sysv4.3*) |
| 614 library_names_spec='$libname$shrext' |
| 574 ;; | 615 ;; |
| 575 sysv4*MP*) | 616 sysv4*MP*) |
| 617 library_names_spec='$libname$shrext' |
| 576 ;; | 618 ;; |
| 577 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 619 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 620 library_names_spec='$libname$shrext' |
| 578 ;; | 621 ;; |
| 579 uts4*) | 622 uts4*) |
| 623 library_names_spec='$libname$shrext' |
| 580 ;; | 624 ;; |
| 581 esac | 625 esac |
| 582 | 626 |
| 583 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | 627 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 584 escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` | 628 escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` |
| 585 shlibext=`echo "$shrext" | sed -e 's,^\.,,'` | 629 shlibext=`echo "$shrext" | sed -e 's,^\.,,'` |
| 630 escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_sub
st"` |
| 631 escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$s
ed_quote_subst"` |
| 586 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e '
s/^X//' -e "$sed_quote_subst"` | 632 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e '
s/^X//' -e "$sed_quote_subst"` |
| 587 | 633 |
| 588 LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF | 634 LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF |
| 589 | 635 |
| 590 # How to pass a linker flag through the compiler. | 636 # How to pass a linker flag through the compiler. |
| 591 wl="$escaped_wl" | 637 wl="$escaped_wl" |
| 592 | 638 |
| 593 # Static library suffix (normally "a"). | 639 # Static library suffix (normally "a"). |
| 594 libext="$libext" | 640 libext="$libext" |
| 595 | 641 |
| 596 # Shared library suffix (normally "so"). | 642 # Shared library suffix (normally "so"). |
| 597 shlibext="$shlibext" | 643 shlibext="$shlibext" |
| 598 | 644 |
| 645 # Format of library name prefix. |
| 646 libname_spec="$escaped_libname_spec" |
| 647 |
| 648 # Library names that the linker finds when passed -lNAME. |
| 649 library_names_spec="$escaped_library_names_spec" |
| 650 |
| 599 # Flag to hardcode \$libdir into a binary during linking. | 651 # Flag to hardcode \$libdir into a binary during linking. |
| 600 # This must work even if \$libdir does not exist. | 652 # This must work even if \$libdir does not exist. |
| 601 hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" | 653 hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" |
| 602 | 654 |
| 603 # Whether we need a single -rpath flag with a separated argument. | 655 # Whether we need a single -rpath flag with a separated argument. |
| 604 hardcode_libdir_separator="$hardcode_libdir_separator" | 656 hardcode_libdir_separator="$hardcode_libdir_separator" |
| 605 | 657 |
| 606 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the | 658 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the |
| 607 # resulting binary. | 659 # resulting binary. |
| 608 hardcode_direct="$hardcode_direct" | 660 hardcode_direct="$hardcode_direct" |
| 609 | 661 |
| 610 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 662 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
| 611 # resulting binary. | 663 # resulting binary. |
| 612 hardcode_minus_L="$hardcode_minus_L" | 664 hardcode_minus_L="$hardcode_minus_L" |
| 613 | 665 |
| 614 EOF | 666 EOF |
| OLD | NEW |