diff mbox

[7/7] Configury changes for obstack optimization

Message ID 20151107081158.GH17177@bubble.grove.modra.org
State New
Headers show

Commit Message

Alan Modra Nov. 7, 2015, 8:11 a.m. UTC
Provides defines used to determine whether glibc obstacks are
compatible.  Generally speaking, 32-bit targets won't need to use
obstack.o from libiberty if glibc is used, while 64-bit targets will,
until glibc gets the new obstack code.

	* configure.ac: Check size of size_t.
	* configure: Regenerate.

Comments

Jeff Law Nov. 8, 2015, 11:29 p.m. UTC | #1
On 11/07/2015 01:11 AM, Alan Modra wrote:
> Provides defines used to determine whether glibc obstacks are
> compatible.  Generally speaking, 32-bit targets won't need to use
> obstack.o from libiberty if glibc is used, while 64-bit targets will,
> until glibc gets the new obstack code.
>
> 	* configure.ac: Check size of size_t.
> 	* configure: Regenerate.
OK.
jeff
diff mbox

Patch

diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index 868be8e..1ab5235 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -276,6 +276,7 @@  libiberty_AC_DECLARE_ERRNO
 # Determine sizes of some types.
 AC_CHECK_SIZEOF([int])
 AC_CHECK_SIZEOF([long])
+AC_CHECK_SIZEOF([size_t])
 
 # Check for presense of long long
 AC_CHECK_TYPE([long long],