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 1358 by michael, Sun Apr 22 13:49:23 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4353 by michael, Sat Aug 2 17:54:27 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1349 2012-04-11 18:45:51Z 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.68 for ircd-hybrid 8beta1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 < # Foundation, Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 137 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 170 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
# Line 223 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        # Preserve -v and -x to the replacement shell.
254 <        BASH_ENV=/dev/null
255 <        ENV=/dev/null
256 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 <        export CONFIG_SHELL
258 <        case $- in # ((((
259 <          *v*x* | *x*v* ) as_opts=-vx ;;
260 <          *v* ) as_opts=-v ;;
261 <          *x* ) as_opts=-x ;;
262 <          * ) as_opts= ;;
263 <        esac
264 <        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 340 | Line 368 | $as_echo X"$as_dir" |
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 461 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 495 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 516 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
521 < else
522 <  if ls -dL / >/dev/null 2>&1; then
523 <    as_ls_L_option=L
524 <  else
525 <    as_ls_L_option=
526 <  fi
527 <  as_test_x='
528 <    eval sh -c '\''
529 <      if test -d "$1"; then
530 <        test -d "$1/.";
531 <      else
532 <        case $1 in #(
533 <        -*)set "./$1";;
534 <        esac;
535 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 <        ???[sx]*):;;*)false;;esac;fi
537 <    '\'' sh
538 <  '
539 < fi
540 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 573 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='8beta1'
597 < PACKAGE_STRING='ircd-hybrid 8beta1'
596 > PACKAGE_VERSION='8.2.0rc1'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0rc1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 628 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
631 EFNET_FALSE
632 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
653   LTDLOPEN
# Line 705 | 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 769 | 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 782 | 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
788 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
792 enable_rtsigio
814   enable_poll
794 enable_select
795 with_nicklen
796 with_topiclen
797 enable_efnet
798 enable_halfops
815   enable_debugging
816   enable_warnings
817   '
# Line 1265 | Line 1281 | target=$target_alias
1281   if test "x$host_alias" != x; then
1282    if test "x$build_alias" = x; then
1283      cross_compiling=maybe
1268    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1269    If a cross compiler is detected then cross compile mode will be used" >&2
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1352 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.0rc1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1422 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1430 | 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-maintainer-mode  enable make rules and dependencies not useful
1448 <                          (and sometimes confusing) to the casual installer
1449 <  --disable-dependency-tracking  speeds up one-time build
1450 <  --enable-dependency-tracking   do not reject slow dependency extractors
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
1452 >  --enable-dependency-tracking
1453 >                          do not reject slow dependency extractors
1454 >  --disable-dependency-tracking
1455 >                          speeds up one-time build
1456    --enable-static[=PKGS]  build static libraries [default=no]
1457    --enable-shared[=PKGS]  build shared libraries [default=yes]
1458    --enable-fast-install[=PKGS]
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
1447  --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.
1451  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1453  --enable-select         Force select usage.
1454  --enable-efnet          For IRCDs running on EFnet.
1455  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1467 | 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
1470  --with-nicklen=<value>  Set nickname length (default 9).
1471  --with-topiclen=<value> Set topic length (default 160).
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1552 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure 8beta1
1568 < generated by GNU Autoconf 2.68
1567 > ircd-hybrid configure 8.2.0rc1
1568 > generated by GNU Autoconf 2.69
1569  
1570 < Copyright (C) 2010 Free Software Foundation, Inc.
1570 > Copyright (C) 2012 Free Software Foundation, Inc.
1571   This configure script is free software; the Free Software Foundation
1572   gives unlimited permission to copy, distribute and modify it.
1573   _ACEOF
# Line 1631 | Line 1643 | $as_echo "$ac_try_echo"; } >&5
1643           test ! -s conftest.err
1644         } && test -s conftest$ac_exeext && {
1645           test "$cross_compiling" = yes ||
1646 <         $as_test_x conftest$ac_exeext
1646 >         test -x conftest$ac_exeext
1647         }; then :
1648    ac_retval=0
1649   else
# Line 2078 | Line 2090 | cat >config.log <<_ACEOF
2090   This file contains any messages produced by compilers while
2091   running configure, to aid debugging if configure makes a mistake.
2092  
2093 < It was created by ircd-hybrid $as_me 8beta1, which was
2094 < generated by GNU Autoconf 2.68.  Invocation command line 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 $@
2097  
# Line 2358 | Line 2370 | $as_echo "$as_me: creating cache $cache_
2370    >$cache_file
2371   fi
2372  
2361 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 2438 | 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.11'
2452 > am__api_version='1.14'
2453  
2454   ac_aux_dir=
2455   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2506 | Line 2517 | case $as_dir/ in #((
2517      # by default.
2518      for ac_prog in ginstall scoinst install; do
2519        for ac_exec_ext in '' $ac_executable_extensions; do
2520 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2520 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2521            if test $ac_prog = install &&
2522              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2523              # AIX install.  It has an incompatible calling convention.
# Line 2564 | Line 2575 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2575  
2576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2577   $as_echo_n "checking whether build environment is sane... " >&6; }
2567 # Just in case
2568 sleep 1
2569 echo timestamp > conftest.file
2578   # Reject unsafe characters in $srcdir or the absolute working directory
2579   # name.  Accept space and tab only in the latter.
2580   am_lf='
# Line 2577 | Line 2585 | case `pwd` in
2585   esac
2586   case $srcdir in
2587    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2588 <    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2588 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2589   esac
2590  
2591 < # Do `set' in a subshell so we don't clobber the current shell's
2591 > # Do 'set' in a subshell so we don't clobber the current shell's
2592   # arguments.  Must try -L first in case configure is actually a
2593   # symlink; some systems play weird games with the mod time of symlinks
2594   # (eg FreeBSD returns the mod time of the symlink's containing
2595   # directory).
2596   if (
2597 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2598 <   if test "$*" = "X"; then
2599 <      # -L didn't work.
2600 <      set X `ls -t "$srcdir/configure" conftest.file`
2601 <   fi
2602 <   rm -f conftest.file
2603 <   if test "$*" != "X $srcdir/configure conftest.file" \
2604 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2605 <
2606 <      # If neither matched, then we have a broken ls.  This can happen
2599 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2600 <      # broken ls alias from the environment.  This has actually
2601 <      # happened.  Such a system could not be considered "sane".
2602 <      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2603 < alias in your environment" "$LINENO" 5
2604 <   fi
2597 >   am_has_slept=no
2598 >   for am_try in 1 2; do
2599 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2600 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2601 >     if test "$*" = "X"; then
2602 >        # -L didn't work.
2603 >        set X `ls -t "$srcdir/configure" conftest.file`
2604 >     fi
2605 >     if test "$*" != "X $srcdir/configure conftest.file" \
2606 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2607  
2608 +        # If neither matched, then we have a broken ls.  This can happen
2609 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2610 +        # broken ls alias from the environment.  This has actually
2611 +        # happened.  Such a system could not be considered "sane".
2612 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2613 +  alias in your environment" "$LINENO" 5
2614 +     fi
2615 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2616 +       break
2617 +     fi
2618 +     # Just in case.
2619 +     sleep 1
2620 +     am_has_slept=yes
2621 +   done
2622     test "$2" = conftest.file
2623     )
2624   then
# Line 2614 | Line 2630 | Check your system clock" "$LINENO" 5
2630   fi
2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632   $as_echo "yes" >&6; }
2633 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2634 + # generated files are strictly newer.
2635 + am_sleep_pid=
2636 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2637 +  ( sleep 1 ) &
2638 +  am_sleep_pid=$!
2639 + fi
2640 +
2641 + rm -f conftest.file
2642 +
2643   test "$program_prefix" != NONE &&
2644    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2645   # Use a double $ so make ignores it.
# Line 2636 | 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
2670 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2669 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2670 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2671   fi
2672  
2673   if test x"${install_sh}" != xset; then
# Line 2653 | Line 2679 | if test x"${install_sh}" != xset; then
2679    esac
2680   fi
2681  
2682 < # Installed binaries are usually stripped using `strip' when the user
2683 < # run `make install-strip'.  However `strip' might not be the right
2682 > # Installed binaries are usually stripped using 'strip' when the user
2683 > # run "make install-strip".  However 'strip' might not be the right
2684   # tool to use in cross-compilation environments, therefore Automake
2685 < # will honor the `STRIP' environment variable to overrule this program.
2685 > # will honor the 'STRIP' environment variable to overrule this program.
2686   if test "$cross_compiling" != no; then
2687    if test -n "$ac_tool_prefix"; then
2688    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
# Line 2675 | Line 2701 | do
2701    IFS=$as_save_IFS
2702    test -z "$as_dir" && as_dir=.
2703      for ac_exec_ext in '' $ac_executable_extensions; do
2704 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2706      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707      break 2
# Line 2715 | Line 2741 | do
2741    IFS=$as_save_IFS
2742    test -z "$as_dir" && as_dir=.
2743      for ac_exec_ext in '' $ac_executable_extensions; do
2744 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745      ac_cv_prog_ac_ct_STRIP="strip"
2746      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747      break 2
# Line 2766 | Line 2792 | do
2792    test -z "$as_dir" && as_dir=.
2793      for ac_prog in mkdir gmkdir; do
2794           for ac_exec_ext in '' $ac_executable_extensions; do
2795 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2795 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2796             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2797               'mkdir (GNU coreutils) '* | \
2798               'mkdir (coreutils) '* | \
# Line 2795 | Line 2821 | fi
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2822   $as_echo "$MKDIR_P" >&6; }
2823  
2798 mkdir_p="$MKDIR_P"
2799 case $mkdir_p in
2800  [\\/$]* | ?:[\\/]*) ;;
2801  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2802 esac
2803
2824   for ac_prog in gawk mawk nawk awk
2825   do
2826    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 2819 | Line 2839 | do
2839    IFS=$as_save_IFS
2840    test -z "$as_dir" && as_dir=.
2841      for ac_exec_ext in '' $ac_executable_extensions; do
2842 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2842 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2843      ac_cv_prog_AWK="$ac_prog"
2844      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845      break 2
# Line 2883 | 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 2905 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='8beta1'
2967 > VERSION='8.2.0rc1'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 2933 | Line 2992 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2992  
2993   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2994  
2995 + # For better backward compatibility.  To be removed once Automake 1.9.x
2996 + # dies out for good.  For more background, see:
2997 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2998 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2999 + mkdir_p='$(MKDIR_P)'
3000 +
3001   # We need awk for the "check" target.  The system "awk" is bad on
3002   # some platforms.
3003   # Always define AMTAR for backward compatibility.  Yes, it's still used
3004   # in the wild :-(  We should find a proper way to deprecate it ...
3005   AMTAR='$${TAR-tar}'
3006  
3007 +
3008 + # We'll loop over all known methods to create a tar archive until one works.
3009 + _am_tools='gnutar  pax cpio none'
3010 +
3011   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012  
3013  
# Line 2946 | 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 2968 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 2992 | Line 3104 | am__quote=
3104   _am_result=none
3105   # First try GNU make style include.
3106   echo "include confinc" > confmf
3107 < # Ignore all kinds of additional output from `make'.
3107 > # Ignore all kinds of additional output from 'make'.
3108   case `$am_make -s -f confmf 2> /dev/null` in #(
3109   *the\ am__doit\ target*)
3110    am__include=include
# Line 3058 | Line 3170 | do
3170    IFS=$as_save_IFS
3171    test -z "$as_dir" && as_dir=.
3172      for ac_exec_ext in '' $ac_executable_extensions; do
3173 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3175      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176      break 2
# Line 3098 | Line 3210 | do
3210    IFS=$as_save_IFS
3211    test -z "$as_dir" && as_dir=.
3212      for ac_exec_ext in '' $ac_executable_extensions; do
3213 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214      ac_cv_prog_ac_ct_CC="gcc"
3215      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216      break 2
# Line 3151 | Line 3263 | do
3263    IFS=$as_save_IFS
3264    test -z "$as_dir" && as_dir=.
3265      for ac_exec_ext in '' $ac_executable_extensions; do
3266 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267      ac_cv_prog_CC="${ac_tool_prefix}cc"
3268      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269      break 2
# Line 3192 | Line 3304 | do
3304    IFS=$as_save_IFS
3305    test -z "$as_dir" && as_dir=.
3306      for ac_exec_ext in '' $ac_executable_extensions; do
3307 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3309         ac_prog_rejected=yes
3310         continue
# Line 3250 | Line 3362 | do
3362    IFS=$as_save_IFS
3363    test -z "$as_dir" && as_dir=.
3364      for ac_exec_ext in '' $ac_executable_extensions; do
3365 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3366      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3367      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368      break 2
# Line 3294 | Line 3406 | do
3406    IFS=$as_save_IFS
3407    test -z "$as_dir" && as_dir=.
3408      for ac_exec_ext in '' $ac_executable_extensions; do
3409 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410      ac_cv_prog_ac_ct_CC="$ac_prog"
3411      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412      break 2
# Line 3740 | Line 3852 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3852   /* end confdefs.h.  */
3853   #include <stdarg.h>
3854   #include <stdio.h>
3855 < #include <sys/types.h>
3744 < #include <sys/stat.h>
3855 > struct stat;
3856   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3857   struct buf { int x; };
3858   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3826 | 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 3837 | Line 4007 | else
4007    # We make a subdir and do the tests there.  Otherwise we can end up
4008    # making bogus files that we don't know about and never remove.  For
4009    # instance it was reported that on HP-UX the gcc test will end up
4010 <  # making a dummy file named `D' -- because `-MD' means `put the output
4011 <  # in D'.
4010 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4011 >  # in D".
4012    rm -rf conftest.dir
4013    mkdir conftest.dir
4014    # Copy depcomp to subdir because otherwise we won't find it if we're
# Line 3873 | Line 4043 | else
4043      : > sub/conftest.c
4044      for i in 1 2 3 4 5 6; do
4045        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4046 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4047 <      # Solaris 8's {/usr,}/bin/sh.
4048 <      touch sub/conftst$i.h
4046 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4047 >      # Solaris 10 /bin/sh.
4048 >      echo '/* dummy */' > sub/conftst$i.h
4049      done
4050      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4051  
4052 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4052 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4053      # mode.  It turns out that the SunPro C++ compiler does not properly
4054 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4055 <    # versions had trouble with output in subdirs
4054 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4055 >    # versions had trouble with output in subdirs.
4056      am__obj=sub/conftest.${OBJEXT-o}
4057      am__minus_obj="-o $am__obj"
4058      case $depmode in
# Line 3891 | Line 4061 | else
4061        test "$am__universal" = false || continue
4062        ;;
4063      nosideeffect)
4064 <      # after this tag, mechanisms are not by side-effect, so they'll
4065 <      # only be used when explicitly requested
4064 >      # After this tag, mechanisms are not by side-effect, so they'll
4065 >      # only be used when explicitly requested.
4066        if test "x$enable_dependency_tracking" = xyes; then
4067          continue
4068        else
# Line 3900 | Line 4070 | else
4070        fi
4071        ;;
4072      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4073 <      # This compiler won't grok `-c -o', but also, the minuso test has
4073 >      # This compiler won't grok '-c -o', but also, the minuso test has
4074        # not run yet.  These depmodes are late enough in the game, and
4075        # so weak that their functioning should not be impacted.
4076        am__obj=conftest.${OBJEXT-o}
# Line 4100 | Line 4270 | main ()
4270    return 0;
4271   }
4272   _ACEOF
4273 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4273 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4274   do
4275    CC="$ac_save_CC $ac_arg"
4276    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4152 | Line 4322 | do
4322    IFS=$as_save_IFS
4323    test -z "$as_dir" && as_dir=.
4324      for ac_exec_ext in '' $ac_executable_extensions; do
4325 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4326      ac_cv_prog_YACC="$ac_prog"
4327      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328      break 2
# Line 4196 | Line 4366 | do
4366    IFS=$as_save_IFS
4367    test -z "$as_dir" && as_dir=.
4368      for ac_exec_ext in '' $ac_executable_extensions; do
4369 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370      ac_cv_prog_LEX="$ac_prog"
4371      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372      break 2
# Line 4228 | Line 4398 | a { ECHO; }
4398   b { REJECT; }
4399   c { yymore (); }
4400   d { yyless (1); }
4401 < e { yyless (input () != 0); }
4401 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4402 >    yyless ((input () != 0)); }
4403   f { unput (yytext[0]); }
4404   . { BEGIN INITIAL; }
4405   %%
# Line 4536 | Line 4707 | do
4707      for ac_prog in sed gsed; do
4708      for ac_exec_ext in '' $ac_executable_extensions; do
4709        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4710 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4710 >      as_fn_executable_p "$ac_path_SED" || continue
4711   # Check for GNU ac_path_SED and select it if it is found.
4712    # Check for GNU $ac_path_SED
4713   case `"$ac_path_SED" --version 2>&1` in
# Line 4612 | Line 4783 | do
4783      for ac_prog in grep ggrep; do
4784      for ac_exec_ext in '' $ac_executable_extensions; do
4785        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4786 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4786 >      as_fn_executable_p "$ac_path_GREP" || continue
4787   # Check for GNU ac_path_GREP and select it if it is found.
4788    # Check for GNU $ac_path_GREP
4789   case `"$ac_path_GREP" --version 2>&1` in
# Line 4678 | Line 4849 | do
4849      for ac_prog in egrep; do
4850      for ac_exec_ext in '' $ac_executable_extensions; do
4851        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4852 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4852 >      as_fn_executable_p "$ac_path_EGREP" || continue
4853   # Check for GNU ac_path_EGREP and select it if it is found.
4854    # Check for GNU $ac_path_EGREP
4855   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4745 | Line 4916 | do
4916      for ac_prog in fgrep; do
4917      for ac_exec_ext in '' $ac_executable_extensions; do
4918        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4919 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4919 >      as_fn_executable_p "$ac_path_FGREP" || continue
4920   # Check for GNU ac_path_FGREP and select it if it is found.
4921    # Check for GNU $ac_path_FGREP
4922   case `"$ac_path_FGREP" --version 2>&1` in
# Line 5001 | Line 5172 | do
5172    IFS=$as_save_IFS
5173    test -z "$as_dir" && as_dir=.
5174      for ac_exec_ext in '' $ac_executable_extensions; do
5175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178      break 2
# Line 5045 | Line 5216 | do
5216    IFS=$as_save_IFS
5217    test -z "$as_dir" && as_dir=.
5218      for ac_exec_ext in '' $ac_executable_extensions; do
5219 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5221      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222      break 2
# Line 5469 | Line 5640 | do
5640    IFS=$as_save_IFS
5641    test -z "$as_dir" && as_dir=.
5642      for ac_exec_ext in '' $ac_executable_extensions; do
5643 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5645      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646      break 2
# Line 5509 | Line 5680 | do
5680    IFS=$as_save_IFS
5681    test -z "$as_dir" && as_dir=.
5682      for ac_exec_ext in '' $ac_executable_extensions; do
5683 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5685      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686      break 2
# Line 5815 | Line 5986 | do
5986    IFS=$as_save_IFS
5987    test -z "$as_dir" && as_dir=.
5988      for ac_exec_ext in '' $ac_executable_extensions; do
5989 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5989 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5990      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5991      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992      break 2
# Line 5855 | Line 6026 | do
6026    IFS=$as_save_IFS
6027    test -z "$as_dir" && as_dir=.
6028      for ac_exec_ext in '' $ac_executable_extensions; do
6029 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6031      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032      break 2
# Line 5958 | Line 6129 | do
6129    IFS=$as_save_IFS
6130    test -z "$as_dir" && as_dir=.
6131      for ac_exec_ext in '' $ac_executable_extensions; do
6132 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6132 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133      ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6134      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135      break 2
# Line 6002 | Line 6173 | do
6173    IFS=$as_save_IFS
6174    test -z "$as_dir" && as_dir=.
6175      for ac_exec_ext in '' $ac_executable_extensions; do
6176 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6176 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6177      ac_cv_prog_ac_ct_AR="$ac_prog"
6178      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179      break 2
# Line 6127 | Line 6298 | do
6298    IFS=$as_save_IFS
6299    test -z "$as_dir" && as_dir=.
6300      for ac_exec_ext in '' $ac_executable_extensions; do
6301 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6301 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6303      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304      break 2
# Line 6167 | Line 6338 | do
6338    IFS=$as_save_IFS
6339    test -z "$as_dir" && as_dir=.
6340      for ac_exec_ext in '' $ac_executable_extensions; do
6341 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342      ac_cv_prog_ac_ct_STRIP="strip"
6343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344      break 2
# Line 6226 | Line 6397 | do
6397    IFS=$as_save_IFS
6398    test -z "$as_dir" && as_dir=.
6399      for ac_exec_ext in '' $ac_executable_extensions; do
6400 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6402      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403      break 2
# Line 6266 | Line 6437 | do
6437    IFS=$as_save_IFS
6438    test -z "$as_dir" && as_dir=.
6439      for ac_exec_ext in '' $ac_executable_extensions; do
6440 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441      ac_cv_prog_ac_ct_RANLIB="ranlib"
6442      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443      break 2
# Line 6915 | Line 7086 | do
7086    IFS=$as_save_IFS
7087    test -z "$as_dir" && as_dir=.
7088      for ac_exec_ext in '' $ac_executable_extensions; do
7089 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7089 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090      ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7091      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092      break 2
# Line 6955 | Line 7126 | do
7126    IFS=$as_save_IFS
7127    test -z "$as_dir" && as_dir=.
7128      for ac_exec_ext in '' $ac_executable_extensions; do
7129 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7129 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130      ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7131      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132      break 2
# Line 7035 | Line 7206 | do
7206    IFS=$as_save_IFS
7207    test -z "$as_dir" && as_dir=.
7208      for ac_exec_ext in '' $ac_executable_extensions; do
7209 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7209 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7210      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7211      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212      break 2
# Line 7075 | Line 7246 | do
7246    IFS=$as_save_IFS
7247    test -z "$as_dir" && as_dir=.
7248      for ac_exec_ext in '' $ac_executable_extensions; do
7249 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7251      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252      break 2
# Line 7127 | Line 7298 | do
7298    IFS=$as_save_IFS
7299    test -z "$as_dir" && as_dir=.
7300      for ac_exec_ext in '' $ac_executable_extensions; do
7301 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7301 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7303      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304      break 2
# Line 7167 | Line 7338 | do
7338    IFS=$as_save_IFS
7339    test -z "$as_dir" && as_dir=.
7340      for ac_exec_ext in '' $ac_executable_extensions; do
7341 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344      break 2
# Line 7219 | Line 7390 | do
7390    IFS=$as_save_IFS
7391    test -z "$as_dir" && as_dir=.
7392      for ac_exec_ext in '' $ac_executable_extensions; do
7393 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7395      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396      break 2
# Line 7259 | Line 7430 | do
7430    IFS=$as_save_IFS
7431    test -z "$as_dir" && as_dir=.
7432      for ac_exec_ext in '' $ac_executable_extensions; do
7433 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434      ac_cv_prog_ac_ct_LIPO="lipo"
7435      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436      break 2
# Line 7311 | Line 7482 | do
7482    IFS=$as_save_IFS
7483    test -z "$as_dir" && as_dir=.
7484      for ac_exec_ext in '' $ac_executable_extensions; do
7485 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7486      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7487      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7488      break 2
# Line 7351 | Line 7522 | do
7522    IFS=$as_save_IFS
7523    test -z "$as_dir" && as_dir=.
7524      for ac_exec_ext in '' $ac_executable_extensions; do
7525 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526      ac_cv_prog_ac_ct_OTOOL="otool"
7527      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528      break 2
# Line 7403 | Line 7574 | do
7574    IFS=$as_save_IFS
7575    test -z "$as_dir" && as_dir=.
7576      for ac_exec_ext in '' $ac_executable_extensions; do
7577 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7578      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7579      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7580      break 2
# Line 7443 | Line 7614 | do
7614    IFS=$as_save_IFS
7615    test -z "$as_dir" && as_dir=.
7616      for ac_exec_ext in '' $ac_executable_extensions; do
7617 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7618      ac_cv_prog_ac_ct_OTOOL64="otool64"
7619      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7620      break 2
# Line 8385 | 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 12998 | Line 13173 | LIBTOOL="$LIBTOOL --silent"
13173  
13174   # Checks for libraries.
13175  
13176 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13177 < $as_echo_n "checking for library containing socket... " >&6; }
13178 < if ${ac_cv_search_socket+:} false; then :
13176 >
13177 >  if test "X$CC" != "X"; then
13178 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13179 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13180 > if ${ssp_cv_cc+:} false; then :
13181 >  $as_echo_n "(cached) " >&6
13182 > else
13183 >  ssp_old_cflags="$CFLAGS"
13184 >       CFLAGS="$CFLAGS -fstack-protector"
13185 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 > /* end confdefs.h.  */
13187 >
13188 > int
13189 > main ()
13190 > {
13191 >
13192 >  ;
13193 >  return 0;
13194 > }
13195 > _ACEOF
13196 > if ac_fn_c_try_compile "$LINENO"; then :
13197 >  ssp_cv_cc=yes
13198 > else
13199 >  ssp_cv_cc=no
13200 > fi
13201 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13202 >       CFLAGS="$ssp_old_cflags"
13203 >
13204 > fi
13205 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13206 > $as_echo "$ssp_cv_cc" >&6; }
13207 >    if test $ssp_cv_cc = yes; then
13208 >      CFLAGS="$CFLAGS -fstack-protector"
13209 >
13210 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13211 >
13212 >    fi
13213 >  fi
13214 >
13215 >
13216 >
13217 >
13218 >
13219 >
13220 > for flag in -fno-strict-aliasing; do
13221 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13222 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13223 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13224 > if eval \${$as_CACHEVAR+:} false; then :
13225 >  $as_echo_n "(cached) " >&6
13226 > else
13227 >
13228 >  ax_check_save_flags=$CFLAGS
13229 >  CFLAGS="$CFLAGS  $flag"
13230 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 > /* end confdefs.h.  */
13232 >
13233 > int
13234 > main ()
13235 > {
13236 >
13237 >  ;
13238 >  return 0;
13239 > }
13240 > _ACEOF
13241 > if ac_fn_c_try_compile "$LINENO"; then :
13242 >  eval "$as_CACHEVAR=yes"
13243 > else
13244 >  eval "$as_CACHEVAR=no"
13245 > fi
13246 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13247 >  CFLAGS=$ax_check_save_flags
13248 > fi
13249 > eval ac_res=\$$as_CACHEVAR
13250 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13251 > $as_echo "$ac_res" >&6; }
13252 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13253 >  if ${CFLAGS+:} false; then :
13254 >  case " $CFLAGS " in
13255 >    *" $flag "*)
13256 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13257 >  (: CFLAGS already contains $flag) 2>&5
13258 >  ac_status=$?
13259 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 >  test $ac_status = 0; }
13261 >      ;;
13262 >    *)
13263 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13264 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13265 >  ac_status=$?
13266 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 >  test $ac_status = 0; }
13268 >      CFLAGS="$CFLAGS $flag"
13269 >      ;;
13270 >   esac
13271 > else
13272 >  CFLAGS="$flag"
13273 > fi
13274 >
13275 > else
13276 >  :
13277 > fi
13278 >
13279 > done
13280 >
13281 >
13282 >
13283 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13284 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13285 >
13286 > else
13287 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13288 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13289 > if ${ac_cv_search_getaddrinfo+:} false; then :
13290    $as_echo_n "(cached) " >&6
13291   else
13292    ac_func_search_save_LIBS=$LIBS
# Line 13013 | Line 13299 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13299   #ifdef __cplusplus
13300   extern "C"
13301   #endif
13302 < char socket ();
13302 > char getaddrinfo ();
13303   int
13304   main ()
13305   {
13306 < return socket ();
13306 > return getaddrinfo ();
13307    ;
13308    return 0;
13309   }
13310   _ACEOF
13311 < for ac_lib in '' socket; do
13311 > for ac_lib in '' nsl; do
13312    if test -z "$ac_lib"; then
13313      ac_res="none required"
13314    else
# Line 13030 | Line 13316 | for ac_lib in '' socket; do
13316      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13317    fi
13318    if ac_fn_c_try_link "$LINENO"; then :
13319 <  ac_cv_search_socket=$ac_res
13319 >  ac_cv_search_getaddrinfo=$ac_res
13320   fi
13321   rm -f core conftest.err conftest.$ac_objext \
13322      conftest$ac_exeext
13323 <  if ${ac_cv_search_socket+:} false; then :
13323 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13324    break
13325   fi
13326   done
13327 < if ${ac_cv_search_socket+:} false; then :
13327 > if ${ac_cv_search_getaddrinfo+:} false; then :
13328  
13329   else
13330 <  ac_cv_search_socket=no
13330 >  ac_cv_search_getaddrinfo=no
13331   fi
13332   rm conftest.$ac_ext
13333   LIBS=$ac_func_search_save_LIBS
13334   fi
13335 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13336 < $as_echo "$ac_cv_search_socket" >&6; }
13337 < ac_res=$ac_cv_search_socket
13335 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13336 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13337 > ac_res=$ac_cv_search_getaddrinfo
13338   if test "$ac_res" != no; then :
13339    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13340  
13055 else
13056  as_fn_error $? "socket library not found" "$LINENO" 5
13341   fi
13342  
13343 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13344 < $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13345 < if ${ac_cv_search_inet_ntoa+:} false; then :
13343 > fi
13344 >
13345 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13346 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13347 >
13348 > else
13349 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13350 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13351 > if ${ac_cv_search_getnameinfo+:} false; then :
13352    $as_echo_n "(cached) " >&6
13353   else
13354    ac_func_search_save_LIBS=$LIBS
# Line 13071 | Line 13361 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13361   #ifdef __cplusplus
13362   extern "C"
13363   #endif
13364 < char inet_ntoa ();
13364 > char getnameinfo ();
13365   int
13366   main ()
13367   {
13368 < return inet_ntoa ();
13368 > return getnameinfo ();
13369    ;
13370    return 0;
13371   }
# Line 13088 | Line 13378 | for ac_lib in '' nsl; do
13378      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13379    fi
13380    if ac_fn_c_try_link "$LINENO"; then :
13381 <  ac_cv_search_inet_ntoa=$ac_res
13381 >  ac_cv_search_getnameinfo=$ac_res
13382   fi
13383   rm -f core conftest.err conftest.$ac_objext \
13384      conftest$ac_exeext
13385 <  if ${ac_cv_search_inet_ntoa+:} false; then :
13385 >  if ${ac_cv_search_getnameinfo+:} false; then :
13386    break
13387   fi
13388   done
13389 < if ${ac_cv_search_inet_ntoa+:} false; then :
13389 > if ${ac_cv_search_getnameinfo+:} false; then :
13390  
13391   else
13392 <  ac_cv_search_inet_ntoa=no
13392 >  ac_cv_search_getnameinfo=no
13393   fi
13394   rm conftest.$ac_ext
13395   LIBS=$ac_func_search_save_LIBS
13396   fi
13397 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13398 < $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13399 < ac_res=$ac_cv_search_inet_ntoa
13397 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13398 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13399 > ac_res=$ac_cv_search_getnameinfo
13400   if test "$ac_res" != no; then :
13401    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13402  
13403   fi
13404  
13405 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13406 < $as_echo_n "checking for library containing inet_aton... " >&6; }
13407 < if ${ac_cv_search_inet_aton+:} false; then :
13405 > fi
13406 >
13407 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13408 > $as_echo_n "checking for library containing socket... " >&6; }
13409 > if ${ac_cv_search_socket+:} false; then :
13410    $as_echo_n "(cached) " >&6
13411   else
13412    ac_func_search_save_LIBS=$LIBS
# Line 13127 | Line 13419 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13419   #ifdef __cplusplus
13420   extern "C"
13421   #endif
13422 < char inet_aton ();
13422 > char socket ();
13423   int
13424   main ()
13425   {
13426 < return inet_aton ();
13426 > return socket ();
13427    ;
13428    return 0;
13429   }
13430   _ACEOF
13431 < for ac_lib in '' resolv; do
13431 > for ac_lib in '' socket; do
13432    if test -z "$ac_lib"; then
13433      ac_res="none required"
13434    else
# Line 13144 | Line 13436 | for ac_lib in '' resolv; do
13436      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13437    fi
13438    if ac_fn_c_try_link "$LINENO"; then :
13439 <  ac_cv_search_inet_aton=$ac_res
13439 >  ac_cv_search_socket=$ac_res
13440   fi
13441   rm -f core conftest.err conftest.$ac_objext \
13442      conftest$ac_exeext
13443 <  if ${ac_cv_search_inet_aton+:} false; then :
13443 >  if ${ac_cv_search_socket+:} false; then :
13444    break
13445   fi
13446   done
13447 < if ${ac_cv_search_inet_aton+:} false; then :
13447 > if ${ac_cv_search_socket+:} false; then :
13448  
13449   else
13450 <  ac_cv_search_inet_aton=no
13450 >  ac_cv_search_socket=no
13451   fi
13452   rm conftest.$ac_ext
13453   LIBS=$ac_func_search_save_LIBS
13454   fi
13455 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13456 < $as_echo "$ac_cv_search_inet_aton" >&6; }
13457 < ac_res=$ac_cv_search_inet_aton
13455 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13456 > $as_echo "$ac_cv_search_socket" >&6; }
13457 > ac_res=$ac_cv_search_socket
13458   if test "$ac_res" != no; then :
13459    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13460  
13461 + else
13462 +  as_fn_error $? "socket library not found" "$LINENO" 5
13463   fi
13464  
13171  for ac_func in inet_aton inet_ntop inet_pton
13172 do :
13173  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13175 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13176  cat >>confdefs.h <<_ACEOF
13177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13178 _ACEOF
13179
13180 fi
13181 done
13182
13465    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13466     #include <sys/socket.h>
13467     #include <netdb.h>
# Line 13496 | Line 13778 | done
13778  
13779  
13780  
13499
13500
13781   # Checks for header files.
13782  
13783  
# Line 13589 | Line 13869 | if test "$ac_res" != no; then :
13869   fi
13870  
13871  
13872 < # Check whether --enable-libpcre was given.
13873 < if test "${enable_libpcre+set}" = set; then :
13874 <  enableval=$enable_libpcre;
13875 < else
13876 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13877 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13878 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13879 < $as_echo_n "checking for library containing pcre_study... " >&6; }
13880 < if ${ac_cv_search_pcre_study+:} false; then :
13872 > # Check whether --enable-libgeoip was given.
13873 > if test "${enable_libgeoip+set}" = set; then :
13874 >  enableval=$enable_libgeoip;
13875 > else
13876 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13877 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13878 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13879 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13880 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13881    $as_echo_n "(cached) " >&6
13882   else
13883    ac_func_search_save_LIBS=$LIBS
# Line 13610 | Line 13890 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13890   #ifdef __cplusplus
13891   extern "C"
13892   #endif
13893 < char pcre_study ();
13893 > char GeoIP_id_by_ipnum_v6_gl ();
13894   int
13895   main ()
13896   {
13897 < return pcre_study ();
13897 > return GeoIP_id_by_ipnum_v6_gl ();
13898    ;
13899    return 0;
13900   }
13901   _ACEOF
13902 < for ac_lib in '' pcre; do
13902 > for ac_lib in '' GeoIP; do
13903    if test -z "$ac_lib"; then
13904      ac_res="none required"
13905    else
# Line 13627 | Line 13907 | for ac_lib in '' pcre; do
13907      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13908    fi
13909    if ac_fn_c_try_link "$LINENO"; then :
13910 <  ac_cv_search_pcre_study=$ac_res
13910 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13911   fi
13912   rm -f core conftest.err conftest.$ac_objext \
13913      conftest$ac_exeext
13914 <  if ${ac_cv_search_pcre_study+:} false; then :
13914 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13915    break
13916   fi
13917   done
13918 < if ${ac_cv_search_pcre_study+:} false; then :
13918 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13919  
13920   else
13921 <  ac_cv_search_pcre_study=no
13921 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13922   fi
13923   rm conftest.$ac_ext
13924   LIBS=$ac_func_search_save_LIBS
13925   fi
13926 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13927 < $as_echo "$ac_cv_search_pcre_study" >&6; }
13928 < ac_res=$ac_cv_search_pcre_study
13926 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13927 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13928 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13929   if test "$ac_res" != no; then :
13930    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13931  
13932 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13932 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13933  
13934   fi
13935  
# Line 13659 | Line 13939 | fi
13939   fi
13940  
13941  
13942 +
13943   # Check whether --enable-openssl was given.
13944   if test "${enable_openssl+set}" = set; then :
13945    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13713 | Line 13994 | $as_echo "disabled" >&6; }
13994   fi
13995  
13996   if test "$cf_enable_openssl" != "no"; then :
13997 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13998 < $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13997 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
13998 > $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
13999    if test "$cross_compiling" = yes; then :
14000    cf_openssl_version_ok=no
14001   else
# Line 13727 | Line 14008 | else
14008   int
14009   main ()
14010   {
14011 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14011 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14012    ;
14013    return 0;
14014   }
# Line 13746 | Line 14027 | fi
14027    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14028   $as_echo "found" >&6; }
14029  
14030 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14031 < $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14032 < if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14030 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14031 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14032 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14033    $as_echo_n "(cached) " >&6
14034   else
14035    ac_check_lib_save_LIBS=$LIBS
14036 < LIBS="-lssl  $LIBS"
14036 > LIBS="-lcrypto  $LIBS"
14037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038   /* end confdefs.h.  */
14039  
# Line 13762 | Line 14043 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14043   #ifdef __cplusplus
14044   extern "C"
14045   #endif
14046 < char SSL_connect ();
14046 > char RSA_free ();
14047   int
14048   main ()
14049   {
14050 < return SSL_connect ();
14050 > return RSA_free ();
14051    ;
14052    return 0;
14053   }
14054   _ACEOF
14055   if ac_fn_c_try_link "$LINENO"; then :
14056 <  ac_cv_lib_ssl_SSL_connect=yes
14056 >  ac_cv_lib_crypto_RSA_free=yes
14057   else
14058 <  ac_cv_lib_ssl_SSL_connect=no
14058 >  ac_cv_lib_crypto_RSA_free=no
14059   fi
14060   rm -f core conftest.err conftest.$ac_objext \
14061      conftest$ac_exeext conftest.$ac_ext
14062   LIBS=$ac_check_lib_save_LIBS
14063   fi
14064 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14065 < $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14066 < if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14064 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14065 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14066 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14067    cat >>confdefs.h <<_ACEOF
14068 < #define HAVE_LIBSSL 1
14068 > #define HAVE_LIBCRYPTO 1
14069   _ACEOF
14070  
14071 <  LIBS="-lssl $LIBS"
14071 >  LIBS="-lcrypto $LIBS"
14072  
14073   fi
14074  
14075 <    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
14076 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14077 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14078 < if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14075 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14076 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14077 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14078 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14079    $as_echo_n "(cached) " >&6
14080   else
14081    ac_check_lib_save_LIBS=$LIBS
14082 < LIBS="-lcrypto  $LIBS"
14082 > LIBS="-lssl  $LIBS"
14083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084   /* end confdefs.h.  */
14085  
# Line 13808 | Line 14089 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14089   #ifdef __cplusplus
14090   extern "C"
14091   #endif
14092 < char RSA_free ();
14092 > char SSL_connect ();
14093   int
14094   main ()
14095   {
14096 < return RSA_free ();
14096 > return SSL_connect ();
14097    ;
14098    return 0;
14099   }
14100   _ACEOF
14101   if ac_fn_c_try_link "$LINENO"; then :
14102 <  ac_cv_lib_crypto_RSA_free=yes
14102 >  ac_cv_lib_ssl_SSL_connect=yes
14103   else
14104 <  ac_cv_lib_crypto_RSA_free=no
14104 >  ac_cv_lib_ssl_SSL_connect=no
14105   fi
14106   rm -f core conftest.err conftest.$ac_objext \
14107      conftest$ac_exeext conftest.$ac_ext
14108   LIBS=$ac_check_lib_save_LIBS
14109   fi
14110 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14111 < $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14112 < if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14110 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14111 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14112 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14113    cat >>confdefs.h <<_ACEOF
14114 < #define HAVE_LIBCRYPTO 1
14114 > #define HAVE_LIBSSL 1
14115   _ACEOF
14116  
14117 <  LIBS="-lcrypto $LIBS"
14117 >  LIBS="-lssl $LIBS"
14118  
14119   fi
14120  
# Line 13846 | Line 14127 | $as_echo "no - OpenSSL support disabled"
14127   fi
14128   fi
14129  
14130 < if test "$ac_cv_lib_crypto_RSA_free" = yes; then
14130 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14131    ENABLE_SSL_TRUE=
14132    ENABLE_SSL_FALSE='#'
14133   else
# Line 13871 | Line 14152 | $as_echo "#define NDEBUG 1" >>confdefs.h
14152   fi
14153  
14154  
14155 < # Check whether --enable-small-net was given.
13875 < if test "${enable_small_net+set}" = set; then :
13876 <  enableval=$enable_small_net; small_net=$enableval
13877 < else
13878 <  small_net=no
13879 < fi
13880 <
13881 <
13882 < if test "$small_net" = "yes"; then :
13883 <
13884 <
13885 < $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13886 <
13887 <
13888 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13889 <
13890 <
13891 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13892 <
13893 <
13894 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13895 <
13896 <
13897 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13898 <
13899 <
13900 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14155 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14156  
14157  
14158 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14158 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14159  
14160  
14161 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14161 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14162  
14163  
14164 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14164 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14165  
14166  
14167 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13913 <
13914 < else
13915 <
14167 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14168  
14169  
14170 < $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
14170 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14171  
14172  
14173 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14173 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14174  
14175  
14176 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14176 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14177  
14178  
14179 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14179 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14180  
14181  
14182 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14182 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14183  
14184  
14185 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14185 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14186  
14187  
14188 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14188 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14189  
14190  
14191 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14191 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14192  
14193  
14194 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13943 <
13944 <
13945 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13946 <
13947 < fi
14194 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14195  
14196  
14197   # Argument processing.
# Line 13965 | Line 14212 | if test "${enable_devpoll+set}" = set; t
14212    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14213   fi
14214  
13968  # Check whether --enable-rtsigio was given.
13969 if test "${enable_rtsigio+set}" = set; then :
13970  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13971 fi
13972
14215    # Check whether --enable-poll was given.
14216   if test "${enable_poll+set}" = set; then :
14217    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14218   fi
14219  
13978  # Check whether --enable-select was given.
13979 if test "${enable_select+set}" = set; then :
13980  enableval=$enable_select; desired_iopoll_mechanism="select"
13981 fi
13982
14220        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14221   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14222    iopoll_mechanism_none=0
# Line 14048 | Line 14285 | cat >>confdefs.h <<_ACEOF
14285   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14286   _ACEOF
14287  
14051  if test "$cross_compiling" = yes; then :
14052  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14054 as_fn_error $? "cannot run test program while cross compiling
14055 See \`config.log' for more details" "$LINENO" 5; }
14056 else
14288    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289   /* end confdefs.h.  */
14059
14290   #include <sys/epoll.h>
14061 #include <sys/syscall.h>
14062 #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14063 #if !defined(__NR_epoll_create)
14064 #if defined(__ia64__)
14065 #define __NR_epoll_create 1243
14066 #elif defined(__x86_64__)
14067 #define __NR_epoll_create 214
14068 #elif defined(__sparc64__) || defined(__sparc__)
14069 #define __NR_epoll_create 193
14070 #elif defined(__s390__) || defined(__m68k__)
14071 #define __NR_epoll_create 249
14072 #elif defined(__ppc64__) || defined(__ppc__)
14073 #define __NR_epoll_create 236
14074 #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
14075 #define __NR_epoll_create 224
14076 #elif defined(__alpha__)
14077 #define __NR_epoll_create 407
14078 #elif defined(__sh64__)
14079 #define __NR_epoll_create 282
14080 #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
14081 #define __NR_epoll_create 254
14082 #else
14083 #error No system call numbers defined for epoll family.
14084 #endif
14085 #endif
14086 _syscall1(int, epoll_create, int, size)
14087 #endif
14088
14291   int
14292   main ()
14293   {
14294 < return epoll_create(256) == -1 ? 1 : 0
14294 > epoll_create(256);
14295    ;
14296    return 0;
14297   }
14298   _ACEOF
14299 < if ac_fn_c_try_run "$LINENO"; then :
14299 > if ac_fn_c_try_link "$LINENO"; then :
14300    is_epoll_mechanism_available="yes"
14301   else
14302    is_epoll_mechanism_available="no"
14303   fi
14304 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14305 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14104 < fi
14105 <
14304 > rm -f core conftest.err conftest.$ac_objext \
14305 >    conftest$ac_exeext conftest.$ac_ext
14306        iopoll_mechanism_devpoll=3
14307  
14308   cat >>confdefs.h <<_ACEOF
# Line 14153 | Line 14353 | rm -f core conftest.err conftest.$ac_obj
14353   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14354  
14355    fi
14356 <      iopoll_mechanism_rtsigio=4
14157 <
14158 < cat >>confdefs.h <<_ACEOF
14159 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14160 < _ACEOF
14161 <
14162 <  if test "$cross_compiling" = yes; then :
14163 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14164 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14165 < as_fn_error $? "cannot run test program while cross compiling
14166 < See \`config.log' for more details" "$LINENO" 5; }
14167 < else
14168 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 < /* end confdefs.h.  */
14170 <
14171 < #define _GNU_SOURCE
14172 < #include <fcntl.h>
14173 < static unsigned int have_f_setsig = 0;
14174 <
14175 < int
14176 < main ()
14177 < {
14178 <
14179 < #ifdef F_SETSIG
14180 <  have_f_setsig = 1;
14181 < #endif
14182 <  return have_f_setsig == 0;
14183 <
14184 <  ;
14185 <  return 0;
14186 < }
14187 < _ACEOF
14188 < if ac_fn_c_try_run "$LINENO"; then :
14189 <  is_rtsigio_mechanism_available="yes"
14190 < else
14191 <  is_rtsigio_mechanism_available="no"
14192 < fi
14193 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14194 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14195 < fi
14196 <
14197 <      iopoll_mechanism_poll=5
14356 >      iopoll_mechanism_poll=4
14357  
14358   cat >>confdefs.h <<_ACEOF
14359   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14248 | Line 14407 | else
14407   fi
14408   rm -f core conftest.err conftest.$ac_objext \
14409      conftest$ac_exeext conftest.$ac_ext
14251      iopoll_mechanism_select=6
14252
14253 cat >>confdefs.h <<_ACEOF
14254 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14255 _ACEOF
14256
14257  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h.  */
14259 /* Define select to an innocuous variant, in case <limits.h> declares select.
14260   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14261 #define select innocuous_select
14262
14263 /* System header to define __stub macros and hopefully few prototypes,
14264    which can conflict with char select (); below.
14265    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14266    <limits.h> exists even on freestanding compilers.  */
14267
14268 #ifdef __STDC__
14269 # include <limits.h>
14270 #else
14271 # include <assert.h>
14272 #endif
14273
14274 #undef select
14275
14276 /* Override any GCC internal prototype to avoid an error.
14277   Use char because int might match the return type of a GCC
14278   builtin and then its argument prototype would still apply.  */
14279 #ifdef __cplusplus
14280 extern "C"
14281 #endif
14282 char select ();
14283 /* The GNU C library defines this for functions which it implements
14284    to always fail with ENOSYS.  Some functions are actually named
14285    something starting with __ and the normal name is an alias.  */
14286 #if defined __stub_select || defined __stub___select
14287 choke me
14288 #endif
14289
14290 int
14291 main ()
14292 {
14293 return select ();
14294  ;
14295  return 0;
14296 }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299  is_select_mechanism_available="yes"
14300 else
14301  is_select_mechanism_available="no"
14302 fi
14303 rm -f core conftest.err conftest.$ac_objext \
14304    conftest$ac_exeext conftest.$ac_ext
14410        optimal_iopoll_mechanism="none"
14411 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14411 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14412      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14413      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14414        optimal_iopoll_mechanism="$mechanism"
# Line 14340 | Line 14445 | _ACEOF
14445  
14446  
14447  
14448 +  # Check whether --enable-debugging was given.
14449 + if test "${enable_debugging+set}" = set; then :
14450 +  enableval=$enable_debugging; debugging="$enableval"
14451 + else
14452 +  debugging="no"
14453 + fi
14454  
14455 < # Check whether --with-nicklen was given.
14456 < if test "${with_nicklen+set}" = set; then :
14457 <  withval=$with_nicklen; nicklen="$withval"
14455 >  if test "$debugging" = "yes" ; then
14456 >    CFLAGS="-Wall -g -O0"
14457 >  fi
14458 >
14459 >
14460 >  # Check whether --enable-warnings was given.
14461 > if test "${enable_warnings+set}" = set; then :
14462 >  enableval=$enable_warnings; warnings="$enableval"
14463   else
14464 <  nicklen="9"
14464 >  warnings="no"
14465   fi
14466  
14467 +  if test "$warnings" = "yes" ; then
14468  
14469 < cat >>confdefs.h <<_ACEOF
14470 < #define NICKLEN ($nicklen+1)
14469 >
14470 >
14471 >
14472 > for flag in -Wall; do
14473 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14474 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14475 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14476 > if eval \${$as_CACHEVAR+:} false; then :
14477 >  $as_echo_n "(cached) " >&6
14478 > else
14479 >
14480 >  ax_check_save_flags=$CFLAGS
14481 >  CFLAGS="$CFLAGS  $flag"
14482 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 > /* end confdefs.h.  */
14484 >
14485 > int
14486 > main ()
14487 > {
14488 >
14489 >  ;
14490 >  return 0;
14491 > }
14492   _ACEOF
14493 + if ac_fn_c_try_compile "$LINENO"; then :
14494 +  eval "$as_CACHEVAR=yes"
14495 + else
14496 +  eval "$as_CACHEVAR=no"
14497 + fi
14498 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14499 +  CFLAGS=$ax_check_save_flags
14500 + fi
14501 + eval ac_res=\$$as_CACHEVAR
14502 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14503 + $as_echo "$ac_res" >&6; }
14504 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14505 +  if ${CFLAGS+:} false; then :
14506 +  case " $CFLAGS " in
14507 +    *" $flag "*)
14508 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14509 +  (: CFLAGS already contains $flag) 2>&5
14510 +  ac_status=$?
14511 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14512 +  test $ac_status = 0; }
14513 +      ;;
14514 +    *)
14515 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14516 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14517 +  ac_status=$?
14518 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14519 +  test $ac_status = 0; }
14520 +      CFLAGS="$CFLAGS $flag"
14521 +      ;;
14522 +   esac
14523 + else
14524 +  CFLAGS="$flag"
14525 + fi
14526 +
14527 + else
14528 +  :
14529 + fi
14530 +
14531 + done
14532  
14533  
14534  
14535  
14536 < # Check whether --with-topiclen was given.
14537 < if test "${with_topiclen+set}" = set; then :
14538 <  withval=$with_topiclen; topiclen="$withval"
14536 >
14537 > for flag in -Wextra; do
14538 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14539 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14540 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14541 > if eval \${$as_CACHEVAR+:} false; then :
14542 >  $as_echo_n "(cached) " >&6
14543 > else
14544 >
14545 >  ax_check_save_flags=$CFLAGS
14546 >  CFLAGS="$CFLAGS  $flag"
14547 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 > /* end confdefs.h.  */
14549 >
14550 > int
14551 > main ()
14552 > {
14553 >
14554 >  ;
14555 >  return 0;
14556 > }
14557 > _ACEOF
14558 > if ac_fn_c_try_compile "$LINENO"; then :
14559 >  eval "$as_CACHEVAR=yes"
14560 > else
14561 >  eval "$as_CACHEVAR=no"
14562 > fi
14563 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14564 >  CFLAGS=$ax_check_save_flags
14565 > fi
14566 > eval ac_res=\$$as_CACHEVAR
14567 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14568 > $as_echo "$ac_res" >&6; }
14569 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14570 >  if ${CFLAGS+:} false; then :
14571 >  case " $CFLAGS " in
14572 >    *" $flag "*)
14573 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14574 >  (: CFLAGS already contains $flag) 2>&5
14575 >  ac_status=$?
14576 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14577 >  test $ac_status = 0; }
14578 >      ;;
14579 >    *)
14580 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14581 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14582 >  ac_status=$?
14583 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14584 >  test $ac_status = 0; }
14585 >      CFLAGS="$CFLAGS $flag"
14586 >      ;;
14587 >   esac
14588 > else
14589 >  CFLAGS="$flag"
14590 > fi
14591 >
14592   else
14593 <  topiclen="160"
14593 >  :
14594   fi
14595  
14596 + done
14597  
14598 < cat >>confdefs.h <<_ACEOF
14599 < #define TOPICLEN ($topiclen)
14598 >
14599 >
14600 >
14601 >
14602 > for flag in -Wno-unused; do
14603 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14604 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14605 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14606 > if eval \${$as_CACHEVAR+:} false; then :
14607 >  $as_echo_n "(cached) " >&6
14608 > else
14609 >
14610 >  ax_check_save_flags=$CFLAGS
14611 >  CFLAGS="$CFLAGS  $flag"
14612 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 > /* end confdefs.h.  */
14614 >
14615 > int
14616 > main ()
14617 > {
14618 >
14619 >  ;
14620 >  return 0;
14621 > }
14622 > _ACEOF
14623 > if ac_fn_c_try_compile "$LINENO"; then :
14624 >  eval "$as_CACHEVAR=yes"
14625 > else
14626 >  eval "$as_CACHEVAR=no"
14627 > fi
14628 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14629 >  CFLAGS=$ax_check_save_flags
14630 > fi
14631 > eval ac_res=\$$as_CACHEVAR
14632 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14633 > $as_echo "$ac_res" >&6; }
14634 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14635 >  if ${CFLAGS+:} false; then :
14636 >  case " $CFLAGS " in
14637 >    *" $flag "*)
14638 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14639 >  (: CFLAGS already contains $flag) 2>&5
14640 >  ac_status=$?
14641 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14642 >  test $ac_status = 0; }
14643 >      ;;
14644 >    *)
14645 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14646 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14647 >  ac_status=$?
14648 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14649 >  test $ac_status = 0; }
14650 >      CFLAGS="$CFLAGS $flag"
14651 >      ;;
14652 >   esac
14653 > else
14654 >  CFLAGS="$flag"
14655 > fi
14656 >
14657 > else
14658 >  :
14659 > fi
14660 >
14661 > done
14662 >
14663 >
14664 >
14665 >
14666 >
14667 > for flag in -Wcast-qual; do
14668 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14669 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14670 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14671 > if eval \${$as_CACHEVAR+:} false; then :
14672 >  $as_echo_n "(cached) " >&6
14673 > else
14674 >
14675 >  ax_check_save_flags=$CFLAGS
14676 >  CFLAGS="$CFLAGS  $flag"
14677 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 > /* end confdefs.h.  */
14679 >
14680 > int
14681 > main ()
14682 > {
14683 >
14684 >  ;
14685 >  return 0;
14686 > }
14687 > _ACEOF
14688 > if ac_fn_c_try_compile "$LINENO"; then :
14689 >  eval "$as_CACHEVAR=yes"
14690 > else
14691 >  eval "$as_CACHEVAR=no"
14692 > fi
14693 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14694 >  CFLAGS=$ax_check_save_flags
14695 > fi
14696 > eval ac_res=\$$as_CACHEVAR
14697 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14698 > $as_echo "$ac_res" >&6; }
14699 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14700 >  if ${CFLAGS+:} false; then :
14701 >  case " $CFLAGS " in
14702 >    *" $flag "*)
14703 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14704 >  (: CFLAGS already contains $flag) 2>&5
14705 >  ac_status=$?
14706 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14707 >  test $ac_status = 0; }
14708 >      ;;
14709 >    *)
14710 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14711 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14712 >  ac_status=$?
14713 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14714 >  test $ac_status = 0; }
14715 >      CFLAGS="$CFLAGS $flag"
14716 >      ;;
14717 >   esac
14718 > else
14719 >  CFLAGS="$flag"
14720 > fi
14721 >
14722 > else
14723 >  :
14724 > fi
14725 >
14726 > done
14727 >
14728 >
14729 >
14730 >
14731 >
14732 > for flag in -Wcast-align; do
14733 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14734 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14735 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14736 > if eval \${$as_CACHEVAR+:} false; then :
14737 >  $as_echo_n "(cached) " >&6
14738 > else
14739 >
14740 >  ax_check_save_flags=$CFLAGS
14741 >  CFLAGS="$CFLAGS  $flag"
14742 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 > /* end confdefs.h.  */
14744 >
14745 > int
14746 > main ()
14747 > {
14748 >
14749 >  ;
14750 >  return 0;
14751 > }
14752   _ACEOF
14753 + if ac_fn_c_try_compile "$LINENO"; then :
14754 +  eval "$as_CACHEVAR=yes"
14755 + else
14756 +  eval "$as_CACHEVAR=no"
14757 + fi
14758 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14759 +  CFLAGS=$ax_check_save_flags
14760 + fi
14761 + eval ac_res=\$$as_CACHEVAR
14762 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14763 + $as_echo "$ac_res" >&6; }
14764 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14765 +  if ${CFLAGS+:} false; then :
14766 +  case " $CFLAGS " in
14767 +    *" $flag "*)
14768 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14769 +  (: CFLAGS already contains $flag) 2>&5
14770 +  ac_status=$?
14771 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14772 +  test $ac_status = 0; }
14773 +      ;;
14774 +    *)
14775 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14776 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14777 +  ac_status=$?
14778 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14779 +  test $ac_status = 0; }
14780 +      CFLAGS="$CFLAGS $flag"
14781 +      ;;
14782 +   esac
14783 + else
14784 +  CFLAGS="$flag"
14785 + fi
14786 +
14787 + else
14788 +  :
14789 + fi
14790 +
14791 + done
14792 +
14793  
14794  
14795  
14796 <  # Check whether --enable-efnet was given.
14797 < if test "${enable_efnet+set}" = set; then :
14798 <  enableval=$enable_efnet; efnet="$enableval"
14796 >
14797 > for flag in -Wbad-function-cast; do
14798 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14799 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14800 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14801 > if eval \${$as_CACHEVAR+:} false; then :
14802 >  $as_echo_n "(cached) " >&6
14803   else
14804 <  efnet="no"
14804 >
14805 >  ax_check_save_flags=$CFLAGS
14806 >  CFLAGS="$CFLAGS  $flag"
14807 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 > /* end confdefs.h.  */
14809 >
14810 > int
14811 > main ()
14812 > {
14813 >
14814 >  ;
14815 >  return 0;
14816 > }
14817 > _ACEOF
14818 > if ac_fn_c_try_compile "$LINENO"; then :
14819 >  eval "$as_CACHEVAR=yes"
14820 > else
14821 >  eval "$as_CACHEVAR=no"
14822 > fi
14823 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824 >  CFLAGS=$ax_check_save_flags
14825 > fi
14826 > eval ac_res=\$$as_CACHEVAR
14827 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14828 > $as_echo "$ac_res" >&6; }
14829 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14830 >  if ${CFLAGS+:} false; then :
14831 >  case " $CFLAGS " in
14832 >    *" $flag "*)
14833 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14834 >  (: CFLAGS already contains $flag) 2>&5
14835 >  ac_status=$?
14836 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14837 >  test $ac_status = 0; }
14838 >      ;;
14839 >    *)
14840 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14841 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14842 >  ac_status=$?
14843 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14844 >  test $ac_status = 0; }
14845 >      CFLAGS="$CFLAGS $flag"
14846 >      ;;
14847 >   esac
14848 > else
14849 >  CFLAGS="$flag"
14850   fi
14851  
14852 <  if test "$efnet" = "yes" ; then
14853 <                use_efnet="yes"
14852 > else
14853 >  :
14854 > fi
14855  
14856 < $as_echo "#define EFNET 1" >>confdefs.h
14856 > done
14857 >
14858 >
14859 >
14860 >
14861 >
14862 > for flag in -Wlogical-op; do
14863 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14864 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14865 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14866 > if eval \${$as_CACHEVAR+:} false; then :
14867 >  $as_echo_n "(cached) " >&6
14868 > else
14869 >
14870 >  ax_check_save_flags=$CFLAGS
14871 >  CFLAGS="$CFLAGS  $flag"
14872 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 > /* end confdefs.h.  */
14874 >
14875 > int
14876 > main ()
14877 > {
14878 >
14879 >  ;
14880 >  return 0;
14881 > }
14882 > _ACEOF
14883 > if ac_fn_c_try_compile "$LINENO"; then :
14884 >  eval "$as_CACHEVAR=yes"
14885 > else
14886 >  eval "$as_CACHEVAR=no"
14887 > fi
14888 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14889 >  CFLAGS=$ax_check_save_flags
14890 > fi
14891 > eval ac_res=\$$as_CACHEVAR
14892 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14893 > $as_echo "$ac_res" >&6; }
14894 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14895 >  if ${CFLAGS+:} false; then :
14896 >  case " $CFLAGS " in
14897 >    *" $flag "*)
14898 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14899 >  (: CFLAGS already contains $flag) 2>&5
14900 >  ac_status=$?
14901 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14902 >  test $ac_status = 0; }
14903 >      ;;
14904 >    *)
14905 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14906 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14907 >  ac_status=$?
14908 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14909 >  test $ac_status = 0; }
14910 >      CFLAGS="$CFLAGS $flag"
14911 >      ;;
14912 >   esac
14913 > else
14914 >  CFLAGS="$flag"
14915 > fi
14916  
14385        else
14386                use_efnet="no"
14387  fi
14388   if test "$use_efnet" = "yes"; then
14389  EFNET_TRUE=
14390  EFNET_FALSE='#'
14917   else
14918 <  EFNET_TRUE='#'
14393 <  EFNET_FALSE=
14918 >  :
14919   fi
14920  
14921 + done
14922 +
14923 +
14924 +
14925 +
14926 +
14927 + for flag in -Wmissing-declarations; do
14928 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14929 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14930 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14931 + if eval \${$as_CACHEVAR+:} false; then :
14932 +  $as_echo_n "(cached) " >&6
14933 + else
14934 +
14935 +  ax_check_save_flags=$CFLAGS
14936 +  CFLAGS="$CFLAGS  $flag"
14937 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 + /* end confdefs.h.  */
14939 +
14940 + int
14941 + main ()
14942 + {
14943  
14944 +  ;
14945 +  return 0;
14946 + }
14947 + _ACEOF
14948 + if ac_fn_c_try_compile "$LINENO"; then :
14949 +  eval "$as_CACHEVAR=yes"
14950 + else
14951 +  eval "$as_CACHEVAR=no"
14952 + fi
14953 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14954 +  CFLAGS=$ax_check_save_flags
14955 + fi
14956 + eval ac_res=\$$as_CACHEVAR
14957 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14958 + $as_echo "$ac_res" >&6; }
14959 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14960 +  if ${CFLAGS+:} false; then :
14961 +  case " $CFLAGS " in
14962 +    *" $flag "*)
14963 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14964 +  (: CFLAGS already contains $flag) 2>&5
14965 +  ac_status=$?
14966 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 +  test $ac_status = 0; }
14968 +      ;;
14969 +    *)
14970 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14971 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14972 +  ac_status=$?
14973 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14974 +  test $ac_status = 0; }
14975 +      CFLAGS="$CFLAGS $flag"
14976 +      ;;
14977 +   esac
14978 + else
14979 +  CFLAGS="$flag"
14980 + fi
14981  
14398  # Check whether --enable-halfops was given.
14399 if test "${enable_halfops+set}" = set; then :
14400  enableval=$enable_halfops; halfops="$enableval"
14982   else
14983 <  halfops="no"
14983 >  :
14984   fi
14985  
14986 <  if test "$halfops" = "yes" ; then
14986 > done
14987  
14407 $as_echo "#define HALFOPS 1" >>confdefs.h
14988  
14409  fi
14989  
14990  
14991 <  # Check whether --enable-debugging was given.
14992 < if test "${enable_debugging+set}" = set; then :
14993 <  enableval=$enable_debugging; debugging="$enableval"
14991 >
14992 > for flag in -Wmissing-include-dirs; do
14993 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14994 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14995 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14996 > if eval \${$as_CACHEVAR+:} false; then :
14997 >  $as_echo_n "(cached) " >&6
14998   else
14999 <  debugging="no"
14999 >
15000 >  ax_check_save_flags=$CFLAGS
15001 >  CFLAGS="$CFLAGS  $flag"
15002 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 > /* end confdefs.h.  */
15004 >
15005 > int
15006 > main ()
15007 > {
15008 >
15009 >  ;
15010 >  return 0;
15011 > }
15012 > _ACEOF
15013 > if ac_fn_c_try_compile "$LINENO"; then :
15014 >  eval "$as_CACHEVAR=yes"
15015 > else
15016 >  eval "$as_CACHEVAR=no"
15017 > fi
15018 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15019 >  CFLAGS=$ax_check_save_flags
15020 > fi
15021 > eval ac_res=\$$as_CACHEVAR
15022 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15023 > $as_echo "$ac_res" >&6; }
15024 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15025 >  if ${CFLAGS+:} false; then :
15026 >  case " $CFLAGS " in
15027 >    *" $flag "*)
15028 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15029 >  (: CFLAGS already contains $flag) 2>&5
15030 >  ac_status=$?
15031 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15032 >  test $ac_status = 0; }
15033 >      ;;
15034 >    *)
15035 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15036 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15037 >  ac_status=$?
15038 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15039 >  test $ac_status = 0; }
15040 >      CFLAGS="$CFLAGS $flag"
15041 >      ;;
15042 >   esac
15043 > else
15044 >  CFLAGS="$flag"
15045   fi
15046  
15047 <  if test "$debugging" = "yes" ; then
15047 > else
15048 >  :
15049 > fi
15050  
15051 < $as_echo "#define DEBUG 1" >>confdefs.h
15051 > done
15052  
14423    CFLAGS="-Wall -g -O0"
14424  else
15053  
14426 $as_echo "#define NDEBUG 1" >>confdefs.h
15054  
14428  fi
15055  
15056  
15057 <  # Check whether --enable-warnings was given.
15058 < if test "${enable_warnings+set}" = set; then :
15059 <  enableval=$enable_warnings; warnings="$enableval"
15057 > for flag in -Wmissing-prototypes; do
15058 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15059 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15060 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15061 > if eval \${$as_CACHEVAR+:} false; then :
15062 >  $as_echo_n "(cached) " >&6
15063   else
15064 <  warnings="no"
15064 >
15065 >  ax_check_save_flags=$CFLAGS
15066 >  CFLAGS="$CFLAGS  $flag"
15067 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 > /* end confdefs.h.  */
15069 >
15070 > int
15071 > main ()
15072 > {
15073 >
15074 >  ;
15075 >  return 0;
15076 > }
15077 > _ACEOF
15078 > if ac_fn_c_try_compile "$LINENO"; then :
15079 >  eval "$as_CACHEVAR=yes"
15080 > else
15081 >  eval "$as_CACHEVAR=no"
15082 > fi
15083 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15084 >  CFLAGS=$ax_check_save_flags
15085 > fi
15086 > eval ac_res=\$$as_CACHEVAR
15087 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15088 > $as_echo "$ac_res" >&6; }
15089 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15090 >  if ${CFLAGS+:} false; then :
15091 >  case " $CFLAGS " in
15092 >    *" $flag "*)
15093 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15094 >  (: CFLAGS already contains $flag) 2>&5
15095 >  ac_status=$?
15096 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15097 >  test $ac_status = 0; }
15098 >      ;;
15099 >    *)
15100 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15101 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15102 >  ac_status=$?
15103 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 >  test $ac_status = 0; }
15105 >      CFLAGS="$CFLAGS $flag"
15106 >      ;;
15107 >   esac
15108 > else
15109 >  CFLAGS="$flag"
15110   fi
15111  
15112 <  if test "$warnings" = "yes" ; then
15113 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15112 > else
15113 >  :
15114 > fi
15115 >
15116 > done
15117 >
15118 >
15119 >
15120 >
15121 >
15122 > for flag in -Wnested-externs; do
15123 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15124 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15125 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15126 > if eval \${$as_CACHEVAR+:} false; then :
15127 >  $as_echo_n "(cached) " >&6
15128 > else
15129 >
15130 >  ax_check_save_flags=$CFLAGS
15131 >  CFLAGS="$CFLAGS  $flag"
15132 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 > /* end confdefs.h.  */
15134 >
15135 > int
15136 > main ()
15137 > {
15138 >
15139 >  ;
15140 >  return 0;
15141 > }
15142 > _ACEOF
15143 > if ac_fn_c_try_compile "$LINENO"; then :
15144 >  eval "$as_CACHEVAR=yes"
15145 > else
15146 >  eval "$as_CACHEVAR=no"
15147 > fi
15148 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15149 >  CFLAGS=$ax_check_save_flags
15150 > fi
15151 > eval ac_res=\$$as_CACHEVAR
15152 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15153 > $as_echo "$ac_res" >&6; }
15154 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15155 >  if ${CFLAGS+:} false; then :
15156 >  case " $CFLAGS " in
15157 >    *" $flag "*)
15158 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15159 >  (: CFLAGS already contains $flag) 2>&5
15160 >  ac_status=$?
15161 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15162 >  test $ac_status = 0; }
15163 >      ;;
15164 >    *)
15165 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15166 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15167 >  ac_status=$?
15168 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15169 >  test $ac_status = 0; }
15170 >      CFLAGS="$CFLAGS $flag"
15171 >      ;;
15172 >   esac
15173 > else
15174 >  CFLAGS="$flag"
15175 > fi
15176 >
15177 > else
15178 >  :
15179 > fi
15180 >
15181 > done
15182 >
15183 >
15184 >
15185 >
15186 >
15187 > for flag in -Wpointer-arith; do
15188 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15189 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15190 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15191 > if eval \${$as_CACHEVAR+:} false; then :
15192 >  $as_echo_n "(cached) " >&6
15193 > else
15194 >
15195 >  ax_check_save_flags=$CFLAGS
15196 >  CFLAGS="$CFLAGS  $flag"
15197 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 > /* end confdefs.h.  */
15199 >
15200 > int
15201 > main ()
15202 > {
15203 >
15204 >  ;
15205 >  return 0;
15206 > }
15207 > _ACEOF
15208 > if ac_fn_c_try_compile "$LINENO"; then :
15209 >  eval "$as_CACHEVAR=yes"
15210 > else
15211 >  eval "$as_CACHEVAR=no"
15212 > fi
15213 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15214 >  CFLAGS=$ax_check_save_flags
15215 > fi
15216 > eval ac_res=\$$as_CACHEVAR
15217 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15218 > $as_echo "$ac_res" >&6; }
15219 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15220 >  if ${CFLAGS+:} false; then :
15221 >  case " $CFLAGS " in
15222 >    *" $flag "*)
15223 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15224 >  (: CFLAGS already contains $flag) 2>&5
15225 >  ac_status=$?
15226 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15227 >  test $ac_status = 0; }
15228 >      ;;
15229 >    *)
15230 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15231 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15232 >  ac_status=$?
15233 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15234 >  test $ac_status = 0; }
15235 >      CFLAGS="$CFLAGS $flag"
15236 >      ;;
15237 >   esac
15238 > else
15239 >  CFLAGS="$flag"
15240 > fi
15241 >
15242 > else
15243 >  :
15244 > fi
15245 >
15246 > done
15247 >
15248 >
15249 >
15250 >
15251 >
15252 > for flag in -Wredundant-decls; do
15253 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15254 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15255 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15256 > if eval \${$as_CACHEVAR+:} false; then :
15257 >  $as_echo_n "(cached) " >&6
15258 > else
15259 >
15260 >  ax_check_save_flags=$CFLAGS
15261 >  CFLAGS="$CFLAGS  $flag"
15262 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 > /* end confdefs.h.  */
15264 >
15265 > int
15266 > main ()
15267 > {
15268 >
15269 >  ;
15270 >  return 0;
15271 > }
15272 > _ACEOF
15273 > if ac_fn_c_try_compile "$LINENO"; then :
15274 >  eval "$as_CACHEVAR=yes"
15275 > else
15276 >  eval "$as_CACHEVAR=no"
15277 > fi
15278 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15279 >  CFLAGS=$ax_check_save_flags
15280 > fi
15281 > eval ac_res=\$$as_CACHEVAR
15282 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15283 > $as_echo "$ac_res" >&6; }
15284 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15285 >  if ${CFLAGS+:} false; then :
15286 >  case " $CFLAGS " in
15287 >    *" $flag "*)
15288 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15289 >  (: CFLAGS already contains $flag) 2>&5
15290 >  ac_status=$?
15291 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15292 >  test $ac_status = 0; }
15293 >      ;;
15294 >    *)
15295 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15296 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15297 >  ac_status=$?
15298 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15299 >  test $ac_status = 0; }
15300 >      CFLAGS="$CFLAGS $flag"
15301 >      ;;
15302 >   esac
15303 > else
15304 >  CFLAGS="$flag"
15305 > fi
15306 >
15307 > else
15308 >  :
15309 > fi
15310 >
15311 > done
15312 >
15313 >
15314 >
15315 >
15316 >
15317 > for flag in -Wshadow; do
15318 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15319 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15320 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15321 > if eval \${$as_CACHEVAR+:} false; then :
15322 >  $as_echo_n "(cached) " >&6
15323 > else
15324 >
15325 >  ax_check_save_flags=$CFLAGS
15326 >  CFLAGS="$CFLAGS  $flag"
15327 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 > /* end confdefs.h.  */
15329 >
15330 > int
15331 > main ()
15332 > {
15333 >
15334 >  ;
15335 >  return 0;
15336 > }
15337 > _ACEOF
15338 > if ac_fn_c_try_compile "$LINENO"; then :
15339 >  eval "$as_CACHEVAR=yes"
15340 > else
15341 >  eval "$as_CACHEVAR=no"
15342 > fi
15343 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344 >  CFLAGS=$ax_check_save_flags
15345 > fi
15346 > eval ac_res=\$$as_CACHEVAR
15347 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15348 > $as_echo "$ac_res" >&6; }
15349 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15350 >  if ${CFLAGS+:} false; then :
15351 >  case " $CFLAGS " in
15352 >    *" $flag "*)
15353 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15354 >  (: CFLAGS already contains $flag) 2>&5
15355 >  ac_status=$?
15356 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15357 >  test $ac_status = 0; }
15358 >      ;;
15359 >    *)
15360 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15361 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15362 >  ac_status=$?
15363 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15364 >  test $ac_status = 0; }
15365 >      CFLAGS="$CFLAGS $flag"
15366 >      ;;
15367 >   esac
15368 > else
15369 >  CFLAGS="$flag"
15370 > fi
15371 >
15372 > else
15373 >  :
15374 > fi
15375 >
15376 > done
15377 >
15378 >
15379 >
15380 >
15381 >
15382 > for flag in -Wwrite-strings; do
15383 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15384 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15385 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15386 > if eval \${$as_CACHEVAR+:} false; then :
15387 >  $as_echo_n "(cached) " >&6
15388 > else
15389 >
15390 >  ax_check_save_flags=$CFLAGS
15391 >  CFLAGS="$CFLAGS  $flag"
15392 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 > /* end confdefs.h.  */
15394 >
15395 > int
15396 > main ()
15397 > {
15398 >
15399 >  ;
15400 >  return 0;
15401 > }
15402 > _ACEOF
15403 > if ac_fn_c_try_compile "$LINENO"; then :
15404 >  eval "$as_CACHEVAR=yes"
15405 > else
15406 >  eval "$as_CACHEVAR=no"
15407 > fi
15408 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15409 >  CFLAGS=$ax_check_save_flags
15410 > fi
15411 > eval ac_res=\$$as_CACHEVAR
15412 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15413 > $as_echo "$ac_res" >&6; }
15414 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15415 >  if ${CFLAGS+:} false; then :
15416 >  case " $CFLAGS " in
15417 >    *" $flag "*)
15418 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15419 >  (: CFLAGS already contains $flag) 2>&5
15420 >  ac_status=$?
15421 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15422 >  test $ac_status = 0; }
15423 >      ;;
15424 >    *)
15425 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15426 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15427 >  ac_status=$?
15428 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15429 >  test $ac_status = 0; }
15430 >      CFLAGS="$CFLAGS $flag"
15431 >      ;;
15432 >   esac
15433 > else
15434 >  CFLAGS="$flag"
15435 > fi
15436 >
15437 > else
15438 >  :
15439 > fi
15440 >
15441 > done
15442 >
15443 >
15444 >
15445 >
15446 >
15447 > for flag in -Wundef; do
15448 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15449 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15450 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15451 > if eval \${$as_CACHEVAR+:} false; then :
15452 >  $as_echo_n "(cached) " >&6
15453 > else
15454 >
15455 >  ax_check_save_flags=$CFLAGS
15456 >  CFLAGS="$CFLAGS  $flag"
15457 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 > /* end confdefs.h.  */
15459 >
15460 > int
15461 > main ()
15462 > {
15463 >
15464 >  ;
15465 >  return 0;
15466 > }
15467 > _ACEOF
15468 > if ac_fn_c_try_compile "$LINENO"; then :
15469 >  eval "$as_CACHEVAR=yes"
15470 > else
15471 >  eval "$as_CACHEVAR=no"
15472 > fi
15473 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15474 >  CFLAGS=$ax_check_save_flags
15475 > fi
15476 > eval ac_res=\$$as_CACHEVAR
15477 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15478 > $as_echo "$ac_res" >&6; }
15479 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15480 >  if ${CFLAGS+:} false; then :
15481 >  case " $CFLAGS " in
15482 >    *" $flag "*)
15483 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15484 >  (: CFLAGS already contains $flag) 2>&5
15485 >  ac_status=$?
15486 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15487 >  test $ac_status = 0; }
15488 >      ;;
15489 >    *)
15490 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15491 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15492 >  ac_status=$?
15493 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15494 >  test $ac_status = 0; }
15495 >      CFLAGS="$CFLAGS $flag"
15496 >      ;;
15497 >   esac
15498 > else
15499 >  CFLAGS="$flag"
15500 > fi
15501 >
15502 > else
15503 >  :
15504 > fi
15505 >
15506 > done
15507 >
15508    fi
15509  
15510  
# Line 14526 | Line 15594 | _ACEOF
15594    test "$exec_prefix_NONE" && exec_prefix=NONE
15595  
15596  
15597 < 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"
15597 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15598  
15599  
15600   cat >confcache <<\_ACEOF
# Line 14638 | Line 15706 | LIBOBJS=$ac_libobjs
15706   LTLIBOBJS=$ac_ltlibobjs
15707  
15708  
15709 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15710 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15711 +   if test -n "$am_sleep_pid"; then
15712 +     # Hide warnings about reused PIDs.
15713 +     wait $am_sleep_pid 2>/dev/null
15714 +   fi
15715 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15716 + $as_echo "done" >&6; }
15717   if test -n "$EXEEXT"; then
15718    am__EXEEXT_TRUE=
15719    am__EXEEXT_FALSE='#'
# Line 14688 | Line 15764 | if test -z "${ENABLE_SSL_TRUE}" && test
15764    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15765   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15766   fi
14691 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14692  as_fn_error $? "conditional \"EFNET\" was never defined.
14693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14694 fi
15767  
15768   : "${CONFIG_STATUS=./config.status}"
15769   ac_write_fail=0
# Line 14990 | Line 16062 | if (echo >conf$$.file) 2>/dev/null; then
16062      # ... but there are two gotchas:
16063      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16064      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16065 <    # In both cases, we have to default to `cp -p'.
16065 >    # In both cases, we have to default to `cp -pR'.
16066      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16067 <      as_ln_s='cp -p'
16067 >      as_ln_s='cp -pR'
16068    elif ln conf$$.file conf$$ 2>/dev/null; then
16069      as_ln_s=ln
16070    else
16071 <    as_ln_s='cp -p'
16071 >    as_ln_s='cp -pR'
16072    fi
16073   else
16074 <  as_ln_s='cp -p'
16074 >  as_ln_s='cp -pR'
16075   fi
16076   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16077   rmdir conf$$.dir 2>/dev/null
# Line 15059 | Line 16131 | else
16131    as_mkdir_p=false
16132   fi
16133  
16134 < if test -x / >/dev/null 2>&1; then
16135 <  as_test_x='test -x'
16136 < else
16137 <  if ls -dL / >/dev/null 2>&1; then
16138 <    as_ls_L_option=L
16139 <  else
16140 <    as_ls_L_option=
16141 <  fi
16142 <  as_test_x='
16143 <    eval sh -c '\''
15072 <      if test -d "$1"; then
15073 <        test -d "$1/.";
15074 <      else
15075 <        case $1 in #(
15076 <        -*)set "./$1";;
15077 <        esac;
15078 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15079 <        ???[sx]*):;;*)false;;esac;fi
15080 <    '\'' sh
15081 <  '
15082 < fi
15083 < as_executable_p=$as_test_x
16134 >
16135 > # as_fn_executable_p FILE
16136 > # -----------------------
16137 > # Test if FILE is an executable regular file.
16138 > as_fn_executable_p ()
16139 > {
16140 >  test -f "$1" && test -x "$1"
16141 > } # as_fn_executable_p
16142 > as_test_x='test -x'
16143 > as_executable_p=as_fn_executable_p
16144  
16145   # Sed expression to map a string onto a valid CPP name.
16146   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 15101 | Line 16161 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16161   # report actual input values of CONFIG_FILES etc. instead of their
16162   # values after options handling.
16163   ac_log="
16164 < This file was extended by ircd-hybrid $as_me 8beta1, which was
16165 < generated by GNU Autoconf 2.68.  Invocation command line was
16164 > This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was
16165 > generated by GNU Autoconf 2.69.  Invocation command line was
16166  
16167    CONFIG_FILES    = $CONFIG_FILES
16168    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 15167 | Line 16227 | _ACEOF
16227   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16228   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16229   ac_cs_version="\\
16230 < ircd-hybrid config.status 8beta1
16231 < configured by $0, generated by GNU Autoconf 2.68,
16230 > ircd-hybrid config.status 8.2.0rc1
16231 > configured by $0, generated by GNU Autoconf 2.69,
16232    with options \\"\$ac_cs_config\\"
16233  
16234 < Copyright (C) 2010 Free Software Foundation, Inc.
16234 > Copyright (C) 2012 Free Software Foundation, Inc.
16235   This config.status script is free software; the Free Software Foundation
16236   gives unlimited permission to copy, distribute and modify it."
16237  
# Line 15262 | Line 16322 | fi
16322   _ACEOF
16323   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16324   if \$ac_cs_recheck; then
16325 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16325 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16326    shift
16327    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16328    CONFIG_SHELL='$SHELL'
# Line 15577 | Line 16637 | do
16637      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16638      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16639      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15580    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15581    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16640      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16641      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15584    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16642      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16643      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16644      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16645      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15589    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15590    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16646      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16647  
16648    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16185 | Line 17240 | $as_echo "$as_me: executing $ac_file com
17240  
17241    case $ac_file$ac_mode in
17242      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17243 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17243 >  # Older Autoconf quotes --file arguments for eval, but not when files
17244    # are listed without --file.  Let's play safe and only enable the eval
17245    # if we detect the quoting.
17246    case $CONFIG_FILES in
# Line 16198 | Line 17253 | $as_echo "$as_me: executing $ac_file com
17253      # Strip MF so we end up with the name of the file.
17254      mf=`echo "$mf" | sed -e 's/:.*$//'`
17255      # Check whether this is an Automake generated Makefile or not.
17256 <    # We used to match only the files named `Makefile.in', but
17256 >    # We used to match only the files named 'Makefile.in', but
17257      # some people rename them; so instead we look at the file content.
17258      # Grep'ing the first line is not enough: some people post-process
17259      # each Makefile.in and add a new line on top of each file to say so.
# Line 16232 | Line 17287 | $as_echo X"$mf" |
17287        continue
17288      fi
17289      # Extract the definition of DEPDIR, am__include, and am__quote
17290 <    # from the Makefile without running `make'.
17290 >    # from the Makefile without running 'make'.
17291      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17292      test -z "$DEPDIR" && continue
17293      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17294 <    test -z "am__include" && continue
17294 >    test -z "$am__include" && continue
17295      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16241    # When using ansi2knr, U may be empty or an underscore; expand it
16242    U=`sed -n 's/^U = //p' < "$mf"`
17296      # Find all dependency output files, they are included files with
17297      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17298      # simplest approach to changing $(DEPDIR) to its actual value in the
17299      # expansion.
17300      for file in `sed -n "
17301        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17302 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17302 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17303        # Make sure the directory exists.
17304        test -f "$dirpart/$file" && continue
17305        fdir=`$as_dirname -- "$file" ||

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1358 by michael, Sun Apr 22 13:49:23 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4353 by michael, Sat Aug 2 17:54:27 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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