ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/configure
(Generate patch)

Comparing:
ircd-hybrid-8/configure (file contents), Revision 1302 by michael, Wed Mar 21 17:48:54 2012 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 4335 by michael, Sat Aug 2 16:05:40 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1292 2012-02-12 20:36:27Z michael .
2 > # From configure.ac Id: configure.ac 3724 2014-05-31 16:27:09Z 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 TRUNK.
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='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
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
635 ENABLE_PCRE_FALSE
636 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 707 | 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 771 | 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 784 | Line 805 | with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_libpcre_path
788 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
791 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
795 enable_rtsigio
814   enable_poll
797 enable_select
798 with_nicklen
799 with_topiclen
800 enable_efnet
801 enable_halfops
815   enable_debugging
816   enable_warnings
817   '
# Line 1268 | 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
1271    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1272    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 1355 | 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 TRUNK to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1425 | 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 TRUNK:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1433 | 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
1450  --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.
1454  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1456  --enable-select         Force select usage.
1457  --enable-efnet          For IRCDs running on EFnet.
1458  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1470 | 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
1473  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1474  --with-nicklen=<value>  Set nickname length (default 9).
1475  --with-topiclen=<value> Set topic length (default 160).
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1556 | 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 TRUNK
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 1635 | 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 2082 | 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 TRUNK, which was
2094 > generated by GNU Autoconf 2.69.  Invocation command line was
2095  
2096    $ $0 $@
2097  
# Line 2362 | Line 2370 | $as_echo "$as_me: creating cache $cache_
2370    >$cache_file
2371   fi
2372  
2365 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"
2376   as_fn_append ac_func_list " strlcpy"
2370 as_fn_append ac_func_list " socketpair"
2377   as_fn_append ac_header_list " crypt.h"
2372 as_fn_append ac_header_list " inttypes.h"
2373 as_fn_append ac_header_list " stdint.h"
2378   as_fn_append ac_header_list " sys/resource.h"
2379   as_fn_append ac_header_list " sys/param.h"
2376 as_fn_append ac_header_list " errno.h"
2377 as_fn_append ac_header_list " sys/syslog.h"
2380   as_fn_append ac_header_list " types.h"
2381   as_fn_append ac_header_list " socket.h"
2382   as_fn_append ac_header_list " sys/wait.h"
2383   as_fn_append ac_header_list " wait.h"
2382 as_fn_append ac_header_list " link.h"
2384   # Check that the precious variables saved in the cache have kept the same
2385   # value.
2386   ac_cache_corrupted=false
# Line 2448 | 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 2516 | 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 2574 | 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; }
2577 # Just in case
2578 sleep 1
2579 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 2587 | 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
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
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 2624 | 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 2646 | 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 2663 | 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 2685 | 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 2725 | 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 2776 | 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 2805 | Line 2821 | fi
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2822   $as_echo "$MKDIR_P" >&6; }
2823  
2808 mkdir_p="$MKDIR_P"
2809 case $mkdir_p in
2810  [\\/$]* | ?:[\\/]*) ;;
2811  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2812 esac
2813
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 2829 | 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 2893 | 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 2915 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='8beta1'
2967 > VERSION='TRUNK'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 2943 | 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 2956 | 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 2978 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 3002 | 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 3068 | 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 3108 | 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 3161 | 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 3202 | 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 3260 | 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 3304 | 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 3750 | 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>
3754 < #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 3836 | 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 3847 | 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 3883 | 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 3901 | 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 3910 | 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 4110 | 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 4142 | Line 4302 | fi
4302  
4303  
4304   if test "$ac_cv_prog_cc_c99" = "no"; then :
4305 <  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4305 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4306   fi
4307   for ac_prog in 'bison -y' byacc
4308   do
# Line 4162 | 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 4206 | 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 4238 | 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 4546 | 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 4622 | 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 4688 | 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 4755 | 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 5011 | 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 5055 | 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 5479 | 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 5519 | 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 5825 | 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 5865 | 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 5968 | 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 6012 | 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 6137 | 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 6177 | 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 6236 | 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 6276 | 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 6925 | 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 6965 | 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 7045 | 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 7085 | 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 7137 | 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 7177 | 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 7229 | 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 7269 | 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 7321 | 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 7361 | 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 7413 | 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 7453 | 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 8395 | 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 13008 | 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 13023 | 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 13040 | 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  
13065 else
13066  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 13081 | 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 13098 | 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 13137 | 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 13154 | 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  
13181  for ac_func in inet_aton inet_ntop inet_pton
13182 do :
13183  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13185 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13186  cat >>confdefs.h <<_ACEOF
13187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13188 _ACEOF
13189
13190 fi
13191 done
13192
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 13506 | Line 13778 | done
13778  
13779  
13780  
13509
13510
13511
13512
13781   # Checks for header files.
13782  
13783  
# Line 13544 | Line 13812 | done
13812  
13813  
13814  
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557 # check for /dev/null so we can use it to hold evil fd's
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13559 $as_echo_n "checking for /dev/null... " >&6; }
13560 if test -c /dev/null; then :
13561
13562
13563 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13564
13565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13566 $as_echo "yes" >&6; }
13567 else
13568
13569
13570 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13571
13572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13573 $as_echo "no - using devnull.log" >&6; }
13574 fi
13575
13576
13815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13816   $as_echo_n "checking for library containing crypt... " >&6; }
13817   if ${ac_cv_search_crypt+:} false; then :
# Line 13631 | Line 13869 | if test "$ac_res" != no; then :
13869   fi
13870  
13871  
13872 <
13873 <
13874 < # Check whether --with-libpcre-path was given.
13875 < if test "${with_libpcre_path+set}" = set; then :
13876 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13877 < fi
13878 <
13879 <
13880 < # Check whether --enable-libpcre was given.
13643 < if test "${enable_libpcre+set}" = set; then :
13644 <  enableval=$enable_libpcre; libpcre=$enableval
13645 < else
13646 <  libpcre=yes
13647 < fi
13648 <
13649 <
13650 < if test "$libpcre" = "yes"; then :
13651 <
13652 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13653 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13654 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13655 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13656 < if ${ac_cv_lib_pcre_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_check_lib_save_LIBS=$LIBS
13660 < LIBS="-lpcre  $LIBS"
13883 >  ac_func_search_save_LIBS=$LIBS
13884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885   /* end confdefs.h.  */
13886  
# Line 13667 | 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 < if ac_fn_c_try_link "$LINENO"; then :
13903 <  ac_cv_lib_pcre_pcre_study=yes
13904 < else
13905 <  ac_cv_lib_pcre_pcre_study=no
13902 > for ac_lib in '' GeoIP; do
13903 >  if test -z "$ac_lib"; then
13904 >    ac_res="none required"
13905 >  else
13906 >    ac_res=-l$ac_lib
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_GeoIP_id_by_ipnum_v6_gl=$ac_res
13911   fi
13912   rm -f core conftest.err conftest.$ac_objext \
13913 <    conftest$ac_exeext conftest.$ac_ext
13914 < LIBS=$ac_check_lib_save_LIBS
13913 >    conftest$ac_exeext
13914 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13915 >  break
13916   fi
13917 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13918 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13690 < if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13691 <
13692 <      LIBS="-lpcre $LIBS"
13693 <
13694 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13695 <
13917 > done
13918 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13919  
13920   else
13921 <  libpcre=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_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_LIBGEOIP 1" >>confdefs.h
13933  
13702 else
13703  libpcre=no
13934   fi
13935  
13936 + fi
13937  
13938  
13939   fi
13709 if test "$libpcre" = yes; then
13710  ENABLE_PCRE_TRUE=
13711  ENABLE_PCRE_FALSE='#'
13712 else
13713  ENABLE_PCRE_TRUE='#'
13714  ENABLE_PCRE_FALSE=
13715 fi
13940  
13941  
13942  
# Line 13755 | Line 13979 | if test "$cf_enable_openssl" != "no"; th
13979    fi
13980  
13981        if test ! -z "$cf_openssl_basedir"; then
13758    LIBS="-lcrypto -lssl $LIBS"
13982      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13983   $as_echo "$cf_openssl_basedir" >&6; }
13984      cf_enable_openssl="yes"
13762
13763 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13764
13985    else
13986      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13987   $as_echo "not found. Please check your path." >&6; }
# Line 13774 | 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.7 or above" >&5
13998 < $as_echo_n "checking for OpenSSL 0.9.7 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 13788 | Line 14008 | else
14008   int
14009   main ()
14010   {
14011 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14011 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14012    ;
14013    return 0;
14014   }
# Line 13853 | Line 14073 | _ACEOF
14073   fi
14074  
14075      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14076 <  for ac_func in EVP_bf_cfb           \
14077 <                      EVP_cast5_cfb        \
14078 <                      EVP_idea_cfb         \
14079 <                      EVP_rc5_32_12_16_cfb \
14080 <                      EVP_des_ede3_cfb     \
14081 <                      EVP_des_cfb
14082 < do :
14083 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14084 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14085 < if eval test \"x\$"$as_ac_var"\" = x"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="-lssl  $LIBS"
14083 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 > /* end confdefs.h.  */
14085 >
14086 > /* Override any GCC internal prototype to avoid an error.
14087 >   Use char because int might match the return type of a GCC
14088 >   builtin and then its argument prototype would still apply.  */
14089 > #ifdef __cplusplus
14090 > extern "C"
14091 > #endif
14092 > char SSL_connect ();
14093 > int
14094 > main ()
14095 > {
14096 > return SSL_connect ();
14097 >  ;
14098 >  return 0;
14099 > }
14100 > _ACEOF
14101 > if ac_fn_c_try_link "$LINENO"; then :
14102 >  ac_cv_lib_ssl_SSL_connect=yes
14103 > else
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_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 `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14114 > #define HAVE_LIBSSL 1
14115   _ACEOF
14116  
14117 +  LIBS="-lssl $LIBS"
14118 +
14119   fi
13871 done
14120  
14121   fi
14122  
# Line 13879 | Line 14127 | $as_echo "no - OpenSSL support disabled"
14127   fi
14128   fi
14129  
14130 < if test "$cf_enable_openssl" = yes; then
14130 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14131    ENABLE_SSL_TRUE=
14132    ENABLE_SSL_FALSE='#'
14133   else
# Line 13904 | Line 14152 | $as_echo "#define NDEBUG 1" >>confdefs.h
14152   fi
14153  
14154  
14155 < # Check whether --enable-small-net was given.
13908 < if test "${enable_small_net+set}" = set; then :
13909 <  enableval=$enable_small_net; small_net=$enableval
13910 < else
13911 <  small_net=no
13912 < fi
13913 <
13914 <
13915 < if test "$small_net" = "yes"; then :
13916 <
13917 <
13918 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13919 <
13920 <
13921 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13922 <
13923 <
13924 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13925 <
14155 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14156  
13927 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14157  
14158 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14159  
13930 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14160  
14161 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14162  
13933 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14163  
14164 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14165  
13936 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14166  
14167 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14168  
13939 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14169  
14170 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14171  
13942 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14172  
14173 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14174  
13945 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13946
13947 else
13948
13949
13950
13951 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13952
13953
13954 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13955
13956
13957 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14175  
14176 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14177  
13960 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14178  
14179 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14180  
13963 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14181  
14182 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14183  
13966 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14184  
14185 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14186  
13969 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14187  
14188 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14189  
13972 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14190  
14191 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14192  
13975 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14193  
14194 <
13978 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13979 <
13980 < fi
14194 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14195  
14196  
14197   # Argument processing.
# Line 13998 | Line 14212 | if test "${enable_devpoll+set}" = set; t
14212    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14213   fi
14214  
14001  # Check whether --enable-rtsigio was given.
14002 if test "${enable_rtsigio+set}" = set; then :
14003  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14004 fi
14005
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  
14011  # Check whether --enable-select was given.
14012 if test "${enable_select+set}" = set; then :
14013  enableval=$enable_select; desired_iopoll_mechanism="select"
14014 fi
14015
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 14186 | Line 14390 | rm -f core conftest.err conftest.$ac_obj
14390   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14391  
14392    fi
14393 <      iopoll_mechanism_rtsigio=4
14190 <
14191 < cat >>confdefs.h <<_ACEOF
14192 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14193 < _ACEOF
14194 <
14195 <  if test "$cross_compiling" = yes; then :
14196 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14197 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14198 < as_fn_error $? "cannot run test program while cross compiling
14199 < See \`config.log' for more details" "$LINENO" 5; }
14200 < else
14201 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 < /* end confdefs.h.  */
14203 <
14204 < #define _GNU_SOURCE
14205 < #include <fcntl.h>
14206 < static unsigned int have_f_setsig = 0;
14207 <
14208 < int
14209 < main ()
14210 < {
14211 <
14212 < #ifdef F_SETSIG
14213 <  have_f_setsig = 1;
14214 < #endif
14215 <  return have_f_setsig == 0;
14216 <
14217 <  ;
14218 <  return 0;
14219 < }
14220 < _ACEOF
14221 < if ac_fn_c_try_run "$LINENO"; then :
14222 <  is_rtsigio_mechanism_available="yes"
14223 < else
14224 <  is_rtsigio_mechanism_available="no"
14225 < fi
14226 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14227 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14228 < fi
14229 <
14230 <      iopoll_mechanism_poll=5
14393 >      iopoll_mechanism_poll=4
14394  
14395   cat >>confdefs.h <<_ACEOF
14396   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14281 | Line 14444 | else
14444   fi
14445   rm -f core conftest.err conftest.$ac_objext \
14446      conftest$ac_exeext conftest.$ac_ext
14284      iopoll_mechanism_select=6
14285
14286 cat >>confdefs.h <<_ACEOF
14287 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14288 _ACEOF
14289
14290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h.  */
14292 /* Define select to an innocuous variant, in case <limits.h> declares select.
14293   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14294 #define select innocuous_select
14295
14296 /* System header to define __stub macros and hopefully few prototypes,
14297    which can conflict with char select (); below.
14298    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14299    <limits.h> exists even on freestanding compilers.  */
14300
14301 #ifdef __STDC__
14302 # include <limits.h>
14303 #else
14304 # include <assert.h>
14305 #endif
14306
14307 #undef select
14308
14309 /* Override any GCC internal prototype to avoid an error.
14310   Use char because int might match the return type of a GCC
14311   builtin and then its argument prototype would still apply.  */
14312 #ifdef __cplusplus
14313 extern "C"
14314 #endif
14315 char select ();
14316 /* The GNU C library defines this for functions which it implements
14317    to always fail with ENOSYS.  Some functions are actually named
14318    something starting with __ and the normal name is an alias.  */
14319 #if defined __stub_select || defined __stub___select
14320 choke me
14321 #endif
14322
14323 int
14324 main ()
14325 {
14326 return select ();
14327  ;
14328  return 0;
14329 }
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"; then :
14332  is_select_mechanism_available="yes"
14333 else
14334  is_select_mechanism_available="no"
14335 fi
14336 rm -f core conftest.err conftest.$ac_objext \
14337    conftest$ac_exeext conftest.$ac_ext
14447        optimal_iopoll_mechanism="none"
14448 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14448 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14449      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14450      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14451        optimal_iopoll_mechanism="$mechanism"
# Line 14373 | Line 14482 | _ACEOF
14482  
14483  
14484  
14485 +  # Check whether --enable-debugging was given.
14486 + if test "${enable_debugging+set}" = set; then :
14487 +  enableval=$enable_debugging; debugging="$enableval"
14488 + else
14489 +  debugging="no"
14490 + fi
14491 +
14492 +  if test "$debugging" = "yes" ; then
14493 +    CFLAGS="-Wall -g -O0"
14494 +  fi
14495 +
14496 +
14497 +  # Check whether --enable-warnings was given.
14498 + if test "${enable_warnings+set}" = set; then :
14499 +  enableval=$enable_warnings; warnings="$enableval"
14500 + else
14501 +  warnings="no"
14502 + fi
14503 +
14504 +  if test "$warnings" = "yes" ; then
14505 +
14506 +
14507 +
14508 +
14509 + for flag in -Wall; do
14510 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14511 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14512 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14513 + if eval \${$as_CACHEVAR+:} false; then :
14514 +  $as_echo_n "(cached) " >&6
14515 + else
14516 +
14517 +  ax_check_save_flags=$CFLAGS
14518 +  CFLAGS="$CFLAGS  $flag"
14519 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 + /* end confdefs.h.  */
14521 +
14522 + int
14523 + main ()
14524 + {
14525 +
14526 +  ;
14527 +  return 0;
14528 + }
14529 + _ACEOF
14530 + if ac_fn_c_try_compile "$LINENO"; then :
14531 +  eval "$as_CACHEVAR=yes"
14532 + else
14533 +  eval "$as_CACHEVAR=no"
14534 + fi
14535 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14536 +  CFLAGS=$ax_check_save_flags
14537 + fi
14538 + eval ac_res=\$$as_CACHEVAR
14539 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14540 + $as_echo "$ac_res" >&6; }
14541 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14542 +  if ${CFLAGS+:} false; then :
14543 +  case " $CFLAGS " in
14544 +    *" $flag "*)
14545 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14546 +  (: CFLAGS already contains $flag) 2>&5
14547 +  ac_status=$?
14548 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14549 +  test $ac_status = 0; }
14550 +      ;;
14551 +    *)
14552 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14553 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14554 +  ac_status=$?
14555 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14556 +  test $ac_status = 0; }
14557 +      CFLAGS="$CFLAGS $flag"
14558 +      ;;
14559 +   esac
14560 + else
14561 +  CFLAGS="$flag"
14562 + fi
14563  
14377 # Check whether --with-nicklen was given.
14378 if test "${with_nicklen+set}" = set; then :
14379  withval=$with_nicklen; nicklen="$withval"
14564   else
14565 <  nicklen="9"
14565 >  :
14566   fi
14567  
14568 + done
14569  
14570 < cat >>confdefs.h <<_ACEOF
14571 < #define NICKLEN ($nicklen+1)
14570 >
14571 >
14572 >
14573 >
14574 > for flag in -Wextra; do
14575 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14576 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14577 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14578 > if eval \${$as_CACHEVAR+:} false; then :
14579 >  $as_echo_n "(cached) " >&6
14580 > else
14581 >
14582 >  ax_check_save_flags=$CFLAGS
14583 >  CFLAGS="$CFLAGS  $flag"
14584 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 > /* end confdefs.h.  */
14586 >
14587 > int
14588 > main ()
14589 > {
14590 >
14591 >  ;
14592 >  return 0;
14593 > }
14594   _ACEOF
14595 + if ac_fn_c_try_compile "$LINENO"; then :
14596 +  eval "$as_CACHEVAR=yes"
14597 + else
14598 +  eval "$as_CACHEVAR=no"
14599 + fi
14600 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14601 +  CFLAGS=$ax_check_save_flags
14602 + fi
14603 + eval ac_res=\$$as_CACHEVAR
14604 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14605 + $as_echo "$ac_res" >&6; }
14606 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14607 +  if ${CFLAGS+:} false; then :
14608 +  case " $CFLAGS " in
14609 +    *" $flag "*)
14610 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14611 +  (: CFLAGS already contains $flag) 2>&5
14612 +  ac_status=$?
14613 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14614 +  test $ac_status = 0; }
14615 +      ;;
14616 +    *)
14617 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14618 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14619 +  ac_status=$?
14620 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621 +  test $ac_status = 0; }
14622 +      CFLAGS="$CFLAGS $flag"
14623 +      ;;
14624 +   esac
14625 + else
14626 +  CFLAGS="$flag"
14627 + fi
14628 +
14629 + else
14630 +  :
14631 + fi
14632 +
14633 + done
14634  
14635  
14636  
14637  
14638 < # Check whether --with-topiclen was given.
14639 < if test "${with_topiclen+set}" = set; then :
14640 <  withval=$with_topiclen; topiclen="$withval"
14638 >
14639 > for flag in -Wno-unused; do
14640 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14641 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14642 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14643 > if eval \${$as_CACHEVAR+:} false; then :
14644 >  $as_echo_n "(cached) " >&6
14645   else
14646 <  topiclen="160"
14646 >
14647 >  ax_check_save_flags=$CFLAGS
14648 >  CFLAGS="$CFLAGS  $flag"
14649 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 > /* end confdefs.h.  */
14651 >
14652 > int
14653 > main ()
14654 > {
14655 >
14656 >  ;
14657 >  return 0;
14658 > }
14659 > _ACEOF
14660 > if ac_fn_c_try_compile "$LINENO"; then :
14661 >  eval "$as_CACHEVAR=yes"
14662 > else
14663 >  eval "$as_CACHEVAR=no"
14664 > fi
14665 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 >  CFLAGS=$ax_check_save_flags
14667 > fi
14668 > eval ac_res=\$$as_CACHEVAR
14669 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14670 > $as_echo "$ac_res" >&6; }
14671 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14672 >  if ${CFLAGS+:} false; then :
14673 >  case " $CFLAGS " in
14674 >    *" $flag "*)
14675 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14676 >  (: CFLAGS already contains $flag) 2>&5
14677 >  ac_status=$?
14678 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14679 >  test $ac_status = 0; }
14680 >      ;;
14681 >    *)
14682 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14683 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14684 >  ac_status=$?
14685 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14686 >  test $ac_status = 0; }
14687 >      CFLAGS="$CFLAGS $flag"
14688 >      ;;
14689 >   esac
14690 > else
14691 >  CFLAGS="$flag"
14692 > fi
14693 >
14694 > else
14695 >  :
14696   fi
14697  
14698 + done
14699  
14700 < cat >>confdefs.h <<_ACEOF
14701 < #define TOPICLEN ($topiclen)
14700 >
14701 >
14702 >
14703 >
14704 > for flag in -Wcast-qual; do
14705 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14706 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14707 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14708 > if eval \${$as_CACHEVAR+:} false; then :
14709 >  $as_echo_n "(cached) " >&6
14710 > else
14711 >
14712 >  ax_check_save_flags=$CFLAGS
14713 >  CFLAGS="$CFLAGS  $flag"
14714 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 > /* end confdefs.h.  */
14716 >
14717 > int
14718 > main ()
14719 > {
14720 >
14721 >  ;
14722 >  return 0;
14723 > }
14724   _ACEOF
14725 + if ac_fn_c_try_compile "$LINENO"; then :
14726 +  eval "$as_CACHEVAR=yes"
14727 + else
14728 +  eval "$as_CACHEVAR=no"
14729 + fi
14730 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14731 +  CFLAGS=$ax_check_save_flags
14732 + fi
14733 + eval ac_res=\$$as_CACHEVAR
14734 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14735 + $as_echo "$ac_res" >&6; }
14736 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14737 +  if ${CFLAGS+:} false; then :
14738 +  case " $CFLAGS " in
14739 +    *" $flag "*)
14740 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14741 +  (: CFLAGS already contains $flag) 2>&5
14742 +  ac_status=$?
14743 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14744 +  test $ac_status = 0; }
14745 +      ;;
14746 +    *)
14747 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14748 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14749 +  ac_status=$?
14750 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14751 +  test $ac_status = 0; }
14752 +      CFLAGS="$CFLAGS $flag"
14753 +      ;;
14754 +   esac
14755 + else
14756 +  CFLAGS="$flag"
14757 + fi
14758 +
14759 + else
14760 +  :
14761 + fi
14762 +
14763 + done
14764 +
14765 +
14766 +
14767 +
14768 +
14769 + for flag in -Wcast-align; do
14770 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14771 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14772 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14773 + if eval \${$as_CACHEVAR+:} false; then :
14774 +  $as_echo_n "(cached) " >&6
14775 + else
14776  
14777 +  ax_check_save_flags=$CFLAGS
14778 +  CFLAGS="$CFLAGS  $flag"
14779 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 + /* end confdefs.h.  */
14781  
14782 + int
14783 + main ()
14784 + {
14785  
14786 <  # Check whether --enable-efnet was given.
14787 < if test "${enable_efnet+set}" = set; then :
14788 <  enableval=$enable_efnet; efnet="$enableval"
14786 >  ;
14787 >  return 0;
14788 > }
14789 > _ACEOF
14790 > if ac_fn_c_try_compile "$LINENO"; then :
14791 >  eval "$as_CACHEVAR=yes"
14792   else
14793 <  efnet="no"
14793 >  eval "$as_CACHEVAR=no"
14794 > fi
14795 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 >  CFLAGS=$ax_check_save_flags
14797 > fi
14798 > eval ac_res=\$$as_CACHEVAR
14799 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14800 > $as_echo "$ac_res" >&6; }
14801 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14802 >  if ${CFLAGS+:} false; then :
14803 >  case " $CFLAGS " in
14804 >    *" $flag "*)
14805 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14806 >  (: CFLAGS already contains $flag) 2>&5
14807 >  ac_status=$?
14808 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14809 >  test $ac_status = 0; }
14810 >      ;;
14811 >    *)
14812 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14813 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14814 >  ac_status=$?
14815 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14816 >  test $ac_status = 0; }
14817 >      CFLAGS="$CFLAGS $flag"
14818 >      ;;
14819 >   esac
14820 > else
14821 >  CFLAGS="$flag"
14822   fi
14823  
14824 <  if test "$efnet" = "yes" ; then
14825 <                use_efnet="yes"
14824 > else
14825 >  :
14826 > fi
14827 >
14828 > done
14829  
14416 $as_echo "#define EFNET 1" >>confdefs.h
14830  
14831 <        else
14832 <                use_efnet="no"
14833 <  fi
14834 <   if test "$use_efnet" = "yes"; then
14835 <  EFNET_TRUE=
14836 <  EFNET_FALSE='#'
14831 >
14832 >
14833 >
14834 > for flag in -Wbad-function-cast; do
14835 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14836 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14837 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14838 > if eval \${$as_CACHEVAR+:} false; then :
14839 >  $as_echo_n "(cached) " >&6
14840 > else
14841 >
14842 >  ax_check_save_flags=$CFLAGS
14843 >  CFLAGS="$CFLAGS  $flag"
14844 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 > /* end confdefs.h.  */
14846 >
14847 > int
14848 > main ()
14849 > {
14850 >
14851 >  ;
14852 >  return 0;
14853 > }
14854 > _ACEOF
14855 > if ac_fn_c_try_compile "$LINENO"; then :
14856 >  eval "$as_CACHEVAR=yes"
14857 > else
14858 >  eval "$as_CACHEVAR=no"
14859 > fi
14860 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14861 >  CFLAGS=$ax_check_save_flags
14862 > fi
14863 > eval ac_res=\$$as_CACHEVAR
14864 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14865 > $as_echo "$ac_res" >&6; }
14866 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14867 >  if ${CFLAGS+:} false; then :
14868 >  case " $CFLAGS " in
14869 >    *" $flag "*)
14870 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14871 >  (: CFLAGS already contains $flag) 2>&5
14872 >  ac_status=$?
14873 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14874 >  test $ac_status = 0; }
14875 >      ;;
14876 >    *)
14877 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14878 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14879 >  ac_status=$?
14880 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14881 >  test $ac_status = 0; }
14882 >      CFLAGS="$CFLAGS $flag"
14883 >      ;;
14884 >   esac
14885 > else
14886 >  CFLAGS="$flag"
14887 > fi
14888 >
14889 > else
14890 >  :
14891 > fi
14892 >
14893 > done
14894 >
14895 >
14896 >
14897 >
14898 >
14899 > for flag in -Wlogical-op; do
14900 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14901 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14902 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14903 > if eval \${$as_CACHEVAR+:} false; then :
14904 >  $as_echo_n "(cached) " >&6
14905 > else
14906 >
14907 >  ax_check_save_flags=$CFLAGS
14908 >  CFLAGS="$CFLAGS  $flag"
14909 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 > /* end confdefs.h.  */
14911 >
14912 > int
14913 > main ()
14914 > {
14915 >
14916 >  ;
14917 >  return 0;
14918 > }
14919 > _ACEOF
14920 > if ac_fn_c_try_compile "$LINENO"; then :
14921 >  eval "$as_CACHEVAR=yes"
14922 > else
14923 >  eval "$as_CACHEVAR=no"
14924 > fi
14925 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14926 >  CFLAGS=$ax_check_save_flags
14927 > fi
14928 > eval ac_res=\$$as_CACHEVAR
14929 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14930 > $as_echo "$ac_res" >&6; }
14931 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14932 >  if ${CFLAGS+:} false; then :
14933 >  case " $CFLAGS " in
14934 >    *" $flag "*)
14935 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14936 >  (: CFLAGS already contains $flag) 2>&5
14937 >  ac_status=$?
14938 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14939 >  test $ac_status = 0; }
14940 >      ;;
14941 >    *)
14942 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14943 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14944 >  ac_status=$?
14945 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14946 >  test $ac_status = 0; }
14947 >      CFLAGS="$CFLAGS $flag"
14948 >      ;;
14949 >   esac
14950 > else
14951 >  CFLAGS="$flag"
14952 > fi
14953 >
14954   else
14955 <  EFNET_TRUE='#'
14426 <  EFNET_FALSE=
14955 >  :
14956   fi
14957  
14958 + done
14959 +
14960  
14961  
14962 <  # Check whether --enable-halfops was given.
14963 < if test "${enable_halfops+set}" = set; then :
14964 <  enableval=$enable_halfops; halfops="$enableval"
14962 >
14963 >
14964 > for flag in -Wmissing-declarations; do
14965 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14966 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14967 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14968 > if eval \${$as_CACHEVAR+:} false; then :
14969 >  $as_echo_n "(cached) " >&6
14970 > else
14971 >
14972 >  ax_check_save_flags=$CFLAGS
14973 >  CFLAGS="$CFLAGS  $flag"
14974 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 > /* end confdefs.h.  */
14976 >
14977 > int
14978 > main ()
14979 > {
14980 >
14981 >  ;
14982 >  return 0;
14983 > }
14984 > _ACEOF
14985 > if ac_fn_c_try_compile "$LINENO"; then :
14986 >  eval "$as_CACHEVAR=yes"
14987 > else
14988 >  eval "$as_CACHEVAR=no"
14989 > fi
14990 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14991 >  CFLAGS=$ax_check_save_flags
14992 > fi
14993 > eval ac_res=\$$as_CACHEVAR
14994 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14995 > $as_echo "$ac_res" >&6; }
14996 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14997 >  if ${CFLAGS+:} false; then :
14998 >  case " $CFLAGS " in
14999 >    *" $flag "*)
15000 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15001 >  (: CFLAGS already contains $flag) 2>&5
15002 >  ac_status=$?
15003 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 >  test $ac_status = 0; }
15005 >      ;;
15006 >    *)
15007 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15008 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15009 >  ac_status=$?
15010 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15011 >  test $ac_status = 0; }
15012 >      CFLAGS="$CFLAGS $flag"
15013 >      ;;
15014 >   esac
15015 > else
15016 >  CFLAGS="$flag"
15017 > fi
15018 >
15019   else
15020 <  halfops="no"
15020 >  :
15021   fi
15022  
15023 <  if test "$halfops" = "yes" ; then
15023 > done
15024  
14440 $as_echo "#define HALFOPS 1" >>confdefs.h
15025  
14442  fi
15026  
15027  
15028 <  # Check whether --enable-debugging was given.
15029 < if test "${enable_debugging+set}" = set; then :
15030 <  enableval=$enable_debugging; debugging="$enableval"
15028 >
15029 > for flag in -Wmissing-include-dirs; do
15030 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15031 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15032 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15033 > if eval \${$as_CACHEVAR+:} false; then :
15034 >  $as_echo_n "(cached) " >&6
15035   else
15036 <  debugging="no"
15036 >
15037 >  ax_check_save_flags=$CFLAGS
15038 >  CFLAGS="$CFLAGS  $flag"
15039 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 > /* end confdefs.h.  */
15041 >
15042 > int
15043 > main ()
15044 > {
15045 >
15046 >  ;
15047 >  return 0;
15048 > }
15049 > _ACEOF
15050 > if ac_fn_c_try_compile "$LINENO"; then :
15051 >  eval "$as_CACHEVAR=yes"
15052 > else
15053 >  eval "$as_CACHEVAR=no"
15054 > fi
15055 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15056 >  CFLAGS=$ax_check_save_flags
15057 > fi
15058 > eval ac_res=\$$as_CACHEVAR
15059 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15060 > $as_echo "$ac_res" >&6; }
15061 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15062 >  if ${CFLAGS+:} false; then :
15063 >  case " $CFLAGS " in
15064 >    *" $flag "*)
15065 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15066 >  (: CFLAGS already contains $flag) 2>&5
15067 >  ac_status=$?
15068 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15069 >  test $ac_status = 0; }
15070 >      ;;
15071 >    *)
15072 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15073 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15074 >  ac_status=$?
15075 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15076 >  test $ac_status = 0; }
15077 >      CFLAGS="$CFLAGS $flag"
15078 >      ;;
15079 >   esac
15080 > else
15081 >  CFLAGS="$flag"
15082   fi
15083  
15084 <  if test "$debugging" = "yes" ; then
15084 > else
15085 >  :
15086 > fi
15087  
15088 < $as_echo "#define DEBUG 1" >>confdefs.h
15088 > done
15089  
14456    CFLAGS="-Wall -g -O0"
14457  else
15090  
14459 $as_echo "#define NDEBUG 1" >>confdefs.h
15091  
14461  fi
15092  
15093  
15094 <  # Check whether --enable-warnings was given.
15095 < if test "${enable_warnings+set}" = set; then :
15096 <  enableval=$enable_warnings; warnings="$enableval"
15094 > for flag in -Wmissing-prototypes; do
15095 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15096 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15097 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15098 > if eval \${$as_CACHEVAR+:} false; then :
15099 >  $as_echo_n "(cached) " >&6
15100   else
15101 <  warnings="no"
15101 >
15102 >  ax_check_save_flags=$CFLAGS
15103 >  CFLAGS="$CFLAGS  $flag"
15104 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 > /* end confdefs.h.  */
15106 >
15107 > int
15108 > main ()
15109 > {
15110 >
15111 >  ;
15112 >  return 0;
15113 > }
15114 > _ACEOF
15115 > if ac_fn_c_try_compile "$LINENO"; then :
15116 >  eval "$as_CACHEVAR=yes"
15117 > else
15118 >  eval "$as_CACHEVAR=no"
15119 > fi
15120 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 >  CFLAGS=$ax_check_save_flags
15122 > fi
15123 > eval ac_res=\$$as_CACHEVAR
15124 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15125 > $as_echo "$ac_res" >&6; }
15126 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15127 >  if ${CFLAGS+:} false; then :
15128 >  case " $CFLAGS " in
15129 >    *" $flag "*)
15130 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15131 >  (: CFLAGS already contains $flag) 2>&5
15132 >  ac_status=$?
15133 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15134 >  test $ac_status = 0; }
15135 >      ;;
15136 >    *)
15137 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15138 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15139 >  ac_status=$?
15140 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15141 >  test $ac_status = 0; }
15142 >      CFLAGS="$CFLAGS $flag"
15143 >      ;;
15144 >   esac
15145 > else
15146 >  CFLAGS="$flag"
15147   fi
15148  
15149 <  if test "$warnings" = "yes" ; then
15150 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15149 > else
15150 >  :
15151 > fi
15152 >
15153 > done
15154 >
15155 >
15156 >
15157 >
15158 >
15159 > for flag in -Wnested-externs; do
15160 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15161 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15162 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15163 > if eval \${$as_CACHEVAR+:} false; then :
15164 >  $as_echo_n "(cached) " >&6
15165 > else
15166 >
15167 >  ax_check_save_flags=$CFLAGS
15168 >  CFLAGS="$CFLAGS  $flag"
15169 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 > /* end confdefs.h.  */
15171 >
15172 > int
15173 > main ()
15174 > {
15175 >
15176 >  ;
15177 >  return 0;
15178 > }
15179 > _ACEOF
15180 > if ac_fn_c_try_compile "$LINENO"; then :
15181 >  eval "$as_CACHEVAR=yes"
15182 > else
15183 >  eval "$as_CACHEVAR=no"
15184 > fi
15185 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 >  CFLAGS=$ax_check_save_flags
15187 > fi
15188 > eval ac_res=\$$as_CACHEVAR
15189 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15190 > $as_echo "$ac_res" >&6; }
15191 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15192 >  if ${CFLAGS+:} false; then :
15193 >  case " $CFLAGS " in
15194 >    *" $flag "*)
15195 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15196 >  (: CFLAGS already contains $flag) 2>&5
15197 >  ac_status=$?
15198 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 >  test $ac_status = 0; }
15200 >      ;;
15201 >    *)
15202 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15203 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15204 >  ac_status=$?
15205 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15206 >  test $ac_status = 0; }
15207 >      CFLAGS="$CFLAGS $flag"
15208 >      ;;
15209 >   esac
15210 > else
15211 >  CFLAGS="$flag"
15212 > fi
15213 >
15214 > else
15215 >  :
15216 > fi
15217 >
15218 > done
15219 >
15220 >
15221 >
15222 >
15223 >
15224 > for flag in -Wpointer-arith; do
15225 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15226 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15227 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15228 > if eval \${$as_CACHEVAR+:} false; then :
15229 >  $as_echo_n "(cached) " >&6
15230 > else
15231 >
15232 >  ax_check_save_flags=$CFLAGS
15233 >  CFLAGS="$CFLAGS  $flag"
15234 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 > /* end confdefs.h.  */
15236 >
15237 > int
15238 > main ()
15239 > {
15240 >
15241 >  ;
15242 >  return 0;
15243 > }
15244 > _ACEOF
15245 > if ac_fn_c_try_compile "$LINENO"; then :
15246 >  eval "$as_CACHEVAR=yes"
15247 > else
15248 >  eval "$as_CACHEVAR=no"
15249 > fi
15250 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15251 >  CFLAGS=$ax_check_save_flags
15252 > fi
15253 > eval ac_res=\$$as_CACHEVAR
15254 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15255 > $as_echo "$ac_res" >&6; }
15256 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15257 >  if ${CFLAGS+:} false; then :
15258 >  case " $CFLAGS " in
15259 >    *" $flag "*)
15260 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15261 >  (: CFLAGS already contains $flag) 2>&5
15262 >  ac_status=$?
15263 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15264 >  test $ac_status = 0; }
15265 >      ;;
15266 >    *)
15267 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15268 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15269 >  ac_status=$?
15270 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15271 >  test $ac_status = 0; }
15272 >      CFLAGS="$CFLAGS $flag"
15273 >      ;;
15274 >   esac
15275 > else
15276 >  CFLAGS="$flag"
15277 > fi
15278 >
15279 > else
15280 >  :
15281 > fi
15282 >
15283 > done
15284 >
15285 >
15286 >
15287 >
15288 >
15289 > for flag in -Wredundant-decls; do
15290 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15291 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15292 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15293 > if eval \${$as_CACHEVAR+:} false; then :
15294 >  $as_echo_n "(cached) " >&6
15295 > else
15296 >
15297 >  ax_check_save_flags=$CFLAGS
15298 >  CFLAGS="$CFLAGS  $flag"
15299 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 > /* end confdefs.h.  */
15301 >
15302 > int
15303 > main ()
15304 > {
15305 >
15306 >  ;
15307 >  return 0;
15308 > }
15309 > _ACEOF
15310 > if ac_fn_c_try_compile "$LINENO"; then :
15311 >  eval "$as_CACHEVAR=yes"
15312 > else
15313 >  eval "$as_CACHEVAR=no"
15314 > fi
15315 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15316 >  CFLAGS=$ax_check_save_flags
15317 > fi
15318 > eval ac_res=\$$as_CACHEVAR
15319 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15320 > $as_echo "$ac_res" >&6; }
15321 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15322 >  if ${CFLAGS+:} false; then :
15323 >  case " $CFLAGS " in
15324 >    *" $flag "*)
15325 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15326 >  (: CFLAGS already contains $flag) 2>&5
15327 >  ac_status=$?
15328 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 >  test $ac_status = 0; }
15330 >      ;;
15331 >    *)
15332 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15333 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15334 >  ac_status=$?
15335 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15336 >  test $ac_status = 0; }
15337 >      CFLAGS="$CFLAGS $flag"
15338 >      ;;
15339 >   esac
15340 > else
15341 >  CFLAGS="$flag"
15342 > fi
15343 >
15344 > else
15345 >  :
15346 > fi
15347 >
15348 > done
15349 >
15350 >
15351 >
15352 >
15353 >
15354 > for flag in -Wshadow; do
15355 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15356 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15357 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15358 > if eval \${$as_CACHEVAR+:} false; then :
15359 >  $as_echo_n "(cached) " >&6
15360 > else
15361 >
15362 >  ax_check_save_flags=$CFLAGS
15363 >  CFLAGS="$CFLAGS  $flag"
15364 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 > /* end confdefs.h.  */
15366 >
15367 > int
15368 > main ()
15369 > {
15370 >
15371 >  ;
15372 >  return 0;
15373 > }
15374 > _ACEOF
15375 > if ac_fn_c_try_compile "$LINENO"; then :
15376 >  eval "$as_CACHEVAR=yes"
15377 > else
15378 >  eval "$as_CACHEVAR=no"
15379 > fi
15380 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 >  CFLAGS=$ax_check_save_flags
15382 > fi
15383 > eval ac_res=\$$as_CACHEVAR
15384 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15385 > $as_echo "$ac_res" >&6; }
15386 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15387 >  if ${CFLAGS+:} false; then :
15388 >  case " $CFLAGS " in
15389 >    *" $flag "*)
15390 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15391 >  (: CFLAGS already contains $flag) 2>&5
15392 >  ac_status=$?
15393 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 >  test $ac_status = 0; }
15395 >      ;;
15396 >    *)
15397 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15398 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15399 >  ac_status=$?
15400 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15401 >  test $ac_status = 0; }
15402 >      CFLAGS="$CFLAGS $flag"
15403 >      ;;
15404 >   esac
15405 > else
15406 >  CFLAGS="$flag"
15407 > fi
15408 >
15409 > else
15410 >  :
15411 > fi
15412 >
15413 > done
15414 >
15415 >
15416 >
15417 >
15418 >
15419 > for flag in -Wwrite-strings; do
15420 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15421 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15422 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15423 > if eval \${$as_CACHEVAR+:} false; then :
15424 >  $as_echo_n "(cached) " >&6
15425 > else
15426 >
15427 >  ax_check_save_flags=$CFLAGS
15428 >  CFLAGS="$CFLAGS  $flag"
15429 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 > /* end confdefs.h.  */
15431 >
15432 > int
15433 > main ()
15434 > {
15435 >
15436 >  ;
15437 >  return 0;
15438 > }
15439 > _ACEOF
15440 > if ac_fn_c_try_compile "$LINENO"; then :
15441 >  eval "$as_CACHEVAR=yes"
15442 > else
15443 >  eval "$as_CACHEVAR=no"
15444 > fi
15445 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15446 >  CFLAGS=$ax_check_save_flags
15447 > fi
15448 > eval ac_res=\$$as_CACHEVAR
15449 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15450 > $as_echo "$ac_res" >&6; }
15451 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15452 >  if ${CFLAGS+:} false; then :
15453 >  case " $CFLAGS " in
15454 >    *" $flag "*)
15455 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15456 >  (: CFLAGS already contains $flag) 2>&5
15457 >  ac_status=$?
15458 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15459 >  test $ac_status = 0; }
15460 >      ;;
15461 >    *)
15462 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15463 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15464 >  ac_status=$?
15465 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15466 >  test $ac_status = 0; }
15467 >      CFLAGS="$CFLAGS $flag"
15468 >      ;;
15469 >   esac
15470 > else
15471 >  CFLAGS="$flag"
15472 > fi
15473 >
15474 > else
15475 >  :
15476 > fi
15477 >
15478 > done
15479 >
15480 >
15481 >
15482 >
15483 >
15484 > for flag in -Wundef; do
15485 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15486 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15487 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15488 > if eval \${$as_CACHEVAR+:} false; then :
15489 >  $as_echo_n "(cached) " >&6
15490 > else
15491 >
15492 >  ax_check_save_flags=$CFLAGS
15493 >  CFLAGS="$CFLAGS  $flag"
15494 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 > /* end confdefs.h.  */
15496 >
15497 > int
15498 > main ()
15499 > {
15500 >
15501 >  ;
15502 >  return 0;
15503 > }
15504 > _ACEOF
15505 > if ac_fn_c_try_compile "$LINENO"; then :
15506 >  eval "$as_CACHEVAR=yes"
15507 > else
15508 >  eval "$as_CACHEVAR=no"
15509 > fi
15510 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15511 >  CFLAGS=$ax_check_save_flags
15512 > fi
15513 > eval ac_res=\$$as_CACHEVAR
15514 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15515 > $as_echo "$ac_res" >&6; }
15516 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15517 >  if ${CFLAGS+:} false; then :
15518 >  case " $CFLAGS " in
15519 >    *" $flag "*)
15520 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15521 >  (: CFLAGS already contains $flag) 2>&5
15522 >  ac_status=$?
15523 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 >  test $ac_status = 0; }
15525 >      ;;
15526 >    *)
15527 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15528 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15529 >  ac_status=$?
15530 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 >  test $ac_status = 0; }
15532 >      CFLAGS="$CFLAGS $flag"
15533 >      ;;
15534 >   esac
15535 > else
15536 >  CFLAGS="$flag"
15537 > fi
15538 >
15539 > else
15540 >  :
15541 > fi
15542 >
15543 > done
15544 >
15545    fi
15546  
15547  
# Line 14559 | Line 15631 | _ACEOF
15631    test "$exec_prefix_NONE" && exec_prefix=NONE
15632  
15633  
15634 < ac_config_files="$ac_config_files Makefile etc/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15634 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15635  
15636  
15637   cat >confcache <<\_ACEOF
# Line 14671 | Line 15743 | LIBOBJS=$ac_libobjs
15743   LTLIBOBJS=$ac_ltlibobjs
15744  
15745  
15746 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15747 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15748 +   if test -n "$am_sleep_pid"; then
15749 +     # Hide warnings about reused PIDs.
15750 +     wait $am_sleep_pid 2>/dev/null
15751 +   fi
15752 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15753 + $as_echo "done" >&6; }
15754   if test -n "$EXEEXT"; then
15755    am__EXEEXT_TRUE=
15756    am__EXEEXT_FALSE='#'
# Line 14717 | Line 15797 | LT_CONFIG_H=config.h
15797  
15798  
15799  
14720 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14721  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14723 fi
15800   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15801    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15802   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15803   fi
14728 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14729  as_fn_error $? "conditional \"EFNET\" was never defined.
14730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14731 fi
15804  
15805   : "${CONFIG_STATUS=./config.status}"
15806   ac_write_fail=0
# Line 15027 | Line 16099 | if (echo >conf$$.file) 2>/dev/null; then
16099      # ... but there are two gotchas:
16100      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16101      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16102 <    # In both cases, we have to default to `cp -p'.
16102 >    # In both cases, we have to default to `cp -pR'.
16103      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16104 <      as_ln_s='cp -p'
16104 >      as_ln_s='cp -pR'
16105    elif ln conf$$.file conf$$ 2>/dev/null; then
16106      as_ln_s=ln
16107    else
16108 <    as_ln_s='cp -p'
16108 >    as_ln_s='cp -pR'
16109    fi
16110   else
16111 <  as_ln_s='cp -p'
16111 >  as_ln_s='cp -pR'
16112   fi
16113   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16114   rmdir conf$$.dir 2>/dev/null
# Line 15096 | Line 16168 | else
16168    as_mkdir_p=false
16169   fi
16170  
16171 < if test -x / >/dev/null 2>&1; then
16172 <  as_test_x='test -x'
16173 < else
16174 <  if ls -dL / >/dev/null 2>&1; then
16175 <    as_ls_L_option=L
16176 <  else
16177 <    as_ls_L_option=
16178 <  fi
16179 <  as_test_x='
16180 <    eval sh -c '\''
15109 <      if test -d "$1"; then
15110 <        test -d "$1/.";
15111 <      else
15112 <        case $1 in #(
15113 <        -*)set "./$1";;
15114 <        esac;
15115 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15116 <        ???[sx]*):;;*)false;;esac;fi
15117 <    '\'' sh
15118 <  '
15119 < fi
15120 < as_executable_p=$as_test_x
16171 >
16172 > # as_fn_executable_p FILE
16173 > # -----------------------
16174 > # Test if FILE is an executable regular file.
16175 > as_fn_executable_p ()
16176 > {
16177 >  test -f "$1" && test -x "$1"
16178 > } # as_fn_executable_p
16179 > as_test_x='test -x'
16180 > as_executable_p=as_fn_executable_p
16181  
16182   # Sed expression to map a string onto a valid CPP name.
16183   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 15138 | Line 16198 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16198   # report actual input values of CONFIG_FILES etc. instead of their
16199   # values after options handling.
16200   ac_log="
16201 < This file was extended by ircd-hybrid $as_me 8beta1, which was
16202 < generated by GNU Autoconf 2.68.  Invocation command line was
16201 > This file was extended by ircd-hybrid $as_me TRUNK, which was
16202 > generated by GNU Autoconf 2.69.  Invocation command line was
16203  
16204    CONFIG_FILES    = $CONFIG_FILES
16205    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 15204 | Line 16264 | _ACEOF
16264   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16265   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16266   ac_cs_version="\\
16267 < ircd-hybrid config.status 8beta1
16268 < configured by $0, generated by GNU Autoconf 2.68,
16267 > ircd-hybrid config.status TRUNK
16268 > configured by $0, generated by GNU Autoconf 2.69,
16269    with options \\"\$ac_cs_config\\"
16270  
16271 < Copyright (C) 2010 Free Software Foundation, Inc.
16271 > Copyright (C) 2012 Free Software Foundation, Inc.
16272   This config.status script is free software; the Free Software Foundation
16273   gives unlimited permission to copy, distribute and modify it."
16274  
# Line 15299 | Line 16359 | fi
16359   _ACEOF
16360   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16361   if \$ac_cs_recheck; then
16362 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16362 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16363    shift
16364    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16365    CONFIG_SHELL='$SHELL'
# Line 15614 | Line 16674 | do
16674      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16675      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16676      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15617    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15618    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15619    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16677      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16678      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15622    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16679      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16680      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16681      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16682      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15627    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15628    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16683      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16684  
16685    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16223 | Line 17277 | $as_echo "$as_me: executing $ac_file com
17277  
17278    case $ac_file$ac_mode in
17279      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17280 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17280 >  # Older Autoconf quotes --file arguments for eval, but not when files
17281    # are listed without --file.  Let's play safe and only enable the eval
17282    # if we detect the quoting.
17283    case $CONFIG_FILES in
# Line 16236 | Line 17290 | $as_echo "$as_me: executing $ac_file com
17290      # Strip MF so we end up with the name of the file.
17291      mf=`echo "$mf" | sed -e 's/:.*$//'`
17292      # Check whether this is an Automake generated Makefile or not.
17293 <    # We used to match only the files named `Makefile.in', but
17293 >    # We used to match only the files named 'Makefile.in', but
17294      # some people rename them; so instead we look at the file content.
17295      # Grep'ing the first line is not enough: some people post-process
17296      # each Makefile.in and add a new line on top of each file to say so.
# Line 16270 | Line 17324 | $as_echo X"$mf" |
17324        continue
17325      fi
17326      # Extract the definition of DEPDIR, am__include, and am__quote
17327 <    # from the Makefile without running `make'.
17327 >    # from the Makefile without running 'make'.
17328      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17329      test -z "$DEPDIR" && continue
17330      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17331 <    test -z "am__include" && continue
17331 >    test -z "$am__include" && continue
17332      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16279    # When using ansi2knr, U may be empty or an underscore; expand it
16280    U=`sed -n 's/^U = //p' < "$mf"`
17333      # Find all dependency output files, they are included files with
17334      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17335      # simplest approach to changing $(DEPDIR) to its actual value in the
17336      # expansion.
17337      for file in `sed -n "
17338        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17339 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17339 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17340        # Make sure the directory exists.
17341        test -f "$dirpart/$file" && continue
17342        fdir=`$as_dirname -- "$file" ||

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1302 by michael, Wed Mar 21 17:48:54 2012 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 4335 by michael, Sat Aug 2 16:05:40 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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