From 93783298802561dbd4c34f20cca48e5e502c3312 Mon Sep 17 00:00:00 2001 From: Dick Porter Date: Fri, 21 Sep 2001 12:42:33 +0000 Subject: 2001-09-21 Dick Porter * 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 * Makefile.am (testjit_LDADD): Added PTHREAD_LIBS to the link line 2001-09-21 Dick Porter * Makefile.am (mint_LDADD): Added PTHREAD_LIBS to the link line 2001-09-21 Dick Porter * configure.in: Check for libpthread svn path=/trunk/mono/; revision=914 --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.in') 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" -- cgit v1.2.3