--- configure.bak 2010-12-12 15:58:29.769263654 +0200 +++ configure 2010-12-12 16:01:53.272269031 +0200 @@ -71078,146 +71078,6 @@ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr" >&5 echo "${ECHO_T}$ac_cv_func_gethostbyaddr" >&6 - -case "$host" in - *linux*) - - echo "$as_me:$LINENO: checking for epoll_create" >&5 -echo $ECHO_N "checking for epoll_create... $ECHO_C" >&6 - if test "${ace_cv_linux_event_poll+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -else - cat >conftest.$ac_ext <<_ACEOF - - /* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include - -int -main () -{ - -int const ACE_NUM_DESCRIPTORS = 10; -return epoll_create (ACE_NUM_DESCRIPTORS) == -1 ? -1 : 0; - - ; - return 0; -} - -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - - ace_cv_linux_event_poll=yes - -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) - - ace_cv_linux_event_poll=no - -fi -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - -fi - - echo "$as_me:$LINENO: result: $ace_cv_linux_event_poll" >&5 -echo "${ECHO_T}$ace_cv_linux_event_poll" >&6 - if test "$ace_cv_linux_event_poll" != no; then - ace_just_a_place_holder=fixme - - cat >>confdefs.h <<\_ACEOF -#define ACE_HAS_EVENT_POLL 1 -_ACEOF - - - else - ace_just_a_place_holder=fixme - - fi - - ;; - *) - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -else - cat >conftest.$ac_ext <<_ACEOF - - /* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include - -int -main () -{ - int fd = open ("/dev/poll", O_RDWR); - close (fd); - return fd == -1 ? -1 : 0; -} - -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - - cat >>confdefs.h <<\_ACEOF -#define ACE_HAS_DEV_POLL 1 -_ACEOF - - -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - ;; -esac - echo "$as_me:$LINENO: checking for gethrtime" >&5 echo $ECHO_N "checking for gethrtime... $ECHO_C" >&6 if test "${ac_cv_func_gethrtime+set}" = set; then