gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Commit r28657


From: Wolfgang Lux
Subject: Re: Commit r28657
Date: Wed, 23 Sep 2009 13:27:26 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]