1depends_prefix="`dirname ${ac_site_file}`/.." 2 3cross_compiling=maybe 4host_alias=@HOST@ 5ac_tool_prefix=${host_alias}- 6 7if test -z $with_boost; then 8 with_boost=$depends_prefix 9fi 10if test -z $with_qt_plugindir; then 11 with_qt_plugindir=$depends_prefix/plugins 12fi 13if test -z $with_qt_translationdir; then 14 with_qt_translationdir=$depends_prefix/translations 15fi 16if test -z $with_qt_bindir; then 17 with_qt_bindir=$depends_prefix/native/bin 18fi 19if test -z $with_protoc_bindir; then 20 with_protoc_bindir=$depends_prefix/native/bin 21fi 22if test -z $with_comparison_tool; then 23 with_comparison_tool=$depends_prefix/native/share/BitcoindComparisonTool_jar/BitcoindComparisonTool.jar 24fi 25 26 27if test -z $enable_wallet && test -n "@no_wallet@"; then 28 enable_wallet=no 29fi 30 31if test -z $with_miniupnpc && test -n "@no_upnp@"; then 32 with_miniupnpc=no 33fi 34 35if test -z $with_gui && test -n "@no_qt@"; then 36 with_gui=no 37fi 38 39if test x@host_os@ = xdarwin; then 40 BREW=no 41 PORT=no 42fi 43 44if test x@host_os@ = xmingw32; then 45 if test -z $with_qt_incdir; then 46 with_qt_incdir=$depends_prefix/include 47 fi 48 if test -z $with_qt_libdir; then 49 with_qt_libdir=$depends_prefix/lib 50 fi 51fi 52 53PATH=$depends_prefix/native/bin:$PATH 54PKG_CONFIG="`which pkg-config` --static" 55 56# These two need to remain exported because pkg-config does not see them 57# otherwise. That means they must be unexported at the end of configure.ac to 58# avoid ruining the cache. Sigh. 59 60export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig 61export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig 62 63CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS" 64LDFLAGS="-L$depends_prefix/lib $LDFLAGS" 65 66CC="@CC@" 67CXX="@CXX@" 68OBJC="${CC}" 69OBJCXX="${CXX}" 70CCACHE=$depends_prefix/native/bin/ccache 71PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH 72 73if test -n "@AR@"; then 74 AR=@AR@ 75 ac_cv_path_ac_pt_AR=${AR} 76fi 77 78if test -n "@RANLIB@"; then 79 RANLIB=@RANLIB@ 80 ac_cv_path_ac_pt_RANLIB=${RANLIB} 81fi 82 83if test -n "@NM@"; then 84 NM=@NM@ 85 ac_cv_path_ac_pt_NM=${NM} 86fi 87 88if test -n "@debug@"; then 89 enable_reduce_exports=no 90fi 91 92if test -n "@CFLAGS@"; then 93 CFLAGS="@CFLAGS@ $CFLAGS" 94fi 95if test -n "@CXXFLAGS@"; then 96 CXXFLAGS="@CXXFLAGS@ $CXXFLAGS" 97fi 98if test -n "@CPPFLAGS@"; then 99 CPPFLAGS="@CPPFLAGS@ $CPPFLAGS" 100fi 101if test -n "@LDFLAGS@"; then 102 LDFLAGS="@LDFLAGS@ $LDFLAGS" 103fi 104