HAVE_APPKIT_H check inappropriate for Mac OS X

Hi,

Just a quick note regarding a bug I noticed with Libwww on Mac OS X.  
There is a configure check for the presence of <appkit/appkit.h> or 
<appkit.h> (the NeXT Application Kit).  On OS X,  configure sets 
HAVE_APPKIT_APPKIT_H and <appkit/appkit.h> is then included by 
Library/src/wwwsys.h.

While this unnecessary (as far as I can tell) #include doesn't hurt the 
build of Libwww itself, it causes problems with C++ programs which use 
libwww, as the C++ compiler can't handle the Objective-C syntax in the 
included AppKit headers.  My suggestion would be to remove the 
HAVE_APPKIT checks completely, as they appear to serve no useful value, 
and introduce an unnecessary dependency on an unused library.  The only 
possibility I can think of for their presence is that maybe there was an 
old version of NEXTSTEP that required the AppKit to be included to pick 
up some functionality that would normally be in a more standard header?

-Jake

Received on Friday, 19 October 2001 17:31:08 UTC