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-8/configure (file contents), Revision 1373 by michael, Fri Apr 27 07:32:34 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), 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 1358 2012-04-22 13:49:23Z 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 8beta1.
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='8beta1'
597 < PACKAGE_STRING='ircd-hybrid 8beta1'
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 648 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
651 EFNET_FALSE
652 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
653   LTDLOPEN
# Line 725 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 789 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 802 | Line 805 | with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
808 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
812 enable_rtsigio
814   enable_poll
814 enable_select
815 with_nicklen
816 with_topiclen
817 enable_efnet
818 enable_halfops
815   enable_debugging
816   enable_warnings
817   '
# Line 1370 | 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 8beta1 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 1440 | 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 8beta1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1448 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 +  --enable-silent-rules   less verbose build output (undo: "make V=1")
1448 +  --disable-silent-rules  verbose build output (undo: "make V=0")
1449    --enable-maintainer-mode
1450                            enable make rules and dependencies not useful (and
1451                            sometimes confusing) to the casual installer
# Line 1461 | Line 1459 | Optional Features:
1459                            optimize for fast installation [default=yes]
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462 <  --disable-libpcre       Disable PCRE support
1462 >  --disable-libgeoip      Disable GeoIP support
1463    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1464    --disable-openssl            Disable OpenSSL support.
1465    --enable-assert         Enable assert() statements
1468  --enable-small-net      Enable small network support.
1466    --enable-kqueue         Force kqueue usage.
1467    --enable-epoll          Force epoll usage.
1468    --enable-devpoll        Force devpoll usage.
1472  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1474  --enable-select         Force select usage.
1475  --enable-efnet          For IRCDs running on EFnet.
1476  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1488 | Line 1481 | Optional Packages:
1481    --with-included-ltdl    use the GNU ltdl sources included here
1482    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1483    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1491  --with-nicklen=<value>  Set nickname length (default 9).
1492  --with-topiclen=<value> Set topic length (default 160).
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1573 | 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 8beta1
1567 > ircd-hybrid configure 8.2.0rc1
1568   generated by GNU Autoconf 2.69
1569  
1570   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2099 | 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 8beta1, 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 2379 | Line 2370 | $as_echo "$as_me: creating cache $cache_
2370    >$cache_file
2371   fi
2372  
2382 as_fn_append ac_func_list " mmap"
2373   as_fn_append ac_func_list " strtok_r"
2374   as_fn_append ac_func_list " usleep"
2375   as_fn_append ac_func_list " strlcat"
# Line 2459 | Line 2449 | ac_link='$CC -o conftest$ac_exeext $CFLA
2449   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450  
2451  
2452 < am__api_version='1.12'
2452 > am__api_version='1.14'
2453  
2454   ac_aux_dir=
2455   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2672 | Line 2662 | if test x"${MISSING+set}" != xset; then
2662    esac
2663   fi
2664   # Use eval to expand $SHELL
2665 < if eval "$MISSING --run true"; then
2666 <  am_missing_run="$MISSING --run "
2665 > if eval "$MISSING --is-lightweight"; then
2666 >  am_missing_run="$MISSING "
2667   else
2668    am_missing_run=
2669    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
# Line 2831 | Line 2821 | fi
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2822   $as_echo "$MKDIR_P" >&6; }
2823  
2834 mkdir_p="$MKDIR_P"
2835 case $mkdir_p in
2836  [\\/$]* | ?:[\\/]*) ;;
2837  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2838 esac
2839
2824   for ac_prog in gawk mawk nawk awk
2825   do
2826    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 2919 | Line 2903 | else
2903   fi
2904   rmdir .tst 2>/dev/null
2905  
2906 + # Check whether --enable-silent-rules was given.
2907 + if test "${enable_silent_rules+set}" = set; then :
2908 +  enableval=$enable_silent_rules;
2909 + fi
2910 +
2911 + case $enable_silent_rules in # (((
2912 +  yes) AM_DEFAULT_VERBOSITY=0;;
2913 +   no) AM_DEFAULT_VERBOSITY=1;;
2914 +    *) AM_DEFAULT_VERBOSITY=1;;
2915 + esac
2916 + am_make=${MAKE-make}
2917 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2918 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2919 + if ${am_cv_make_support_nested_variables+:} false; then :
2920 +  $as_echo_n "(cached) " >&6
2921 + else
2922 +  if $as_echo 'TRUE=$(BAR$(V))
2923 + BAR0=false
2924 + BAR1=true
2925 + V=1
2926 + am__doit:
2927 +        @$(TRUE)
2928 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2929 +  am_cv_make_support_nested_variables=yes
2930 + else
2931 +  am_cv_make_support_nested_variables=no
2932 + fi
2933 + fi
2934 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2935 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2936 + if test $am_cv_make_support_nested_variables = yes; then
2937 +    AM_V='$(V)'
2938 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2939 + else
2940 +  AM_V=$AM_DEFAULT_VERBOSITY
2941 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2942 + fi
2943 + AM_BACKSLASH='\'
2944 +
2945   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2946    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2947    # is not polluted with repeated "-I."
# Line 2941 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='8beta1'
2967 > VERSION='8.2.0rc1'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 2969 | Line 2992 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2992  
2993   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2994  
2995 + # For better backward compatibility.  To be removed once Automake 1.9.x
2996 + # dies out for good.  For more background, see:
2997 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2998 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2999 + mkdir_p='$(MKDIR_P)'
3000 +
3001   # We need awk for the "check" target.  The system "awk" is bad on
3002   # some platforms.
3003   # Always define AMTAR for backward compatibility.  Yes, it's still used
3004   # in the wild :-(  We should find a proper way to deprecate it ...
3005   AMTAR='$${TAR-tar}'
3006  
3007 +
3008 + # We'll loop over all known methods to create a tar archive until one works.
3009 + _am_tools='gnutar  pax cpio none'
3010 +
3011   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012  
3013  
# Line 2982 | Line 3015 | am__tar='$${TAR-tar} chof - "$$tardir"'
3015  
3016  
3017  
3018 + # POSIX will say in a future version that running "rm -f" with no argument
3019 + # is OK; and we want to be able to make that assumption in our Makefile
3020 + # recipes.  So use an aggressive probe to check that the usage we want is
3021 + # actually supported "in the wild" to an acceptable degree.
3022 + # See automake bug#10828.
3023 + # To make any issue more visible, cause the running configure to be aborted
3024 + # by default if the 'rm' program in use doesn't match our expectations; the
3025 + # user can still override this though.
3026 + if rm -f && rm -fr && rm -rf; then : OK; else
3027 +  cat >&2 <<'END'
3028 + Oops!
3029 +
3030 + Your 'rm' program seems unable to run without file operands specified
3031 + on the command line, even when the '-f' option is present.  This is contrary
3032 + to the behaviour of most rm programs out there, and not conforming with
3033 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3034 +
3035 + Please tell bug-automake@gnu.org about your system, including the value
3036 + of your $PATH and any error possibly output before this message.  This
3037 + can help us improve future automake versions.
3038 +
3039 + END
3040 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3041 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3042 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3043 +    echo >&2
3044 +  else
3045 +    cat >&2 <<'END'
3046 + Aborting the configuration process, to ensure you take notice of the issue.
3047 +
3048 + You can download and install GNU coreutils to get an 'rm' implementation
3049 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3050 +
3051 + If you want to complete the configuration process using your problematic
3052 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3053 + to "yes", and re-run configure.
3054 +
3055 + END
3056 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3057 +  fi
3058 + fi
3059 +
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3061   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3062      # Check whether --enable-maintainer-mode was given.
# Line 3004 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 3861 | Line 3937 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3937   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939  
3940 + ac_ext=c
3941 + ac_cpp='$CPP $CPPFLAGS'
3942 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3946 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3947 + if ${am_cv_prog_cc_c_o+:} false; then :
3948 +  $as_echo_n "(cached) " >&6
3949 + else
3950 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 + /* end confdefs.h.  */
3952 +
3953 + int
3954 + main ()
3955 + {
3956 +
3957 +  ;
3958 +  return 0;
3959 + }
3960 + _ACEOF
3961 +  # Make sure it works both with $CC and with simple cc.
3962 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3963 +  # compilers refuse to overwrite an existing .o file with -o,
3964 +  # though they will create one.
3965 +  am_cv_prog_cc_c_o=yes
3966 +  for am_i in 1 2; do
3967 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3968 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3969 +   ac_status=$?
3970 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 +   (exit $ac_status); } \
3972 +         && test -f conftest2.$ac_objext; then
3973 +      : OK
3974 +    else
3975 +      am_cv_prog_cc_c_o=no
3976 +      break
3977 +    fi
3978 +  done
3979 +  rm -f core conftest*
3980 +  unset am_i
3981 + fi
3982 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3983 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3984 + if test "$am_cv_prog_cc_c_o" != yes; then
3985 +   # Losing compiler, so override with the script.
3986 +   # FIXME: It is wrong to rewrite CC.
3987 +   # But if we don't then we get into trouble of one sort or another.
3988 +   # A longer-term fix would be to have automake use am__CC in this case,
3989 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3990 +   CC="$am_aux_dir/compile $CC"
3991 + fi
3992 + ac_ext=c
3993 + ac_cpp='$CPP $CPPFLAGS'
3994 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997 +
3998 +
3999   depcc="$CC"   am_compiler_list=
4000  
4001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
# Line 8421 | Line 8556 | _lt_linker_boilerplate=`cat conftest.err
8556   $RM -r conftest*
8557  
8558  
8559 + ## CAVEAT EMPTOR:
8560 + ## There is no encapsulation within the following macros, do not change
8561 + ## the running order or otherwise move them around unless you know exactly
8562 + ## what you are doing...
8563   if test -n "$compiler"; then
8564  
8565   lt_prog_compiler_no_builtin_flag=
# Line 13034 | Line 13173 | LIBTOOL="$LIBTOOL --silent"
13173  
13174   # Checks for libraries.
13175  
13176 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13177 < $as_echo_n "checking for library containing socket... " >&6; }
13178 < if ${ac_cv_search_socket+:} false; then :
13176 >
13177 >  if test "X$CC" != "X"; then
13178 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13179 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13180 > if ${ssp_cv_cc+:} false; then :
13181 >  $as_echo_n "(cached) " >&6
13182 > else
13183 >  ssp_old_cflags="$CFLAGS"
13184 >       CFLAGS="$CFLAGS -fstack-protector"
13185 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 > /* end confdefs.h.  */
13187 >
13188 > int
13189 > main ()
13190 > {
13191 >
13192 >  ;
13193 >  return 0;
13194 > }
13195 > _ACEOF
13196 > if ac_fn_c_try_compile "$LINENO"; then :
13197 >  ssp_cv_cc=yes
13198 > else
13199 >  ssp_cv_cc=no
13200 > fi
13201 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13202 >       CFLAGS="$ssp_old_cflags"
13203 >
13204 > fi
13205 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13206 > $as_echo "$ssp_cv_cc" >&6; }
13207 >    if test $ssp_cv_cc = yes; then
13208 >      CFLAGS="$CFLAGS -fstack-protector"
13209 >
13210 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13211 >
13212 >    fi
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 >
13254 >
13255 > for flag in -fno-strict-aliasing; do
13256 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13257 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13258 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13259 > if eval \${$as_CACHEVAR+:} false; then :
13260 >  $as_echo_n "(cached) " >&6
13261 > else
13262 >
13263 >  ax_check_save_flags=$CFLAGS
13264 >  CFLAGS="$CFLAGS  $flag"
13265 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 > /* end confdefs.h.  */
13267 >
13268 > int
13269 > main ()
13270 > {
13271 >
13272 >  ;
13273 >  return 0;
13274 > }
13275 > _ACEOF
13276 > if ac_fn_c_try_compile "$LINENO"; then :
13277 >  eval "$as_CACHEVAR=yes"
13278 > else
13279 >  eval "$as_CACHEVAR=no"
13280 > fi
13281 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13282 >  CFLAGS=$ax_check_save_flags
13283 > fi
13284 > eval ac_res=\$$as_CACHEVAR
13285 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13286 > $as_echo "$ac_res" >&6; }
13287 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13288 >  if ${CFLAGS+:} false; then :
13289 >  case " $CFLAGS " in
13290 >    *" $flag "*)
13291 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13292 >  (: CFLAGS already contains $flag) 2>&5
13293 >  ac_status=$?
13294 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13295 >  test $ac_status = 0; }
13296 >      ;;
13297 >    *)
13298 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13299 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13300 >  ac_status=$?
13301 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13302 >  test $ac_status = 0; }
13303 >      CFLAGS="$CFLAGS $flag"
13304 >      ;;
13305 >   esac
13306 > else
13307 >  CFLAGS="$flag"
13308 > fi
13309 >
13310 > else
13311 >  :
13312 > fi
13313 >
13314 > done
13315 >
13316 >
13317 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13318 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13319 >
13320 > else
13321 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13322 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13323 > if ${ac_cv_search_getaddrinfo+:} false; then :
13324    $as_echo_n "(cached) " >&6
13325   else
13326    ac_func_search_save_LIBS=$LIBS
# Line 13049 | Line 13333 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13333   #ifdef __cplusplus
13334   extern "C"
13335   #endif
13336 < char socket ();
13336 > char getaddrinfo ();
13337   int
13338   main ()
13339   {
13340 < return socket ();
13340 > return getaddrinfo ();
13341    ;
13342    return 0;
13343   }
13344   _ACEOF
13345 < for ac_lib in '' socket; do
13345 > for ac_lib in '' nsl; do
13346    if test -z "$ac_lib"; then
13347      ac_res="none required"
13348    else
# Line 13066 | Line 13350 | for ac_lib in '' socket; do
13350      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13351    fi
13352    if ac_fn_c_try_link "$LINENO"; then :
13353 <  ac_cv_search_socket=$ac_res
13353 >  ac_cv_search_getaddrinfo=$ac_res
13354   fi
13355   rm -f core conftest.err conftest.$ac_objext \
13356      conftest$ac_exeext
13357 <  if ${ac_cv_search_socket+:} false; then :
13357 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13358    break
13359   fi
13360   done
13361 < if ${ac_cv_search_socket+:} false; then :
13361 > if ${ac_cv_search_getaddrinfo+:} false; then :
13362  
13363   else
13364 <  ac_cv_search_socket=no
13364 >  ac_cv_search_getaddrinfo=no
13365   fi
13366   rm conftest.$ac_ext
13367   LIBS=$ac_func_search_save_LIBS
13368   fi
13369 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13370 < $as_echo "$ac_cv_search_socket" >&6; }
13371 < ac_res=$ac_cv_search_socket
13369 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13370 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13371 > ac_res=$ac_cv_search_getaddrinfo
13372   if test "$ac_res" != no; then :
13373    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13374  
13091 else
13092  as_fn_error $? "socket library not found" "$LINENO" 5
13375   fi
13376  
13377 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13378 < $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13379 < if ${ac_cv_search_inet_ntoa+:} false; then :
13377 > fi
13378 >
13379 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13380 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13381 >
13382 > else
13383 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13384 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13385 > if ${ac_cv_search_getnameinfo+:} false; then :
13386    $as_echo_n "(cached) " >&6
13387   else
13388    ac_func_search_save_LIBS=$LIBS
# Line 13107 | Line 13395 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13395   #ifdef __cplusplus
13396   extern "C"
13397   #endif
13398 < char inet_ntoa ();
13398 > char getnameinfo ();
13399   int
13400   main ()
13401   {
13402 < return inet_ntoa ();
13402 > return getnameinfo ();
13403    ;
13404    return 0;
13405   }
# Line 13124 | Line 13412 | for ac_lib in '' nsl; do
13412      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13413    fi
13414    if ac_fn_c_try_link "$LINENO"; then :
13415 <  ac_cv_search_inet_ntoa=$ac_res
13415 >  ac_cv_search_getnameinfo=$ac_res
13416   fi
13417   rm -f core conftest.err conftest.$ac_objext \
13418      conftest$ac_exeext
13419 <  if ${ac_cv_search_inet_ntoa+:} false; then :
13419 >  if ${ac_cv_search_getnameinfo+:} false; then :
13420    break
13421   fi
13422   done
13423 < if ${ac_cv_search_inet_ntoa+:} false; then :
13423 > if ${ac_cv_search_getnameinfo+:} false; then :
13424  
13425   else
13426 <  ac_cv_search_inet_ntoa=no
13426 >  ac_cv_search_getnameinfo=no
13427   fi
13428   rm conftest.$ac_ext
13429   LIBS=$ac_func_search_save_LIBS
13430   fi
13431 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13432 < $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13433 < ac_res=$ac_cv_search_inet_ntoa
13431 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13432 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13433 > ac_res=$ac_cv_search_getnameinfo
13434   if test "$ac_res" != no; then :
13435    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13436  
13437   fi
13438  
13439 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13440 < $as_echo_n "checking for library containing inet_aton... " >&6; }
13441 < if ${ac_cv_search_inet_aton+:} false; then :
13439 > fi
13440 >
13441 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13442 > $as_echo_n "checking for library containing socket... " >&6; }
13443 > if ${ac_cv_search_socket+:} false; then :
13444    $as_echo_n "(cached) " >&6
13445   else
13446    ac_func_search_save_LIBS=$LIBS
# Line 13163 | Line 13453 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13453   #ifdef __cplusplus
13454   extern "C"
13455   #endif
13456 < char inet_aton ();
13456 > char socket ();
13457   int
13458   main ()
13459   {
13460 < return inet_aton ();
13460 > return socket ();
13461    ;
13462    return 0;
13463   }
13464   _ACEOF
13465 < for ac_lib in '' resolv; do
13465 > for ac_lib in '' socket; do
13466    if test -z "$ac_lib"; then
13467      ac_res="none required"
13468    else
# Line 13180 | Line 13470 | for ac_lib in '' resolv; do
13470      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13471    fi
13472    if ac_fn_c_try_link "$LINENO"; then :
13473 <  ac_cv_search_inet_aton=$ac_res
13473 >  ac_cv_search_socket=$ac_res
13474   fi
13475   rm -f core conftest.err conftest.$ac_objext \
13476      conftest$ac_exeext
13477 <  if ${ac_cv_search_inet_aton+:} false; then :
13477 >  if ${ac_cv_search_socket+:} false; then :
13478    break
13479   fi
13480   done
13481 < if ${ac_cv_search_inet_aton+:} false; then :
13481 > if ${ac_cv_search_socket+:} false; then :
13482  
13483   else
13484 <  ac_cv_search_inet_aton=no
13484 >  ac_cv_search_socket=no
13485   fi
13486   rm conftest.$ac_ext
13487   LIBS=$ac_func_search_save_LIBS
13488   fi
13489 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13490 < $as_echo "$ac_cv_search_inet_aton" >&6; }
13491 < ac_res=$ac_cv_search_inet_aton
13489 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13490 > $as_echo "$ac_cv_search_socket" >&6; }
13491 > ac_res=$ac_cv_search_socket
13492   if test "$ac_res" != no; then :
13493    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13494  
13495 + else
13496 +  as_fn_error $? "socket library not found" "$LINENO" 5
13497   fi
13498  
13499 <  for ac_func in inet_aton inet_ntop inet_pton
13500 < do :
13501 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13502 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13503 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13212 <  cat >>confdefs.h <<_ACEOF
13213 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13214 < _ACEOF
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
13217 done
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>
# Line 13270 | Line 13558 | fi
13558  
13559  
13560  
13273  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13274 "
13275 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13276
13277 $as_echo "#define IPV6 1" >>confdefs.h
13278
13279 fi
13280
13281
13282
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 13532 | Line 13810 | done
13810  
13811  
13812  
13535
13536
13813   # Checks for header files.
13814  
13815  
# Line 13625 | Line 13901 | if test "$ac_res" != no; then :
13901   fi
13902  
13903  
13904 < # Check whether --enable-libpcre was given.
13905 < if test "${enable_libpcre+set}" = set; then :
13906 <  enableval=$enable_libpcre;
13907 < else
13908 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13909 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13910 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13911 < $as_echo_n "checking for library containing pcre_study... " >&6; }
13912 < if ${ac_cv_search_pcre_study+:} false; then :
13904 > # Check whether --enable-libgeoip was given.
13905 > if test "${enable_libgeoip+set}" = set; then :
13906 >  enableval=$enable_libgeoip;
13907 > else
13908 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13909 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13910 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13911 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13912 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13913    $as_echo_n "(cached) " >&6
13914   else
13915    ac_func_search_save_LIBS=$LIBS
# Line 13646 | Line 13922 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13922   #ifdef __cplusplus
13923   extern "C"
13924   #endif
13925 < char pcre_study ();
13925 > char GeoIP_id_by_ipnum_v6_gl ();
13926   int
13927   main ()
13928   {
13929 < return pcre_study ();
13929 > return GeoIP_id_by_ipnum_v6_gl ();
13930    ;
13931    return 0;
13932   }
13933   _ACEOF
13934 < for ac_lib in '' pcre; do
13934 > for ac_lib in '' GeoIP; do
13935    if test -z "$ac_lib"; then
13936      ac_res="none required"
13937    else
# Line 13663 | Line 13939 | for ac_lib in '' pcre; do
13939      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13940    fi
13941    if ac_fn_c_try_link "$LINENO"; then :
13942 <  ac_cv_search_pcre_study=$ac_res
13942 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13943   fi
13944   rm -f core conftest.err conftest.$ac_objext \
13945      conftest$ac_exeext
13946 <  if ${ac_cv_search_pcre_study+:} false; then :
13946 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13947    break
13948   fi
13949   done
13950 < if ${ac_cv_search_pcre_study+:} false; then :
13950 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13951  
13952   else
13953 <  ac_cv_search_pcre_study=no
13953 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13954   fi
13955   rm conftest.$ac_ext
13956   LIBS=$ac_func_search_save_LIBS
13957   fi
13958 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13959 < $as_echo "$ac_cv_search_pcre_study" >&6; }
13960 < ac_res=$ac_cv_search_pcre_study
13958 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13959 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13960 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13961   if test "$ac_res" != no; then :
13962    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13963  
13964 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13964 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13965  
13966   fi
13967  
# Line 13695 | Line 13971 | fi
13971   fi
13972  
13973  
13974 +
13975   # Check whether --enable-openssl was given.
13976   if test "${enable_openssl+set}" = set; then :
13977    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13749 | 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.8 or above" >&5
14030 < $as_echo_n "checking for OpenSSL 0.9.8 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 13763 | Line 14040 | else
14040   int
14041   main ()
14042   {
14043 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14043 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14044    ;
14045    return 0;
14046   }
# Line 13782 | Line 14059 | fi
14059    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14060   $as_echo "found" >&6; }
14061  
14062 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14063 < $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14064 < if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14062 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14063 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14064 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14065    $as_echo_n "(cached) " >&6
14066   else
14067    ac_check_lib_save_LIBS=$LIBS
14068 < LIBS="-lssl  $LIBS"
14068 > LIBS="-lcrypto  $LIBS"
14069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070   /* end confdefs.h.  */
14071  
# Line 13798 | Line 14075 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14075   #ifdef __cplusplus
14076   extern "C"
14077   #endif
14078 < char SSL_connect ();
14078 > char RSA_free ();
14079   int
14080   main ()
14081   {
14082 < return SSL_connect ();
14082 > return RSA_free ();
14083    ;
14084    return 0;
14085   }
14086   _ACEOF
14087   if ac_fn_c_try_link "$LINENO"; then :
14088 <  ac_cv_lib_ssl_SSL_connect=yes
14088 >  ac_cv_lib_crypto_RSA_free=yes
14089   else
14090 <  ac_cv_lib_ssl_SSL_connect=no
14090 >  ac_cv_lib_crypto_RSA_free=no
14091   fi
14092   rm -f core conftest.err conftest.$ac_objext \
14093      conftest$ac_exeext conftest.$ac_ext
14094   LIBS=$ac_check_lib_save_LIBS
14095   fi
14096 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14097 < $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14098 < if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14096 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14097 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14098 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14099    cat >>confdefs.h <<_ACEOF
14100 < #define HAVE_LIBSSL 1
14100 > #define HAVE_LIBCRYPTO 1
14101   _ACEOF
14102  
14103 <  LIBS="-lssl $LIBS"
14103 >  LIBS="-lcrypto $LIBS"
14104  
14105   fi
14106  
14107 <    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
14108 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14109 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14110 < if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14107 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14108 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14109 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14110 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14111    $as_echo_n "(cached) " >&6
14112   else
14113    ac_check_lib_save_LIBS=$LIBS
14114 < LIBS="-lcrypto  $LIBS"
14114 > LIBS="-lssl  $LIBS"
14115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116   /* end confdefs.h.  */
14117  
# Line 13844 | Line 14121 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14121   #ifdef __cplusplus
14122   extern "C"
14123   #endif
14124 < char RSA_free ();
14124 > char SSL_connect ();
14125   int
14126   main ()
14127   {
14128 < return RSA_free ();
14128 > return SSL_connect ();
14129    ;
14130    return 0;
14131   }
14132   _ACEOF
14133   if ac_fn_c_try_link "$LINENO"; then :
14134 <  ac_cv_lib_crypto_RSA_free=yes
14134 >  ac_cv_lib_ssl_SSL_connect=yes
14135   else
14136 <  ac_cv_lib_crypto_RSA_free=no
14136 >  ac_cv_lib_ssl_SSL_connect=no
14137   fi
14138   rm -f core conftest.err conftest.$ac_objext \
14139      conftest$ac_exeext conftest.$ac_ext
14140   LIBS=$ac_check_lib_save_LIBS
14141   fi
14142 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14143 < $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14144 < if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14142 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14143 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14144 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14145    cat >>confdefs.h <<_ACEOF
14146 < #define HAVE_LIBCRYPTO 1
14146 > #define HAVE_LIBSSL 1
14147   _ACEOF
14148  
14149 <  LIBS="-lcrypto $LIBS"
14149 >  LIBS="-lssl $LIBS"
14150  
14151   fi
14152  
# Line 13882 | Line 14159 | $as_echo "no - OpenSSL support disabled"
14159   fi
14160   fi
14161  
14162 < if test "$ac_cv_lib_crypto_RSA_free" = yes; then
14162 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14163    ENABLE_SSL_TRUE=
14164    ENABLE_SSL_FALSE='#'
14165   else
# Line 13907 | Line 14184 | $as_echo "#define NDEBUG 1" >>confdefs.h
14184   fi
14185  
14186  
14187 < # Check whether --enable-small-net was given.
13911 < if test "${enable_small_net+set}" = set; then :
13912 <  enableval=$enable_small_net; small_net=$enableval
13913 < else
13914 <  small_net=no
13915 < fi
13916 <
13917 <
13918 < if test "$small_net" = "yes"; then :
14187 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14188  
14189  
14190 < $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
14190 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14191  
14192  
14193 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14193 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14194  
14195  
14196 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14196 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14197  
14198  
14199 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14199 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14200  
14201  
14202 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14202 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14203  
14204  
14205 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14205 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14206  
14207  
14208 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14208 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14209  
14210  
14211 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14211 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14212  
14213  
14214 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14214 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14215  
14216  
14217 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13949 <
13950 < else
13951 <
13952 <
13953 <
13954 < $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13955 <
13956 <
13957 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13958 <
13959 <
13960 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13961 <
13962 <
13963 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13964 <
13965 <
13966 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13967 <
13968 <
13969 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13970 <
13971 <
13972 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14217 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14218  
14219  
14220 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14220 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14221  
14222  
14223 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14223 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14224  
14225  
14226 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13982 <
13983 < fi
14226 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14227  
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 14001 | Line 14245 | if test "${enable_devpoll+set}" = set; t
14245    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14246   fi
14247  
14004  # Check whether --enable-rtsigio was given.
14005 if test "${enable_rtsigio+set}" = set; then :
14006  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14007 fi
14008
14248    # Check whether --enable-poll was given.
14249   if test "${enable_poll+set}" = set; then :
14250    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14251   fi
14252  
14014  # Check whether --enable-select was given.
14015 if test "${enable_select+set}" = set; then :
14016  enableval=$enable_select; desired_iopoll_mechanism="select"
14017 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 14078 | 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  
14087  if test "$cross_compiling" = yes; then :
14088  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14090 as_fn_error $? "cannot run test program while cross compiling
14091 See \`config.log' for more details" "$LINENO" 5; }
14092 else
14325    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326   /* end confdefs.h.  */
14095
14327   #include <sys/epoll.h>
14097 #include <sys/syscall.h>
14098 #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14099 #if !defined(__NR_epoll_create)
14100 #if defined(__ia64__)
14101 #define __NR_epoll_create 1243
14102 #elif defined(__x86_64__)
14103 #define __NR_epoll_create 214
14104 #elif defined(__sparc64__) || defined(__sparc__)
14105 #define __NR_epoll_create 193
14106 #elif defined(__s390__) || defined(__m68k__)
14107 #define __NR_epoll_create 249
14108 #elif defined(__ppc64__) || defined(__ppc__)
14109 #define __NR_epoll_create 236
14110 #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
14111 #define __NR_epoll_create 224
14112 #elif defined(__alpha__)
14113 #define __NR_epoll_create 407
14114 #elif defined(__sh64__)
14115 #define __NR_epoll_create 282
14116 #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
14117 #define __NR_epoll_create 254
14118 #else
14119 #error No system call numbers defined for epoll family.
14120 #endif
14121 #endif
14122 _syscall1(int, epoll_create, int, size)
14123 #endif
14124
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
14140 < 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 14189 | Line 14391 | rm -f core conftest.err conftest.$ac_obj
14391   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14392  
14393    fi
14192      iopoll_mechanism_rtsigio=4
14193
14194 cat >>confdefs.h <<_ACEOF
14195 #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14196 _ACEOF
14197
14198  if test "$cross_compiling" = yes; then :
14199  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14201 as_fn_error $? "cannot run test program while cross compiling
14202 See \`config.log' for more details" "$LINENO" 5; }
14203 else
14204  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h.  */
14206
14207 #define _GNU_SOURCE
14208 #include <fcntl.h>
14209 static unsigned int have_f_setsig = 0;
14210
14211 int
14212 main ()
14213 {
14214
14215 #ifdef F_SETSIG
14216  have_f_setsig = 1;
14217 #endif
14218  return have_f_setsig == 0;
14219
14220  ;
14221  return 0;
14222 }
14223 _ACEOF
14224 if ac_fn_c_try_run "$LINENO"; then :
14225  is_rtsigio_mechanism_available="yes"
14226 else
14227  is_rtsigio_mechanism_available="no"
14228 fi
14229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14230  conftest.$ac_objext conftest.beam conftest.$ac_ext
14231 fi
14394  
14395 <      iopoll_mechanism_poll=5
14395 >  iopoll_mechanism_poll=4
14396  
14397   cat >>confdefs.h <<_ACEOF
14398   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14284 | Line 14446 | else
14446   fi
14447   rm -f core conftest.err conftest.$ac_objext \
14448      conftest$ac_exeext conftest.$ac_ext
14287      iopoll_mechanism_select=6
14288
14289 cat >>confdefs.h <<_ACEOF
14290 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14291 _ACEOF
14292
14293  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h.  */
14295 /* Define select to an innocuous variant, in case <limits.h> declares select.
14296   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14297 #define select innocuous_select
14298
14299 /* System header to define __stub macros and hopefully few prototypes,
14300    which can conflict with char select (); below.
14301    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14302    <limits.h> exists even on freestanding compilers.  */
14303
14304 #ifdef __STDC__
14305 # include <limits.h>
14306 #else
14307 # include <assert.h>
14308 #endif
14309
14310 #undef select
14311
14312 /* Override any GCC internal prototype to avoid an error.
14313   Use char because int might match the return type of a GCC
14314   builtin and then its argument prototype would still apply.  */
14315 #ifdef __cplusplus
14316 extern "C"
14317 #endif
14318 char select ();
14319 /* The GNU C library defines this for functions which it implements
14320    to always fail with ENOSYS.  Some functions are actually named
14321    something starting with __ and the normal name is an alias.  */
14322 #if defined __stub_select || defined __stub___select
14323 choke me
14324 #endif
14449  
14450 < int
14451 < main ()
14328 < {
14329 < return select ();
14330 <  ;
14331 <  return 0;
14332 < }
14333 < _ACEOF
14334 < if ac_fn_c_try_link "$LINENO"; then :
14335 <  is_select_mechanism_available="yes"
14336 < else
14337 <  is_select_mechanism_available="no"
14338 < fi
14339 < rm -f core conftest.err conftest.$ac_objext \
14340 <    conftest$ac_exeext conftest.$ac_ext
14341 <      optimal_iopoll_mechanism="none"
14342 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "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 14368 | 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 14376 | Line 14487 | _ACEOF
14487  
14488  
14489  
14490 +  # Check whether --enable-debugging was given.
14491 + if test "${enable_debugging+set}" = set; then :
14492 +  enableval=$enable_debugging; debugging="$enableval"
14493 + else
14494 +  debugging="no"
14495 + fi
14496 +
14497 +  if test "$debugging" = "yes" ; then
14498 +    CFLAGS="-Wall -g -O0"
14499 +  fi
14500 +
14501  
14502 < # Check whether --with-nicklen was given.
14503 < if test "${with_nicklen+set}" = set; then :
14504 <  withval=$with_nicklen; nicklen="$withval"
14502 >  # Check whether --enable-warnings was given.
14503 > if test "${enable_warnings+set}" = set; then :
14504 >  enableval=$enable_warnings; warnings="$enableval"
14505   else
14506 <  nicklen="9"
14506 >  warnings="no"
14507   fi
14508  
14509  
14510 < cat >>confdefs.h <<_ACEOF
14511 < #define NICKLEN ($nicklen+1)
14510 >  if test "$warnings" = "yes" ; then
14511 >
14512 >
14513 >
14514 >
14515 > for flag in -Wall; do
14516 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14517 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14518 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14519 > if eval \${$as_CACHEVAR+:} false; then :
14520 >  $as_echo_n "(cached) " >&6
14521 > else
14522 >
14523 >  ax_check_save_flags=$CFLAGS
14524 >  CFLAGS="$CFLAGS  $flag"
14525 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14526 > /* end confdefs.h.  */
14527 >
14528 > int
14529 > main ()
14530 > {
14531 >
14532 >  ;
14533 >  return 0;
14534 > }
14535 > _ACEOF
14536 > if ac_fn_c_try_compile "$LINENO"; then :
14537 >  eval "$as_CACHEVAR=yes"
14538 > else
14539 >  eval "$as_CACHEVAR=no"
14540 > fi
14541 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14542 >  CFLAGS=$ax_check_save_flags
14543 > fi
14544 > eval ac_res=\$$as_CACHEVAR
14545 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14546 > $as_echo "$ac_res" >&6; }
14547 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14548 >  if ${CFLAGS+:} false; then :
14549 >  case " $CFLAGS " in
14550 >    *" $flag "*)
14551 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14552 >  (: CFLAGS already contains $flag) 2>&5
14553 >  ac_status=$?
14554 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14555 >  test $ac_status = 0; }
14556 >      ;;
14557 >    *)
14558 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14559 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14560 >  ac_status=$?
14561 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14562 >  test $ac_status = 0; }
14563 >      CFLAGS="$CFLAGS $flag"
14564 >      ;;
14565 >   esac
14566 > else
14567 >  CFLAGS="$flag"
14568 > fi
14569 >
14570 > else
14571 >  :
14572 > fi
14573 >
14574 > done
14575 >
14576 >
14577 >
14578 >
14579 >
14580 > for flag in -Wextra; do
14581 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14582 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14583 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14584 > if eval \${$as_CACHEVAR+:} false; then :
14585 >  $as_echo_n "(cached) " >&6
14586 > else
14587 >
14588 >  ax_check_save_flags=$CFLAGS
14589 >  CFLAGS="$CFLAGS  $flag"
14590 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 > /* end confdefs.h.  */
14592 >
14593 > int
14594 > main ()
14595 > {
14596 >
14597 >  ;
14598 >  return 0;
14599 > }
14600   _ACEOF
14601 + if ac_fn_c_try_compile "$LINENO"; then :
14602 +  eval "$as_CACHEVAR=yes"
14603 + else
14604 +  eval "$as_CACHEVAR=no"
14605 + fi
14606 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14607 +  CFLAGS=$ax_check_save_flags
14608 + fi
14609 + eval ac_res=\$$as_CACHEVAR
14610 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14611 + $as_echo "$ac_res" >&6; }
14612 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14613 +  if ${CFLAGS+:} false; then :
14614 +  case " $CFLAGS " in
14615 +    *" $flag "*)
14616 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14617 +  (: CFLAGS already contains $flag) 2>&5
14618 +  ac_status=$?
14619 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14620 +  test $ac_status = 0; }
14621 +      ;;
14622 +    *)
14623 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14624 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14625 +  ac_status=$?
14626 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14627 +  test $ac_status = 0; }
14628 +      CFLAGS="$CFLAGS $flag"
14629 +      ;;
14630 +   esac
14631 + else
14632 +  CFLAGS="$flag"
14633 + fi
14634 +
14635 + else
14636 +  :
14637 + fi
14638 +
14639 + done
14640 +
14641  
14642  
14643  
14644  
14645 < # Check whether --with-topiclen was given.
14646 < if test "${with_topiclen+set}" = set; then :
14647 <  withval=$with_topiclen; topiclen="$withval"
14645 > for flag in -Wno-unused; do
14646 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14647 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14648 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14649 > if eval \${$as_CACHEVAR+:} false; then :
14650 >  $as_echo_n "(cached) " >&6
14651 > else
14652 >
14653 >  ax_check_save_flags=$CFLAGS
14654 >  CFLAGS="$CFLAGS  $flag"
14655 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 > /* end confdefs.h.  */
14657 >
14658 > int
14659 > main ()
14660 > {
14661 >
14662 >  ;
14663 >  return 0;
14664 > }
14665 > _ACEOF
14666 > if ac_fn_c_try_compile "$LINENO"; then :
14667 >  eval "$as_CACHEVAR=yes"
14668 > else
14669 >  eval "$as_CACHEVAR=no"
14670 > fi
14671 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14672 >  CFLAGS=$ax_check_save_flags
14673 > fi
14674 > eval ac_res=\$$as_CACHEVAR
14675 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14676 > $as_echo "$ac_res" >&6; }
14677 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14678 >  if ${CFLAGS+:} false; then :
14679 >  case " $CFLAGS " in
14680 >    *" $flag "*)
14681 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14682 >  (: CFLAGS already contains $flag) 2>&5
14683 >  ac_status=$?
14684 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14685 >  test $ac_status = 0; }
14686 >      ;;
14687 >    *)
14688 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14689 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14690 >  ac_status=$?
14691 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14692 >  test $ac_status = 0; }
14693 >      CFLAGS="$CFLAGS $flag"
14694 >      ;;
14695 >   esac
14696 > else
14697 >  CFLAGS="$flag"
14698 > fi
14699 >
14700   else
14701 <  topiclen="160"
14701 >  :
14702   fi
14703  
14704 + done
14705  
14706 < cat >>confdefs.h <<_ACEOF
14707 < #define TOPICLEN ($topiclen)
14706 >
14707 >
14708 >
14709 >
14710 > for flag in -Wcast-qual; do
14711 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14712 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14713 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14714 > if eval \${$as_CACHEVAR+:} false; then :
14715 >  $as_echo_n "(cached) " >&6
14716 > else
14717 >
14718 >  ax_check_save_flags=$CFLAGS
14719 >  CFLAGS="$CFLAGS  $flag"
14720 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 > /* end confdefs.h.  */
14722 >
14723 > int
14724 > main ()
14725 > {
14726 >
14727 >  ;
14728 >  return 0;
14729 > }
14730   _ACEOF
14731 + if ac_fn_c_try_compile "$LINENO"; then :
14732 +  eval "$as_CACHEVAR=yes"
14733 + else
14734 +  eval "$as_CACHEVAR=no"
14735 + fi
14736 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14737 +  CFLAGS=$ax_check_save_flags
14738 + fi
14739 + eval ac_res=\$$as_CACHEVAR
14740 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14741 + $as_echo "$ac_res" >&6; }
14742 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14743 +  if ${CFLAGS+:} false; then :
14744 +  case " $CFLAGS " in
14745 +    *" $flag "*)
14746 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14747 +  (: CFLAGS already contains $flag) 2>&5
14748 +  ac_status=$?
14749 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14750 +  test $ac_status = 0; }
14751 +      ;;
14752 +    *)
14753 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14754 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14755 +  ac_status=$?
14756 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14757 +  test $ac_status = 0; }
14758 +      CFLAGS="$CFLAGS $flag"
14759 +      ;;
14760 +   esac
14761 + else
14762 +  CFLAGS="$flag"
14763 + fi
14764 +
14765 + else
14766 +  :
14767 + fi
14768 +
14769 + done
14770 +
14771 +
14772 +
14773 +
14774 +
14775 + for flag in -Wcast-align; do
14776 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14777 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14778 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14779 + if eval \${$as_CACHEVAR+:} false; then :
14780 +  $as_echo_n "(cached) " >&6
14781 + else
14782  
14783 +  ax_check_save_flags=$CFLAGS
14784 +  CFLAGS="$CFLAGS  $flag"
14785 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 + /* end confdefs.h.  */
14787  
14788 + int
14789 + main ()
14790 + {
14791 +
14792 +  ;
14793 +  return 0;
14794 + }
14795 + _ACEOF
14796 + if ac_fn_c_try_compile "$LINENO"; then :
14797 +  eval "$as_CACHEVAR=yes"
14798 + else
14799 +  eval "$as_CACHEVAR=no"
14800 + fi
14801 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14802 +  CFLAGS=$ax_check_save_flags
14803 + fi
14804 + eval ac_res=\$$as_CACHEVAR
14805 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14806 + $as_echo "$ac_res" >&6; }
14807 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14808 +  if ${CFLAGS+:} false; then :
14809 +  case " $CFLAGS " in
14810 +    *" $flag "*)
14811 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14812 +  (: CFLAGS already contains $flag) 2>&5
14813 +  ac_status=$?
14814 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14815 +  test $ac_status = 0; }
14816 +      ;;
14817 +    *)
14818 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14819 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14820 +  ac_status=$?
14821 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14822 +  test $ac_status = 0; }
14823 +      CFLAGS="$CFLAGS $flag"
14824 +      ;;
14825 +   esac
14826 + else
14827 +  CFLAGS="$flag"
14828 + fi
14829  
14409  # Check whether --enable-efnet was given.
14410 if test "${enable_efnet+set}" = set; then :
14411  enableval=$enable_efnet; efnet="$enableval"
14830   else
14831 <  efnet="no"
14831 >  :
14832   fi
14833  
14834 <  if test "$efnet" = "yes" ; then
14417 <                use_efnet="yes"
14834 > done
14835  
14419 $as_echo "#define EFNET 1" >>confdefs.h
14836  
14837 <        else
14838 <                use_efnet="no"
14839 <  fi
14840 <   if test "$use_efnet" = "yes"; then
14841 <  EFNET_TRUE=
14842 <  EFNET_FALSE='#'
14837 >
14838 >
14839 >
14840 > for flag in -Wbad-function-cast; do
14841 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14842 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14843 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14844 > if eval \${$as_CACHEVAR+:} false; then :
14845 >  $as_echo_n "(cached) " >&6
14846 > else
14847 >
14848 >  ax_check_save_flags=$CFLAGS
14849 >  CFLAGS="$CFLAGS  $flag"
14850 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 > /* end confdefs.h.  */
14852 >
14853 > int
14854 > main ()
14855 > {
14856 >
14857 >  ;
14858 >  return 0;
14859 > }
14860 > _ACEOF
14861 > if ac_fn_c_try_compile "$LINENO"; then :
14862 >  eval "$as_CACHEVAR=yes"
14863 > else
14864 >  eval "$as_CACHEVAR=no"
14865 > fi
14866 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14867 >  CFLAGS=$ax_check_save_flags
14868 > fi
14869 > eval ac_res=\$$as_CACHEVAR
14870 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14871 > $as_echo "$ac_res" >&6; }
14872 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14873 >  if ${CFLAGS+:} false; then :
14874 >  case " $CFLAGS " in
14875 >    *" $flag "*)
14876 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14877 >  (: CFLAGS already contains $flag) 2>&5
14878 >  ac_status=$?
14879 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14880 >  test $ac_status = 0; }
14881 >      ;;
14882 >    *)
14883 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14884 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14885 >  ac_status=$?
14886 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14887 >  test $ac_status = 0; }
14888 >      CFLAGS="$CFLAGS $flag"
14889 >      ;;
14890 >   esac
14891 > else
14892 >  CFLAGS="$flag"
14893 > fi
14894 >
14895 > else
14896 >  :
14897 > fi
14898 >
14899 > done
14900 >
14901 >
14902 >
14903 >
14904 >
14905 > for flag in -Wlogical-op; do
14906 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14907 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14908 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14909 > if eval \${$as_CACHEVAR+:} false; then :
14910 >  $as_echo_n "(cached) " >&6
14911 > else
14912 >
14913 >  ax_check_save_flags=$CFLAGS
14914 >  CFLAGS="$CFLAGS  $flag"
14915 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 > /* end confdefs.h.  */
14917 >
14918 > int
14919 > main ()
14920 > {
14921 >
14922 >  ;
14923 >  return 0;
14924 > }
14925 > _ACEOF
14926 > if ac_fn_c_try_compile "$LINENO"; then :
14927 >  eval "$as_CACHEVAR=yes"
14928 > else
14929 >  eval "$as_CACHEVAR=no"
14930 > fi
14931 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14932 >  CFLAGS=$ax_check_save_flags
14933 > fi
14934 > eval ac_res=\$$as_CACHEVAR
14935 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14936 > $as_echo "$ac_res" >&6; }
14937 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14938 >  if ${CFLAGS+:} false; then :
14939 >  case " $CFLAGS " in
14940 >    *" $flag "*)
14941 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14942 >  (: CFLAGS already contains $flag) 2>&5
14943 >  ac_status=$?
14944 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14945 >  test $ac_status = 0; }
14946 >      ;;
14947 >    *)
14948 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14949 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14950 >  ac_status=$?
14951 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14952 >  test $ac_status = 0; }
14953 >      CFLAGS="$CFLAGS $flag"
14954 >      ;;
14955 >   esac
14956 > else
14957 >  CFLAGS="$flag"
14958 > fi
14959 >
14960   else
14961 <  EFNET_TRUE='#'
14429 <  EFNET_FALSE=
14961 >  :
14962   fi
14963  
14964 + done
14965 +
14966 +
14967  
14968  
14969 <  # Check whether --enable-halfops was given.
14970 < if test "${enable_halfops+set}" = set; then :
14971 <  enableval=$enable_halfops; halfops="$enableval"
14969 >
14970 > for flag in -Wmissing-declarations; do
14971 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14972 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14973 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14974 > if eval \${$as_CACHEVAR+:} false; then :
14975 >  $as_echo_n "(cached) " >&6
14976 > else
14977 >
14978 >  ax_check_save_flags=$CFLAGS
14979 >  CFLAGS="$CFLAGS  $flag"
14980 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 > /* end confdefs.h.  */
14982 >
14983 > int
14984 > main ()
14985 > {
14986 >
14987 >  ;
14988 >  return 0;
14989 > }
14990 > _ACEOF
14991 > if ac_fn_c_try_compile "$LINENO"; then :
14992 >  eval "$as_CACHEVAR=yes"
14993 > else
14994 >  eval "$as_CACHEVAR=no"
14995 > fi
14996 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14997 >  CFLAGS=$ax_check_save_flags
14998 > fi
14999 > eval ac_res=\$$as_CACHEVAR
15000 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15001 > $as_echo "$ac_res" >&6; }
15002 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15003 >  if ${CFLAGS+:} false; then :
15004 >  case " $CFLAGS " in
15005 >    *" $flag "*)
15006 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15007 >  (: CFLAGS already contains $flag) 2>&5
15008 >  ac_status=$?
15009 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15010 >  test $ac_status = 0; }
15011 >      ;;
15012 >    *)
15013 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15014 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15015 >  ac_status=$?
15016 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15017 >  test $ac_status = 0; }
15018 >      CFLAGS="$CFLAGS $flag"
15019 >      ;;
15020 >   esac
15021 > else
15022 >  CFLAGS="$flag"
15023 > fi
15024 >
15025   else
15026 <  halfops="no"
15026 >  :
15027   fi
15028  
15029 <  if test "$halfops" = "yes" ; then
15029 > done
15030  
14443 $as_echo "#define HALFOPS 1" >>confdefs.h
15031  
14445  fi
15032  
15033  
15034 <  # Check whether --enable-debugging was given.
15035 < if test "${enable_debugging+set}" = set; then :
15036 <  enableval=$enable_debugging; debugging="$enableval"
15034 >
15035 > for flag in -Wmissing-include-dirs; do
15036 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15037 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15038 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15039 > if eval \${$as_CACHEVAR+:} false; then :
15040 >  $as_echo_n "(cached) " >&6
15041   else
15042 <  debugging="no"
15042 >
15043 >  ax_check_save_flags=$CFLAGS
15044 >  CFLAGS="$CFLAGS  $flag"
15045 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 > /* end confdefs.h.  */
15047 >
15048 > int
15049 > main ()
15050 > {
15051 >
15052 >  ;
15053 >  return 0;
15054 > }
15055 > _ACEOF
15056 > if ac_fn_c_try_compile "$LINENO"; then :
15057 >  eval "$as_CACHEVAR=yes"
15058 > else
15059 >  eval "$as_CACHEVAR=no"
15060 > fi
15061 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15062 >  CFLAGS=$ax_check_save_flags
15063 > fi
15064 > eval ac_res=\$$as_CACHEVAR
15065 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15066 > $as_echo "$ac_res" >&6; }
15067 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15068 >  if ${CFLAGS+:} false; then :
15069 >  case " $CFLAGS " in
15070 >    *" $flag "*)
15071 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15072 >  (: CFLAGS already contains $flag) 2>&5
15073 >  ac_status=$?
15074 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15075 >  test $ac_status = 0; }
15076 >      ;;
15077 >    *)
15078 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15079 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15080 >  ac_status=$?
15081 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15082 >  test $ac_status = 0; }
15083 >      CFLAGS="$CFLAGS $flag"
15084 >      ;;
15085 >   esac
15086 > else
15087 >  CFLAGS="$flag"
15088   fi
15089  
15090 <  if test "$debugging" = "yes" ; then
15090 > else
15091 >  :
15092 > fi
15093  
15094 < $as_echo "#define DEBUG 1" >>confdefs.h
15094 > done
15095  
14459    CFLAGS="-Wall -g -O0"
14460  else
15096  
14462 $as_echo "#define NDEBUG 1" >>confdefs.h
15097  
14464  fi
15098  
15099  
15100 <  # Check whether --enable-warnings was given.
15101 < if test "${enable_warnings+set}" = set; then :
15102 <  enableval=$enable_warnings; warnings="$enableval"
15100 > for flag in -Wmissing-prototypes; do
15101 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15102 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15103 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15104 > if eval \${$as_CACHEVAR+:} false; then :
15105 >  $as_echo_n "(cached) " >&6
15106   else
15107 <  warnings="no"
15107 >
15108 >  ax_check_save_flags=$CFLAGS
15109 >  CFLAGS="$CFLAGS  $flag"
15110 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15111 > /* end confdefs.h.  */
15112 >
15113 > int
15114 > main ()
15115 > {
15116 >
15117 >  ;
15118 >  return 0;
15119 > }
15120 > _ACEOF
15121 > if ac_fn_c_try_compile "$LINENO"; then :
15122 >  eval "$as_CACHEVAR=yes"
15123 > else
15124 >  eval "$as_CACHEVAR=no"
15125 > fi
15126 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 >  CFLAGS=$ax_check_save_flags
15128 > fi
15129 > eval ac_res=\$$as_CACHEVAR
15130 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15131 > $as_echo "$ac_res" >&6; }
15132 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15133 >  if ${CFLAGS+:} false; then :
15134 >  case " $CFLAGS " in
15135 >    *" $flag "*)
15136 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15137 >  (: CFLAGS already contains $flag) 2>&5
15138 >  ac_status=$?
15139 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15140 >  test $ac_status = 0; }
15141 >      ;;
15142 >    *)
15143 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15144 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15145 >  ac_status=$?
15146 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15147 >  test $ac_status = 0; }
15148 >      CFLAGS="$CFLAGS $flag"
15149 >      ;;
15150 >   esac
15151 > else
15152 >  CFLAGS="$flag"
15153   fi
15154  
15155 <  if test "$warnings" = "yes" ; then
15156 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15155 > else
15156 >  :
15157 > fi
15158 >
15159 > done
15160 >
15161 >
15162 >
15163 >
15164 >
15165 > for flag in -Wnested-externs; do
15166 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15167 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15168 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15169 > if eval \${$as_CACHEVAR+:} false; then :
15170 >  $as_echo_n "(cached) " >&6
15171 > else
15172 >
15173 >  ax_check_save_flags=$CFLAGS
15174 >  CFLAGS="$CFLAGS  $flag"
15175 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 > /* end confdefs.h.  */
15177 >
15178 > int
15179 > main ()
15180 > {
15181 >
15182 >  ;
15183 >  return 0;
15184 > }
15185 > _ACEOF
15186 > if ac_fn_c_try_compile "$LINENO"; then :
15187 >  eval "$as_CACHEVAR=yes"
15188 > else
15189 >  eval "$as_CACHEVAR=no"
15190 > fi
15191 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15192 >  CFLAGS=$ax_check_save_flags
15193 > fi
15194 > eval ac_res=\$$as_CACHEVAR
15195 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15196 > $as_echo "$ac_res" >&6; }
15197 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15198 >  if ${CFLAGS+:} false; then :
15199 >  case " $CFLAGS " in
15200 >    *" $flag "*)
15201 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15202 >  (: CFLAGS already contains $flag) 2>&5
15203 >  ac_status=$?
15204 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15205 >  test $ac_status = 0; }
15206 >      ;;
15207 >    *)
15208 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15209 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15210 >  ac_status=$?
15211 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15212 >  test $ac_status = 0; }
15213 >      CFLAGS="$CFLAGS $flag"
15214 >      ;;
15215 >   esac
15216 > else
15217 >  CFLAGS="$flag"
15218 > fi
15219 >
15220 > else
15221 >  :
15222 > fi
15223 >
15224 > done
15225 >
15226 >
15227 >
15228 >
15229 >
15230 > for flag in -Wpointer-arith; do
15231 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15232 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15233 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15234 > if eval \${$as_CACHEVAR+:} false; then :
15235 >  $as_echo_n "(cached) " >&6
15236 > else
15237 >
15238 >  ax_check_save_flags=$CFLAGS
15239 >  CFLAGS="$CFLAGS  $flag"
15240 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 > /* end confdefs.h.  */
15242 >
15243 > int
15244 > main ()
15245 > {
15246 >
15247 >  ;
15248 >  return 0;
15249 > }
15250 > _ACEOF
15251 > if ac_fn_c_try_compile "$LINENO"; then :
15252 >  eval "$as_CACHEVAR=yes"
15253 > else
15254 >  eval "$as_CACHEVAR=no"
15255 > fi
15256 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15257 >  CFLAGS=$ax_check_save_flags
15258 > fi
15259 > eval ac_res=\$$as_CACHEVAR
15260 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15261 > $as_echo "$ac_res" >&6; }
15262 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15263 >  if ${CFLAGS+:} false; then :
15264 >  case " $CFLAGS " in
15265 >    *" $flag "*)
15266 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15267 >  (: CFLAGS already contains $flag) 2>&5
15268 >  ac_status=$?
15269 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15270 >  test $ac_status = 0; }
15271 >      ;;
15272 >    *)
15273 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15274 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15275 >  ac_status=$?
15276 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15277 >  test $ac_status = 0; }
15278 >      CFLAGS="$CFLAGS $flag"
15279 >      ;;
15280 >   esac
15281 > else
15282 >  CFLAGS="$flag"
15283 > fi
15284 >
15285 > else
15286 >  :
15287 > fi
15288 >
15289 > done
15290 >
15291 >
15292 >
15293 >
15294 >
15295 > for flag in -Wredundant-decls; do
15296 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15297 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15298 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15299 > if eval \${$as_CACHEVAR+:} false; then :
15300 >  $as_echo_n "(cached) " >&6
15301 > else
15302 >
15303 >  ax_check_save_flags=$CFLAGS
15304 >  CFLAGS="$CFLAGS  $flag"
15305 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 > /* end confdefs.h.  */
15307 >
15308 > int
15309 > main ()
15310 > {
15311 >
15312 >  ;
15313 >  return 0;
15314 > }
15315 > _ACEOF
15316 > if ac_fn_c_try_compile "$LINENO"; then :
15317 >  eval "$as_CACHEVAR=yes"
15318 > else
15319 >  eval "$as_CACHEVAR=no"
15320 > fi
15321 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322 >  CFLAGS=$ax_check_save_flags
15323 > fi
15324 > eval ac_res=\$$as_CACHEVAR
15325 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15326 > $as_echo "$ac_res" >&6; }
15327 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15328 >  if ${CFLAGS+:} false; then :
15329 >  case " $CFLAGS " in
15330 >    *" $flag "*)
15331 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15332 >  (: CFLAGS already contains $flag) 2>&5
15333 >  ac_status=$?
15334 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15335 >  test $ac_status = 0; }
15336 >      ;;
15337 >    *)
15338 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15339 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15340 >  ac_status=$?
15341 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342 >  test $ac_status = 0; }
15343 >      CFLAGS="$CFLAGS $flag"
15344 >      ;;
15345 >   esac
15346 > else
15347 >  CFLAGS="$flag"
15348 > fi
15349 >
15350 > else
15351 >  :
15352 > fi
15353 >
15354 > done
15355 >
15356 >
15357 >
15358 >
15359 >
15360 > for flag in -Wshadow; do
15361 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15362 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15363 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15364 > if eval \${$as_CACHEVAR+:} false; then :
15365 >  $as_echo_n "(cached) " >&6
15366 > else
15367 >
15368 >  ax_check_save_flags=$CFLAGS
15369 >  CFLAGS="$CFLAGS  $flag"
15370 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 > /* end confdefs.h.  */
15372 >
15373 > int
15374 > main ()
15375 > {
15376 >
15377 >  ;
15378 >  return 0;
15379 > }
15380 > _ACEOF
15381 > if ac_fn_c_try_compile "$LINENO"; then :
15382 >  eval "$as_CACHEVAR=yes"
15383 > else
15384 >  eval "$as_CACHEVAR=no"
15385 > fi
15386 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15387 >  CFLAGS=$ax_check_save_flags
15388 > fi
15389 > eval ac_res=\$$as_CACHEVAR
15390 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15391 > $as_echo "$ac_res" >&6; }
15392 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15393 >  if ${CFLAGS+:} false; then :
15394 >  case " $CFLAGS " in
15395 >    *" $flag "*)
15396 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15397 >  (: CFLAGS already contains $flag) 2>&5
15398 >  ac_status=$?
15399 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15400 >  test $ac_status = 0; }
15401 >      ;;
15402 >    *)
15403 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15404 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15405 >  ac_status=$?
15406 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15407 >  test $ac_status = 0; }
15408 >      CFLAGS="$CFLAGS $flag"
15409 >      ;;
15410 >   esac
15411 > else
15412 >  CFLAGS="$flag"
15413 > fi
15414 >
15415 > else
15416 >  :
15417 > fi
15418 >
15419 > done
15420 >
15421 >
15422 >
15423 >
15424 >
15425 > for flag in -Wwrite-strings; do
15426 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15427 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15428 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15429 > if eval \${$as_CACHEVAR+:} false; then :
15430 >  $as_echo_n "(cached) " >&6
15431 > else
15432 >
15433 >  ax_check_save_flags=$CFLAGS
15434 >  CFLAGS="$CFLAGS  $flag"
15435 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 > /* end confdefs.h.  */
15437 >
15438 > int
15439 > main ()
15440 > {
15441 >
15442 >  ;
15443 >  return 0;
15444 > }
15445 > _ACEOF
15446 > if ac_fn_c_try_compile "$LINENO"; then :
15447 >  eval "$as_CACHEVAR=yes"
15448 > else
15449 >  eval "$as_CACHEVAR=no"
15450 > fi
15451 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15452 >  CFLAGS=$ax_check_save_flags
15453 > fi
15454 > eval ac_res=\$$as_CACHEVAR
15455 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15456 > $as_echo "$ac_res" >&6; }
15457 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15458 >  if ${CFLAGS+:} false; then :
15459 >  case " $CFLAGS " in
15460 >    *" $flag "*)
15461 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15462 >  (: CFLAGS already contains $flag) 2>&5
15463 >  ac_status=$?
15464 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 >  test $ac_status = 0; }
15466 >      ;;
15467 >    *)
15468 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15469 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15470 >  ac_status=$?
15471 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15472 >  test $ac_status = 0; }
15473 >      CFLAGS="$CFLAGS $flag"
15474 >      ;;
15475 >   esac
15476 > else
15477 >  CFLAGS="$flag"
15478 > fi
15479 >
15480 > else
15481 >  :
15482 > fi
15483 >
15484 > done
15485 >
15486 >
15487 >
15488 >
15489 >
15490 > for flag in -Wundef; do
15491 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15492 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15493 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15494 > if eval \${$as_CACHEVAR+:} false; then :
15495 >  $as_echo_n "(cached) " >&6
15496 > else
15497 >
15498 >  ax_check_save_flags=$CFLAGS
15499 >  CFLAGS="$CFLAGS  $flag"
15500 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15501 > /* end confdefs.h.  */
15502 >
15503 > int
15504 > main ()
15505 > {
15506 >
15507 >  ;
15508 >  return 0;
15509 > }
15510 > _ACEOF
15511 > if ac_fn_c_try_compile "$LINENO"; then :
15512 >  eval "$as_CACHEVAR=yes"
15513 > else
15514 >  eval "$as_CACHEVAR=no"
15515 > fi
15516 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15517 >  CFLAGS=$ax_check_save_flags
15518 > fi
15519 > eval ac_res=\$$as_CACHEVAR
15520 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15521 > $as_echo "$ac_res" >&6; }
15522 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15523 >  if ${CFLAGS+:} false; then :
15524 >  case " $CFLAGS " in
15525 >    *" $flag "*)
15526 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15527 >  (: CFLAGS already contains $flag) 2>&5
15528 >  ac_status=$?
15529 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15530 >  test $ac_status = 0; }
15531 >      ;;
15532 >    *)
15533 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15534 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15535 >  ac_status=$?
15536 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15537 >  test $ac_status = 0; }
15538 >      CFLAGS="$CFLAGS $flag"
15539 >      ;;
15540 >   esac
15541 > else
15542 >  CFLAGS="$flag"
15543 > fi
15544 >
15545 > else
15546 >  :
15547 > fi
15548 >
15549 > done
15550 >
15551    fi
15552  
15553  
# Line 14562 | Line 15637 | _ACEOF
15637    test "$exec_prefix_NONE" && exec_prefix=NONE
15638  
15639  
15640 < ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15640 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15641  
15642  
15643   cat >confcache <<\_ACEOF
# Line 14732 | Line 15807 | if test -z "${ENABLE_SSL_TRUE}" && test
15807    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15808   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15809   fi
14735 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14736  as_fn_error $? "conditional \"EFNET\" was never defined.
14737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14738 fi
15810  
15811   : "${CONFIG_STATUS=./config.status}"
15812   ac_write_fail=0
# Line 15133 | 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 8beta1, 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 15199 | 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 8beta1
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  
# Line 15609 | Line 16680 | do
16680      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16681      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16682      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15612    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15613    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16683      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16684      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15616    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16685      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16686      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16687      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16688      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15621    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15622    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16689      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16690  
16691    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16217 | Line 17283 | $as_echo "$as_me: executing $ac_file com
17283  
17284    case $ac_file$ac_mode in
17285      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17286 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17286 >  # Older Autoconf quotes --file arguments for eval, but not when files
17287    # are listed without --file.  Let's play safe and only enable the eval
17288    # if we detect the quoting.
17289    case $CONFIG_FILES in
# Line 16268 | Line 17334 | $as_echo X"$mf" |
17334      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17335      test -z "$DEPDIR" && continue
17336      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17337 <    test -z "am__include" && continue
17337 >    test -z "$am__include" && continue
17338      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17339      # Find all dependency output files, they are included files with
17340      # $(DEPDIR) in their names.  We invoke sed twice because it is the

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1373 by michael, Fri Apr 27 07:32:34 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4359 by michael, Sat Aug 2 20:37:47 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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