Differences From Artifact [aad91aaffc]:
- File configure.ac — part of check-in [bdfcb94f18] at 2011-01-18 20:58:51 on branch trunk — Add +[thread] to OFThread and allow -[init]. (user: js, size: 12104) [annotate] [blame] [check-ins using]
To 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]
︙ | |||
427 428 429 430 431 432 433 434 435 436 437 438 439 440 | 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 | + + + + + + | ], [ AC_MSG_RESULT(no) ]) 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/Foundation.h, [ AC_SUBST(FOUNDATION_COMPAT_M, "foundation-compat.m") ]) ]) AS_IF([test x"$GOBJC" = x"yes"], [ OBJCFLAGS="$OBJCFLAGS -Werror" AC_MSG_CHECKING(whether gcc has bug objc/27438) AC_TRY_COMPILE([ #import <objc/objc.h> |
︙ |