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