ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/configure (file contents):
Revision 4356 by michael, Sat Aug 2 18:30:48 2014 UTC vs.
Revision 4359 by michael, Sat Aug 2 20:37:47 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 4294 2014-07-20 10:33:10Z michael .
2 > # From configure.ac Id: configure.ac 4356 2014-08-02 18:30:48Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1.
5   #
# Line 13314 | Line 13314 | fi
13314   done
13315  
13316  
13317
13317    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13318   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13319  
# Line 13497 | Line 13496 | else
13496    as_fn_error $? "socket library not found" "$LINENO" 5
13497   fi
13498  
13499 +  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13500 + "
13501 + if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13502 +
13503 + $as_echo "#define IPV6 1" >>confdefs.h
13504 +
13505 + fi
13506 +
13507    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13508     #include <sys/socket.h>
13509     #include <netdb.h>
# Line 13551 | Line 13558 | fi
13558  
13559  
13560  
13554  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13555 "
13556 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13557
13558 $as_echo "#define IPV6 1" >>confdefs.h
13559
13560 fi
13561
13562
13563
13561   # Checks for typedefs, structures, and compiler characteristics.
13562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13563   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
# Line 14231 | Line 14228 | $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY
14228  
14229   # Argument processing.
14230  
14231 <    desired_iopoll_mechanism="none"
14232 <    # Check whether --enable-kqueue was given.
14231 >  desired_iopoll_mechanism="none"
14232 >
14233 >  # Check whether --enable-kqueue was given.
14234   if test "${enable_kqueue+set}" = set; then :
14235    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14236   fi
# Line 14252 | Line 14250 | if test "${enable_poll+set}" = set; then
14250    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14251   fi
14252  
14253 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14253 >
14254 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14255   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14256 +
14257    iopoll_mechanism_none=0
14258  
14259   cat >>confdefs.h <<_ACEOF
14260   #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14261   _ACEOF
14262  
14263 <      iopoll_mechanism_kqueue=1
14263 >
14264 >  iopoll_mechanism_kqueue=1
14265  
14266   cat >>confdefs.h <<_ACEOF
14267   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
# Line 14314 | Line 14315 | else
14315   fi
14316   rm -f core conftest.err conftest.$ac_objext \
14317      conftest$ac_exeext conftest.$ac_ext
14318 <      iopoll_mechanism_epoll=2
14318 >
14319 >  iopoll_mechanism_epoll=2
14320  
14321   cat >>confdefs.h <<_ACEOF
14322   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
# Line 14338 | Line 14340 | else
14340   fi
14341   rm -f core conftest.err conftest.$ac_objext \
14342      conftest$ac_exeext conftest.$ac_ext
14343 <      iopoll_mechanism_devpoll=3
14343 >
14344 >  iopoll_mechanism_devpoll=3
14345  
14346   cat >>confdefs.h <<_ACEOF
14347   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
# Line 14388 | Line 14391 | rm -f core conftest.err conftest.$ac_obj
14391   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14392  
14393    fi
14394 <      iopoll_mechanism_poll=4
14394 >
14395 >  iopoll_mechanism_poll=4
14396  
14397   cat >>confdefs.h <<_ACEOF
14398   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14442 | Line 14446 | else
14446   fi
14447   rm -f core conftest.err conftest.$ac_objext \
14448      conftest$ac_exeext conftest.$ac_ext
14449 <      optimal_iopoll_mechanism="none"
14449 >
14450 >  optimal_iopoll_mechanism="none"
14451    for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14452      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14453      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
# Line 14450 | Line 14455 | rm -f core conftest.err conftest.$ac_obj
14455        break
14456      fi
14457    done
14458 <      if test "$desired_iopoll_mechanism" = "none" ; then
14458 >
14459 >  if test "$desired_iopoll_mechanism" = "none" ; then
14460      if test "$optimal_iopoll_mechanism" = "none" ; then
14461        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14462   $as_echo "none" >&6; }
# Line 14472 | Line 14478 | $as_echo "none" >&6; }
14478        as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14479      fi
14480    fi
14481 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14481 >
14482 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14483  
14484   cat >>confdefs.h <<_ACEOF
14485   #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
# Line 14499 | Line 14506 | else
14506    warnings="no"
14507   fi
14508  
14509 +
14510    if test "$warnings" = "yes" ; then
14511  
14512  

Diff Legend

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