]>
Commit | Line | Data |
---|---|---|
1dec09b3 CF |
1 | cross_compiling=maybe |
2 | host_alias=@HOST@ | |
3 | ac_tool_prefix=${host_alias}- | |
4 | ||
5 | if test -z $with_boost; then | |
6 | with_boost=$prefix | |
7 | fi | |
8 | if test -z $with_qt_plugindir; then | |
9 | with_qt_plugindir=$prefix/plugins | |
10 | fi | |
11 | if test -z $with_qt_translationdir; then | |
12 | with_qt_translationdir=$prefix/translations | |
13 | fi | |
14 | if test -z $with_qt_bindir; then | |
15 | with_qt_bindir=$prefix/native/bin | |
16 | fi | |
17 | if test -z $with_protoc_bindir; then | |
18 | with_protoc_bindir=$prefix/native/bin | |
19 | fi | |
20 | if test -z $with_comparison_tool; then | |
21 | with_comparison_tool=$prefix/native/share/BitcoindComparisonTool_jar/BitcoindComparisonTool.jar | |
22 | fi | |
23 | ||
24 | ||
25 | if test -z $enable_wallet && test -n "@no_wallet@"; then | |
26 | enable_wallet=no | |
27 | fi | |
28 | ||
29 | if test -z $with_miniupnpc && test -n "@no_upnp@"; then | |
30 | with_miniupnpc=no | |
31 | fi | |
32 | ||
33 | if test -z $with_gui && test -n "@no_qt@"; then | |
34 | with_gui=no | |
35 | fi | |
36 | ||
37 | if test @host_os@ == darwin; then | |
38 | BREW=no | |
39 | PORT=no | |
40 | fi | |
41 | ||
42 | if test @host_os@ == mingw32; then | |
43 | if test -z $with_qt_incdir; then | |
44 | with_qt_incdir=$prefix/include | |
45 | fi | |
46 | if test -z $with_qt_libdir; then | |
47 | with_qt_libdir=$prefix/lib | |
48 | fi | |
49 | fi | |
50 | ||
51 | export PATH=$prefix/native/bin:$PATH | |
52 | export PKG_CONFIG="`which pkg-config` --static" | |
53 | export PKG_CONFIG_LIBDIR=$prefix/lib/pkgconfig | |
54 | export PKG_CONFIG_PATH=$prefix/share/pkgconfig | |
cf12c223 | 55 | export CPPFLAGS="-I$prefix/include/ $CPPFLAGS" |
1dec09b3 CF |
56 | |
57 | export CC="@CC@" | |
58 | export CXX="@CXX@" | |
59 | export OBJC="${CC}" | |
60 | export OBJCXX="${CXX}" | |
61 | export CCACHE=$prefix/native/bin/ccache | |
62 | ||
63 | if test -n "@AR@"; then | |
64 | export AR=@AR@ | |
65 | ac_cv_path_ac_pt_AR=${AR} | |
66 | fi | |
67 | ||
68 | if test -n "@RANLIB@"; then | |
69 | export RANLIB=@RANLIB@ | |
70 | ac_cv_path_ac_pt_RANLIB=${RANLIB} | |
71 | fi | |
72 | ||
73 | if test -n "@NM@"; then | |
74 | export NM=@NM@ | |
75 | ac_cv_path_ac_pt_NM=${NM} | |
76 | fi | |
77 | ||
78 | if test -n "@CFLAGS@"; then | |
79 | export CFLAGS="@CFLAGS@ $CFLAGS" | |
80 | fi | |
81 | if test -n "@CXXFLAGS@"; then | |
82 | export CXXFLAGS="@CXXFLAGS@ $CXXFLAGS" | |
83 | fi | |
84 | export LDFLAGS="-L$prefix/lib @LDFLAGS@ $LDFLAGS" |