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 1517 by michael, Thu Aug 30 15:11:32 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4356 by michael, Sat Aug 2 18:30:48 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1504 2012-08-16 18:03:00Z michael .
2 > # From configure.ac Id: configure.ac 4294 2014-07-20 10:33:10Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid 8rc1.
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='8rc1'
597 < PACKAGE_STRING='ircd-hybrid 8rc1'
596 > PACKAGE_VERSION='8.2.0rc1'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0rc1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 723 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 787 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 800 | Line 805 | with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
806 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
810 enable_rtsigio
814   enable_poll
812 enable_select
813 with_nicklen
814 with_topiclen
815 enable_halfops
815   enable_debugging
816   enable_warnings
817   '
# Line 1367 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 8rc1 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.0rc1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1437 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 8rc1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1445 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 +  --enable-silent-rules   less verbose build output (undo: "make V=1")
1448 +  --disable-silent-rules  verbose build output (undo: "make V=0")
1449    --enable-maintainer-mode
1450                            enable make rules and dependencies not useful (and
1451                            sometimes confusing) to the casual installer
# Line 1458 | Line 1459 | Optional Features:
1459                            optimize for fast installation [default=yes]
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462 <  --disable-libpcre       Disable PCRE support
1462 >  --disable-libgeoip      Disable GeoIP support
1463    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1464    --disable-openssl            Disable OpenSSL support.
1465    --enable-assert         Enable assert() statements
1465  --enable-small-net      Enable small network support.
1466    --enable-kqueue         Force kqueue usage.
1467    --enable-epoll          Force epoll usage.
1468    --enable-devpoll        Force devpoll usage.
1469  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1471  --enable-select         Force select usage.
1472  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1484 | Line 1481 | Optional Packages:
1481    --with-included-ltdl    use the GNU ltdl sources included here
1482    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1483    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1487  --with-nicklen=<value>  Set nickname length (default 9).
1488  --with-topiclen=<value> Set topic length (default 160).
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1569 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure 8rc1
1567 > ircd-hybrid configure 8.2.0rc1
1568   generated by GNU Autoconf 2.69
1569  
1570   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2095 | Line 2090 | cat >config.log <<_ACEOF
2090   This file contains any messages produced by compilers while
2091   running configure, to aid debugging if configure makes a mistake.
2092  
2093 < It was created by ircd-hybrid $as_me 8rc1, which was
2093 > It was created by ircd-hybrid $as_me 8.2.0rc1, which was
2094   generated by GNU Autoconf 2.69.  Invocation command line was
2095  
2096    $ $0 $@
# Line 2375 | Line 2370 | $as_echo "$as_me: creating cache $cache_
2370    >$cache_file
2371   fi
2372  
2378 as_fn_append ac_func_list " mmap"
2373   as_fn_append ac_func_list " strtok_r"
2374   as_fn_append ac_func_list " usleep"
2375   as_fn_append ac_func_list " strlcat"
# Line 2455 | Line 2449 | ac_link='$CC -o conftest$ac_exeext $CFLA
2449   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450  
2451  
2452 < am__api_version='1.12'
2452 > am__api_version='1.14'
2453  
2454   ac_aux_dir=
2455   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2668 | Line 2662 | if test x"${MISSING+set}" != xset; then
2662    esac
2663   fi
2664   # Use eval to expand $SHELL
2665 < if eval "$MISSING --run true"; then
2666 <  am_missing_run="$MISSING --run "
2665 > if eval "$MISSING --is-lightweight"; then
2666 >  am_missing_run="$MISSING "
2667   else
2668    am_missing_run=
2669    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
# Line 2909 | 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 2931 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='8rc1'
2967 > VERSION='8.2.0rc1'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 2971 | 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 2978 | Line 3015 | am__tar='$${TAR-tar} chof - "$$tardir"'
3015  
3016  
3017  
3018 + # POSIX will say in a future version that running "rm -f" with no argument
3019 + # is OK; and we want to be able to make that assumption in our Makefile
3020 + # recipes.  So use an aggressive probe to check that the usage we want is
3021 + # actually supported "in the wild" to an acceptable degree.
3022 + # See automake bug#10828.
3023 + # To make any issue more visible, cause the running configure to be aborted
3024 + # by default if the 'rm' program in use doesn't match our expectations; the
3025 + # user can still override this though.
3026 + if rm -f && rm -fr && rm -rf; then : OK; else
3027 +  cat >&2 <<'END'
3028 + Oops!
3029 +
3030 + Your 'rm' program seems unable to run without file operands specified
3031 + on the command line, even when the '-f' option is present.  This is contrary
3032 + to the behaviour of most rm programs out there, and not conforming with
3033 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3034 +
3035 + Please tell bug-automake@gnu.org about your system, including the value
3036 + of your $PATH and any error possibly output before this message.  This
3037 + can help us improve future automake versions.
3038 +
3039 + END
3040 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3041 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3042 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3043 +    echo >&2
3044 +  else
3045 +    cat >&2 <<'END'
3046 + Aborting the configuration process, to ensure you take notice of the issue.
3047 +
3048 + You can download and install GNU coreutils to get an 'rm' implementation
3049 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3050 +
3051 + If you want to complete the configuration process using your problematic
3052 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3053 + to "yes", and re-run configure.
3054 +
3055 + END
3056 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3057 +  fi
3058 + fi
3059 +
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3061   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3062      # Check whether --enable-maintainer-mode was given.
# Line 3000 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 3857 | Line 3937 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3937   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939  
3940 + ac_ext=c
3941 + ac_cpp='$CPP $CPPFLAGS'
3942 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3946 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3947 + if ${am_cv_prog_cc_c_o+:} false; then :
3948 +  $as_echo_n "(cached) " >&6
3949 + else
3950 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 + /* end confdefs.h.  */
3952 +
3953 + int
3954 + main ()
3955 + {
3956 +
3957 +  ;
3958 +  return 0;
3959 + }
3960 + _ACEOF
3961 +  # Make sure it works both with $CC and with simple cc.
3962 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3963 +  # compilers refuse to overwrite an existing .o file with -o,
3964 +  # though they will create one.
3965 +  am_cv_prog_cc_c_o=yes
3966 +  for am_i in 1 2; do
3967 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3968 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3969 +   ac_status=$?
3970 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 +   (exit $ac_status); } \
3972 +         && test -f conftest2.$ac_objext; then
3973 +      : OK
3974 +    else
3975 +      am_cv_prog_cc_c_o=no
3976 +      break
3977 +    fi
3978 +  done
3979 +  rm -f core conftest*
3980 +  unset am_i
3981 + fi
3982 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3983 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3984 + if test "$am_cv_prog_cc_c_o" != yes; then
3985 +   # Losing compiler, so override with the script.
3986 +   # FIXME: It is wrong to rewrite CC.
3987 +   # But if we don't then we get into trouble of one sort or another.
3988 +   # A longer-term fix would be to have automake use am__CC in this case,
3989 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3990 +   CC="$am_aux_dir/compile $CC"
3991 + fi
3992 + ac_ext=c
3993 + ac_cpp='$CPP $CPPFLAGS'
3994 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997 +
3998 +
3999   depcc="$CC"   am_compiler_list=
4000  
4001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
# Line 8417 | Line 8556 | _lt_linker_boilerplate=`cat conftest.err
8556   $RM -r conftest*
8557  
8558  
8559 + ## CAVEAT EMPTOR:
8560 + ## There is no encapsulation within the following macros, do not change
8561 + ## the running order or otherwise move them around unless you know exactly
8562 + ## what you are doing...
8563   if test -n "$compiler"; then
8564  
8565   lt_prog_compiler_no_builtin_flag=
# Line 13030 | Line 13173 | LIBTOOL="$LIBTOOL --silent"
13173  
13174   # Checks for libraries.
13175  
13176 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13177 < $as_echo_n "checking for library containing socket... " >&6; }
13178 < if ${ac_cv_search_socket+:} false; then :
13176 >
13177 >  if test "X$CC" != "X"; then
13178 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13179 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13180 > if ${ssp_cv_cc+:} false; then :
13181 >  $as_echo_n "(cached) " >&6
13182 > else
13183 >  ssp_old_cflags="$CFLAGS"
13184 >       CFLAGS="$CFLAGS -fstack-protector"
13185 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 > /* end confdefs.h.  */
13187 >
13188 > int
13189 > main ()
13190 > {
13191 >
13192 >  ;
13193 >  return 0;
13194 > }
13195 > _ACEOF
13196 > if ac_fn_c_try_compile "$LINENO"; then :
13197 >  ssp_cv_cc=yes
13198 > else
13199 >  ssp_cv_cc=no
13200 > fi
13201 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13202 >       CFLAGS="$ssp_old_cflags"
13203 >
13204 > fi
13205 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13206 > $as_echo "$ssp_cv_cc" >&6; }
13207 >    if test $ssp_cv_cc = yes; then
13208 >      CFLAGS="$CFLAGS -fstack-protector"
13209 >
13210 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13211 >
13212 >    fi
13213 >  fi
13214 >
13215 >
13216 >  { $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 >
13318 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13319 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13320 >
13321 > else
13322 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13323 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13324 > if ${ac_cv_search_getaddrinfo+:} false; then :
13325    $as_echo_n "(cached) " >&6
13326   else
13327    ac_func_search_save_LIBS=$LIBS
# Line 13045 | Line 13334 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13334   #ifdef __cplusplus
13335   extern "C"
13336   #endif
13337 < char socket ();
13337 > char getaddrinfo ();
13338   int
13339   main ()
13340   {
13341 < return socket ();
13341 > return getaddrinfo ();
13342    ;
13343    return 0;
13344   }
13345   _ACEOF
13346 < for ac_lib in '' socket; do
13346 > for ac_lib in '' nsl; do
13347    if test -z "$ac_lib"; then
13348      ac_res="none required"
13349    else
# Line 13062 | Line 13351 | for ac_lib in '' socket; do
13351      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13352    fi
13353    if ac_fn_c_try_link "$LINENO"; then :
13354 <  ac_cv_search_socket=$ac_res
13354 >  ac_cv_search_getaddrinfo=$ac_res
13355   fi
13356   rm -f core conftest.err conftest.$ac_objext \
13357      conftest$ac_exeext
13358 <  if ${ac_cv_search_socket+:} false; then :
13358 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13359    break
13360   fi
13361   done
13362 < if ${ac_cv_search_socket+:} false; then :
13362 > if ${ac_cv_search_getaddrinfo+:} false; then :
13363  
13364   else
13365 <  ac_cv_search_socket=no
13365 >  ac_cv_search_getaddrinfo=no
13366   fi
13367   rm conftest.$ac_ext
13368   LIBS=$ac_func_search_save_LIBS
13369   fi
13370 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13371 < $as_echo "$ac_cv_search_socket" >&6; }
13372 < ac_res=$ac_cv_search_socket
13370 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13371 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13372 > ac_res=$ac_cv_search_getaddrinfo
13373   if test "$ac_res" != no; then :
13374    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13375  
13087 else
13088  as_fn_error $? "socket library not found" "$LINENO" 5
13376   fi
13377  
13378 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13379 < $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13380 < if ${ac_cv_search_inet_ntoa+:} false; then :
13378 > fi
13379 >
13380 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13381 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13382 >
13383 > else
13384 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13385 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13386 > if ${ac_cv_search_getnameinfo+:} false; then :
13387    $as_echo_n "(cached) " >&6
13388   else
13389    ac_func_search_save_LIBS=$LIBS
# Line 13103 | Line 13396 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13396   #ifdef __cplusplus
13397   extern "C"
13398   #endif
13399 < char inet_ntoa ();
13399 > char getnameinfo ();
13400   int
13401   main ()
13402   {
13403 < return inet_ntoa ();
13403 > return getnameinfo ();
13404    ;
13405    return 0;
13406   }
# Line 13120 | Line 13413 | for ac_lib in '' nsl; do
13413      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13414    fi
13415    if ac_fn_c_try_link "$LINENO"; then :
13416 <  ac_cv_search_inet_ntoa=$ac_res
13416 >  ac_cv_search_getnameinfo=$ac_res
13417   fi
13418   rm -f core conftest.err conftest.$ac_objext \
13419      conftest$ac_exeext
13420 <  if ${ac_cv_search_inet_ntoa+:} false; then :
13420 >  if ${ac_cv_search_getnameinfo+:} false; then :
13421    break
13422   fi
13423   done
13424 < if ${ac_cv_search_inet_ntoa+:} false; then :
13424 > if ${ac_cv_search_getnameinfo+:} false; then :
13425  
13426   else
13427 <  ac_cv_search_inet_ntoa=no
13427 >  ac_cv_search_getnameinfo=no
13428   fi
13429   rm conftest.$ac_ext
13430   LIBS=$ac_func_search_save_LIBS
13431   fi
13432 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13433 < $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13434 < ac_res=$ac_cv_search_inet_ntoa
13432 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13433 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13434 > ac_res=$ac_cv_search_getnameinfo
13435   if test "$ac_res" != no; then :
13436    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13437  
13438   fi
13439  
13440 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13441 < $as_echo_n "checking for library containing inet_aton... " >&6; }
13442 < if ${ac_cv_search_inet_aton+:} false; then :
13440 > fi
13441 >
13442 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13443 > $as_echo_n "checking for library containing socket... " >&6; }
13444 > if ${ac_cv_search_socket+:} false; then :
13445    $as_echo_n "(cached) " >&6
13446   else
13447    ac_func_search_save_LIBS=$LIBS
# Line 13159 | Line 13454 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13454   #ifdef __cplusplus
13455   extern "C"
13456   #endif
13457 < char inet_aton ();
13457 > char socket ();
13458   int
13459   main ()
13460   {
13461 < return inet_aton ();
13461 > return socket ();
13462    ;
13463    return 0;
13464   }
13465   _ACEOF
13466 < for ac_lib in '' resolv; do
13466 > for ac_lib in '' socket; do
13467    if test -z "$ac_lib"; then
13468      ac_res="none required"
13469    else
# Line 13176 | Line 13471 | for ac_lib in '' resolv; do
13471      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13472    fi
13473    if ac_fn_c_try_link "$LINENO"; then :
13474 <  ac_cv_search_inet_aton=$ac_res
13474 >  ac_cv_search_socket=$ac_res
13475   fi
13476   rm -f core conftest.err conftest.$ac_objext \
13477      conftest$ac_exeext
13478 <  if ${ac_cv_search_inet_aton+:} false; then :
13478 >  if ${ac_cv_search_socket+:} false; then :
13479    break
13480   fi
13481   done
13482 < if ${ac_cv_search_inet_aton+:} false; then :
13482 > if ${ac_cv_search_socket+:} false; then :
13483  
13484   else
13485 <  ac_cv_search_inet_aton=no
13485 >  ac_cv_search_socket=no
13486   fi
13487   rm conftest.$ac_ext
13488   LIBS=$ac_func_search_save_LIBS
13489   fi
13490 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13491 < $as_echo "$ac_cv_search_inet_aton" >&6; }
13492 < ac_res=$ac_cv_search_inet_aton
13490 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13491 > $as_echo "$ac_cv_search_socket" >&6; }
13492 > ac_res=$ac_cv_search_socket
13493   if test "$ac_res" != no; then :
13494    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13495  
13496 + else
13497 +  as_fn_error $? "socket library not found" "$LINENO" 5
13498   fi
13499  
13203  for ac_func in inet_aton inet_ntop inet_pton
13204 do :
13205  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13207 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13208  cat >>confdefs.h <<_ACEOF
13209 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13210 _ACEOF
13211
13212 fi
13213 done
13214
13500    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13501     #include <sys/socket.h>
13502     #include <netdb.h>
# Line 13528 | Line 13813 | done
13813  
13814  
13815  
13531
13532
13816   # Checks for header files.
13817  
13818  
# Line 13621 | Line 13904 | if test "$ac_res" != no; then :
13904   fi
13905  
13906  
13907 < # Check whether --enable-libpcre was given.
13908 < if test "${enable_libpcre+set}" = set; then :
13909 <  enableval=$enable_libpcre;
13910 < else
13911 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13912 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13913 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13914 < $as_echo_n "checking for library containing pcre_study... " >&6; }
13915 < if ${ac_cv_search_pcre_study+:} false; then :
13907 > # Check whether --enable-libgeoip was given.
13908 > if test "${enable_libgeoip+set}" = set; then :
13909 >  enableval=$enable_libgeoip;
13910 > else
13911 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13912 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13913 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13914 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13915 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13916    $as_echo_n "(cached) " >&6
13917   else
13918    ac_func_search_save_LIBS=$LIBS
# Line 13642 | Line 13925 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13925   #ifdef __cplusplus
13926   extern "C"
13927   #endif
13928 < char pcre_study ();
13928 > char GeoIP_id_by_ipnum_v6_gl ();
13929   int
13930   main ()
13931   {
13932 < return pcre_study ();
13932 > return GeoIP_id_by_ipnum_v6_gl ();
13933    ;
13934    return 0;
13935   }
13936   _ACEOF
13937 < for ac_lib in '' pcre; do
13937 > for ac_lib in '' GeoIP; do
13938    if test -z "$ac_lib"; then
13939      ac_res="none required"
13940    else
# Line 13659 | Line 13942 | for ac_lib in '' pcre; do
13942      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13943    fi
13944    if ac_fn_c_try_link "$LINENO"; then :
13945 <  ac_cv_search_pcre_study=$ac_res
13945 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13946   fi
13947   rm -f core conftest.err conftest.$ac_objext \
13948      conftest$ac_exeext
13949 <  if ${ac_cv_search_pcre_study+:} false; then :
13949 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13950    break
13951   fi
13952   done
13953 < if ${ac_cv_search_pcre_study+:} false; then :
13953 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13954  
13955   else
13956 <  ac_cv_search_pcre_study=no
13956 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13957   fi
13958   rm conftest.$ac_ext
13959   LIBS=$ac_func_search_save_LIBS
13960   fi
13961 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13962 < $as_echo "$ac_cv_search_pcre_study" >&6; }
13963 < ac_res=$ac_cv_search_pcre_study
13961 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13962 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13963 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13964   if test "$ac_res" != no; then :
13965    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13966  
13967 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13967 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13968  
13969   fi
13970  
# Line 13691 | Line 13974 | fi
13974   fi
13975  
13976  
13977 +
13978   # Check whether --enable-openssl was given.
13979   if test "${enable_openssl+set}" = set; then :
13980    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13745 | Line 14029 | $as_echo "disabled" >&6; }
14029   fi
14030  
14031   if test "$cf_enable_openssl" != "no"; then :
14032 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14033 < $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14032 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
14033 > $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
14034    if test "$cross_compiling" = yes; then :
14035    cf_openssl_version_ok=no
14036   else
# Line 13759 | Line 14043 | else
14043   int
14044   main ()
14045   {
14046 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14046 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14047    ;
14048    return 0;
14049   }
# Line 13903 | Line 14187 | $as_echo "#define NDEBUG 1" >>confdefs.h
14187   fi
14188  
14189  
14190 < # Check whether --enable-small-net was given.
13907 < if test "${enable_small_net+set}" = set; then :
13908 <  enableval=$enable_small_net; small_net=$enableval
13909 < else
13910 <  small_net=no
13911 < fi
13912 <
13913 <
13914 < if test "$small_net" = "yes"; then :
13915 <
13916 <
13917 < $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13918 <
13919 <
13920 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13921 <
13922 <
13923 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13924 <
13925 <
13926 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13927 <
13928 <
13929 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13930 <
13931 <
13932 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13933 <
13934 <
13935 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13936 <
13937 <
13938 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14190 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14191  
14192  
14193 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14193 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14194  
14195  
14196 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13945 <
13946 < else
14196 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14197  
14198  
14199 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14200  
13950 $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
14201  
14202 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14203  
13953 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14204  
14205 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14206  
13956 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14207  
14208 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14209  
13959 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14210  
14211 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14212  
13962 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14213  
14214 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14215  
13965 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14216  
14217 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14218  
13968 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14219  
14220 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14221  
13971 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14222  
14223 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14224  
13974 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14225  
14226 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14227  
13977 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14228  
14229 < fi
14229 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14230  
14231  
14232   # Argument processing.
# Line 13997 | Line 14247 | if test "${enable_devpoll+set}" = set; t
14247    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14248   fi
14249  
14000  # Check whether --enable-rtsigio was given.
14001 if test "${enable_rtsigio+set}" = set; then :
14002  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14003 fi
14004
14250    # Check whether --enable-poll was given.
14251   if test "${enable_poll+set}" = set; then :
14252    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14253   fi
14254  
14010  # Check whether --enable-select was given.
14011 if test "${enable_select+set}" = set; then :
14012  enableval=$enable_select; desired_iopoll_mechanism="select"
14013 fi
14014
14255        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14256   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14257    iopoll_mechanism_none=0
# Line 14080 | Line 14320 | cat >>confdefs.h <<_ACEOF
14320   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14321   _ACEOF
14322  
14083  if test "$cross_compiling" = yes; then :
14084  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14086 as_fn_error $? "cannot run test program while cross compiling
14087 See \`config.log' for more details" "$LINENO" 5; }
14088 else
14323    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324   /* end confdefs.h.  */
14091
14325   #include <sys/epoll.h>
14093 #include <sys/syscall.h>
14094 #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14095 #if !defined(__NR_epoll_create)
14096 #if defined(__ia64__)
14097 #define __NR_epoll_create 1243
14098 #elif defined(__x86_64__)
14099 #define __NR_epoll_create 214
14100 #elif defined(__sparc64__) || defined(__sparc__)
14101 #define __NR_epoll_create 193
14102 #elif defined(__s390__) || defined(__m68k__)
14103 #define __NR_epoll_create 249
14104 #elif defined(__ppc64__) || defined(__ppc__)
14105 #define __NR_epoll_create 236
14106 #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
14107 #define __NR_epoll_create 224
14108 #elif defined(__alpha__)
14109 #define __NR_epoll_create 407
14110 #elif defined(__sh64__)
14111 #define __NR_epoll_create 282
14112 #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
14113 #define __NR_epoll_create 254
14114 #else
14115 #error No system call numbers defined for epoll family.
14116 #endif
14117 #endif
14118 _syscall1(int, epoll_create, int, size)
14119 #endif
14120
14326   int
14327   main ()
14328   {
14329 < return epoll_create(256) == -1 ? 1 : 0
14329 > epoll_create(256);
14330    ;
14331    return 0;
14332   }
14333   _ACEOF
14334 < if ac_fn_c_try_run "$LINENO"; then :
14334 > if ac_fn_c_try_link "$LINENO"; then :
14335    is_epoll_mechanism_available="yes"
14336   else
14337    is_epoll_mechanism_available="no"
14338   fi
14339 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14340 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14136 < fi
14137 <
14339 > rm -f core conftest.err conftest.$ac_objext \
14340 >    conftest$ac_exeext conftest.$ac_ext
14341        iopoll_mechanism_devpoll=3
14342  
14343   cat >>confdefs.h <<_ACEOF
# Line 14185 | Line 14388 | rm -f core conftest.err conftest.$ac_obj
14388   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14389  
14390    fi
14391 <      iopoll_mechanism_rtsigio=4
14189 <
14190 < cat >>confdefs.h <<_ACEOF
14191 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14192 < _ACEOF
14193 <
14194 <  if test "$cross_compiling" = yes; then :
14195 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14196 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14197 < as_fn_error $? "cannot run test program while cross compiling
14198 < See \`config.log' for more details" "$LINENO" 5; }
14199 < else
14200 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 < /* end confdefs.h.  */
14202 <
14203 < #define _GNU_SOURCE
14204 < #include <fcntl.h>
14205 < static unsigned int have_f_setsig = 0;
14206 <
14207 < int
14208 < main ()
14209 < {
14210 <
14211 < #ifdef F_SETSIG
14212 <  have_f_setsig = 1;
14213 < #endif
14214 <  return have_f_setsig == 0;
14215 <
14216 <  ;
14217 <  return 0;
14218 < }
14219 < _ACEOF
14220 < if ac_fn_c_try_run "$LINENO"; then :
14221 <  is_rtsigio_mechanism_available="yes"
14222 < else
14223 <  is_rtsigio_mechanism_available="no"
14224 < fi
14225 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14226 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14227 < fi
14228 <
14229 <      iopoll_mechanism_poll=5
14391 >      iopoll_mechanism_poll=4
14392  
14393   cat >>confdefs.h <<_ACEOF
14394   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14280 | Line 14442 | else
14442   fi
14443   rm -f core conftest.err conftest.$ac_objext \
14444      conftest$ac_exeext conftest.$ac_ext
14283      iopoll_mechanism_select=6
14284
14285 cat >>confdefs.h <<_ACEOF
14286 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14287 _ACEOF
14288
14289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h.  */
14291 /* Define select to an innocuous variant, in case <limits.h> declares select.
14292   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14293 #define select innocuous_select
14294
14295 /* System header to define __stub macros and hopefully few prototypes,
14296    which can conflict with char select (); below.
14297    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14298    <limits.h> exists even on freestanding compilers.  */
14299
14300 #ifdef __STDC__
14301 # include <limits.h>
14302 #else
14303 # include <assert.h>
14304 #endif
14305
14306 #undef select
14307
14308 /* Override any GCC internal prototype to avoid an error.
14309   Use char because int might match the return type of a GCC
14310   builtin and then its argument prototype would still apply.  */
14311 #ifdef __cplusplus
14312 extern "C"
14313 #endif
14314 char select ();
14315 /* The GNU C library defines this for functions which it implements
14316    to always fail with ENOSYS.  Some functions are actually named
14317    something starting with __ and the normal name is an alias.  */
14318 #if defined __stub_select || defined __stub___select
14319 choke me
14320 #endif
14321
14322 int
14323 main ()
14324 {
14325 return select ();
14326  ;
14327  return 0;
14328 }
14329 _ACEOF
14330 if ac_fn_c_try_link "$LINENO"; then :
14331  is_select_mechanism_available="yes"
14332 else
14333  is_select_mechanism_available="no"
14334 fi
14335 rm -f core conftest.err conftest.$ac_objext \
14336    conftest$ac_exeext conftest.$ac_ext
14445        optimal_iopoll_mechanism="none"
14446 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14446 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14447      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14448      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14449        optimal_iopoll_mechanism="$mechanism"
# Line 14372 | Line 14480 | _ACEOF
14480  
14481  
14482  
14483 +  # Check whether --enable-debugging was given.
14484 + if test "${enable_debugging+set}" = set; then :
14485 +  enableval=$enable_debugging; debugging="$enableval"
14486 + else
14487 +  debugging="no"
14488 + fi
14489 +
14490 +  if test "$debugging" = "yes" ; then
14491 +    CFLAGS="-Wall -g -O0"
14492 +  fi
14493 +
14494  
14495 < # Check whether --with-nicklen was given.
14496 < if test "${with_nicklen+set}" = set; then :
14497 <  withval=$with_nicklen; nicklen="$withval"
14495 >  # Check whether --enable-warnings was given.
14496 > if test "${enable_warnings+set}" = set; then :
14497 >  enableval=$enable_warnings; warnings="$enableval"
14498   else
14499 <  nicklen="9"
14499 >  warnings="no"
14500   fi
14501  
14502 +  if test "$warnings" = "yes" ; then
14503 +
14504  
14505 < cat >>confdefs.h <<_ACEOF
14506 < #define NICKLEN ($nicklen)
14505 >
14506 >
14507 > for flag in -Wall; do
14508 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14509 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14510 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14511 > if eval \${$as_CACHEVAR+:} false; then :
14512 >  $as_echo_n "(cached) " >&6
14513 > else
14514 >
14515 >  ax_check_save_flags=$CFLAGS
14516 >  CFLAGS="$CFLAGS  $flag"
14517 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518 > /* end confdefs.h.  */
14519 >
14520 > int
14521 > main ()
14522 > {
14523 >
14524 >  ;
14525 >  return 0;
14526 > }
14527   _ACEOF
14528 + if ac_fn_c_try_compile "$LINENO"; then :
14529 +  eval "$as_CACHEVAR=yes"
14530 + else
14531 +  eval "$as_CACHEVAR=no"
14532 + fi
14533 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14534 +  CFLAGS=$ax_check_save_flags
14535 + fi
14536 + eval ac_res=\$$as_CACHEVAR
14537 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14538 + $as_echo "$ac_res" >&6; }
14539 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14540 +  if ${CFLAGS+:} false; then :
14541 +  case " $CFLAGS " in
14542 +    *" $flag "*)
14543 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14544 +  (: CFLAGS already contains $flag) 2>&5
14545 +  ac_status=$?
14546 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14547 +  test $ac_status = 0; }
14548 +      ;;
14549 +    *)
14550 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14551 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14552 +  ac_status=$?
14553 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14554 +  test $ac_status = 0; }
14555 +      CFLAGS="$CFLAGS $flag"
14556 +      ;;
14557 +   esac
14558 + else
14559 +  CFLAGS="$flag"
14560 + fi
14561 +
14562 + else
14563 +  :
14564 + fi
14565 +
14566 + done
14567  
14568  
14569  
14570  
14571 < # Check whether --with-topiclen was given.
14572 < if test "${with_topiclen+set}" = set; then :
14573 <  withval=$with_topiclen; topiclen="$withval"
14571 >
14572 > for flag in -Wextra; do
14573 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14574 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14575 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14576 > if eval \${$as_CACHEVAR+:} false; then :
14577 >  $as_echo_n "(cached) " >&6
14578   else
14579 <  topiclen="160"
14579 >
14580 >  ax_check_save_flags=$CFLAGS
14581 >  CFLAGS="$CFLAGS  $flag"
14582 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 > /* end confdefs.h.  */
14584 >
14585 > int
14586 > main ()
14587 > {
14588 >
14589 >  ;
14590 >  return 0;
14591 > }
14592 > _ACEOF
14593 > if ac_fn_c_try_compile "$LINENO"; then :
14594 >  eval "$as_CACHEVAR=yes"
14595 > else
14596 >  eval "$as_CACHEVAR=no"
14597 > fi
14598 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14599 >  CFLAGS=$ax_check_save_flags
14600 > fi
14601 > eval ac_res=\$$as_CACHEVAR
14602 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14603 > $as_echo "$ac_res" >&6; }
14604 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14605 >  if ${CFLAGS+:} false; then :
14606 >  case " $CFLAGS " in
14607 >    *" $flag "*)
14608 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14609 >  (: CFLAGS already contains $flag) 2>&5
14610 >  ac_status=$?
14611 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14612 >  test $ac_status = 0; }
14613 >      ;;
14614 >    *)
14615 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14616 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14617 >  ac_status=$?
14618 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14619 >  test $ac_status = 0; }
14620 >      CFLAGS="$CFLAGS $flag"
14621 >      ;;
14622 >   esac
14623 > else
14624 >  CFLAGS="$flag"
14625   fi
14626  
14627 + else
14628 +  :
14629 + fi
14630  
14631 < cat >>confdefs.h <<_ACEOF
14632 < #define TOPICLEN ($topiclen)
14631 > done
14632 >
14633 >
14634 >
14635 >
14636 >
14637 > for flag in -Wno-unused; do
14638 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14639 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14640 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14641 > if eval \${$as_CACHEVAR+:} false; then :
14642 >  $as_echo_n "(cached) " >&6
14643 > else
14644 >
14645 >  ax_check_save_flags=$CFLAGS
14646 >  CFLAGS="$CFLAGS  $flag"
14647 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 > /* end confdefs.h.  */
14649 >
14650 > int
14651 > main ()
14652 > {
14653 >
14654 >  ;
14655 >  return 0;
14656 > }
14657   _ACEOF
14658 + if ac_fn_c_try_compile "$LINENO"; then :
14659 +  eval "$as_CACHEVAR=yes"
14660 + else
14661 +  eval "$as_CACHEVAR=no"
14662 + fi
14663 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14664 +  CFLAGS=$ax_check_save_flags
14665 + fi
14666 + eval ac_res=\$$as_CACHEVAR
14667 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14668 + $as_echo "$ac_res" >&6; }
14669 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14670 +  if ${CFLAGS+:} false; then :
14671 +  case " $CFLAGS " in
14672 +    *" $flag "*)
14673 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14674 +  (: CFLAGS already contains $flag) 2>&5
14675 +  ac_status=$?
14676 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14677 +  test $ac_status = 0; }
14678 +      ;;
14679 +    *)
14680 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14681 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14682 +  ac_status=$?
14683 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14684 +  test $ac_status = 0; }
14685 +      CFLAGS="$CFLAGS $flag"
14686 +      ;;
14687 +   esac
14688 + else
14689 +  CFLAGS="$flag"
14690 + fi
14691 +
14692 + else
14693 +  :
14694 + fi
14695 +
14696 + done
14697 +
14698 +
14699 +
14700 +
14701  
14702 + for flag in -Wcast-qual; do
14703 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14704 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14705 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14706 + if eval \${$as_CACHEVAR+:} false; then :
14707 +  $as_echo_n "(cached) " >&6
14708 + else
14709 +
14710 +  ax_check_save_flags=$CFLAGS
14711 +  CFLAGS="$CFLAGS  $flag"
14712 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 + /* end confdefs.h.  */
14714 +
14715 + int
14716 + main ()
14717 + {
14718  
14719 +  ;
14720 +  return 0;
14721 + }
14722 + _ACEOF
14723 + if ac_fn_c_try_compile "$LINENO"; then :
14724 +  eval "$as_CACHEVAR=yes"
14725 + else
14726 +  eval "$as_CACHEVAR=no"
14727 + fi
14728 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14729 +  CFLAGS=$ax_check_save_flags
14730 + fi
14731 + eval ac_res=\$$as_CACHEVAR
14732 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14733 + $as_echo "$ac_res" >&6; }
14734 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14735 +  if ${CFLAGS+:} false; then :
14736 +  case " $CFLAGS " in
14737 +    *" $flag "*)
14738 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14739 +  (: CFLAGS already contains $flag) 2>&5
14740 +  ac_status=$?
14741 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14742 +  test $ac_status = 0; }
14743 +      ;;
14744 +    *)
14745 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14746 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14747 +  ac_status=$?
14748 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14749 +  test $ac_status = 0; }
14750 +      CFLAGS="$CFLAGS $flag"
14751 +      ;;
14752 +   esac
14753 + else
14754 +  CFLAGS="$flag"
14755 + fi
14756  
14405  # Check whether --enable-halfops was given.
14406 if test "${enable_halfops+set}" = set; then :
14407  enableval=$enable_halfops; halfops="$enableval"
14757   else
14758 <  halfops="no"
14758 >  :
14759   fi
14760  
14761 <  if test "$halfops" = "yes" ; then
14761 > done
14762  
14414 $as_echo "#define HALFOPS 1" >>confdefs.h
14763  
14416  fi
14764  
14765  
14766 <  # Check whether --enable-debugging was given.
14767 < if test "${enable_debugging+set}" = set; then :
14768 <  enableval=$enable_debugging; debugging="$enableval"
14766 >
14767 > for flag in -Wcast-align; do
14768 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14769 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14770 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14771 > if eval \${$as_CACHEVAR+:} false; then :
14772 >  $as_echo_n "(cached) " >&6
14773   else
14774 <  debugging="no"
14774 >
14775 >  ax_check_save_flags=$CFLAGS
14776 >  CFLAGS="$CFLAGS  $flag"
14777 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 > /* end confdefs.h.  */
14779 >
14780 > int
14781 > main ()
14782 > {
14783 >
14784 >  ;
14785 >  return 0;
14786 > }
14787 > _ACEOF
14788 > if ac_fn_c_try_compile "$LINENO"; then :
14789 >  eval "$as_CACHEVAR=yes"
14790 > else
14791 >  eval "$as_CACHEVAR=no"
14792 > fi
14793 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14794 >  CFLAGS=$ax_check_save_flags
14795 > fi
14796 > eval ac_res=\$$as_CACHEVAR
14797 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14798 > $as_echo "$ac_res" >&6; }
14799 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14800 >  if ${CFLAGS+:} false; then :
14801 >  case " $CFLAGS " in
14802 >    *" $flag "*)
14803 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14804 >  (: CFLAGS already contains $flag) 2>&5
14805 >  ac_status=$?
14806 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14807 >  test $ac_status = 0; }
14808 >      ;;
14809 >    *)
14810 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14811 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14812 >  ac_status=$?
14813 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14814 >  test $ac_status = 0; }
14815 >      CFLAGS="$CFLAGS $flag"
14816 >      ;;
14817 >   esac
14818 > else
14819 >  CFLAGS="$flag"
14820   fi
14821  
14822 <  if test "$debugging" = "yes" ; then
14822 > else
14823 >  :
14824 > fi
14825  
14826 < $as_echo "#define DEBUG 1" >>confdefs.h
14826 > done
14827  
14430    CFLAGS="-Wall -g -O0"
14431  else
14828  
14433 $as_echo "#define NDEBUG 1" >>confdefs.h
14829  
14435  fi
14830  
14831  
14832 <  # Check whether --enable-warnings was given.
14833 < if test "${enable_warnings+set}" = set; then :
14834 <  enableval=$enable_warnings; warnings="$enableval"
14832 > for flag in -Wbad-function-cast; do
14833 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14834 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14835 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14836 > if eval \${$as_CACHEVAR+:} false; then :
14837 >  $as_echo_n "(cached) " >&6
14838   else
14839 <  warnings="no"
14839 >
14840 >  ax_check_save_flags=$CFLAGS
14841 >  CFLAGS="$CFLAGS  $flag"
14842 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 > /* end confdefs.h.  */
14844 >
14845 > int
14846 > main ()
14847 > {
14848 >
14849 >  ;
14850 >  return 0;
14851 > }
14852 > _ACEOF
14853 > if ac_fn_c_try_compile "$LINENO"; then :
14854 >  eval "$as_CACHEVAR=yes"
14855 > else
14856 >  eval "$as_CACHEVAR=no"
14857 > fi
14858 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14859 >  CFLAGS=$ax_check_save_flags
14860 > fi
14861 > eval ac_res=\$$as_CACHEVAR
14862 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14863 > $as_echo "$ac_res" >&6; }
14864 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14865 >  if ${CFLAGS+:} false; then :
14866 >  case " $CFLAGS " in
14867 >    *" $flag "*)
14868 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14869 >  (: CFLAGS already contains $flag) 2>&5
14870 >  ac_status=$?
14871 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14872 >  test $ac_status = 0; }
14873 >      ;;
14874 >    *)
14875 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14876 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14877 >  ac_status=$?
14878 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14879 >  test $ac_status = 0; }
14880 >      CFLAGS="$CFLAGS $flag"
14881 >      ;;
14882 >   esac
14883 > else
14884 >  CFLAGS="$flag"
14885   fi
14886  
14887 <  if test "$warnings" = "yes" ; then
14888 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14887 > else
14888 >  :
14889 > fi
14890 >
14891 > done
14892 >
14893 >
14894 >
14895 >
14896 >
14897 > for flag in -Wlogical-op; do
14898 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14899 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14900 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14901 > if eval \${$as_CACHEVAR+:} false; then :
14902 >  $as_echo_n "(cached) " >&6
14903 > else
14904 >
14905 >  ax_check_save_flags=$CFLAGS
14906 >  CFLAGS="$CFLAGS  $flag"
14907 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 > /* end confdefs.h.  */
14909 >
14910 > int
14911 > main ()
14912 > {
14913 >
14914 >  ;
14915 >  return 0;
14916 > }
14917 > _ACEOF
14918 > if ac_fn_c_try_compile "$LINENO"; then :
14919 >  eval "$as_CACHEVAR=yes"
14920 > else
14921 >  eval "$as_CACHEVAR=no"
14922 > fi
14923 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14924 >  CFLAGS=$ax_check_save_flags
14925 > fi
14926 > eval ac_res=\$$as_CACHEVAR
14927 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14928 > $as_echo "$ac_res" >&6; }
14929 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14930 >  if ${CFLAGS+:} false; then :
14931 >  case " $CFLAGS " in
14932 >    *" $flag "*)
14933 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14934 >  (: CFLAGS already contains $flag) 2>&5
14935 >  ac_status=$?
14936 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14937 >  test $ac_status = 0; }
14938 >      ;;
14939 >    *)
14940 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14941 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14942 >  ac_status=$?
14943 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14944 >  test $ac_status = 0; }
14945 >      CFLAGS="$CFLAGS $flag"
14946 >      ;;
14947 >   esac
14948 > else
14949 >  CFLAGS="$flag"
14950 > fi
14951 >
14952 > else
14953 >  :
14954 > fi
14955 >
14956 > done
14957 >
14958 >
14959 >
14960 >
14961 >
14962 > for flag in -Wmissing-declarations; do
14963 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14964 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14965 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14966 > if eval \${$as_CACHEVAR+:} false; then :
14967 >  $as_echo_n "(cached) " >&6
14968 > else
14969 >
14970 >  ax_check_save_flags=$CFLAGS
14971 >  CFLAGS="$CFLAGS  $flag"
14972 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 > /* end confdefs.h.  */
14974 >
14975 > int
14976 > main ()
14977 > {
14978 >
14979 >  ;
14980 >  return 0;
14981 > }
14982 > _ACEOF
14983 > if ac_fn_c_try_compile "$LINENO"; then :
14984 >  eval "$as_CACHEVAR=yes"
14985 > else
14986 >  eval "$as_CACHEVAR=no"
14987 > fi
14988 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14989 >  CFLAGS=$ax_check_save_flags
14990 > fi
14991 > eval ac_res=\$$as_CACHEVAR
14992 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14993 > $as_echo "$ac_res" >&6; }
14994 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14995 >  if ${CFLAGS+:} false; then :
14996 >  case " $CFLAGS " in
14997 >    *" $flag "*)
14998 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14999 >  (: CFLAGS already contains $flag) 2>&5
15000 >  ac_status=$?
15001 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15002 >  test $ac_status = 0; }
15003 >      ;;
15004 >    *)
15005 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15006 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15007 >  ac_status=$?
15008 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15009 >  test $ac_status = 0; }
15010 >      CFLAGS="$CFLAGS $flag"
15011 >      ;;
15012 >   esac
15013 > else
15014 >  CFLAGS="$flag"
15015 > fi
15016 >
15017 > else
15018 >  :
15019 > fi
15020 >
15021 > done
15022 >
15023 >
15024 >
15025 >
15026 >
15027 > for flag in -Wmissing-include-dirs; do
15028 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15029 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15030 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15031 > if eval \${$as_CACHEVAR+:} false; then :
15032 >  $as_echo_n "(cached) " >&6
15033 > else
15034 >
15035 >  ax_check_save_flags=$CFLAGS
15036 >  CFLAGS="$CFLAGS  $flag"
15037 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 > /* end confdefs.h.  */
15039 >
15040 > int
15041 > main ()
15042 > {
15043 >
15044 >  ;
15045 >  return 0;
15046 > }
15047 > _ACEOF
15048 > if ac_fn_c_try_compile "$LINENO"; then :
15049 >  eval "$as_CACHEVAR=yes"
15050 > else
15051 >  eval "$as_CACHEVAR=no"
15052 > fi
15053 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15054 >  CFLAGS=$ax_check_save_flags
15055 > fi
15056 > eval ac_res=\$$as_CACHEVAR
15057 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15058 > $as_echo "$ac_res" >&6; }
15059 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15060 >  if ${CFLAGS+:} false; then :
15061 >  case " $CFLAGS " in
15062 >    *" $flag "*)
15063 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15064 >  (: CFLAGS already contains $flag) 2>&5
15065 >  ac_status=$?
15066 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15067 >  test $ac_status = 0; }
15068 >      ;;
15069 >    *)
15070 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15071 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15072 >  ac_status=$?
15073 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15074 >  test $ac_status = 0; }
15075 >      CFLAGS="$CFLAGS $flag"
15076 >      ;;
15077 >   esac
15078 > else
15079 >  CFLAGS="$flag"
15080 > fi
15081 >
15082 > else
15083 >  :
15084 > fi
15085 >
15086 > done
15087 >
15088 >
15089 >
15090 >
15091 >
15092 > for flag in -Wmissing-prototypes; do
15093 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15094 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15095 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15096 > if eval \${$as_CACHEVAR+:} false; then :
15097 >  $as_echo_n "(cached) " >&6
15098 > else
15099 >
15100 >  ax_check_save_flags=$CFLAGS
15101 >  CFLAGS="$CFLAGS  $flag"
15102 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 > /* end confdefs.h.  */
15104 >
15105 > int
15106 > main ()
15107 > {
15108 >
15109 >  ;
15110 >  return 0;
15111 > }
15112 > _ACEOF
15113 > if ac_fn_c_try_compile "$LINENO"; then :
15114 >  eval "$as_CACHEVAR=yes"
15115 > else
15116 >  eval "$as_CACHEVAR=no"
15117 > fi
15118 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15119 >  CFLAGS=$ax_check_save_flags
15120 > fi
15121 > eval ac_res=\$$as_CACHEVAR
15122 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15123 > $as_echo "$ac_res" >&6; }
15124 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15125 >  if ${CFLAGS+:} false; then :
15126 >  case " $CFLAGS " in
15127 >    *" $flag "*)
15128 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15129 >  (: CFLAGS already contains $flag) 2>&5
15130 >  ac_status=$?
15131 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15132 >  test $ac_status = 0; }
15133 >      ;;
15134 >    *)
15135 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15136 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15137 >  ac_status=$?
15138 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15139 >  test $ac_status = 0; }
15140 >      CFLAGS="$CFLAGS $flag"
15141 >      ;;
15142 >   esac
15143 > else
15144 >  CFLAGS="$flag"
15145 > fi
15146 >
15147 > else
15148 >  :
15149 > fi
15150 >
15151 > done
15152 >
15153 >
15154 >
15155 >
15156 >
15157 > for flag in -Wnested-externs; do
15158 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15159 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15160 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15161 > if eval \${$as_CACHEVAR+:} false; then :
15162 >  $as_echo_n "(cached) " >&6
15163 > else
15164 >
15165 >  ax_check_save_flags=$CFLAGS
15166 >  CFLAGS="$CFLAGS  $flag"
15167 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 > /* end confdefs.h.  */
15169 >
15170 > int
15171 > main ()
15172 > {
15173 >
15174 >  ;
15175 >  return 0;
15176 > }
15177 > _ACEOF
15178 > if ac_fn_c_try_compile "$LINENO"; then :
15179 >  eval "$as_CACHEVAR=yes"
15180 > else
15181 >  eval "$as_CACHEVAR=no"
15182 > fi
15183 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15184 >  CFLAGS=$ax_check_save_flags
15185 > fi
15186 > eval ac_res=\$$as_CACHEVAR
15187 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15188 > $as_echo "$ac_res" >&6; }
15189 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15190 >  if ${CFLAGS+:} false; then :
15191 >  case " $CFLAGS " in
15192 >    *" $flag "*)
15193 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15194 >  (: CFLAGS already contains $flag) 2>&5
15195 >  ac_status=$?
15196 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15197 >  test $ac_status = 0; }
15198 >      ;;
15199 >    *)
15200 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15201 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15202 >  ac_status=$?
15203 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15204 >  test $ac_status = 0; }
15205 >      CFLAGS="$CFLAGS $flag"
15206 >      ;;
15207 >   esac
15208 > else
15209 >  CFLAGS="$flag"
15210 > fi
15211 >
15212 > else
15213 >  :
15214 > fi
15215 >
15216 > done
15217 >
15218 >
15219 >
15220 >
15221 >
15222 > for flag in -Wpointer-arith; do
15223 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15224 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15225 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15226 > if eval \${$as_CACHEVAR+:} false; then :
15227 >  $as_echo_n "(cached) " >&6
15228 > else
15229 >
15230 >  ax_check_save_flags=$CFLAGS
15231 >  CFLAGS="$CFLAGS  $flag"
15232 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 > /* end confdefs.h.  */
15234 >
15235 > int
15236 > main ()
15237 > {
15238 >
15239 >  ;
15240 >  return 0;
15241 > }
15242 > _ACEOF
15243 > if ac_fn_c_try_compile "$LINENO"; then :
15244 >  eval "$as_CACHEVAR=yes"
15245 > else
15246 >  eval "$as_CACHEVAR=no"
15247 > fi
15248 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15249 >  CFLAGS=$ax_check_save_flags
15250 > fi
15251 > eval ac_res=\$$as_CACHEVAR
15252 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15253 > $as_echo "$ac_res" >&6; }
15254 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15255 >  if ${CFLAGS+:} false; then :
15256 >  case " $CFLAGS " in
15257 >    *" $flag "*)
15258 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15259 >  (: CFLAGS already contains $flag) 2>&5
15260 >  ac_status=$?
15261 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15262 >  test $ac_status = 0; }
15263 >      ;;
15264 >    *)
15265 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15266 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15267 >  ac_status=$?
15268 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15269 >  test $ac_status = 0; }
15270 >      CFLAGS="$CFLAGS $flag"
15271 >      ;;
15272 >   esac
15273 > else
15274 >  CFLAGS="$flag"
15275 > fi
15276 >
15277 > else
15278 >  :
15279 > fi
15280 >
15281 > done
15282 >
15283 >
15284 >
15285 >
15286 >
15287 > for flag in -Wredundant-decls; do
15288 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15289 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15290 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15291 > if eval \${$as_CACHEVAR+:} false; then :
15292 >  $as_echo_n "(cached) " >&6
15293 > else
15294 >
15295 >  ax_check_save_flags=$CFLAGS
15296 >  CFLAGS="$CFLAGS  $flag"
15297 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 > /* end confdefs.h.  */
15299 >
15300 > int
15301 > main ()
15302 > {
15303 >
15304 >  ;
15305 >  return 0;
15306 > }
15307 > _ACEOF
15308 > if ac_fn_c_try_compile "$LINENO"; then :
15309 >  eval "$as_CACHEVAR=yes"
15310 > else
15311 >  eval "$as_CACHEVAR=no"
15312 > fi
15313 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15314 >  CFLAGS=$ax_check_save_flags
15315 > fi
15316 > eval ac_res=\$$as_CACHEVAR
15317 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15318 > $as_echo "$ac_res" >&6; }
15319 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15320 >  if ${CFLAGS+:} false; then :
15321 >  case " $CFLAGS " in
15322 >    *" $flag "*)
15323 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15324 >  (: CFLAGS already contains $flag) 2>&5
15325 >  ac_status=$?
15326 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15327 >  test $ac_status = 0; }
15328 >      ;;
15329 >    *)
15330 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15331 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15332 >  ac_status=$?
15333 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15334 >  test $ac_status = 0; }
15335 >      CFLAGS="$CFLAGS $flag"
15336 >      ;;
15337 >   esac
15338 > else
15339 >  CFLAGS="$flag"
15340 > fi
15341 >
15342 > else
15343 >  :
15344 > fi
15345 >
15346 > done
15347 >
15348 >
15349 >
15350 >
15351 >
15352 > for flag in -Wshadow; do
15353 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15354 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15355 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15356 > if eval \${$as_CACHEVAR+:} false; then :
15357 >  $as_echo_n "(cached) " >&6
15358 > else
15359 >
15360 >  ax_check_save_flags=$CFLAGS
15361 >  CFLAGS="$CFLAGS  $flag"
15362 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 > /* end confdefs.h.  */
15364 >
15365 > int
15366 > main ()
15367 > {
15368 >
15369 >  ;
15370 >  return 0;
15371 > }
15372 > _ACEOF
15373 > if ac_fn_c_try_compile "$LINENO"; then :
15374 >  eval "$as_CACHEVAR=yes"
15375 > else
15376 >  eval "$as_CACHEVAR=no"
15377 > fi
15378 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 >  CFLAGS=$ax_check_save_flags
15380 > fi
15381 > eval ac_res=\$$as_CACHEVAR
15382 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15383 > $as_echo "$ac_res" >&6; }
15384 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15385 >  if ${CFLAGS+:} false; then :
15386 >  case " $CFLAGS " in
15387 >    *" $flag "*)
15388 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15389 >  (: CFLAGS already contains $flag) 2>&5
15390 >  ac_status=$?
15391 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15392 >  test $ac_status = 0; }
15393 >      ;;
15394 >    *)
15395 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15396 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15397 >  ac_status=$?
15398 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15399 >  test $ac_status = 0; }
15400 >      CFLAGS="$CFLAGS $flag"
15401 >      ;;
15402 >   esac
15403 > else
15404 >  CFLAGS="$flag"
15405 > fi
15406 >
15407 > else
15408 >  :
15409 > fi
15410 >
15411 > done
15412 >
15413 >
15414 >
15415 >
15416 >
15417 > for flag in -Wwrite-strings; do
15418 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15419 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15420 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15421 > if eval \${$as_CACHEVAR+:} false; then :
15422 >  $as_echo_n "(cached) " >&6
15423 > else
15424 >
15425 >  ax_check_save_flags=$CFLAGS
15426 >  CFLAGS="$CFLAGS  $flag"
15427 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15428 > /* end confdefs.h.  */
15429 >
15430 > int
15431 > main ()
15432 > {
15433 >
15434 >  ;
15435 >  return 0;
15436 > }
15437 > _ACEOF
15438 > if ac_fn_c_try_compile "$LINENO"; then :
15439 >  eval "$as_CACHEVAR=yes"
15440 > else
15441 >  eval "$as_CACHEVAR=no"
15442 > fi
15443 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15444 >  CFLAGS=$ax_check_save_flags
15445 > fi
15446 > eval ac_res=\$$as_CACHEVAR
15447 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15448 > $as_echo "$ac_res" >&6; }
15449 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15450 >  if ${CFLAGS+:} false; then :
15451 >  case " $CFLAGS " in
15452 >    *" $flag "*)
15453 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15454 >  (: CFLAGS already contains $flag) 2>&5
15455 >  ac_status=$?
15456 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457 >  test $ac_status = 0; }
15458 >      ;;
15459 >    *)
15460 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15461 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15462 >  ac_status=$?
15463 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15464 >  test $ac_status = 0; }
15465 >      CFLAGS="$CFLAGS $flag"
15466 >      ;;
15467 >   esac
15468 > else
15469 >  CFLAGS="$flag"
15470 > fi
15471 >
15472 > else
15473 >  :
15474 > fi
15475 >
15476 > done
15477 >
15478 >
15479 >
15480 >
15481 >
15482 > for flag in -Wundef; do
15483 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15484 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15485 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15486 > if eval \${$as_CACHEVAR+:} false; then :
15487 >  $as_echo_n "(cached) " >&6
15488 > else
15489 >
15490 >  ax_check_save_flags=$CFLAGS
15491 >  CFLAGS="$CFLAGS  $flag"
15492 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 > /* end confdefs.h.  */
15494 >
15495 > int
15496 > main ()
15497 > {
15498 >
15499 >  ;
15500 >  return 0;
15501 > }
15502 > _ACEOF
15503 > if ac_fn_c_try_compile "$LINENO"; then :
15504 >  eval "$as_CACHEVAR=yes"
15505 > else
15506 >  eval "$as_CACHEVAR=no"
15507 > fi
15508 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15509 >  CFLAGS=$ax_check_save_flags
15510 > fi
15511 > eval ac_res=\$$as_CACHEVAR
15512 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15513 > $as_echo "$ac_res" >&6; }
15514 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15515 >  if ${CFLAGS+:} false; then :
15516 >  case " $CFLAGS " in
15517 >    *" $flag "*)
15518 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15519 >  (: CFLAGS already contains $flag) 2>&5
15520 >  ac_status=$?
15521 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15522 >  test $ac_status = 0; }
15523 >      ;;
15524 >    *)
15525 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15526 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15527 >  ac_status=$?
15528 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15529 >  test $ac_status = 0; }
15530 >      CFLAGS="$CFLAGS $flag"
15531 >      ;;
15532 >   esac
15533 > else
15534 >  CFLAGS="$flag"
15535 > fi
15536 >
15537 > else
15538 >  :
15539 > fi
15540 >
15541 > done
15542 >
15543    fi
15544  
15545  
# Line 14533 | Line 15629 | _ACEOF
15629    test "$exec_prefix_NONE" && exec_prefix=NONE
15630  
15631  
15632 < 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"
15632 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15633  
15634  
15635   cat >confcache <<\_ACEOF
# Line 15100 | Line 16196 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16196   # report actual input values of CONFIG_FILES etc. instead of their
16197   # values after options handling.
16198   ac_log="
16199 < This file was extended by ircd-hybrid $as_me 8rc1, which was
16199 > This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was
16200   generated by GNU Autoconf 2.69.  Invocation command line was
16201  
16202    CONFIG_FILES    = $CONFIG_FILES
# Line 15166 | Line 16262 | _ACEOF
16262   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16263   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16264   ac_cs_version="\\
16265 < ircd-hybrid config.status 8rc1
16265 > ircd-hybrid config.status 8.2.0rc1
16266   configured by $0, generated by GNU Autoconf 2.69,
16267    with options \\"\$ac_cs_config\\"
16268  
# Line 15576 | Line 16672 | do
16672      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16673      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16674      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15579    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15580    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16675      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16676      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15583    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16677      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16678      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16679      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16680      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15588    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15589    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16681      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16682  
16683    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16184 | Line 17275 | $as_echo "$as_me: executing $ac_file com
17275  
17276    case $ac_file$ac_mode in
17277      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17278 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17278 >  # Older Autoconf quotes --file arguments for eval, but not when files
17279    # are listed without --file.  Let's play safe and only enable the eval
17280    # if we detect the quoting.
17281    case $CONFIG_FILES in
# Line 16235 | Line 17326 | $as_echo X"$mf" |
17326      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17327      test -z "$DEPDIR" && continue
17328      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17329 <    test -z "am__include" && continue
17329 >    test -z "$am__include" && continue
17330      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17331      # Find all dependency output files, they are included files with
17332      # $(DEPDIR) in their names.  We invoke sed twice because it is the

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1517 by michael, Thu Aug 30 15:11:32 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4356 by michael, Sat Aug 2 18:30:48 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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