In message <20090418113920.2acbb...@jojo.scabb>, Beber writes:
> exporting enable_epoll=3D"" make bind-tools build, but this bypass epoll
> test
> running with configure with --enable-epoll doesn't change anything, it
> still fail on :
> ./configure --prefix=3D/usr --build=3Dx86_64-pc-linux-gnu --host=3Di586-geo=
> de-linux-uclibc --mandir=3D/usr/share/man --infodir=3D/usr/share/info --dat=
> adir=3D/usr/share --sysconfdir=3D/etc --localstatedir=3D/var/lib --enable-i=
> pv6 --with-iconv --enable-epoll
> checking for kqueue... no
> checking epoll support... configure: error: cannot run test program while c=
> ross compiling
> See `config.log' for more details.
> 
> --=20
> Beber

This is in the next maintenance release, yet to be released.
It's also in 9.6.1.

2521.   [bug]           Improve epoll cross compilation support. [RT #19047]

Index: configure.in
===================================================================
RCS file: /proj/cvs/prod/bind9/configure.in,v
retrieving revision 1.355.18.85
retrieving revision 1.355.18.94
diff -u -r1.355.18.85 -r1.355.18.94
--- configure.in        21 Oct 2008 02:47:02 -0000      1.355.18.85
+++ configure.in        15 Feb 2009 22:57:42 -0000      1.355.18.94
@@ -355,10 +355,10 @@
 # so we need to try running the code, not just test its existence.
 #
 AC_ARG_ENABLE(epoll,
-       [  --enable-epoll          use Linux epoll when available 
[[default=yes]]],
-             want_epoll="$enableval",  want_epoll="yes")
+[  --enable-epoll          use Linux epoll when available [[default=auto]]],
+             want_epoll="$enableval",  want_epoll="auto")
 case $want_epoll in
-yes)
+auto)
        AC_MSG_CHECKING(epoll support)
        AC_TRY_RUN([
 #include <sys/epoll.h>
@@ -373,6 +373,9 @@
        [AC_MSG_RESULT(no)
        ISC_PLATFORM_HAVEEPOLL="#undef ISC_PLATFORM_HAVEEPOLL"])
        ;;
+yes)
+       ISC_PLATFORM_HAVEEPOLL="#define ISC_PLATFORM_HAVEEPOLL 1"
+       ;;
 *)
        ISC_PLATFORM_HAVEEPOLL="#undef ISC_PLATFORM_HAVEEPOLL"
        ;;
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: mark_andr...@isc.org
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to