summaryrefslogtreecommitdiff
path: root/m4/lib-ld.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-02-15 03:41:12 +0100
committerBruno Haible <bruno@clisp.org>2021-02-15 03:41:12 +0100
commit74a0cdfeff8bc2fd136d966e84f9a276c5a2f6f8 (patch)
treebf1570859526dc3d96aa769bc646b41a3a2bd396 /m4/lib-ld.m4
parent4ef9c7af055927b434cc789fb70d4d447ee8f675 (diff)
downloadgnulib-74a0cdfeff8bc2fd136d966e84f9a276c5a2f6f8.tar.gz
Fix distinction of 32-bit/64-bit mode with xlc 13.1.3 on AIX.
* m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI, gl_HOST_CPU_C_ABI_32BIT): Test __LP64__ instead of _ARCH_PPC64. * m4/lib-ld.m4 (AC_LIB_PROG_LD): Likewise. * lib/stddef.in.h: Likewise.
Diffstat (limited to 'm4/lib-ld.m4')
-rw-r--r--m4/lib-ld.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/lib-ld.m4 b/m4/lib-ld.m4
index aa07cb4bc6..076358d5d5 100644
--- a/m4/lib-ld.m4
+++ b/m4/lib-ld.m4
@@ -1,4 +1,4 @@
-# lib-ld.m4 serial 9
+# lib-ld.m4 serial 10
dnl Copyright (C) 1996-2003, 2009-2021 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -122,7 +122,7 @@ else
*-*-aix*)
AC_COMPILE_IFELSE(
[AC_LANG_SOURCE(
- [[#if defined __powerpc64__ || defined _ARCH_PPC64
+ [[#if defined __powerpc64__ || defined __LP64__
int ok;
#else
error fail