]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: provide a cross-compiling default for 16 bit float checks
authorPádraig Brady <P@draigBrady.com>
Fri, 15 Mar 2024 11:38:28 +0000 (11:38 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 15 Mar 2024 11:38:28 +0000 (11:38 +0000)
* configure.ac: Provide a conservative 16 bit float support default
when cross-compiling, to avoid configure failing in that case.

configure.ac

index 898ccf5d5f1be2ae6f49644c781dade6f8663a24..9cb6ee149405c56183e9d50aad080da0012c5b64 100644 (file)
@@ -585,6 +585,8 @@ AC_CACHE_VAL([utils_cv_ieee_16_bit_supported],[
     utils_cv_ieee_16_bit_supported=yes
   ],[
     utils_cv_ieee_16_bit_supported=no
+  ],[
+    utils_cv_ieee_16_bit_supported=no
   ])])
 AC_MSG_RESULT([$utils_cv_ieee_16_bit_supported])
 if test $utils_cv_ieee_16_bit_supported = yes; then
@@ -607,6 +609,8 @@ AC_CACHE_VAL([utils_cv_brain_16_bit_supported],[
     utils_cv_brain_16_bit_supported=yes
   ],[
     utils_cv_brain_16_bit_supported=no
+  ],[
+    utils_cv_brain_16_bit_supported=no
   ])])
 AC_MSG_RESULT([$utils_cv_brain_16_bit_supported])
 if test $utils_cv_brain_16_bit_supported = yes; then