summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-01-07 14:40:27 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-01-07 14:40:27 -0800
commit77cc2193edae3c6be64997dc73d622b55df703d1 (patch)
tree961e90265bfa9832e10de1913d83562774530efe
parentc940874ed6a4292eabde99e442d4356a9880b990 (diff)
downloadtxr-77cc2193edae3c6be64997dc73d622b55df703d1.tar.gz
txr-77cc2193edae3c6be64997dc73d622b55df703d1.tar.bz2
txr-77cc2193edae3c6be64997dc73d622b55df703d1.zip
config.h: double definition of FLO_MAX_DIG
* configure: add missing break statement into the loop that determines the definition for FLO_MAX_DIG, so we don't add multiple definitions. This reproduces on the Musl library.
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index a8d7edfd..d157c5b2 100755
--- a/configure
+++ b/configure
@@ -1435,6 +1435,7 @@ int main(void)
printf "yes (%s)\n" $try_sym
printf "#define FLO_MAX_DIG $try_sym\n" >> config.h
have_dbl_decimal_dig=y
+ break
fi
done