Differences From Artifact [cc4568e947]:
- File
configure.ac
— part of check-in
[2edae50b86]
at
2012-10-03 15:47:15
on branch trunk
— Move ObjC feature checks to OFObject.h.
This way, it is theoretically possible to compile ObjFW with one
compiler and then use it with another. (user: js, size: 17855) [annotate] [blame] [check-ins using]
To Artifact [00551e1e1c]:
- File
configure.ac
— part of check-in
[16ba7ec477]
at
2012-10-10 10:16:22
on branch trunk
— Provide objc_constructInstance() when necessary.
OS X < 10.6 did not have it, so it is built regardless of the selected
runtime now if objc_constructInstance() hasn't been found. (user: js, size: 17939) [annotate] [blame] [check-ins using]
︙ | |||
261 262 263 264 265 266 267 268 269 270 271 272 273 274 | 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | + + + + | AC_CHECK_LIB(objc, objc_msgSend, [ LIBS="-lobjc $LIBS" ], [ AC_MSG_ERROR([libobjc not found!]) ]) ;; esac AC_CHECK_FUNC(objc_constructInstance, [], [ AC_SUBST(INSTANCE_M, "instance.m") ]) AC_CHECK_FUNC(objc_autoreleasePoolPush, [], [ AC_SUBST(AUTORELEASE_M, "autorelease.m") ]) AC_CHECK_FUNC(objc_enumerationMutation, [ AC_DEFINE(HAVE_OBJC_ENUMERATIONMUTATION, 1, |
︙ |