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>2001-09-21 16:42:33 +0400
committerDick Porter <dick@acm.org>2001-09-21 16:42:33 +0400
commit93783298802561dbd4c34f20cca48e5e502c3312 (patch)
tree11636ed68b0b951943b20ffdc3efab7144ebdaa2 /configure.in
parentf8906a560557c1b50416be779f20259112ce7dfd (diff)
2001-09-21 Dick Porter <dick@ximian.com>
* threads-pthread.h: * threads-pthread.c: New file, for handling pthreads-style threading support. Start() now starts a new thread and executes the ThreadStart delegate instance. * icall.c: Added the internalcall for System.Threading.Thread::Start_internal * Makefile.am: Added new files, and PTHREADS_LIBS to the link line 2001-09-21 Dick Porter <dick@ximian.com> * Makefile.am (testjit_LDADD): Added PTHREAD_LIBS to the link line 2001-09-21 Dick Porter <dick@ximian.com> * Makefile.am (mint_LDADD): Added PTHREAD_LIBS to the link line 2001-09-21 Dick Porter <dick@ximian.com> * configure.in: Check for libpthread svn path=/trunk/mono/; revision=914
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 63b1db614b2..45c570df08a 100644
--- a/configure.in
+++ b/configure.in
@@ -33,6 +33,13 @@ GMODULE_LIBS=`glib-config --libs gmodule`
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
+dnl *****************************
+dnl *** Checks for libpthread ***
+dnl *****************************
+AC_CHECK_LIB(pthread,pthread_create,PTHREAD_LIBS=-lpthread,
+ AC_MSG_ERROR([Cannot find libpthread]))
+AC_SUBST(PTHREAD_LIBS)
+
CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations'
TARGET="unknown"