From 9e48de3cc86c732d9cebd496d6f0a2b7e7732754 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 24 Sep 2017 18:46:47 +0200 Subject: [PATCH] configure: Miscellaneous minor changes - Move a variable closer to where it is used - Add an explanatory comment - Simplify a crosscompile check - Minor SHFLAGS simplification - Coalesce some threads tests --- configure | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/configure b/configure index e608d26608..be9a3ee5cb 100755 --- a/configure +++ b/configure @@ -347,8 +347,6 @@ EOF exit 0 } -quotes='""' - log(){ echo "$@" >> $logfile } @@ -2861,6 +2859,8 @@ done disabled logging && logfile=/dev/null +# command line configuration sanity checks + # we need to build at least one lib type if ! enabled_any static shared; then cat < $TMPV if test_ldflags -Wl,${version_script},$TMPV; then append SHFLAGS '-Wl,${version_script},\$(SUBDIR)lib\$(NAME).ver' + quotes='""' check_cc <