pike.git / src / configure.in

version» Context lines:

pike.git/src/configure.in:1: - AC_REVISION("$Id: configure.in,v 1.501 2003/09/22 09:46:37 jonasw Exp $") + AC_REVISION("$Id: configure.in,v 1.502 2003/12/13 20:37:54 jonasw Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)      # We want an absolute path to the source-dir.   case "$srcdir" in    /*)    ;;    *)    oldsrcdir="$srcdir"    srcdir="`cd \"$srcdir\";pwd`"
pike.git/src/configure.in:1755:   AC_HEADER_TIME   AC_HEADER_STDC   AC_CHECK_HEADERS(sys/rusage.h time.h sys/time.h sys/types.h unistd.h stdlib.h \   memory.h values.h string.h strings.h fcntl.h sys/filio.h sys/sockio.h crypt.h \   locale.h sys/select.h net/socket.h sys/mman.h setjmp.h \   limits.h pthread.h crt/signal.h sys/id.h \   thread.h dlfcn.h dld.h dl.h sys/times.h sched.h sys/procfs.h sys/param.h \   winsock.h sys/ioct.h sys/socket.h malloc.h netinet/in.h sys/wait.h winbase.h \   grp.h pwd.h passwd.h group.h winsock2.h signal.h sys/file.h poll.h sys/poll.h \   socket.h ieeefp.h fp_class.h floatingpoint.h sys/priocntl.h sys/sched.h \ - windows.h float.h errno.h stddef.h mmx.h sys/prctl.h) + windows.h float.h errno.h stddef.h mmx.h sys/prctl.h sys/ioctl.h \ + mach/task_info.h mach/task.h mach/mach_init.h)      # some Linux systems have a broken resource.h that compiles anyway /Mirar   AC_MSG_CHECKING([for sys/resource.h])   AC_CACHE_VAL(pike_cv_sys_resource_h, [    AC_TRY_COMPILE([   #ifdef HAVE_SYS_TYPES_H   #include <sys/types.h>   #endif /* HAVE_SYS_TYPES_H */   #ifdef HAVE_TIME_H   #include <time.h>
pike.git/src/configure.in:2144:    ],[    pike_cv_have_pthread_yield=no    ])    ])    AC_MSG_RESULT($pike_cv_have_pthread_yield)    if test x$pike_cv_have_pthread_yield = xyes ; then    AC_DEFINE(HAVE_PTHREAD_YIELD)    else    :    fi + ##########################################################################    -  +  AC_MSG_CHECKING(for pthread_yield_np) +  AC_CACHE_VAL(pike_cv_have_pthread_yield_np,[ +  AC_TRY_LINK([#include <pthread.h> +  void foo(void) { pthread_yield_np(); } +  ],[],[ +  pike_cv_have_pthread_yield_np=yes +  ],[ +  pike_cv_have_pthread_yield_np=no +  ]) +  ]) +  AC_MSG_RESULT($pike_cv_have_pthread_yield_np) +  if test x$pike_cv_have_pthread_yield_np = xyes ; then +  AC_DEFINE(HAVE_PTHREAD_YIELD_NP) +  else +  : +  fi +    ##########################################################################       AC_MSG_CHECKING(for pthread_cond_init)    AC_CACHE_VAL(pike_cv_have_pthread_cond_init,[    AC_TRY_LINK([#include <pthread.h>    void foo(pthread_cond_t*x, pthread_condattr_t*y) { pthread_cond_init(x,y); }    ],[],[    pike_cv_have_pthread_cond_init=yes    ],[    pike_cv_have_pthread_cond_init=no