612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
|
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
|
-
+
|
AC_DEFINE(HAVE_KQUEUE, 1, [Whether we have kqueue])
AC_SUBST(OFSTREAMOBSERVER_KQUEUE_M, "OFStreamObserver_kqueue.m")
])
AC_CHECK_HEADER(poll.h, [
AC_DEFINE(HAVE_POLL_H, 1, [Whether we have poll.h])
AC_SUBST(OFSTREAMOBSERVER_POLL_M, "OFStreamObserver_poll.m")
])
AC_CHECK_HEADERS(sys/select.h, [
AC_CHECK_HEADER(sys/select.h, [
AC_DEFINE(HAVE_SYS_SELECT_H, 1, [Whether we have sys/select.h])
AC_SUBST(OFSTREAMOBSERVER_SELECT_M, "OFStreamObserver_select.m")
])
case "$host_os" in
mingw*)
AC_SUBST(OFSTREAMOBSERVER_SELECT_M,
"OFStreamObserver_select.m")
|
732
733
734
735
736
737
738
739
740
741
742
743
744
745
|
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
|
+
+
|
])
;;
esac
AS_IF([test x"$have_processes" = x"yes"], [
AC_SUBST(OFPROCESS_M, "OFProcess.m")
AC_DEFINE(OF_HAVE_PROCESSES, 1, [Whether we have processes])
])
AC_CHECK_HEADERS(execinfo.h)
AS_IF([test x"$objc_runtime" = x"Apple runtime"], [
AC_CHECK_HEADER(Foundation/NSObject.h, [
AC_SUBST(FOUNDATION_COMPAT_M, "foundation-compat.m")
AC_SUBST(BRIDGE, "bridge")
AS_IF([test x"$enable_shared" != x"no"], [
|