later cygwins have a different locaton for process.h
Signed-off-by: Petr Mladek <pmladek@suse.cz>
This commit is contained in:
@@ -9,6 +9,9 @@
|
|||||||
/* Enables the use of spawn instead of fork/exec if it is supported. */
|
/* Enables the use of spawn instead of fork/exec if it is supported. */
|
||||||
#undef ENABLE_SPAWN
|
#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'.
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||||
*/
|
*/
|
||||||
#undef HAVE_DIRENT_H
|
#undef HAVE_DIRENT_H
|
||||||
|
3970
dmake/configure
vendored
3970
dmake/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -189,7 +189,7 @@ dnl Initialize libtool
|
|||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
||||||
AC_HEADER_STDC
|
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.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
|
@@ -125,8 +125,12 @@ _finished_child(pid, status) [unix/runargv] handles the finished child. If
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __CYGWIN__ && ENABLE_SPAWN
|
#if __CYGWIN__ && ENABLE_SPAWN
|
||||||
|
#if HAVE_CYGWIN_PROCESS_H
|
||||||
|
# include <cygwin/process.h>
|
||||||
|
#else
|
||||||
# include <process.h>
|
# include <process.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __EMX__
|
#ifdef __EMX__
|
||||||
# include <process.h>
|
# include <process.h>
|
||||||
|
Reference in New Issue
Block a user