1
0

000-remove-dep-on-pthread-stubs.patch 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. --- a/configure 2016-07-23 15:19:06.000000000 +0200
  2. +++ b/configure 2016-08-27 01:11:02.440530337 +0200
  3. @@ -13334,98 +13334,6 @@
  4. fi
  5. fi
  6. -pkg_failed=no
  7. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREADSTUBS" >&5
  8. -$as_echo_n "checking for PTHREADSTUBS... " >&6; }
  9. -
  10. -if test -n "$PTHREADSTUBS_CFLAGS"; then
  11. - pkg_cv_PTHREADSTUBS_CFLAGS="$PTHREADSTUBS_CFLAGS"
  12. - elif test -n "$PKG_CONFIG"; then
  13. - if test -n "$PKG_CONFIG" && \
  14. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pthread-stubs\""; } >&5
  15. - ($PKG_CONFIG --exists --print-errors "pthread-stubs") 2>&5
  16. - ac_status=$?
  17. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18. - test $ac_status = 0; }; then
  19. - pkg_cv_PTHREADSTUBS_CFLAGS=`$PKG_CONFIG --cflags "pthread-stubs" 2>/dev/null`
  20. - test "x$?" != "x0" && pkg_failed=yes
  21. -else
  22. - pkg_failed=yes
  23. -fi
  24. - else
  25. - pkg_failed=untried
  26. -fi
  27. -if test -n "$PTHREADSTUBS_LIBS"; then
  28. - pkg_cv_PTHREADSTUBS_LIBS="$PTHREADSTUBS_LIBS"
  29. - elif test -n "$PKG_CONFIG"; then
  30. - if test -n "$PKG_CONFIG" && \
  31. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pthread-stubs\""; } >&5
  32. - ($PKG_CONFIG --exists --print-errors "pthread-stubs") 2>&5
  33. - ac_status=$?
  34. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  35. - test $ac_status = 0; }; then
  36. - pkg_cv_PTHREADSTUBS_LIBS=`$PKG_CONFIG --libs "pthread-stubs" 2>/dev/null`
  37. - test "x$?" != "x0" && pkg_failed=yes
  38. -else
  39. - pkg_failed=yes
  40. -fi
  41. - else
  42. - pkg_failed=untried
  43. -fi
  44. -
  45. -
  46. -
  47. -if test $pkg_failed = yes; then
  48. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  49. -$as_echo "no" >&6; }
  50. -
  51. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  52. - _pkg_short_errors_supported=yes
  53. -else
  54. - _pkg_short_errors_supported=no
  55. -fi
  56. - if test $_pkg_short_errors_supported = yes; then
  57. - PTHREADSTUBS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pthread-stubs" 2>&1`
  58. - else
  59. - PTHREADSTUBS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pthread-stubs" 2>&1`
  60. - fi
  61. - # Put the nasty error message in config.log where it belongs
  62. - echo "$PTHREADSTUBS_PKG_ERRORS" >&5
  63. -
  64. - as_fn_error $? "Package requirements (pthread-stubs) were not met:
  65. -
  66. -$PTHREADSTUBS_PKG_ERRORS
  67. -
  68. -Consider adjusting the PKG_CONFIG_PATH environment variable if you
  69. -installed software in a non-standard prefix.
  70. -
  71. -Alternatively, you may set the environment variables PTHREADSTUBS_CFLAGS
  72. -and PTHREADSTUBS_LIBS to avoid the need to call pkg-config.
  73. -See the pkg-config man page for more details." "$LINENO" 5
  74. -elif test $pkg_failed = untried; then
  75. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  76. -$as_echo "no" >&6; }
  77. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  78. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  79. -as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  80. -is in your PATH or set the PKG_CONFIG environment variable to the full
  81. -path to pkg-config.
  82. -
  83. -Alternatively, you may set the environment variables PTHREADSTUBS_CFLAGS
  84. -and PTHREADSTUBS_LIBS to avoid the need to call pkg-config.
  85. -See the pkg-config man page for more details.
  86. -
  87. -To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  88. -See \`config.log' for more details" "$LINENO" 5; }
  89. -else
  90. - PTHREADSTUBS_CFLAGS=$pkg_cv_PTHREADSTUBS_CFLAGS
  91. - PTHREADSTUBS_LIBS=$pkg_cv_PTHREADSTUBS_LIBS
  92. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  93. -$as_echo "yes" >&6; }
  94. -
  95. -fi
  96. -
  97. -
  98. pkgconfigdir=${libdir}/pkgconfig