Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 348521 | Differences between
and this patch

Collapse All | Expand All

(-)configure.bak (-140 lines)
Lines 71078-71223 Link Here
71078
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr" >&5
71078
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr" >&5
71079
echo "${ECHO_T}$ac_cv_func_gethostbyaddr" >&6
71079
echo "${ECHO_T}$ac_cv_func_gethostbyaddr" >&6
71080
71080
71081
71082
case "$host" in
71083
  *linux*)
71084
71085
  echo "$as_me:$LINENO: checking for epoll_create" >&5
71086
echo $ECHO_N "checking for epoll_create... $ECHO_C" >&6
71087
  if test "${ace_cv_linux_event_poll+set}" = set; then
71088
  echo $ECHO_N "(cached) $ECHO_C" >&6
71089
else
71090
71091
      if test "$cross_compiling" = yes; then
71092
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
71093
See \`config.log' for more details." >&5
71094
echo "$as_me: error: cannot run test program while cross compiling
71095
See \`config.log' for more details." >&2;}
71096
   { (exit 1); exit 1; }; }
71097
else
71098
  cat >conftest.$ac_ext <<_ACEOF
71099
71100
      /* confdefs.h.  */
71101
_ACEOF
71102
cat confdefs.h >>conftest.$ac_ext
71103
cat >>conftest.$ac_ext <<_ACEOF
71104
/* end confdefs.h.  */
71105
71106
#include <sys/epoll.h>
71107
71108
int
71109
main ()
71110
{
71111
71112
int const ACE_NUM_DESCRIPTORS = 10;
71113
return epoll_create (ACE_NUM_DESCRIPTORS) == -1 ? -1 : 0;
71114
71115
  ;
71116
  return 0;
71117
}
71118
71119
_ACEOF
71120
rm -f conftest$ac_exeext
71121
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71122
  (eval $ac_link) 2>&5
71123
  ac_status=$?
71124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71125
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
71126
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71127
  (eval $ac_try) 2>&5
71128
  ac_status=$?
71129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71130
  (exit $ac_status); }; }; then
71131
71132
       ace_cv_linux_event_poll=yes
71133
71134
else
71135
  echo "$as_me: program exited with status $ac_status" >&5
71136
echo "$as_me: failed program was:" >&5
71137
sed 's/^/| /' conftest.$ac_ext >&5
71138
71139
( exit $ac_status )
71140
71141
       ace_cv_linux_event_poll=no
71142
71143
fi
71144
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
71145
fi
71146
71147
fi
71148
71149
  echo "$as_me:$LINENO: result: $ace_cv_linux_event_poll" >&5
71150
echo "${ECHO_T}$ace_cv_linux_event_poll" >&6
71151
  if test "$ace_cv_linux_event_poll" != no; then
71152
    ace_just_a_place_holder=fixme
71153
71154
      cat >>confdefs.h <<\_ACEOF
71155
#define ACE_HAS_EVENT_POLL 1
71156
_ACEOF
71157
71158
71159
  else
71160
    ace_just_a_place_holder=fixme
71161
71162
  fi
71163
71164
    ;;
71165
  *)
71166
                    if test "$cross_compiling" = yes; then
71167
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
71168
See \`config.log' for more details." >&5
71169
echo "$as_me: error: cannot run test program while cross compiling
71170
See \`config.log' for more details." >&2;}
71171
   { (exit 1); exit 1; }; }
71172
else
71173
  cat >conftest.$ac_ext <<_ACEOF
71174
71175
      /* confdefs.h.  */
71176
_ACEOF
71177
cat confdefs.h >>conftest.$ac_ext
71178
cat >>conftest.$ac_ext <<_ACEOF
71179
/* end confdefs.h.  */
71180
71181
#include <sys/devpoll.h>
71182
#include <fcntl.h>
71183
71184
int
71185
main ()
71186
{
71187
  int fd = open ("/dev/poll", O_RDWR);
71188
  close (fd);
71189
  return fd == -1 ? -1 : 0;
71190
}
71191
71192
_ACEOF
71193
rm -f conftest$ac_exeext
71194
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71195
  (eval $ac_link) 2>&5
71196
  ac_status=$?
71197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71198
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
71199
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71200
  (eval $ac_try) 2>&5
71201
  ac_status=$?
71202
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
71203
  (exit $ac_status); }; }; then
71204
71205
      cat >>confdefs.h <<\_ACEOF
71206
#define ACE_HAS_DEV_POLL 1
71207
_ACEOF
71208
71209
71210
else
71211
  echo "$as_me: program exited with status $ac_status" >&5
71212
echo "$as_me: failed program was:" >&5
71213
sed 's/^/| /' conftest.$ac_ext >&5
71214
71215
fi
71216
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
71217
fi
71218
    ;;
71219
esac
71220
71221
echo "$as_me:$LINENO: checking for gethrtime" >&5
71081
echo "$as_me:$LINENO: checking for gethrtime" >&5
71222
echo $ECHO_N "checking for gethrtime... $ECHO_C" >&6
71082
echo $ECHO_N "checking for gethrtime... $ECHO_C" >&6
71223
if test "${ac_cv_func_gethrtime+set}" = set; then
71083
if test "${ac_cv_func_gethrtime+set}" = set; then

Return to bug 348521