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
12 if test -z $enable_wallet && test -n "@no_wallet@"; then
16 if test x@host_os@ = xdarwin; then
21 PATH=$depends_prefix/native/bin:$PATH
22 PKG_CONFIG="`which pkg-config` --static"
24 # These two need to remain exported because pkg-config does not see them
25 # otherwise. That means they must be unexported at the end of configure.ac to
26 # avoid ruining the cache. Sigh.
28 export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig
29 export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig
31 CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
32 LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
38 CCACHE=$depends_prefix/native/bin/ccache
40 if test -n "@AR@"; then
42 ac_cv_path_ac_pt_AR=${AR}
45 if test -n "@RANLIB@"; then
47 ac_cv_path_ac_pt_RANLIB=${RANLIB}
50 if test -n "@NM@"; then
52 ac_cv_path_ac_pt_NM=${NM}
55 if test -n "@debug@"; then
56 enable_reduce_exports=no
59 if test -n "@CFLAGS@"; then
60 CFLAGS="@CFLAGS@ $CFLAGS"
62 if test -n "@CXXFLAGS@"; then
63 CXXFLAGS="@CXXFLAGS@ $CXXFLAGS"
65 if test -n "@CPPFLAGS@"; then
66 CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
68 if test -n "@LDFLAGS@"; then
69 LDFLAGS="@LDFLAGS@ $LDFLAGS"