Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDick Porter <dick@acm.org>2005-11-24 22:59:49 +0300
committerDick Porter <dick@acm.org>2005-11-24 22:59:49 +0300
commit85e583e381c8119f9df622000d8c33ee2e95f03d (patch)
treedca21bf4a0e42ced4e347c55cf0450087b867d20 /configure.in
parentbd383d05bd505aeaa51bcf2c0172df5c703b088a (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.in5
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