|
|
@ -6039,12 +6039,12 @@ if test -n "$libtorrent_CFLAGS"; then |
|
|
|
pkg_cv_libtorrent_CFLAGS="$libtorrent_CFLAGS" |
|
|
|
pkg_cv_libtorrent_CFLAGS="$libtorrent_CFLAGS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.2.13\""; } >&5 |
|
|
|
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.2.14\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.2.13") 2>&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.2.14") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
ac_status=$? |
|
|
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_libtorrent_CFLAGS=`$PKG_CONFIG --cflags "libtorrent-rasterbar >= 1.2.13" 2>/dev/null` |
|
|
|
pkg_cv_libtorrent_CFLAGS=`$PKG_CONFIG --cflags "libtorrent-rasterbar >= 1.2.14" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
pkg_failed=yes |
|
|
@ -6056,12 +6056,12 @@ if test -n "$libtorrent_LIBS"; then |
|
|
|
pkg_cv_libtorrent_LIBS="$libtorrent_LIBS" |
|
|
|
pkg_cv_libtorrent_LIBS="$libtorrent_LIBS" |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
elif test -n "$PKG_CONFIG"; then |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
if test -n "$PKG_CONFIG" && \ |
|
|
|
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.2.13\""; } >&5 |
|
|
|
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.2.14\""; } >&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.2.13") 2>&5 |
|
|
|
($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.2.14") 2>&5 |
|
|
|
ac_status=$? |
|
|
|
ac_status=$? |
|
|
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
|
test $ac_status = 0; }; then |
|
|
|
test $ac_status = 0; }; then |
|
|
|
pkg_cv_libtorrent_LIBS=`$PKG_CONFIG --libs "libtorrent-rasterbar >= 1.2.13" 2>/dev/null` |
|
|
|
pkg_cv_libtorrent_LIBS=`$PKG_CONFIG --libs "libtorrent-rasterbar >= 1.2.14" 2>/dev/null` |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
test "x$?" != "x0" && pkg_failed=yes |
|
|
|
else |
|
|
|
else |
|
|
|
pkg_failed=yes |
|
|
|
pkg_failed=yes |
|
|
@ -6082,14 +6082,14 @@ else |
|
|
|
_pkg_short_errors_supported=no |
|
|
|
_pkg_short_errors_supported=no |
|
|
|
fi |
|
|
|
fi |
|
|
|
if test $_pkg_short_errors_supported = yes; then |
|
|
|
if test $_pkg_short_errors_supported = yes; then |
|
|
|
libtorrent_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtorrent-rasterbar >= 1.2.13" 2>&1` |
|
|
|
libtorrent_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtorrent-rasterbar >= 1.2.14" 2>&1` |
|
|
|
else |
|
|
|
else |
|
|
|
libtorrent_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent-rasterbar >= 1.2.13" 2>&1` |
|
|
|
libtorrent_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent-rasterbar >= 1.2.14" 2>&1` |
|
|
|
fi |
|
|
|
fi |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
# Put the nasty error message in config.log where it belongs |
|
|
|
echo "$libtorrent_PKG_ERRORS" >&5 |
|
|
|
echo "$libtorrent_PKG_ERRORS" >&5 |
|
|
|
|
|
|
|
|
|
|
|
as_fn_error $? "Package requirements (libtorrent-rasterbar >= 1.2.13) were not met: |
|
|
|
as_fn_error $? "Package requirements (libtorrent-rasterbar >= 1.2.14) were not met: |
|
|
|
|
|
|
|
|
|
|
|
$libtorrent_PKG_ERRORS |
|
|
|
$libtorrent_PKG_ERRORS |
|
|
|
|
|
|
|
|
|
|
@ -7845,4 +7845,3 @@ fi |
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Good, the configure finished." >&5 |
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Good, the configure finished." >&5 |
|
|
|
printf "%s\n" "$as_me: Good, the configure finished." >&6;} |
|
|
|
printf "%s\n" "$as_me: Good, the configure finished." >&6;} |
|
|
|
printf "%s\n" |
|
|
|
printf "%s\n" |
|
|
|
|
|
|
|
|
|
|
|