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 Thu, 08 Jul 2004 10:38:48 GMT
jorton      2004/07/08 03:38:47

  Modified:    build    apr_hints.m4
  Log:
  * build/apr_hints.m4 (APR_PRELOAD): Use full path to sysctl in case
  $PATH does not contain /sbin, or fail gracefully if /sbin/sysctl is
  missing.
  
  Revision  Changes    Path
  1.66      +5 -1      apr/build/apr_hints.m4
  
  Index: apr_hints.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_hints.m4,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -d -w -u -r1.65 -r1.66
  --- apr_hints.m4	7 Jul 2004 19:16:35 -0000	1.65
  +++ apr_hints.m4	8 Jul 2004 10:38:47 -0000	1.66
  @@ -137,7 +137,11 @@
   	;;
       *-freebsd*)
           APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])
  +        if test -x /sbin/sysctl; then
           os_version=`sysctl -n kern.osreldate`
  +        else
  +            os_version=000000
  +        fi
           # 502102 is when libc_r switched to libpthread (aka libkse).
           if test $os_version -ge "502102"; then
             apr_cv_pthreads_cflags="none"
  
  
  

Mime
View raw message