Differences From Artifact [3cacc2a328]:
- File configure.ac — part of check-in [877616edaf] at 2020-09-27 01:56:24 on branch trunk — Fix compiling for old Apple runtime (user: js, size: 49231) [annotate] [blame] [check-ins using]
To Artifact [4baa567a0a]:
- File
configure.ac
— part of check-in
[5eaa7705ef]
at
2020-09-27 03:34:32
on branch trunk
— configure: Only do objc_* checks for Apple runtime
Otherwise it will pull in autorelease.m / instance.m twice (once in
ObjFW, and once in the runtime). (user: js, size: 49243) [annotate] [blame] [check-ins using]
︙ | |||
631 632 633 634 635 636 637 638 639 640 641 642 | 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 | + + + + + + + - - - - - - - | AC_CHECK_LIB(objc, objc_msgSend, [ AC_SUBST(RUNTIME_LIBS, "-lobjc") AC_SUBST(RUNTIME_FRAMEWORK_LIBS, "-lobjc") ], [ AC_MSG_ERROR([libobjc not found!]) ]) AC_CHECK_FUNC(objc_autoreleasePoolPush, [], [ AC_SUBST(RUNTIME_AUTORELEASE_M, "runtime/autorelease.m") ]) AC_CHECK_FUNC(objc_constructInstance, [], [ AC_SUBST(RUNTIME_INSTANCE_M, "runtime/instance.m") ]) ;; esac AC_CHECK_FUNCS(_Unwind_Backtrace) |
︙ |