configure.in (rlim_t): Define to long if no valid definition found in sys/resource.h.
* configure.in (rlim_t): Define to long if no valid definition found in sys/resource.h. * config.in, configure: Regenerate. From-SVN: r64241
This commit is contained in:
parent
f7248b51e3
commit
b2522d2b72
@ -1,3 +1,9 @@
|
||||
2003-03-12 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* configure.in (rlim_t): Define to long if no valid definition
|
||||
found in sys/resource.h.
|
||||
* config.in, configure: Regenerate.
|
||||
|
||||
2003-03-12 Neil Booth <neil@daikokuya.co.uk>
|
||||
|
||||
* config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with
|
||||
|
@ -396,6 +396,9 @@
|
||||
/* Define if you have a working <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to `long' if <sys/resource.h> doesn't define. */
|
||||
#undef rlim_t
|
||||
|
||||
/* Define if printf supports %p. */
|
||||
#undef HAVE_PRINTF_PTR
|
||||
|
||||
|
289
gcc/configure
vendored
289
gcc/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -814,6 +814,15 @@ gcc_AC_CHECK_DECLS(getrlimit setrlimit getrusage, , ,[
|
||||
#endif
|
||||
])
|
||||
|
||||
AC_TRY_COMPILE([
|
||||
#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.])])
|
||||
|
||||
gcc_AC_CHECK_DECLS(ldgetname, , ,[
|
||||
#include "ansidecl.h"
|
||||
#include "system.h"
|
||||
|
Loading…
Reference in New Issue
Block a user