[PATCH] Fix PR54659, include gmp.h from system.h

Andreas Schwab schwab@linux-m68k.org
Sat Dec 22 09:50:00 GMT 2012


Richard Biener <rguenther@suse.de> writes:

> (I suppose somehow gmp.h is pulled in configure tests?)

AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include "ansidecl.h"
#include "system.h"
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
]], [[rlim_t l = 0;]])],[],[AC_DEFINE([rlim_t],[long],
[Define to `long' if <sys/resource.h> doesn't define.])])

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list