Remove configure check for unused fdopen.
authorJanne Blomqvist <jb@gcc.gnu.org>
Thu, 12 Jan 2012 10:30:45 +0000 (12:30 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Thu, 12 Jan 2012 10:30:45 +0000 (12:30 +0200)
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

libgfortran/ChangeLog
libgfortran/config.h.in
libgfortran/configure
libgfortran/configure.ac
libgfortran/runtime/backtrace.c

index 7072e18229715b950a188d3032370cbe8d9776fb..b2715e41c60464bc8412292ca75fb33895d595ce 100644 (file)
@@ -1,3 +1,11 @@
+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>
 
index 81a4a7fb4550c5c34a049d67358f4aa54199ebb7..3bba6e6dfc570ad885802a57fd8e40535a2e6e7b 100644 (file)
 /* libm includes fabsl */
 #undef HAVE_FABSL
 
-/* Define to 1 if you have the `fdopen' function. */
-#undef HAVE_FDOPEN
-
 /* libm includes feenableexcept */
 #undef HAVE_FEENABLEEXCEPT
 
index 3ce3d08ae89dc0693873495267e755d8c30e8f16..3cf9ac86fa10bbf44ea9df9b584f2fc8533df76c 100755 (executable)
@@ -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
@@ -16530,8 +16529,6 @@ done
 
 
 
-
-
 
 
 
index 74fe0c2ed3fb62d7670759dba96152290fb9196b..e8bbda59b0f95df014956edbc7bbd75c54b9425b 100644 (file)
@@ -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)
index 5ebd97211302d10af50167af48b3b476cdc89374..6bfc560de398fdc242f4bc3976e2895bc0482869 100644 (file)
@@ -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