From: Nick Kew Date: Tue, 22 Dec 2009 00:05:40 +0000 (+0000) Subject: Strip SHARED_CORE deadwood. X-Git-Tag: 2.3.5~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2631cbd4982e030d66e9d75d267a3b66f56ae176;p=apache Strip SHARED_CORE deadwood. PR 46239 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@893044 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/man/httpd.8 b/docs/man/httpd.8 index 3e9734be29..d8819e0f18 100644 --- a/docs/man/httpd.8 +++ b/docs/man/httpd.8 @@ -73,9 +73,6 @@ Sets the LogLevel to \fIlevel\fR during server startup\&. This is useful for tem -E \fIfile\fR Send error messages during server startup to \fIfile\fR\&. .TP --R \fIdirectory\fR -When the server is compiled using the SHARED_CORE rule, this specifies the \fIdirectory\fR for the shared object files\&. -.TP -h Output a short summary of available command line options\&. .TP diff --git a/docs/manual/programs/httpd.xml b/docs/manual/programs/httpd.xml index 93328a8b18..c33d7334ec 100644 --- a/docs/manual/programs/httpd.xml +++ b/docs/manual/programs/httpd.xml @@ -122,12 +122,6 @@ problems during startup.
Send error messages during server startup to file.
-
-R directory
- -
When the server is compiled using the SHARED_CORE -rule, this specifies the directory for the shared -object files.
-
-h
Output a short summary of available command line options.
diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c index fdcfec3fc6..5ccfc8047e 100644 --- a/modules/generators/mod_info.c +++ b/modules/generators/mod_info.c @@ -503,10 +503,6 @@ static int show_server_settings(request_rec * r) ap_rputs(" -D NEED_HASHBANG_EMUL\n", r); #endif -#ifdef SHARED_CORE - ap_rputs(" -D SHARED_CORE\n", r); -#endif - /* This list displays the compiled in default paths: */ #ifdef HTTPD_ROOT ap_rputs(" -D HTTPD_ROOT=\"" HTTPD_ROOT "\"\n", r); @@ -516,10 +512,6 @@ static int show_server_settings(request_rec * r) ap_rputs(" -D SUEXEC_BIN=\"" SUEXEC_BIN "\"\n", r); #endif -#if defined(SHARED_CORE) && defined(SHARED_CORE_DIR) - ap_rputs(" -D SHARED_CORE_DIR=\"" SHARED_CORE_DIR "\"\n", r); -#endif - #ifdef DEFAULT_PIDLOG ap_rputs(" -D DEFAULT_PIDLOG=\"" DEFAULT_PIDLOG "\"\n", r); #endif diff --git a/server/main.c b/server/main.c index ba538261c4..10ba9787ac 100644 --- a/server/main.c +++ b/server/main.c @@ -212,10 +212,6 @@ static void show_compile_settings(void) printf(" -D NEED_HASHBANG_EMUL\n"); #endif -#ifdef SHARED_CORE - printf(" -D SHARED_CORE\n"); -#endif - /* This list displays the compiled in default paths: */ #ifdef HTTPD_ROOT printf(" -D HTTPD_ROOT=\"" HTTPD_ROOT "\"\n"); @@ -225,10 +221,6 @@ static void show_compile_settings(void) printf(" -D SUEXEC_BIN=\"" SUEXEC_BIN "\"\n"); #endif -#if defined(SHARED_CORE) && defined(SHARED_CORE_DIR) - printf(" -D SHARED_CORE_DIR=\"" SHARED_CORE_DIR "\"\n"); -#endif - #ifdef DEFAULT_PIDLOG printf(" -D DEFAULT_PIDLOG=\"" DEFAULT_PIDLOG "\"\n"); #endif @@ -343,14 +335,8 @@ static void usage(process_rec *process) pad[i] = '\0'; -#ifdef SHARED_CORE - ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL , - "Usage: %s [-R directory] [-D name] [-d directory] [-f file]", - bin); -#else ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, "Usage: %s [-D name] [-d directory] [-f file]", bin); -#endif ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, " %s [-C \"directive\"] [-c \"directive\"]", pad); @@ -374,12 +360,6 @@ static void usage(process_rec *process) ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, "Options:"); -#ifdef SHARED_CORE - ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, - " -R directory : specify an alternate location for " - "shared object files"); -#endif - ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, " -D name : define a name for use in " " directives");