Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 92310 invoked by uid 500); 3 Jun 2000 15:28:01 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 92299 invoked by uid 500); 3 Jun 2000 15:27:59 -0000 Delivered-To: apmail-apache-2.0-cvs@apache.org Date: 3 Jun 2000 15:27:58 -0000 Message-ID: <20000603152758.92294.qmail@locus.apache.org> From: dreid@locus.apache.org To: apache-2.0-cvs@apache.org Subject: 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"