You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.site.in 2.2KB

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