2016-06-07 21:45:02 +02:00
|
|
|
depends_prefix="`dirname ${ac_site_file}`/.."
|
|
|
|
|
2014-07-23 07:31:30 +02:00
|
|
|
cross_compiling=maybe
|
|
|
|
host_alias=@HOST@
|
|
|
|
ac_tool_prefix=${host_alias}-
|
|
|
|
|
|
|
|
if test -z $with_boost; then
|
2016-06-07 21:45:02 +02:00
|
|
|
with_boost=$depends_prefix
|
2014-07-23 07:31:30 +02:00
|
|
|
fi
|
|
|
|
if test -z $with_qt_plugindir; then
|
2016-06-07 21:45:02 +02:00
|
|
|
with_qt_plugindir=$depends_prefix/plugins
|
2014-07-23 07:31:30 +02:00
|
|
|
fi
|
|
|
|
if test -z $with_qt_translationdir; then
|
2016-06-07 21:45:02 +02:00
|
|
|
with_qt_translationdir=$depends_prefix/translations
|
2014-07-23 07:31:30 +02:00
|
|
|
fi
|
2017-06-02 15:27:47 +02:00
|
|
|
if test -z $with_qt_bindir && test -z "@no_qt@"; then
|
2016-06-07 21:45:02 +02:00
|
|
|
with_qt_bindir=$depends_prefix/native/bin
|
2014-07-23 07:31:30 +02:00
|
|
|
fi
|
2017-06-02 15:27:47 +02:00
|
|
|
if test -z $with_protoc_bindir && test -z "@no_qt@"; then
|
2016-06-07 21:45:02 +02:00
|
|
|
with_protoc_bindir=$depends_prefix/native/bin
|
2014-07-23 07:31:30 +02:00
|
|
|
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
|
|
|
|
|
2019-05-24 22:39:45 +02:00
|
|
|
if test -z $enable_zmq && test -n "@no_zmq@"; then
|
|
|
|
enable_zmq=no
|
|
|
|
fi
|
|
|
|
|
2019-09-14 05:03:56 +02:00
|
|
|
if test -n $enable_bip70 && test -n "@enable_bip70@"; then
|
|
|
|
enable_bip70=yes
|
|
|
|
fi
|
|
|
|
|
2014-10-03 20:58:59 +02:00
|
|
|
if test x@host_os@ = xdarwin; then
|
2014-07-23 07:31:30 +02:00
|
|
|
BREW=no
|
|
|
|
PORT=no
|
|
|
|
fi
|
|
|
|
|
2014-10-03 20:58:59 +02:00
|
|
|
if test x@host_os@ = xmingw32; then
|
2014-07-23 07:31:30 +02:00
|
|
|
if test -z $with_qt_incdir; then
|
2016-06-07 21:45:02 +02:00
|
|
|
with_qt_incdir=$depends_prefix/include
|
2014-07-23 07:31:30 +02:00
|
|
|
fi
|
|
|
|
if test -z $with_qt_libdir; then
|
2016-06-07 21:45:02 +02:00
|
|
|
with_qt_libdir=$depends_prefix/lib
|
2014-07-23 07:31:30 +02:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2016-06-07 21:45:02 +02:00
|
|
|
PATH=$depends_prefix/native/bin:$PATH
|
2014-11-06 02:00:34 +01:00
|
|
|
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.
|
2017-06-02 15:27:47 +02:00
|
|
|
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
|
|
|
|
if test -z "@allow_host_packages@"; then
|
|
|
|
export PKGCONFIG_LIBDIR=
|
|
|
|
fi
|
2014-09-23 23:52:43 +02:00
|
|
|
|
2016-06-07 21:45:02 +02:00
|
|
|
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
|
|
|
|
LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
|
2014-07-23 07:31:30 +02:00
|
|
|
|
2018-08-23 23:24:15 +02:00
|
|
|
if test -n "@CC@" -a -z "${CC}"; then
|
|
|
|
CC="@CC@"
|
|
|
|
fi
|
|
|
|
if test -n "@CXX@" -a -z "${CXX}"; then
|
|
|
|
CXX="@CXX@"
|
|
|
|
fi
|
2019-03-14 20:08:54 +01:00
|
|
|
PYTHONPATH=$depends_prefix/native/lib/python3/dist-packages:$PYTHONPATH
|
2014-07-23 07:31:30 +02:00
|
|
|
|
|
|
|
if test -n "@AR@"; then
|
2014-11-06 02:00:34 +01:00
|
|
|
AR=@AR@
|
2014-07-23 07:31:30 +02:00
|
|
|
ac_cv_path_ac_pt_AR=${AR}
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test -n "@RANLIB@"; then
|
2014-11-06 02:00:34 +01:00
|
|
|
RANLIB=@RANLIB@
|
2014-07-23 07:31:30 +02:00
|
|
|
ac_cv_path_ac_pt_RANLIB=${RANLIB}
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test -n "@NM@"; then
|
2014-11-06 02:00:34 +01:00
|
|
|
NM=@NM@
|
2014-07-23 07:31:30 +02:00
|
|
|
ac_cv_path_ac_pt_NM=${NM}
|
|
|
|
fi
|
|
|
|
|
2014-09-24 00:18:03 +02:00
|
|
|
if test -n "@debug@"; then
|
|
|
|
enable_reduce_exports=no
|
|
|
|
fi
|
|
|
|
|
2014-07-23 07:31:30 +02:00
|
|
|
if test -n "@CFLAGS@"; then
|
2014-11-06 02:00:34 +01:00
|
|
|
CFLAGS="@CFLAGS@ $CFLAGS"
|
2014-07-23 07:31:30 +02:00
|
|
|
fi
|
|
|
|
if test -n "@CXXFLAGS@"; then
|
2014-11-06 02:00:34 +01:00
|
|
|
CXXFLAGS="@CXXFLAGS@ $CXXFLAGS"
|
2014-07-23 07:31:30 +02:00
|
|
|
fi
|
2014-09-23 22:59:03 +02:00
|
|
|
if test -n "@CPPFLAGS@"; then
|
2014-11-06 02:00:34 +01:00
|
|
|
CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
|
2014-09-23 22:59:03 +02:00
|
|
|
fi
|
2014-09-23 23:52:43 +02:00
|
|
|
if test -n "@LDFLAGS@"; then
|
2014-11-06 02:00:34 +01:00
|
|
|
LDFLAGS="@LDFLAGS@ $LDFLAGS"
|
2014-09-23 23:52:43 +02:00
|
|
|
fi
|