From 3e0111a5340a6a020a2f8b4e4bd139aac2527e1a Mon Sep 17 00:00:00 2001 From: jb Date: Thu, 12 Jan 2012 10:30:45 +0000 Subject: Remove configure check for unused fdopen. 2012-01-12 Janne Blomqvist * configure.ac: Remove check for fdopen. * runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for fdopen. * configure: Regenerated. * config.h.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183124 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgfortran/runtime/backtrace.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libgfortran/runtime') diff --git a/libgfortran/runtime/backtrace.c b/libgfortran/runtime/backtrace.c index 5ebd9721130..6bfc560de39 100644 --- a/libgfortran/runtime/backtrace.c +++ b/libgfortran/runtime/backtrace.c @@ -40,13 +40,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "unwind.h" -/* Macros for common sets of capabilities: can we fork and exec, can - we use glibc-style backtrace functions, and can we use pipes. */ +/* Macros for common sets of capabilities: can we fork and exec, and + can we use pipes to communicate with the subprocess. */ #define CAN_FORK (defined(HAVE_FORK) && defined(HAVE_EXECVE) \ && defined(HAVE_WAIT)) #define CAN_PIPE (CAN_FORK && defined(HAVE_PIPE) \ - && defined(HAVE_DUP2) && defined(HAVE_FDOPEN) \ - && defined(HAVE_CLOSE)) + && defined(HAVE_DUP2) && defined(HAVE_CLOSE)) #ifndef PATH_MAX #define PATH_MAX 4096 -- cgit v1.2.1