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; then
17 with_qt_bindir=$depends_prefix/native/bin
19 if test -z $with_protoc_bindir; 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.
57 export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig
58 export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig
60 CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
61 LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
66 CCACHE=$depends_prefix/native/bin/ccache
67 PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH
69 if test -n "@AR@"; then
71 ac_cv_path_ac_pt_AR=${AR}
74 if test -n "@RANLIB@"; then
76 ac_cv_path_ac_pt_RANLIB=${RANLIB}
79 if test -n "@NM@"; then
81 ac_cv_path_ac_pt_NM=${NM}
84 if test -n "@debug@"; then
85 enable_reduce_exports=no
88 if test -n "@CFLAGS@"; then
89 CFLAGS="@CFLAGS@ $CFLAGS"
91 if test -n "@CXXFLAGS@"; then
92 CXXFLAGS="@CXXFLAGS@ $CXXFLAGS"
94 if test -n "@CPPFLAGS@"; then
95 CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
97 if test -n "@LDFLAGS@"; then
98 LDFLAGS="@LDFLAGS@ $LDFLAGS"