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 1540 by michael, Sat Sep 29 20:03:55 2012 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 2491 by michael, Fri Oct 25 16:55:01 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1523 2012-09-09 11:11:52Z michael .
2 > # From configure.ac Id: configure.ac 2481 2013-10-23 16:38:58Z 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 TRUNK.
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='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
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
815   enable_select
812 with_nicklen
813 with_topiclen
816   enable_halfops
817   enable_debugging
818   enable_warnings
# Line 1366 | Line 1368 | if test "$ac_init_help" = "long"; then
1368    # Omit some internal or obsolete options to make the list less imposing.
1369    # This message is too long to be a string in the A/UX 3.1 sh.
1370    cat <<_ACEOF
1371 < \`configure' configures ircd-hybrid 8.0.0 to adapt to many kinds of systems.
1371 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1372  
1373   Usage: $0 [OPTION]... [VAR=VALUE]...
1374  
# Line 1436 | Line 1438 | fi
1438  
1439   if test -n "$ac_init_help"; then
1440    case $ac_init_help in
1441 <     short | recursive ) echo "Configuration of ircd-hybrid 8.0.0:";;
1441 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1442     esac
1443    cat <<\_ACEOF
1444  
# Line 1444 | Line 1446 | Optional Features:
1446    --disable-option-checking  ignore unrecognized --enable/--with options
1447    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449 +  --enable-silent-rules   less verbose build output (undo: "make V=1")
1450 +  --disable-silent-rules  verbose build output (undo: "make V=0")
1451    --enable-maintainer-mode
1452                            enable make rules and dependencies not useful (and
1453                            sometimes confusing) to the casual installer
# Line 1457 | Line 1461 | Optional Features:
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1464 <  --disable-libpcre       Disable PCRE support
1464 >  --disable-libgeoip      Disable GeoIP support
1465    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1466    --disable-openssl            Disable OpenSSL support.
1467    --enable-assert         Enable assert() statements
1468    --enable-kqueue         Force kqueue usage.
1469    --enable-epoll          Force epoll usage.
1470    --enable-devpoll        Force devpoll usage.
1467  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1473    --enable-halfops        Enable halfops support.
# Line 1482 | Line 1485 | Optional Packages:
1485    --with-included-ltdl    use the GNU ltdl sources included here
1486    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1487    --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).
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1567 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 8.0.0
1571 > ircd-hybrid configure TRUNK
1572   generated by GNU Autoconf 2.69
1573  
1574   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2093 | Line 2094 | cat >config.log <<_ACEOF
2094   This file contains any messages produced by compilers while
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097 < It was created by ircd-hybrid $as_me 8.0.0, which was
2097 > It was created by ircd-hybrid $as_me TRUNK, which was
2098   generated by GNU Autoconf 2.69.  Invocation command line was
2099  
2100    $ $0 $@
# Line 2373 | Line 2374 | $as_echo "$as_me: creating cache $cache_
2374    >$cache_file
2375   fi
2376  
2376 as_fn_append ac_func_list " mmap"
2377   as_fn_append ac_func_list " strtok_r"
2378   as_fn_append ac_func_list " usleep"
2379   as_fn_append ac_func_list " strlcat"
# Line 2453 | Line 2453 | ac_link='$CC -o conftest$ac_exeext $CFLA
2453   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454  
2455  
2456 < am__api_version='1.12'
2456 > am__api_version='1.14'
2457  
2458   ac_aux_dir=
2459   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2666 | Line 2666 | if test x"${MISSING+set}" != xset; then
2666    esac
2667   fi
2668   # Use eval to expand $SHELL
2669 < if eval "$MISSING --run true"; then
2670 <  am_missing_run="$MISSING --run "
2669 > if eval "$MISSING --is-lightweight"; then
2670 >  am_missing_run="$MISSING "
2671   else
2672    am_missing_run=
2673    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
# Line 2907 | Line 2907 | else
2907   fi
2908   rmdir .tst 2>/dev/null
2909  
2910 + # Check whether --enable-silent-rules was given.
2911 + if test "${enable_silent_rules+set}" = set; then :
2912 +  enableval=$enable_silent_rules;
2913 + fi
2914 +
2915 + case $enable_silent_rules in # (((
2916 +  yes) AM_DEFAULT_VERBOSITY=0;;
2917 +   no) AM_DEFAULT_VERBOSITY=1;;
2918 +    *) AM_DEFAULT_VERBOSITY=1;;
2919 + esac
2920 + am_make=${MAKE-make}
2921 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2922 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2923 + if ${am_cv_make_support_nested_variables+:} false; then :
2924 +  $as_echo_n "(cached) " >&6
2925 + else
2926 +  if $as_echo 'TRUE=$(BAR$(V))
2927 + BAR0=false
2928 + BAR1=true
2929 + V=1
2930 + am__doit:
2931 +        @$(TRUE)
2932 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2933 +  am_cv_make_support_nested_variables=yes
2934 + else
2935 +  am_cv_make_support_nested_variables=no
2936 + fi
2937 + fi
2938 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2939 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2940 + if test $am_cv_make_support_nested_variables = yes; then
2941 +    AM_V='$(V)'
2942 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2943 + else
2944 +  AM_V=$AM_DEFAULT_VERBOSITY
2945 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2946 + fi
2947 + AM_BACKSLASH='\'
2948 +
2949   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2950    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2951    # is not polluted with repeated "-I."
# Line 2929 | Line 2968 | fi
2968  
2969   # Define the identity of the package.
2970   PACKAGE='ircd-hybrid'
2971 < VERSION='8.0.0'
2971 > VERSION='TRUNK'
2972  
2973  
2974   cat >>confdefs.h <<_ACEOF
# Line 2969 | Line 3008 | mkdir_p='$(MKDIR_P)'
3008   # in the wild :-(  We should find a proper way to deprecate it ...
3009   AMTAR='$${TAR-tar}'
3010  
3011 +
3012 + # We'll loop over all known methods to create a tar archive until one works.
3013 + _am_tools='gnutar  pax cpio none'
3014 +
3015   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3016  
3017  
# Line 2976 | Line 3019 | am__tar='$${TAR-tar} chof - "$$tardir"'
3019  
3020  
3021  
3022 + # POSIX will say in a future version that running "rm -f" with no argument
3023 + # is OK; and we want to be able to make that assumption in our Makefile
3024 + # recipes.  So use an aggressive probe to check that the usage we want is
3025 + # actually supported "in the wild" to an acceptable degree.
3026 + # See automake bug#10828.
3027 + # To make any issue more visible, cause the running configure to be aborted
3028 + # by default if the 'rm' program in use doesn't match our expectations; the
3029 + # user can still override this though.
3030 + if rm -f && rm -fr && rm -rf; then : OK; else
3031 +  cat >&2 <<'END'
3032 + Oops!
3033 +
3034 + Your 'rm' program seems unable to run without file operands specified
3035 + on the command line, even when the '-f' option is present.  This is contrary
3036 + to the behaviour of most rm programs out there, and not conforming with
3037 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3038 +
3039 + Please tell bug-automake@gnu.org about your system, including the value
3040 + of your $PATH and any error possibly output before this message.  This
3041 + can help us improve future automake versions.
3042 +
3043 + END
3044 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3045 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3046 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3047 +    echo >&2
3048 +  else
3049 +    cat >&2 <<'END'
3050 + Aborting the configuration process, to ensure you take notice of the issue.
3051 +
3052 + You can download and install GNU coreutils to get an 'rm' implementation
3053 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3054 +
3055 + If you want to complete the configuration process using your problematic
3056 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3057 + to "yes", and re-run configure.
3058 +
3059 + END
3060 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3061 +  fi
3062 + fi
3063 +
3064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3065   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3066      # Check whether --enable-maintainer-mode was given.
# Line 2998 | Line 3083 | fi
3083    MAINT=$MAINTAINER_MODE_TRUE
3084  
3085  
3086 +
3087   ac_config_headers="$ac_config_headers config.h"
3088  
3089  
# Line 3855 | Line 3941 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3941   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943  
3944 + ac_ext=c
3945 + ac_cpp='$CPP $CPPFLAGS'
3946 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3947 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3948 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3949 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3950 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3951 + if ${am_cv_prog_cc_c_o+:} false; then :
3952 +  $as_echo_n "(cached) " >&6
3953 + else
3954 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 + /* end confdefs.h.  */
3956 +
3957 + int
3958 + main ()
3959 + {
3960 +
3961 +  ;
3962 +  return 0;
3963 + }
3964 + _ACEOF
3965 +  # Make sure it works both with $CC and with simple cc.
3966 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3967 +  # compilers refuse to overwrite an existing .o file with -o,
3968 +  # though they will create one.
3969 +  am_cv_prog_cc_c_o=yes
3970 +  for am_i in 1 2; do
3971 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3972 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3973 +   ac_status=$?
3974 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 +   (exit $ac_status); } \
3976 +         && test -f conftest2.$ac_objext; then
3977 +      : OK
3978 +    else
3979 +      am_cv_prog_cc_c_o=no
3980 +      break
3981 +    fi
3982 +  done
3983 +  rm -f core conftest*
3984 +  unset am_i
3985 + fi
3986 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3987 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3988 + if test "$am_cv_prog_cc_c_o" != yes; then
3989 +   # Losing compiler, so override with the script.
3990 +   # FIXME: It is wrong to rewrite CC.
3991 +   # But if we don't then we get into trouble of one sort or another.
3992 +   # A longer-term fix would be to have automake use am__CC in this case,
3993 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3994 +   CC="$am_aux_dir/compile $CC"
3995 + fi
3996 + ac_ext=c
3997 + ac_cpp='$CPP $CPPFLAGS'
3998 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3999 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4000 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
4001 +
4002 +
4003   depcc="$CC"   am_compiler_list=
4004  
4005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
# Line 8415 | Line 8560 | _lt_linker_boilerplate=`cat conftest.err
8560   $RM -r conftest*
8561  
8562  
8563 + ## CAVEAT EMPTOR:
8564 + ## There is no encapsulation within the following macros, do not change
8565 + ## the running order or otherwise move them around unless you know exactly
8566 + ## what you are doing...
8567   if test -n "$compiler"; then
8568  
8569   lt_prog_compiler_no_builtin_flag=
# Line 13028 | Line 13177 | LIBTOOL="$LIBTOOL --silent"
13177  
13178   # Checks for libraries.
13179  
13180 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13181 < $as_echo_n "checking for library containing socket... " >&6; }
13182 < if ${ac_cv_search_socket+:} false; then :
13180 >
13181 >  if test "X$CC" != "X"; then
13182 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13183 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13184 > if ${ssp_cv_cc+:} false; then :
13185 >  $as_echo_n "(cached) " >&6
13186 > else
13187 >  ssp_old_cflags="$CFLAGS"
13188 >       CFLAGS="$CFLAGS -fstack-protector"
13189 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 > /* end confdefs.h.  */
13191 >
13192 > int
13193 > main ()
13194 > {
13195 >
13196 >  ;
13197 >  return 0;
13198 > }
13199 > _ACEOF
13200 > if ac_fn_c_try_compile "$LINENO"; then :
13201 >  ssp_cv_cc=yes
13202 > else
13203 >  ssp_cv_cc=no
13204 > fi
13205 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 >       CFLAGS="$ssp_old_cflags"
13207 >
13208 > fi
13209 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13210 > $as_echo "$ssp_cv_cc" >&6; }
13211 >    if test $ssp_cv_cc = yes; then
13212 >      CFLAGS="$CFLAGS -fstack-protector"
13213 >
13214 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13215 >
13216 >    fi
13217 >  fi
13218 >
13219 >
13220 >
13221 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13222 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13223 >
13224 > else
13225 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13226 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13227 > if ${ac_cv_search_getaddrinfo+:} false; then :
13228    $as_echo_n "(cached) " >&6
13229   else
13230    ac_func_search_save_LIBS=$LIBS
# Line 13043 | Line 13237 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13237   #ifdef __cplusplus
13238   extern "C"
13239   #endif
13240 < char socket ();
13240 > char getaddrinfo ();
13241   int
13242   main ()
13243   {
13244 < return socket ();
13244 > return getaddrinfo ();
13245    ;
13246    return 0;
13247   }
13248   _ACEOF
13249 < for ac_lib in '' socket; do
13249 > for ac_lib in '' nsl; do
13250    if test -z "$ac_lib"; then
13251      ac_res="none required"
13252    else
# Line 13060 | Line 13254 | for ac_lib in '' socket; do
13254      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13255    fi
13256    if ac_fn_c_try_link "$LINENO"; then :
13257 <  ac_cv_search_socket=$ac_res
13257 >  ac_cv_search_getaddrinfo=$ac_res
13258   fi
13259   rm -f core conftest.err conftest.$ac_objext \
13260      conftest$ac_exeext
13261 <  if ${ac_cv_search_socket+:} false; then :
13261 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13262    break
13263   fi
13264   done
13265 < if ${ac_cv_search_socket+:} false; then :
13265 > if ${ac_cv_search_getaddrinfo+:} false; then :
13266  
13267   else
13268 <  ac_cv_search_socket=no
13268 >  ac_cv_search_getaddrinfo=no
13269   fi
13270   rm conftest.$ac_ext
13271   LIBS=$ac_func_search_save_LIBS
13272   fi
13273 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13274 < $as_echo "$ac_cv_search_socket" >&6; }
13275 < ac_res=$ac_cv_search_socket
13273 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13274 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13275 > ac_res=$ac_cv_search_getaddrinfo
13276   if test "$ac_res" != no; then :
13277    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13278  
13085 else
13086  as_fn_error $? "socket library not found" "$LINENO" 5
13279   fi
13280  
13281 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13282 < $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13283 < if ${ac_cv_search_inet_ntoa+:} false; then :
13281 > fi
13282 >
13283 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13284 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13285 >
13286 > else
13287 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13288 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13289 > if ${ac_cv_search_getnameinfo+:} false; then :
13290    $as_echo_n "(cached) " >&6
13291   else
13292    ac_func_search_save_LIBS=$LIBS
# Line 13101 | Line 13299 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13299   #ifdef __cplusplus
13300   extern "C"
13301   #endif
13302 < char inet_ntoa ();
13302 > char getnameinfo ();
13303   int
13304   main ()
13305   {
13306 < return inet_ntoa ();
13306 > return getnameinfo ();
13307    ;
13308    return 0;
13309   }
# Line 13118 | Line 13316 | for ac_lib in '' nsl; 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_inet_ntoa=$ac_res
13319 >  ac_cv_search_getnameinfo=$ac_res
13320   fi
13321   rm -f core conftest.err conftest.$ac_objext \
13322      conftest$ac_exeext
13323 <  if ${ac_cv_search_inet_ntoa+:} false; then :
13323 >  if ${ac_cv_search_getnameinfo+:} false; then :
13324    break
13325   fi
13326   done
13327 < if ${ac_cv_search_inet_ntoa+:} false; then :
13327 > if ${ac_cv_search_getnameinfo+:} false; then :
13328  
13329   else
13330 <  ac_cv_search_inet_ntoa=no
13330 >  ac_cv_search_getnameinfo=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_inet_ntoa" >&5
13336 < $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13337 < ac_res=$ac_cv_search_inet_ntoa
13335 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13336 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13337 > ac_res=$ac_cv_search_getnameinfo
13338   if test "$ac_res" != no; then :
13339    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13340  
13341   fi
13342  
13343 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13344 < $as_echo_n "checking for library containing inet_aton... " >&6; }
13345 < if ${ac_cv_search_inet_aton+:} false; then :
13343 > fi
13344 >
13345 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13346 > $as_echo_n "checking for library containing socket... " >&6; }
13347 > if ${ac_cv_search_socket+:} false; then :
13348    $as_echo_n "(cached) " >&6
13349   else
13350    ac_func_search_save_LIBS=$LIBS
# Line 13157 | Line 13357 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13357   #ifdef __cplusplus
13358   extern "C"
13359   #endif
13360 < char inet_aton ();
13360 > char socket ();
13361   int
13362   main ()
13363   {
13364 < return inet_aton ();
13364 > return socket ();
13365    ;
13366    return 0;
13367   }
13368   _ACEOF
13369 < for ac_lib in '' resolv; do
13369 > for ac_lib in '' socket; do
13370    if test -z "$ac_lib"; then
13371      ac_res="none required"
13372    else
# Line 13174 | Line 13374 | for ac_lib in '' resolv; do
13374      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13375    fi
13376    if ac_fn_c_try_link "$LINENO"; then :
13377 <  ac_cv_search_inet_aton=$ac_res
13377 >  ac_cv_search_socket=$ac_res
13378   fi
13379   rm -f core conftest.err conftest.$ac_objext \
13380      conftest$ac_exeext
13381 <  if ${ac_cv_search_inet_aton+:} false; then :
13381 >  if ${ac_cv_search_socket+:} false; then :
13382    break
13383   fi
13384   done
13385 < if ${ac_cv_search_inet_aton+:} false; then :
13385 > if ${ac_cv_search_socket+:} false; then :
13386  
13387   else
13388 <  ac_cv_search_inet_aton=no
13388 >  ac_cv_search_socket=no
13389   fi
13390   rm conftest.$ac_ext
13391   LIBS=$ac_func_search_save_LIBS
13392   fi
13393 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13394 < $as_echo "$ac_cv_search_inet_aton" >&6; }
13395 < ac_res=$ac_cv_search_inet_aton
13393 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13394 > $as_echo "$ac_cv_search_socket" >&6; }
13395 > ac_res=$ac_cv_search_socket
13396   if test "$ac_res" != no; then :
13397    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13398  
13399 + else
13400 +  as_fn_error $? "socket library not found" "$LINENO" 5
13401   fi
13402  
13201  for ac_func in inet_aton inet_ntop inet_pton
13202 do :
13203  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13205 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13206  cat >>confdefs.h <<_ACEOF
13207 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13208 _ACEOF
13209
13210 fi
13211 done
13212
13403    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13404     #include <sys/socket.h>
13405     #include <netdb.h>
# Line 13526 | Line 13716 | done
13716  
13717  
13718  
13529
13530
13719   # Checks for header files.
13720  
13721  
# Line 13619 | Line 13807 | if test "$ac_res" != no; then :
13807   fi
13808  
13809  
13810 < # Check whether --enable-libpcre was given.
13811 < if test "${enable_libpcre+set}" = set; then :
13812 <  enableval=$enable_libpcre;
13813 < else
13814 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13815 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13816 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13817 < $as_echo_n "checking for library containing pcre_study... " >&6; }
13818 < if ${ac_cv_search_pcre_study+:} false; then :
13810 > # Check whether --enable-libgeoip was given.
13811 > if test "${enable_libgeoip+set}" = set; then :
13812 >  enableval=$enable_libgeoip;
13813 > else
13814 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13815 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13816 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13817 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13818 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13819    $as_echo_n "(cached) " >&6
13820   else
13821    ac_func_search_save_LIBS=$LIBS
# Line 13640 | Line 13828 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13828   #ifdef __cplusplus
13829   extern "C"
13830   #endif
13831 < char pcre_study ();
13831 > char GeoIP_id_by_ipnum_v6_gl ();
13832   int
13833   main ()
13834   {
13835 < return pcre_study ();
13835 > return GeoIP_id_by_ipnum_v6_gl ();
13836    ;
13837    return 0;
13838   }
13839   _ACEOF
13840 < for ac_lib in '' pcre; do
13840 > for ac_lib in '' GeoIP; do
13841    if test -z "$ac_lib"; then
13842      ac_res="none required"
13843    else
# Line 13657 | Line 13845 | for ac_lib in '' pcre; do
13845      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13846    fi
13847    if ac_fn_c_try_link "$LINENO"; then :
13848 <  ac_cv_search_pcre_study=$ac_res
13848 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13849   fi
13850   rm -f core conftest.err conftest.$ac_objext \
13851      conftest$ac_exeext
13852 <  if ${ac_cv_search_pcre_study+:} false; then :
13852 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13853    break
13854   fi
13855   done
13856 < if ${ac_cv_search_pcre_study+:} false; then :
13856 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13857  
13858   else
13859 <  ac_cv_search_pcre_study=no
13859 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13860   fi
13861   rm conftest.$ac_ext
13862   LIBS=$ac_func_search_save_LIBS
13863   fi
13864 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13865 < $as_echo "$ac_cv_search_pcre_study" >&6; }
13866 < ac_res=$ac_cv_search_pcre_study
13864 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13865 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13866 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13867   if test "$ac_res" != no; then :
13868    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13869  
13870 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13870 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13871  
13872   fi
13873  
# Line 13689 | Line 13877 | fi
13877   fi
13878  
13879  
13880 +
13881   # Check whether --enable-openssl was given.
13882   if test "${enable_openssl+set}" = set; then :
13883    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13901 | Line 14090 | $as_echo "#define NDEBUG 1" >>confdefs.h
14090   fi
14091  
14092  
14093 + $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14094 +
14095 +
14096 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14097 +
14098  
14099 < $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
14099 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14100  
14101  
14102 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14102 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14103  
14104  
14105 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14105 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14106  
14107  
14108 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14108 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14109  
14110  
14111 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14111 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14112  
14113  
14114 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14114 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14115  
14116  
14117 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14117 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14118  
14119  
14120 < $as_echo "#define AUTH_HEAP_SIZE 256" >>confdefs.h
14120 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14121  
14122  
14123 < $as_echo "#define DNS_HEAP_SIZE 256" >>confdefs.h
14123 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14124  
14125  
14126 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14127 +
14128 +
14129 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14130 +
14131 +
14132 + $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14133 +
14134  
14135   # Argument processing.
14136  
# Line 13948 | Line 14150 | if test "${enable_devpoll+set}" = set; t
14150    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14151   fi
14152  
13951  # Check whether --enable-rtsigio was given.
13952 if test "${enable_rtsigio+set}" = set; then :
13953  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13954 fi
13955
14153    # Check whether --enable-poll was given.
14154   if test "${enable_poll+set}" = set; then :
14155    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 14136 | Line 14333 | rm -f core conftest.err conftest.$ac_obj
14333   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14334  
14335    fi
14336 <      iopoll_mechanism_rtsigio=4
14140 <
14141 < cat >>confdefs.h <<_ACEOF
14142 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14143 < _ACEOF
14144 <
14145 <  if test "$cross_compiling" = yes; then :
14146 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14147 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14148 < as_fn_error $? "cannot run test program while cross compiling
14149 < See \`config.log' for more details" "$LINENO" 5; }
14150 < else
14151 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 < /* end confdefs.h.  */
14153 <
14154 < #define _GNU_SOURCE
14155 < #include <fcntl.h>
14156 < static unsigned int have_f_setsig = 0;
14157 <
14158 < int
14159 < main ()
14160 < {
14161 <
14162 < #ifdef F_SETSIG
14163 <  have_f_setsig = 1;
14164 < #endif
14165 <  return have_f_setsig == 0;
14166 <
14167 <  ;
14168 <  return 0;
14169 < }
14170 < _ACEOF
14171 < if ac_fn_c_try_run "$LINENO"; then :
14172 <  is_rtsigio_mechanism_available="yes"
14173 < else
14174 <  is_rtsigio_mechanism_available="no"
14175 < fi
14176 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14177 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14178 < fi
14179 <
14180 <      iopoll_mechanism_poll=5
14336 >      iopoll_mechanism_poll=4
14337  
14338   cat >>confdefs.h <<_ACEOF
14339   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14231 | Line 14387 | else
14387   fi
14388   rm -f core conftest.err conftest.$ac_objext \
14389      conftest$ac_exeext conftest.$ac_ext
14390 <      iopoll_mechanism_select=6
14390 >      iopoll_mechanism_select=5
14391  
14392   cat >>confdefs.h <<_ACEOF
14393   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 14286 | Line 14442 | fi
14442   rm -f core conftest.err conftest.$ac_objext \
14443      conftest$ac_exeext conftest.$ac_ext
14444        optimal_iopoll_mechanism="none"
14445 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14445 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14446      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14447      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14448        optimal_iopoll_mechanism="$mechanism"
# Line 14323 | Line 14479 | _ACEOF
14479  
14480  
14481  
14482 +  # Check whether --enable-halfops was given.
14483 + if test "${enable_halfops+set}" = set; then :
14484 +  enableval=$enable_halfops; halfops="$enableval"
14485 + else
14486 +  halfops="no"
14487 + fi
14488 +
14489 +  if test "$halfops" = "yes" ; then
14490 +
14491 + $as_echo "#define HALFOPS 1" >>confdefs.h
14492 +
14493 +  fi
14494 +
14495  
14496 < # Check whether --with-nicklen was given.
14497 < if test "${with_nicklen+set}" = set; then :
14498 <  withval=$with_nicklen; nicklen="$withval"
14496 >  # Check whether --enable-debugging was given.
14497 > if test "${enable_debugging+set}" = set; then :
14498 >  enableval=$enable_debugging; debugging="$enableval"
14499   else
14500 <  nicklen="9"
14500 >  debugging="no"
14501   fi
14502  
14503 +  if test "$debugging" = "yes" ; then
14504 +    CFLAGS="-Wall -g -O0"
14505 +  fi
14506  
14507 < cat >>confdefs.h <<_ACEOF
14508 < #define NICKLEN ($nicklen)
14507 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
14508 > $as_echo_n "checking whether C compiler accepts ... " >&6; }
14509 > if ${ax_cv_check_cflags__+:} false; then :
14510 >  $as_echo_n "(cached) " >&6
14511 > else
14512 >
14513 >  ax_check_save_flags=$CFLAGS
14514 >  CFLAGS="$CFLAGS  "
14515 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 > /* end confdefs.h.  */
14517 >
14518 > int
14519 > main ()
14520 > {
14521 >
14522 >  ;
14523 >  return 0;
14524 > }
14525   _ACEOF
14526 + if ac_fn_c_try_compile "$LINENO"; then :
14527 +  ax_cv_check_cflags__=yes
14528 + else
14529 +  ax_cv_check_cflags__=no
14530 + fi
14531 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14532 +  CFLAGS=$ax_check_save_flags
14533 + fi
14534 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
14535 + $as_echo "$ax_cv_check_cflags__" >&6; }
14536 + if test x"$ax_cv_check_cflags__" = xyes; then :
14537 +  :
14538 + else
14539 +  :
14540 + fi
14541 +
14542 + if ${CFLAGS+:} false; then :
14543 +  case " $CFLAGS " in
14544 +    *"  "*)
14545 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
14546 +  (: CFLAGS already contains ) 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 \""; } >&5
14553 +  (: CFLAGS="$CFLAGS ") 2>&5
14554 +  ac_status=$?
14555 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14556 +  test $ac_status = 0; }
14557 +      CFLAGS="$CFLAGS "
14558 +      ;;
14559 +   esac
14560 + else
14561 +  CFLAGS=""
14562 + fi
14563 +
14564 +
14565 +  # Check whether --enable-warnings was given.
14566 + if test "${enable_warnings+set}" = set; then :
14567 +  enableval=$enable_warnings; warnings="$enableval"
14568 + else
14569 +  warnings="no"
14570 + fi
14571 +
14572 +  if test "$warnings" = "yes" ; then
14573  
14574  
14575 + for flag in -Wall; do
14576 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14577 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14578 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14579 + if eval \${$as_CACHEVAR+:} false; then :
14580 +  $as_echo_n "(cached) " >&6
14581 + else
14582  
14583 +  ax_check_save_flags=$CFLAGS
14584 +  CFLAGS="$CFLAGS  $flag"
14585 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 + /* end confdefs.h.  */
14587  
14588 < # Check whether --with-topiclen was given.
14589 < if test "${with_topiclen+set}" = set; then :
14590 <  withval=$with_topiclen; topiclen="$withval"
14588 > int
14589 > main ()
14590 > {
14591 >
14592 >  ;
14593 >  return 0;
14594 > }
14595 > _ACEOF
14596 > if ac_fn_c_try_compile "$LINENO"; then :
14597 >  eval "$as_CACHEVAR=yes"
14598   else
14599 <  topiclen="160"
14599 >  eval "$as_CACHEVAR=no"
14600 > fi
14601 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14602 >  CFLAGS=$ax_check_save_flags
14603 > fi
14604 > eval ac_res=\$$as_CACHEVAR
14605 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14606 > $as_echo "$ac_res" >&6; }
14607 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14608 >  if ${CFLAGS+:} false; then :
14609 >  case " $CFLAGS " in
14610 >    *" $flag "*)
14611 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14612 >  (: CFLAGS already contains $flag) 2>&5
14613 >  ac_status=$?
14614 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14615 >  test $ac_status = 0; }
14616 >      ;;
14617 >    *)
14618 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14619 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14620 >  ac_status=$?
14621 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14622 >  test $ac_status = 0; }
14623 >      CFLAGS="$CFLAGS $flag"
14624 >      ;;
14625 >   esac
14626 > else
14627 >  CFLAGS="$flag"
14628 > fi
14629 >
14630 > else
14631 >  :
14632   fi
14633  
14634 + done
14635  
14636 < cat >>confdefs.h <<_ACEOF
14637 < #define TOPICLEN ($topiclen)
14636 >
14637 >
14638 > for flag in -Wextra; do
14639 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14640 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14641 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14642 > if eval \${$as_CACHEVAR+:} false; then :
14643 >  $as_echo_n "(cached) " >&6
14644 > else
14645 >
14646 >  ax_check_save_flags=$CFLAGS
14647 >  CFLAGS="$CFLAGS  $flag"
14648 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 > /* end confdefs.h.  */
14650 >
14651 > int
14652 > main ()
14653 > {
14654 >
14655 >  ;
14656 >  return 0;
14657 > }
14658   _ACEOF
14659 + if ac_fn_c_try_compile "$LINENO"; then :
14660 +  eval "$as_CACHEVAR=yes"
14661 + else
14662 +  eval "$as_CACHEVAR=no"
14663 + fi
14664 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14665 +  CFLAGS=$ax_check_save_flags
14666 + fi
14667 + eval ac_res=\$$as_CACHEVAR
14668 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14669 + $as_echo "$ac_res" >&6; }
14670 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14671 +  if ${CFLAGS+:} false; then :
14672 +  case " $CFLAGS " in
14673 +    *" $flag "*)
14674 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14675 +  (: CFLAGS already contains $flag) 2>&5
14676 +  ac_status=$?
14677 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14678 +  test $ac_status = 0; }
14679 +      ;;
14680 +    *)
14681 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14682 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14683 +  ac_status=$?
14684 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14685 +  test $ac_status = 0; }
14686 +      CFLAGS="$CFLAGS $flag"
14687 +      ;;
14688 +   esac
14689 + else
14690 +  CFLAGS="$flag"
14691 + fi
14692  
14693 + else
14694 +  :
14695 + fi
14696  
14697 + done
14698  
14699 <  # Check whether --enable-halfops was given.
14700 < if test "${enable_halfops+set}" = set; then :
14701 <  enableval=$enable_halfops; halfops="$enableval"
14699 >
14700 >
14701 > for flag in -Wno-unused; do
14702 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14703 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14704 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14705 > if eval \${$as_CACHEVAR+:} false; then :
14706 >  $as_echo_n "(cached) " >&6
14707   else
14708 <  halfops="no"
14708 >
14709 >  ax_check_save_flags=$CFLAGS
14710 >  CFLAGS="$CFLAGS  $flag"
14711 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 > /* end confdefs.h.  */
14713 >
14714 > int
14715 > main ()
14716 > {
14717 >
14718 >  ;
14719 >  return 0;
14720 > }
14721 > _ACEOF
14722 > if ac_fn_c_try_compile "$LINENO"; then :
14723 >  eval "$as_CACHEVAR=yes"
14724 > else
14725 >  eval "$as_CACHEVAR=no"
14726 > fi
14727 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14728 >  CFLAGS=$ax_check_save_flags
14729 > fi
14730 > eval ac_res=\$$as_CACHEVAR
14731 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14732 > $as_echo "$ac_res" >&6; }
14733 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14734 >  if ${CFLAGS+:} false; then :
14735 >  case " $CFLAGS " in
14736 >    *" $flag "*)
14737 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14738 >  (: CFLAGS already contains $flag) 2>&5
14739 >  ac_status=$?
14740 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14741 >  test $ac_status = 0; }
14742 >      ;;
14743 >    *)
14744 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14745 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14746 >  ac_status=$?
14747 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14748 >  test $ac_status = 0; }
14749 >      CFLAGS="$CFLAGS $flag"
14750 >      ;;
14751 >   esac
14752 > else
14753 >  CFLAGS="$flag"
14754   fi
14755  
14756 <  if test "$halfops" = "yes" ; then
14756 > else
14757 >  :
14758 > fi
14759  
14760 < $as_echo "#define HALFOPS 1" >>confdefs.h
14760 > done
14761  
14367  fi
14762  
14763  
14764 <  # Check whether --enable-debugging was given.
14765 < if test "${enable_debugging+set}" = set; then :
14766 <  enableval=$enable_debugging; debugging="$enableval"
14764 > for flag in -Wcast-qual; do
14765 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14766 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14767 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14768 > if eval \${$as_CACHEVAR+:} false; then :
14769 >  $as_echo_n "(cached) " >&6
14770   else
14771 <  debugging="no"
14771 >
14772 >  ax_check_save_flags=$CFLAGS
14773 >  CFLAGS="$CFLAGS  $flag"
14774 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 > /* end confdefs.h.  */
14776 >
14777 > int
14778 > main ()
14779 > {
14780 >
14781 >  ;
14782 >  return 0;
14783 > }
14784 > _ACEOF
14785 > if ac_fn_c_try_compile "$LINENO"; then :
14786 >  eval "$as_CACHEVAR=yes"
14787 > else
14788 >  eval "$as_CACHEVAR=no"
14789 > fi
14790 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14791 >  CFLAGS=$ax_check_save_flags
14792 > fi
14793 > eval ac_res=\$$as_CACHEVAR
14794 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14795 > $as_echo "$ac_res" >&6; }
14796 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14797 >  if ${CFLAGS+:} false; then :
14798 >  case " $CFLAGS " in
14799 >    *" $flag "*)
14800 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14801 >  (: CFLAGS already contains $flag) 2>&5
14802 >  ac_status=$?
14803 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14804 >  test $ac_status = 0; }
14805 >      ;;
14806 >    *)
14807 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14808 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14809 >  ac_status=$?
14810 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14811 >  test $ac_status = 0; }
14812 >      CFLAGS="$CFLAGS $flag"
14813 >      ;;
14814 >   esac
14815 > else
14816 >  CFLAGS="$flag"
14817   fi
14818  
14819 <  if test "$debugging" = "yes" ; then
14819 > else
14820 >  :
14821 > fi
14822  
14823 < $as_echo "#define DEBUG 1" >>confdefs.h
14823 > done
14824  
14381    CFLAGS="-Wall -g -O0"
14382  else
14825  
14384 $as_echo "#define NDEBUG 1" >>confdefs.h
14826  
14827 <  fi
14827 > for flag in -Wcast-align; do
14828 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14829 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14830 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14831 > if eval \${$as_CACHEVAR+:} false; then :
14832 >  $as_echo_n "(cached) " >&6
14833 > else
14834  
14835 +  ax_check_save_flags=$CFLAGS
14836 +  CFLAGS="$CFLAGS  $flag"
14837 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14838 + /* end confdefs.h.  */
14839  
14840 <  # Check whether --enable-warnings was given.
14841 < if test "${enable_warnings+set}" = set; then :
14842 <  enableval=$enable_warnings; warnings="$enableval"
14840 > int
14841 > main ()
14842 > {
14843 >
14844 >  ;
14845 >  return 0;
14846 > }
14847 > _ACEOF
14848 > if ac_fn_c_try_compile "$LINENO"; then :
14849 >  eval "$as_CACHEVAR=yes"
14850   else
14851 <  warnings="no"
14851 >  eval "$as_CACHEVAR=no"
14852 > fi
14853 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14854 >  CFLAGS=$ax_check_save_flags
14855 > fi
14856 > eval ac_res=\$$as_CACHEVAR
14857 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14858 > $as_echo "$ac_res" >&6; }
14859 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14860 >  if ${CFLAGS+:} false; then :
14861 >  case " $CFLAGS " in
14862 >    *" $flag "*)
14863 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14864 >  (: CFLAGS already contains $flag) 2>&5
14865 >  ac_status=$?
14866 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14867 >  test $ac_status = 0; }
14868 >      ;;
14869 >    *)
14870 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14871 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14872 >  ac_status=$?
14873 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14874 >  test $ac_status = 0; }
14875 >      CFLAGS="$CFLAGS $flag"
14876 >      ;;
14877 >   esac
14878 > else
14879 >  CFLAGS="$flag"
14880   fi
14881  
14882 <  if test "$warnings" = "yes" ; then
14883 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14882 > else
14883 >  :
14884 > fi
14885 >
14886 > done
14887 >
14888 >
14889 >
14890 > for flag in -Wbad-function-cast; do
14891 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14892 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14893 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14894 > if eval \${$as_CACHEVAR+:} false; then :
14895 >  $as_echo_n "(cached) " >&6
14896 > else
14897 >
14898 >  ax_check_save_flags=$CFLAGS
14899 >  CFLAGS="$CFLAGS  $flag"
14900 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 > /* end confdefs.h.  */
14902 >
14903 > int
14904 > main ()
14905 > {
14906 >
14907 >  ;
14908 >  return 0;
14909 > }
14910 > _ACEOF
14911 > if ac_fn_c_try_compile "$LINENO"; then :
14912 >  eval "$as_CACHEVAR=yes"
14913 > else
14914 >  eval "$as_CACHEVAR=no"
14915 > fi
14916 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14917 >  CFLAGS=$ax_check_save_flags
14918 > fi
14919 > eval ac_res=\$$as_CACHEVAR
14920 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14921 > $as_echo "$ac_res" >&6; }
14922 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14923 >  if ${CFLAGS+:} false; then :
14924 >  case " $CFLAGS " in
14925 >    *" $flag "*)
14926 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14927 >  (: CFLAGS already contains $flag) 2>&5
14928 >  ac_status=$?
14929 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14930 >  test $ac_status = 0; }
14931 >      ;;
14932 >    *)
14933 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14934 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14935 >  ac_status=$?
14936 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14937 >  test $ac_status = 0; }
14938 >      CFLAGS="$CFLAGS $flag"
14939 >      ;;
14940 >   esac
14941 > else
14942 >  CFLAGS="$flag"
14943 > fi
14944 >
14945 > else
14946 >  :
14947 > fi
14948 >
14949 > done
14950 >
14951 >
14952 >
14953 > for flag in -Wmissing-declarations; do
14954 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14955 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14956 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14957 > if eval \${$as_CACHEVAR+:} false; then :
14958 >  $as_echo_n "(cached) " >&6
14959 > else
14960 >
14961 >  ax_check_save_flags=$CFLAGS
14962 >  CFLAGS="$CFLAGS  $flag"
14963 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 > /* end confdefs.h.  */
14965 >
14966 > int
14967 > main ()
14968 > {
14969 >
14970 >  ;
14971 >  return 0;
14972 > }
14973 > _ACEOF
14974 > if ac_fn_c_try_compile "$LINENO"; then :
14975 >  eval "$as_CACHEVAR=yes"
14976 > else
14977 >  eval "$as_CACHEVAR=no"
14978 > fi
14979 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14980 >  CFLAGS=$ax_check_save_flags
14981 > fi
14982 > eval ac_res=\$$as_CACHEVAR
14983 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14984 > $as_echo "$ac_res" >&6; }
14985 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14986 >  if ${CFLAGS+:} false; then :
14987 >  case " $CFLAGS " in
14988 >    *" $flag "*)
14989 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14990 >  (: CFLAGS already contains $flag) 2>&5
14991 >  ac_status=$?
14992 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14993 >  test $ac_status = 0; }
14994 >      ;;
14995 >    *)
14996 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14997 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14998 >  ac_status=$?
14999 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15000 >  test $ac_status = 0; }
15001 >      CFLAGS="$CFLAGS $flag"
15002 >      ;;
15003 >   esac
15004 > else
15005 >  CFLAGS="$flag"
15006 > fi
15007 >
15008 > else
15009 >  :
15010 > fi
15011 >
15012 > done
15013 >
15014 >
15015 >
15016 > for flag in -Wmissing-prototypes; do
15017 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15018 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15019 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15020 > if eval \${$as_CACHEVAR+:} false; then :
15021 >  $as_echo_n "(cached) " >&6
15022 > else
15023 >
15024 >  ax_check_save_flags=$CFLAGS
15025 >  CFLAGS="$CFLAGS  $flag"
15026 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 > /* end confdefs.h.  */
15028 >
15029 > int
15030 > main ()
15031 > {
15032 >
15033 >  ;
15034 >  return 0;
15035 > }
15036 > _ACEOF
15037 > if ac_fn_c_try_compile "$LINENO"; then :
15038 >  eval "$as_CACHEVAR=yes"
15039 > else
15040 >  eval "$as_CACHEVAR=no"
15041 > fi
15042 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15043 >  CFLAGS=$ax_check_save_flags
15044 > fi
15045 > eval ac_res=\$$as_CACHEVAR
15046 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15047 > $as_echo "$ac_res" >&6; }
15048 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15049 >  if ${CFLAGS+:} false; then :
15050 >  case " $CFLAGS " in
15051 >    *" $flag "*)
15052 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15053 >  (: CFLAGS already contains $flag) 2>&5
15054 >  ac_status=$?
15055 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15056 >  test $ac_status = 0; }
15057 >      ;;
15058 >    *)
15059 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15060 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15061 >  ac_status=$?
15062 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15063 >  test $ac_status = 0; }
15064 >      CFLAGS="$CFLAGS $flag"
15065 >      ;;
15066 >   esac
15067 > else
15068 >  CFLAGS="$flag"
15069 > fi
15070 >
15071 > else
15072 >  :
15073 > fi
15074 >
15075 > done
15076 >
15077 >
15078 >
15079 > for flag in -Wnested-externs; do
15080 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15081 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15082 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15083 > if eval \${$as_CACHEVAR+:} false; then :
15084 >  $as_echo_n "(cached) " >&6
15085 > else
15086 >
15087 >  ax_check_save_flags=$CFLAGS
15088 >  CFLAGS="$CFLAGS  $flag"
15089 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090 > /* end confdefs.h.  */
15091 >
15092 > int
15093 > main ()
15094 > {
15095 >
15096 >  ;
15097 >  return 0;
15098 > }
15099 > _ACEOF
15100 > if ac_fn_c_try_compile "$LINENO"; then :
15101 >  eval "$as_CACHEVAR=yes"
15102 > else
15103 >  eval "$as_CACHEVAR=no"
15104 > fi
15105 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15106 >  CFLAGS=$ax_check_save_flags
15107 > fi
15108 > eval ac_res=\$$as_CACHEVAR
15109 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15110 > $as_echo "$ac_res" >&6; }
15111 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15112 >  if ${CFLAGS+:} false; then :
15113 >  case " $CFLAGS " in
15114 >    *" $flag "*)
15115 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15116 >  (: CFLAGS already contains $flag) 2>&5
15117 >  ac_status=$?
15118 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15119 >  test $ac_status = 0; }
15120 >      ;;
15121 >    *)
15122 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15123 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15124 >  ac_status=$?
15125 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15126 >  test $ac_status = 0; }
15127 >      CFLAGS="$CFLAGS $flag"
15128 >      ;;
15129 >   esac
15130 > else
15131 >  CFLAGS="$flag"
15132 > fi
15133 >
15134 > else
15135 >  :
15136 > fi
15137 >
15138 > done
15139 >
15140 >
15141 >
15142 > for flag in -Wredundant-decls; do
15143 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15144 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15145 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15146 > if eval \${$as_CACHEVAR+:} false; then :
15147 >  $as_echo_n "(cached) " >&6
15148 > else
15149 >
15150 >  ax_check_save_flags=$CFLAGS
15151 >  CFLAGS="$CFLAGS  $flag"
15152 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 > /* end confdefs.h.  */
15154 >
15155 > int
15156 > main ()
15157 > {
15158 >
15159 >  ;
15160 >  return 0;
15161 > }
15162 > _ACEOF
15163 > if ac_fn_c_try_compile "$LINENO"; then :
15164 >  eval "$as_CACHEVAR=yes"
15165 > else
15166 >  eval "$as_CACHEVAR=no"
15167 > fi
15168 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15169 >  CFLAGS=$ax_check_save_flags
15170 > fi
15171 > eval ac_res=\$$as_CACHEVAR
15172 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15173 > $as_echo "$ac_res" >&6; }
15174 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15175 >  if ${CFLAGS+:} false; then :
15176 >  case " $CFLAGS " in
15177 >    *" $flag "*)
15178 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15179 >  (: CFLAGS already contains $flag) 2>&5
15180 >  ac_status=$?
15181 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15182 >  test $ac_status = 0; }
15183 >      ;;
15184 >    *)
15185 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15186 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15187 >  ac_status=$?
15188 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15189 >  test $ac_status = 0; }
15190 >      CFLAGS="$CFLAGS $flag"
15191 >      ;;
15192 >   esac
15193 > else
15194 >  CFLAGS="$flag"
15195 > fi
15196 >
15197 > else
15198 >  :
15199 > fi
15200 >
15201 > done
15202 >
15203 >
15204 >
15205 > for flag in -Wshadow; do
15206 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15207 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15208 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15209 > if eval \${$as_CACHEVAR+:} false; then :
15210 >  $as_echo_n "(cached) " >&6
15211 > else
15212 >
15213 >  ax_check_save_flags=$CFLAGS
15214 >  CFLAGS="$CFLAGS  $flag"
15215 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 > /* end confdefs.h.  */
15217 >
15218 > int
15219 > main ()
15220 > {
15221 >
15222 >  ;
15223 >  return 0;
15224 > }
15225 > _ACEOF
15226 > if ac_fn_c_try_compile "$LINENO"; then :
15227 >  eval "$as_CACHEVAR=yes"
15228 > else
15229 >  eval "$as_CACHEVAR=no"
15230 > fi
15231 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15232 >  CFLAGS=$ax_check_save_flags
15233 > fi
15234 > eval ac_res=\$$as_CACHEVAR
15235 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15236 > $as_echo "$ac_res" >&6; }
15237 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15238 >  if ${CFLAGS+:} false; then :
15239 >  case " $CFLAGS " in
15240 >    *" $flag "*)
15241 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15242 >  (: CFLAGS already contains $flag) 2>&5
15243 >  ac_status=$?
15244 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15245 >  test $ac_status = 0; }
15246 >      ;;
15247 >    *)
15248 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15249 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15250 >  ac_status=$?
15251 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15252 >  test $ac_status = 0; }
15253 >      CFLAGS="$CFLAGS $flag"
15254 >      ;;
15255 >   esac
15256 > else
15257 >  CFLAGS="$flag"
15258 > fi
15259 >
15260 > else
15261 >  :
15262 > fi
15263 >
15264 > done
15265 >
15266 >
15267 >
15268 > for flag in -Wwrite-strings; do
15269 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15270 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15271 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15272 > if eval \${$as_CACHEVAR+:} false; then :
15273 >  $as_echo_n "(cached) " >&6
15274 > else
15275 >
15276 >  ax_check_save_flags=$CFLAGS
15277 >  CFLAGS="$CFLAGS  $flag"
15278 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 > /* end confdefs.h.  */
15280 >
15281 > int
15282 > main ()
15283 > {
15284 >
15285 >  ;
15286 >  return 0;
15287 > }
15288 > _ACEOF
15289 > if ac_fn_c_try_compile "$LINENO"; then :
15290 >  eval "$as_CACHEVAR=yes"
15291 > else
15292 >  eval "$as_CACHEVAR=no"
15293 > fi
15294 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15295 >  CFLAGS=$ax_check_save_flags
15296 > fi
15297 > eval ac_res=\$$as_CACHEVAR
15298 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15299 > $as_echo "$ac_res" >&6; }
15300 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15301 >  if ${CFLAGS+:} false; then :
15302 >  case " $CFLAGS " in
15303 >    *" $flag "*)
15304 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15305 >  (: CFLAGS already contains $flag) 2>&5
15306 >  ac_status=$?
15307 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15308 >  test $ac_status = 0; }
15309 >      ;;
15310 >    *)
15311 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15312 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15313 >  ac_status=$?
15314 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15315 >  test $ac_status = 0; }
15316 >      CFLAGS="$CFLAGS $flag"
15317 >      ;;
15318 >   esac
15319 > else
15320 >  CFLAGS="$flag"
15321 > fi
15322 >
15323 > else
15324 >  :
15325 > fi
15326 >
15327 > done
15328 >
15329 >
15330 >
15331 > for flag in -Wundef; do
15332 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15333 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15334 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15335 > if eval \${$as_CACHEVAR+:} false; then :
15336 >  $as_echo_n "(cached) " >&6
15337 > else
15338 >
15339 >  ax_check_save_flags=$CFLAGS
15340 >  CFLAGS="$CFLAGS  $flag"
15341 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 > /* end confdefs.h.  */
15343 >
15344 > int
15345 > main ()
15346 > {
15347 >
15348 >  ;
15349 >  return 0;
15350 > }
15351 > _ACEOF
15352 > if ac_fn_c_try_compile "$LINENO"; then :
15353 >  eval "$as_CACHEVAR=yes"
15354 > else
15355 >  eval "$as_CACHEVAR=no"
15356 > fi
15357 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15358 >  CFLAGS=$ax_check_save_flags
15359 > fi
15360 > eval ac_res=\$$as_CACHEVAR
15361 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15362 > $as_echo "$ac_res" >&6; }
15363 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15364 >  if ${CFLAGS+:} false; then :
15365 >  case " $CFLAGS " in
15366 >    *" $flag "*)
15367 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15368 >  (: CFLAGS already contains $flag) 2>&5
15369 >  ac_status=$?
15370 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15371 >  test $ac_status = 0; }
15372 >      ;;
15373 >    *)
15374 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15375 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15376 >  ac_status=$?
15377 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15378 >  test $ac_status = 0; }
15379 >      CFLAGS="$CFLAGS $flag"
15380 >      ;;
15381 >   esac
15382 > else
15383 >  CFLAGS="$flag"
15384 > fi
15385 >
15386 > else
15387 >  :
15388 > fi
15389 >
15390 > done
15391 >
15392    fi
15393  
15394  
# Line 14484 | Line 15478 | _ACEOF
15478    test "$exec_prefix_NONE" && exec_prefix=NONE
15479  
15480  
15481 < 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"
15481 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15482  
15483  
15484   cat >confcache <<\_ACEOF
# Line 15051 | Line 16045 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16045   # report actual input values of CONFIG_FILES etc. instead of their
16046   # values after options handling.
16047   ac_log="
16048 < This file was extended by ircd-hybrid $as_me 8.0.0, which was
16048 > This file was extended by ircd-hybrid $as_me TRUNK, which was
16049   generated by GNU Autoconf 2.69.  Invocation command line was
16050  
16051    CONFIG_FILES    = $CONFIG_FILES
# Line 15117 | Line 16111 | _ACEOF
16111   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16112   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16113   ac_cs_version="\\
16114 < ircd-hybrid config.status 8.0.0
16114 > ircd-hybrid config.status TRUNK
16115   configured by $0, generated by GNU Autoconf 2.69,
16116    with options \\"\$ac_cs_config\\"
16117  
# Line 15527 | Line 16521 | do
16521      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16522      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16523      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15530    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15531    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16524      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16525      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15534    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16526      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16527      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16528      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16529      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15539    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15540    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16530      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16531  
16532    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16135 | Line 17124 | $as_echo "$as_me: executing $ac_file com
17124  
17125    case $ac_file$ac_mode in
17126      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17127 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17127 >  # Older Autoconf quotes --file arguments for eval, but not when files
17128    # are listed without --file.  Let's play safe and only enable the eval
17129    # if we detect the quoting.
17130    case $CONFIG_FILES in
# Line 16186 | Line 17175 | $as_echo X"$mf" |
17175      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17176      test -z "$DEPDIR" && continue
17177      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17178 <    test -z "am__include" && continue
17178 >    test -z "$am__include" && continue
17179      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17180      # Find all dependency output files, they are included files with
17181      # $(DEPDIR) in their names.  We invoke sed twice because it is the

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1540 by michael, Sat Sep 29 20:03:55 2012 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 2491 by michael, Fri Oct 25 16:55:01 2013 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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