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

Comparing:
ircd-hybrid-8/configure (file contents), Revision 1292 by michael, Sun Feb 12 20:36:27 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4246 by michael, Thu Jul 17 19:41:33 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1245 2011-09-30 14:58:29Z michael .
2 > # From configure.ac Id: configure.ac 4181 2014-07-06 13:11:44Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0beta4.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 < # Foundation, Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 137 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 170 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
# Line 223 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        # Preserve -v and -x to the replacement shell.
254 <        BASH_ENV=/dev/null
255 <        ENV=/dev/null
256 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 <        export CONFIG_SHELL
258 <        case $- in # ((((
259 <          *v*x* | *x*v* ) as_opts=-vx ;;
260 <          *v* ) as_opts=-v ;;
261 <          *x* ) as_opts=-x ;;
262 <          * ) as_opts= ;;
263 <        esac
264 <        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 340 | Line 368 | $as_echo X"$as_dir" |
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 461 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 495 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 516 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
521 < else
522 <  if ls -dL / >/dev/null 2>&1; then
523 <    as_ls_L_option=L
524 <  else
525 <    as_ls_L_option=
526 <  fi
527 <  as_test_x='
528 <    eval sh -c '\''
529 <      if test -d "$1"; then
530 <        test -d "$1/.";
531 <      else
532 <        case $1 in #(
533 <        -*)set "./$1";;
534 <        esac;
535 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 <        ???[sx]*):;;*)false;;esac;fi
537 <    '\'' sh
538 <  '
539 < fi
540 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 573 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='8beta1'
597 < PACKAGE_STRING='ircd-hybrid 8beta1'
596 > PACKAGE_VERSION='8.2.0beta4'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0beta4'
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_zlib_path
788 < enable_zlib
789 < with_libpcre_path
790 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
793 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
797 enable_rtsigio
814   enable_poll
815   enable_select
800 with_nicklen
801 with_topiclen
802 enable_efnet
803 enable_halfops
816   enable_debugging
817   enable_warnings
818   '
# Line 1270 | Line 1282 | target=$target_alias
1282   if test "x$host_alias" != x; then
1283    if test "x$build_alias" = x; then
1284      cross_compiling=maybe
1273    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1274    If a cross compiler is detected then cross compile mode will be used" >&2
1285    elif test "x$build_alias" != "x$host_alias"; then
1286      cross_compiling=yes
1287    fi
# Line 1357 | Line 1367 | if test "$ac_init_help" = "long"; then
1367    # Omit some internal or obsolete options to make the list less imposing.
1368    # This message is too long to be a string in the A/UX 3.1 sh.
1369    cat <<_ACEOF
1370 < \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1370 > \`configure' configures ircd-hybrid 8.2.0beta4 to adapt to many kinds of systems.
1371  
1372   Usage: $0 [OPTION]... [VAR=VALUE]...
1373  
# Line 1427 | Line 1437 | fi
1437  
1438   if test -n "$ac_init_help"; then
1439    case $ac_init_help in
1440 <     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1440 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0beta4:";;
1441     esac
1442    cat <<\_ACEOF
1443  
# Line 1435 | Line 1445 | Optional Features:
1445    --disable-option-checking  ignore unrecognized --enable/--with options
1446    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1447    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1448 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1449 <                          (and sometimes confusing) to the casual installer
1450 <  --disable-dependency-tracking  speeds up one-time build
1451 <  --enable-dependency-tracking   do not reject slow dependency extractors
1448 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1449 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1450 >  --enable-maintainer-mode
1451 >                          enable make rules and dependencies not useful (and
1452 >                          sometimes confusing) to the casual installer
1453 >  --enable-dependency-tracking
1454 >                          do not reject slow dependency extractors
1455 >  --disable-dependency-tracking
1456 >                          speeds up one-time build
1457    --enable-static[=PKGS]  build static libraries [default=no]
1458    --enable-shared[=PKGS]  build shared libraries [default=yes]
1459    --enable-fast-install[=PKGS]
1460                            optimize for fast installation [default=yes]
1461    --disable-libtool-lock  avoid locking (might break parallel builds)
1462    --enable-ltdl-install   install libltdl
1463 <  --disable-zlib          Disable ziplinks support
1449 <  --disable-libpcre       Disable PCRE support
1463 >  --disable-libgeoip      Disable GeoIP support
1464    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1465    --disable-openssl            Disable OpenSSL support.
1466    --enable-assert         Enable assert() statements
1453  --enable-small-net      Enable small network support.
1467    --enable-kqueue         Force kqueue usage.
1468    --enable-epoll          Force epoll usage.
1469    --enable-devpoll        Force devpoll usage.
1457  --enable-rtsigio        Force rtsigio usage.
1470    --enable-poll           Force poll usage.
1471    --enable-select         Force select usage.
1460  --enable-efnet          For IRCDs running on EFnet.
1461  --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1474  
# Line 1473 | Line 1483 | Optional Packages:
1483    --with-included-ltdl    use the GNU ltdl sources included here
1484    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1485    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1476  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1477  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1478  --with-nicklen=<value>  Set nickname length (default 9).
1479  --with-topiclen=<value> Set topic length (default 160).
1486  
1487   Some influential environment variables:
1488    CC          C compiler command
# Line 1560 | Line 1566 | fi
1566   test -n "$ac_init_help" && exit $ac_status
1567   if $ac_init_version; then
1568    cat <<\_ACEOF
1569 < ircd-hybrid configure 8beta1
1570 < generated by GNU Autoconf 2.68
1569 > ircd-hybrid configure 8.2.0beta4
1570 > generated by GNU Autoconf 2.69
1571  
1572 < Copyright (C) 2010 Free Software Foundation, Inc.
1572 > Copyright (C) 2012 Free Software Foundation, Inc.
1573   This configure script is free software; the Free Software Foundation
1574   gives unlimited permission to copy, distribute and modify it.
1575   _ACEOF
# Line 1639 | Line 1645 | $as_echo "$ac_try_echo"; } >&5
1645           test ! -s conftest.err
1646         } && test -s conftest$ac_exeext && {
1647           test "$cross_compiling" = yes ||
1648 <         $as_test_x conftest$ac_exeext
1648 >         test -x conftest$ac_exeext
1649         }; then :
1650    ac_retval=0
1651   else
# Line 2086 | Line 2092 | cat >config.log <<_ACEOF
2092   This file contains any messages produced by compilers while
2093   running configure, to aid debugging if configure makes a mistake.
2094  
2095 < It was created by ircd-hybrid $as_me 8beta1, which was
2096 < generated by GNU Autoconf 2.68.  Invocation command line was
2095 > It was created by ircd-hybrid $as_me 8.2.0beta4, which was
2096 > generated by GNU Autoconf 2.69.  Invocation command line was
2097  
2098    $ $0 $@
2099  
# Line 2366 | Line 2372 | $as_echo "$as_me: creating cache $cache_
2372    >$cache_file
2373   fi
2374  
2369 as_fn_append ac_func_list " mmap"
2375   as_fn_append ac_func_list " strtok_r"
2376   as_fn_append ac_func_list " usleep"
2377   as_fn_append ac_func_list " strlcat"
2378   as_fn_append ac_func_list " strlcpy"
2374 as_fn_append ac_func_list " socketpair"
2379   as_fn_append ac_header_list " crypt.h"
2376 as_fn_append ac_header_list " inttypes.h"
2377 as_fn_append ac_header_list " stdint.h"
2380   as_fn_append ac_header_list " sys/resource.h"
2381   as_fn_append ac_header_list " sys/param.h"
2380 as_fn_append ac_header_list " errno.h"
2381 as_fn_append ac_header_list " sys/syslog.h"
2382   as_fn_append ac_header_list " types.h"
2383   as_fn_append ac_header_list " socket.h"
2384   as_fn_append ac_header_list " sys/wait.h"
2385   as_fn_append ac_header_list " wait.h"
2386 as_fn_append ac_header_list " link.h"
2386   # Check that the precious variables saved in the cache have kept the same
2387   # value.
2388   ac_cache_corrupted=false
# Line 2452 | Line 2451 | ac_link='$CC -o conftest$ac_exeext $CFLA
2451   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452  
2453  
2454 < am__api_version='1.11'
2454 > am__api_version='1.14'
2455  
2456   ac_aux_dir=
2457   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2520 | Line 2519 | case $as_dir/ in #((
2519      # by default.
2520      for ac_prog in ginstall scoinst install; do
2521        for ac_exec_ext in '' $ac_executable_extensions; do
2522 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2522 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2523            if test $ac_prog = install &&
2524              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525              # AIX install.  It has an incompatible calling convention.
# Line 2578 | Line 2577 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2577  
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2579   $as_echo_n "checking whether build environment is sane... " >&6; }
2581 # Just in case
2582 sleep 1
2583 echo timestamp > conftest.file
2580   # Reject unsafe characters in $srcdir or the absolute working directory
2581   # name.  Accept space and tab only in the latter.
2582   am_lf='
# Line 2591 | Line 2587 | case `pwd` in
2587   esac
2588   case $srcdir in
2589    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2590 <    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2591   esac
2592  
2593 < # Do `set' in a subshell so we don't clobber the current shell's
2593 > # Do 'set' in a subshell so we don't clobber the current shell's
2594   # arguments.  Must try -L first in case configure is actually a
2595   # symlink; some systems play weird games with the mod time of symlinks
2596   # (eg FreeBSD returns the mod time of the symlink's containing
2597   # directory).
2598   if (
2599 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2600 <   if test "$*" = "X"; then
2601 <      # -L didn't work.
2602 <      set X `ls -t "$srcdir/configure" conftest.file`
2603 <   fi
2604 <   rm -f conftest.file
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
2613 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2614 <      # broken ls alias from the environment.  This has actually
2615 <      # happened.  Such a system could not be considered "sane".
2616 <      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2617 < alias in your environment" "$LINENO" 5
2618 <   fi
2599 >   am_has_slept=no
2600 >   for am_try in 1 2; do
2601 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2602 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 >     if test "$*" = "X"; then
2604 >        # -L didn't work.
2605 >        set X `ls -t "$srcdir/configure" conftest.file`
2606 >     fi
2607 >     if test "$*" != "X $srcdir/configure conftest.file" \
2608 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2609  
2610 +        # If neither matched, then we have a broken ls.  This can happen
2611 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2612 +        # broken ls alias from the environment.  This has actually
2613 +        # happened.  Such a system could not be considered "sane".
2614 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2615 +  alias in your environment" "$LINENO" 5
2616 +     fi
2617 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2618 +       break
2619 +     fi
2620 +     # Just in case.
2621 +     sleep 1
2622 +     am_has_slept=yes
2623 +   done
2624     test "$2" = conftest.file
2625     )
2626   then
# Line 2628 | Line 2632 | Check your system clock" "$LINENO" 5
2632   fi
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634   $as_echo "yes" >&6; }
2635 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2636 + # generated files are strictly newer.
2637 + am_sleep_pid=
2638 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2639 +  ( sleep 1 ) &
2640 +  am_sleep_pid=$!
2641 + fi
2642 +
2643 + rm -f conftest.file
2644 +
2645   test "$program_prefix" != NONE &&
2646    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2647   # Use a double $ so make ignores it.
# Line 2650 | Line 2664 | if test x"${MISSING+set}" != xset; then
2664    esac
2665   fi
2666   # Use eval to expand $SHELL
2667 < if eval "$MISSING --run true"; then
2668 <  am_missing_run="$MISSING --run "
2667 > if eval "$MISSING --is-lightweight"; then
2668 >  am_missing_run="$MISSING "
2669   else
2670    am_missing_run=
2671 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2672 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2671 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2672 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2673   fi
2674  
2675   if test x"${install_sh}" != xset; then
# Line 2667 | Line 2681 | if test x"${install_sh}" != xset; then
2681    esac
2682   fi
2683  
2684 < # Installed binaries are usually stripped using `strip' when the user
2685 < # run `make install-strip'.  However `strip' might not be the right
2684 > # Installed binaries are usually stripped using 'strip' when the user
2685 > # run "make install-strip".  However 'strip' might not be the right
2686   # tool to use in cross-compilation environments, therefore Automake
2687 < # will honor the `STRIP' environment variable to overrule this program.
2687 > # will honor the 'STRIP' environment variable to overrule this program.
2688   if test "$cross_compiling" != no; then
2689    if test -n "$ac_tool_prefix"; then
2690    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
# Line 2689 | Line 2703 | do
2703    IFS=$as_save_IFS
2704    test -z "$as_dir" && as_dir=.
2705      for ac_exec_ext in '' $ac_executable_extensions; do
2706 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2707      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2708      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709      break 2
# Line 2729 | Line 2743 | do
2743    IFS=$as_save_IFS
2744    test -z "$as_dir" && as_dir=.
2745      for ac_exec_ext in '' $ac_executable_extensions; do
2746 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747      ac_cv_prog_ac_ct_STRIP="strip"
2748      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749      break 2
# Line 2780 | Line 2794 | do
2794    test -z "$as_dir" && as_dir=.
2795      for ac_prog in mkdir gmkdir; do
2796           for ac_exec_ext in '' $ac_executable_extensions; do
2797 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2797 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2798             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2799               'mkdir (GNU coreutils) '* | \
2800               'mkdir (coreutils) '* | \
# Line 2809 | Line 2823 | fi
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2824   $as_echo "$MKDIR_P" >&6; }
2825  
2812 mkdir_p="$MKDIR_P"
2813 case $mkdir_p in
2814  [\\/$]* | ?:[\\/]*) ;;
2815  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2816 esac
2817
2826   for ac_prog in gawk mawk nawk awk
2827   do
2828    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 2833 | Line 2841 | do
2841    IFS=$as_save_IFS
2842    test -z "$as_dir" && as_dir=.
2843      for ac_exec_ext in '' $ac_executable_extensions; do
2844 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845      ac_cv_prog_AWK="$ac_prog"
2846      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847      break 2
# Line 2897 | Line 2905 | else
2905   fi
2906   rmdir .tst 2>/dev/null
2907  
2908 + # Check whether --enable-silent-rules was given.
2909 + if test "${enable_silent_rules+set}" = set; then :
2910 +  enableval=$enable_silent_rules;
2911 + fi
2912 +
2913 + case $enable_silent_rules in # (((
2914 +  yes) AM_DEFAULT_VERBOSITY=0;;
2915 +   no) AM_DEFAULT_VERBOSITY=1;;
2916 +    *) AM_DEFAULT_VERBOSITY=1;;
2917 + esac
2918 + am_make=${MAKE-make}
2919 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2920 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2921 + if ${am_cv_make_support_nested_variables+:} false; then :
2922 +  $as_echo_n "(cached) " >&6
2923 + else
2924 +  if $as_echo 'TRUE=$(BAR$(V))
2925 + BAR0=false
2926 + BAR1=true
2927 + V=1
2928 + am__doit:
2929 +        @$(TRUE)
2930 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2931 +  am_cv_make_support_nested_variables=yes
2932 + else
2933 +  am_cv_make_support_nested_variables=no
2934 + fi
2935 + fi
2936 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2937 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2938 + if test $am_cv_make_support_nested_variables = yes; then
2939 +    AM_V='$(V)'
2940 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2941 + else
2942 +  AM_V=$AM_DEFAULT_VERBOSITY
2943 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2944 + fi
2945 + AM_BACKSLASH='\'
2946 +
2947   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2948    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2949    # is not polluted with repeated "-I."
# Line 2919 | Line 2966 | fi
2966  
2967   # Define the identity of the package.
2968   PACKAGE='ircd-hybrid'
2969 < VERSION='8beta1'
2969 > VERSION='8.2.0beta4'
2970  
2971  
2972   cat >>confdefs.h <<_ACEOF
# Line 2947 | Line 2994 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2994  
2995   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2996  
2997 + # For better backward compatibility.  To be removed once Automake 1.9.x
2998 + # dies out for good.  For more background, see:
2999 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3000 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3001 + mkdir_p='$(MKDIR_P)'
3002 +
3003   # We need awk for the "check" target.  The system "awk" is bad on
3004   # some platforms.
3005   # Always define AMTAR for backward compatibility.  Yes, it's still used
3006   # in the wild :-(  We should find a proper way to deprecate it ...
3007   AMTAR='$${TAR-tar}'
3008  
3009 +
3010 + # We'll loop over all known methods to create a tar archive until one works.
3011 + _am_tools='gnutar  pax cpio none'
3012 +
3013   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3014  
3015  
# Line 2960 | Line 3017 | am__tar='$${TAR-tar} chof - "$$tardir"'
3017  
3018  
3019  
3020 + # POSIX will say in a future version that running "rm -f" with no argument
3021 + # is OK; and we want to be able to make that assumption in our Makefile
3022 + # recipes.  So use an aggressive probe to check that the usage we want is
3023 + # actually supported "in the wild" to an acceptable degree.
3024 + # See automake bug#10828.
3025 + # To make any issue more visible, cause the running configure to be aborted
3026 + # by default if the 'rm' program in use doesn't match our expectations; the
3027 + # user can still override this though.
3028 + if rm -f && rm -fr && rm -rf; then : OK; else
3029 +  cat >&2 <<'END'
3030 + Oops!
3031 +
3032 + Your 'rm' program seems unable to run without file operands specified
3033 + on the command line, even when the '-f' option is present.  This is contrary
3034 + to the behaviour of most rm programs out there, and not conforming with
3035 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3036 +
3037 + Please tell bug-automake@gnu.org about your system, including the value
3038 + of your $PATH and any error possibly output before this message.  This
3039 + can help us improve future automake versions.
3040 +
3041 + END
3042 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3043 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3044 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3045 +    echo >&2
3046 +  else
3047 +    cat >&2 <<'END'
3048 + Aborting the configuration process, to ensure you take notice of the issue.
3049 +
3050 + You can download and install GNU coreutils to get an 'rm' implementation
3051 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3052 +
3053 + If you want to complete the configuration process using your problematic
3054 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3055 + to "yes", and re-run configure.
3056 +
3057 + END
3058 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3059 +  fi
3060 + fi
3061 +
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3063   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3064      # Check whether --enable-maintainer-mode was given.
# Line 2982 | Line 3081 | fi
3081    MAINT=$MAINTAINER_MODE_TRUE
3082  
3083  
3084 +
3085   ac_config_headers="$ac_config_headers config.h"
3086  
3087  
# Line 3006 | Line 3106 | am__quote=
3106   _am_result=none
3107   # First try GNU make style include.
3108   echo "include confinc" > confmf
3109 < # Ignore all kinds of additional output from `make'.
3109 > # Ignore all kinds of additional output from 'make'.
3110   case `$am_make -s -f confmf 2> /dev/null` in #(
3111   *the\ am__doit\ target*)
3112    am__include=include
# Line 3072 | Line 3172 | do
3172    IFS=$as_save_IFS
3173    test -z "$as_dir" && as_dir=.
3174      for ac_exec_ext in '' $ac_executable_extensions; do
3175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178      break 2
# Line 3112 | Line 3212 | do
3212    IFS=$as_save_IFS
3213    test -z "$as_dir" && as_dir=.
3214      for ac_exec_ext in '' $ac_executable_extensions; do
3215 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216      ac_cv_prog_ac_ct_CC="gcc"
3217      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218      break 2
# Line 3165 | Line 3265 | do
3265    IFS=$as_save_IFS
3266    test -z "$as_dir" && as_dir=.
3267      for ac_exec_ext in '' $ac_executable_extensions; do
3268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269      ac_cv_prog_CC="${ac_tool_prefix}cc"
3270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271      break 2
# Line 3206 | Line 3306 | do
3306    IFS=$as_save_IFS
3307    test -z "$as_dir" && as_dir=.
3308      for ac_exec_ext in '' $ac_executable_extensions; do
3309 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3311         ac_prog_rejected=yes
3312         continue
# Line 3264 | Line 3364 | do
3364    IFS=$as_save_IFS
3365    test -z "$as_dir" && as_dir=.
3366      for ac_exec_ext in '' $ac_executable_extensions; do
3367 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370      break 2
# Line 3308 | Line 3408 | do
3408    IFS=$as_save_IFS
3409    test -z "$as_dir" && as_dir=.
3410      for ac_exec_ext in '' $ac_executable_extensions; do
3411 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412      ac_cv_prog_ac_ct_CC="$ac_prog"
3413      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414      break 2
# Line 3754 | Line 3854 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3854   /* end confdefs.h.  */
3855   #include <stdarg.h>
3856   #include <stdio.h>
3857 < #include <sys/types.h>
3758 < #include <sys/stat.h>
3857 > struct stat;
3858   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3859   struct buf { int x; };
3860   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3840 | Line 3939 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3939   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941  
3942 + ac_ext=c
3943 + ac_cpp='$CPP $CPPFLAGS'
3944 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3948 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3949 + if ${am_cv_prog_cc_c_o+:} false; then :
3950 +  $as_echo_n "(cached) " >&6
3951 + else
3952 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 + /* end confdefs.h.  */
3954 +
3955 + int
3956 + main ()
3957 + {
3958 +
3959 +  ;
3960 +  return 0;
3961 + }
3962 + _ACEOF
3963 +  # Make sure it works both with $CC and with simple cc.
3964 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3965 +  # compilers refuse to overwrite an existing .o file with -o,
3966 +  # though they will create one.
3967 +  am_cv_prog_cc_c_o=yes
3968 +  for am_i in 1 2; do
3969 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3970 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3971 +   ac_status=$?
3972 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 +   (exit $ac_status); } \
3974 +         && test -f conftest2.$ac_objext; then
3975 +      : OK
3976 +    else
3977 +      am_cv_prog_cc_c_o=no
3978 +      break
3979 +    fi
3980 +  done
3981 +  rm -f core conftest*
3982 +  unset am_i
3983 + fi
3984 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3985 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3986 + if test "$am_cv_prog_cc_c_o" != yes; then
3987 +   # Losing compiler, so override with the script.
3988 +   # FIXME: It is wrong to rewrite CC.
3989 +   # But if we don't then we get into trouble of one sort or another.
3990 +   # A longer-term fix would be to have automake use am__CC in this case,
3991 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3992 +   CC="$am_aux_dir/compile $CC"
3993 + fi
3994 + ac_ext=c
3995 + ac_cpp='$CPP $CPPFLAGS'
3996 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3999 +
4000 +
4001   depcc="$CC"   am_compiler_list=
4002  
4003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
# Line 3851 | Line 4009 | else
4009    # We make a subdir and do the tests there.  Otherwise we can end up
4010    # making bogus files that we don't know about and never remove.  For
4011    # instance it was reported that on HP-UX the gcc test will end up
4012 <  # making a dummy file named `D' -- because `-MD' means `put the output
4013 <  # in D'.
4012 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4013 >  # in D".
4014    rm -rf conftest.dir
4015    mkdir conftest.dir
4016    # Copy depcomp to subdir because otherwise we won't find it if we're
# Line 3887 | Line 4045 | else
4045      : > sub/conftest.c
4046      for i in 1 2 3 4 5 6; do
4047        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4048 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4049 <      # Solaris 8's {/usr,}/bin/sh.
4050 <      touch sub/conftst$i.h
4048 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4049 >      # Solaris 10 /bin/sh.
4050 >      echo '/* dummy */' > sub/conftst$i.h
4051      done
4052      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4053  
4054 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4054 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4055      # mode.  It turns out that the SunPro C++ compiler does not properly
4056 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4057 <    # versions had trouble with output in subdirs
4056 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4057 >    # versions had trouble with output in subdirs.
4058      am__obj=sub/conftest.${OBJEXT-o}
4059      am__minus_obj="-o $am__obj"
4060      case $depmode in
# Line 3905 | Line 4063 | else
4063        test "$am__universal" = false || continue
4064        ;;
4065      nosideeffect)
4066 <      # after this tag, mechanisms are not by side-effect, so they'll
4067 <      # only be used when explicitly requested
4066 >      # After this tag, mechanisms are not by side-effect, so they'll
4067 >      # only be used when explicitly requested.
4068        if test "x$enable_dependency_tracking" = xyes; then
4069          continue
4070        else
# Line 3914 | Line 4072 | else
4072        fi
4073        ;;
4074      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4075 <      # This compiler won't grok `-c -o', but also, the minuso test has
4075 >      # This compiler won't grok '-c -o', but also, the minuso test has
4076        # not run yet.  These depmodes are late enough in the game, and
4077        # so weak that their functioning should not be impacted.
4078        am__obj=conftest.${OBJEXT-o}
# Line 4114 | Line 4272 | main ()
4272    return 0;
4273   }
4274   _ACEOF
4275 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4275 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4276   do
4277    CC="$ac_save_CC $ac_arg"
4278    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4146 | Line 4304 | fi
4304  
4305  
4306   if test "$ac_cv_prog_cc_c99" = "no"; then :
4307 <  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4307 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4308   fi
4309   for ac_prog in 'bison -y' byacc
4310   do
# Line 4166 | Line 4324 | do
4324    IFS=$as_save_IFS
4325    test -z "$as_dir" && as_dir=.
4326      for ac_exec_ext in '' $ac_executable_extensions; do
4327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328      ac_cv_prog_YACC="$ac_prog"
4329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330      break 2
# Line 4210 | Line 4368 | do
4368    IFS=$as_save_IFS
4369    test -z "$as_dir" && as_dir=.
4370      for ac_exec_ext in '' $ac_executable_extensions; do
4371 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372      ac_cv_prog_LEX="$ac_prog"
4373      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374      break 2
# Line 4242 | Line 4400 | a { ECHO; }
4400   b { REJECT; }
4401   c { yymore (); }
4402   d { yyless (1); }
4403 < e { yyless (input () != 0); }
4403 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4404 >    yyless ((input () != 0)); }
4405   f { unput (yytext[0]); }
4406   . { BEGIN INITIAL; }
4407   %%
# Line 4550 | Line 4709 | do
4709      for ac_prog in sed gsed; do
4710      for ac_exec_ext in '' $ac_executable_extensions; do
4711        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4712 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4712 >      as_fn_executable_p "$ac_path_SED" || continue
4713   # Check for GNU ac_path_SED and select it if it is found.
4714    # Check for GNU $ac_path_SED
4715   case `"$ac_path_SED" --version 2>&1` in
# Line 4626 | Line 4785 | do
4785      for ac_prog in grep ggrep; do
4786      for ac_exec_ext in '' $ac_executable_extensions; do
4787        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4788 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4788 >      as_fn_executable_p "$ac_path_GREP" || continue
4789   # Check for GNU ac_path_GREP and select it if it is found.
4790    # Check for GNU $ac_path_GREP
4791   case `"$ac_path_GREP" --version 2>&1` in
# Line 4692 | Line 4851 | do
4851      for ac_prog in egrep; do
4852      for ac_exec_ext in '' $ac_executable_extensions; do
4853        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4854 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4854 >      as_fn_executable_p "$ac_path_EGREP" || continue
4855   # Check for GNU ac_path_EGREP and select it if it is found.
4856    # Check for GNU $ac_path_EGREP
4857   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4759 | Line 4918 | do
4918      for ac_prog in fgrep; do
4919      for ac_exec_ext in '' $ac_executable_extensions; do
4920        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4921 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4921 >      as_fn_executable_p "$ac_path_FGREP" || continue
4922   # Check for GNU ac_path_FGREP and select it if it is found.
4923    # Check for GNU $ac_path_FGREP
4924   case `"$ac_path_FGREP" --version 2>&1` in
# Line 5015 | Line 5174 | do
5174    IFS=$as_save_IFS
5175    test -z "$as_dir" && as_dir=.
5176      for ac_exec_ext in '' $ac_executable_extensions; do
5177 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5179      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180      break 2
# Line 5059 | Line 5218 | do
5218    IFS=$as_save_IFS
5219    test -z "$as_dir" && as_dir=.
5220      for ac_exec_ext in '' $ac_executable_extensions; do
5221 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5223      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224      break 2
# Line 5483 | Line 5642 | do
5642    IFS=$as_save_IFS
5643    test -z "$as_dir" && as_dir=.
5644      for ac_exec_ext in '' $ac_executable_extensions; do
5645 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5647      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648      break 2
# Line 5523 | Line 5682 | do
5682    IFS=$as_save_IFS
5683    test -z "$as_dir" && as_dir=.
5684      for ac_exec_ext in '' $ac_executable_extensions; do
5685 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5687      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688      break 2
# Line 5829 | Line 5988 | do
5988    IFS=$as_save_IFS
5989    test -z "$as_dir" && as_dir=.
5990      for ac_exec_ext in '' $ac_executable_extensions; do
5991 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5993      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994      break 2
# Line 5869 | Line 6028 | do
6028    IFS=$as_save_IFS
6029    test -z "$as_dir" && as_dir=.
6030      for ac_exec_ext in '' $ac_executable_extensions; do
6031 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6033      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034      break 2
# Line 5972 | Line 6131 | do
6131    IFS=$as_save_IFS
6132    test -z "$as_dir" && as_dir=.
6133      for ac_exec_ext in '' $ac_executable_extensions; do
6134 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135      ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6136      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137      break 2
# Line 6016 | Line 6175 | do
6175    IFS=$as_save_IFS
6176    test -z "$as_dir" && as_dir=.
6177      for ac_exec_ext in '' $ac_executable_extensions; do
6178 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179      ac_cv_prog_ac_ct_AR="$ac_prog"
6180      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181      break 2
# Line 6141 | Line 6300 | do
6300    IFS=$as_save_IFS
6301    test -z "$as_dir" && as_dir=.
6302      for ac_exec_ext in '' $ac_executable_extensions; do
6303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306      break 2
# Line 6181 | Line 6340 | do
6340    IFS=$as_save_IFS
6341    test -z "$as_dir" && as_dir=.
6342      for ac_exec_ext in '' $ac_executable_extensions; do
6343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344      ac_cv_prog_ac_ct_STRIP="strip"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 6240 | Line 6399 | do
6399    IFS=$as_save_IFS
6400    test -z "$as_dir" && as_dir=.
6401      for ac_exec_ext in '' $ac_executable_extensions; do
6402 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6402 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6404      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405      break 2
# Line 6280 | Line 6439 | do
6439    IFS=$as_save_IFS
6440    test -z "$as_dir" && as_dir=.
6441      for ac_exec_ext in '' $ac_executable_extensions; do
6442 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443      ac_cv_prog_ac_ct_RANLIB="ranlib"
6444      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445      break 2
# Line 6929 | Line 7088 | do
7088    IFS=$as_save_IFS
7089    test -z "$as_dir" && as_dir=.
7090      for ac_exec_ext in '' $ac_executable_extensions; do
7091 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092      ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7093      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094      break 2
# Line 6969 | Line 7128 | do
7128    IFS=$as_save_IFS
7129    test -z "$as_dir" && as_dir=.
7130      for ac_exec_ext in '' $ac_executable_extensions; do
7131 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132      ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7133      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134      break 2
# Line 7049 | Line 7208 | do
7208    IFS=$as_save_IFS
7209    test -z "$as_dir" && as_dir=.
7210      for ac_exec_ext in '' $ac_executable_extensions; do
7211 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7213      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214      break 2
# Line 7089 | Line 7248 | do
7248    IFS=$as_save_IFS
7249    test -z "$as_dir" && as_dir=.
7250      for ac_exec_ext in '' $ac_executable_extensions; do
7251 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7253      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254      break 2
# Line 7141 | Line 7300 | do
7300    IFS=$as_save_IFS
7301    test -z "$as_dir" && as_dir=.
7302      for ac_exec_ext in '' $ac_executable_extensions; do
7303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7304      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306      break 2
# Line 7181 | Line 7340 | do
7340    IFS=$as_save_IFS
7341    test -z "$as_dir" && as_dir=.
7342      for ac_exec_ext in '' $ac_executable_extensions; do
7343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346      break 2
# Line 7233 | Line 7392 | do
7392    IFS=$as_save_IFS
7393    test -z "$as_dir" && as_dir=.
7394      for ac_exec_ext in '' $ac_executable_extensions; do
7395 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7397      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398      break 2
# Line 7273 | Line 7432 | do
7432    IFS=$as_save_IFS
7433    test -z "$as_dir" && as_dir=.
7434      for ac_exec_ext in '' $ac_executable_extensions; do
7435 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436      ac_cv_prog_ac_ct_LIPO="lipo"
7437      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438      break 2
# Line 7325 | Line 7484 | do
7484    IFS=$as_save_IFS
7485    test -z "$as_dir" && as_dir=.
7486      for ac_exec_ext in '' $ac_executable_extensions; do
7487 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490      break 2
# Line 7365 | Line 7524 | do
7524    IFS=$as_save_IFS
7525    test -z "$as_dir" && as_dir=.
7526      for ac_exec_ext in '' $ac_executable_extensions; do
7527 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528      ac_cv_prog_ac_ct_OTOOL="otool"
7529      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530      break 2
# Line 7417 | Line 7576 | do
7576    IFS=$as_save_IFS
7577    test -z "$as_dir" && as_dir=.
7578      for ac_exec_ext in '' $ac_executable_extensions; do
7579 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7581      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582      break 2
# Line 7457 | Line 7616 | do
7616    IFS=$as_save_IFS
7617    test -z "$as_dir" && as_dir=.
7618      for ac_exec_ext in '' $ac_executable_extensions; do
7619 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7619 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620      ac_cv_prog_ac_ct_OTOOL64="otool64"
7621      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622      break 2
# Line 8399 | Line 8558 | _lt_linker_boilerplate=`cat conftest.err
8558   $RM -r conftest*
8559  
8560  
8561 + ## CAVEAT EMPTOR:
8562 + ## There is no encapsulation within the following macros, do not change
8563 + ## the running order or otherwise move them around unless you know exactly
8564 + ## what you are doing...
8565   if test -n "$compiler"; then
8566  
8567   lt_prog_compiler_no_builtin_flag=
# Line 13012 | Line 13175 | LIBTOOL="$LIBTOOL --silent"
13175  
13176   # Checks for libraries.
13177  
13178 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13179 < $as_echo_n "checking for library containing socket... " >&6; }
13180 < if ${ac_cv_search_socket+:} false; then :
13178 >
13179 >  if test "X$CC" != "X"; then
13180 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13181 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13182 > if ${ssp_cv_cc+:} false; then :
13183 >  $as_echo_n "(cached) " >&6
13184 > else
13185 >  ssp_old_cflags="$CFLAGS"
13186 >       CFLAGS="$CFLAGS -fstack-protector"
13187 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 > /* end confdefs.h.  */
13189 >
13190 > int
13191 > main ()
13192 > {
13193 >
13194 >  ;
13195 >  return 0;
13196 > }
13197 > _ACEOF
13198 > if ac_fn_c_try_compile "$LINENO"; then :
13199 >  ssp_cv_cc=yes
13200 > else
13201 >  ssp_cv_cc=no
13202 > fi
13203 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13204 >       CFLAGS="$ssp_old_cflags"
13205 >
13206 > fi
13207 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13208 > $as_echo "$ssp_cv_cc" >&6; }
13209 >    if test $ssp_cv_cc = yes; then
13210 >      CFLAGS="$CFLAGS -fstack-protector"
13211 >
13212 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13213 >
13214 >    fi
13215 >  fi
13216 >
13217 >
13218 >
13219 >
13220 >
13221 >
13222 > for flag in -fno-strict-aliasing; do
13223 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13224 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13225 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13226 > if eval \${$as_CACHEVAR+:} false; then :
13227 >  $as_echo_n "(cached) " >&6
13228 > else
13229 >
13230 >  ax_check_save_flags=$CFLAGS
13231 >  CFLAGS="$CFLAGS  $flag"
13232 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 > /* end confdefs.h.  */
13234 >
13235 > int
13236 > main ()
13237 > {
13238 >
13239 >  ;
13240 >  return 0;
13241 > }
13242 > _ACEOF
13243 > if ac_fn_c_try_compile "$LINENO"; then :
13244 >  eval "$as_CACHEVAR=yes"
13245 > else
13246 >  eval "$as_CACHEVAR=no"
13247 > fi
13248 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13249 >  CFLAGS=$ax_check_save_flags
13250 > fi
13251 > eval ac_res=\$$as_CACHEVAR
13252 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13253 > $as_echo "$ac_res" >&6; }
13254 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13255 >  if ${CFLAGS+:} false; then :
13256 >  case " $CFLAGS " in
13257 >    *" $flag "*)
13258 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13259 >  (: CFLAGS already contains $flag) 2>&5
13260 >  ac_status=$?
13261 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13262 >  test $ac_status = 0; }
13263 >      ;;
13264 >    *)
13265 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13266 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13267 >  ac_status=$?
13268 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13269 >  test $ac_status = 0; }
13270 >      CFLAGS="$CFLAGS $flag"
13271 >      ;;
13272 >   esac
13273 > else
13274 >  CFLAGS="$flag"
13275 > fi
13276 >
13277 > else
13278 >  :
13279 > fi
13280 >
13281 > done
13282 >
13283 >
13284 >
13285 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13286 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13287 >
13288 > else
13289 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13290 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13291 > if ${ac_cv_search_getaddrinfo+:} false; then :
13292    $as_echo_n "(cached) " >&6
13293   else
13294    ac_func_search_save_LIBS=$LIBS
# Line 13027 | Line 13301 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13301   #ifdef __cplusplus
13302   extern "C"
13303   #endif
13304 < char socket ();
13304 > char getaddrinfo ();
13305   int
13306   main ()
13307   {
13308 < return socket ();
13308 > return getaddrinfo ();
13309    ;
13310    return 0;
13311   }
13312   _ACEOF
13313 < for ac_lib in '' socket; do
13313 > for ac_lib in '' nsl; do
13314    if test -z "$ac_lib"; then
13315      ac_res="none required"
13316    else
# Line 13044 | Line 13318 | for ac_lib in '' socket; do
13318      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13319    fi
13320    if ac_fn_c_try_link "$LINENO"; then :
13321 <  ac_cv_search_socket=$ac_res
13321 >  ac_cv_search_getaddrinfo=$ac_res
13322   fi
13323   rm -f core conftest.err conftest.$ac_objext \
13324      conftest$ac_exeext
13325 <  if ${ac_cv_search_socket+:} false; then :
13325 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13326    break
13327   fi
13328   done
13329 < if ${ac_cv_search_socket+:} false; then :
13329 > if ${ac_cv_search_getaddrinfo+:} false; then :
13330  
13331   else
13332 <  ac_cv_search_socket=no
13332 >  ac_cv_search_getaddrinfo=no
13333   fi
13334   rm conftest.$ac_ext
13335   LIBS=$ac_func_search_save_LIBS
13336   fi
13337 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13338 < $as_echo "$ac_cv_search_socket" >&6; }
13339 < ac_res=$ac_cv_search_socket
13337 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13338 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13339 > ac_res=$ac_cv_search_getaddrinfo
13340   if test "$ac_res" != no; then :
13341    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13342  
13069 else
13070  as_fn_error $? "socket library not found" "$LINENO" 5
13343   fi
13344  
13345 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13346 < $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13347 < if ${ac_cv_search_inet_ntoa+:} false; then :
13345 > fi
13346 >
13347 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13348 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13349 >
13350 > else
13351 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13352 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13353 > if ${ac_cv_search_getnameinfo+:} false; then :
13354    $as_echo_n "(cached) " >&6
13355   else
13356    ac_func_search_save_LIBS=$LIBS
# Line 13085 | Line 13363 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13363   #ifdef __cplusplus
13364   extern "C"
13365   #endif
13366 < char inet_ntoa ();
13366 > char getnameinfo ();
13367   int
13368   main ()
13369   {
13370 < return inet_ntoa ();
13370 > return getnameinfo ();
13371    ;
13372    return 0;
13373   }
# Line 13102 | Line 13380 | for ac_lib in '' nsl; do
13380      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13381    fi
13382    if ac_fn_c_try_link "$LINENO"; then :
13383 <  ac_cv_search_inet_ntoa=$ac_res
13383 >  ac_cv_search_getnameinfo=$ac_res
13384   fi
13385   rm -f core conftest.err conftest.$ac_objext \
13386      conftest$ac_exeext
13387 <  if ${ac_cv_search_inet_ntoa+:} false; then :
13387 >  if ${ac_cv_search_getnameinfo+:} false; then :
13388    break
13389   fi
13390   done
13391 < if ${ac_cv_search_inet_ntoa+:} false; then :
13391 > if ${ac_cv_search_getnameinfo+:} false; then :
13392  
13393   else
13394 <  ac_cv_search_inet_ntoa=no
13394 >  ac_cv_search_getnameinfo=no
13395   fi
13396   rm conftest.$ac_ext
13397   LIBS=$ac_func_search_save_LIBS
13398   fi
13399 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13400 < $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13401 < ac_res=$ac_cv_search_inet_ntoa
13399 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13400 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13401 > ac_res=$ac_cv_search_getnameinfo
13402   if test "$ac_res" != no; then :
13403    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13404  
13405   fi
13406  
13407 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13408 < $as_echo_n "checking for library containing inet_aton... " >&6; }
13409 < if ${ac_cv_search_inet_aton+:} false; then :
13407 > fi
13408 >
13409 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13410 > $as_echo_n "checking for library containing socket... " >&6; }
13411 > if ${ac_cv_search_socket+:} false; then :
13412    $as_echo_n "(cached) " >&6
13413   else
13414    ac_func_search_save_LIBS=$LIBS
# Line 13141 | Line 13421 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13421   #ifdef __cplusplus
13422   extern "C"
13423   #endif
13424 < char inet_aton ();
13424 > char socket ();
13425   int
13426   main ()
13427   {
13428 < return inet_aton ();
13428 > return socket ();
13429    ;
13430    return 0;
13431   }
13432   _ACEOF
13433 < for ac_lib in '' resolv; do
13433 > for ac_lib in '' socket; do
13434    if test -z "$ac_lib"; then
13435      ac_res="none required"
13436    else
# Line 13158 | Line 13438 | for ac_lib in '' resolv; do
13438      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13439    fi
13440    if ac_fn_c_try_link "$LINENO"; then :
13441 <  ac_cv_search_inet_aton=$ac_res
13441 >  ac_cv_search_socket=$ac_res
13442   fi
13443   rm -f core conftest.err conftest.$ac_objext \
13444      conftest$ac_exeext
13445 <  if ${ac_cv_search_inet_aton+:} false; then :
13445 >  if ${ac_cv_search_socket+:} false; then :
13446    break
13447   fi
13448   done
13449 < if ${ac_cv_search_inet_aton+:} false; then :
13449 > if ${ac_cv_search_socket+:} false; then :
13450  
13451   else
13452 <  ac_cv_search_inet_aton=no
13452 >  ac_cv_search_socket=no
13453   fi
13454   rm conftest.$ac_ext
13455   LIBS=$ac_func_search_save_LIBS
13456   fi
13457 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13458 < $as_echo "$ac_cv_search_inet_aton" >&6; }
13459 < ac_res=$ac_cv_search_inet_aton
13457 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13458 > $as_echo "$ac_cv_search_socket" >&6; }
13459 > ac_res=$ac_cv_search_socket
13460   if test "$ac_res" != no; then :
13461    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13462  
13463 + else
13464 +  as_fn_error $? "socket library not found" "$LINENO" 5
13465   fi
13466  
13185  for ac_func in inet_aton inet_ntop inet_pton
13186 do :
13187  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13189 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13190  cat >>confdefs.h <<_ACEOF
13191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13192 _ACEOF
13193
13194 fi
13195 done
13196
13467    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13468     #include <sys/socket.h>
13469     #include <netdb.h>
# Line 13510 | Line 13780 | done
13780  
13781  
13782  
13513
13514
13515
13516
13783   # Checks for header files.
13784  
13785  
# Line 13548 | Line 13814 | done
13814  
13815  
13816  
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561 # check for /dev/null so we can use it to hold evil fd's
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13563 $as_echo_n "checking for /dev/null... " >&6; }
13564 if test -c /dev/null; then :
13565
13566
13567 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13568
13569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13570 $as_echo "yes" >&6; }
13571 else
13572
13573
13574 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13575
13576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13577 $as_echo "no - using devnull.log" >&6; }
13578 fi
13579
13580
13817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13818   $as_echo_n "checking for library containing crypt... " >&6; }
13819   if ${ac_cv_search_crypt+:} false; then :
# Line 13635 | Line 13871 | if test "$ac_res" != no; then :
13871   fi
13872  
13873  
13874 <
13875 <
13876 < # Check whether --with-zlib-path was given.
13877 < if test "${with_zlib_path+set}" = set; then :
13878 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13879 < fi
13880 <
13881 <
13882 < # Check whether --enable-zlib was given.
13647 < if test "${enable_zlib+set}" = set; then :
13648 <  enableval=$enable_zlib; zlib=$enableval
13649 < else
13650 <  zlib=yes
13651 < fi
13652 <
13653 <
13654 < if test "$zlib" = "yes"; then :
13655 <
13656 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13657 < if test "x$ac_cv_header_zlib_h" = xyes; then :
13658 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13659 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13660 < if ${ac_cv_lib_z_zlibVersion+:} false; then :
13874 > # Check whether --enable-libgeoip was given.
13875 > if test "${enable_libgeoip+set}" = set; then :
13876 >  enableval=$enable_libgeoip;
13877 > else
13878 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13879 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13880 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13881 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13882 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13883    $as_echo_n "(cached) " >&6
13884   else
13885 <  ac_check_lib_save_LIBS=$LIBS
13664 < LIBS="-lz  $LIBS"
13885 >  ac_func_search_save_LIBS=$LIBS
13886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887   /* end confdefs.h.  */
13888  
# Line 13671 | Line 13892 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13892   #ifdef __cplusplus
13893   extern "C"
13894   #endif
13895 < char zlibVersion ();
13895 > char GeoIP_id_by_ipnum_v6_gl ();
13896   int
13897   main ()
13898   {
13899 < return zlibVersion ();
13899 > return GeoIP_id_by_ipnum_v6_gl ();
13900    ;
13901    return 0;
13902   }
13903   _ACEOF
13904 < if ac_fn_c_try_link "$LINENO"; then :
13905 <  ac_cv_lib_z_zlibVersion=yes
13906 < else
13907 <  ac_cv_lib_z_zlibVersion=no
13904 > for ac_lib in '' GeoIP; do
13905 >  if test -z "$ac_lib"; then
13906 >    ac_res="none required"
13907 >  else
13908 >    ac_res=-l$ac_lib
13909 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13910 >  fi
13911 >  if ac_fn_c_try_link "$LINENO"; then :
13912 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13913   fi
13914   rm -f core conftest.err conftest.$ac_objext \
13915 <    conftest$ac_exeext conftest.$ac_ext
13916 < LIBS=$ac_check_lib_save_LIBS
13917 < fi
13692 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13693 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13694 < if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13695 <
13696 <      LIBS="-lz $LIBS"
13697 <
13698 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
13699 <
13700 <
13701 < else
13702 <  zlib=no
13703 < fi
13704 <
13705 <
13706 < else
13707 <  zlib=no
13708 < fi
13709 <
13710 <
13711 <
13712 < fi
13713 <
13714 <
13715 < # Check whether --with-libpcre-path was given.
13716 < if test "${with_libpcre_path+set}" = set; then :
13717 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13718 < fi
13719 <
13720 <
13721 < # Check whether --enable-libpcre was given.
13722 < if test "${enable_libpcre+set}" = set; then :
13723 <  enableval=$enable_libpcre; libpcre=$enableval
13724 < else
13725 <  libpcre=yes
13915 >    conftest$ac_exeext
13916 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13917 >  break
13918   fi
13919 + done
13920 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13921  
13728
13729 if test "$libpcre" = "yes"; then :
13730
13731  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13732 if test "x$ac_cv_header_pcre_h" = xyes; then :
13733  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13734 $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13735 if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13736  $as_echo_n "(cached) " >&6
13737 else
13738  ac_check_lib_save_LIBS=$LIBS
13739 LIBS="-lpcre  $LIBS"
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h.  */
13742
13743 /* Override any GCC internal prototype to avoid an error.
13744   Use char because int might match the return type of a GCC
13745   builtin and then its argument prototype would still apply.  */
13746 #ifdef __cplusplus
13747 extern "C"
13748 #endif
13749 char pcre_study ();
13750 int
13751 main ()
13752 {
13753 return pcre_study ();
13754  ;
13755  return 0;
13756 }
13757 _ACEOF
13758 if ac_fn_c_try_link "$LINENO"; then :
13759  ac_cv_lib_pcre_pcre_study=yes
13922   else
13923 <  ac_cv_lib_pcre_pcre_study=no
13923 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13924   fi
13925 < rm -f core conftest.err conftest.$ac_objext \
13926 <    conftest$ac_exeext conftest.$ac_ext
13765 < LIBS=$ac_check_lib_save_LIBS
13925 > rm conftest.$ac_ext
13926 > LIBS=$ac_func_search_save_LIBS
13927   fi
13928 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13929 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13930 < if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13931 <
13932 <      LIBS="-lpcre $LIBS"
13772 <
13773 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13928 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13929 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13930 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13931 > if test "$ac_res" != no; then :
13932 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13933  
13934 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13935  
13776 else
13777  libpcre=no
13936   fi
13937  
13780
13781 else
13782  libpcre=no
13938   fi
13939  
13940  
13786
13787 fi
13788 if test "$libpcre" = yes; then
13789  ENABLE_PCRE_TRUE=
13790  ENABLE_PCRE_FALSE='#'
13791 else
13792  ENABLE_PCRE_TRUE='#'
13793  ENABLE_PCRE_FALSE=
13941   fi
13942  
13943  
# Line 13834 | Line 13981 | if test "$cf_enable_openssl" != "no"; th
13981    fi
13982  
13983        if test ! -z "$cf_openssl_basedir"; then
13837    LIBS="-lcrypto -lssl $LIBS"
13984      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13985   $as_echo "$cf_openssl_basedir" >&6; }
13986      cf_enable_openssl="yes"
13841
13842 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13843
13987    else
13988      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13989   $as_echo "not found. Please check your path." >&6; }
# Line 13853 | Line 13996 | $as_echo "disabled" >&6; }
13996   fi
13997  
13998   if test "$cf_enable_openssl" != "no"; then :
13999 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14000 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13999 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8m or above" >&5
14000 > $as_echo_n "checking for OpenSSL 0.9.8m or above... " >&6; }
14001    if test "$cross_compiling" = yes; then :
14002    cf_openssl_version_ok=no
14003   else
# Line 13867 | Line 14010 | else
14010   int
14011   main ()
14012   {
14013 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14013 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080dfL));
14014    ;
14015    return 0;
14016   }
# Line 13932 | Line 14075 | _ACEOF
14075   fi
14076  
14077      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14078 <  for ac_func in EVP_bf_cfb           \
14079 <                      EVP_cast5_cfb        \
14080 <                      EVP_idea_cfb         \
14081 <                      EVP_rc5_32_12_16_cfb \
14082 <                      EVP_des_ede3_cfb     \
14083 <                      EVP_des_cfb
14084 < do :
14085 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14086 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14087 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14078 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14079 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14080 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14081 >  $as_echo_n "(cached) " >&6
14082 > else
14083 >  ac_check_lib_save_LIBS=$LIBS
14084 > LIBS="-lssl  $LIBS"
14085 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 > /* end confdefs.h.  */
14087 >
14088 > /* Override any GCC internal prototype to avoid an error.
14089 >   Use char because int might match the return type of a GCC
14090 >   builtin and then its argument prototype would still apply.  */
14091 > #ifdef __cplusplus
14092 > extern "C"
14093 > #endif
14094 > char SSL_connect ();
14095 > int
14096 > main ()
14097 > {
14098 > return SSL_connect ();
14099 >  ;
14100 >  return 0;
14101 > }
14102 > _ACEOF
14103 > if ac_fn_c_try_link "$LINENO"; then :
14104 >  ac_cv_lib_ssl_SSL_connect=yes
14105 > else
14106 >  ac_cv_lib_ssl_SSL_connect=no
14107 > fi
14108 > rm -f core conftest.err conftest.$ac_objext \
14109 >    conftest$ac_exeext conftest.$ac_ext
14110 > LIBS=$ac_check_lib_save_LIBS
14111 > fi
14112 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14113 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14114 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14115    cat >>confdefs.h <<_ACEOF
14116 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14116 > #define HAVE_LIBSSL 1
14117   _ACEOF
14118  
14119 +  LIBS="-lssl $LIBS"
14120 +
14121   fi
13950 done
14122  
14123   fi
14124  
# Line 13958 | Line 14129 | $as_echo "no - OpenSSL support disabled"
14129   fi
14130   fi
14131  
14132 < if test "$cf_enable_openssl" = yes; then
14132 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14133    ENABLE_SSL_TRUE=
14134    ENABLE_SSL_FALSE='#'
14135   else
# Line 13983 | Line 14154 | $as_echo "#define NDEBUG 1" >>confdefs.h
14154   fi
14155  
14156  
14157 < # Check whether --enable-small-net was given.
13987 < if test "${enable_small_net+set}" = set; then :
13988 <  enableval=$enable_small_net; small_net=$enableval
13989 < else
13990 <  small_net=no
13991 < fi
13992 <
13993 <
13994 < if test "$small_net" = "yes"; then :
13995 <
13996 <
13997 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13998 <
13999 <
14000 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14001 <
14002 <
14003 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14157 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14158  
14159  
14160 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14160 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14161  
14162  
14163 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14163 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14164  
14165  
14166 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14166 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14167  
14168  
14169 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14016 <
14017 <
14018 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14019 <
14020 <
14021 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14022 <
14023 <
14024 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14025 <
14026 < else
14027 <
14169 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14170  
14171  
14172 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14172 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14173  
14174  
14175 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14175 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14176  
14177  
14178 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14178 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14179  
14180  
14181 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14181 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14182  
14183  
14184 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14184 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14185  
14186  
14187 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14187 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14188  
14189  
14190 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14190 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14191  
14192  
14193 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14193 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14194  
14195  
14196 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14055 <
14056 <
14057 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14058 <
14059 < fi
14196 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14197  
14198  
14199   # Argument processing.
# Line 14077 | Line 14214 | if test "${enable_devpoll+set}" = set; t
14214    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14215   fi
14216  
14080  # Check whether --enable-rtsigio was given.
14081 if test "${enable_rtsigio+set}" = set; then :
14082  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14083 fi
14084
14217    # Check whether --enable-poll was given.
14218   if test "${enable_poll+set}" = set; then :
14219    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 14265 | Line 14397 | rm -f core conftest.err conftest.$ac_obj
14397   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14398  
14399    fi
14400 <      iopoll_mechanism_rtsigio=4
14269 <
14270 < cat >>confdefs.h <<_ACEOF
14271 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14272 < _ACEOF
14273 <
14274 <  if test "$cross_compiling" = yes; then :
14275 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14276 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14277 < as_fn_error $? "cannot run test program while cross compiling
14278 < See \`config.log' for more details" "$LINENO" 5; }
14279 < else
14280 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 < /* end confdefs.h.  */
14282 <
14283 < #define _GNU_SOURCE
14284 < #include <fcntl.h>
14285 < static unsigned int have_f_setsig = 0;
14286 <
14287 < int
14288 < main ()
14289 < {
14290 <
14291 < #ifdef F_SETSIG
14292 <  have_f_setsig = 1;
14293 < #endif
14294 <  return have_f_setsig == 0;
14295 <
14296 <  ;
14297 <  return 0;
14298 < }
14299 < _ACEOF
14300 < if ac_fn_c_try_run "$LINENO"; then :
14301 <  is_rtsigio_mechanism_available="yes"
14302 < else
14303 <  is_rtsigio_mechanism_available="no"
14304 < fi
14305 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14306 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14307 < fi
14308 <
14309 <      iopoll_mechanism_poll=5
14400 >      iopoll_mechanism_poll=4
14401  
14402   cat >>confdefs.h <<_ACEOF
14403   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14360 | Line 14451 | else
14451   fi
14452   rm -f core conftest.err conftest.$ac_objext \
14453      conftest$ac_exeext conftest.$ac_ext
14454 <      iopoll_mechanism_select=6
14454 >      iopoll_mechanism_select=5
14455  
14456   cat >>confdefs.h <<_ACEOF
14457   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 14415 | Line 14506 | fi
14506   rm -f core conftest.err conftest.$ac_objext \
14507      conftest$ac_exeext conftest.$ac_ext
14508        optimal_iopoll_mechanism="none"
14509 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14509 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14510      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14511      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14512        optimal_iopoll_mechanism="$mechanism"
# Line 14452 | Line 14543 | _ACEOF
14543  
14544  
14545  
14546 +  # Check whether --enable-debugging was given.
14547 + if test "${enable_debugging+set}" = set; then :
14548 +  enableval=$enable_debugging; debugging="$enableval"
14549 + else
14550 +  debugging="no"
14551 + fi
14552  
14553 < # Check whether --with-nicklen was given.
14554 < if test "${with_nicklen+set}" = set; then :
14555 <  withval=$with_nicklen; nicklen="$withval"
14553 >  if test "$debugging" = "yes" ; then
14554 >    CFLAGS="-Wall -g -O0"
14555 >  fi
14556 >
14557 >
14558 >  # Check whether --enable-warnings was given.
14559 > if test "${enable_warnings+set}" = set; then :
14560 >  enableval=$enable_warnings; warnings="$enableval"
14561   else
14562 <  nicklen="9"
14562 >  warnings="no"
14563   fi
14564  
14565 +  if test "$warnings" = "yes" ; then
14566  
14567 < cat >>confdefs.h <<_ACEOF
14568 < #define NICKLEN ($nicklen+1)
14567 >
14568 >
14569 >
14570 > for flag in -Wall; do
14571 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14572 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14573 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14574 > if eval \${$as_CACHEVAR+:} false; then :
14575 >  $as_echo_n "(cached) " >&6
14576 > else
14577 >
14578 >  ax_check_save_flags=$CFLAGS
14579 >  CFLAGS="$CFLAGS  $flag"
14580 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 > /* end confdefs.h.  */
14582 >
14583 > int
14584 > main ()
14585 > {
14586 >
14587 >  ;
14588 >  return 0;
14589 > }
14590   _ACEOF
14591 + if ac_fn_c_try_compile "$LINENO"; then :
14592 +  eval "$as_CACHEVAR=yes"
14593 + else
14594 +  eval "$as_CACHEVAR=no"
14595 + fi
14596 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14597 +  CFLAGS=$ax_check_save_flags
14598 + fi
14599 + eval ac_res=\$$as_CACHEVAR
14600 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14601 + $as_echo "$ac_res" >&6; }
14602 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14603 +  if ${CFLAGS+:} false; then :
14604 +  case " $CFLAGS " in
14605 +    *" $flag "*)
14606 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14607 +  (: CFLAGS already contains $flag) 2>&5
14608 +  ac_status=$?
14609 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14610 +  test $ac_status = 0; }
14611 +      ;;
14612 +    *)
14613 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14614 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14615 +  ac_status=$?
14616 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14617 +  test $ac_status = 0; }
14618 +      CFLAGS="$CFLAGS $flag"
14619 +      ;;
14620 +   esac
14621 + else
14622 +  CFLAGS="$flag"
14623 + fi
14624 +
14625 + else
14626 +  :
14627 + fi
14628 +
14629 + done
14630  
14631  
14632  
14633  
14634 < # Check whether --with-topiclen was given.
14635 < if test "${with_topiclen+set}" = set; then :
14636 <  withval=$with_topiclen; topiclen="$withval"
14634 >
14635 > for flag in -Wextra; do
14636 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14637 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14638 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14639 > if eval \${$as_CACHEVAR+:} false; then :
14640 >  $as_echo_n "(cached) " >&6
14641   else
14642 <  topiclen="160"
14642 >
14643 >  ax_check_save_flags=$CFLAGS
14644 >  CFLAGS="$CFLAGS  $flag"
14645 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 > /* end confdefs.h.  */
14647 >
14648 > int
14649 > main ()
14650 > {
14651 >
14652 >  ;
14653 >  return 0;
14654 > }
14655 > _ACEOF
14656 > if ac_fn_c_try_compile "$LINENO"; then :
14657 >  eval "$as_CACHEVAR=yes"
14658 > else
14659 >  eval "$as_CACHEVAR=no"
14660 > fi
14661 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 >  CFLAGS=$ax_check_save_flags
14663 > fi
14664 > eval ac_res=\$$as_CACHEVAR
14665 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14666 > $as_echo "$ac_res" >&6; }
14667 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14668 >  if ${CFLAGS+:} false; then :
14669 >  case " $CFLAGS " in
14670 >    *" $flag "*)
14671 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14672 >  (: CFLAGS already contains $flag) 2>&5
14673 >  ac_status=$?
14674 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14675 >  test $ac_status = 0; }
14676 >      ;;
14677 >    *)
14678 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14679 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14680 >  ac_status=$?
14681 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14682 >  test $ac_status = 0; }
14683 >      CFLAGS="$CFLAGS $flag"
14684 >      ;;
14685 >   esac
14686 > else
14687 >  CFLAGS="$flag"
14688 > fi
14689 >
14690 > else
14691 >  :
14692   fi
14693  
14694 + done
14695  
14696 < cat >>confdefs.h <<_ACEOF
14697 < #define TOPICLEN ($topiclen)
14696 >
14697 >
14698 >
14699 >
14700 > for flag in -Wno-unused; do
14701 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14702 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14703 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14704 > if eval \${$as_CACHEVAR+:} false; then :
14705 >  $as_echo_n "(cached) " >&6
14706 > else
14707 >
14708 >  ax_check_save_flags=$CFLAGS
14709 >  CFLAGS="$CFLAGS  $flag"
14710 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 > /* end confdefs.h.  */
14712 >
14713 > int
14714 > main ()
14715 > {
14716 >
14717 >  ;
14718 >  return 0;
14719 > }
14720   _ACEOF
14721 + if ac_fn_c_try_compile "$LINENO"; then :
14722 +  eval "$as_CACHEVAR=yes"
14723 + else
14724 +  eval "$as_CACHEVAR=no"
14725 + fi
14726 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14727 +  CFLAGS=$ax_check_save_flags
14728 + fi
14729 + eval ac_res=\$$as_CACHEVAR
14730 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14731 + $as_echo "$ac_res" >&6; }
14732 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14733 +  if ${CFLAGS+:} false; then :
14734 +  case " $CFLAGS " in
14735 +    *" $flag "*)
14736 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14737 +  (: CFLAGS already contains $flag) 2>&5
14738 +  ac_status=$?
14739 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14740 +  test $ac_status = 0; }
14741 +      ;;
14742 +    *)
14743 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14744 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14745 +  ac_status=$?
14746 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14747 +  test $ac_status = 0; }
14748 +      CFLAGS="$CFLAGS $flag"
14749 +      ;;
14750 +   esac
14751 + else
14752 +  CFLAGS="$flag"
14753 + fi
14754 +
14755 + else
14756 +  :
14757 + fi
14758 +
14759 + done
14760 +
14761  
14762  
14763  
14764 <  # Check whether --enable-efnet was given.
14765 < if test "${enable_efnet+set}" = set; then :
14766 <  enableval=$enable_efnet; efnet="$enableval"
14764 >
14765 > for flag in -Wcast-qual; do
14766 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14767 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14768 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14769 > if eval \${$as_CACHEVAR+:} false; then :
14770 >  $as_echo_n "(cached) " >&6
14771   else
14772 <  efnet="no"
14772 >
14773 >  ax_check_save_flags=$CFLAGS
14774 >  CFLAGS="$CFLAGS  $flag"
14775 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 > /* end confdefs.h.  */
14777 >
14778 > int
14779 > main ()
14780 > {
14781 >
14782 >  ;
14783 >  return 0;
14784 > }
14785 > _ACEOF
14786 > if ac_fn_c_try_compile "$LINENO"; then :
14787 >  eval "$as_CACHEVAR=yes"
14788 > else
14789 >  eval "$as_CACHEVAR=no"
14790 > fi
14791 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14792 >  CFLAGS=$ax_check_save_flags
14793 > fi
14794 > eval ac_res=\$$as_CACHEVAR
14795 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14796 > $as_echo "$ac_res" >&6; }
14797 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14798 >  if ${CFLAGS+:} false; then :
14799 >  case " $CFLAGS " in
14800 >    *" $flag "*)
14801 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14802 >  (: CFLAGS already contains $flag) 2>&5
14803 >  ac_status=$?
14804 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14805 >  test $ac_status = 0; }
14806 >      ;;
14807 >    *)
14808 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14809 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14810 >  ac_status=$?
14811 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14812 >  test $ac_status = 0; }
14813 >      CFLAGS="$CFLAGS $flag"
14814 >      ;;
14815 >   esac
14816 > else
14817 >  CFLAGS="$flag"
14818   fi
14819  
14820 <  if test "$efnet" = "yes" ; then
14821 <                use_efnet="yes"
14820 > else
14821 >  :
14822 > fi
14823  
14824 < $as_echo "#define EFNET 1" >>confdefs.h
14824 > done
14825  
14826 <        else
14827 <                use_efnet="no"
14828 <  fi
14829 <   if test "$use_efnet" = "yes"; then
14830 <  EFNET_TRUE=
14831 <  EFNET_FALSE='#'
14826 >
14827 >
14828 >
14829 >
14830 > for flag in -Wcast-align; do
14831 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14832 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14833 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14834 > if eval \${$as_CACHEVAR+:} false; then :
14835 >  $as_echo_n "(cached) " >&6
14836 > else
14837 >
14838 >  ax_check_save_flags=$CFLAGS
14839 >  CFLAGS="$CFLAGS  $flag"
14840 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 > /* end confdefs.h.  */
14842 >
14843 > int
14844 > main ()
14845 > {
14846 >
14847 >  ;
14848 >  return 0;
14849 > }
14850 > _ACEOF
14851 > if ac_fn_c_try_compile "$LINENO"; then :
14852 >  eval "$as_CACHEVAR=yes"
14853   else
14854 <  EFNET_TRUE='#'
14855 <  EFNET_FALSE=
14854 >  eval "$as_CACHEVAR=no"
14855 > fi
14856 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14857 >  CFLAGS=$ax_check_save_flags
14858 > fi
14859 > eval ac_res=\$$as_CACHEVAR
14860 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14861 > $as_echo "$ac_res" >&6; }
14862 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14863 >  if ${CFLAGS+:} false; then :
14864 >  case " $CFLAGS " in
14865 >    *" $flag "*)
14866 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14867 >  (: CFLAGS already contains $flag) 2>&5
14868 >  ac_status=$?
14869 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14870 >  test $ac_status = 0; }
14871 >      ;;
14872 >    *)
14873 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14874 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14875 >  ac_status=$?
14876 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14877 >  test $ac_status = 0; }
14878 >      CFLAGS="$CFLAGS $flag"
14879 >      ;;
14880 >   esac
14881 > else
14882 >  CFLAGS="$flag"
14883   fi
14884  
14885 + else
14886 +  :
14887 + fi
14888 +
14889 + done
14890 +
14891 +
14892  
14893  
14894 <  # Check whether --enable-halfops was given.
14895 < if test "${enable_halfops+set}" = set; then :
14896 <  enableval=$enable_halfops; halfops="$enableval"
14894 >
14895 > for flag in -Wbad-function-cast; do
14896 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14897 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14898 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14899 > if eval \${$as_CACHEVAR+:} false; then :
14900 >  $as_echo_n "(cached) " >&6
14901   else
14902 <  halfops="no"
14902 >
14903 >  ax_check_save_flags=$CFLAGS
14904 >  CFLAGS="$CFLAGS  $flag"
14905 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 > /* end confdefs.h.  */
14907 >
14908 > int
14909 > main ()
14910 > {
14911 >
14912 >  ;
14913 >  return 0;
14914 > }
14915 > _ACEOF
14916 > if ac_fn_c_try_compile "$LINENO"; then :
14917 >  eval "$as_CACHEVAR=yes"
14918 > else
14919 >  eval "$as_CACHEVAR=no"
14920 > fi
14921 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14922 >  CFLAGS=$ax_check_save_flags
14923 > fi
14924 > eval ac_res=\$$as_CACHEVAR
14925 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14926 > $as_echo "$ac_res" >&6; }
14927 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14928 >  if ${CFLAGS+:} false; then :
14929 >  case " $CFLAGS " in
14930 >    *" $flag "*)
14931 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14932 >  (: CFLAGS already contains $flag) 2>&5
14933 >  ac_status=$?
14934 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14935 >  test $ac_status = 0; }
14936 >      ;;
14937 >    *)
14938 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14939 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14940 >  ac_status=$?
14941 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14942 >  test $ac_status = 0; }
14943 >      CFLAGS="$CFLAGS $flag"
14944 >      ;;
14945 >   esac
14946 > else
14947 >  CFLAGS="$flag"
14948   fi
14949  
14950 <  if test "$halfops" = "yes" ; then
14950 > else
14951 >  :
14952 > fi
14953  
14954 < $as_echo "#define HALFOPS 1" >>confdefs.h
14954 > done
14955  
14521  fi
14956  
14957  
14958 <  # Check whether --enable-debugging was given.
14959 < if test "${enable_debugging+set}" = set; then :
14960 <  enableval=$enable_debugging; debugging="$enableval"
14958 >
14959 >
14960 > for flag in -Wlogical-op; do
14961 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14962 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14963 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14964 > if eval \${$as_CACHEVAR+:} false; then :
14965 >  $as_echo_n "(cached) " >&6
14966   else
14967 <  debugging="no"
14967 >
14968 >  ax_check_save_flags=$CFLAGS
14969 >  CFLAGS="$CFLAGS  $flag"
14970 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 > /* end confdefs.h.  */
14972 >
14973 > int
14974 > main ()
14975 > {
14976 >
14977 >  ;
14978 >  return 0;
14979 > }
14980 > _ACEOF
14981 > if ac_fn_c_try_compile "$LINENO"; then :
14982 >  eval "$as_CACHEVAR=yes"
14983 > else
14984 >  eval "$as_CACHEVAR=no"
14985 > fi
14986 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14987 >  CFLAGS=$ax_check_save_flags
14988 > fi
14989 > eval ac_res=\$$as_CACHEVAR
14990 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14991 > $as_echo "$ac_res" >&6; }
14992 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14993 >  if ${CFLAGS+:} false; then :
14994 >  case " $CFLAGS " in
14995 >    *" $flag "*)
14996 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14997 >  (: CFLAGS already contains $flag) 2>&5
14998 >  ac_status=$?
14999 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15000 >  test $ac_status = 0; }
15001 >      ;;
15002 >    *)
15003 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15004 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15005 >  ac_status=$?
15006 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15007 >  test $ac_status = 0; }
15008 >      CFLAGS="$CFLAGS $flag"
15009 >      ;;
15010 >   esac
15011 > else
15012 >  CFLAGS="$flag"
15013   fi
15014  
15015 <  if test "$debugging" = "yes" ; then
15015 > else
15016 >  :
15017 > fi
15018  
15019 < $as_echo "#define DEBUG 1" >>confdefs.h
15019 > done
15020  
14535    CFLAGS="-Wall -g -O0"
14536  else
15021  
14538 $as_echo "#define NDEBUG 1" >>confdefs.h
15022  
14540  fi
15023  
15024  
15025 <  # Check whether --enable-warnings was given.
15026 < if test "${enable_warnings+set}" = set; then :
15027 <  enableval=$enable_warnings; warnings="$enableval"
15025 > for flag in -Wmissing-declarations; do
15026 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15027 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15028 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15029 > if eval \${$as_CACHEVAR+:} false; then :
15030 >  $as_echo_n "(cached) " >&6
15031   else
15032 <  warnings="no"
15032 >
15033 >  ax_check_save_flags=$CFLAGS
15034 >  CFLAGS="$CFLAGS  $flag"
15035 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15036 > /* end confdefs.h.  */
15037 >
15038 > int
15039 > main ()
15040 > {
15041 >
15042 >  ;
15043 >  return 0;
15044 > }
15045 > _ACEOF
15046 > if ac_fn_c_try_compile "$LINENO"; then :
15047 >  eval "$as_CACHEVAR=yes"
15048 > else
15049 >  eval "$as_CACHEVAR=no"
15050 > fi
15051 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15052 >  CFLAGS=$ax_check_save_flags
15053 > fi
15054 > eval ac_res=\$$as_CACHEVAR
15055 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15056 > $as_echo "$ac_res" >&6; }
15057 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15058 >  if ${CFLAGS+:} false; then :
15059 >  case " $CFLAGS " in
15060 >    *" $flag "*)
15061 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15062 >  (: CFLAGS already contains $flag) 2>&5
15063 >  ac_status=$?
15064 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15065 >  test $ac_status = 0; }
15066 >      ;;
15067 >    *)
15068 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15069 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15070 >  ac_status=$?
15071 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15072 >  test $ac_status = 0; }
15073 >      CFLAGS="$CFLAGS $flag"
15074 >      ;;
15075 >   esac
15076 > else
15077 >  CFLAGS="$flag"
15078   fi
15079  
15080 <  if test "$warnings" = "yes" ; then
15081 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15080 > else
15081 >  :
15082 > fi
15083 >
15084 > done
15085 >
15086 >
15087 >
15088 >
15089 >
15090 > for flag in -Wmissing-include-dirs; do
15091 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15092 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15093 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15094 > if eval \${$as_CACHEVAR+:} false; then :
15095 >  $as_echo_n "(cached) " >&6
15096 > else
15097 >
15098 >  ax_check_save_flags=$CFLAGS
15099 >  CFLAGS="$CFLAGS  $flag"
15100 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 > /* end confdefs.h.  */
15102 >
15103 > int
15104 > main ()
15105 > {
15106 >
15107 >  ;
15108 >  return 0;
15109 > }
15110 > _ACEOF
15111 > if ac_fn_c_try_compile "$LINENO"; then :
15112 >  eval "$as_CACHEVAR=yes"
15113 > else
15114 >  eval "$as_CACHEVAR=no"
15115 > fi
15116 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15117 >  CFLAGS=$ax_check_save_flags
15118 > fi
15119 > eval ac_res=\$$as_CACHEVAR
15120 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15121 > $as_echo "$ac_res" >&6; }
15122 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15123 >  if ${CFLAGS+:} false; then :
15124 >  case " $CFLAGS " in
15125 >    *" $flag "*)
15126 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15127 >  (: CFLAGS already contains $flag) 2>&5
15128 >  ac_status=$?
15129 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15130 >  test $ac_status = 0; }
15131 >      ;;
15132 >    *)
15133 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15134 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15135 >  ac_status=$?
15136 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15137 >  test $ac_status = 0; }
15138 >      CFLAGS="$CFLAGS $flag"
15139 >      ;;
15140 >   esac
15141 > else
15142 >  CFLAGS="$flag"
15143 > fi
15144 >
15145 > else
15146 >  :
15147 > fi
15148 >
15149 > done
15150 >
15151 >
15152 >
15153 >
15154 >
15155 > for flag in -Wmissing-prototypes; do
15156 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15157 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15158 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15159 > if eval \${$as_CACHEVAR+:} false; then :
15160 >  $as_echo_n "(cached) " >&6
15161 > else
15162 >
15163 >  ax_check_save_flags=$CFLAGS
15164 >  CFLAGS="$CFLAGS  $flag"
15165 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 > /* end confdefs.h.  */
15167 >
15168 > int
15169 > main ()
15170 > {
15171 >
15172 >  ;
15173 >  return 0;
15174 > }
15175 > _ACEOF
15176 > if ac_fn_c_try_compile "$LINENO"; then :
15177 >  eval "$as_CACHEVAR=yes"
15178 > else
15179 >  eval "$as_CACHEVAR=no"
15180 > fi
15181 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 >  CFLAGS=$ax_check_save_flags
15183 > fi
15184 > eval ac_res=\$$as_CACHEVAR
15185 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15186 > $as_echo "$ac_res" >&6; }
15187 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15188 >  if ${CFLAGS+:} false; then :
15189 >  case " $CFLAGS " in
15190 >    *" $flag "*)
15191 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15192 >  (: CFLAGS already contains $flag) 2>&5
15193 >  ac_status=$?
15194 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15195 >  test $ac_status = 0; }
15196 >      ;;
15197 >    *)
15198 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15199 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15200 >  ac_status=$?
15201 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15202 >  test $ac_status = 0; }
15203 >      CFLAGS="$CFLAGS $flag"
15204 >      ;;
15205 >   esac
15206 > else
15207 >  CFLAGS="$flag"
15208 > fi
15209 >
15210 > else
15211 >  :
15212 > fi
15213 >
15214 > done
15215 >
15216 >
15217 >
15218 >
15219 >
15220 > for flag in -Wnested-externs; do
15221 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15222 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15223 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15224 > if eval \${$as_CACHEVAR+:} false; then :
15225 >  $as_echo_n "(cached) " >&6
15226 > else
15227 >
15228 >  ax_check_save_flags=$CFLAGS
15229 >  CFLAGS="$CFLAGS  $flag"
15230 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 > /* end confdefs.h.  */
15232 >
15233 > int
15234 > main ()
15235 > {
15236 >
15237 >  ;
15238 >  return 0;
15239 > }
15240 > _ACEOF
15241 > if ac_fn_c_try_compile "$LINENO"; then :
15242 >  eval "$as_CACHEVAR=yes"
15243 > else
15244 >  eval "$as_CACHEVAR=no"
15245 > fi
15246 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15247 >  CFLAGS=$ax_check_save_flags
15248 > fi
15249 > eval ac_res=\$$as_CACHEVAR
15250 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15251 > $as_echo "$ac_res" >&6; }
15252 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15253 >  if ${CFLAGS+:} false; then :
15254 >  case " $CFLAGS " in
15255 >    *" $flag "*)
15256 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15257 >  (: CFLAGS already contains $flag) 2>&5
15258 >  ac_status=$?
15259 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15260 >  test $ac_status = 0; }
15261 >      ;;
15262 >    *)
15263 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15264 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15265 >  ac_status=$?
15266 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15267 >  test $ac_status = 0; }
15268 >      CFLAGS="$CFLAGS $flag"
15269 >      ;;
15270 >   esac
15271 > else
15272 >  CFLAGS="$flag"
15273 > fi
15274 >
15275 > else
15276 >  :
15277 > fi
15278 >
15279 > done
15280 >
15281 >
15282 >
15283 >
15284 >
15285 > for flag in -Wpointer-arith; do
15286 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15287 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15288 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15289 > if eval \${$as_CACHEVAR+:} false; then :
15290 >  $as_echo_n "(cached) " >&6
15291 > else
15292 >
15293 >  ax_check_save_flags=$CFLAGS
15294 >  CFLAGS="$CFLAGS  $flag"
15295 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 > /* end confdefs.h.  */
15297 >
15298 > int
15299 > main ()
15300 > {
15301 >
15302 >  ;
15303 >  return 0;
15304 > }
15305 > _ACEOF
15306 > if ac_fn_c_try_compile "$LINENO"; then :
15307 >  eval "$as_CACHEVAR=yes"
15308 > else
15309 >  eval "$as_CACHEVAR=no"
15310 > fi
15311 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15312 >  CFLAGS=$ax_check_save_flags
15313 > fi
15314 > eval ac_res=\$$as_CACHEVAR
15315 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15316 > $as_echo "$ac_res" >&6; }
15317 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15318 >  if ${CFLAGS+:} false; then :
15319 >  case " $CFLAGS " in
15320 >    *" $flag "*)
15321 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15322 >  (: CFLAGS already contains $flag) 2>&5
15323 >  ac_status=$?
15324 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15325 >  test $ac_status = 0; }
15326 >      ;;
15327 >    *)
15328 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15329 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15330 >  ac_status=$?
15331 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15332 >  test $ac_status = 0; }
15333 >      CFLAGS="$CFLAGS $flag"
15334 >      ;;
15335 >   esac
15336 > else
15337 >  CFLAGS="$flag"
15338 > fi
15339 >
15340 > else
15341 >  :
15342 > fi
15343 >
15344 > done
15345 >
15346 >
15347 >
15348 >
15349 >
15350 > for flag in -Wredundant-decls; do
15351 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15352 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15353 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15354 > if eval \${$as_CACHEVAR+:} false; then :
15355 >  $as_echo_n "(cached) " >&6
15356 > else
15357 >
15358 >  ax_check_save_flags=$CFLAGS
15359 >  CFLAGS="$CFLAGS  $flag"
15360 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 > /* end confdefs.h.  */
15362 >
15363 > int
15364 > main ()
15365 > {
15366 >
15367 >  ;
15368 >  return 0;
15369 > }
15370 > _ACEOF
15371 > if ac_fn_c_try_compile "$LINENO"; then :
15372 >  eval "$as_CACHEVAR=yes"
15373 > else
15374 >  eval "$as_CACHEVAR=no"
15375 > fi
15376 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15377 >  CFLAGS=$ax_check_save_flags
15378 > fi
15379 > eval ac_res=\$$as_CACHEVAR
15380 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15381 > $as_echo "$ac_res" >&6; }
15382 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15383 >  if ${CFLAGS+:} false; then :
15384 >  case " $CFLAGS " in
15385 >    *" $flag "*)
15386 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15387 >  (: CFLAGS already contains $flag) 2>&5
15388 >  ac_status=$?
15389 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15390 >  test $ac_status = 0; }
15391 >      ;;
15392 >    *)
15393 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15394 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15395 >  ac_status=$?
15396 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15397 >  test $ac_status = 0; }
15398 >      CFLAGS="$CFLAGS $flag"
15399 >      ;;
15400 >   esac
15401 > else
15402 >  CFLAGS="$flag"
15403 > fi
15404 >
15405 > else
15406 >  :
15407 > fi
15408 >
15409 > done
15410 >
15411 >
15412 >
15413 >
15414 >
15415 > for flag in -Wshadow; do
15416 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15417 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15418 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15419 > if eval \${$as_CACHEVAR+:} false; then :
15420 >  $as_echo_n "(cached) " >&6
15421 > else
15422 >
15423 >  ax_check_save_flags=$CFLAGS
15424 >  CFLAGS="$CFLAGS  $flag"
15425 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 > /* end confdefs.h.  */
15427 >
15428 > int
15429 > main ()
15430 > {
15431 >
15432 >  ;
15433 >  return 0;
15434 > }
15435 > _ACEOF
15436 > if ac_fn_c_try_compile "$LINENO"; then :
15437 >  eval "$as_CACHEVAR=yes"
15438 > else
15439 >  eval "$as_CACHEVAR=no"
15440 > fi
15441 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15442 >  CFLAGS=$ax_check_save_flags
15443 > fi
15444 > eval ac_res=\$$as_CACHEVAR
15445 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15446 > $as_echo "$ac_res" >&6; }
15447 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15448 >  if ${CFLAGS+:} false; then :
15449 >  case " $CFLAGS " in
15450 >    *" $flag "*)
15451 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15452 >  (: CFLAGS already contains $flag) 2>&5
15453 >  ac_status=$?
15454 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15455 >  test $ac_status = 0; }
15456 >      ;;
15457 >    *)
15458 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15459 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15460 >  ac_status=$?
15461 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15462 >  test $ac_status = 0; }
15463 >      CFLAGS="$CFLAGS $flag"
15464 >      ;;
15465 >   esac
15466 > else
15467 >  CFLAGS="$flag"
15468 > fi
15469 >
15470 > else
15471 >  :
15472 > fi
15473 >
15474 > done
15475 >
15476 >
15477 >
15478 >
15479 >
15480 > for flag in -Wwrite-strings; do
15481 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15482 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15483 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15484 > if eval \${$as_CACHEVAR+:} false; then :
15485 >  $as_echo_n "(cached) " >&6
15486 > else
15487 >
15488 >  ax_check_save_flags=$CFLAGS
15489 >  CFLAGS="$CFLAGS  $flag"
15490 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491 > /* end confdefs.h.  */
15492 >
15493 > int
15494 > main ()
15495 > {
15496 >
15497 >  ;
15498 >  return 0;
15499 > }
15500 > _ACEOF
15501 > if ac_fn_c_try_compile "$LINENO"; then :
15502 >  eval "$as_CACHEVAR=yes"
15503 > else
15504 >  eval "$as_CACHEVAR=no"
15505 > fi
15506 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15507 >  CFLAGS=$ax_check_save_flags
15508 > fi
15509 > eval ac_res=\$$as_CACHEVAR
15510 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15511 > $as_echo "$ac_res" >&6; }
15512 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15513 >  if ${CFLAGS+:} false; then :
15514 >  case " $CFLAGS " in
15515 >    *" $flag "*)
15516 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15517 >  (: CFLAGS already contains $flag) 2>&5
15518 >  ac_status=$?
15519 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 >  test $ac_status = 0; }
15521 >      ;;
15522 >    *)
15523 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15524 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15525 >  ac_status=$?
15526 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15527 >  test $ac_status = 0; }
15528 >      CFLAGS="$CFLAGS $flag"
15529 >      ;;
15530 >   esac
15531 > else
15532 >  CFLAGS="$flag"
15533 > fi
15534 >
15535 > else
15536 >  :
15537 > fi
15538 >
15539 > done
15540 >
15541 >
15542 >
15543 >
15544 >
15545 > for flag in -Wundef; do
15546 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15547 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15548 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15549 > if eval \${$as_CACHEVAR+:} false; then :
15550 >  $as_echo_n "(cached) " >&6
15551 > else
15552 >
15553 >  ax_check_save_flags=$CFLAGS
15554 >  CFLAGS="$CFLAGS  $flag"
15555 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 > /* end confdefs.h.  */
15557 >
15558 > int
15559 > main ()
15560 > {
15561 >
15562 >  ;
15563 >  return 0;
15564 > }
15565 > _ACEOF
15566 > if ac_fn_c_try_compile "$LINENO"; then :
15567 >  eval "$as_CACHEVAR=yes"
15568 > else
15569 >  eval "$as_CACHEVAR=no"
15570 > fi
15571 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15572 >  CFLAGS=$ax_check_save_flags
15573 > fi
15574 > eval ac_res=\$$as_CACHEVAR
15575 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15576 > $as_echo "$ac_res" >&6; }
15577 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15578 >  if ${CFLAGS+:} false; then :
15579 >  case " $CFLAGS " in
15580 >    *" $flag "*)
15581 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15582 >  (: CFLAGS already contains $flag) 2>&5
15583 >  ac_status=$?
15584 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15585 >  test $ac_status = 0; }
15586 >      ;;
15587 >    *)
15588 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15589 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15590 >  ac_status=$?
15591 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15592 >  test $ac_status = 0; }
15593 >      CFLAGS="$CFLAGS $flag"
15594 >      ;;
15595 >   esac
15596 > else
15597 >  CFLAGS="$flag"
15598 > fi
15599 >
15600 > else
15601 >  :
15602 > fi
15603 >
15604 > done
15605 >
15606    fi
15607  
15608  
# Line 14638 | Line 15692 | _ACEOF
15692    test "$exec_prefix_NONE" && exec_prefix=NONE
15693  
15694  
15695 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/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"
15695 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15696  
15697  
15698   cat >confcache <<\_ACEOF
# Line 14750 | Line 15804 | LIBOBJS=$ac_libobjs
15804   LTLIBOBJS=$ac_ltlibobjs
15805  
15806  
15807 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15808 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15809 +   if test -n "$am_sleep_pid"; then
15810 +     # Hide warnings about reused PIDs.
15811 +     wait $am_sleep_pid 2>/dev/null
15812 +   fi
15813 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15814 + $as_echo "done" >&6; }
15815   if test -n "$EXEEXT"; then
15816    am__EXEEXT_TRUE=
15817    am__EXEEXT_FALSE='#'
# Line 14796 | Line 15858 | LT_CONFIG_H=config.h
15858  
15859  
15860  
14799 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14800  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14802 fi
15861   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15862    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15863   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15864   fi
14807 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14808  as_fn_error $? "conditional \"EFNET\" was never defined.
14809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810 fi
15865  
15866   : "${CONFIG_STATUS=./config.status}"
15867   ac_write_fail=0
# Line 15106 | Line 16160 | if (echo >conf$$.file) 2>/dev/null; then
16160      # ... but there are two gotchas:
16161      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16162      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16163 <    # In both cases, we have to default to `cp -p'.
16163 >    # In both cases, we have to default to `cp -pR'.
16164      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16165 <      as_ln_s='cp -p'
16165 >      as_ln_s='cp -pR'
16166    elif ln conf$$.file conf$$ 2>/dev/null; then
16167      as_ln_s=ln
16168    else
16169 <    as_ln_s='cp -p'
16169 >    as_ln_s='cp -pR'
16170    fi
16171   else
16172 <  as_ln_s='cp -p'
16172 >  as_ln_s='cp -pR'
16173   fi
16174   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16175   rmdir conf$$.dir 2>/dev/null
# Line 15175 | Line 16229 | else
16229    as_mkdir_p=false
16230   fi
16231  
16232 < if test -x / >/dev/null 2>&1; then
16233 <  as_test_x='test -x'
16234 < else
16235 <  if ls -dL / >/dev/null 2>&1; then
16236 <    as_ls_L_option=L
16237 <  else
16238 <    as_ls_L_option=
16239 <  fi
16240 <  as_test_x='
16241 <    eval sh -c '\''
15188 <      if test -d "$1"; then
15189 <        test -d "$1/.";
15190 <      else
15191 <        case $1 in #(
15192 <        -*)set "./$1";;
15193 <        esac;
15194 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15195 <        ???[sx]*):;;*)false;;esac;fi
15196 <    '\'' sh
15197 <  '
15198 < fi
15199 < as_executable_p=$as_test_x
16232 >
16233 > # as_fn_executable_p FILE
16234 > # -----------------------
16235 > # Test if FILE is an executable regular file.
16236 > as_fn_executable_p ()
16237 > {
16238 >  test -f "$1" && test -x "$1"
16239 > } # as_fn_executable_p
16240 > as_test_x='test -x'
16241 > as_executable_p=as_fn_executable_p
16242  
16243   # Sed expression to map a string onto a valid CPP name.
16244   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 15217 | Line 16259 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16259   # report actual input values of CONFIG_FILES etc. instead of their
16260   # values after options handling.
16261   ac_log="
16262 < This file was extended by ircd-hybrid $as_me 8beta1, which was
16263 < generated by GNU Autoconf 2.68.  Invocation command line was
16262 > This file was extended by ircd-hybrid $as_me 8.2.0beta4, which was
16263 > generated by GNU Autoconf 2.69.  Invocation command line was
16264  
16265    CONFIG_FILES    = $CONFIG_FILES
16266    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 15283 | Line 16325 | _ACEOF
16325   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16326   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16327   ac_cs_version="\\
16328 < ircd-hybrid config.status 8beta1
16329 < configured by $0, generated by GNU Autoconf 2.68,
16328 > ircd-hybrid config.status 8.2.0beta4
16329 > configured by $0, generated by GNU Autoconf 2.69,
16330    with options \\"\$ac_cs_config\\"
16331  
16332 < Copyright (C) 2010 Free Software Foundation, Inc.
16332 > Copyright (C) 2012 Free Software Foundation, Inc.
16333   This config.status script is free software; the Free Software Foundation
16334   gives unlimited permission to copy, distribute and modify it."
16335  
# Line 15378 | Line 16420 | fi
16420   _ACEOF
16421   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16422   if \$ac_cs_recheck; then
16423 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16423 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16424    shift
16425    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16426    CONFIG_SHELL='$SHELL'
# Line 15693 | Line 16735 | do
16735      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16736      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16737      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15696    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15697    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15698    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15699    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16738      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16739      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15702    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16740      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16741      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16742      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16743      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15707    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15708    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16744      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16745  
16746    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16303 | Line 17338 | $as_echo "$as_me: executing $ac_file com
17338  
17339    case $ac_file$ac_mode in
17340      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17341 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17341 >  # Older Autoconf quotes --file arguments for eval, but not when files
17342    # are listed without --file.  Let's play safe and only enable the eval
17343    # if we detect the quoting.
17344    case $CONFIG_FILES in
# Line 16316 | Line 17351 | $as_echo "$as_me: executing $ac_file com
17351      # Strip MF so we end up with the name of the file.
17352      mf=`echo "$mf" | sed -e 's/:.*$//'`
17353      # Check whether this is an Automake generated Makefile or not.
17354 <    # We used to match only the files named `Makefile.in', but
17354 >    # We used to match only the files named 'Makefile.in', but
17355      # some people rename them; so instead we look at the file content.
17356      # Grep'ing the first line is not enough: some people post-process
17357      # each Makefile.in and add a new line on top of each file to say so.
# Line 16350 | Line 17385 | $as_echo X"$mf" |
17385        continue
17386      fi
17387      # Extract the definition of DEPDIR, am__include, and am__quote
17388 <    # from the Makefile without running `make'.
17388 >    # from the Makefile without running 'make'.
17389      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17390      test -z "$DEPDIR" && continue
17391      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17392 <    test -z "am__include" && continue
17392 >    test -z "$am__include" && continue
17393      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16359    # When using ansi2knr, U may be empty or an underscore; expand it
16360    U=`sed -n 's/^U = //p' < "$mf"`
17394      # Find all dependency output files, they are included files with
17395      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17396      # simplest approach to changing $(DEPDIR) to its actual value in the
17397      # expansion.
17398      for file in `sed -n "
17399        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17400 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17400 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17401        # Make sure the directory exists.
17402        test -f "$dirpart/$file" && continue
17403        fdir=`$as_dirname -- "$file" ||

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1292 by michael, Sun Feb 12 20:36:27 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4246 by michael, Thu Jul 17 19:41:33 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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