From b04529fefdccffc8921f213a83e407fd346dc84c Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Wed, 10 May 2017 16:54:58 +0100 Subject: [PATCH] Disable building Proton by default. Signed-off-by: Daira Hopwood --- zcutil/build.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/zcutil/build.sh b/zcutil/build.sh index 71cff726b..0122a24f5 100755 --- a/zcutil/build.sh +++ b/zcutil/build.sh @@ -33,7 +33,7 @@ Usage: $0 --help Show this help message and exit. -$0 [ --enable-lcov || --disable-tests ] [ --disable-mining ] [ --disable-rust ] [ --disable-proton ] [ MAKEARGS... ] +$0 [ --enable-lcov || --disable-tests ] [ --disable-mining ] [ --disable-rust ] [ --enable-proton ] [ MAKEARGS... ] Build Zcash and most of its transitive dependencies from source. MAKEARGS are applied to both dependencies and Zcash itself. @@ -45,11 +45,11 @@ $0 [ --enable-lcov || --disable-tests ] [ --disable-mining ] [ --disable-rust ] code. It must be passed after the test arguments, if present. If --disable-rust is passed, Zcash is configured to not build any Rust language - assets. It must be passed after mining/test arguments, if present. + assets. It must be passed after test/mining arguments, if present. - If --disable-proton is passed, Zcash is configured to not build the Apache - Qpid Proton library required for AMQP support. It must be passed after the - test arguments, if present. + If --enable-proton is passed, Zcash is configured to build the Apache Qpid Proton + library required for AMQP support. This library is not built by default. + It must be passed after the test/mining/Rust arguments, if present. EOF exit 0 fi @@ -88,11 +88,11 @@ then shift fi -# If --disable-proton is the next argument, disable building Proton code: -PROTON_ARG='' -if [ "x${1:-}" = 'x--disable-proton' ] +# If --enable-proton is the next argument, enable building Proton code: +PROTON_ARG='--enable-proton=no' +if [ "x${1:-}" = 'x--enable-proton' ] then - PROTON_ARG='--enable-proton=no' + PROTON_ARG='' shift fi