]> git.ipfire.org Git - thirdparty/gcc.git/commit
Use spawnve on cygwin.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Nov 2010 23:37:04 +0000 (23:37 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Nov 2010 23:37:04 +0000 (23:37 +0000)
commit392b7e30c9f6f24a4b8c82c9328f41c2ede89951
treea8e47bd7b81ca30b70a929fe67d0b89f47e6963b
parent539b539f9275bd69c637ec9333c482ed7886f772
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166339 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/config.in
libiberty/configure
libiberty/configure.ac
libiberty/pex-unix.c