diff options
author | Dick Porter <dick@acm.org> | 2005-11-24 22:59:49 +0300 |
---|---|---|
committer | Dick Porter <dick@acm.org> | 2005-11-24 22:59:49 +0300 |
commit | 85e583e381c8119f9df622000d8c33ee2e95f03d (patch) | |
tree | dca21bf4a0e42ced4e347c55cf0450087b867d20 /configure.in | |
parent | bd383d05bd505aeaa51bcf2c0172df5c703b088a (diff) |
2005-11-24 Dick Porter <dick@ximian.com>
* configure.in: Test for GetProcessId() on windows
2005-11-24 Dick Porter <dick@ximian.com>
* process.c
(ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal):
Use GetProcessId() if it's available.
2005-11-24 Dick Porter <dick@ximian.com>
* processes.c (GetProcessId): Implement GetProcessId()
svn path=/trunk/mono/; revision=53461
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index fa83802daf3..b0eab40a091 100644 --- a/configure.in +++ b/configure.in @@ -1237,6 +1237,10 @@ if test x$platform_win32 = xno; then #endif ]) AC_CHECK_HEADERS([termios.h]) + + dnl * This is provided in io-layer, but on windows it's only available + dnl * on xp+ + AC_DEFINE(HAVE_GETPROCESSID, 1, [Define if GetProcessId is available]) else jdk_headers_found=no AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?)) @@ -1270,6 +1274,7 @@ else AC_MSG_RESULT(no) ]) ]) + AC_CHECK_FUNCS(GetProcessId) fi dnl socklen_t check |