Mailing List Archive

[Bug 7977] New: - Modification required in ap_config.h
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=7977>.
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=7977

Modification required in ap_config.h

Summary: Modification required in ap_config.h
Product: Apache httpd-1.3
Version: 1.3.23
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: Normal
Priority: Other
Component: Other mods
AssignedTo: bugs@httpd.apache.org
ReportedBy: cm@cmunt.demon.co.uk


When compiling modules under FreeBSD (v4.5) I've found that I've had to modify
the following line in ap_config.h:

#elif defined(LINUX)

to read:

#elif defined(LINUX) && !defined(__FreeBSD__)

This modification is necessary because, for some reason, the symbol 'LINUX' gets
defined within the FreeBSD build with the result that the preprocessor ends up
looking for the Linux header 'features.h' which, of course, isn't available
within FreeBSD.

I'm not sure where 'LINUX' is being defined, as yet. I know this, perhaps,
sounds bizarre but I thought I'd better let you know.

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