1 depends_prefix="`dirname ${ac_site_file}`/.."
5 ac_tool_prefix=${host_alias}-
7 if test -z $with_boost; then
8 with_boost=$depends_prefix
10 if test -z $with_qt_plugindir; then
11 with_qt_plugindir=$depends_prefix/plugins
13 if test -z $with_qt_translationdir; then
14 with_qt_translationdir=$depends_prefix/translations
16 if test -z $with_qt_bindir && test -z "@no_qt@"; then
17 with_qt_bindir=$depends_prefix/native/bin
19 if test -z $with_protoc_bindir && test -z "@no_qt@"; then
20 with_protoc_bindir=$depends_prefix/native/bin
24 if test -z $enable_wallet && test -n "@no_wallet@"; then
28 if test -z $with_miniupnpc && test -n "@no_upnp@"; then
32 if test -z $with_gui && test -n "@no_qt@"; then
36 if test x@host_os@ = xdarwin; then
41 if test x@host_os@ = xmingw32; then
42 if test -z $with_qt_incdir; then
43 with_qt_incdir=$depends_prefix/include
45 if test -z $with_qt_libdir; then
46 with_qt_libdir=$depends_prefix/lib
50 PATH=$depends_prefix/native/bin:$PATH
51 PKG_CONFIG="`which pkg-config` --static"
53 # These two need to remain exported because pkg-config does not see them
54 # otherwise. That means they must be unexported at the end of configure.ac to
55 # avoid ruining the cache. Sigh.
56 export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
57 if test -z "@allow_host_packages@"; then
58 export PKGCONFIG_LIBDIR=
61 CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
62 LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
67 CCACHE=$depends_prefix/native/bin/ccache
68 PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH
70 if test -n "@AR@"; then
72 ac_cv_path_ac_pt_AR=${AR}
75 if test -n "@RANLIB@"; then
77 ac_cv_path_ac_pt_RANLIB=${RANLIB}
80 if test -n "@NM@"; then
82 ac_cv_path_ac_pt_NM=${NM}
85 if test -n "@debug@"; then
86 enable_reduce_exports=no
89 if test -n "@CFLAGS@"; then
90 CFLAGS="@CFLAGS@ $CFLAGS"
92 if test -n "@CXXFLAGS@"; then
93 CXXFLAGS="@CXXFLAGS@ $CXXFLAGS"
95 if test -n "@CPPFLAGS@"; then
96 CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
98 if test -n "@LDFLAGS@"; then
99 LDFLAGS="@LDFLAGS@ $LDFLAGS"