From: James Zern Date: Thu, 29 Jan 2015 04:30:51 +0000 (-0800) Subject: configure: echo --(disable|enable)-* cmdline options X-Git-Tag: v1.4.0~205^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef7f33b93bd833d84e2c4054bf2ff713f2d9baf0;p=libvpx configure: echo --(disable|enable)-* cmdline options gives a better summary of what is enabled / disabled outside of the automatic toolchain options. fixes issue #936 Change-Id: I1bf27593a5512713aab1473cb606c58cf3084d62 --- diff --git a/build/make/configure.sh b/build/make/configure.sh index 099793810..d889a02c0 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -201,7 +201,7 @@ disabled(){ soft_enable() { for var in $*; do if ! disabled $var; then - log_echo " enabling $var" + enabled $var || log_echo " enabling $var" enable_feature $var fi done @@ -210,7 +210,7 @@ soft_enable() { soft_disable() { for var in $*; do if ! enabled $var; then - log_echo " disabling $var" + disabled $var || log_echo " disabling $var" disable_feature $var fi done @@ -508,9 +508,11 @@ process_common_cmdline() { elif [ $action = "disable" ] && ! disabled $option ; then echo "${CMDLINE_SELECT}" | grep "^ *$option\$" >/dev/null || die_unknown $opt + log_echo " disabling $option" elif [ $action = "enable" ] && ! enabled $option ; then echo "${CMDLINE_SELECT}" | grep "^ *$option\$" >/dev/null || die_unknown $opt + log_echo " enabling $option" fi ${action}_feature $option ;;