diff options
author | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-23 00:06:41 +0000 |
---|---|---|
committer | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-23 00:06:41 +0000 |
commit | 7c660b5b54deced6ef16faacec97acccc14f27f9 (patch) | |
tree | c1ef9bb4fb3b4432ae7bce87707fc879e3e8af77 /libjava/configure.ac | |
parent | 64214dabd303be6b1134238ee99d05be78e83ff8 (diff) | |
download | gcc-7c660b5b54deced6ef16faacec97acccc14f27f9.tar.gz |
PR libgcj/31228
* configure.ac: Add checks for getrlimit and sys/resource.h.
* include/posix.h (_Jv_platform_close_on_exec): Remove.
* include/config.h.in: Regenerate.
* configure: Regenerate.
* gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
_Jv_platform_close_on_exec;
* gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
(accept): Likewise.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
* java/lang/natPosixProcess.cc: Include sys/resource.h.
(nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
pipes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123138 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r-- | libjava/configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac index d21654ae00b..f5e27fab313 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -1006,10 +1006,10 @@ else access stat lstat mkdir rename rmdir unlink utime chmod readlink \ nl_langinfo setlocale \ inet_pton uname inet_ntoa \ - fork execvp pipe sigaction ftruncate mmap \ + fork execvp getrlimit pipe sigaction ftruncate mmap \ getifaddrs]) AC_CHECK_FUNCS(inet_aton inet_addr, break) - AC_CHECK_HEADERS(execinfo.h unistd.h dlfcn.h) + AC_CHECK_HEADERS(execinfo.h unistd.h dlfcn.h sys/resource.h) # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl AC_CHECK_LIB(dl, dladdr, [ AC_DEFINE(HAVE_DLADDR, 1, [Define if you have dladdr()])], [ |