Differences From Artifact [18c25283af]:
- File
configure.ac
— part of check-in
[3d0a1604ae]
at
2011-02-02 22:26:45
on branch trunk
— Increase blocks compatibility by replacing NSAutoreleasePool.
NSAutoreleasePool is replaced by OFAutoreleasePool now so that there is
no conflict because OFBlocks are used (blocks are OFBlocks as soon as
ObjFW is linked). An application expecting an NSBlock, but getting an
OFBlock because ObjFW is linked, would fail to autorelease the block
otherwise, as the block would be in an OFAutoreleasePool. By replacing
NSAutoreleasePool with OFAutoreleasePool, the application will still
properly free the autoreleased block.This will also make it easier to write applications using both,
Foundation and ObjFW, since the developer does not need to take care
about two different autorelease pools, but they are united instead. (user: js, size: 12255) [annotate] [blame] [check-ins using]
To Artifact [d6ec578bbd]:
- File configure.ac — part of check-in [550c482466] at 2011-02-09 09:19:04 on branch trunk — Check for NSObject.h instead of Foundation.h. Really speeds things up. (user: js, size: 12253) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
429 430 431 432 433 434 435 | ]) AC_CHECK_FUNC(madvise, [ AC_DEFINE(HAVE_MADVISE, 1, [Whether we have madvise]) ]) AS_IF([test x"$objc_runtime" = x"Apple"], [ | | | 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 | ]) AC_CHECK_FUNC(madvise, [ AC_DEFINE(HAVE_MADVISE, 1, [Whether we have madvise]) ]) AS_IF([test x"$objc_runtime" = x"Apple"], [ AC_CHECK_HEADER(Foundation/NSObject.h, [ AC_SUBST(FOUNDATION_COMPAT_M, "foundation-compat.m") ]) ]) AS_IF([test x"$GOBJC" = x"yes"], [ OBJCFLAGS="$OBJCFLAGS -Werror" |
︙ | ︙ |