mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
7327a0b2ec
fad8afa3883675880dfa7fa6664fe658f10b11b5 travis: Run unit tests --with-sanitizers=undefined (MarcoFalke) 0d00fd5901102d9ca2b99d6f17a3bd96c946e3b7 depends: allow CC/CXX to be overridden during configure (Cory Fields) Pull request description: See issue #12691 Tree-SHA512: 0772e8e037411cb4664270945a0fc9c0c1ed24eeaf5308460baee707868f7b700d8e740a6babb1d02bc818a8a4b71d9e33601ab2cc850ff315755fcf3d79d29e # Conflicts: # .travis.yml
97 lines
2.0 KiB
Plaintext
97 lines
2.0 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; then
|
|
with_qt_bindir=$depends_prefix/native/bin
|
|
fi
|
|
if test -z $with_protoc_bindir; then
|
|
with_protoc_bindir=$depends_prefix/native/bin
|
|
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 -n "@debug@" && test -z "@no_qt@" && test "x$with_gui" != xno; then
|
|
with_gui=qt5_debug
|
|
fi
|
|
|
|
if test x@host_os@ = xdarwin; then
|
|
BREW=no
|
|
PORT=no
|
|
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_LIBDIR=$depends_prefix/lib/pkgconfig
|
|
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig
|
|
|
|
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/python/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
|