diff options
| author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2017-10-10 14:12:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-10 14:12:19 +0200 |
| commit | 970eebe4be0c3041aee54a4815612931aa4c55bc (patch) | |
| tree | b6dcd7f75f86342142de43b8adbf6bee6ca183a8 /configure | |
| parent | 019f469aa36c65d5436c0cc107aff310aa399735 (diff) | |
| download | ocaml-970eebe4be0c3041aee54a4815612931aa4c55bc.tar.gz | |
MPR#7640: reimplementation of Unix.execvpe (#1414)
Use the system-provided execvpe() if possible. Otherwise, use
a serious reimplementation written in OCaml and patterned after
the Glibc execvpe() implementation.
Added a test in tests/lib-unix/unix-execvpe.
Don't test Unix.execvpe if we are using the system-provided implementation.
The execvpe() functions provided by Win32 and Cygwin aren't quite to
our specs. At any rate, the test is there to find bugs in our
implementation of execvpe(), not in others's.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1576,6 +1576,11 @@ if sh ./hasgot -i sys/shm.h; then echo "#define HAS_SYS_SHM_H" >> s.h fi +if sh ./hasgot execvpe; then + inf "execvpe() found." + echo "#define HAS_EXECVPE" >> s.h +fi + # Determine if the debugger is supported if test -n "$with_debugger"; then |
