Commit f61d7e0a authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Enhanced libc's pthread configuration detection.

parent 12222f0d
......@@ -643,6 +643,7 @@ dnl **** Check for functions ****
AC_FUNC_ALLOCA()
AC_CHECK_FUNCS(\
__libc_fork \
_lwp_create \
clone \
getnetbyaddr \
......
......@@ -146,6 +146,9 @@
/* The number of bytes in a long long. */
#undef SIZEOF_LONG_LONG
/* Define if you have the __libc_fork function. */
#undef HAVE___LIBC_FORK
/* Define if you have the _lwp_create function. */
#undef HAVE__LWP_CREATE
......
......@@ -47,7 +47,7 @@
#endif
/* get necessary libc symbols */
#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1)
#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1) && defined(HAVE___LIBC_FORK)
#define LIBC_FORK __libc_fork
#define PTHREAD_FORK __fork
#define ALIAS_FORK
......
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