aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-06-11 19:46:13 +0300
committerRémi Denis-Courmont <remi@remlab.net>2024-06-24 20:23:32 +0300
commit0d748eec8d52715f2949bd03519d39f2bf5baac4 (patch)
tree4eb1325766615379c0e857b42285e59445a18cf4 /configure
parentc3814d54098a3148486819834edbef4adbfd0426 (diff)
downloadffmpeg-0d748eec8d52715f2949bd03519d39f2bf5baac4.tar.gz
configure: detect 64-bit generic platforms
Currently, any unrecognised platform is treated as 32-bit. This should detect *most* 64-bit platforms, namely LP64 and LLP64 ones. Unfortunately this will not work for ILP32 ABIs on 64-bit ISAs, but still better than nothing.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 3bca638459..55676f742a 100755
--- a/configure
+++ b/configure
@@ -5564,6 +5564,12 @@ elif enabled x86; then
;;
esac
+else
+
+ if test_cpp_condition inttypes.h "UINTPTR_MAX >= UINT64_MAX"; then
+ enable fast_64bit
+ fi
+
fi
if [ "$cpu" != generic ]; then