martin 99/07/26 02:26:10
Modified: src/main http_main.c
Log:
The "-V" switch now omits printing of the SHARED_CORE_DIR
when the SHARED_CORE feature is not in effect.
Revision Changes Path
1.461 +1 -1 apache-1.3/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.460
retrieving revision 1.461
diff -u -r1.460 -r1.461
--- http_main.c 1999/07/23 19:52:04 1.460
+++ http_main.c 1999/07/26 09:26:07 1.461
@@ -3538,7 +3538,7 @@
#ifdef SUEXEC_BIN
printf(" -D SUEXEC_BIN=\"" SUEXEC_BIN "\"\n");
#endif
-#ifdef SHARED_CORE_DIR
+#if defined(SHARED_CORE) && defined(SHARED_CORE_DIR)
printf(" -D SHARED_CORE_DIR=\"" SHARED_CORE_DIR "\"\n");
#endif
#ifdef DEFAULT_PIDLOG