aboutsummaryrefslogtreecommitdiff
path: root/libiberty/config.in
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-11-04 23:41:21 +0000
committerRichard Henderson <rth@redhat.com>2010-11-04 23:41:21 +0000
commit9c55e0647658a618fb8fbaf8feb5c5737e28bf20 (patch)
treeb9817c1e178eed6cb0f9f800eb29852102ea59bd /libiberty/config.in
parentf445451a1f3478f43f5a08cf2487ee66cec3bcf3 (diff)
downloadgdb-9c55e0647658a618fb8fbaf8feb5c5737e28bf20.zip
gdb-9c55e0647658a618fb8fbaf8feb5c5737e28bf20.tar.gz
gdb-9c55e0647658a618fb8fbaf8feb5c5737e28bf20.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.
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