httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: cvs commit: apache-2.0/src/modules/standard config.m4
Date Mon, 12 Jun 2000 14:30:37 GMT
On Mon, 12 Jun 2000 07:04:38 -0700 (PDT), rbb@covalent.net wrote:

>
>> >BTW, I am working on fixing this issue too.  This is a part of my
>> >configure changes, and this will probably not be solved until the end of
>> >the week or so.
>> 
>> Ok. BTW, your recent changes re mm configuration has broken things badly
>> for me. It's recursing infinitely trying to configure mm. I haven't figured
>> out what's going on yet.....
>
>ARGH!!!!  I don't understand why it's working for most platforms, but not
>for OS/2.  I'll look at it to see if I can figure it out, but this looks
>like a platform specific thing.  Since I don't have OS/2, you may have to
>fix this one.

Well, part of it is that APR_PREPARE_MM_DIR assumes ln -s works. OS/2
doesn't do symlinks. I don't really care because MM isn't used for OS/2 so
this fixes things by preventing the use of APR_PREPARE_MM_DIR. Is it the
right way?


Index: configure.in
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
retrieving revision 1.109
diff -u -r1.109 configure.in
--- configure.in	2000/06/11 15:01:13	1.109
+++ configure.in	2000/06/12 14:19:59
@@ -95,10 +96,12 @@
        enable_apr_threads="system_threads"
        config_subdirs="shmem/unix/mm"
        native_mmap_emul="1"
+       USE_MM=yes
        ;;
    *)
        OSDIR="unix"
        config_subdirs="shmem/unix/mm"
+       USE_MM=yes
        ;;
 esac
 
@@ -108,10 +111,12 @@
 # run the MM config script regardless of whether we are going to use
 # it or not.  When we have a much better idea of who is using MM, we can
 # run this on a more conditional basis.
-USE_MM=yes
 mm_dir=shmem/unix/mm
-APR_PREPARE_MM_DIR
-RUN_SUBDIR_CONFIG_NOW($config_subdirs)
+
+if test "$USE_MM" = "yes"; then
+  APR_PREPARE_MM_DIR
+  RUN_SUBDIR_CONFIG_NOW($config_subdirs)
+fi
 
 AC_MSG_CHECKING(Checking for Shared memory support)
 AC_ARG_ENABLE(shmem,

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message