later cygwins have a different locaton for process.h

Signed-off-by:  Petr Mladek <pmladek@suse.cz>
This commit is contained in:
Noel Power
2012-02-21 16:28:16 +01:00
committed by Petr Mladek
parent 5dde19c453
commit ad7f850e82
4 changed files with 2229 additions and 1750 deletions

View File

@@ -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

3970
dmake/configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -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

View File

@@ -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>