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/trunk/configure (file contents), Revision 1670 by michael, Tue Nov 20 21:30:04 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 1664 2012-11-18 14:33:47Z michael .
2 > # From configure.ac Id: configure.ac 4356 2014-08-02 18:30:48Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.0.0.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 593 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='8.0.0'
597 < PACKAGE_STRING='ircd-hybrid 8.0.0'
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
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
809 enable_rtsigio
814   enable_poll
811 enable_select
812 with_nicklen
813 with_topiclen
814 enable_halfops
815   enable_debugging
816   enable_warnings
817   '
# Line 1366 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 8.0.0 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 1436 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 8.0.0:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1444 | 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 1457 | 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
1466    --enable-kqueue         Force kqueue usage.
1467    --enable-epoll          Force epoll usage.
1468    --enable-devpoll        Force devpoll usage.
1467  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1469  --enable-select         Force select usage.
1470  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1482 | 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
1485  --with-nicklen=<value>  Set nickname length (default 9).
1486  --with-topiclen=<value> Set topic length (default 160).
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1567 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure 8.0.0
1567 > ircd-hybrid configure 8.2.0rc1
1568   generated by GNU Autoconf 2.69
1569  
1570   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2093 | Line 2090 | cat >config.log <<_ACEOF
2090   This file contains any messages produced by compilers while
2091   running configure, to aid debugging if configure makes a mistake.
2092  
2093 < It was created by ircd-hybrid $as_me 8.0.0, 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 2452 | 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 2665 | 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 2906 | 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 2928 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='8.0.0'
2967 > VERSION='8.2.0rc1'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 2968 | Line 3004 | mkdir_p='$(MKDIR_P)'
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 2975 | 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 2997 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 3854 | 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 8414 | 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 13027 | Line 13173 | LIBTOOL="$LIBTOOL --silent"
13173  
13174   # Checks for libraries.
13175  
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  
# Line 13209 | Line 13496 | else
13496    as_fn_error $? "socket library not found" "$LINENO" 5
13497   fi
13498  
13499 +  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13500 + "
13501 + if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13502 +
13503 + $as_echo "#define IPV6 1" >>confdefs.h
13504 +
13505 + fi
13506 +
13507    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13508     #include <sys/socket.h>
13509     #include <netdb.h>
# Line 13263 | Line 13558 | fi
13558  
13559  
13560  
13266  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13267 "
13268 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13269
13270 $as_echo "#define IPV6 1" >>confdefs.h
13271
13272 fi
13273
13274
13275
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 13616 | 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 13637 | 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 13654 | 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 13686 | 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 13740 | 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 13754 | 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 13898 | Line 14184 | $as_echo "#define NDEBUG 1" >>confdefs.h
14184   fi
14185  
14186  
14187 <
13902 < $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
14187 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14188  
14189  
14190 < $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
14190 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14191  
14192  
14193 < $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
14193 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14194  
14195  
14196 < $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
14196 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14197  
14198  
14199 < $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
14199 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14200  
14201  
14202 < $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
14202 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14203  
14204  
14205 < $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
14205 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14206  
14207  
14208   $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14209  
14210  
14211 < $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
14211 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14212 >
14213 >
14214 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14215 >
14216 >
14217 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14218 >
14219 >
14220 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14221  
14222  
14223 < $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
14223 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14224  
14225  
14226 < $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
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 13950 | Line 14245 | if test "${enable_devpoll+set}" = set; t
14245    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14246   fi
14247  
13953  # Check whether --enable-rtsigio was given.
13954 if test "${enable_rtsigio+set}" = set; then :
13955  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13956 fi
13957
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  
13963  # Check whether --enable-select was given.
13964 if test "${enable_select+set}" = set; then :
13965  enableval=$enable_select; desired_iopoll_mechanism="select"
13966 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 14027 | 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  
14036  if test "$cross_compiling" = yes; then :
14037  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14039 as_fn_error $? "cannot run test program while cross compiling
14040 See \`config.log' for more details" "$LINENO" 5; }
14041 else
14325    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326   /* end confdefs.h.  */
14044
14327   #include <sys/epoll.h>
14046 #include <sys/syscall.h>
14047 #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14048 #if !defined(__NR_epoll_create)
14049 #if defined(__ia64__)
14050 #define __NR_epoll_create 1243
14051 #elif defined(__x86_64__)
14052 #define __NR_epoll_create 214
14053 #elif defined(__sparc64__) || defined(__sparc__)
14054 #define __NR_epoll_create 193
14055 #elif defined(__s390__) || defined(__m68k__)
14056 #define __NR_epoll_create 249
14057 #elif defined(__ppc64__) || defined(__ppc__)
14058 #define __NR_epoll_create 236
14059 #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
14060 #define __NR_epoll_create 224
14061 #elif defined(__alpha__)
14062 #define __NR_epoll_create 407
14063 #elif defined(__sh64__)
14064 #define __NR_epoll_create 282
14065 #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
14066 #define __NR_epoll_create 254
14067 #else
14068 #error No system call numbers defined for epoll family.
14069 #endif
14070 #endif
14071 _syscall1(int, epoll_create, int, size)
14072 #endif
14073
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
14089 < 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 14138 | Line 14391 | rm -f core conftest.err conftest.$ac_obj
14391   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14392  
14393    fi
14141      iopoll_mechanism_rtsigio=4
14394  
14395 < cat >>confdefs.h <<_ACEOF
14144 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14145 < _ACEOF
14146 <
14147 <  if test "$cross_compiling" = yes; then :
14148 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14149 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14150 < as_fn_error $? "cannot run test program while cross compiling
14151 < See \`config.log' for more details" "$LINENO" 5; }
14152 < else
14153 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 < /* end confdefs.h.  */
14155 <
14156 < #define _GNU_SOURCE
14157 < #include <fcntl.h>
14158 < static unsigned int have_f_setsig = 0;
14159 <
14160 < int
14161 < main ()
14162 < {
14163 <
14164 < #ifdef F_SETSIG
14165 <  have_f_setsig = 1;
14166 < #endif
14167 <  return have_f_setsig == 0;
14168 <
14169 <  ;
14170 <  return 0;
14171 < }
14172 < _ACEOF
14173 < if ac_fn_c_try_run "$LINENO"; then :
14174 <  is_rtsigio_mechanism_available="yes"
14175 < else
14176 <  is_rtsigio_mechanism_available="no"
14177 < fi
14178 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14179 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14180 < fi
14181 <
14182 <      iopoll_mechanism_poll=5
14395 >  iopoll_mechanism_poll=4
14396  
14397   cat >>confdefs.h <<_ACEOF
14398   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14233 | Line 14446 | else
14446   fi
14447   rm -f core conftest.err conftest.$ac_objext \
14448      conftest$ac_exeext conftest.$ac_ext
14236      iopoll_mechanism_select=6
14237
14238 cat >>confdefs.h <<_ACEOF
14239 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14240 _ACEOF
14241
14242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h.  */
14244 /* Define select to an innocuous variant, in case <limits.h> declares select.
14245   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14246 #define select innocuous_select
14247
14248 /* System header to define __stub macros and hopefully few prototypes,
14249    which can conflict with char select (); below.
14250    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14251    <limits.h> exists even on freestanding compilers.  */
14252
14253 #ifdef __STDC__
14254 # include <limits.h>
14255 #else
14256 # include <assert.h>
14257 #endif
14258
14259 #undef select
14260
14261 /* Override any GCC internal prototype to avoid an error.
14262   Use char because int might match the return type of a GCC
14263   builtin and then its argument prototype would still apply.  */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char select ();
14268 /* The GNU C library defines this for functions which it implements
14269    to always fail with ENOSYS.  Some functions are actually named
14270    something starting with __ and the normal name is an alias.  */
14271 #if defined __stub_select || defined __stub___select
14272 choke me
14273 #endif
14449  
14450 < int
14451 < main ()
14277 < {
14278 < return select ();
14279 <  ;
14280 <  return 0;
14281 < }
14282 < _ACEOF
14283 < if ac_fn_c_try_link "$LINENO"; then :
14284 <  is_select_mechanism_available="yes"
14285 < else
14286 <  is_select_mechanism_available="no"
14287 < fi
14288 < rm -f core conftest.err conftest.$ac_objext \
14289 <    conftest$ac_exeext conftest.$ac_ext
14290 <      optimal_iopoll_mechanism="none"
14291 <  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 14317 | 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 14325 | 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)
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 < # Check whether --with-topiclen was given.
14581 < if test "${with_topiclen+set}" = set; then :
14582 <  withval=$with_topiclen; topiclen="$withval"
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 <  topiclen="160"
14636 >  :
14637   fi
14638  
14639 + done
14640  
14641 < cat >>confdefs.h <<_ACEOF
14642 < #define TOPICLEN ($topiclen)
14641 >
14642 >
14643 >
14644 >
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 +  :
14702 + fi
14703 +
14704 + done
14705 +
14706  
14707  
14708  
14709 <  # Check whether --enable-halfops was given.
14710 < if test "${enable_halfops+set}" = set; then :
14711 <  enableval=$enable_halfops; halfops="$enableval"
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 <  halfops="no"
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 <  if test "$halfops" = "yes" ; then
14765 > else
14766 >  :
14767 > fi
14768  
14769 < $as_echo "#define HALFOPS 1" >>confdefs.h
14769 > done
14770  
14369  fi
14771  
14772  
14773 <  # Check whether --enable-debugging was given.
14774 < if test "${enable_debugging+set}" = set; then :
14775 <  enableval=$enable_debugging; debugging="$enableval"
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 <  debugging="no"
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  
14830 <  if test "$debugging" = "yes" ; then
14831 <    CFLAGS="-Wall -g -O0"
14832 <  fi
14830 > else
14831 >  :
14832 > fi
14833  
14834 + done
14835  
14836 <  # Check whether --enable-warnings was given.
14837 < if test "${enable_warnings+set}" = set; then :
14838 <  enableval=$enable_warnings; warnings="$enableval"
14836 >
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 <  warnings="no"
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 <  if test "$warnings" = "yes" ; then
14896 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
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 >  :
14962 > fi
14963 >
14964 > done
14965 >
14966 >
14967 >
14968 >
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 >  :
15027 > fi
15028 >
15029 > done
15030 >
15031 >
15032 >
15033 >
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 >
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 > else
15091 >  :
15092 > fi
15093 >
15094 > done
15095 >
15096 >
15097 >
15098 >
15099 >
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 >
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 > 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 14479 | Line 15637 | _ACEOF
15637    test "$exec_prefix_NONE" && exec_prefix=NONE
15638  
15639  
15640 < ac_config_files="$ac_config_files 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 15046 | Line 16204 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16204   # report actual input values of CONFIG_FILES etc. instead of their
16205   # values after options handling.
16206   ac_log="
16207 < This file was extended by ircd-hybrid $as_me 8.0.0, 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 15112 | Line 16270 | _ACEOF
16270   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16271   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16272   ac_cs_version="\\
16273 < ircd-hybrid config.status 8.0.0
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 15524 | Line 16682 | do
16682      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16683      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16684      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15527    "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" ;;
15532    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15533    "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 16128 | 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 16179 | 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

Diff Legend

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