dash/depends/config.site.in

101 lines
2.1 KiB
Plaintext
Raw Normal View History

depends_prefix="`dirname ${ac_site_file}`/.."
2014-12-31 17:49:12 +01:00
cross_compiling=maybe
host_alias=@HOST@
ac_tool_prefix=${host_alias}-
if test -z $with_boost; then
with_boost=$depends_prefix
2014-12-31 17:49:12 +01:00
fi
if test -z $with_qt_plugindir; then
with_qt_plugindir=$depends_prefix/plugins
2014-12-31 17:49:12 +01:00
fi
if test -z $with_qt_translationdir; then
with_qt_translationdir=$depends_prefix/translations
2014-12-31 17:49:12 +01:00
fi
if test -z $with_qt_bindir; then
with_qt_bindir=$depends_prefix/native/bin
2014-12-31 17:49:12 +01:00
fi
if test -z $with_protoc_bindir; then
with_protoc_bindir=$depends_prefix/native/bin
2014-12-31 17:49:12 +01:00
fi
if test -z $enable_wallet && test -n "@no_wallet@"; then
enable_wallet=no
fi
if test -z $with_miniupnpc && test -n "@no_upnp@"; then
with_miniupnpc=no
fi
if test -z $with_gui && test -n "@no_qt@"; then
with_gui=no
fi
if test x@host_os@ = xdarwin; then
BREW=no
PORT=no
fi
if test x@host_os@ = xmingw32; then
if test -z $with_qt_incdir; then
with_qt_incdir=$depends_prefix/include
2014-12-31 17:49:12 +01:00
fi
if test -z $with_qt_libdir; then
with_qt_libdir=$depends_prefix/lib
2014-12-31 17:49:12 +01:00
fi
fi
PATH=$depends_prefix/native/bin:$PATH
2014-12-31 17:49:12 +01:00
PKG_CONFIG="`which pkg-config` --static"
# These two need to remain exported because pkg-config does not see them
# otherwise. That means they must be unexported at the end of configure.ac to
# avoid ruining the cache. Sigh.
export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig
2014-12-31 17:49:12 +01:00
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
2014-12-31 17:49:12 +01:00
CC="@CC@"
CXX="@CXX@"
OBJC="${CC}"
OBJCXX="${CXX}"
CCACHE=$depends_prefix/native/bin/ccache
PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH
2014-12-31 17:49:12 +01:00
if test -n "@AR@"; then
AR=@AR@
ac_cv_path_ac_pt_AR=${AR}
fi
if test -n "@RANLIB@"; then
RANLIB=@RANLIB@
ac_cv_path_ac_pt_RANLIB=${RANLIB}
fi
if test -n "@NM@"; then
NM=@NM@
ac_cv_path_ac_pt_NM=${NM}
fi
if test -n "@debug@"; then
enable_reduce_exports=no
fi
if test -n "@CFLAGS@"; then
CFLAGS="@CFLAGS@ $CFLAGS"
fi
if test -n "@CXXFLAGS@"; then
CXXFLAGS="@CXXFLAGS@ $CXXFLAGS"
fi
if test -n "@CPPFLAGS@"; then
CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
fi
if test -n "@LDFLAGS@"; then
LDFLAGS="@LDFLAGS@ $LDFLAGS"
fi