diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2012-01-12 12:30:45 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2012-01-12 12:30:45 +0200 |
commit | 869eea243d175a1c6b6ac152795c28ae986512d3 (patch) | |
tree | 47cb331f09ea25bcd83a25532fe8845a8dbb1b6e /libgfortran | |
parent | 64668e68cb46902b722d05747b39cf963ea5e9cd (diff) | |
download | gcc-869eea243d175a1c6b6ac152795c28ae986512d3.zip gcc-869eea243d175a1c6b6ac152795c28ae986512d3.tar.gz gcc-869eea243d175a1c6b6ac152795c28ae986512d3.tar.bz2 |
Remove configure check for unused fdopen.
2012-01-12 Janne Blomqvist <jb@gcc.gnu.org>
* configure.ac: Remove check for fdopen.
* runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for
fdopen.
* configure: Regenerated.
* config.h.in: Regenerated.
From-SVN: r183124
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 8 | ||||
-rw-r--r-- | libgfortran/config.h.in | 3 | ||||
-rwxr-xr-x | libgfortran/configure | 7 | ||||
-rw-r--r-- | libgfortran/configure.ac | 2 | ||||
-rw-r--r-- | libgfortran/runtime/backtrace.c | 7 |
5 files changed, 14 insertions, 13 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 7072e18..b2715e4 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,4 +1,12 @@ 2012-01-12 Janne Blomqvist <jb@gcc.gnu.org> + + * configure.ac: Remove check for fdopen. + * runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for + fdopen. + * configure: Regenerated. + * config.h.in: Regenerated. + +2012-01-12 Janne Blomqvist <jb@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR libfortran/51803 diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in index 81a4a7f..3bba6e6 100644 --- a/libgfortran/config.h.in +++ b/libgfortran/config.h.in @@ -363,9 +363,6 @@ /* libm includes fabsl */ #undef HAVE_FABSL -/* Define to 1 if you have the `fdopen' function. */ -#undef HAVE_FDOPEN - /* libm includes feenableexcept */ #undef HAVE_FEENABLEEXCEPT diff --git a/libgfortran/configure b/libgfortran/configure index 3ce3d08..3cf9ac8 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -2569,7 +2569,6 @@ as_fn_append ac_func_list " execve" as_fn_append ac_func_list " pipe" as_fn_append ac_func_list " dup2" as_fn_append ac_func_list " close" -as_fn_append ac_func_list " fdopen" as_fn_append ac_func_list " strcasestr" as_fn_append ac_func_list " getrlimit" as_fn_append ac_func_list " gettimeofday" @@ -12318,7 +12317,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12321 "configure" +#line 12320 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12424,7 +12423,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12427 "configure" +#line 12426 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16533,8 +16532,6 @@ done - - # Check for C99 (and other IEEE) math functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5 $as_echo_n "checking for acosf in -lm... " >&6; } diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 74fe0c2..e8bbda5 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -263,7 +263,7 @@ AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_blocks, struct stat.st_ # Check for library functions. AC_CHECK_FUNCS_ONCE(getrusage times mkstemp strtof strtold snprintf \ ftruncate chsize chdir getlogin gethostname kill link symlink sleep ttyname \ -alarm access fork execl wait setmode execve pipe dup2 close fdopen \ +alarm access fork execl wait setmode execve pipe dup2 close \ strcasestr getrlimit gettimeofday stat fstat lstat getpwuid vsnprintf dup \ getcwd localtime_r gmtime_r strerror_r getpwuid_r ttyname_r clock_gettime \ readlink getgid getpid getppid getuid geteuid) diff --git a/libgfortran/runtime/backtrace.c b/libgfortran/runtime/backtrace.c index 5ebd972..6bfc560 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 |