David Chisnall wrote:

On 23 Sep 2009, at 08:54, Wolfgang Lux wrote:

I assume that you really want to test the presence of libobjc2 and take objc/runtime.h for granted (only) if using libobjc2

No, it should be safe to include it on any platform where it's present. Longer term, when we are supporting the Apple runtime, this will be included everywhere again. A macro is defined in libobjc2's runtime.h that lets us check for it.

Okay. In that case the modifications are even simpler. It should suffice to add the line

 AC_CHECK_HEADERS(objc/runtime.h)

to configure.ac and run autoconf and autoheader. You can check whether runtime.h is available with the feature test macro HAVE_OBJC_RUNTIME_H.

Wolfgang



_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to