Richard Biener <richard.guent...@gmail.com> writes:

> On Sat, Dec 22, 2012 at 10:49 AM, Andreas Schwab <sch...@linux-m68k.org> 
> wrote:
>> Richard Biener <rguent...@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.])])
>
> Huh - looks at least bogus to not include config.h here, no?

config.h uses auto-host.h which doesn't exist yet, it's created by
configure.  All already known config defs are set in conftest.c (see
config.log).

Andreas.

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

Reply via email to