summaryrefslogtreecommitdiffstats
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-10 21:25:00 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-10 21:25:00 +0000
commit4927c18d5ba4cf974253d1d378c94f21dae95fb0 (patch)
tree2fdc9b1c9e88cdb423dd4e3adb701600864fb2bd /libiberty/configure.ac
parent012db784da9cc1f2c4a0947c4e28f55237c5b73e (diff)
downloadppe42-gcc-4927c18d5ba4cf974253d1d378c94f21dae95fb0.tar.gz
ppe42-gcc-4927c18d5ba4cf974253d1d378c94f21dae95fb0.zip
[include]
* fibheap.h (struct fibnode): Only use unsigned long bitfields when __GNUC__ is defined and ints are less than 32-bits wide. [libiberty] * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int). * configure: Regenerate. * config.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92009 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index d6eb26fa284..650faee115a 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -165,6 +165,9 @@ AC_HEADER_TIME
libiberty_AC_DECLARE_ERRNO
+# Determine the size of an int for struct fibnode.
+AC_CHECK_SIZEOF([int])
+
AC_CHECK_TYPE(uintptr_t, unsigned long)
# Look for a 64-bit type.
OpenPOWER on IntegriCloud