From: Jeff Trawick Date: Tue, 4 Dec 2001 18:36:51 +0000 (+0000) Subject: tweak httpd -V output to show the architecture (bits in a pointer) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1eb62e7bb6376d555bc1bf573195694d11d4435;p=apache tweak httpd -V output to show the architecture (bits in a pointer) and whether or not APR_HAS_SENDFILE is defined git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92322 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/main.c b/server/main.c index 5e22c8e99a..50f9afd291 100644 --- a/server/main.c +++ b/server/main.c @@ -89,6 +89,7 @@ static void show_compile_settings(void) printf("Server built: %s\n", ap_get_server_built()); printf("Server's Module Magic Number: %u:%u\n", MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR); + printf("Architecture: %d-bit\n", 8 * sizeof(void *)); printf("Server compiled with....\n"); #ifdef BIG_SECURITY_HOLE printf(" -D BIG_SECURITY_HOLE\n"); @@ -105,6 +106,9 @@ static void show_compile_settings(void) #if APR_FILE_BASED_SHM printf(" -D APR_FILE_BASED_SHM\n"); #endif +#if APR_HAS_SENDFILE + printf(" -D APR_HAS_SENDFILE\n"); +#endif #if APR_HAS_MMAP printf(" -D APR_HAS_MMAP\n"); #endif