Branch: Tag:

1996-11-03

1996-11-03 06:22:59 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

--without-threads added

Rev: src/README:1.3
Rev: src/configure.in:1.12
Rev: src/machine.h.in:1.10

13:   AC_ARG_WITH(gmp, [ --without-gmp no Support bignums])   AC_ARG_WITH(readline,[ --without-readline no support for command line editing])   AC_ARG_WITH(debug, [ --without-debug disable run time self tests],[],[with_debug=yes]) + AC_ARG_WITH(threads, [ --without-threads no threads support],[],[with_threads=yes])      if test x$with_debug = xyes ; then    AC_DEFINE(DEBUG)
294:      ########################################################################    + if test x$with_threads = xyes ; then +    AC_MSG_CHECKING(posix threads)      OLDLIBS="$LIBS"
311:   AC_CACHE_VAL(pike_cv_posix_threads,   [   AC_TRY_RUN([ + #define _REENTRANT + #define _THREAD_SAFE + #define _MIT_POSIX_THREADS +    #include <pthread.h>      void *foo(void *bar) { return ; }
332:    AC_MSG_RESULT(yes)    AC_DEFINE(_REENTRANT)    AC_DEFINE(_THREAD_SAFE) +  AC_DEFINE(_MIT_POSIX_THREADS)   else    AC_MSG_RESULT(no)    LIBS="$OLDLIBS"   fi    -  + fi +    ########################################################################      AC_FUNC_MEMCMP