Kaydet (Commit) ad7f850e authored tarafından Noel Power's avatar Noel Power Kaydeden (comit) Petr Mladek

later cygwins have a different locaton for process.h

Signed-off-by: 's avatarPetr Mladek <pmladek@suse.cz>
üst 5dde19c4
......@@ -9,6 +9,9 @@
/* Enables the use of spawn instead of fork/exec if it is supported. */
#undef ENABLE_SPAWN
/* Define to 1 if you have the <cygwin/process.h> header file. */
#undef HAVE_CYGWIN_PROCESS_H
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#undef HAVE_DIRENT_H
......
This diff is collapsed.
......@@ -189,7 +189,7 @@ dnl Initialize libtool
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/types.h sys/stat.h unistd.h errno.h utime.h spawn.h wait.h sys/wait.h sys/time.h)
AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/types.h sys/stat.h unistd.h errno.h utime.h spawn.h wait.h sys/wait.h sys/time.h cygwin/process.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
......
......@@ -125,8 +125,12 @@ _finished_child(pid, status) [unix/runargv] handles the finished child. If
#endif
#if __CYGWIN__ && ENABLE_SPAWN
#if HAVE_CYGWIN_PROCESS_H
# include <cygwin/process.h>
#else
# include <process.h>
#endif
#endif
#ifdef __EMX__
# include <process.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment