apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/build apr_hints.m4
Date Wed, 07 Jul 2004 19:16:35 GMT
jorton      2004/07/07 12:16:35

  Modified:    build    apr_hints.m4
  Log:
  * build/apr_hints.m4 (APR_PRELOAD): Prevent use of kqueue before
  FreeBSD 4.8 (thanks to Craig Rodrigues).
  
  Revision  Changes    Path
  1.65      +5 -1      apr/build/apr_hints.m4
  
  Index: apr_hints.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_hints.m4,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -d -w -u -r1.64 -r1.65
  --- apr_hints.m4	4 Jul 2004 23:38:18 -0000	1.64
  +++ apr_hints.m4	7 Jul 2004 19:16:35 -0000	1.65
  @@ -138,13 +138,17 @@
       *-freebsd*)
           APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])
           os_version=`sysctl -n kern.osreldate`
  -        dnl 502102 is when libc_r switched to libpthread (aka libkse).
  +        # 502102 is when libc_r switched to libpthread (aka libkse).
           if test $os_version -ge "502102"; then
             apr_cv_pthreads_cflags="none"
             apr_cv_pthreads_lib="-lpthread"
           else
             apr_cv_pthreads_cflags="-D_THREAD_SAFE -D_REENTRANT"
             APR_SETIFNULL(enable_threads, [no])
  +        fi
  +        # prevent use of KQueue before FreeBSD 4.8
  +        if test $os_version -lt "480000"; then
  +          APR_SETIFNULL(ac_cv_func_kqueue, no)
           fi
   	;;
       *-next-nextstep*)
  
  
  

Mime
View raw message