From: Yann Ylavic Date: Sat, 5 Dec 2020 23:05:45 +0000 (+0000) Subject: ²main: -V to print the SHM mechanisms in use. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a31f86ddfd3263b34abc24dbba2e02ed1bab7d35;p=thirdparty%2Fapache%2Fhttpd.git ²main: -V to print the SHM mechanisms in use. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1884140 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/main.c b/server/main.c index a126ce1883d..19545e66878 100644 --- a/server/main.c +++ b/server/main.c @@ -176,19 +176,15 @@ static void show_compile_settings(void) #if APR_USE_FLOCK_SERIALIZE printf(" -D APR_USE_FLOCK_SERIALIZE\n"); #endif - #if APR_USE_SYSVSEM_SERIALIZE printf(" -D APR_USE_SYSVSEM_SERIALIZE\n"); #endif - #if APR_USE_POSIXSEM_SERIALIZE printf(" -D APR_USE_POSIXSEM_SERIALIZE\n"); #endif - #if APR_USE_FCNTL_SERIALIZE printf(" -D APR_USE_FCNTL_SERIALIZE\n"); #endif - #if APR_USE_PROC_PTHREAD_SERIALIZE printf(" -D APR_USE_PROC_PTHREAD_SERIALIZE\n"); #endif @@ -197,6 +193,28 @@ static void show_compile_settings(void) printf(" -D APR_USE_PTHREAD_SERIALIZE\n"); #endif +#if APR_USE_SHMEM_MMAP_TMP + printf(" -D APR_USE_SHMEM_MMAP_TMP\n"); +#endif +#if APR_USE_SHMEM_MMAP_SHM + printf(" -D APR_USE_SHMEM_MMAP_SHM\n"); +#endif +#if APR_USE_SHMEM_MMAP_ZERO + printf(" -D APR_USE_SHMEM_MMAP_ZERO\n"); +#endif +#if APR_USE_SHMEM_SHMGET_ANON + printf(" -D APR_USE_SHMEM_SHMGET_ANON\n"); +#endif +#if APR_USE_SHMEM_SHMGET + printf(" -D APR_USE_SHMEM_SHMGET\n"); +#endif +#if APR_USE_SHMEM_MMAP_ANON + printf(" -D APR_USE_SHMEM_MMAP_ANON\n"); +#endif +#if APR_USE_SHMEM_BEOS + printf(" -D APR_USE_SHMEM_BEOS\n"); +#endif + #if APR_PROCESS_LOCK_IS_GLOBAL printf(" -D APR_PROCESS_LOCK_IS_GLOBAL\n"); #endif