Debian Codegraph @

monero/contrib/depends/config.site.in

raw
1 depends_prefix="`dirname ${ac_site_file}`/.."
2
3 cross_compiling=maybe
4 host_alias=@HOST@
5 ac_tool_prefix=${host_alias}-
6
7 if test -z $with_boost; then
8 with_boost=$depends_prefix
9 fi
10
11 if test x@host_os@ = xdarwin; then
12 BREW=no
13 PORT=no
14 fi
15
16 PATH=$depends_prefix/native/bin:$PATH
17 PKG_CONFIG="`which pkg-config` --static"
18
19 # These two need to remain exported because pkg-config does not see them
20 # otherwise. That means they must be unexported at the end of configure.ac to
21 # avoid ruining the cache. Sigh.
22 export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
23 if test -z "@allow_host_packages@"; then
24 export PKGCONFIG_LIBDIR=
25 fi
26
27 CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
28 LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
29
30 CC="@CC@"
31 CXX="@CXX@"
32 OBJC="${CC}"
33 CCACHE=$depends_prefix/native/bin/ccache
34 PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH
35
36 if test -n "@AR@"; then
37 AR=@AR@
38 ac_cv_path_ac_pt_AR=${AR}
39 fi
40
41 if test -n "@RANLIB@"; then
42 RANLIB=@RANLIB@
43 ac_cv_path_ac_pt_RANLIB=${RANLIB}
44 fi
45
46 if test -n "@NM@"; then
47 NM=@NM@
48 ac_cv_path_ac_pt_NM=${NM}
49 fi
50
51 if test -n "@debug@"; then
52 enable_reduce_exports=no
53 fi
54
55 if test -n "@CFLAGS@"; then
56 CFLAGS="@CFLAGS@ $CFLAGS"
57 fi
58 if test -n "@CXXFLAGS@"; then
59 CXXFLAGS="@CXXFLAGS@ $CXXFLAGS"
60 fi
61 if test -n "@CPPFLAGS@"; then
62 CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
63 fi
64 if test -n "@LDFLAGS@"; then
65 LDFLAGS="@LDFLAGS@ $LDFLAGS"
66 fi