@ -4995,8 +4995,8 @@ $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
@@ -4995,8 +4995,8 @@ $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
$as_echo "#define HAVE_BOOST /**/" >>confdefs.h
# execute ACTION-IF-FOUND (if present):
{ $as_echo "$as_me:${as_lineno-$LINENO}: Boost CPP FLAGS: \"$BOOST_CPPFLAGS\"" >&5
$as_echo "$as_me: Boost CPP FLAGS: \"$BOOST_CPPFLAGS\"" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Boost CXX FLAGS: \"$BOOST_CPPFLAGS\"" >&5
$as_echo "$as_me: Boost CXX FLAGS: \"$BOOST_CPPFLAGS\"" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&5
$as_echo "$as_me: Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&6;}
fi
@ -5009,7 +5009,7 @@ fi
@@ -5009,7 +5009,7 @@ fi
CPPFLAGS="$BOOST_CPPFLAGS $CPP FLAGS"
CXXFLAGS="$BOOST_CPPFLAGS $CXX FLAGS"
LDFLAGS="$BOOST_LDFLAGS $LDFLAGS"
# add workaround for problematic boost version
@ -5386,7 +5386,7 @@ else
@@ -5386,7 +5386,7 @@ else
libtorrent_LIBS=$pkg_cv_libtorrent_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
CPPFLAGS="$libtorrent_CFLAGS $CPP FLAGS"
CXXFLAGS="$libtorrent_CFLAGS $CXX FLAGS"
LIBS="$libtorrent_LIBS $LIBS"
fi
@ -5479,7 +5479,7 @@ else
@@ -5479,7 +5479,7 @@ else
zlib_LIBS=$pkg_cv_zlib_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
CPPFLAGS="$zlib_CFLAGS $CPP FLAGS"
CXXFLAGS="$zlib_CFLAGS $CXX FLAGS"
LIBS="$zlib_LIBS $LIBS"
fi
@ -5519,8 +5519,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
@@ -5519,8 +5519,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test "x$QBT_CXX11_FOUND" = "xno"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports C++11" >&5
$as_echo_n "checking if compiler supports C++11... " >&6; }
TMP_CPPFLAGS="$CPP FLAGS"
CPPFLAGS="$CPP FLAGS -std=c++11"
TMP_CXXFLAGS="$CXX FLAGS"
CXXFLAGS="$CXX FLAGS -std=c++11"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@ -5544,7 +5544,7 @@ $as_echo "yes" >&6; }
@@ -5544,7 +5544,7 @@ $as_echo "yes" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++11 is disabled by the set compiler flags" >&5
$as_echo_n "checking if C++11 is disabled by the set compiler flags... " >&6; }
# prepend the flag so it won't override conflicting user defined flags
CPPFLAGS="-std=c++11 $TMP_CPP FLAGS"
CXXFLAGS="-std=c++11 $TMP_CXX FLAGS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@ -5565,15 +5565,15 @@ _ACEOF
@@ -5565,15 +5565,15 @@ _ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
CPPFLAGS="$TMP_CPP FLAGS -std=c++11"
CXXFLAGS="$TMP_CXX FLAGS -std=c++11"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C++11 mode is now force enabled.
Make sure you use the same C++ mode for qBittorrent and its dependencies.
To explicitly set qBittorrent to a later mode use CPP FLAGS.
Example: \`CPPFLAGS=\"\$CPP FLAGS -std=c++14\" ./configure\`" >&5
To explicitly set qBittorrent to a later mode use CXX FLAGS.
Example: \`CXXFLAGS=\"\$CXX FLAGS -std=c++14\" ./configure\`" >&5
$as_echo "$as_me: WARNING: C++11 mode is now force enabled.
Make sure you use the same C++ mode for qBittorrent and its dependencies.
To explicitly set qBittorrent to a later mode use CPP FLAGS.
Example: \`CPPFLAGS=\"\$CPP FLAGS -std=c++14\" ./configure\`" >&2;}
To explicitly set qBittorrent to a later mode use CXX FLAGS.
Example: \`CXXFLAGS=\"\$CXX FLAGS -std=c++14\" ./configure\`" >&2;}
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
@ -5683,7 +5683,7 @@ extract() {
@@ -5683,7 +5683,7 @@ extract() {
IFS=$SAVEIFS
}
extract "$CFLAGS $CXXFLAGS $CPPFLAGS "
extract "$CFLAGS $CXXFLAGS"
QBT_ADD_DEFINES="$QBT_ADD_DEFINES $QBT_CONF_DEFINES"
# Substitute the values of these vars in conf.pri.in