|
|
@ -222,6 +222,7 @@ case $host in
|
|
|
|
TARGET_OS=darwin
|
|
|
|
TARGET_OS=darwin
|
|
|
|
LEVELDB_TARGET_FLAGS="TARGET_OS=Darwin"
|
|
|
|
LEVELDB_TARGET_FLAGS="TARGET_OS=Darwin"
|
|
|
|
if test x$cross_compiling != xyes; then
|
|
|
|
if test x$cross_compiling != xyes; then
|
|
|
|
|
|
|
|
BUILD_OS=darwin
|
|
|
|
AC_CHECK_PROG([PORT],port, port)
|
|
|
|
AC_CHECK_PROG([PORT],port, port)
|
|
|
|
if test x$PORT = xport; then
|
|
|
|
if test x$PORT = xport; then
|
|
|
|
dnl add default macports paths
|
|
|
|
dnl add default macports paths
|
|
|
@ -238,6 +239,17 @@ case $host in
|
|
|
|
CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include"
|
|
|
|
CPPFLAGS="$CPPFLAGS -I$bdb_prefix/include"
|
|
|
|
LIBS="$LIBS -L$bdb_prefix/lib"
|
|
|
|
LIBS="$LIBS -L$bdb_prefix/lib"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
case $build_os in
|
|
|
|
|
|
|
|
*darwin*)
|
|
|
|
|
|
|
|
BUILD_OS=darwin
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
|
|
|
|
AC_PATH_TOOL([INSTALLNAMETOOL], [install_name_tool], install_name_tool)
|
|
|
|
|
|
|
|
AC_PATH_TOOL([OTOOL], [otool], otool)
|
|
|
|
|
|
|
|
AC_PATH_PROGS([GENISOIMAGE], [genisoimage mkisofs],genisoimage)
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
CPPFLAGS="$CPPFLAGS -DMAC_OSX"
|
|
|
|
CPPFLAGS="$CPPFLAGS -DMAC_OSX"
|
|
|
@ -671,6 +683,7 @@ if test "x$use_tests$build_bitcoind$use_qt" = "xnonono"; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin])
|
|
|
|
AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin])
|
|
|
|
|
|
|
|
AM_CONDITIONAL([BUILD_DARWIN], [test x$BUILD_OS = xdarwin])
|
|
|
|
AM_CONDITIONAL([TARGET_WINDOWS], [test x$TARGET_OS = xwindows])
|
|
|
|
AM_CONDITIONAL([TARGET_WINDOWS], [test x$TARGET_OS = xwindows])
|
|
|
|
AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet == xyes])
|
|
|
|
AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet == xyes])
|
|
|
|
AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes])
|
|
|
|
AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes])
|
|
|
|