… | |
… | |
1599 | .Vb 1 |
1599 | .Vb 1 |
1600 | \& ev_win32.c required on win32 platforms only |
1600 | \& ev_win32.c required on win32 platforms only |
1601 | .Ve |
1601 | .Ve |
1602 | .PP |
1602 | .PP |
1603 | .Vb 5 |
1603 | .Vb 5 |
1604 | \& ev_select.c only when select backend is enabled (which is is by default) |
1604 | \& ev_select.c only when select backend is enabled (which is by default) |
1605 | \& ev_poll.c only when poll backend is enabled (disabled by default) |
1605 | \& ev_poll.c only when poll backend is enabled (disabled by default) |
1606 | \& ev_epoll.c only when the epoll backend is enabled (disabled by default) |
1606 | \& ev_epoll.c only when the epoll backend is enabled (disabled by default) |
1607 | \& ev_kqueue.c only when the kqueue backend is enabled (disabled by default) |
1607 | \& ev_kqueue.c only when the kqueue backend is enabled (disabled by default) |
1608 | \& ev_port.c only when the solaris port backend is enabled (disabled by default) |
1608 | \& ev_port.c only when the solaris port backend is enabled (disabled by default) |
1609 | .Ve |
1609 | .Ve |
1610 | .PP |
1610 | .PP |
1611 | \&\fIev.c\fR includes the backend files directly when enabled, so you only need |
1611 | \&\fIev.c\fR includes the backend files directly when enabled, so you only need |
1612 | to compile a single file. |
1612 | to compile this single file. |
1613 | .PP |
1613 | .PP |
1614 | \fI\s-1LIBEVENT\s0 \s-1COMPATIBILITY\s0 \s-1API\s0\fR |
1614 | \fI\s-1LIBEVENT\s0 \s-1COMPATIBILITY\s0 \s-1API\s0\fR |
1615 | .IX Subsection "LIBEVENT COMPATIBILITY API" |
1615 | .IX Subsection "LIBEVENT COMPATIBILITY API" |
1616 | .PP |
1616 | .PP |
1617 | To include the libevent compatibility \s-1API\s0, also include: |
1617 | To include the libevent compatibility \s-1API\s0, also include: |
… | |
… | |
1638 | \fI\s-1AUTOCONF\s0 \s-1SUPPORT\s0\fR |
1638 | \fI\s-1AUTOCONF\s0 \s-1SUPPORT\s0\fR |
1639 | .IX Subsection "AUTOCONF SUPPORT" |
1639 | .IX Subsection "AUTOCONF SUPPORT" |
1640 | .PP |
1640 | .PP |
1641 | Instead of using \f(CW\*(C`EV_STANDALONE=1\*(C'\fR and providing your config in |
1641 | Instead of using \f(CW\*(C`EV_STANDALONE=1\*(C'\fR and providing your config in |
1642 | whatever way you want, you can also \f(CW\*(C`m4_include([libev.m4])\*(C'\fR in your |
1642 | whatever way you want, you can also \f(CW\*(C`m4_include([libev.m4])\*(C'\fR in your |
1643 | \&\fIconfigure.ac\fR and leave \f(CW\*(C`EV_STANDALONE\*(C'\fR off. \fIev.c\fR will then include |
1643 | \&\fIconfigure.ac\fR and leave \f(CW\*(C`EV_STANDALONE\*(C'\fR undefined. \fIev.c\fR will then |
1644 | \&\fIconfig.h\fR and configure itself accordingly. |
1644 | include \fIconfig.h\fR and configure itself accordingly. |
1645 | .PP |
1645 | .PP |
1646 | For this of course you need the m4 file: |
1646 | For this of course you need the m4 file: |
1647 | .PP |
1647 | .PP |
1648 | .Vb 1 |
1648 | .Vb 1 |
1649 | \& libev.m4 |
1649 | \& libev.m4 |