db-4.8-libtool.patch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. --- dist/configure
  2. +++ dist/configure
  3. @@ -6691,7 +6691,7 @@
  4. $as_echo_n "(cached) " >&6
  5. else
  6. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  7. -case `$LD -v 2>&1 </dev/null` in
  8. +case `"$LD" -v 2>&1 </dev/null` in
  9. *GNU* | *'with BFD'*)
  10. lt_cv_prog_gnu_ld=yes
  11. ;;
  12. @@ -7348,7 +7348,7 @@
  13. ;;
  14. irix5* | irix6* | nonstopux*)
  15. - case $LD in
  16. + case "$LD" in
  17. *-32|*"-32 ") libmagic=32-bit;;
  18. *-n32|*"-n32 ") libmagic=N32;;
  19. *-64|*"-64 ") libmagic=64-bit;;
  20. @@ -10664,7 +10664,7 @@
  21. whole_archive_flag_spec=
  22. fi
  23. supports_anon_versioning=no
  24. - case `$LD -v 2>&1` in
  25. + case `"$LD" -v 2>&1` in
  26. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  27. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  28. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  29. @@ -10858,7 +10858,7 @@
  30. ;;
  31. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  32. - case `$LD -v 2>&1` in
  33. + case `"$LD" -v 2>&1` in
  34. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  35. ld_shlibs=no
  36. cat <<_LT_EOF 1>&2
  37. @@ -12206,7 +12206,7 @@
  38. libsuff= shlibsuff=
  39. ;;
  40. *)
  41. - case $LD in # libtool.m4 will add one of these switches to LD
  42. + case "$LD" in # libtool.m4 will add one of these switches to LD
  43. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  44. libsuff= shlibsuff= libmagic=32-bit;;
  45. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  46. @@ -13423,7 +13423,7 @@
  47. $as_echo_n "(cached) " >&6
  48. else
  49. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  50. -case `$LD -v 2>&1 </dev/null` in
  51. +case `"$LD" -v 2>&1 </dev/null` in
  52. *GNU* | *'with BFD'*)
  53. lt_cv_prog_gnu_ld=yes
  54. ;;
  55. @@ -15672,7 +15672,7 @@
  56. libsuff= shlibsuff=
  57. ;;
  58. *)
  59. - case $LD in # libtool.m4 will add one of these switches to LD
  60. + case "$LD" in # libtool.m4 will add one of these switches to LD
  61. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  62. libsuff= shlibsuff= libmagic=32-bit;;
  63. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")