]> Savannah Git Hosting - gnulib.git/commit
host-cpu-c-abi: Let gl_HOST_CPU_C_ABI_32BIT never return 'unknown'.
authorBruno Haible <bruno@clisp.org>
Sun, 28 Jan 2024 19:23:10 +0000 (20:23 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Jan 2024 19:23:10 +0000 (20:23 +0100)
commit2c9ebdc358bfa4ede419a6e528ed0386ec6c6911
treeb7c1003be92e6fa8af6eef3ebbf0487ae02b04e9
parent5dc1eceb99681459af2fcfa09df2b966792de657
host-cpu-c-abi: Let gl_HOST_CPU_C_ABI_32BIT never return 'unknown'.

Reported by Mohammad-Reza Nabipoor <mnabipoor@gnu.org>.

* m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI_32BIT): Use the list of
always-32-bit CPUs and the list of always-64-bit CPUs also when
gl_HOST_CPU_C_ABI has already been run. As a fallback, use a test of
'sizeof (void *)' to always return 'yes' or 'no', never 'unknown'.
ChangeLog
m4/host-cpu-c-abi.m4