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 1402 by michael, Wed May 9 18:42:45 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4334 by michael, Sat Aug 2 15:53:31 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1373 2012-04-27 07:32:34Z michael .
2 > # From configure.ac Id: configure.ac 4294 2014-07-20 10:33:10Z 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 723 | 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 787 | 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 800 | 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
806 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
810 enable_rtsigio
814   enable_poll
812 enable_select
813 with_nicklen
814 with_topiclen
815 enable_halfops
815   enable_debugging
816   enable_warnings
817   '
# Line 1367 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 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 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 8beta1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1445 | 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 1458 | 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
1465  --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.
1469  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1471  --enable-select         Force select usage.
1472  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1484 | 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
1487  --with-nicklen=<value>  Set nickname length (default 9).
1488  --with-topiclen=<value> Set topic length (default 160).
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1569 | 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 2095 | 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 2375 | Line 2370 | $as_echo "$as_me: creating cache $cache_
2370    >$cache_file
2371   fi
2372  
2378 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 2455 | 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 2668 | 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 2827 | Line 2821 | fi
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2822   $as_echo "$MKDIR_P" >&6; }
2823  
2830 mkdir_p="$MKDIR_P"
2831 case $mkdir_p in
2832  [\\/$]* | ?:[\\/]*) ;;
2833  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2834 esac
2835
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 2915 | 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 2937 | 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 2965 | 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 2978 | 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 3000 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 3857 | 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 8417 | 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 13030 | 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 >
13217 >
13218 >
13219 >
13220 > for flag in -fno-strict-aliasing; do
13221 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13222 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13223 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13224 > if eval \${$as_CACHEVAR+:} false; then :
13225 >  $as_echo_n "(cached) " >&6
13226 > else
13227 >
13228 >  ax_check_save_flags=$CFLAGS
13229 >  CFLAGS="$CFLAGS  $flag"
13230 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 > /* end confdefs.h.  */
13232 >
13233 > int
13234 > main ()
13235 > {
13236 >
13237 >  ;
13238 >  return 0;
13239 > }
13240 > _ACEOF
13241 > if ac_fn_c_try_compile "$LINENO"; then :
13242 >  eval "$as_CACHEVAR=yes"
13243 > else
13244 >  eval "$as_CACHEVAR=no"
13245 > fi
13246 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13247 >  CFLAGS=$ax_check_save_flags
13248 > fi
13249 > eval ac_res=\$$as_CACHEVAR
13250 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13251 > $as_echo "$ac_res" >&6; }
13252 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13253 >  if ${CFLAGS+:} false; then :
13254 >  case " $CFLAGS " in
13255 >    *" $flag "*)
13256 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13257 >  (: CFLAGS already contains $flag) 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 \$flag\""; } >&5
13264 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13265 >  ac_status=$?
13266 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 >  test $ac_status = 0; }
13268 >      CFLAGS="$CFLAGS $flag"
13269 >      ;;
13270 >   esac
13271 > else
13272 >  CFLAGS="$flag"
13273 > fi
13274 >
13275 > else
13276 >  :
13277 > fi
13278 >
13279 > done
13280 >
13281 >
13282 >
13283 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13284 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13285 >
13286 > else
13287 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13288 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13289 > if ${ac_cv_search_getaddrinfo+:} false; then :
13290    $as_echo_n "(cached) " >&6
13291   else
13292    ac_func_search_save_LIBS=$LIBS
# Line 13045 | Line 13299 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13299   #ifdef __cplusplus
13300   extern "C"
13301   #endif
13302 < char socket ();
13302 > char getaddrinfo ();
13303   int
13304   main ()
13305   {
13306 < return socket ();
13306 > return getaddrinfo ();
13307    ;
13308    return 0;
13309   }
13310   _ACEOF
13311 < for ac_lib in '' socket; do
13311 > for ac_lib in '' nsl; do
13312    if test -z "$ac_lib"; then
13313      ac_res="none required"
13314    else
# Line 13062 | Line 13316 | for ac_lib in '' socket; do
13316      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13317    fi
13318    if ac_fn_c_try_link "$LINENO"; then :
13319 <  ac_cv_search_socket=$ac_res
13319 >  ac_cv_search_getaddrinfo=$ac_res
13320   fi
13321   rm -f core conftest.err conftest.$ac_objext \
13322      conftest$ac_exeext
13323 <  if ${ac_cv_search_socket+:} false; then :
13323 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13324    break
13325   fi
13326   done
13327 < if ${ac_cv_search_socket+:} false; then :
13327 > if ${ac_cv_search_getaddrinfo+:} false; then :
13328  
13329   else
13330 <  ac_cv_search_socket=no
13330 >  ac_cv_search_getaddrinfo=no
13331   fi
13332   rm conftest.$ac_ext
13333   LIBS=$ac_func_search_save_LIBS
13334   fi
13335 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13336 < $as_echo "$ac_cv_search_socket" >&6; }
13337 < ac_res=$ac_cv_search_socket
13335 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13336 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13337 > ac_res=$ac_cv_search_getaddrinfo
13338   if test "$ac_res" != no; then :
13339    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13340  
13087 else
13088  as_fn_error $? "socket library not found" "$LINENO" 5
13341   fi
13342  
13343 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13344 < $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13345 < if ${ac_cv_search_inet_ntoa+:} false; then :
13343 > fi
13344 >
13345 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13346 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13347 >
13348 > else
13349 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13350 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13351 > if ${ac_cv_search_getnameinfo+:} false; then :
13352    $as_echo_n "(cached) " >&6
13353   else
13354    ac_func_search_save_LIBS=$LIBS
# Line 13103 | Line 13361 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13361   #ifdef __cplusplus
13362   extern "C"
13363   #endif
13364 < char inet_ntoa ();
13364 > char getnameinfo ();
13365   int
13366   main ()
13367   {
13368 < return inet_ntoa ();
13368 > return getnameinfo ();
13369    ;
13370    return 0;
13371   }
# Line 13120 | Line 13378 | for ac_lib in '' nsl; do
13378      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13379    fi
13380    if ac_fn_c_try_link "$LINENO"; then :
13381 <  ac_cv_search_inet_ntoa=$ac_res
13381 >  ac_cv_search_getnameinfo=$ac_res
13382   fi
13383   rm -f core conftest.err conftest.$ac_objext \
13384      conftest$ac_exeext
13385 <  if ${ac_cv_search_inet_ntoa+:} false; then :
13385 >  if ${ac_cv_search_getnameinfo+:} false; then :
13386    break
13387   fi
13388   done
13389 < if ${ac_cv_search_inet_ntoa+:} false; then :
13389 > if ${ac_cv_search_getnameinfo+:} false; then :
13390  
13391   else
13392 <  ac_cv_search_inet_ntoa=no
13392 >  ac_cv_search_getnameinfo=no
13393   fi
13394   rm conftest.$ac_ext
13395   LIBS=$ac_func_search_save_LIBS
13396   fi
13397 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13398 < $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13399 < ac_res=$ac_cv_search_inet_ntoa
13397 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13398 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13399 > ac_res=$ac_cv_search_getnameinfo
13400   if test "$ac_res" != no; then :
13401    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13402  
13403   fi
13404  
13405 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13406 < $as_echo_n "checking for library containing inet_aton... " >&6; }
13407 < if ${ac_cv_search_inet_aton+:} false; then :
13405 > fi
13406 >
13407 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13408 > $as_echo_n "checking for library containing socket... " >&6; }
13409 > if ${ac_cv_search_socket+:} false; then :
13410    $as_echo_n "(cached) " >&6
13411   else
13412    ac_func_search_save_LIBS=$LIBS
# Line 13159 | Line 13419 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13419   #ifdef __cplusplus
13420   extern "C"
13421   #endif
13422 < char inet_aton ();
13422 > char socket ();
13423   int
13424   main ()
13425   {
13426 < return inet_aton ();
13426 > return socket ();
13427    ;
13428    return 0;
13429   }
13430   _ACEOF
13431 < for ac_lib in '' resolv; do
13431 > for ac_lib in '' socket; do
13432    if test -z "$ac_lib"; then
13433      ac_res="none required"
13434    else
# Line 13176 | Line 13436 | for ac_lib in '' resolv; do
13436      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13437    fi
13438    if ac_fn_c_try_link "$LINENO"; then :
13439 <  ac_cv_search_inet_aton=$ac_res
13439 >  ac_cv_search_socket=$ac_res
13440   fi
13441   rm -f core conftest.err conftest.$ac_objext \
13442      conftest$ac_exeext
13443 <  if ${ac_cv_search_inet_aton+:} false; then :
13443 >  if ${ac_cv_search_socket+:} false; then :
13444    break
13445   fi
13446   done
13447 < if ${ac_cv_search_inet_aton+:} false; then :
13447 > if ${ac_cv_search_socket+:} false; then :
13448  
13449   else
13450 <  ac_cv_search_inet_aton=no
13450 >  ac_cv_search_socket=no
13451   fi
13452   rm conftest.$ac_ext
13453   LIBS=$ac_func_search_save_LIBS
13454   fi
13455 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13456 < $as_echo "$ac_cv_search_inet_aton" >&6; }
13457 < ac_res=$ac_cv_search_inet_aton
13455 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13456 > $as_echo "$ac_cv_search_socket" >&6; }
13457 > ac_res=$ac_cv_search_socket
13458   if test "$ac_res" != no; then :
13459    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13460  
13461 + else
13462 +  as_fn_error $? "socket library not found" "$LINENO" 5
13463   fi
13464  
13203  for ac_func in inet_aton inet_ntop inet_pton
13204 do :
13205  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13207 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13208  cat >>confdefs.h <<_ACEOF
13209 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13210 _ACEOF
13211
13212 fi
13213 done
13214
13465    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13466     #include <sys/socket.h>
13467     #include <netdb.h>
# Line 13528 | Line 13778 | done
13778  
13779  
13780  
13531
13532
13781   # Checks for header files.
13782  
13783  
# Line 13621 | Line 13869 | if test "$ac_res" != no; then :
13869   fi
13870  
13871  
13872 < # Check whether --enable-libpcre was given.
13873 < if test "${enable_libpcre+set}" = set; then :
13874 <  enableval=$enable_libpcre;
13875 < else
13876 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13877 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13878 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13879 < $as_echo_n "checking for library containing pcre_study... " >&6; }
13880 < if ${ac_cv_search_pcre_study+:} false; then :
13872 > # Check whether --enable-libgeoip was given.
13873 > if test "${enable_libgeoip+set}" = set; then :
13874 >  enableval=$enable_libgeoip;
13875 > else
13876 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13877 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13878 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13879 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13880 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13881    $as_echo_n "(cached) " >&6
13882   else
13883    ac_func_search_save_LIBS=$LIBS
# Line 13642 | Line 13890 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13890   #ifdef __cplusplus
13891   extern "C"
13892   #endif
13893 < char pcre_study ();
13893 > char GeoIP_id_by_ipnum_v6_gl ();
13894   int
13895   main ()
13896   {
13897 < return pcre_study ();
13897 > return GeoIP_id_by_ipnum_v6_gl ();
13898    ;
13899    return 0;
13900   }
13901   _ACEOF
13902 < for ac_lib in '' pcre; do
13902 > for ac_lib in '' GeoIP; do
13903    if test -z "$ac_lib"; then
13904      ac_res="none required"
13905    else
# Line 13659 | Line 13907 | for ac_lib in '' pcre; do
13907      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13908    fi
13909    if ac_fn_c_try_link "$LINENO"; then :
13910 <  ac_cv_search_pcre_study=$ac_res
13910 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13911   fi
13912   rm -f core conftest.err conftest.$ac_objext \
13913      conftest$ac_exeext
13914 <  if ${ac_cv_search_pcre_study+:} false; then :
13914 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13915    break
13916   fi
13917   done
13918 < if ${ac_cv_search_pcre_study+:} false; then :
13918 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13919  
13920   else
13921 <  ac_cv_search_pcre_study=no
13921 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13922   fi
13923   rm conftest.$ac_ext
13924   LIBS=$ac_func_search_save_LIBS
13925   fi
13926 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13927 < $as_echo "$ac_cv_search_pcre_study" >&6; }
13928 < ac_res=$ac_cv_search_pcre_study
13926 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13927 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13928 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13929   if test "$ac_res" != no; then :
13930    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13931  
13932 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13932 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13933  
13934   fi
13935  
# Line 13691 | Line 13939 | fi
13939   fi
13940  
13941  
13942 +
13943   # Check whether --enable-openssl was given.
13944   if test "${enable_openssl+set}" = set; then :
13945    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13745 | Line 13994 | $as_echo "disabled" >&6; }
13994   fi
13995  
13996   if test "$cf_enable_openssl" != "no"; then :
13997 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13998 < $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13997 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
13998 > $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
13999    if test "$cross_compiling" = yes; then :
14000    cf_openssl_version_ok=no
14001   else
# Line 13759 | Line 14008 | else
14008   int
14009   main ()
14010   {
14011 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14011 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14012    ;
14013    return 0;
14014   }
# Line 13778 | Line 14027 | fi
14027    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14028   $as_echo "found" >&6; }
14029  
14030 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14031 < $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14032 < if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14030 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14031 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14032 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14033    $as_echo_n "(cached) " >&6
14034   else
14035    ac_check_lib_save_LIBS=$LIBS
14036 < LIBS="-lssl  $LIBS"
14036 > LIBS="-lcrypto  $LIBS"
14037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038   /* end confdefs.h.  */
14039  
# Line 13794 | Line 14043 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14043   #ifdef __cplusplus
14044   extern "C"
14045   #endif
14046 < char SSL_connect ();
14046 > char RSA_free ();
14047   int
14048   main ()
14049   {
14050 < return SSL_connect ();
14050 > return RSA_free ();
14051    ;
14052    return 0;
14053   }
14054   _ACEOF
14055   if ac_fn_c_try_link "$LINENO"; then :
14056 <  ac_cv_lib_ssl_SSL_connect=yes
14056 >  ac_cv_lib_crypto_RSA_free=yes
14057   else
14058 <  ac_cv_lib_ssl_SSL_connect=no
14058 >  ac_cv_lib_crypto_RSA_free=no
14059   fi
14060   rm -f core conftest.err conftest.$ac_objext \
14061      conftest$ac_exeext conftest.$ac_ext
14062   LIBS=$ac_check_lib_save_LIBS
14063   fi
14064 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14065 < $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14066 < if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14064 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14065 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14066 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14067    cat >>confdefs.h <<_ACEOF
14068 < #define HAVE_LIBSSL 1
14068 > #define HAVE_LIBCRYPTO 1
14069   _ACEOF
14070  
14071 <  LIBS="-lssl $LIBS"
14071 >  LIBS="-lcrypto $LIBS"
14072  
14073   fi
14074  
14075 <    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
14076 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14077 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14078 < if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14075 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14076 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14077 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14078 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14079    $as_echo_n "(cached) " >&6
14080   else
14081    ac_check_lib_save_LIBS=$LIBS
14082 < LIBS="-lcrypto  $LIBS"
14082 > LIBS="-lssl  $LIBS"
14083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084   /* end confdefs.h.  */
14085  
# Line 13840 | Line 14089 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14089   #ifdef __cplusplus
14090   extern "C"
14091   #endif
14092 < char RSA_free ();
14092 > char SSL_connect ();
14093   int
14094   main ()
14095   {
14096 < return RSA_free ();
14096 > return SSL_connect ();
14097    ;
14098    return 0;
14099   }
14100   _ACEOF
14101   if ac_fn_c_try_link "$LINENO"; then :
14102 <  ac_cv_lib_crypto_RSA_free=yes
14102 >  ac_cv_lib_ssl_SSL_connect=yes
14103   else
14104 <  ac_cv_lib_crypto_RSA_free=no
14104 >  ac_cv_lib_ssl_SSL_connect=no
14105   fi
14106   rm -f core conftest.err conftest.$ac_objext \
14107      conftest$ac_exeext conftest.$ac_ext
14108   LIBS=$ac_check_lib_save_LIBS
14109   fi
14110 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14111 < $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14112 < if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14110 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14111 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14112 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14113    cat >>confdefs.h <<_ACEOF
14114 < #define HAVE_LIBCRYPTO 1
14114 > #define HAVE_LIBSSL 1
14115   _ACEOF
14116  
14117 <  LIBS="-lcrypto $LIBS"
14117 >  LIBS="-lssl $LIBS"
14118  
14119   fi
14120  
# Line 13878 | Line 14127 | $as_echo "no - OpenSSL support disabled"
14127   fi
14128   fi
14129  
14130 < if test "$ac_cv_lib_crypto_RSA_free" = yes; then
14130 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14131    ENABLE_SSL_TRUE=
14132    ENABLE_SSL_FALSE='#'
14133   else
# Line 13903 | Line 14152 | $as_echo "#define NDEBUG 1" >>confdefs.h
14152   fi
14153  
14154  
14155 < # Check whether --enable-small-net was given.
13907 < if test "${enable_small_net+set}" = set; then :
13908 <  enableval=$enable_small_net; small_net=$enableval
13909 < else
13910 <  small_net=no
13911 < fi
13912 <
13913 <
13914 < if test "$small_net" = "yes"; then :
13915 <
13916 <
13917 < $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13918 <
13919 <
13920 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13921 <
13922 <
13923 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14155 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14156  
14157  
14158 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14158 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14159  
14160  
14161 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14161 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14162  
14163  
14164 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14164 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14165  
14166  
14167 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14167 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14168  
14169  
14170 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14170 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14171  
14172  
14173 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14173 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14174  
14175  
14176 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14176 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14177  
13946 else
13947
13948
13949
13950 $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13951
13952
13953 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13954
13955
13956 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14178  
14179 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14180  
13959 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14181  
14182 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14183  
13962 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14184  
14185 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14186  
13965 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14187  
14188 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14189  
13968 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14190  
14191 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14192  
13971 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14193  
14194 <
13974 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13975 <
13976 <
13977 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13978 <
13979 < fi
14194 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14195  
14196  
14197   # Argument processing.
# Line 13997 | Line 14212 | if test "${enable_devpoll+set}" = set; t
14212    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14213   fi
14214  
14000  # Check whether --enable-rtsigio was given.
14001 if test "${enable_rtsigio+set}" = set; then :
14002  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14003 fi
14004
14215    # Check whether --enable-poll was given.
14216   if test "${enable_poll+set}" = set; then :
14217    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14218   fi
14219  
14010  # Check whether --enable-select was given.
14011 if test "${enable_select+set}" = set; then :
14012  enableval=$enable_select; desired_iopoll_mechanism="select"
14013 fi
14014
14220        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14221   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14222    iopoll_mechanism_none=0
# Line 14185 | Line 14390 | rm -f core conftest.err conftest.$ac_obj
14390   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14391  
14392    fi
14393 <      iopoll_mechanism_rtsigio=4
14189 <
14190 < cat >>confdefs.h <<_ACEOF
14191 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14192 < _ACEOF
14193 <
14194 <  if test "$cross_compiling" = yes; then :
14195 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14196 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14197 < as_fn_error $? "cannot run test program while cross compiling
14198 < See \`config.log' for more details" "$LINENO" 5; }
14199 < else
14200 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 < /* end confdefs.h.  */
14202 <
14203 < #define _GNU_SOURCE
14204 < #include <fcntl.h>
14205 < static unsigned int have_f_setsig = 0;
14206 <
14207 < int
14208 < main ()
14209 < {
14210 <
14211 < #ifdef F_SETSIG
14212 <  have_f_setsig = 1;
14213 < #endif
14214 <  return have_f_setsig == 0;
14215 <
14216 <  ;
14217 <  return 0;
14218 < }
14219 < _ACEOF
14220 < if ac_fn_c_try_run "$LINENO"; then :
14221 <  is_rtsigio_mechanism_available="yes"
14222 < else
14223 <  is_rtsigio_mechanism_available="no"
14224 < fi
14225 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14226 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14227 < fi
14228 <
14229 <      iopoll_mechanism_poll=5
14393 >      iopoll_mechanism_poll=4
14394  
14395   cat >>confdefs.h <<_ACEOF
14396   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14280 | Line 14444 | else
14444   fi
14445   rm -f core conftest.err conftest.$ac_objext \
14446      conftest$ac_exeext conftest.$ac_ext
14283      iopoll_mechanism_select=6
14284
14285 cat >>confdefs.h <<_ACEOF
14286 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14287 _ACEOF
14288
14289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h.  */
14291 /* Define select to an innocuous variant, in case <limits.h> declares select.
14292   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14293 #define select innocuous_select
14294
14295 /* System header to define __stub macros and hopefully few prototypes,
14296    which can conflict with char select (); below.
14297    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14298    <limits.h> exists even on freestanding compilers.  */
14299
14300 #ifdef __STDC__
14301 # include <limits.h>
14302 #else
14303 # include <assert.h>
14304 #endif
14305
14306 #undef select
14307
14308 /* Override any GCC internal prototype to avoid an error.
14309   Use char because int might match the return type of a GCC
14310   builtin and then its argument prototype would still apply.  */
14311 #ifdef __cplusplus
14312 extern "C"
14313 #endif
14314 char select ();
14315 /* The GNU C library defines this for functions which it implements
14316    to always fail with ENOSYS.  Some functions are actually named
14317    something starting with __ and the normal name is an alias.  */
14318 #if defined __stub_select || defined __stub___select
14319 choke me
14320 #endif
14321
14322 int
14323 main ()
14324 {
14325 return select ();
14326  ;
14327  return 0;
14328 }
14329 _ACEOF
14330 if ac_fn_c_try_link "$LINENO"; then :
14331  is_select_mechanism_available="yes"
14332 else
14333  is_select_mechanism_available="no"
14334 fi
14335 rm -f core conftest.err conftest.$ac_objext \
14336    conftest$ac_exeext conftest.$ac_ext
14447        optimal_iopoll_mechanism="none"
14448 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14448 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14449      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14450      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14451        optimal_iopoll_mechanism="$mechanism"
# Line 14372 | Line 14482 | _ACEOF
14482  
14483  
14484  
14485 +  # Check whether --enable-debugging was given.
14486 + if test "${enable_debugging+set}" = set; then :
14487 +  enableval=$enable_debugging; debugging="$enableval"
14488 + else
14489 +  debugging="no"
14490 + fi
14491  
14492 < # Check whether --with-nicklen was given.
14493 < if test "${with_nicklen+set}" = set; then :
14494 <  withval=$with_nicklen; nicklen="$withval"
14492 >  if test "$debugging" = "yes" ; then
14493 >    CFLAGS="-Wall -g -O0"
14494 >  fi
14495 >
14496 >
14497 >  # Check whether --enable-warnings was given.
14498 > if test "${enable_warnings+set}" = set; then :
14499 >  enableval=$enable_warnings; warnings="$enableval"
14500   else
14501 <  nicklen="9"
14501 >  warnings="no"
14502   fi
14503  
14504 +  if test "$warnings" = "yes" ; then
14505  
14506 < cat >>confdefs.h <<_ACEOF
14507 < #define NICKLEN ($nicklen+1)
14506 >
14507 >
14508 >
14509 > for flag in -Wall; do
14510 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14511 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14512 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14513 > if eval \${$as_CACHEVAR+:} false; then :
14514 >  $as_echo_n "(cached) " >&6
14515 > else
14516 >
14517 >  ax_check_save_flags=$CFLAGS
14518 >  CFLAGS="$CFLAGS  $flag"
14519 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 > /* end confdefs.h.  */
14521 >
14522 > int
14523 > main ()
14524 > {
14525 >
14526 >  ;
14527 >  return 0;
14528 > }
14529   _ACEOF
14530 + if ac_fn_c_try_compile "$LINENO"; then :
14531 +  eval "$as_CACHEVAR=yes"
14532 + else
14533 +  eval "$as_CACHEVAR=no"
14534 + fi
14535 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14536 +  CFLAGS=$ax_check_save_flags
14537 + fi
14538 + eval ac_res=\$$as_CACHEVAR
14539 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14540 + $as_echo "$ac_res" >&6; }
14541 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14542 +  if ${CFLAGS+:} false; then :
14543 +  case " $CFLAGS " in
14544 +    *" $flag "*)
14545 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14546 +  (: CFLAGS already contains $flag) 2>&5
14547 +  ac_status=$?
14548 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14549 +  test $ac_status = 0; }
14550 +      ;;
14551 +    *)
14552 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14553 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14554 +  ac_status=$?
14555 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14556 +  test $ac_status = 0; }
14557 +      CFLAGS="$CFLAGS $flag"
14558 +      ;;
14559 +   esac
14560 + else
14561 +  CFLAGS="$flag"
14562 + fi
14563 +
14564 + else
14565 +  :
14566 + fi
14567 +
14568 + done
14569  
14570  
14571  
14572  
14573 < # Check whether --with-topiclen was given.
14574 < if test "${with_topiclen+set}" = set; then :
14575 <  withval=$with_topiclen; topiclen="$withval"
14573 >
14574 > for flag in -Wextra; do
14575 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14576 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14577 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14578 > if eval \${$as_CACHEVAR+:} false; then :
14579 >  $as_echo_n "(cached) " >&6
14580   else
14581 <  topiclen="160"
14581 >
14582 >  ax_check_save_flags=$CFLAGS
14583 >  CFLAGS="$CFLAGS  $flag"
14584 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 > /* end confdefs.h.  */
14586 >
14587 > int
14588 > main ()
14589 > {
14590 >
14591 >  ;
14592 >  return 0;
14593 > }
14594 > _ACEOF
14595 > if ac_fn_c_try_compile "$LINENO"; then :
14596 >  eval "$as_CACHEVAR=yes"
14597 > else
14598 >  eval "$as_CACHEVAR=no"
14599 > fi
14600 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14601 >  CFLAGS=$ax_check_save_flags
14602 > fi
14603 > eval ac_res=\$$as_CACHEVAR
14604 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14605 > $as_echo "$ac_res" >&6; }
14606 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14607 >  if ${CFLAGS+:} false; then :
14608 >  case " $CFLAGS " in
14609 >    *" $flag "*)
14610 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14611 >  (: CFLAGS already contains $flag) 2>&5
14612 >  ac_status=$?
14613 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14614 >  test $ac_status = 0; }
14615 >      ;;
14616 >    *)
14617 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14618 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14619 >  ac_status=$?
14620 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621 >  test $ac_status = 0; }
14622 >      CFLAGS="$CFLAGS $flag"
14623 >      ;;
14624 >   esac
14625 > else
14626 >  CFLAGS="$flag"
14627 > fi
14628 >
14629 > else
14630 >  :
14631   fi
14632  
14633 + done
14634  
14635 < cat >>confdefs.h <<_ACEOF
14636 < #define TOPICLEN ($topiclen)
14635 >
14636 >
14637 >
14638 >
14639 > for flag in -Wno-unused; do
14640 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14641 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14642 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14643 > if eval \${$as_CACHEVAR+:} false; then :
14644 >  $as_echo_n "(cached) " >&6
14645 > else
14646 >
14647 >  ax_check_save_flags=$CFLAGS
14648 >  CFLAGS="$CFLAGS  $flag"
14649 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 > /* end confdefs.h.  */
14651 >
14652 > int
14653 > main ()
14654 > {
14655 >
14656 >  ;
14657 >  return 0;
14658 > }
14659   _ACEOF
14660 + if ac_fn_c_try_compile "$LINENO"; then :
14661 +  eval "$as_CACHEVAR=yes"
14662 + else
14663 +  eval "$as_CACHEVAR=no"
14664 + fi
14665 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 +  CFLAGS=$ax_check_save_flags
14667 + fi
14668 + eval ac_res=\$$as_CACHEVAR
14669 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14670 + $as_echo "$ac_res" >&6; }
14671 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14672 +  if ${CFLAGS+:} false; then :
14673 +  case " $CFLAGS " in
14674 +    *" $flag "*)
14675 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14676 +  (: CFLAGS already contains $flag) 2>&5
14677 +  ac_status=$?
14678 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14679 +  test $ac_status = 0; }
14680 +      ;;
14681 +    *)
14682 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14683 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14684 +  ac_status=$?
14685 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14686 +  test $ac_status = 0; }
14687 +      CFLAGS="$CFLAGS $flag"
14688 +      ;;
14689 +   esac
14690 + else
14691 +  CFLAGS="$flag"
14692 + fi
14693 +
14694 + else
14695 +  :
14696 + fi
14697  
14698 + done
14699  
14700  
14701 <  # Check whether --enable-halfops was given.
14702 < if test "${enable_halfops+set}" = set; then :
14703 <  enableval=$enable_halfops; halfops="$enableval"
14701 >
14702 >
14703 >
14704 > for flag in -Wcast-qual; do
14705 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14706 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14707 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14708 > if eval \${$as_CACHEVAR+:} false; then :
14709 >  $as_echo_n "(cached) " >&6
14710   else
14711 <  halfops="no"
14711 >
14712 >  ax_check_save_flags=$CFLAGS
14713 >  CFLAGS="$CFLAGS  $flag"
14714 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 > /* end confdefs.h.  */
14716 >
14717 > int
14718 > main ()
14719 > {
14720 >
14721 >  ;
14722 >  return 0;
14723 > }
14724 > _ACEOF
14725 > if ac_fn_c_try_compile "$LINENO"; then :
14726 >  eval "$as_CACHEVAR=yes"
14727 > else
14728 >  eval "$as_CACHEVAR=no"
14729 > fi
14730 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14731 >  CFLAGS=$ax_check_save_flags
14732 > fi
14733 > eval ac_res=\$$as_CACHEVAR
14734 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14735 > $as_echo "$ac_res" >&6; }
14736 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14737 >  if ${CFLAGS+:} false; then :
14738 >  case " $CFLAGS " in
14739 >    *" $flag "*)
14740 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14741 >  (: CFLAGS already contains $flag) 2>&5
14742 >  ac_status=$?
14743 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14744 >  test $ac_status = 0; }
14745 >      ;;
14746 >    *)
14747 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14748 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14749 >  ac_status=$?
14750 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14751 >  test $ac_status = 0; }
14752 >      CFLAGS="$CFLAGS $flag"
14753 >      ;;
14754 >   esac
14755 > else
14756 >  CFLAGS="$flag"
14757   fi
14758  
14759 <  if test "$halfops" = "yes" ; then
14759 > else
14760 >  :
14761 > fi
14762  
14763 < $as_echo "#define HALFOPS 1" >>confdefs.h
14763 > done
14764  
14416  fi
14765  
14766  
14767 <  # Check whether --enable-debugging was given.
14768 < if test "${enable_debugging+set}" = set; then :
14769 <  enableval=$enable_debugging; debugging="$enableval"
14767 >
14768 >
14769 > for flag in -Wcast-align; do
14770 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14771 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14772 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14773 > if eval \${$as_CACHEVAR+:} false; then :
14774 >  $as_echo_n "(cached) " >&6
14775   else
14776 <  debugging="no"
14776 >
14777 >  ax_check_save_flags=$CFLAGS
14778 >  CFLAGS="$CFLAGS  $flag"
14779 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 > /* end confdefs.h.  */
14781 >
14782 > int
14783 > main ()
14784 > {
14785 >
14786 >  ;
14787 >  return 0;
14788 > }
14789 > _ACEOF
14790 > if ac_fn_c_try_compile "$LINENO"; then :
14791 >  eval "$as_CACHEVAR=yes"
14792 > else
14793 >  eval "$as_CACHEVAR=no"
14794 > fi
14795 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 >  CFLAGS=$ax_check_save_flags
14797 > fi
14798 > eval ac_res=\$$as_CACHEVAR
14799 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14800 > $as_echo "$ac_res" >&6; }
14801 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14802 >  if ${CFLAGS+:} false; then :
14803 >  case " $CFLAGS " in
14804 >    *" $flag "*)
14805 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14806 >  (: CFLAGS already contains $flag) 2>&5
14807 >  ac_status=$?
14808 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14809 >  test $ac_status = 0; }
14810 >      ;;
14811 >    *)
14812 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14813 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14814 >  ac_status=$?
14815 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14816 >  test $ac_status = 0; }
14817 >      CFLAGS="$CFLAGS $flag"
14818 >      ;;
14819 >   esac
14820 > else
14821 >  CFLAGS="$flag"
14822   fi
14823  
14824 <  if test "$debugging" = "yes" ; then
14824 > else
14825 >  :
14826 > fi
14827  
14828 < $as_echo "#define DEBUG 1" >>confdefs.h
14828 > done
14829  
14430    CFLAGS="-Wall -g -O0"
14431  else
14830  
14433 $as_echo "#define NDEBUG 1" >>confdefs.h
14831  
14435  fi
14832  
14833  
14834 <  # Check whether --enable-warnings was given.
14835 < if test "${enable_warnings+set}" = set; then :
14836 <  enableval=$enable_warnings; warnings="$enableval"
14834 > for flag in -Wbad-function-cast; do
14835 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14836 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14837 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14838 > if eval \${$as_CACHEVAR+:} false; then :
14839 >  $as_echo_n "(cached) " >&6
14840   else
14841 <  warnings="no"
14841 >
14842 >  ax_check_save_flags=$CFLAGS
14843 >  CFLAGS="$CFLAGS  $flag"
14844 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 > /* end confdefs.h.  */
14846 >
14847 > int
14848 > main ()
14849 > {
14850 >
14851 >  ;
14852 >  return 0;
14853 > }
14854 > _ACEOF
14855 > if ac_fn_c_try_compile "$LINENO"; then :
14856 >  eval "$as_CACHEVAR=yes"
14857 > else
14858 >  eval "$as_CACHEVAR=no"
14859 > fi
14860 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14861 >  CFLAGS=$ax_check_save_flags
14862 > fi
14863 > eval ac_res=\$$as_CACHEVAR
14864 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14865 > $as_echo "$ac_res" >&6; }
14866 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14867 >  if ${CFLAGS+:} false; then :
14868 >  case " $CFLAGS " in
14869 >    *" $flag "*)
14870 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14871 >  (: CFLAGS already contains $flag) 2>&5
14872 >  ac_status=$?
14873 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14874 >  test $ac_status = 0; }
14875 >      ;;
14876 >    *)
14877 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14878 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14879 >  ac_status=$?
14880 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14881 >  test $ac_status = 0; }
14882 >      CFLAGS="$CFLAGS $flag"
14883 >      ;;
14884 >   esac
14885 > else
14886 >  CFLAGS="$flag"
14887   fi
14888  
14889 <  if test "$warnings" = "yes" ; then
14890 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14889 > else
14890 >  :
14891 > fi
14892 >
14893 > done
14894 >
14895 >
14896 >
14897 >
14898 >
14899 > for flag in -Wlogical-op; do
14900 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14901 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14902 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14903 > if eval \${$as_CACHEVAR+:} false; then :
14904 >  $as_echo_n "(cached) " >&6
14905 > else
14906 >
14907 >  ax_check_save_flags=$CFLAGS
14908 >  CFLAGS="$CFLAGS  $flag"
14909 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 > /* end confdefs.h.  */
14911 >
14912 > int
14913 > main ()
14914 > {
14915 >
14916 >  ;
14917 >  return 0;
14918 > }
14919 > _ACEOF
14920 > if ac_fn_c_try_compile "$LINENO"; then :
14921 >  eval "$as_CACHEVAR=yes"
14922 > else
14923 >  eval "$as_CACHEVAR=no"
14924 > fi
14925 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14926 >  CFLAGS=$ax_check_save_flags
14927 > fi
14928 > eval ac_res=\$$as_CACHEVAR
14929 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14930 > $as_echo "$ac_res" >&6; }
14931 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14932 >  if ${CFLAGS+:} false; then :
14933 >  case " $CFLAGS " in
14934 >    *" $flag "*)
14935 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14936 >  (: CFLAGS already contains $flag) 2>&5
14937 >  ac_status=$?
14938 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14939 >  test $ac_status = 0; }
14940 >      ;;
14941 >    *)
14942 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14943 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14944 >  ac_status=$?
14945 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14946 >  test $ac_status = 0; }
14947 >      CFLAGS="$CFLAGS $flag"
14948 >      ;;
14949 >   esac
14950 > else
14951 >  CFLAGS="$flag"
14952 > fi
14953 >
14954 > else
14955 >  :
14956 > fi
14957 >
14958 > done
14959 >
14960 >
14961 >
14962 >
14963 >
14964 > for flag in -Wmissing-declarations; do
14965 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14966 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14967 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14968 > if eval \${$as_CACHEVAR+:} false; then :
14969 >  $as_echo_n "(cached) " >&6
14970 > else
14971 >
14972 >  ax_check_save_flags=$CFLAGS
14973 >  CFLAGS="$CFLAGS  $flag"
14974 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 > /* end confdefs.h.  */
14976 >
14977 > int
14978 > main ()
14979 > {
14980 >
14981 >  ;
14982 >  return 0;
14983 > }
14984 > _ACEOF
14985 > if ac_fn_c_try_compile "$LINENO"; then :
14986 >  eval "$as_CACHEVAR=yes"
14987 > else
14988 >  eval "$as_CACHEVAR=no"
14989 > fi
14990 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14991 >  CFLAGS=$ax_check_save_flags
14992 > fi
14993 > eval ac_res=\$$as_CACHEVAR
14994 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14995 > $as_echo "$ac_res" >&6; }
14996 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14997 >  if ${CFLAGS+:} false; then :
14998 >  case " $CFLAGS " in
14999 >    *" $flag "*)
15000 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15001 >  (: CFLAGS already contains $flag) 2>&5
15002 >  ac_status=$?
15003 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 >  test $ac_status = 0; }
15005 >      ;;
15006 >    *)
15007 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15008 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15009 >  ac_status=$?
15010 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15011 >  test $ac_status = 0; }
15012 >      CFLAGS="$CFLAGS $flag"
15013 >      ;;
15014 >   esac
15015 > else
15016 >  CFLAGS="$flag"
15017 > fi
15018 >
15019 > else
15020 >  :
15021 > fi
15022 >
15023 > done
15024 >
15025 >
15026 >
15027 >
15028 >
15029 > for flag in -Wmissing-include-dirs; do
15030 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15031 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15032 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15033 > if eval \${$as_CACHEVAR+:} false; then :
15034 >  $as_echo_n "(cached) " >&6
15035 > else
15036 >
15037 >  ax_check_save_flags=$CFLAGS
15038 >  CFLAGS="$CFLAGS  $flag"
15039 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 > /* end confdefs.h.  */
15041 >
15042 > int
15043 > main ()
15044 > {
15045 >
15046 >  ;
15047 >  return 0;
15048 > }
15049 > _ACEOF
15050 > if ac_fn_c_try_compile "$LINENO"; then :
15051 >  eval "$as_CACHEVAR=yes"
15052 > else
15053 >  eval "$as_CACHEVAR=no"
15054 > fi
15055 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15056 >  CFLAGS=$ax_check_save_flags
15057 > fi
15058 > eval ac_res=\$$as_CACHEVAR
15059 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15060 > $as_echo "$ac_res" >&6; }
15061 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15062 >  if ${CFLAGS+:} false; then :
15063 >  case " $CFLAGS " in
15064 >    *" $flag "*)
15065 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15066 >  (: CFLAGS already contains $flag) 2>&5
15067 >  ac_status=$?
15068 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15069 >  test $ac_status = 0; }
15070 >      ;;
15071 >    *)
15072 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15073 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15074 >  ac_status=$?
15075 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15076 >  test $ac_status = 0; }
15077 >      CFLAGS="$CFLAGS $flag"
15078 >      ;;
15079 >   esac
15080 > else
15081 >  CFLAGS="$flag"
15082 > fi
15083 >
15084 > else
15085 >  :
15086 > fi
15087 >
15088 > done
15089 >
15090 >
15091 >
15092 >
15093 >
15094 > for flag in -Wmissing-prototypes; do
15095 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15096 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15097 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15098 > if eval \${$as_CACHEVAR+:} false; then :
15099 >  $as_echo_n "(cached) " >&6
15100 > else
15101 >
15102 >  ax_check_save_flags=$CFLAGS
15103 >  CFLAGS="$CFLAGS  $flag"
15104 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 > /* end confdefs.h.  */
15106 >
15107 > int
15108 > main ()
15109 > {
15110 >
15111 >  ;
15112 >  return 0;
15113 > }
15114 > _ACEOF
15115 > if ac_fn_c_try_compile "$LINENO"; then :
15116 >  eval "$as_CACHEVAR=yes"
15117 > else
15118 >  eval "$as_CACHEVAR=no"
15119 > fi
15120 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 >  CFLAGS=$ax_check_save_flags
15122 > fi
15123 > eval ac_res=\$$as_CACHEVAR
15124 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15125 > $as_echo "$ac_res" >&6; }
15126 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15127 >  if ${CFLAGS+:} false; then :
15128 >  case " $CFLAGS " in
15129 >    *" $flag "*)
15130 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15131 >  (: CFLAGS already contains $flag) 2>&5
15132 >  ac_status=$?
15133 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15134 >  test $ac_status = 0; }
15135 >      ;;
15136 >    *)
15137 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15138 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15139 >  ac_status=$?
15140 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15141 >  test $ac_status = 0; }
15142 >      CFLAGS="$CFLAGS $flag"
15143 >      ;;
15144 >   esac
15145 > else
15146 >  CFLAGS="$flag"
15147 > fi
15148 >
15149 > else
15150 >  :
15151 > fi
15152 >
15153 > done
15154 >
15155 >
15156 >
15157 >
15158 >
15159 > for flag in -Wnested-externs; do
15160 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15161 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15162 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15163 > if eval \${$as_CACHEVAR+:} false; then :
15164 >  $as_echo_n "(cached) " >&6
15165 > else
15166 >
15167 >  ax_check_save_flags=$CFLAGS
15168 >  CFLAGS="$CFLAGS  $flag"
15169 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 > /* end confdefs.h.  */
15171 >
15172 > int
15173 > main ()
15174 > {
15175 >
15176 >  ;
15177 >  return 0;
15178 > }
15179 > _ACEOF
15180 > if ac_fn_c_try_compile "$LINENO"; then :
15181 >  eval "$as_CACHEVAR=yes"
15182 > else
15183 >  eval "$as_CACHEVAR=no"
15184 > fi
15185 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 >  CFLAGS=$ax_check_save_flags
15187 > fi
15188 > eval ac_res=\$$as_CACHEVAR
15189 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15190 > $as_echo "$ac_res" >&6; }
15191 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15192 >  if ${CFLAGS+:} false; then :
15193 >  case " $CFLAGS " in
15194 >    *" $flag "*)
15195 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15196 >  (: CFLAGS already contains $flag) 2>&5
15197 >  ac_status=$?
15198 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 >  test $ac_status = 0; }
15200 >      ;;
15201 >    *)
15202 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15203 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15204 >  ac_status=$?
15205 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15206 >  test $ac_status = 0; }
15207 >      CFLAGS="$CFLAGS $flag"
15208 >      ;;
15209 >   esac
15210 > else
15211 >  CFLAGS="$flag"
15212 > fi
15213 >
15214 > else
15215 >  :
15216 > fi
15217 >
15218 > done
15219 >
15220 >
15221 >
15222 >
15223 >
15224 > for flag in -Wpointer-arith; do
15225 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15226 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15227 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15228 > if eval \${$as_CACHEVAR+:} false; then :
15229 >  $as_echo_n "(cached) " >&6
15230 > else
15231 >
15232 >  ax_check_save_flags=$CFLAGS
15233 >  CFLAGS="$CFLAGS  $flag"
15234 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 > /* end confdefs.h.  */
15236 >
15237 > int
15238 > main ()
15239 > {
15240 >
15241 >  ;
15242 >  return 0;
15243 > }
15244 > _ACEOF
15245 > if ac_fn_c_try_compile "$LINENO"; then :
15246 >  eval "$as_CACHEVAR=yes"
15247 > else
15248 >  eval "$as_CACHEVAR=no"
15249 > fi
15250 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15251 >  CFLAGS=$ax_check_save_flags
15252 > fi
15253 > eval ac_res=\$$as_CACHEVAR
15254 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15255 > $as_echo "$ac_res" >&6; }
15256 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15257 >  if ${CFLAGS+:} false; then :
15258 >  case " $CFLAGS " in
15259 >    *" $flag "*)
15260 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15261 >  (: CFLAGS already contains $flag) 2>&5
15262 >  ac_status=$?
15263 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15264 >  test $ac_status = 0; }
15265 >      ;;
15266 >    *)
15267 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15268 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15269 >  ac_status=$?
15270 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15271 >  test $ac_status = 0; }
15272 >      CFLAGS="$CFLAGS $flag"
15273 >      ;;
15274 >   esac
15275 > else
15276 >  CFLAGS="$flag"
15277 > fi
15278 >
15279 > else
15280 >  :
15281 > fi
15282 >
15283 > done
15284 >
15285 >
15286 >
15287 >
15288 >
15289 > for flag in -Wredundant-decls; do
15290 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15291 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15292 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15293 > if eval \${$as_CACHEVAR+:} false; then :
15294 >  $as_echo_n "(cached) " >&6
15295 > else
15296 >
15297 >  ax_check_save_flags=$CFLAGS
15298 >  CFLAGS="$CFLAGS  $flag"
15299 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 > /* end confdefs.h.  */
15301 >
15302 > int
15303 > main ()
15304 > {
15305 >
15306 >  ;
15307 >  return 0;
15308 > }
15309 > _ACEOF
15310 > if ac_fn_c_try_compile "$LINENO"; then :
15311 >  eval "$as_CACHEVAR=yes"
15312 > else
15313 >  eval "$as_CACHEVAR=no"
15314 > fi
15315 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15316 >  CFLAGS=$ax_check_save_flags
15317 > fi
15318 > eval ac_res=\$$as_CACHEVAR
15319 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15320 > $as_echo "$ac_res" >&6; }
15321 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15322 >  if ${CFLAGS+:} false; then :
15323 >  case " $CFLAGS " in
15324 >    *" $flag "*)
15325 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15326 >  (: CFLAGS already contains $flag) 2>&5
15327 >  ac_status=$?
15328 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 >  test $ac_status = 0; }
15330 >      ;;
15331 >    *)
15332 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15333 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15334 >  ac_status=$?
15335 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15336 >  test $ac_status = 0; }
15337 >      CFLAGS="$CFLAGS $flag"
15338 >      ;;
15339 >   esac
15340 > else
15341 >  CFLAGS="$flag"
15342 > fi
15343 >
15344 > else
15345 >  :
15346 > fi
15347 >
15348 > done
15349 >
15350 >
15351 >
15352 >
15353 >
15354 > for flag in -Wshadow; do
15355 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15356 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15357 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15358 > if eval \${$as_CACHEVAR+:} false; then :
15359 >  $as_echo_n "(cached) " >&6
15360 > else
15361 >
15362 >  ax_check_save_flags=$CFLAGS
15363 >  CFLAGS="$CFLAGS  $flag"
15364 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 > /* end confdefs.h.  */
15366 >
15367 > int
15368 > main ()
15369 > {
15370 >
15371 >  ;
15372 >  return 0;
15373 > }
15374 > _ACEOF
15375 > if ac_fn_c_try_compile "$LINENO"; then :
15376 >  eval "$as_CACHEVAR=yes"
15377 > else
15378 >  eval "$as_CACHEVAR=no"
15379 > fi
15380 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 >  CFLAGS=$ax_check_save_flags
15382 > fi
15383 > eval ac_res=\$$as_CACHEVAR
15384 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15385 > $as_echo "$ac_res" >&6; }
15386 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15387 >  if ${CFLAGS+:} false; then :
15388 >  case " $CFLAGS " in
15389 >    *" $flag "*)
15390 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15391 >  (: CFLAGS already contains $flag) 2>&5
15392 >  ac_status=$?
15393 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 >  test $ac_status = 0; }
15395 >      ;;
15396 >    *)
15397 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15398 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15399 >  ac_status=$?
15400 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15401 >  test $ac_status = 0; }
15402 >      CFLAGS="$CFLAGS $flag"
15403 >      ;;
15404 >   esac
15405 > else
15406 >  CFLAGS="$flag"
15407 > fi
15408 >
15409 > else
15410 >  :
15411 > fi
15412 >
15413 > done
15414 >
15415 >
15416 >
15417 >
15418 >
15419 > for flag in -Wwrite-strings; do
15420 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15421 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15422 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15423 > if eval \${$as_CACHEVAR+:} false; then :
15424 >  $as_echo_n "(cached) " >&6
15425 > else
15426 >
15427 >  ax_check_save_flags=$CFLAGS
15428 >  CFLAGS="$CFLAGS  $flag"
15429 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 > /* end confdefs.h.  */
15431 >
15432 > int
15433 > main ()
15434 > {
15435 >
15436 >  ;
15437 >  return 0;
15438 > }
15439 > _ACEOF
15440 > if ac_fn_c_try_compile "$LINENO"; then :
15441 >  eval "$as_CACHEVAR=yes"
15442 > else
15443 >  eval "$as_CACHEVAR=no"
15444 > fi
15445 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15446 >  CFLAGS=$ax_check_save_flags
15447 > fi
15448 > eval ac_res=\$$as_CACHEVAR
15449 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15450 > $as_echo "$ac_res" >&6; }
15451 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15452 >  if ${CFLAGS+:} false; then :
15453 >  case " $CFLAGS " in
15454 >    *" $flag "*)
15455 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15456 >  (: CFLAGS already contains $flag) 2>&5
15457 >  ac_status=$?
15458 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15459 >  test $ac_status = 0; }
15460 >      ;;
15461 >    *)
15462 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15463 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15464 >  ac_status=$?
15465 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15466 >  test $ac_status = 0; }
15467 >      CFLAGS="$CFLAGS $flag"
15468 >      ;;
15469 >   esac
15470 > else
15471 >  CFLAGS="$flag"
15472 > fi
15473 >
15474 > else
15475 >  :
15476 > fi
15477 >
15478 > done
15479 >
15480 >
15481 >
15482 >
15483 >
15484 > for flag in -Wundef; do
15485 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15486 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15487 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15488 > if eval \${$as_CACHEVAR+:} false; then :
15489 >  $as_echo_n "(cached) " >&6
15490 > else
15491 >
15492 >  ax_check_save_flags=$CFLAGS
15493 >  CFLAGS="$CFLAGS  $flag"
15494 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 > /* end confdefs.h.  */
15496 >
15497 > int
15498 > main ()
15499 > {
15500 >
15501 >  ;
15502 >  return 0;
15503 > }
15504 > _ACEOF
15505 > if ac_fn_c_try_compile "$LINENO"; then :
15506 >  eval "$as_CACHEVAR=yes"
15507 > else
15508 >  eval "$as_CACHEVAR=no"
15509 > fi
15510 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15511 >  CFLAGS=$ax_check_save_flags
15512 > fi
15513 > eval ac_res=\$$as_CACHEVAR
15514 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15515 > $as_echo "$ac_res" >&6; }
15516 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15517 >  if ${CFLAGS+:} false; then :
15518 >  case " $CFLAGS " in
15519 >    *" $flag "*)
15520 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15521 >  (: CFLAGS already contains $flag) 2>&5
15522 >  ac_status=$?
15523 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 >  test $ac_status = 0; }
15525 >      ;;
15526 >    *)
15527 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15528 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15529 >  ac_status=$?
15530 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 >  test $ac_status = 0; }
15532 >      CFLAGS="$CFLAGS $flag"
15533 >      ;;
15534 >   esac
15535 > else
15536 >  CFLAGS="$flag"
15537 > fi
15538 >
15539 > else
15540 >  :
15541 > fi
15542 >
15543 > done
15544 >
15545    fi
15546  
15547  
# Line 14533 | Line 15631 | _ACEOF
15631    test "$exec_prefix_NONE" && exec_prefix=NONE
15632  
15633  
15634 < 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"
15634 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15635  
15636  
15637   cat >confcache <<\_ACEOF
# Line 15100 | Line 16198 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16198   # report actual input values of CONFIG_FILES etc. instead of their
16199   # values after options handling.
16200   ac_log="
16201 < This file was extended by ircd-hybrid $as_me 8beta1, which was
16201 > This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was
16202   generated by GNU Autoconf 2.69.  Invocation command line was
16203  
16204    CONFIG_FILES    = $CONFIG_FILES
# Line 15166 | Line 16264 | _ACEOF
16264   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16265   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16266   ac_cs_version="\\
16267 < ircd-hybrid config.status 8beta1
16267 > ircd-hybrid config.status 8.2.0rc1
16268   configured by $0, generated by GNU Autoconf 2.69,
16269    with options \\"\$ac_cs_config\\"
16270  
# Line 15576 | Line 16674 | do
16674      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16675      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16676      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15579    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15580    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16677      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16678      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15583    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16679      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16680      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16681      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16682      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15588    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15589    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16683      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16684  
16685    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16184 | Line 17277 | $as_echo "$as_me: executing $ac_file com
17277  
17278    case $ac_file$ac_mode in
17279      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17280 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17280 >  # Older Autoconf quotes --file arguments for eval, but not when files
17281    # are listed without --file.  Let's play safe and only enable the eval
17282    # if we detect the quoting.
17283    case $CONFIG_FILES in
# Line 16235 | Line 17328 | $as_echo X"$mf" |
17328      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17329      test -z "$DEPDIR" && continue
17330      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17331 <    test -z "am__include" && continue
17331 >    test -z "$am__include" && continue
17332      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17333      # Find all dependency output files, they are included files with
17334      # $(DEPDIR) in their names.  We invoke sed twice because it is the

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1402 by michael, Wed May 9 18:42:45 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4334 by michael, Sat Aug 2 15:53:31 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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