aboutsummaryrefslogtreecommitdiff
path: root/libiberty/config.in
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-11-04 16:37:04 -0700
committerRichard Henderson <rth@gcc.gnu.org>2010-11-04 16:37:04 -0700
commit3b63ca7ea2853d3b8ed35e604b2e0d254669466d (patch)
treea8e47bd7b81ca30b70a929fe67d0b89f47e6963b /libiberty/config.in
parent9690aa8eff9815594b2eaa176c4dccb390baf452 (diff)
downloadgcc-3b63ca7ea2853d3b8ed35e604b2e0d254669466d.zip
gcc-3b63ca7ea2853d3b8ed35e604b2e0d254669466d.tar.gz
gcc-3b63ca7ea2853d3b8ed35e604b2e0d254669466d.tar.bz2
Use spawnve on cygwin.
* configure.ac (AC_CHECK_HEADERS): Add process.h. (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list. (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe. * configure, config.in: Rebuild. * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function. [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions. From-SVN: r166339
Diffstat (limited to 'libiberty/config.in')
-rw-r--r--libiberty/config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/config.in b/libiberty/config.in
index 0e5f3d2..3febdad 100644
--- a/libiberty/config.in
+++ b/libiberty/config.in
@@ -91,6 +91,9 @@
don't. */
#undef HAVE_DECL_VSNPRINTF
+/* Define to 1 if you have the `dup3' function. */
+#undef HAVE_DUP3
+
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
@@ -169,6 +172,9 @@
/* Define if you have prctl PR_SET_NAME */
#undef HAVE_PRCTL_SET_NAME
+/* Define to 1 if you have the <process.h> header file. */
+#undef HAVE_PROCESS_H
+
/* Define to 1 if you have the `psignal' function. */
#undef HAVE_PSIGNAL
@@ -208,6 +214,12 @@
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
+/* Define to 1 if you have the `spawnve' function. */
+#undef HAVE_SPAWNVE
+
+/* Define to 1 if you have the `spawnvpe' function. */
+#undef HAVE_SPAWNVPE
+
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H