[FFmpeg-cvslog] configure: detect 64-bit generic platforms
Rémi Denis-Courmont
git at videolan.org
Mon Jun 24 20:24:09 EEST 2024
ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun 11 19:46:13 2024 +0300| [0d748eec8d52715f2949bd03519d39f2bf5baac4] | committer: Rémi Denis-Courmont
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0d748eec8d52715f2949bd03519d39f2bf5baac4
---
configure | 6 ++++++
1 file changed, 6 insertions(+)
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
More information about the ffmpeg-cvslog
mailing list