You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/06/09 16:22:40 UTC

DO NOT REPLY [Bug 9729] New: - httpd -V gives TYPES_CONFIG_FILE instead of AP_TYPES_CONFIG_FILE

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9729>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9729

httpd -V gives TYPES_CONFIG_FILE instead of AP_TYPES_CONFIG_FILE

           Summary: httpd -V gives TYPES_CONFIG_FILE instead of
                    AP_TYPES_CONFIG_FILE
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mbrecknell@orchestream.com


A small oversight, liable to cause minor confusion during configure & build:

httpd -V reports the value of TYPES_CONFIG_FILE, if defined, though this macro 
does not seem to be used anywhere else in the code.

AP_TYPES_CONFIG_FILE, as defined in httpd.h and used in mod_mime.c, seems to be 
a more useful value to report.


--- server/main.c       Wed Apr 17 17:36:28 2002
+++ /tmp/main.c Fri Jun  7 19:34:58 2002
@@ -229,8 +229,8 @@
     printf(" -D DEFAULT_ERRORLOG=\"" DEFAULT_ERRORLOG "\"\n");
 #endif

-#ifdef TYPES_CONFIG_FILE
-    printf(" -D TYPES_CONFIG_FILE=\"" TYPES_CONFIG_FILE "\"\n");
+#ifdef AP_TYPES_CONFIG_FILE
+    printf(" -D AP_TYPES_CONFIG_FILE=\"" AP_TYPES_CONFIG_FILE "\"\n");
 #endif

 #ifdef SERVER_CONFIG_FILE

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org