Branch: Tag:

1997-10-02

1997-10-02 22:06:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added check for pthread_init.

Rev: src/configure.in:1.125

1: - AC_REVISION("$Id: configure.in,v 1.124 1997/09/29 00:54:29 hubbe Exp $") + AC_REVISION("$Id: configure.in,v 1.125 1997/10/02 22:06:44 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
625:    ;;    esac    +  AC_CHECK_FUNCS(pthread_init) +     AC_CACHE_VAL(pike_cv_posix_threads, [    AC_TRY_RUN([   #define _REENTRANT
641:   int main()   {    void *sune; + #ifdef HAVE_PTHREAD_INIT +  pthread_init(); + #endif /* HAVE_PTHREAD_INIT */    pthread_mutexattr_init(&attr);    pthread_mutex_init(&tmp, &attr);    pthread_mutex_lock(&tmp);