Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
blocxx-doc
blocxx-no_ipv6_run_check.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File blocxx-no_ipv6_run_check.dif of Package blocxx-doc
Index: configure.in =================================================================== --- configure.in (Revision 283) +++ configure.in (Arbeitskopie) @@ -1784,23 +1784,22 @@ ]) if test x$ENABLE_IPV6 = xyes; then - AC_MSG_CHECKING(whether IPv6 support is possible) - AC_TRY_RUN( + AC_MSG_CHECKING(whether IPv6 support is possible, compile) + AC_TRY_COMPILE( [ /* is AF_INET6 available? */ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> - main() - { - struct sockaddr_storage unused; - if (socket(AF_INET6, SOCK_STREAM, 0) < 0) - exit(1); - else - exit(0); - } ], [ + struct sockaddr_storage unused; + if (socket(AF_INET6, SOCK_STREAM, 0) < 0) + exit(1); + else + exit(0); + ], + [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_IPV6, 1, IPv6 is present and enabled) ],
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor