Overview
Comment: | Check for IPv6 support. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c1687f2be369031f1be9a562912fb105 |
User & Date: | js on 2008-12-13 13:40:07 |
Other Links: | manifest | tags |
Context
2008-12-13
| ||
13:42 | Only test IPv6 if we have support for it. check-in: cabd461d39 user: js tags: trunk | |
13:40 | Check for IPv6 support. check-in: c1687f2be3 user: js tags: trunk | |
2008-12-11
| ||
14:06 | Fix two more FIXMEs in OFTCPSocket; new exception. check-in: 85f7e202b1 user: js tags: trunk | |
Changes
Modified configure.ac from [85a5c43ae7] to [750d5bd60e].
︙ | |||
30 31 32 33 34 35 36 37 38 39 40 41 42 43 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | + + + + + + + + + + + + + + + + + + + | AC_DEFINE(HAVE_SEL_GET_NAME, 1, [Whether we have sel_get_name])]) AC_CHECK_LIB(objc, sel_getName, [ have_sel_getName="yes" AC_DEFINE(HAVE_SEL_GETNAME, 1, [Whether we have sel_getName])]) test x"$have_sel_get_name" != x"yes" -a x"$have_sel_getName" != x"yes" && \ AC_ERROR(You need either sel_get_name or sel_getName in libobjc!) AC_MSG_CHECKING(whether we have IPv6 support) AC_TRY_RUN([ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> int main() { int fd; struct sockaddr_in6 addr; fd = socket(AF_INET6, SOCK_STREAM, 0); exit(fd >= 0 ? 0 : 1); }], have_ipv6="yes", have_ipv6="no", have_ipv6="no") AC_MSG_RESULT($have_ipv6) test x"$have_ipv6" = x"yes" && \ AC_DEFINE(HAVE_IPV6, 1, "Whether we have IPv6 support") test $cross_compiling != x"yes" && AC_SUBST(TESTS, "tests") BUILDSYS_TOUCH_DEPS AC_SUBST(PACKAGE, objfw) AC_CONFIG_FILES([buildsys.mk extra.mk]) AC_CONFIG_HEADERS(config.h) |
︙ |