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 4246 by michael, Thu Jul 17 19:41:33 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 4181 2014-07-06 13:11:44Z 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.0beta4.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 593 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='8.2.0beta4'
597 < PACKAGE_STRING='ircd-hybrid 8.2.0beta4'
596 > PACKAGE_VERSION='8.2.0rc1'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0rc1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 812 | Line 812 | enable_kqueue
812   enable_epoll
813   enable_devpoll
814   enable_poll
815 enable_select
815   enable_debugging
816   enable_warnings
817   '
# Line 1367 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 8.2.0beta4 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.0rc1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1437 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0beta4:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1468 | Line 1467 | Optional Features:
1467    --enable-epoll          Force epoll usage.
1468    --enable-devpoll        Force devpoll usage.
1469    --enable-poll           Force poll usage.
1471  --enable-select         Force select usage.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1566 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure 8.2.0beta4
1567 > ircd-hybrid configure 8.2.0rc1
1568   generated by GNU Autoconf 2.69
1569  
1570   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2092 | Line 2090 | cat >config.log <<_ACEOF
2090   This file contains any messages produced by compilers while
2091   running configure, to aid debugging if configure makes a mistake.
2092  
2093 < It was created by ircd-hybrid $as_me 8.2.0beta4, which was
2093 > It was created by ircd-hybrid $as_me 8.2.0rc1, which was
2094   generated by GNU Autoconf 2.69.  Invocation command line was
2095  
2096    $ $0 $@
# Line 2966 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='8.2.0beta4'
2967 > VERSION='8.2.0rc1'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 13215 | Line 13213 | $as_echo "#define ENABLE_SSP_CC 1" >>con
13213    fi
13214  
13215  
13216 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13217 + $as_echo_n "checking whether libssp exists... " >&6; }
13218 + if ${ssp_cv_lib+:} false; then :
13219 +  $as_echo_n "(cached) " >&6
13220 + else
13221 +  ssp_old_libs="$LIBS"
13222 +     LIBS="$LIBS -lssp"
13223 +     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 + /* end confdefs.h.  */
13225 +
13226 + int
13227 + main ()
13228 + {
13229 +
13230 +  ;
13231 +  return 0;
13232 + }
13233 + _ACEOF
13234 + if ac_fn_c_try_link "$LINENO"; then :
13235 +  ssp_cv_lib=yes
13236 + else
13237 +  ssp_cv_lib=no
13238 + fi
13239 + rm -f core conftest.err conftest.$ac_objext \
13240 +    conftest$ac_exeext conftest.$ac_ext
13241 +     LIBS="$ssp_old_libs"
13242 +
13243 + fi
13244 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13245 + $as_echo "$ssp_cv_lib" >&6; }
13246 +  if test $ssp_cv_lib = yes; then
13247 +    LIBS="$LIBS -lssp"
13248 +  fi
13249 +
13250 +
13251  
13252  
13253  
# Line 13281 | Line 13314 | fi
13314   done
13315  
13316  
13284
13317    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13318   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13319  
# Line 13464 | 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 13518 | Line 13558 | fi
13558  
13559  
13560  
13521  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13522 "
13523 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13524
13525 $as_echo "#define IPV6 1" >>confdefs.h
13526
13527 fi
13528
13529
13530
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 13996 | Line 14026 | $as_echo "disabled" >&6; }
14026   fi
14027  
14028   if test "$cf_enable_openssl" != "no"; then :
14029 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8m or above" >&5
14030 < $as_echo_n "checking for OpenSSL 0.9.8m or above... " >&6; }
14029 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
14030 > $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
14031    if test "$cross_compiling" = yes; then :
14032    cf_openssl_version_ok=no
14033   else
# Line 14010 | Line 14040 | else
14040   int
14041   main ()
14042   {
14043 < exit(!(OPENSSL_VERSION_NUMBER >= 0x009080dfL));
14043 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14044    ;
14045    return 0;
14046   }
# Line 14198 | 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 14219 | Line 14250 | if test "${enable_poll+set}" = set; then
14250    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14251   fi
14252  
14222  # Check whether --enable-select was given.
14223 if test "${enable_select+set}" = set; then :
14224  enableval=$enable_select; desired_iopoll_mechanism="select"
14225 fi
14253  
14254 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
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 14286 | 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
14323   _ACEOF
14324  
14295  if test "$cross_compiling" = yes; then :
14296  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14298 as_fn_error $? "cannot run test program while cross compiling
14299 See \`config.log' for more details" "$LINENO" 5; }
14300 else
14325    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326   /* end confdefs.h.  */
14303
14327   #include <sys/epoll.h>
14305 #include <sys/syscall.h>
14306 #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14307 #if !defined(__NR_epoll_create)
14308 #if defined(__ia64__)
14309 #define __NR_epoll_create 1243
14310 #elif defined(__x86_64__)
14311 #define __NR_epoll_create 214
14312 #elif defined(__sparc64__) || defined(__sparc__)
14313 #define __NR_epoll_create 193
14314 #elif defined(__s390__) || defined(__m68k__)
14315 #define __NR_epoll_create 249
14316 #elif defined(__ppc64__) || defined(__ppc__)
14317 #define __NR_epoll_create 236
14318 #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
14319 #define __NR_epoll_create 224
14320 #elif defined(__alpha__)
14321 #define __NR_epoll_create 407
14322 #elif defined(__sh64__)
14323 #define __NR_epoll_create 282
14324 #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
14325 #define __NR_epoll_create 254
14326 #else
14327 #error No system call numbers defined for epoll family.
14328 #endif
14329 #endif
14330 _syscall1(int, epoll_create, int, size)
14331 #endif
14332
14328   int
14329   main ()
14330   {
14331 < return epoll_create(256) == -1 ? 1 : 0
14331 > epoll_create(256);
14332    ;
14333    return 0;
14334   }
14335   _ACEOF
14336 < if ac_fn_c_try_run "$LINENO"; then :
14336 > if ac_fn_c_try_link "$LINENO"; then :
14337    is_epoll_mechanism_available="yes"
14338   else
14339    is_epoll_mechanism_available="no"
14340   fi
14341 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14342 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14348 < fi
14341 > rm -f core conftest.err conftest.$ac_objext \
14342 >    conftest$ac_exeext conftest.$ac_ext
14343  
14344 <      iopoll_mechanism_devpoll=3
14344 >  iopoll_mechanism_devpoll=3
14345  
14346   cat >>confdefs.h <<_ACEOF
14347   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
# Line 14397 | 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 14451 | Line 14446 | else
14446   fi
14447   rm -f core conftest.err conftest.$ac_objext \
14448      conftest$ac_exeext conftest.$ac_ext
14454      iopoll_mechanism_select=5
14455
14456 cat >>confdefs.h <<_ACEOF
14457 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14458 _ACEOF
14459
14460  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h.  */
14462 /* Define select to an innocuous variant, in case <limits.h> declares select.
14463   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14464 #define select innocuous_select
14465
14466 /* System header to define __stub macros and hopefully few prototypes,
14467    which can conflict with char select (); below.
14468    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14469    <limits.h> exists even on freestanding compilers.  */
14470
14471 #ifdef __STDC__
14472 # include <limits.h>
14473 #else
14474 # include <assert.h>
14475 #endif
14476
14477 #undef select
14449  
14450 < /* Override any GCC internal prototype to avoid an error.
14451 <   Use char because int might match the return type of a GCC
14481 <   builtin and then its argument prototype would still apply.  */
14482 < #ifdef __cplusplus
14483 < extern "C"
14484 < #endif
14485 < char select ();
14486 < /* The GNU C library defines this for functions which it implements
14487 <    to always fail with ENOSYS.  Some functions are actually named
14488 <    something starting with __ and the normal name is an alias.  */
14489 < #if defined __stub_select || defined __stub___select
14490 < choke me
14491 < #endif
14492 <
14493 < int
14494 < main ()
14495 < {
14496 < return select ();
14497 <  ;
14498 <  return 0;
14499 < }
14500 < _ACEOF
14501 < if ac_fn_c_try_link "$LINENO"; then :
14502 <  is_select_mechanism_available="yes"
14503 < else
14504 <  is_select_mechanism_available="no"
14505 < fi
14506 < rm -f core conftest.err conftest.$ac_objext \
14507 <    conftest$ac_exeext conftest.$ac_ext
14508 <      optimal_iopoll_mechanism="none"
14509 <  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
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
14454        optimal_iopoll_mechanism="$mechanism"
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 14535 | 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 14562 | Line 14506 | else
14506    warnings="no"
14507   fi
14508  
14509 +
14510    if test "$warnings" = "yes" ; then
14511  
14512  
# Line 16259 | Line 16204 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16204   # report actual input values of CONFIG_FILES etc. instead of their
16205   # values after options handling.
16206   ac_log="
16207 < This file was extended by ircd-hybrid $as_me 8.2.0beta4, which was
16207 > This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was
16208   generated by GNU Autoconf 2.69.  Invocation command line was
16209  
16210    CONFIG_FILES    = $CONFIG_FILES
# Line 16325 | Line 16270 | _ACEOF
16270   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16271   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16272   ac_cs_version="\\
16273 < ircd-hybrid config.status 8.2.0beta4
16273 > ircd-hybrid config.status 8.2.0rc1
16274   configured by $0, generated by GNU Autoconf 2.69,
16275    with options \\"\$ac_cs_config\\"
16276  

Diff Legend

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