ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/releases/8.2.0beta1/configure
(Generate patch)

Comparing ircd-hybrid/trunk/configure (file contents):
Revision 1730 by michael, Sun Jan 6 11:27:11 2013 UTC vs.
Revision 1736 by michael, Sun Jan 13 09:31:46 2013 UTC

# Line 811 | Line 811 | enable_assert
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
814 enable_rtsigio
814   enable_poll
815   enable_select
816   with_nicklen
# Line 1471 | Line 1470 | Optional Features:
1470    --enable-kqueue         Force kqueue usage.
1471    --enable-epoll          Force epoll usage.
1472    --enable-devpoll        Force devpoll usage.
1474  --enable-rtsigio        Force rtsigio usage.
1473    --enable-poll           Force poll usage.
1474    --enable-select         Force select usage.
1475    --enable-halfops        Enable halfops support.
# Line 13996 | Line 13994 | if test "${enable_devpoll+set}" = set; t
13994    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13995   fi
13996  
13999  # Check whether --enable-rtsigio was given.
14000 if test "${enable_rtsigio+set}" = set; then :
14001  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14002 fi
14003
13997    # Check whether --enable-poll was given.
13998   if test "${enable_poll+set}" = set; then :
13999    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 14184 | Line 14177 | rm -f core conftest.err conftest.$ac_obj
14177   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14178  
14179    fi
14180 <      iopoll_mechanism_rtsigio=4
14188 <
14189 < cat >>confdefs.h <<_ACEOF
14190 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14191 < _ACEOF
14192 <
14193 <  if test "$cross_compiling" = yes; then :
14194 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14195 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14196 < as_fn_error $? "cannot run test program while cross compiling
14197 < See \`config.log' for more details" "$LINENO" 5; }
14198 < else
14199 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 < /* end confdefs.h.  */
14201 <
14202 < #define _GNU_SOURCE
14203 < #include <fcntl.h>
14204 < static unsigned int have_f_setsig = 0;
14205 <
14206 < int
14207 < main ()
14208 < {
14209 <
14210 < #ifdef F_SETSIG
14211 <  have_f_setsig = 1;
14212 < #endif
14213 <  return have_f_setsig == 0;
14214 <
14215 <  ;
14216 <  return 0;
14217 < }
14218 < _ACEOF
14219 < if ac_fn_c_try_run "$LINENO"; then :
14220 <  is_rtsigio_mechanism_available="yes"
14221 < else
14222 <  is_rtsigio_mechanism_available="no"
14223 < fi
14224 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14225 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14226 < fi
14227 <
14228 <      iopoll_mechanism_poll=5
14180 >      iopoll_mechanism_poll=4
14181  
14182   cat >>confdefs.h <<_ACEOF
14183   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14279 | Line 14231 | else
14231   fi
14232   rm -f core conftest.err conftest.$ac_objext \
14233      conftest$ac_exeext conftest.$ac_ext
14234 <      iopoll_mechanism_select=6
14234 >      iopoll_mechanism_select=5
14235  
14236   cat >>confdefs.h <<_ACEOF
14237   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 14334 | Line 14286 | fi
14286   rm -f core conftest.err conftest.$ac_objext \
14287      conftest$ac_exeext conftest.$ac_ext
14288        optimal_iopoll_mechanism="none"
14289 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14289 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14290      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14291      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14292        optimal_iopoll_mechanism="$mechanism"

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)