637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
|
])
;;
esac
AC_CHECK_FUNCS(_Unwind_Backtrace)
AC_CHECK_FUNC(objc_autoreleasePoolPush, [], [
AC_SUBST(AUTORELEASE_M, "autorelease.m")
])
case "$host_os" in
darwin*)
AC_SUBST(LDFLAGS_REEXPORT, ["-Wl,-reexport-lobjfw"])
AS_IF([test x"$objc_runtime" = x"Apple runtime"], [
AC_SUBST(REEXPORT_RUNTIME, ["-Wl,-reexport-lobjc"])
|
|
>
>
>
|
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
|
])
;;
esac
AC_CHECK_FUNCS(_Unwind_Backtrace)
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")
])
case "$host_os" in
darwin*)
AC_SUBST(LDFLAGS_REEXPORT, ["-Wl,-reexport-lobjfw"])
AS_IF([test x"$objc_runtime" = x"Apple runtime"], [
AC_SUBST(REEXPORT_RUNTIME, ["-Wl,-reexport-lobjc"])
|