Fix invalid memory access in CScript::operator+=
[bitcoinplatinum.git] / depends / config.site.in
blob0a4a9c327e2e73e55d226c4cdc8a543bcf0da1f5
1 depends_prefix="`dirname ${ac_site_file}`/.."
3 cross_compiling=maybe
4 host_alias=@HOST@
5 ac_tool_prefix=${host_alias}-
7 if test -z $with_boost; then
8   with_boost=$depends_prefix
9 fi
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
25   enable_wallet=no
28 if test -z $with_miniupnpc && test -n "@no_upnp@"; then
29   with_miniupnpc=no
32 if test -z $with_gui && test -n "@no_qt@"; then
33   with_gui=no
36 if test x@host_os@ = xdarwin; then
37   BREW=no
38   PORT=no
41 if test x@host_os@ = xmingw32; then
42   if test -z $with_qt_incdir; then
43     with_qt_incdir=$depends_prefix/include
44   fi
45   if test -z $with_qt_libdir; then
46     with_qt_libdir=$depends_prefix/lib
47   fi
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"
64 CC="@CC@"
65 CXX="@CXX@"
66 OBJC="${CC}"
67 CCACHE=$depends_prefix/native/bin/ccache
68 PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH
70 if test -n "@AR@"; then
71   AR=@AR@
72   ac_cv_path_ac_pt_AR=${AR}
75 if test -n "@RANLIB@"; then
76   RANLIB=@RANLIB@
77   ac_cv_path_ac_pt_RANLIB=${RANLIB}
80 if test -n "@NM@"; then
81   NM=@NM@
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"