mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-30 17:50:44 +02:00
This reverts the changes made in merge commit 1b307613604883daea4913a65da30ae073c9dc4d: This reverts commit b919efadff3d0393f4a8c3c1dc735f7ac5c665bb. This reverts commit d54f64c6c700be0604190f52c84fc5f1cdd9f02f. This reverts commit 787f40668dc15980c3d6de028d7950c08175d84a. This reverts commit d6306466626635e6fee44385e6a688c8dc118eb5. This reverts commit e6e44eedd56ecaf59f3fabf8e07ab7dee0ddb1b6.
107 lines
2.3 KiB
Plaintext
107 lines
2.3 KiB
Plaintext
depends_prefix="`dirname ${ac_site_file}`/.."
|
|
|
|
cross_compiling=maybe
|
|
host_alias=@HOST@
|
|
ac_tool_prefix=${host_alias}-
|
|
|
|
if test -z $with_boost; then
|
|
with_boost=$depends_prefix
|
|
fi
|
|
if test -z $with_qt_plugindir; then
|
|
with_qt_plugindir=$depends_prefix/plugins
|
|
fi
|
|
if test -z $with_qt_translationdir; then
|
|
with_qt_translationdir=$depends_prefix/translations
|
|
fi
|
|
if test -z $with_qt_bindir && test -z "@no_qt@"; then
|
|
with_qt_bindir=$depends_prefix/native/bin
|
|
fi
|
|
|
|
if test -z $with_qrencode && test -n "@no_qr@"; then
|
|
with_qrencode=no
|
|
fi
|
|
|
|
if test -z $enable_wallet && test -n "@no_wallet@"; then
|
|
enable_wallet=no
|
|
fi
|
|
|
|
if test -z $with_miniupnpc && test -n "@no_upnp@"; then
|
|
with_miniupnpc=no
|
|
fi
|
|
|
|
if test -z $with_gui && test -n "@no_qt@"; then
|
|
with_gui=no
|
|
fi
|
|
|
|
if test -z $enable_zmq && test -n "@no_zmq@"; then
|
|
enable_zmq=no
|
|
fi
|
|
|
|
if test x@host_os@ = xdarwin; then
|
|
BREW=no
|
|
PORT=no
|
|
fi
|
|
|
|
if test x@host_os@ = xmingw32; then
|
|
if test -z $with_qt_incdir; then
|
|
with_qt_incdir=$depends_prefix/include
|
|
fi
|
|
if test -z $with_qt_libdir; then
|
|
with_qt_libdir=$depends_prefix/lib
|
|
fi
|
|
fi
|
|
|
|
PATH=$depends_prefix/native/bin:$PATH
|
|
PKG_CONFIG="`which pkg-config` --static"
|
|
|
|
# These two need to remain exported because pkg-config does not see them
|
|
# otherwise. That means they must be unexported at the end of configure.ac to
|
|
# avoid ruining the cache. Sigh.
|
|
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
|
|
if test -z "@allow_host_packages@"; then
|
|
export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig
|
|
fi
|
|
|
|
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
|
|
LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
|
|
|
|
if test -n "@CC@" -a -z "${CC}"; then
|
|
CC="@CC@"
|
|
fi
|
|
if test -n "@CXX@" -a -z "${CXX}"; then
|
|
CXX="@CXX@"
|
|
fi
|
|
PYTHONPATH=$depends_prefix/native/lib/python3/dist-packages:$PYTHONPATH
|
|
|
|
if test -n "@AR@"; then
|
|
AR=@AR@
|
|
ac_cv_path_ac_pt_AR=${AR}
|
|
fi
|
|
|
|
if test -n "@RANLIB@"; then
|
|
RANLIB=@RANLIB@
|
|
ac_cv_path_ac_pt_RANLIB=${RANLIB}
|
|
fi
|
|
|
|
if test -n "@NM@"; then
|
|
NM=@NM@
|
|
ac_cv_path_ac_pt_NM=${NM}
|
|
fi
|
|
|
|
if test -n "@debug@"; then
|
|
enable_reduce_exports=no
|
|
fi
|
|
|
|
if test -n "@CFLAGS@"; then
|
|
CFLAGS="@CFLAGS@ $CFLAGS"
|
|
fi
|
|
if test -n "@CXXFLAGS@"; then
|
|
CXXFLAGS="@CXXFLAGS@ $CXXFLAGS"
|
|
fi
|
|
if test -n "@CPPFLAGS@"; then
|
|
CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
|
|
fi
|
|
if test -n "@LDFLAGS@"; then
|
|
LDFLAGS="@LDFLAGS@ $LDFLAGS"
|
|
fi
|