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 3811 by michael, Tue Jun 3 19:18:52 2014 UTC vs.
Revision 4482 by michael, Fri Aug 15 17:06:40 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 3725 2014-05-31 16:29:38Z michael .
2 > # From configure.ac Id: configure.ac 4371 2014-08-03 10:56:24Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0beta3.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc2.
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.0beta3'
597 < PACKAGE_STRING='ircd-hybrid 8.2.0beta3'
596 > PACKAGE_VERSION='8.2.0rc2'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0rc2'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 806 | Line 806 | with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808   enable_libgeoip
809 enable_openssl
809   enable_assert
810   enable_kqueue
811   enable_epoll
812   enable_devpoll
813   enable_poll
815 enable_select
814   enable_debugging
815   enable_warnings
816 + enable_openssl
817   '
818        ac_precious_vars='build_alias
819   host_alias
# 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.0beta3 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.0rc2 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.0beta3:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc2:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1461 | Line 1460 | Optional Features:
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462    --disable-libgeoip      Disable GeoIP support
1464  --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1465  --disable-openssl            Disable OpenSSL support.
1463    --enable-assert         Enable assert() statements
1464    --enable-kqueue         Force kqueue usage.
1465    --enable-epoll          Force epoll usage.
1466    --enable-devpoll        Force devpoll usage.
1467    --enable-poll           Force poll usage.
1471  --enable-select         Force select usage.
1468    --enable-debugging      Enable debugging.
1469    --enable-warnings       Enable compiler warnings.
1470 +  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1471 +  --disable-openssl            Disable LibreSSL/OpenSSL support.
1472  
1473   Optional Packages:
1474    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# 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.0beta3
1567 > ircd-hybrid configure 8.2.0rc2
1568   generated by GNU Autoconf 2.69
1569  
1570   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1941 | Line 1939 | $as_echo "$ac_res" >&6; }
1939  
1940   } # ac_fn_c_check_type
1941  
1944 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1945 # ----------------------------------------------------
1946 # Tries to find if the field MEMBER exists in type AGGR, after including
1947 # INCLUDES, setting cache variable VAR accordingly.
1948 ac_fn_c_check_member ()
1949 {
1950  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1952 $as_echo_n "checking for $2.$3... " >&6; }
1953 if eval \${$4+:} false; then :
1954  $as_echo_n "(cached) " >&6
1955 else
1956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h.  */
1958 $5
1959 int
1960 main ()
1961 {
1962 static $2 ac_aggr;
1963 if (ac_aggr.$3)
1964 return 0;
1965  ;
1966  return 0;
1967 }
1968 _ACEOF
1969 if ac_fn_c_try_compile "$LINENO"; then :
1970  eval "$4=yes"
1971 else
1972  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h.  */
1974 $5
1975 int
1976 main ()
1977 {
1978 static $2 ac_aggr;
1979 if (sizeof ac_aggr.$3)
1980 return 0;
1981  ;
1982  return 0;
1983 }
1984 _ACEOF
1985 if ac_fn_c_try_compile "$LINENO"; then :
1986  eval "$4=yes"
1987 else
1988  eval "$4=no"
1989 fi
1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 fi
1992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993 fi
1994 eval ac_res=\$$4
1995               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1997  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998
1999 } # ac_fn_c_check_member
2000
1942   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1943   # -------------------------------------------------------
1944   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2092 | Line 2033 | cat >config.log <<_ACEOF
2033   This file contains any messages produced by compilers while
2034   running configure, to aid debugging if configure makes a mistake.
2035  
2036 < It was created by ircd-hybrid $as_me 8.2.0beta3, which was
2036 > It was created by ircd-hybrid $as_me 8.2.0rc2, which was
2037   generated by GNU Autoconf 2.69.  Invocation command line was
2038  
2039    $ $0 $@
# Line 2966 | Line 2907 | fi
2907  
2908   # Define the identity of the package.
2909   PACKAGE='ircd-hybrid'
2910 < VERSION='8.2.0beta3'
2910 > VERSION='8.2.0rc2'
2911  
2912  
2913   cat >>confdefs.h <<_ACEOF
# Line 13215 | Line 13156 | $as_echo "#define ENABLE_SSP_CC 1" >>con
13156    fi
13157  
13158  
13159 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
13160 < $as_echo_n "checking whether C compiler accepts ... " >&6; }
13161 < if ${ax_cv_check_cflags__+:} false; then :
13159 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13160 > $as_echo_n "checking whether libssp exists... " >&6; }
13161 > if ${ssp_cv_lib+:} false; then :
13162    $as_echo_n "(cached) " >&6
13163   else
13164 <
13165 <  ax_check_save_flags=$CFLAGS
13166 <  CFLAGS="$CFLAGS  "
13226 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 >  ssp_old_libs="$LIBS"
13165 >     LIBS="$LIBS -lssp"
13166 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167   /* end confdefs.h.  */
13168  
13169   int
# Line 13234 | Line 13174 | main ()
13174    return 0;
13175   }
13176   _ACEOF
13177 < if ac_fn_c_try_compile "$LINENO"; then :
13178 <  ax_cv_check_cflags__=yes
13239 < else
13240 <  ax_cv_check_cflags__=no
13241 < fi
13242 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13243 <  CFLAGS=$ax_check_save_flags
13244 < fi
13245 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
13246 < $as_echo "$ax_cv_check_cflags__" >&6; }
13247 < if test x"$ax_cv_check_cflags__" = xyes; then :
13248 <  :
13177 > if ac_fn_c_try_link "$LINENO"; then :
13178 >  ssp_cv_lib=yes
13179   else
13180 <  :
13180 >  ssp_cv_lib=no
13181   fi
13182 + rm -f core conftest.err conftest.$ac_objext \
13183 +    conftest$ac_exeext conftest.$ac_ext
13184 +     LIBS="$ssp_old_libs"
13185  
13253 if ${CFLAGS+:} false; then :
13254  case " $CFLAGS " in
13255    *"  "*)
13256      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
13257  (: CFLAGS already contains ) 2>&5
13258  ac_status=$?
13259  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260  test $ac_status = 0; }
13261      ;;
13262    *)
13263      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
13264  (: CFLAGS="$CFLAGS ") 2>&5
13265  ac_status=$?
13266  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267  test $ac_status = 0; }
13268      CFLAGS="$CFLAGS "
13269      ;;
13270   esac
13271 else
13272  CFLAGS=""
13186   fi
13187 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13188 + $as_echo "$ssp_cv_lib" >&6; }
13189 +  if test $ssp_cv_lib = yes; then
13190 +    LIBS="$LIBS -lssp"
13191 +  fi
13192 +
13193 +
13194 +
13195  
13196  
13197  
# Line 13336 | Line 13257 | fi
13257   done
13258  
13259  
13339
13260    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13261   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13262  
# Line 13519 | Line 13439 | else
13439    as_fn_error $? "socket library not found" "$LINENO" 5
13440   fi
13441  
13522  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13523   #include <sys/socket.h>
13524   #include <netdb.h>
13525
13526 "
13527 if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13528
13529 cat >>confdefs.h <<_ACEOF
13530 #define HAVE_STRUCT_SOCKADDR_IN 1
13531 _ACEOF
13532
13533
13534 fi
13535 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13536   #include <sys/socket.h>
13537   #include <netdb.h>
13538
13539 "
13540 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13541
13542 cat >>confdefs.h <<_ACEOF
13543 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13544 _ACEOF
13545
13546
13547 fi
13548 ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13549   #include <sys/socket.h>
13550   #include <netdb.h>
13551
13552 "
13553 if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13554
13555 cat >>confdefs.h <<_ACEOF
13556 #define HAVE_STRUCT_ADDRINFO 1
13557 _ACEOF
13558
13559
13560 fi
13561
13562  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13563  <sys/socket.h>
13564 "
13565 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13566
13567 cat >>confdefs.h <<_ACEOF
13568 #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
13569 _ACEOF
13570
13571
13572 fi
13573
13574
13575
13576  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13577 "
13578 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13579
13580 $as_echo "#define IPV6 1" >>confdefs.h
13581
13582 fi
13583
13442  
13443  
13444   # Checks for typedefs, structures, and compiler characteristics.
# Line 13996 | Line 13854 | fi
13854   fi
13855  
13856  
13999
14000 # Check whether --enable-openssl was given.
14001 if test "${enable_openssl+set}" = set; then :
14002  enableval=$enable_openssl;  cf_enable_openssl=$enableval
14003 else
14004   cf_enable_openssl="auto"
14005 fi
14006
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14008 $as_echo_n "checking for OpenSSL... " >&6; }
14009 if test "$cf_enable_openssl" != "no"; then
14010  cf_openssl_basedir=""
14011  if test "$cf_enable_openssl" != "auto" &&
14012     test "$cf_enable_openssl" != "yes"; then
14013          cf_openssl_basedir="${cf_enable_openssl}"
14014  else
14015        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
14016                /opt /opt/openssl /usr/local/openssl; do
14017      if test -f "${dirs}/include/openssl/opensslv.h"; then
14018        cf_openssl_basedir="${dirs}"
14019        break
14020      fi
14021    done
14022    unset dirs
14023  fi
14024
14025    if test ! -z "$cf_openssl_basedir"; then
14026    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
14027      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
14028      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
14029    else
14030                  cf_openssl_basedir=""
14031    fi
14032  else
14033                            if test -f "/usr/include/openssl/opensslv.h"; then
14034      cf_openssl_basedir="/usr"
14035    fi
14036  fi
14037
14038      if test ! -z "$cf_openssl_basedir"; then
14039    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14040 $as_echo "$cf_openssl_basedir" >&6; }
14041    cf_enable_openssl="yes"
14042  else
14043    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14044 $as_echo "not found. Please check your path." >&6; }
14045    cf_enable_openssl="no"
14046  fi
14047  unset cf_openssl_basedir
14048 else
14049    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14050 $as_echo "disabled" >&6; }
14051 fi
14052
14053 if test "$cf_enable_openssl" != "no"; then :
14054  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14055 $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14056  if test "$cross_compiling" = yes; then :
14057  cf_openssl_version_ok=no
14058 else
14059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h.  */
14061
14062
14063    #include <openssl/opensslv.h>
14064    #include <stdlib.h>
14065 int
14066 main ()
14067 {
14068 exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14069  ;
14070  return 0;
14071 }
14072 _ACEOF
14073 if ac_fn_c_try_run "$LINENO"; then :
14074  cf_openssl_version_ok=yes
14075 else
14076  cf_openssl_version_ok=no
14077 fi
14078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14079  conftest.$ac_objext conftest.beam conftest.$ac_ext
14080 fi
14081
14082
14083  if test "$cf_openssl_version_ok" = "yes"; then :
14084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14085 $as_echo "found" >&6; }
14086
14087    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14088 $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14089 if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14090  $as_echo_n "(cached) " >&6
14091 else
14092  ac_check_lib_save_LIBS=$LIBS
14093 LIBS="-lcrypto  $LIBS"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h.  */
14096
14097 /* Override any GCC internal prototype to avoid an error.
14098   Use char because int might match the return type of a GCC
14099   builtin and then its argument prototype would still apply.  */
14100 #ifdef __cplusplus
14101 extern "C"
14102 #endif
14103 char RSA_free ();
14104 int
14105 main ()
14106 {
14107 return RSA_free ();
14108  ;
14109  return 0;
14110 }
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"; then :
14113  ac_cv_lib_crypto_RSA_free=yes
14114 else
14115  ac_cv_lib_crypto_RSA_free=no
14116 fi
14117 rm -f core conftest.err conftest.$ac_objext \
14118    conftest$ac_exeext conftest.$ac_ext
14119 LIBS=$ac_check_lib_save_LIBS
14120 fi
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14122 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14123 if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14124  cat >>confdefs.h <<_ACEOF
14125 #define HAVE_LIBCRYPTO 1
14126 _ACEOF
14127
14128  LIBS="-lcrypto $LIBS"
14129
14130 fi
14131
14132    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14134 $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14135 if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14136  $as_echo_n "(cached) " >&6
14137 else
14138  ac_check_lib_save_LIBS=$LIBS
14139 LIBS="-lssl  $LIBS"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h.  */
14142
14143 /* Override any GCC internal prototype to avoid an error.
14144   Use char because int might match the return type of a GCC
14145   builtin and then its argument prototype would still apply.  */
14146 #ifdef __cplusplus
14147 extern "C"
14148 #endif
14149 char SSL_connect ();
14150 int
14151 main ()
14152 {
14153 return SSL_connect ();
14154  ;
14155  return 0;
14156 }
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159  ac_cv_lib_ssl_SSL_connect=yes
14160 else
14161  ac_cv_lib_ssl_SSL_connect=no
14162 fi
14163 rm -f core conftest.err conftest.$ac_objext \
14164    conftest$ac_exeext conftest.$ac_ext
14165 LIBS=$ac_check_lib_save_LIBS
14166 fi
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14168 $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14169 if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14170  cat >>confdefs.h <<_ACEOF
14171 #define HAVE_LIBSSL 1
14172 _ACEOF
14173
14174  LIBS="-lssl $LIBS"
14175
14176 fi
14177
14178 fi
14179
14180 else
14181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14182 $as_echo "no - OpenSSL support disabled" >&6; }
14183    cf_enable_openssl="no"
14184 fi
14185 fi
14186
14187 if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14188  ENABLE_SSL_TRUE=
14189  ENABLE_SSL_FALSE='#'
14190 else
14191  ENABLE_SSL_TRUE='#'
14192  ENABLE_SSL_FALSE=
14193 fi
14194
14195
14196
13857   # Check whether --enable-assert was given.
13858   if test "${enable_assert+set}" = set; then :
13859    enableval=$enable_assert; assert=$enableval
# Line 14253 | Line 13913 | $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY
13913  
13914   # Argument processing.
13915  
13916 <    desired_iopoll_mechanism="none"
13917 <    # Check whether --enable-kqueue was given.
13916 >  desired_iopoll_mechanism="none"
13917 >
13918 >  # Check whether --enable-kqueue was given.
13919   if test "${enable_kqueue+set}" = set; then :
13920    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13921   fi
# Line 14274 | Line 13935 | if test "${enable_poll+set}" = set; then
13935    enableval=$enable_poll; desired_iopoll_mechanism="poll"
13936   fi
13937  
14277  # Check whether --enable-select was given.
14278 if test "${enable_select+set}" = set; then :
14279  enableval=$enable_select; desired_iopoll_mechanism="select"
14280 fi
13938  
13939 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13939 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13940   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13941 +
13942    iopoll_mechanism_none=0
13943  
13944   cat >>confdefs.h <<_ACEOF
13945   #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13946   _ACEOF
13947  
13948 <      iopoll_mechanism_kqueue=1
13948 >
13949 >  iopoll_mechanism_kqueue=1
13950  
13951   cat >>confdefs.h <<_ACEOF
13952   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
# Line 14341 | Line 14000 | else
14000   fi
14001   rm -f core conftest.err conftest.$ac_objext \
14002      conftest$ac_exeext conftest.$ac_ext
14003 <      iopoll_mechanism_epoll=2
14003 >
14004 >  iopoll_mechanism_epoll=2
14005  
14006   cat >>confdefs.h <<_ACEOF
14007   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14008   _ACEOF
14009  
14350  if test "$cross_compiling" = yes; then :
14351  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14353 as_fn_error $? "cannot run test program while cross compiling
14354 See \`config.log' for more details" "$LINENO" 5; }
14355 else
14010    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011   /* end confdefs.h.  */
14358
14012   #include <sys/epoll.h>
14360 #include <sys/syscall.h>
14361 #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14362 #if !defined(__NR_epoll_create)
14363 #if defined(__ia64__)
14364 #define __NR_epoll_create 1243
14365 #elif defined(__x86_64__)
14366 #define __NR_epoll_create 214
14367 #elif defined(__sparc64__) || defined(__sparc__)
14368 #define __NR_epoll_create 193
14369 #elif defined(__s390__) || defined(__m68k__)
14370 #define __NR_epoll_create 249
14371 #elif defined(__ppc64__) || defined(__ppc__)
14372 #define __NR_epoll_create 236
14373 #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
14374 #define __NR_epoll_create 224
14375 #elif defined(__alpha__)
14376 #define __NR_epoll_create 407
14377 #elif defined(__sh64__)
14378 #define __NR_epoll_create 282
14379 #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
14380 #define __NR_epoll_create 254
14381 #else
14382 #error No system call numbers defined for epoll family.
14383 #endif
14384 #endif
14385 _syscall1(int, epoll_create, int, size)
14386 #endif
14387
14013   int
14014   main ()
14015   {
14016 < return epoll_create(256) == -1 ? 1 : 0
14016 > epoll_create(256);
14017    ;
14018    return 0;
14019   }
14020   _ACEOF
14021 < if ac_fn_c_try_run "$LINENO"; then :
14021 > if ac_fn_c_try_link "$LINENO"; then :
14022    is_epoll_mechanism_available="yes"
14023   else
14024    is_epoll_mechanism_available="no"
14025   fi
14026 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14027 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14403 < fi
14026 > rm -f core conftest.err conftest.$ac_objext \
14027 >    conftest$ac_exeext conftest.$ac_ext
14028  
14029 <      iopoll_mechanism_devpoll=3
14029 >  iopoll_mechanism_devpoll=3
14030  
14031   cat >>confdefs.h <<_ACEOF
14032   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
# Line 14452 | Line 14076 | rm -f core conftest.err conftest.$ac_obj
14076   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14077  
14078    fi
14079 <      iopoll_mechanism_poll=4
14079 >
14080 >  iopoll_mechanism_poll=4
14081  
14082   cat >>confdefs.h <<_ACEOF
14083   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14506 | Line 14131 | else
14131   fi
14132   rm -f core conftest.err conftest.$ac_objext \
14133      conftest$ac_exeext conftest.$ac_ext
14509      iopoll_mechanism_select=5
14510
14511 cat >>confdefs.h <<_ACEOF
14512 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14513 _ACEOF
14514
14515  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h.  */
14517 /* Define select to an innocuous variant, in case <limits.h> declares select.
14518   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14519 #define select innocuous_select
14520
14521 /* System header to define __stub macros and hopefully few prototypes,
14522    which can conflict with char select (); below.
14523    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14524    <limits.h> exists even on freestanding compilers.  */
14525
14526 #ifdef __STDC__
14527 # include <limits.h>
14528 #else
14529 # include <assert.h>
14530 #endif
14531
14532 #undef select
14533
14534 /* Override any GCC internal prototype to avoid an error.
14535   Use char because int might match the return type of a GCC
14536   builtin and then its argument prototype would still apply.  */
14537 #ifdef __cplusplus
14538 extern "C"
14539 #endif
14540 char select ();
14541 /* The GNU C library defines this for functions which it implements
14542    to always fail with ENOSYS.  Some functions are actually named
14543    something starting with __ and the normal name is an alias.  */
14544 #if defined __stub_select || defined __stub___select
14545 choke me
14546 #endif
14134  
14135 < int
14136 < main ()
14550 < {
14551 < return select ();
14552 <  ;
14553 <  return 0;
14554 < }
14555 < _ACEOF
14556 < if ac_fn_c_try_link "$LINENO"; then :
14557 <  is_select_mechanism_available="yes"
14558 < else
14559 <  is_select_mechanism_available="no"
14560 < fi
14561 < rm -f core conftest.err conftest.$ac_objext \
14562 <    conftest$ac_exeext conftest.$ac_ext
14563 <      optimal_iopoll_mechanism="none"
14564 <  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14135 >  optimal_iopoll_mechanism="none"
14136 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14137      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14138      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14139        optimal_iopoll_mechanism="$mechanism"
14140        break
14141      fi
14142    done
14143 <      if test "$desired_iopoll_mechanism" = "none" ; then
14143 >
14144 >  if test "$desired_iopoll_mechanism" = "none" ; then
14145      if test "$optimal_iopoll_mechanism" = "none" ; then
14146        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14147   $as_echo "none" >&6; }
# Line 14590 | Line 14163 | $as_echo "none" >&6; }
14163        as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14164      fi
14165    fi
14166 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14166 >
14167 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14168  
14169   cat >>confdefs.h <<_ACEOF
14170   #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
# Line 14617 | Line 14191 | else
14191    warnings="no"
14192   fi
14193  
14194 +
14195    if test "$warnings" = "yes" ; then
14196  
14197  
14198 +
14199 +
14200   for flag in -Wall; do
14201    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 14683 | Line 14260 | done
14260  
14261  
14262  
14263 < for flag in -Wextra; do
14263 >
14264 >
14265 > for flag in -Wbad-function-cast; do
14266    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14268   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14746 | Line 14325 | done
14325  
14326  
14327  
14328 < for flag in -Wno-unused; do
14328 >
14329 >
14330 > for flag in -Wcast-align; do
14331    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14333   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14809 | Line 14390 | done
14390  
14391  
14392  
14393 +
14394 +
14395   for flag in -Wcast-qual; do
14396    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 14872 | Line 14455 | done
14455  
14456  
14457  
14458 < for flag in -Wcast-align; do
14458 >
14459 >
14460 > for flag in -Wclobbered; do
14461    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14463   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14935 | Line 14520 | done
14520  
14521  
14522  
14523 < for flag in -Wbad-function-cast; do
14523 >
14524 >
14525 > for flag in -Wempty-body; do
14526    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14528   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 14998 | Line 14585 | done
14585  
14586  
14587  
14588 +
14589 +
14590 + for flag in -Wignored-qualifiers; do
14591 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14592 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14593 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14594 + if eval \${$as_CACHEVAR+:} false; then :
14595 +  $as_echo_n "(cached) " >&6
14596 + else
14597 +
14598 +  ax_check_save_flags=$CFLAGS
14599 +  CFLAGS="$CFLAGS  $flag"
14600 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 + /* end confdefs.h.  */
14602 +
14603 + int
14604 + main ()
14605 + {
14606 +
14607 +  ;
14608 +  return 0;
14609 + }
14610 + _ACEOF
14611 + if ac_fn_c_try_compile "$LINENO"; then :
14612 +  eval "$as_CACHEVAR=yes"
14613 + else
14614 +  eval "$as_CACHEVAR=no"
14615 + fi
14616 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 +  CFLAGS=$ax_check_save_flags
14618 + fi
14619 + eval ac_res=\$$as_CACHEVAR
14620 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14621 + $as_echo "$ac_res" >&6; }
14622 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14623 +  if ${CFLAGS+:} false; then :
14624 +  case " $CFLAGS " in
14625 +    *" $flag "*)
14626 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14627 +  (: CFLAGS already contains $flag) 2>&5
14628 +  ac_status=$?
14629 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14630 +  test $ac_status = 0; }
14631 +      ;;
14632 +    *)
14633 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14634 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14635 +  ac_status=$?
14636 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14637 +  test $ac_status = 0; }
14638 +      CFLAGS="$CFLAGS $flag"
14639 +      ;;
14640 +   esac
14641 + else
14642 +  CFLAGS="$flag"
14643 + fi
14644 +
14645 + else
14646 +  :
14647 + fi
14648 +
14649 + done
14650 +
14651 +
14652 +
14653 +
14654 +
14655 + for flag in -Wlogical-op; do
14656 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14657 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14658 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14659 + if eval \${$as_CACHEVAR+:} false; then :
14660 +  $as_echo_n "(cached) " >&6
14661 + else
14662 +
14663 +  ax_check_save_flags=$CFLAGS
14664 +  CFLAGS="$CFLAGS  $flag"
14665 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 + /* end confdefs.h.  */
14667 +
14668 + int
14669 + main ()
14670 + {
14671 +
14672 +  ;
14673 +  return 0;
14674 + }
14675 + _ACEOF
14676 + if ac_fn_c_try_compile "$LINENO"; then :
14677 +  eval "$as_CACHEVAR=yes"
14678 + else
14679 +  eval "$as_CACHEVAR=no"
14680 + fi
14681 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14682 +  CFLAGS=$ax_check_save_flags
14683 + fi
14684 + eval ac_res=\$$as_CACHEVAR
14685 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14686 + $as_echo "$ac_res" >&6; }
14687 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14688 +  if ${CFLAGS+:} false; then :
14689 +  case " $CFLAGS " in
14690 +    *" $flag "*)
14691 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14692 +  (: CFLAGS already contains $flag) 2>&5
14693 +  ac_status=$?
14694 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14695 +  test $ac_status = 0; }
14696 +      ;;
14697 +    *)
14698 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14699 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14700 +  ac_status=$?
14701 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14702 +  test $ac_status = 0; }
14703 +      CFLAGS="$CFLAGS $flag"
14704 +      ;;
14705 +   esac
14706 + else
14707 +  CFLAGS="$flag"
14708 + fi
14709 +
14710 + else
14711 +  :
14712 + fi
14713 +
14714 + done
14715 +
14716 +
14717 +
14718 +
14719 +
14720   for flag in -Wmissing-declarations; do
14721    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15061 | Line 14780 | done
14780  
14781  
14782  
14783 +
14784 +
14785 + for flag in -Wmissing-field-initializers; do
14786 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14787 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14788 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14789 + if eval \${$as_CACHEVAR+:} false; then :
14790 +  $as_echo_n "(cached) " >&6
14791 + else
14792 +
14793 +  ax_check_save_flags=$CFLAGS
14794 +  CFLAGS="$CFLAGS  $flag"
14795 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 + /* end confdefs.h.  */
14797 +
14798 + int
14799 + main ()
14800 + {
14801 +
14802 +  ;
14803 +  return 0;
14804 + }
14805 + _ACEOF
14806 + if ac_fn_c_try_compile "$LINENO"; then :
14807 +  eval "$as_CACHEVAR=yes"
14808 + else
14809 +  eval "$as_CACHEVAR=no"
14810 + fi
14811 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812 +  CFLAGS=$ax_check_save_flags
14813 + fi
14814 + eval ac_res=\$$as_CACHEVAR
14815 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14816 + $as_echo "$ac_res" >&6; }
14817 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14818 +  if ${CFLAGS+:} false; then :
14819 +  case " $CFLAGS " in
14820 +    *" $flag "*)
14821 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14822 +  (: CFLAGS already contains $flag) 2>&5
14823 +  ac_status=$?
14824 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825 +  test $ac_status = 0; }
14826 +      ;;
14827 +    *)
14828 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14829 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14830 +  ac_status=$?
14831 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14832 +  test $ac_status = 0; }
14833 +      CFLAGS="$CFLAGS $flag"
14834 +      ;;
14835 +   esac
14836 + else
14837 +  CFLAGS="$flag"
14838 + fi
14839 +
14840 + else
14841 +  :
14842 + fi
14843 +
14844 + done
14845 +
14846 +
14847 +
14848 +
14849 +
14850   for flag in -Wmissing-include-dirs; do
14851    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15124 | Line 14910 | done
14910  
14911  
14912  
14913 +
14914 +
14915 + for flag in -Wmissing-parameter-type; do
14916 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14917 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14918 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14919 + if eval \${$as_CACHEVAR+:} false; then :
14920 +  $as_echo_n "(cached) " >&6
14921 + else
14922 +
14923 +  ax_check_save_flags=$CFLAGS
14924 +  CFLAGS="$CFLAGS  $flag"
14925 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 + /* end confdefs.h.  */
14927 +
14928 + int
14929 + main ()
14930 + {
14931 +
14932 +  ;
14933 +  return 0;
14934 + }
14935 + _ACEOF
14936 + if ac_fn_c_try_compile "$LINENO"; then :
14937 +  eval "$as_CACHEVAR=yes"
14938 + else
14939 +  eval "$as_CACHEVAR=no"
14940 + fi
14941 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14942 +  CFLAGS=$ax_check_save_flags
14943 + fi
14944 + eval ac_res=\$$as_CACHEVAR
14945 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14946 + $as_echo "$ac_res" >&6; }
14947 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14948 +  if ${CFLAGS+:} false; then :
14949 +  case " $CFLAGS " in
14950 +    *" $flag "*)
14951 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14952 +  (: CFLAGS already contains $flag) 2>&5
14953 +  ac_status=$?
14954 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14955 +  test $ac_status = 0; }
14956 +      ;;
14957 +    *)
14958 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14959 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14960 +  ac_status=$?
14961 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14962 +  test $ac_status = 0; }
14963 +      CFLAGS="$CFLAGS $flag"
14964 +      ;;
14965 +   esac
14966 + else
14967 +  CFLAGS="$flag"
14968 + fi
14969 +
14970 + else
14971 +  :
14972 + fi
14973 +
14974 + done
14975 +
14976 +
14977 +
14978 +
14979 +
14980   for flag in -Wmissing-prototypes; do
14981    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15187 | Line 15040 | done
15040  
15041  
15042  
15043 +
15044 +
15045   for flag in -Wnested-externs; do
15046    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15250 | Line 15105 | done
15105  
15106  
15107  
15108 +
15109 +
15110 + for flag in -Wold-style-declaration; do
15111 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15112 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15113 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15114 + if eval \${$as_CACHEVAR+:} false; then :
15115 +  $as_echo_n "(cached) " >&6
15116 + else
15117 +
15118 +  ax_check_save_flags=$CFLAGS
15119 +  CFLAGS="$CFLAGS  $flag"
15120 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 + /* end confdefs.h.  */
15122 +
15123 + int
15124 + main ()
15125 + {
15126 +
15127 +  ;
15128 +  return 0;
15129 + }
15130 + _ACEOF
15131 + if ac_fn_c_try_compile "$LINENO"; then :
15132 +  eval "$as_CACHEVAR=yes"
15133 + else
15134 +  eval "$as_CACHEVAR=no"
15135 + fi
15136 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15137 +  CFLAGS=$ax_check_save_flags
15138 + fi
15139 + eval ac_res=\$$as_CACHEVAR
15140 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15141 + $as_echo "$ac_res" >&6; }
15142 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15143 +  if ${CFLAGS+:} false; then :
15144 +  case " $CFLAGS " in
15145 +    *" $flag "*)
15146 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15147 +  (: CFLAGS already contains $flag) 2>&5
15148 +  ac_status=$?
15149 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15150 +  test $ac_status = 0; }
15151 +      ;;
15152 +    *)
15153 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15154 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15155 +  ac_status=$?
15156 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15157 +  test $ac_status = 0; }
15158 +      CFLAGS="$CFLAGS $flag"
15159 +      ;;
15160 +   esac
15161 + else
15162 +  CFLAGS="$flag"
15163 + fi
15164 +
15165 + else
15166 +  :
15167 + fi
15168 +
15169 + done
15170 +
15171 +
15172 +
15173 +
15174 +
15175 + for flag in -Woverride-init; do
15176 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15177 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15178 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15179 + if eval \${$as_CACHEVAR+:} false; then :
15180 +  $as_echo_n "(cached) " >&6
15181 + else
15182 +
15183 +  ax_check_save_flags=$CFLAGS
15184 +  CFLAGS="$CFLAGS  $flag"
15185 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 + /* end confdefs.h.  */
15187 +
15188 + int
15189 + main ()
15190 + {
15191 +
15192 +  ;
15193 +  return 0;
15194 + }
15195 + _ACEOF
15196 + if ac_fn_c_try_compile "$LINENO"; then :
15197 +  eval "$as_CACHEVAR=yes"
15198 + else
15199 +  eval "$as_CACHEVAR=no"
15200 + fi
15201 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15202 +  CFLAGS=$ax_check_save_flags
15203 + fi
15204 + eval ac_res=\$$as_CACHEVAR
15205 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15206 + $as_echo "$ac_res" >&6; }
15207 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15208 +  if ${CFLAGS+:} false; then :
15209 +  case " $CFLAGS " in
15210 +    *" $flag "*)
15211 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15212 +  (: CFLAGS already contains $flag) 2>&5
15213 +  ac_status=$?
15214 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15215 +  test $ac_status = 0; }
15216 +      ;;
15217 +    *)
15218 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15219 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15220 +  ac_status=$?
15221 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15222 +  test $ac_status = 0; }
15223 +      CFLAGS="$CFLAGS $flag"
15224 +      ;;
15225 +   esac
15226 + else
15227 +  CFLAGS="$flag"
15228 + fi
15229 +
15230 + else
15231 +  :
15232 + fi
15233 +
15234 + done
15235 +
15236 +
15237 +
15238 +
15239 +
15240 + for flag in -Wpointer-arith; do
15241 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15242 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15243 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15244 + if eval \${$as_CACHEVAR+:} false; then :
15245 +  $as_echo_n "(cached) " >&6
15246 + else
15247 +
15248 +  ax_check_save_flags=$CFLAGS
15249 +  CFLAGS="$CFLAGS  $flag"
15250 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 + /* end confdefs.h.  */
15252 +
15253 + int
15254 + main ()
15255 + {
15256 +
15257 +  ;
15258 +  return 0;
15259 + }
15260 + _ACEOF
15261 + if ac_fn_c_try_compile "$LINENO"; then :
15262 +  eval "$as_CACHEVAR=yes"
15263 + else
15264 +  eval "$as_CACHEVAR=no"
15265 + fi
15266 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267 +  CFLAGS=$ax_check_save_flags
15268 + fi
15269 + eval ac_res=\$$as_CACHEVAR
15270 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15271 + $as_echo "$ac_res" >&6; }
15272 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15273 +  if ${CFLAGS+:} false; then :
15274 +  case " $CFLAGS " in
15275 +    *" $flag "*)
15276 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15277 +  (: CFLAGS already contains $flag) 2>&5
15278 +  ac_status=$?
15279 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15280 +  test $ac_status = 0; }
15281 +      ;;
15282 +    *)
15283 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15284 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15285 +  ac_status=$?
15286 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15287 +  test $ac_status = 0; }
15288 +      CFLAGS="$CFLAGS $flag"
15289 +      ;;
15290 +   esac
15291 + else
15292 +  CFLAGS="$flag"
15293 + fi
15294 +
15295 + else
15296 +  :
15297 + fi
15298 +
15299 + done
15300 +
15301 +
15302 +
15303 +
15304 +
15305   for flag in -Wredundant-decls; do
15306    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15313 | Line 15365 | done
15365  
15366  
15367  
15368 +
15369 +
15370   for flag in -Wshadow; do
15371    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15376 | Line 15430 | done
15430  
15431  
15432  
15433 < for flag in -Wwrite-strings; do
15433 >
15434 >
15435 > for flag in -Wsign-compare; do
15436    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15438   $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
# Line 15439 | Line 15495 | done
15495  
15496  
15497  
15498 +
15499 +
15500 + for flag in -Wtype-limits; do
15501 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15502 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15503 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15504 + if eval \${$as_CACHEVAR+:} false; then :
15505 +  $as_echo_n "(cached) " >&6
15506 + else
15507 +
15508 +  ax_check_save_flags=$CFLAGS
15509 +  CFLAGS="$CFLAGS  $flag"
15510 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 + /* end confdefs.h.  */
15512 +
15513 + int
15514 + main ()
15515 + {
15516 +
15517 +  ;
15518 +  return 0;
15519 + }
15520 + _ACEOF
15521 + if ac_fn_c_try_compile "$LINENO"; then :
15522 +  eval "$as_CACHEVAR=yes"
15523 + else
15524 +  eval "$as_CACHEVAR=no"
15525 + fi
15526 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15527 +  CFLAGS=$ax_check_save_flags
15528 + fi
15529 + eval ac_res=\$$as_CACHEVAR
15530 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15531 + $as_echo "$ac_res" >&6; }
15532 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15533 +  if ${CFLAGS+:} false; then :
15534 +  case " $CFLAGS " in
15535 +    *" $flag "*)
15536 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15537 +  (: CFLAGS already contains $flag) 2>&5
15538 +  ac_status=$?
15539 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15540 +  test $ac_status = 0; }
15541 +      ;;
15542 +    *)
15543 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15544 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15545 +  ac_status=$?
15546 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15547 +  test $ac_status = 0; }
15548 +      CFLAGS="$CFLAGS $flag"
15549 +      ;;
15550 +   esac
15551 + else
15552 +  CFLAGS="$flag"
15553 + fi
15554 +
15555 + else
15556 +  :
15557 + fi
15558 +
15559 + done
15560 +
15561 +
15562 +
15563 +
15564 +
15565   for flag in -Wundef; do
15566    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15500 | Line 15623 | fi
15623  
15624   done
15625  
15626 +
15627 +
15628 +
15629 +
15630 + for flag in -Wuninitialized; do
15631 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15632 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15633 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15634 + if eval \${$as_CACHEVAR+:} false; then :
15635 +  $as_echo_n "(cached) " >&6
15636 + else
15637 +
15638 +  ax_check_save_flags=$CFLAGS
15639 +  CFLAGS="$CFLAGS  $flag"
15640 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 + /* end confdefs.h.  */
15642 +
15643 + int
15644 + main ()
15645 + {
15646 +
15647 +  ;
15648 +  return 0;
15649 + }
15650 + _ACEOF
15651 + if ac_fn_c_try_compile "$LINENO"; then :
15652 +  eval "$as_CACHEVAR=yes"
15653 + else
15654 +  eval "$as_CACHEVAR=no"
15655 + fi
15656 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15657 +  CFLAGS=$ax_check_save_flags
15658 + fi
15659 + eval ac_res=\$$as_CACHEVAR
15660 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15661 + $as_echo "$ac_res" >&6; }
15662 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15663 +  if ${CFLAGS+:} false; then :
15664 +  case " $CFLAGS " in
15665 +    *" $flag "*)
15666 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15667 +  (: CFLAGS already contains $flag) 2>&5
15668 +  ac_status=$?
15669 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15670 +  test $ac_status = 0; }
15671 +      ;;
15672 +    *)
15673 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15674 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15675 +  ac_status=$?
15676 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15677 +  test $ac_status = 0; }
15678 +      CFLAGS="$CFLAGS $flag"
15679 +      ;;
15680 +   esac
15681 + else
15682 +  CFLAGS="$flag"
15683 + fi
15684 +
15685 + else
15686 +  :
15687 + fi
15688 +
15689 + done
15690 +
15691 +
15692 +
15693 +
15694 +
15695 + for flag in -Wwrite-strings; do
15696 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15697 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15698 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15699 + if eval \${$as_CACHEVAR+:} false; then :
15700 +  $as_echo_n "(cached) " >&6
15701 + else
15702 +
15703 +  ax_check_save_flags=$CFLAGS
15704 +  CFLAGS="$CFLAGS  $flag"
15705 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706 + /* end confdefs.h.  */
15707 +
15708 + int
15709 + main ()
15710 + {
15711 +
15712 +  ;
15713 +  return 0;
15714 + }
15715 + _ACEOF
15716 + if ac_fn_c_try_compile "$LINENO"; then :
15717 +  eval "$as_CACHEVAR=yes"
15718 + else
15719 +  eval "$as_CACHEVAR=no"
15720 + fi
15721 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15722 +  CFLAGS=$ax_check_save_flags
15723 + fi
15724 + eval ac_res=\$$as_CACHEVAR
15725 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15726 + $as_echo "$ac_res" >&6; }
15727 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15728 +  if ${CFLAGS+:} false; then :
15729 +  case " $CFLAGS " in
15730 +    *" $flag "*)
15731 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15732 +  (: CFLAGS already contains $flag) 2>&5
15733 +  ac_status=$?
15734 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15735 +  test $ac_status = 0; }
15736 +      ;;
15737 +    *)
15738 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15739 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15740 +  ac_status=$?
15741 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15742 +  test $ac_status = 0; }
15743 +      CFLAGS="$CFLAGS $flag"
15744 +      ;;
15745 +   esac
15746 + else
15747 +  CFLAGS="$flag"
15748 + fi
15749 +
15750 + else
15751 +  :
15752 + fi
15753 +
15754 + done
15755 +
15756 +  fi
15757 +
15758 +
15759 + # Check whether --enable-openssl was given.
15760 + if test "${enable_openssl+set}" = set; then :
15761 +  enableval=$enable_openssl;  cf_enable_openssl=$enableval
15762 + else
15763 +   cf_enable_openssl="auto"
15764 + fi
15765 +
15766 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
15767 + $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
15768 + if test "$cf_enable_openssl" != "no"; then
15769 +  cf_openssl_basedir=""
15770 +  if test "$cf_enable_openssl" != "auto" &&
15771 +     test "$cf_enable_openssl" != "yes"; then
15772 +          cf_openssl_basedir="${cf_enable_openssl}"
15773 +  else
15774 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
15775 +                /opt /opt/openssl /usr/local/openssl; do
15776 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
15777 +        cf_openssl_basedir="${dirs}"
15778 +        break
15779 +      fi
15780 +    done
15781 +    unset dirs
15782 +  fi
15783 +
15784 +    if test ! -z "$cf_openssl_basedir"; then
15785 +    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
15786 +      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
15787 +      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
15788 +    else
15789 +                  cf_openssl_basedir=""
15790 +    fi
15791 +  else
15792 +                            if test -f "/usr/include/openssl/opensslv.h"; then
15793 +      cf_openssl_basedir="/usr"
15794 +    fi
15795 +  fi
15796 +
15797 +      if test ! -z "$cf_openssl_basedir"; then
15798 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
15799 + $as_echo "$cf_openssl_basedir" >&6; }
15800 +    cf_enable_openssl="yes"
15801 +  else
15802 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
15803 + $as_echo "not found. Please check your path." >&6; }
15804 +    cf_enable_openssl="no"
15805    fi
15806 +  unset cf_openssl_basedir
15807 + else
15808 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15809 + $as_echo "disabled" >&6; }
15810 + fi
15811 +
15812 + if test "$cf_enable_openssl" != "no"; then :
15813 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
15814 + $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
15815 +  if test "$cross_compiling" = yes; then :
15816 +  cf_openssl_version_ok=no
15817 + else
15818 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 + /* end confdefs.h.  */
15820 +
15821 +
15822 +    #include <openssl/opensslv.h>
15823 +    #include <stdlib.h>
15824 + int
15825 + main ()
15826 + {
15827 + exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
15828 +  ;
15829 +  return 0;
15830 + }
15831 + _ACEOF
15832 + if ac_fn_c_try_run "$LINENO"; then :
15833 +  cf_openssl_version_ok=yes
15834 + else
15835 +  cf_openssl_version_ok=no
15836 + fi
15837 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15838 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
15839 + fi
15840 +
15841 +
15842 +  if test "$cf_openssl_version_ok" = "yes"; then :
15843 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15844 + $as_echo "found" >&6; }
15845 +
15846 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
15847 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
15848 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
15849 +  $as_echo_n "(cached) " >&6
15850 + else
15851 +  ac_check_lib_save_LIBS=$LIBS
15852 + LIBS="-lcrypto  $LIBS"
15853 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 + /* end confdefs.h.  */
15855 +
15856 + /* Override any GCC internal prototype to avoid an error.
15857 +   Use char because int might match the return type of a GCC
15858 +   builtin and then its argument prototype would still apply.  */
15859 + #ifdef __cplusplus
15860 + extern "C"
15861 + #endif
15862 + char RSA_free ();
15863 + int
15864 + main ()
15865 + {
15866 + return RSA_free ();
15867 +  ;
15868 +  return 0;
15869 + }
15870 + _ACEOF
15871 + if ac_fn_c_try_link "$LINENO"; then :
15872 +  ac_cv_lib_crypto_RSA_free=yes
15873 + else
15874 +  ac_cv_lib_crypto_RSA_free=no
15875 + fi
15876 + rm -f core conftest.err conftest.$ac_objext \
15877 +    conftest$ac_exeext conftest.$ac_ext
15878 + LIBS=$ac_check_lib_save_LIBS
15879 + fi
15880 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
15881 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
15882 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
15883 +  cat >>confdefs.h <<_ACEOF
15884 + #define HAVE_LIBCRYPTO 1
15885 + _ACEOF
15886 +
15887 +  LIBS="-lcrypto $LIBS"
15888 +
15889 + fi
15890 +
15891 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
15892 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
15893 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
15894 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
15895 +  $as_echo_n "(cached) " >&6
15896 + else
15897 +  ac_check_lib_save_LIBS=$LIBS
15898 + LIBS="-lssl  $LIBS"
15899 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 + /* end confdefs.h.  */
15901 +
15902 + /* Override any GCC internal prototype to avoid an error.
15903 +   Use char because int might match the return type of a GCC
15904 +   builtin and then its argument prototype would still apply.  */
15905 + #ifdef __cplusplus
15906 + extern "C"
15907 + #endif
15908 + char SSL_connect ();
15909 + int
15910 + main ()
15911 + {
15912 + return SSL_connect ();
15913 +  ;
15914 +  return 0;
15915 + }
15916 + _ACEOF
15917 + if ac_fn_c_try_link "$LINENO"; then :
15918 +  ac_cv_lib_ssl_SSL_connect=yes
15919 + else
15920 +  ac_cv_lib_ssl_SSL_connect=no
15921 + fi
15922 + rm -f core conftest.err conftest.$ac_objext \
15923 +    conftest$ac_exeext conftest.$ac_ext
15924 + LIBS=$ac_check_lib_save_LIBS
15925 + fi
15926 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
15927 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
15928 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
15929 +  cat >>confdefs.h <<_ACEOF
15930 + #define HAVE_LIBSSL 1
15931 + _ACEOF
15932 +
15933 +  LIBS="-lssl $LIBS"
15934 +
15935 + fi
15936 +
15937 + fi
15938 +
15939 + else
15940 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
15941 + $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
15942 +    cf_enable_openssl="no"
15943 + fi
15944 + fi
15945 +
15946 + if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
15947 +  ENABLE_SSL_TRUE=
15948 +  ENABLE_SSL_FALSE='#'
15949 + else
15950 +  ENABLE_SSL_TRUE='#'
15951 +  ENABLE_SSL_FALSE=
15952 + fi
15953 +
15954  
15955  
15956  
# Line 16156 | Line 16606 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16606   # report actual input values of CONFIG_FILES etc. instead of their
16607   # values after options handling.
16608   ac_log="
16609 < This file was extended by ircd-hybrid $as_me 8.2.0beta3, which was
16609 > This file was extended by ircd-hybrid $as_me 8.2.0rc2, which was
16610   generated by GNU Autoconf 2.69.  Invocation command line was
16611  
16612    CONFIG_FILES    = $CONFIG_FILES
# Line 16222 | Line 16672 | _ACEOF
16672   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16673   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16674   ac_cs_version="\\
16675 < ircd-hybrid config.status 8.2.0beta3
16675 > ircd-hybrid config.status 8.2.0rc2
16676   configured by $0, generated by GNU Autoconf 2.69,
16677    with options \\"\$ac_cs_config\\"
16678  

Diff Legend

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