diff options
author | Yann Ylavic <ylavic@apache.org> | 2020-12-06 00:05:45 +0100 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2020-12-06 00:05:45 +0100 |
commit | a31f86ddfd3263b34abc24dbba2e02ed1bab7d35 (patch) | |
tree | 324e8827a1ab077dd80b338c73b77940345af445 /server/main.c | |
parent | Cosmetics (and one more ci pass, just in case). (diff) | |
download | apache2-a31f86ddfd3263b34abc24dbba2e02ed1bab7d35.tar.xz apache2-a31f86ddfd3263b34abc24dbba2e02ed1bab7d35.zip |
²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
Diffstat (limited to '')
-rw-r--r-- | server/main.c | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/server/main.c b/server/main.c index a126ce1883..19545e6687 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 |