HPUX11 must be tested before HPUX, since the former is a superset of the other, and sane environments may define both. In the process, define HAVE_MMAP and USE_MMAP_FILES. Testing confirms this works fine. Drop the commented-out USE_MMAP_SCOREBOARD and HAVE_PTHREAD_SERIALIZED_ACCEPT defines, since they don't suggest the corresponding USE_SHMGET_SCOREBOARD and HAVE_FCNTL_SERIALIZED_ACCEPT must be commented out for the compiled httpd to behave as expected. Also, the other platforms don't show alternatives, so this seemed inconsistent. In testing, USE_MMAP_SCOREBOARD works just fine, however USE_SHMGET_SCOREBOARD is preferred on linux where both are also supported, so I left the current default and followed the linux preference. Have not tested HAVE_PTHREAD_SERIALIZED_ACCEPT. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@103812 13f79535-47bb-0310-9956-ffa450edef68
parent
e42cf2ba
Please register or sign in to comment