You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dr...@locus.apache.org on 2000/06/03 17:27:58 UTC

cvs commit: apache-2.0/src/lib/apr configure.in

dreid       00/06/03 08:27:56

  Modified:    src/lib/apr configure.in
  Log:
  BeOS doesn't have a native MMAp, but there the ap_mmap functions have
  been written and work just fine.  This allows us to tell APR that this is
  the case and have the APR_HAS_MMAP flag set accordingly.
  
  Revision  Changes    Path
  1.97      +3 -0      apache-2.0/src/lib/apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- configure.in	2000/06/01 15:45:18	1.96
  +++ configure.in	2000/06/03 15:27:55	1.97
  @@ -94,6 +94,7 @@
          CFLAGS="$CFLAGS -DBEOS"
          enable_apr_threads="system_threads"
          config_subdirs="shmem/unix/mm"
  +       native_mmap_emul="1"
          ;;
      *)
          OSDIR="unix"
  @@ -406,6 +407,8 @@
   echo $ac_n "${nl}Checking for MMAP...${nl}"
   AC_FUNC_MMAP
   if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
  +    mmap="1"
  +elif test "$native_mmap_emul" = "1"; then
       mmap="1"
   else
       mmap="0"