|
| 1 | +depends_prefix="`dirname ${ac_site_file}`/.." |
| 2 | + |
1 | 3 | cross_compiling=maybe |
2 | 4 | host_alias=@HOST@ |
3 | 5 | ac_tool_prefix=${host_alias}- |
4 | 6 |
|
5 | 7 | if test -z $with_boost; then |
6 | | - with_boost=$prefix |
| 8 | + with_boost=$depends_prefix |
7 | 9 | fi |
8 | 10 | if test -z $with_qt_plugindir; then |
9 | | - with_qt_plugindir=$prefix/plugins |
| 11 | + with_qt_plugindir=$depends_prefix/plugins |
10 | 12 | fi |
11 | 13 | if test -z $with_qt_translationdir; then |
12 | | - with_qt_translationdir=$prefix/translations |
| 14 | + with_qt_translationdir=$depends_prefix/translations |
13 | 15 | fi |
14 | 16 | if test -z $with_qt_bindir; then |
15 | | - with_qt_bindir=$prefix/native/bin |
| 17 | + with_qt_bindir=$depends_prefix/native/bin |
16 | 18 | fi |
17 | 19 | if test -z $with_protoc_bindir; then |
18 | | - with_protoc_bindir=$prefix/native/bin |
| 20 | + with_protoc_bindir=$depends_prefix/native/bin |
19 | 21 | fi |
20 | 22 | if test -z $with_comparison_tool; then |
21 | | - with_comparison_tool=$prefix/native/share/BitcoindComparisonTool_jar/BitcoindComparisonTool.jar |
| 23 | + with_comparison_tool=$depends_prefix/native/share/BitcoindComparisonTool_jar/BitcoindComparisonTool.jar |
22 | 24 | fi |
23 | 25 |
|
24 | 26 |
|
|
41 | 43 |
|
42 | 44 | if test x@host_os@ = xmingw32; then |
43 | 45 | if test -z $with_qt_incdir; then |
44 | | - with_qt_incdir=$prefix/include |
| 46 | + with_qt_incdir=$depends_prefix/include |
45 | 47 | fi |
46 | 48 | if test -z $with_qt_libdir; then |
47 | | - with_qt_libdir=$prefix/lib |
| 49 | + with_qt_libdir=$depends_prefix/lib |
48 | 50 | fi |
49 | 51 | fi |
50 | 52 |
|
51 | | -PATH=$prefix/native/bin:$PATH |
| 53 | +PATH=$depends_prefix/native/bin:$PATH |
52 | 54 | PKG_CONFIG="`which pkg-config` --static" |
53 | 55 |
|
54 | 56 | # These two need to remain exported because pkg-config does not see them |
55 | 57 | # otherwise. That means they must be unexported at the end of configure.ac to |
56 | 58 | # avoid ruining the cache. Sigh. |
57 | 59 |
|
58 | | -export PKG_CONFIG_LIBDIR=$prefix/lib/pkgconfig |
59 | | -export PKG_CONFIG_PATH=$prefix/share/pkgconfig |
| 60 | +export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig |
| 61 | +export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig |
60 | 62 |
|
61 | | -CPPFLAGS="-I$prefix/include/ $CPPFLAGS" |
62 | | -LDFLAGS="-L$prefix/lib $LDFLAGS" |
| 63 | +CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS" |
| 64 | +LDFLAGS="-L$depends_prefix/lib $LDFLAGS" |
63 | 65 |
|
64 | 66 | CC="@CC@" |
65 | 67 | CXX="@CXX@" |
66 | 68 | OBJC="${CC}" |
67 | 69 | OBJCXX="${CXX}" |
68 | | -CCACHE=$prefix/native/bin/ccache |
69 | | -PYTHONPATH=$prefix/native/lib/python/dist-packages:$PYTHONPATH |
| 70 | +CCACHE=$depends_prefix/native/bin/ccache |
| 71 | +PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH |
70 | 72 |
|
71 | 73 | if test -n "@AR@"; then |
72 | 74 | AR=@AR@ |
|
0 commit comments