httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
Subject [PATCH] Take2: Show compile time switches for server
Date Fri, 07 Nov 1997 13:06:39 GMT
On Fri, Nov 07, 1997 at 02:48:07AM -0800, Dean Gaudet wrote:
> +1 on -V, but it looks like you put NO_WRITEV inside the USE_MMAP_FILES
> section, which is wrong ... NO_WRITEV isn't related to USE_MMAP_FILES. 

Ok, moved to behind the "#ifdef USE_MMAP_FILES" block.

BTW: I was thinking of reducing the code bloat a bit by using string
concatenation to collect all the strings into one printf() by writing...

    printf("Server compiled with....\n"
	   " -D HTTPD_ROOT=\"" HTTPD_ROOT "\"\n"

But then I'd need a (portable) ANSI-Stringizing Macro which converts
the _value_ of the num-valued macros into a string, like...

#define NUMSTR(n)   some_#_magic_i_couldnt_find_out

Somehow I couldn't get it to work. The X3J11 standard doesn't give an
example either. Thus still Take 2: the printf() version (corrected re

| S I E M E N S |  <>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

View raw message