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 1310 by michael, Mon Mar 26 15:45:02 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 3815 by michael, Tue Jun 3 20:13:48 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1304 2012-03-23 12:03:56Z michael .
2 > # From configure.ac Id: configure.ac 3725 2014-05-31 16:29:38Z 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.0beta3.
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.0beta3'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0beta3'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 628 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
631 EFNET_FALSE
632 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
635 ENABLE_PCRE_FALSE
636 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 707 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 771 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 784 | Line 805 | with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_libpcre_path
788 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
791 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
795 enable_rtsigio
814   enable_poll
815   enable_select
798 with_nicklen
799 with_topiclen
800 enable_efnet
801 enable_halfops
816   enable_debugging
817   enable_warnings
818   '
# Line 1268 | 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
1271    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1272    If a cross compiler is detected then cross compile mode will be used" >&2
1285    elif test "x$build_alias" != "x$host_alias"; then
1286      cross_compiling=yes
1287    fi
# Line 1355 | 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.0beta3 to adapt to many kinds of systems.
1371  
1372   Usage: $0 [OPTION]... [VAR=VALUE]...
1373  
# Line 1425 | 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.0beta3:";;
1441     esac
1442    cat <<\_ACEOF
1443  
# Line 1433 | 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-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
1450  --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.
1454  --enable-rtsigio        Force rtsigio usage.
1470    --enable-poll           Force poll usage.
1471    --enable-select         Force select usage.
1457  --enable-efnet          For IRCDs running on EFnet.
1458  --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1474  
# Line 1470 | 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
1473  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1474  --with-nicklen=<value>  Set nickname length (default 9).
1475  --with-topiclen=<value> Set topic length (default 160).
1486  
1487   Some influential environment variables:
1488    CC          C compiler command
# Line 1556 | 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.0beta3
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 1635 | 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 2082 | 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.0beta3, which was
2096 > generated by GNU Autoconf 2.69.  Invocation command line was
2097  
2098    $ $0 $@
2099  
# Line 2362 | Line 2372 | $as_echo "$as_me: creating cache $cache_
2372    >$cache_file
2373   fi
2374  
2365 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"
2370 as_fn_append ac_func_list " socketpair"
2379   as_fn_append ac_header_list " crypt.h"
2372 as_fn_append ac_header_list " inttypes.h"
2373 as_fn_append ac_header_list " stdint.h"
2380   as_fn_append ac_header_list " sys/resource.h"
2381   as_fn_append ac_header_list " sys/param.h"
2376 as_fn_append ac_header_list " errno.h"
2377 as_fn_append ac_header_list " sys/syslog.h"
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"
2382 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 2448 | 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 2516 | 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 2574 | 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; }
2577 # Just in case
2578 sleep 1
2579 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 2587 | 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
2609 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2610 <      # broken ls alias from the environment.  This has actually
2611 <      # happened.  Such a system could not be considered "sane".
2612 <      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2613 < alias in your environment" "$LINENO" 5
2614 <   fi
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 2624 | 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 2646 | 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 2663 | 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 2685 | 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 2725 | 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 2776 | 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 2805 | Line 2823 | fi
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2824   $as_echo "$MKDIR_P" >&6; }
2825  
2808 mkdir_p="$MKDIR_P"
2809 case $mkdir_p in
2810  [\\/$]* | ?:[\\/]*) ;;
2811  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2812 esac
2813
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 2829 | 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 2893 | 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 2915 | Line 2966 | fi
2966  
2967   # Define the identity of the package.
2968   PACKAGE='ircd-hybrid'
2969 < VERSION='8beta1'
2969 > VERSION='8.2.0beta3'
2970  
2971  
2972   cat >>confdefs.h <<_ACEOF
# Line 2943 | 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 2956 | 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 2978 | Line 3081 | fi
3081    MAINT=$MAINTAINER_MODE_TRUE
3082  
3083  
3084 +
3085   ac_config_headers="$ac_config_headers config.h"
3086  
3087  
# Line 3002 | 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 3068 | 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 3108 | 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 3161 | 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 3202 | 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 3260 | 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 3304 | 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 3750 | 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>
3754 < #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 3836 | 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 3847 | 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 3883 | 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 3901 | 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 3910 | 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 4110 | 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 4142 | 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 4162 | 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 4206 | 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 4238 | 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 4546 | 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 4622 | 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 4688 | 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 4755 | 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 5011 | 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 5055 | 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 5479 | 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 5519 | 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 5825 | 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 5865 | 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 5968 | 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 6012 | 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 6137 | 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 6177 | 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 6236 | 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 6276 | 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 6925 | 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 6965 | 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 7045 | 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 7085 | 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 7137 | 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 7177 | 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 7229 | 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 7269 | 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 7321 | 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 7361 | 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 7413 | 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 7453 | 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 8395 | 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 13008 | 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 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
13219 > $as_echo_n "checking whether C compiler accepts ... " >&6; }
13220 > if ${ax_cv_check_cflags__+:} false; then :
13221 >  $as_echo_n "(cached) " >&6
13222 > else
13223 >
13224 >  ax_check_save_flags=$CFLAGS
13225 >  CFLAGS="$CFLAGS  "
13226 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 > /* end confdefs.h.  */
13228 >
13229 > int
13230 > main ()
13231 > {
13232 >
13233 >  ;
13234 >  return 0;
13235 > }
13236 > _ACEOF
13237 > if ac_fn_c_try_compile "$LINENO"; then :
13238 >  ax_cv_check_cflags__=yes
13239 > else
13240 >  ax_cv_check_cflags__=no
13241 > fi
13242 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13243 >  CFLAGS=$ax_check_save_flags
13244 > fi
13245 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
13246 > $as_echo "$ax_cv_check_cflags__" >&6; }
13247 > if test x"$ax_cv_check_cflags__" = xyes; then :
13248 >  :
13249 > else
13250 >  :
13251 > fi
13252 >
13253 > if ${CFLAGS+:} false; then :
13254 >  case " $CFLAGS " in
13255 >    *"  "*)
13256 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
13257 >  (: CFLAGS already contains ) 2>&5
13258 >  ac_status=$?
13259 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 >  test $ac_status = 0; }
13261 >      ;;
13262 >    *)
13263 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
13264 >  (: CFLAGS="$CFLAGS ") 2>&5
13265 >  ac_status=$?
13266 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 >  test $ac_status = 0; }
13268 >      CFLAGS="$CFLAGS "
13269 >      ;;
13270 >   esac
13271 > else
13272 >  CFLAGS=""
13273 > fi
13274 >
13275 >
13276 >
13277 > for flag in -fno-strict-aliasing; do
13278 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13279 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13280 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13281 > if eval \${$as_CACHEVAR+:} false; then :
13282 >  $as_echo_n "(cached) " >&6
13283 > else
13284 >
13285 >  ax_check_save_flags=$CFLAGS
13286 >  CFLAGS="$CFLAGS  $flag"
13287 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 > /* end confdefs.h.  */
13289 >
13290 > int
13291 > main ()
13292 > {
13293 >
13294 >  ;
13295 >  return 0;
13296 > }
13297 > _ACEOF
13298 > if ac_fn_c_try_compile "$LINENO"; then :
13299 >  eval "$as_CACHEVAR=yes"
13300 > else
13301 >  eval "$as_CACHEVAR=no"
13302 > fi
13303 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13304 >  CFLAGS=$ax_check_save_flags
13305 > fi
13306 > eval ac_res=\$$as_CACHEVAR
13307 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13308 > $as_echo "$ac_res" >&6; }
13309 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13310 >  if ${CFLAGS+:} false; then :
13311 >  case " $CFLAGS " in
13312 >    *" $flag "*)
13313 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13314 >  (: CFLAGS already contains $flag) 2>&5
13315 >  ac_status=$?
13316 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13317 >  test $ac_status = 0; }
13318 >      ;;
13319 >    *)
13320 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13321 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13322 >  ac_status=$?
13323 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13324 >  test $ac_status = 0; }
13325 >      CFLAGS="$CFLAGS $flag"
13326 >      ;;
13327 >   esac
13328 > else
13329 >  CFLAGS="$flag"
13330 > fi
13331 >
13332 > else
13333 >  :
13334 > fi
13335 >
13336 > done
13337 >
13338 >
13339 >
13340 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13341 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13342 >
13343 > else
13344 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13345 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13346 > if ${ac_cv_search_getaddrinfo+:} false; then :
13347    $as_echo_n "(cached) " >&6
13348   else
13349    ac_func_search_save_LIBS=$LIBS
# Line 13023 | Line 13356 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13356   #ifdef __cplusplus
13357   extern "C"
13358   #endif
13359 < char socket ();
13359 > char getaddrinfo ();
13360   int
13361   main ()
13362   {
13363 < return socket ();
13363 > return getaddrinfo ();
13364    ;
13365    return 0;
13366   }
13367   _ACEOF
13368 < for ac_lib in '' socket; do
13368 > for ac_lib in '' nsl; do
13369    if test -z "$ac_lib"; then
13370      ac_res="none required"
13371    else
# Line 13040 | Line 13373 | for ac_lib in '' socket; do
13373      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13374    fi
13375    if ac_fn_c_try_link "$LINENO"; then :
13376 <  ac_cv_search_socket=$ac_res
13376 >  ac_cv_search_getaddrinfo=$ac_res
13377   fi
13378   rm -f core conftest.err conftest.$ac_objext \
13379      conftest$ac_exeext
13380 <  if ${ac_cv_search_socket+:} false; then :
13380 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13381    break
13382   fi
13383   done
13384 < if ${ac_cv_search_socket+:} false; then :
13384 > if ${ac_cv_search_getaddrinfo+:} false; then :
13385  
13386   else
13387 <  ac_cv_search_socket=no
13387 >  ac_cv_search_getaddrinfo=no
13388   fi
13389   rm conftest.$ac_ext
13390   LIBS=$ac_func_search_save_LIBS
13391   fi
13392 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13393 < $as_echo "$ac_cv_search_socket" >&6; }
13394 < ac_res=$ac_cv_search_socket
13392 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13393 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13394 > ac_res=$ac_cv_search_getaddrinfo
13395   if test "$ac_res" != no; then :
13396    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13397  
13065 else
13066  as_fn_error $? "socket library not found" "$LINENO" 5
13398   fi
13399  
13400 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13401 < $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13402 < if ${ac_cv_search_inet_ntoa+:} false; then :
13400 > fi
13401 >
13402 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13403 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13404 >
13405 > else
13406 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13407 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13408 > if ${ac_cv_search_getnameinfo+:} false; then :
13409    $as_echo_n "(cached) " >&6
13410   else
13411    ac_func_search_save_LIBS=$LIBS
# Line 13081 | Line 13418 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13418   #ifdef __cplusplus
13419   extern "C"
13420   #endif
13421 < char inet_ntoa ();
13421 > char getnameinfo ();
13422   int
13423   main ()
13424   {
13425 < return inet_ntoa ();
13425 > return getnameinfo ();
13426    ;
13427    return 0;
13428   }
# Line 13098 | Line 13435 | for ac_lib in '' nsl; do
13435      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13436    fi
13437    if ac_fn_c_try_link "$LINENO"; then :
13438 <  ac_cv_search_inet_ntoa=$ac_res
13438 >  ac_cv_search_getnameinfo=$ac_res
13439   fi
13440   rm -f core conftest.err conftest.$ac_objext \
13441      conftest$ac_exeext
13442 <  if ${ac_cv_search_inet_ntoa+:} false; then :
13442 >  if ${ac_cv_search_getnameinfo+:} false; then :
13443    break
13444   fi
13445   done
13446 < if ${ac_cv_search_inet_ntoa+:} false; then :
13446 > if ${ac_cv_search_getnameinfo+:} false; then :
13447  
13448   else
13449 <  ac_cv_search_inet_ntoa=no
13449 >  ac_cv_search_getnameinfo=no
13450   fi
13451   rm conftest.$ac_ext
13452   LIBS=$ac_func_search_save_LIBS
13453   fi
13454 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13455 < $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13456 < ac_res=$ac_cv_search_inet_ntoa
13454 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13455 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13456 > ac_res=$ac_cv_search_getnameinfo
13457   if test "$ac_res" != no; then :
13458    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13459  
13460   fi
13461  
13462 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13463 < $as_echo_n "checking for library containing inet_aton... " >&6; }
13464 < if ${ac_cv_search_inet_aton+:} false; then :
13462 > fi
13463 >
13464 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13465 > $as_echo_n "checking for library containing socket... " >&6; }
13466 > if ${ac_cv_search_socket+:} false; then :
13467    $as_echo_n "(cached) " >&6
13468   else
13469    ac_func_search_save_LIBS=$LIBS
# Line 13137 | Line 13476 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13476   #ifdef __cplusplus
13477   extern "C"
13478   #endif
13479 < char inet_aton ();
13479 > char socket ();
13480   int
13481   main ()
13482   {
13483 < return inet_aton ();
13483 > return socket ();
13484    ;
13485    return 0;
13486   }
13487   _ACEOF
13488 < for ac_lib in '' resolv; do
13488 > for ac_lib in '' socket; do
13489    if test -z "$ac_lib"; then
13490      ac_res="none required"
13491    else
# Line 13154 | Line 13493 | for ac_lib in '' resolv; do
13493      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13494    fi
13495    if ac_fn_c_try_link "$LINENO"; then :
13496 <  ac_cv_search_inet_aton=$ac_res
13496 >  ac_cv_search_socket=$ac_res
13497   fi
13498   rm -f core conftest.err conftest.$ac_objext \
13499      conftest$ac_exeext
13500 <  if ${ac_cv_search_inet_aton+:} false; then :
13500 >  if ${ac_cv_search_socket+:} false; then :
13501    break
13502   fi
13503   done
13504 < if ${ac_cv_search_inet_aton+:} false; then :
13504 > if ${ac_cv_search_socket+:} false; then :
13505  
13506   else
13507 <  ac_cv_search_inet_aton=no
13507 >  ac_cv_search_socket=no
13508   fi
13509   rm conftest.$ac_ext
13510   LIBS=$ac_func_search_save_LIBS
13511   fi
13512 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13513 < $as_echo "$ac_cv_search_inet_aton" >&6; }
13514 < ac_res=$ac_cv_search_inet_aton
13512 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13513 > $as_echo "$ac_cv_search_socket" >&6; }
13514 > ac_res=$ac_cv_search_socket
13515   if test "$ac_res" != no; then :
13516    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13517  
13518 + else
13519 +  as_fn_error $? "socket library not found" "$LINENO" 5
13520   fi
13521  
13181  for ac_func in inet_aton inet_ntop inet_pton
13182 do :
13183  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13185 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13186  cat >>confdefs.h <<_ACEOF
13187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13188 _ACEOF
13189
13190 fi
13191 done
13192
13522    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13523     #include <sys/socket.h>
13524     #include <netdb.h>
# Line 13506 | Line 13835 | done
13835  
13836  
13837  
13509
13510
13511
13512
13838   # Checks for header files.
13839  
13840  
# Line 13544 | Line 13869 | done
13869  
13870  
13871  
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557 # check for /dev/null so we can use it to hold evil fd's
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13559 $as_echo_n "checking for /dev/null... " >&6; }
13560 if test -c /dev/null; then :
13561
13562
13563 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13564
13565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13566 $as_echo "yes" >&6; }
13567 else
13568
13569
13570 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13571
13572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13573 $as_echo "no - using devnull.log" >&6; }
13574 fi
13575
13576
13872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13873   $as_echo_n "checking for library containing crypt... " >&6; }
13874   if ${ac_cv_search_crypt+:} false; then :
# Line 13631 | Line 13926 | if test "$ac_res" != no; then :
13926   fi
13927  
13928  
13929 <
13930 <
13931 < # Check whether --with-libpcre-path was given.
13932 < if test "${with_libpcre_path+set}" = set; then :
13933 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13934 < fi
13935 <
13936 <
13937 < # Check whether --enable-libpcre was given.
13643 < if test "${enable_libpcre+set}" = set; then :
13644 <  enableval=$enable_libpcre; libpcre=$enableval
13645 < else
13646 <  libpcre=yes
13647 < fi
13648 <
13649 <
13650 < if test "$libpcre" = "yes"; then :
13651 <
13652 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13653 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13654 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13655 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13656 < if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13929 > # Check whether --enable-libgeoip was given.
13930 > if test "${enable_libgeoip+set}" = set; then :
13931 >  enableval=$enable_libgeoip;
13932 > else
13933 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13934 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13935 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13936 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13937 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13938    $as_echo_n "(cached) " >&6
13939   else
13940 <  ac_check_lib_save_LIBS=$LIBS
13660 < LIBS="-lpcre  $LIBS"
13940 >  ac_func_search_save_LIBS=$LIBS
13941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942   /* end confdefs.h.  */
13943  
# Line 13667 | Line 13947 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13947   #ifdef __cplusplus
13948   extern "C"
13949   #endif
13950 < char pcre_study ();
13950 > char GeoIP_id_by_ipnum_v6_gl ();
13951   int
13952   main ()
13953   {
13954 < return pcre_study ();
13954 > return GeoIP_id_by_ipnum_v6_gl ();
13955    ;
13956    return 0;
13957   }
13958   _ACEOF
13959 < if ac_fn_c_try_link "$LINENO"; then :
13960 <  ac_cv_lib_pcre_pcre_study=yes
13961 < else
13962 <  ac_cv_lib_pcre_pcre_study=no
13959 > for ac_lib in '' GeoIP; do
13960 >  if test -z "$ac_lib"; then
13961 >    ac_res="none required"
13962 >  else
13963 >    ac_res=-l$ac_lib
13964 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13965 >  fi
13966 >  if ac_fn_c_try_link "$LINENO"; then :
13967 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13968   fi
13969   rm -f core conftest.err conftest.$ac_objext \
13970 <    conftest$ac_exeext conftest.$ac_ext
13971 < LIBS=$ac_check_lib_save_LIBS
13970 >    conftest$ac_exeext
13971 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13972 >  break
13973   fi
13974 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13975 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13690 < if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13691 <
13692 <      LIBS="-lpcre $LIBS"
13693 <
13694 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13695 <
13974 > done
13975 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13976  
13977   else
13978 <  libpcre=no
13978 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13979 > fi
13980 > rm conftest.$ac_ext
13981 > LIBS=$ac_func_search_save_LIBS
13982   fi
13983 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13984 + $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13985 + ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13986 + if test "$ac_res" != no; then :
13987 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13988  
13989 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13990  
13702 else
13703  libpcre=no
13991   fi
13992  
13993 + fi
13994  
13995  
13996   fi
13709 if test "$libpcre" = yes; then
13710  ENABLE_PCRE_TRUE=
13711  ENABLE_PCRE_FALSE='#'
13712 else
13713  ENABLE_PCRE_TRUE='#'
13714  ENABLE_PCRE_FALSE=
13715 fi
13997  
13998  
13999  
# Line 13803 | Line 14084 | fi
14084    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14085   $as_echo "found" >&6; }
14086  
14087 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14088 < $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14089 < if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14087 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14088 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14089 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14090    $as_echo_n "(cached) " >&6
14091   else
14092    ac_check_lib_save_LIBS=$LIBS
14093 < LIBS="-lssl  $LIBS"
14093 > LIBS="-lcrypto  $LIBS"
14094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095   /* end confdefs.h.  */
14096  
# Line 13819 | Line 14100 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14100   #ifdef __cplusplus
14101   extern "C"
14102   #endif
14103 < char SSL_connect ();
14103 > char RSA_free ();
14104   int
14105   main ()
14106   {
14107 < return SSL_connect ();
14107 > return RSA_free ();
14108    ;
14109    return 0;
14110   }
14111   _ACEOF
14112   if ac_fn_c_try_link "$LINENO"; then :
14113 <  ac_cv_lib_ssl_SSL_connect=yes
14113 >  ac_cv_lib_crypto_RSA_free=yes
14114   else
14115 <  ac_cv_lib_ssl_SSL_connect=no
14115 >  ac_cv_lib_crypto_RSA_free=no
14116   fi
14117   rm -f core conftest.err conftest.$ac_objext \
14118      conftest$ac_exeext conftest.$ac_ext
14119   LIBS=$ac_check_lib_save_LIBS
14120   fi
14121 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14122 < $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14123 < if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14121 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14122 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14123 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14124    cat >>confdefs.h <<_ACEOF
14125 < #define HAVE_LIBSSL 1
14125 > #define HAVE_LIBCRYPTO 1
14126   _ACEOF
14127  
14128 <  LIBS="-lssl $LIBS"
14128 >  LIBS="-lcrypto $LIBS"
14129  
14130   fi
14131  
14132 <    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
14133 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14134 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14135 < if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14132 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14133 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14134 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14135 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14136    $as_echo_n "(cached) " >&6
14137   else
14138    ac_check_lib_save_LIBS=$LIBS
14139 < LIBS="-lcrypto  $LIBS"
14139 > LIBS="-lssl  $LIBS"
14140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141   /* end confdefs.h.  */
14142  
# Line 13865 | Line 14146 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14146   #ifdef __cplusplus
14147   extern "C"
14148   #endif
14149 < char RSA_free ();
14149 > char SSL_connect ();
14150   int
14151   main ()
14152   {
14153 < return RSA_free ();
14153 > return SSL_connect ();
14154    ;
14155    return 0;
14156   }
14157   _ACEOF
14158   if ac_fn_c_try_link "$LINENO"; then :
14159 <  ac_cv_lib_crypto_RSA_free=yes
14159 >  ac_cv_lib_ssl_SSL_connect=yes
14160   else
14161 <  ac_cv_lib_crypto_RSA_free=no
14161 >  ac_cv_lib_ssl_SSL_connect=no
14162   fi
14163   rm -f core conftest.err conftest.$ac_objext \
14164      conftest$ac_exeext conftest.$ac_ext
14165   LIBS=$ac_check_lib_save_LIBS
14166   fi
14167 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14168 < $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14169 < if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14167 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14168 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14169 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14170    cat >>confdefs.h <<_ACEOF
14171 < #define HAVE_LIBCRYPTO 1
14171 > #define HAVE_LIBSSL 1
14172   _ACEOF
14173  
14174 <  LIBS="-lcrypto $LIBS"
14174 >  LIBS="-lssl $LIBS"
14175  
14176   fi
14177  
# Line 13903 | Line 14184 | $as_echo "no - OpenSSL support disabled"
14184   fi
14185   fi
14186  
14187 < if test "$ac_cv_lib_crypto_RSA_free" = yes; then
14187 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14188    ENABLE_SSL_TRUE=
14189    ENABLE_SSL_FALSE='#'
14190   else
# Line 13928 | Line 14209 | $as_echo "#define NDEBUG 1" >>confdefs.h
14209   fi
14210  
14211  
14212 < # Check whether --enable-small-net was given.
13932 < if test "${enable_small_net+set}" = set; then :
13933 <  enableval=$enable_small_net; small_net=$enableval
13934 < else
13935 <  small_net=no
13936 < fi
13937 <
13938 <
13939 < if test "$small_net" = "yes"; then :
13940 <
14212 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14213  
13942 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14214  
14215 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14216  
13945 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14217  
14218 <
13948 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13949 <
13950 <
13951 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13952 <
13953 <
13954 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13955 <
13956 <
13957 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13958 <
13959 <
13960 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13961 <
13962 <
13963 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13964 <
13965 <
13966 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13967 <
13968 <
13969 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13970 <
13971 < else
14218 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14219  
14220  
14221 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14222  
13975 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14223  
14224 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14225  
13978 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14226  
14227 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14228  
13981 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14229  
14230 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14231  
13984 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14232  
14233 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14234  
13987 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14235  
14236 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14237  
13990 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14238  
14239 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14240  
13993 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14241  
14242 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14243  
13996 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14244  
14245 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14246  
13999 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14247  
14248 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14249  
14002 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14250  
14251 < fi
14251 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14252  
14253  
14254   # Argument processing.
# Line 14022 | Line 14269 | if test "${enable_devpoll+set}" = set; t
14269    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14270   fi
14271  
14025  # Check whether --enable-rtsigio was given.
14026 if test "${enable_rtsigio+set}" = set; then :
14027  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14028 fi
14029
14272    # Check whether --enable-poll was given.
14273   if test "${enable_poll+set}" = set; then :
14274    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 14210 | Line 14452 | rm -f core conftest.err conftest.$ac_obj
14452   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14453  
14454    fi
14455 <      iopoll_mechanism_rtsigio=4
14214 <
14215 < cat >>confdefs.h <<_ACEOF
14216 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14217 < _ACEOF
14218 <
14219 <  if test "$cross_compiling" = yes; then :
14220 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14221 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14222 < as_fn_error $? "cannot run test program while cross compiling
14223 < See \`config.log' for more details" "$LINENO" 5; }
14224 < else
14225 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 < /* end confdefs.h.  */
14227 <
14228 < #define _GNU_SOURCE
14229 < #include <fcntl.h>
14230 < static unsigned int have_f_setsig = 0;
14231 <
14232 < int
14233 < main ()
14234 < {
14235 <
14236 < #ifdef F_SETSIG
14237 <  have_f_setsig = 1;
14238 < #endif
14239 <  return have_f_setsig == 0;
14240 <
14241 <  ;
14242 <  return 0;
14243 < }
14244 < _ACEOF
14245 < if ac_fn_c_try_run "$LINENO"; then :
14246 <  is_rtsigio_mechanism_available="yes"
14247 < else
14248 <  is_rtsigio_mechanism_available="no"
14249 < fi
14250 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14251 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14252 < fi
14253 <
14254 <      iopoll_mechanism_poll=5
14455 >      iopoll_mechanism_poll=4
14456  
14457   cat >>confdefs.h <<_ACEOF
14458   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14305 | Line 14506 | else
14506   fi
14507   rm -f core conftest.err conftest.$ac_objext \
14508      conftest$ac_exeext conftest.$ac_ext
14509 <      iopoll_mechanism_select=6
14509 >      iopoll_mechanism_select=5
14510  
14511   cat >>confdefs.h <<_ACEOF
14512   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 14360 | Line 14561 | fi
14561   rm -f core conftest.err conftest.$ac_objext \
14562      conftest$ac_exeext conftest.$ac_ext
14563        optimal_iopoll_mechanism="none"
14564 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14564 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14565      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14566      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14567        optimal_iopoll_mechanism="$mechanism"
# Line 14397 | Line 14598 | _ACEOF
14598  
14599  
14600  
14601 +  # Check whether --enable-debugging was given.
14602 + if test "${enable_debugging+set}" = set; then :
14603 +  enableval=$enable_debugging; debugging="$enableval"
14604 + else
14605 +  debugging="no"
14606 + fi
14607  
14608 < # Check whether --with-nicklen was given.
14609 < if test "${with_nicklen+set}" = set; then :
14610 <  withval=$with_nicklen; nicklen="$withval"
14608 >  if test "$debugging" = "yes" ; then
14609 >    CFLAGS="-Wall -g -O0"
14610 >  fi
14611 >
14612 >
14613 >  # Check whether --enable-warnings was given.
14614 > if test "${enable_warnings+set}" = set; then :
14615 >  enableval=$enable_warnings; warnings="$enableval"
14616   else
14617 <  nicklen="9"
14617 >  warnings="no"
14618   fi
14619  
14620 +  if test "$warnings" = "yes" ; then
14621  
14622 < cat >>confdefs.h <<_ACEOF
14623 < #define NICKLEN ($nicklen+1)
14622 >
14623 > for flag in -Wall; do
14624 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14625 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14626 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14627 > if eval \${$as_CACHEVAR+:} false; then :
14628 >  $as_echo_n "(cached) " >&6
14629 > else
14630 >
14631 >  ax_check_save_flags=$CFLAGS
14632 >  CFLAGS="$CFLAGS  $flag"
14633 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 > /* end confdefs.h.  */
14635 >
14636 > int
14637 > main ()
14638 > {
14639 >
14640 >  ;
14641 >  return 0;
14642 > }
14643   _ACEOF
14644 + if ac_fn_c_try_compile "$LINENO"; then :
14645 +  eval "$as_CACHEVAR=yes"
14646 + else
14647 +  eval "$as_CACHEVAR=no"
14648 + fi
14649 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 +  CFLAGS=$ax_check_save_flags
14651 + fi
14652 + eval ac_res=\$$as_CACHEVAR
14653 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14654 + $as_echo "$ac_res" >&6; }
14655 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14656 +  if ${CFLAGS+:} false; then :
14657 +  case " $CFLAGS " in
14658 +    *" $flag "*)
14659 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14660 +  (: CFLAGS already contains $flag) 2>&5
14661 +  ac_status=$?
14662 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14663 +  test $ac_status = 0; }
14664 +      ;;
14665 +    *)
14666 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14667 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14668 +  ac_status=$?
14669 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14670 +  test $ac_status = 0; }
14671 +      CFLAGS="$CFLAGS $flag"
14672 +      ;;
14673 +   esac
14674 + else
14675 +  CFLAGS="$flag"
14676 + fi
14677 +
14678 + else
14679 +  :
14680 + fi
14681  
14682 + done
14683  
14684  
14685  
14686 < # Check whether --with-topiclen was given.
14687 < if test "${with_topiclen+set}" = set; then :
14688 <  withval=$with_topiclen; topiclen="$withval"
14686 > for flag in -Wextra; do
14687 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14688 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14689 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14690 > if eval \${$as_CACHEVAR+:} false; then :
14691 >  $as_echo_n "(cached) " >&6
14692   else
14693 <  topiclen="160"
14693 >
14694 >  ax_check_save_flags=$CFLAGS
14695 >  CFLAGS="$CFLAGS  $flag"
14696 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 > /* end confdefs.h.  */
14698 >
14699 > int
14700 > main ()
14701 > {
14702 >
14703 >  ;
14704 >  return 0;
14705 > }
14706 > _ACEOF
14707 > if ac_fn_c_try_compile "$LINENO"; then :
14708 >  eval "$as_CACHEVAR=yes"
14709 > else
14710 >  eval "$as_CACHEVAR=no"
14711 > fi
14712 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14713 >  CFLAGS=$ax_check_save_flags
14714 > fi
14715 > eval ac_res=\$$as_CACHEVAR
14716 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14717 > $as_echo "$ac_res" >&6; }
14718 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14719 >  if ${CFLAGS+:} false; then :
14720 >  case " $CFLAGS " in
14721 >    *" $flag "*)
14722 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14723 >  (: CFLAGS already contains $flag) 2>&5
14724 >  ac_status=$?
14725 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726 >  test $ac_status = 0; }
14727 >      ;;
14728 >    *)
14729 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14730 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14731 >  ac_status=$?
14732 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14733 >  test $ac_status = 0; }
14734 >      CFLAGS="$CFLAGS $flag"
14735 >      ;;
14736 >   esac
14737 > else
14738 >  CFLAGS="$flag"
14739   fi
14740  
14741 + else
14742 +  :
14743 + fi
14744  
14745 < cat >>confdefs.h <<_ACEOF
14746 < #define TOPICLEN ($topiclen)
14745 > done
14746 >
14747 >
14748 >
14749 > for flag in -Wno-unused; do
14750 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14751 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14752 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14753 > if eval \${$as_CACHEVAR+:} false; then :
14754 >  $as_echo_n "(cached) " >&6
14755 > else
14756 >
14757 >  ax_check_save_flags=$CFLAGS
14758 >  CFLAGS="$CFLAGS  $flag"
14759 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 > /* end confdefs.h.  */
14761 >
14762 > int
14763 > main ()
14764 > {
14765 >
14766 >  ;
14767 >  return 0;
14768 > }
14769 > _ACEOF
14770 > if ac_fn_c_try_compile "$LINENO"; then :
14771 >  eval "$as_CACHEVAR=yes"
14772 > else
14773 >  eval "$as_CACHEVAR=no"
14774 > fi
14775 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14776 >  CFLAGS=$ax_check_save_flags
14777 > fi
14778 > eval ac_res=\$$as_CACHEVAR
14779 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14780 > $as_echo "$ac_res" >&6; }
14781 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14782 >  if ${CFLAGS+:} false; then :
14783 >  case " $CFLAGS " in
14784 >    *" $flag "*)
14785 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14786 >  (: CFLAGS already contains $flag) 2>&5
14787 >  ac_status=$?
14788 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14789 >  test $ac_status = 0; }
14790 >      ;;
14791 >    *)
14792 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14793 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14794 >  ac_status=$?
14795 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14796 >  test $ac_status = 0; }
14797 >      CFLAGS="$CFLAGS $flag"
14798 >      ;;
14799 >   esac
14800 > else
14801 >  CFLAGS="$flag"
14802 > fi
14803 >
14804 > else
14805 >  :
14806 > fi
14807 >
14808 > done
14809 >
14810 >
14811 >
14812 > for flag in -Wcast-qual; do
14813 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14814 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14815 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14816 > if eval \${$as_CACHEVAR+:} false; then :
14817 >  $as_echo_n "(cached) " >&6
14818 > else
14819 >
14820 >  ax_check_save_flags=$CFLAGS
14821 >  CFLAGS="$CFLAGS  $flag"
14822 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 > /* end confdefs.h.  */
14824 >
14825 > int
14826 > main ()
14827 > {
14828 >
14829 >  ;
14830 >  return 0;
14831 > }
14832   _ACEOF
14833 + if ac_fn_c_try_compile "$LINENO"; then :
14834 +  eval "$as_CACHEVAR=yes"
14835 + else
14836 +  eval "$as_CACHEVAR=no"
14837 + fi
14838 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 +  CFLAGS=$ax_check_save_flags
14840 + fi
14841 + eval ac_res=\$$as_CACHEVAR
14842 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14843 + $as_echo "$ac_res" >&6; }
14844 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14845 +  if ${CFLAGS+:} false; then :
14846 +  case " $CFLAGS " in
14847 +    *" $flag "*)
14848 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14849 +  (: CFLAGS already contains $flag) 2>&5
14850 +  ac_status=$?
14851 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14852 +  test $ac_status = 0; }
14853 +      ;;
14854 +    *)
14855 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14856 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14857 +  ac_status=$?
14858 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14859 +  test $ac_status = 0; }
14860 +      CFLAGS="$CFLAGS $flag"
14861 +      ;;
14862 +   esac
14863 + else
14864 +  CFLAGS="$flag"
14865 + fi
14866 +
14867 + else
14868 +  :
14869 + fi
14870 +
14871 + done
14872  
14873  
14874  
14875 <  # Check whether --enable-efnet was given.
14876 < if test "${enable_efnet+set}" = set; then :
14877 <  enableval=$enable_efnet; efnet="$enableval"
14875 > for flag in -Wcast-align; do
14876 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14877 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14878 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14879 > if eval \${$as_CACHEVAR+:} false; then :
14880 >  $as_echo_n "(cached) " >&6
14881 > else
14882 >
14883 >  ax_check_save_flags=$CFLAGS
14884 >  CFLAGS="$CFLAGS  $flag"
14885 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 > /* end confdefs.h.  */
14887 >
14888 > int
14889 > main ()
14890 > {
14891 >
14892 >  ;
14893 >  return 0;
14894 > }
14895 > _ACEOF
14896 > if ac_fn_c_try_compile "$LINENO"; then :
14897 >  eval "$as_CACHEVAR=yes"
14898 > else
14899 >  eval "$as_CACHEVAR=no"
14900 > fi
14901 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14902 >  CFLAGS=$ax_check_save_flags
14903 > fi
14904 > eval ac_res=\$$as_CACHEVAR
14905 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14906 > $as_echo "$ac_res" >&6; }
14907 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14908 >  if ${CFLAGS+:} false; then :
14909 >  case " $CFLAGS " in
14910 >    *" $flag "*)
14911 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14912 >  (: CFLAGS already contains $flag) 2>&5
14913 >  ac_status=$?
14914 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14915 >  test $ac_status = 0; }
14916 >      ;;
14917 >    *)
14918 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14919 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14920 >  ac_status=$?
14921 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14922 >  test $ac_status = 0; }
14923 >      CFLAGS="$CFLAGS $flag"
14924 >      ;;
14925 >   esac
14926 > else
14927 >  CFLAGS="$flag"
14928 > fi
14929 >
14930   else
14931 <  efnet="no"
14931 >  :
14932   fi
14933  
14934 <  if test "$efnet" = "yes" ; then
14438 <                use_efnet="yes"
14934 > done
14935  
14440 $as_echo "#define EFNET 1" >>confdefs.h
14936  
14937 <        else
14938 <                use_efnet="no"
14939 <  fi
14940 <   if test "$use_efnet" = "yes"; then
14941 <  EFNET_TRUE=
14942 <  EFNET_FALSE='#'
14937 >
14938 > for flag in -Wbad-function-cast; do
14939 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14940 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14941 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14942 > if eval \${$as_CACHEVAR+:} false; then :
14943 >  $as_echo_n "(cached) " >&6
14944 > else
14945 >
14946 >  ax_check_save_flags=$CFLAGS
14947 >  CFLAGS="$CFLAGS  $flag"
14948 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 > /* end confdefs.h.  */
14950 >
14951 > int
14952 > main ()
14953 > {
14954 >
14955 >  ;
14956 >  return 0;
14957 > }
14958 > _ACEOF
14959 > if ac_fn_c_try_compile "$LINENO"; then :
14960 >  eval "$as_CACHEVAR=yes"
14961 > else
14962 >  eval "$as_CACHEVAR=no"
14963 > fi
14964 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14965 >  CFLAGS=$ax_check_save_flags
14966 > fi
14967 > eval ac_res=\$$as_CACHEVAR
14968 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14969 > $as_echo "$ac_res" >&6; }
14970 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14971 >  if ${CFLAGS+:} false; then :
14972 >  case " $CFLAGS " in
14973 >    *" $flag "*)
14974 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14975 >  (: CFLAGS already contains $flag) 2>&5
14976 >  ac_status=$?
14977 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14978 >  test $ac_status = 0; }
14979 >      ;;
14980 >    *)
14981 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14982 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14983 >  ac_status=$?
14984 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 >  test $ac_status = 0; }
14986 >      CFLAGS="$CFLAGS $flag"
14987 >      ;;
14988 >   esac
14989   else
14990 <  EFNET_TRUE='#'
14450 <  EFNET_FALSE=
14990 >  CFLAGS="$flag"
14991   fi
14992  
14993 + else
14994 +  :
14995 + fi
14996 +
14997 + done
14998 +
14999 +
15000 +
15001 + for flag in -Wlogical-op; do
15002 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15003 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15004 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15005 + if eval \${$as_CACHEVAR+:} false; then :
15006 +  $as_echo_n "(cached) " >&6
15007 + else
15008 +
15009 +  ax_check_save_flags=$CFLAGS
15010 +  CFLAGS="$CFLAGS  $flag"
15011 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 + /* end confdefs.h.  */
15013  
15014 + int
15015 + main ()
15016 + {
15017  
15018 <  # Check whether --enable-halfops was given.
15019 < if test "${enable_halfops+set}" = set; then :
15020 <  enableval=$enable_halfops; halfops="$enableval"
15018 >  ;
15019 >  return 0;
15020 > }
15021 > _ACEOF
15022 > if ac_fn_c_try_compile "$LINENO"; then :
15023 >  eval "$as_CACHEVAR=yes"
15024   else
15025 <  halfops="no"
15025 >  eval "$as_CACHEVAR=no"
15026 > fi
15027 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15028 >  CFLAGS=$ax_check_save_flags
15029 > fi
15030 > eval ac_res=\$$as_CACHEVAR
15031 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15032 > $as_echo "$ac_res" >&6; }
15033 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15034 >  if ${CFLAGS+:} false; then :
15035 >  case " $CFLAGS " in
15036 >    *" $flag "*)
15037 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15038 >  (: CFLAGS already contains $flag) 2>&5
15039 >  ac_status=$?
15040 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15041 >  test $ac_status = 0; }
15042 >      ;;
15043 >    *)
15044 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15045 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15046 >  ac_status=$?
15047 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15048 >  test $ac_status = 0; }
15049 >      CFLAGS="$CFLAGS $flag"
15050 >      ;;
15051 >   esac
15052 > else
15053 >  CFLAGS="$flag"
15054   fi
15055  
15056 <  if test "$halfops" = "yes" ; then
15056 > else
15057 >  :
15058 > fi
15059  
15060 < $as_echo "#define HALFOPS 1" >>confdefs.h
15060 > done
15061  
14466  fi
15062  
15063  
15064 <  # Check whether --enable-debugging was given.
15065 < if test "${enable_debugging+set}" = set; then :
15066 <  enableval=$enable_debugging; debugging="$enableval"
15064 > for flag in -Wmissing-declarations; do
15065 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15066 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15067 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15068 > if eval \${$as_CACHEVAR+:} false; then :
15069 >  $as_echo_n "(cached) " >&6
15070   else
15071 <  debugging="no"
15071 >
15072 >  ax_check_save_flags=$CFLAGS
15073 >  CFLAGS="$CFLAGS  $flag"
15074 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 > /* end confdefs.h.  */
15076 >
15077 > int
15078 > main ()
15079 > {
15080 >
15081 >  ;
15082 >  return 0;
15083 > }
15084 > _ACEOF
15085 > if ac_fn_c_try_compile "$LINENO"; then :
15086 >  eval "$as_CACHEVAR=yes"
15087 > else
15088 >  eval "$as_CACHEVAR=no"
15089 > fi
15090 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 >  CFLAGS=$ax_check_save_flags
15092 > fi
15093 > eval ac_res=\$$as_CACHEVAR
15094 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15095 > $as_echo "$ac_res" >&6; }
15096 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15097 >  if ${CFLAGS+:} false; then :
15098 >  case " $CFLAGS " in
15099 >    *" $flag "*)
15100 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15101 >  (: CFLAGS already contains $flag) 2>&5
15102 >  ac_status=$?
15103 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 >  test $ac_status = 0; }
15105 >      ;;
15106 >    *)
15107 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15108 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15109 >  ac_status=$?
15110 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15111 >  test $ac_status = 0; }
15112 >      CFLAGS="$CFLAGS $flag"
15113 >      ;;
15114 >   esac
15115 > else
15116 >  CFLAGS="$flag"
15117   fi
15118  
15119 <  if test "$debugging" = "yes" ; then
15119 > else
15120 >  :
15121 > fi
15122  
15123 < $as_echo "#define DEBUG 1" >>confdefs.h
15123 > done
15124  
14480    CFLAGS="-Wall -g -O0"
14481  else
15125  
14483 $as_echo "#define NDEBUG 1" >>confdefs.h
15126  
15127 <  fi
15127 > for flag in -Wmissing-include-dirs; do
15128 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15129 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15130 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15131 > if eval \${$as_CACHEVAR+:} false; then :
15132 >  $as_echo_n "(cached) " >&6
15133 > else
15134  
15135 +  ax_check_save_flags=$CFLAGS
15136 +  CFLAGS="$CFLAGS  $flag"
15137 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 + /* end confdefs.h.  */
15139  
15140 <  # Check whether --enable-warnings was given.
15141 < if test "${enable_warnings+set}" = set; then :
15142 <  enableval=$enable_warnings; warnings="$enableval"
15140 > int
15141 > main ()
15142 > {
15143 >
15144 >  ;
15145 >  return 0;
15146 > }
15147 > _ACEOF
15148 > if ac_fn_c_try_compile "$LINENO"; then :
15149 >  eval "$as_CACHEVAR=yes"
15150   else
15151 <  warnings="no"
15151 >  eval "$as_CACHEVAR=no"
15152 > fi
15153 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15154 >  CFLAGS=$ax_check_save_flags
15155 > fi
15156 > eval ac_res=\$$as_CACHEVAR
15157 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15158 > $as_echo "$ac_res" >&6; }
15159 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15160 >  if ${CFLAGS+:} false; then :
15161 >  case " $CFLAGS " in
15162 >    *" $flag "*)
15163 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15164 >  (: CFLAGS already contains $flag) 2>&5
15165 >  ac_status=$?
15166 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15167 >  test $ac_status = 0; }
15168 >      ;;
15169 >    *)
15170 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15171 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15172 >  ac_status=$?
15173 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174 >  test $ac_status = 0; }
15175 >      CFLAGS="$CFLAGS $flag"
15176 >      ;;
15177 >   esac
15178 > else
15179 >  CFLAGS="$flag"
15180   fi
15181  
15182 <  if test "$warnings" = "yes" ; then
15183 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15182 > else
15183 >  :
15184 > fi
15185 >
15186 > done
15187 >
15188 >
15189 >
15190 > for flag in -Wmissing-prototypes; do
15191 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15192 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15193 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15194 > if eval \${$as_CACHEVAR+:} false; then :
15195 >  $as_echo_n "(cached) " >&6
15196 > else
15197 >
15198 >  ax_check_save_flags=$CFLAGS
15199 >  CFLAGS="$CFLAGS  $flag"
15200 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 > /* end confdefs.h.  */
15202 >
15203 > int
15204 > main ()
15205 > {
15206 >
15207 >  ;
15208 >  return 0;
15209 > }
15210 > _ACEOF
15211 > if ac_fn_c_try_compile "$LINENO"; then :
15212 >  eval "$as_CACHEVAR=yes"
15213 > else
15214 >  eval "$as_CACHEVAR=no"
15215 > fi
15216 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15217 >  CFLAGS=$ax_check_save_flags
15218 > fi
15219 > eval ac_res=\$$as_CACHEVAR
15220 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15221 > $as_echo "$ac_res" >&6; }
15222 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15223 >  if ${CFLAGS+:} false; then :
15224 >  case " $CFLAGS " in
15225 >    *" $flag "*)
15226 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15227 >  (: CFLAGS already contains $flag) 2>&5
15228 >  ac_status=$?
15229 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15230 >  test $ac_status = 0; }
15231 >      ;;
15232 >    *)
15233 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15234 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15235 >  ac_status=$?
15236 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15237 >  test $ac_status = 0; }
15238 >      CFLAGS="$CFLAGS $flag"
15239 >      ;;
15240 >   esac
15241 > else
15242 >  CFLAGS="$flag"
15243 > fi
15244 >
15245 > else
15246 >  :
15247 > fi
15248 >
15249 > done
15250 >
15251 >
15252 >
15253 > for flag in -Wnested-externs; do
15254 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15255 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15256 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15257 > if eval \${$as_CACHEVAR+:} false; then :
15258 >  $as_echo_n "(cached) " >&6
15259 > else
15260 >
15261 >  ax_check_save_flags=$CFLAGS
15262 >  CFLAGS="$CFLAGS  $flag"
15263 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 > /* end confdefs.h.  */
15265 >
15266 > int
15267 > main ()
15268 > {
15269 >
15270 >  ;
15271 >  return 0;
15272 > }
15273 > _ACEOF
15274 > if ac_fn_c_try_compile "$LINENO"; then :
15275 >  eval "$as_CACHEVAR=yes"
15276 > else
15277 >  eval "$as_CACHEVAR=no"
15278 > fi
15279 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15280 >  CFLAGS=$ax_check_save_flags
15281 > fi
15282 > eval ac_res=\$$as_CACHEVAR
15283 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15284 > $as_echo "$ac_res" >&6; }
15285 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15286 >  if ${CFLAGS+:} false; then :
15287 >  case " $CFLAGS " in
15288 >    *" $flag "*)
15289 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15290 >  (: CFLAGS already contains $flag) 2>&5
15291 >  ac_status=$?
15292 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15293 >  test $ac_status = 0; }
15294 >      ;;
15295 >    *)
15296 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15297 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15298 >  ac_status=$?
15299 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15300 >  test $ac_status = 0; }
15301 >      CFLAGS="$CFLAGS $flag"
15302 >      ;;
15303 >   esac
15304 > else
15305 >  CFLAGS="$flag"
15306 > fi
15307 >
15308 > else
15309 >  :
15310 > fi
15311 >
15312 > done
15313 >
15314 >
15315 >
15316 > for flag in -Wpointer-arith; do
15317 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15318 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15319 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15320 > if eval \${$as_CACHEVAR+:} false; then :
15321 >  $as_echo_n "(cached) " >&6
15322 > else
15323 >
15324 >  ax_check_save_flags=$CFLAGS
15325 >  CFLAGS="$CFLAGS  $flag"
15326 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 > /* end confdefs.h.  */
15328 >
15329 > int
15330 > main ()
15331 > {
15332 >
15333 >  ;
15334 >  return 0;
15335 > }
15336 > _ACEOF
15337 > if ac_fn_c_try_compile "$LINENO"; then :
15338 >  eval "$as_CACHEVAR=yes"
15339 > else
15340 >  eval "$as_CACHEVAR=no"
15341 > fi
15342 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15343 >  CFLAGS=$ax_check_save_flags
15344 > fi
15345 > eval ac_res=\$$as_CACHEVAR
15346 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15347 > $as_echo "$ac_res" >&6; }
15348 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15349 >  if ${CFLAGS+:} false; then :
15350 >  case " $CFLAGS " in
15351 >    *" $flag "*)
15352 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15353 >  (: CFLAGS already contains $flag) 2>&5
15354 >  ac_status=$?
15355 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15356 >  test $ac_status = 0; }
15357 >      ;;
15358 >    *)
15359 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15360 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15361 >  ac_status=$?
15362 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15363 >  test $ac_status = 0; }
15364 >      CFLAGS="$CFLAGS $flag"
15365 >      ;;
15366 >   esac
15367 > else
15368 >  CFLAGS="$flag"
15369 > fi
15370 >
15371 > else
15372 >  :
15373 > fi
15374 >
15375 > done
15376 >
15377 >
15378 >
15379 > for flag in -Wredundant-decls; do
15380 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15381 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15382 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15383 > if eval \${$as_CACHEVAR+:} false; then :
15384 >  $as_echo_n "(cached) " >&6
15385 > else
15386 >
15387 >  ax_check_save_flags=$CFLAGS
15388 >  CFLAGS="$CFLAGS  $flag"
15389 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 > /* end confdefs.h.  */
15391 >
15392 > int
15393 > main ()
15394 > {
15395 >
15396 >  ;
15397 >  return 0;
15398 > }
15399 > _ACEOF
15400 > if ac_fn_c_try_compile "$LINENO"; then :
15401 >  eval "$as_CACHEVAR=yes"
15402 > else
15403 >  eval "$as_CACHEVAR=no"
15404 > fi
15405 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15406 >  CFLAGS=$ax_check_save_flags
15407 > fi
15408 > eval ac_res=\$$as_CACHEVAR
15409 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15410 > $as_echo "$ac_res" >&6; }
15411 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15412 >  if ${CFLAGS+:} false; then :
15413 >  case " $CFLAGS " in
15414 >    *" $flag "*)
15415 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15416 >  (: CFLAGS already contains $flag) 2>&5
15417 >  ac_status=$?
15418 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419 >  test $ac_status = 0; }
15420 >      ;;
15421 >    *)
15422 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15423 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15424 >  ac_status=$?
15425 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 >  test $ac_status = 0; }
15427 >      CFLAGS="$CFLAGS $flag"
15428 >      ;;
15429 >   esac
15430 > else
15431 >  CFLAGS="$flag"
15432 > fi
15433 >
15434 > else
15435 >  :
15436 > fi
15437 >
15438 > done
15439 >
15440 >
15441 >
15442 > for flag in -Wshadow; do
15443 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15444 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15445 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15446 > if eval \${$as_CACHEVAR+:} false; then :
15447 >  $as_echo_n "(cached) " >&6
15448 > else
15449 >
15450 >  ax_check_save_flags=$CFLAGS
15451 >  CFLAGS="$CFLAGS  $flag"
15452 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 > /* end confdefs.h.  */
15454 >
15455 > int
15456 > main ()
15457 > {
15458 >
15459 >  ;
15460 >  return 0;
15461 > }
15462 > _ACEOF
15463 > if ac_fn_c_try_compile "$LINENO"; then :
15464 >  eval "$as_CACHEVAR=yes"
15465 > else
15466 >  eval "$as_CACHEVAR=no"
15467 > fi
15468 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15469 >  CFLAGS=$ax_check_save_flags
15470 > fi
15471 > eval ac_res=\$$as_CACHEVAR
15472 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15473 > $as_echo "$ac_res" >&6; }
15474 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15475 >  if ${CFLAGS+:} false; then :
15476 >  case " $CFLAGS " in
15477 >    *" $flag "*)
15478 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15479 >  (: CFLAGS already contains $flag) 2>&5
15480 >  ac_status=$?
15481 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15482 >  test $ac_status = 0; }
15483 >      ;;
15484 >    *)
15485 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15486 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15487 >  ac_status=$?
15488 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15489 >  test $ac_status = 0; }
15490 >      CFLAGS="$CFLAGS $flag"
15491 >      ;;
15492 >   esac
15493 > else
15494 >  CFLAGS="$flag"
15495 > fi
15496 >
15497 > else
15498 >  :
15499 > fi
15500 >
15501 > done
15502 >
15503 >
15504 >
15505 > for flag in -Wwrite-strings; do
15506 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15507 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15508 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15509 > if eval \${$as_CACHEVAR+:} false; then :
15510 >  $as_echo_n "(cached) " >&6
15511 > else
15512 >
15513 >  ax_check_save_flags=$CFLAGS
15514 >  CFLAGS="$CFLAGS  $flag"
15515 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 > /* end confdefs.h.  */
15517 >
15518 > int
15519 > main ()
15520 > {
15521 >
15522 >  ;
15523 >  return 0;
15524 > }
15525 > _ACEOF
15526 > if ac_fn_c_try_compile "$LINENO"; then :
15527 >  eval "$as_CACHEVAR=yes"
15528 > else
15529 >  eval "$as_CACHEVAR=no"
15530 > fi
15531 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15532 >  CFLAGS=$ax_check_save_flags
15533 > fi
15534 > eval ac_res=\$$as_CACHEVAR
15535 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15536 > $as_echo "$ac_res" >&6; }
15537 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15538 >  if ${CFLAGS+:} false; then :
15539 >  case " $CFLAGS " in
15540 >    *" $flag "*)
15541 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15542 >  (: CFLAGS already contains $flag) 2>&5
15543 >  ac_status=$?
15544 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15545 >  test $ac_status = 0; }
15546 >      ;;
15547 >    *)
15548 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15549 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15550 >  ac_status=$?
15551 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15552 >  test $ac_status = 0; }
15553 >      CFLAGS="$CFLAGS $flag"
15554 >      ;;
15555 >   esac
15556 > else
15557 >  CFLAGS="$flag"
15558 > fi
15559 >
15560 > else
15561 >  :
15562 > fi
15563 >
15564 > done
15565 >
15566 >
15567 >
15568 > for flag in -Wundef; do
15569 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15570 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15571 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15572 > if eval \${$as_CACHEVAR+:} false; then :
15573 >  $as_echo_n "(cached) " >&6
15574 > else
15575 >
15576 >  ax_check_save_flags=$CFLAGS
15577 >  CFLAGS="$CFLAGS  $flag"
15578 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 > /* end confdefs.h.  */
15580 >
15581 > int
15582 > main ()
15583 > {
15584 >
15585 >  ;
15586 >  return 0;
15587 > }
15588 > _ACEOF
15589 > if ac_fn_c_try_compile "$LINENO"; then :
15590 >  eval "$as_CACHEVAR=yes"
15591 > else
15592 >  eval "$as_CACHEVAR=no"
15593 > fi
15594 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15595 >  CFLAGS=$ax_check_save_flags
15596 > fi
15597 > eval ac_res=\$$as_CACHEVAR
15598 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15599 > $as_echo "$ac_res" >&6; }
15600 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15601 >  if ${CFLAGS+:} false; then :
15602 >  case " $CFLAGS " in
15603 >    *" $flag "*)
15604 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15605 >  (: CFLAGS already contains $flag) 2>&5
15606 >  ac_status=$?
15607 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 >  test $ac_status = 0; }
15609 >      ;;
15610 >    *)
15611 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15612 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15613 >  ac_status=$?
15614 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15615 >  test $ac_status = 0; }
15616 >      CFLAGS="$CFLAGS $flag"
15617 >      ;;
15618 >   esac
15619 > else
15620 >  CFLAGS="$flag"
15621 > fi
15622 >
15623 > else
15624 >  :
15625 > fi
15626 >
15627 > done
15628 >
15629    fi
15630  
15631  
# Line 14583 | Line 15715 | _ACEOF
15715    test "$exec_prefix_NONE" && exec_prefix=NONE
15716  
15717  
15718 < ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15718 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15719  
15720  
15721   cat >confcache <<\_ACEOF
# Line 14695 | Line 15827 | LIBOBJS=$ac_libobjs
15827   LTLIBOBJS=$ac_ltlibobjs
15828  
15829  
15830 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15831 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15832 +   if test -n "$am_sleep_pid"; then
15833 +     # Hide warnings about reused PIDs.
15834 +     wait $am_sleep_pid 2>/dev/null
15835 +   fi
15836 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15837 + $as_echo "done" >&6; }
15838   if test -n "$EXEEXT"; then
15839    am__EXEEXT_TRUE=
15840    am__EXEEXT_FALSE='#'
# Line 14741 | Line 15881 | LT_CONFIG_H=config.h
15881  
15882  
15883  
14744 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14745  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14747 fi
15884   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15885    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15886   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15887   fi
14752 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14753  as_fn_error $? "conditional \"EFNET\" was never defined.
14754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14755 fi
15888  
15889   : "${CONFIG_STATUS=./config.status}"
15890   ac_write_fail=0
# Line 15051 | Line 16183 | if (echo >conf$$.file) 2>/dev/null; then
16183      # ... but there are two gotchas:
16184      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16185      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16186 <    # In both cases, we have to default to `cp -p'.
16186 >    # In both cases, we have to default to `cp -pR'.
16187      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16188 <      as_ln_s='cp -p'
16188 >      as_ln_s='cp -pR'
16189    elif ln conf$$.file conf$$ 2>/dev/null; then
16190      as_ln_s=ln
16191    else
16192 <    as_ln_s='cp -p'
16192 >    as_ln_s='cp -pR'
16193    fi
16194   else
16195 <  as_ln_s='cp -p'
16195 >  as_ln_s='cp -pR'
16196   fi
16197   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16198   rmdir conf$$.dir 2>/dev/null
# Line 15120 | Line 16252 | else
16252    as_mkdir_p=false
16253   fi
16254  
16255 < if test -x / >/dev/null 2>&1; then
16256 <  as_test_x='test -x'
16257 < else
16258 <  if ls -dL / >/dev/null 2>&1; then
16259 <    as_ls_L_option=L
16260 <  else
16261 <    as_ls_L_option=
16262 <  fi
16263 <  as_test_x='
16264 <    eval sh -c '\''
15133 <      if test -d "$1"; then
15134 <        test -d "$1/.";
15135 <      else
15136 <        case $1 in #(
15137 <        -*)set "./$1";;
15138 <        esac;
15139 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15140 <        ???[sx]*):;;*)false;;esac;fi
15141 <    '\'' sh
15142 <  '
15143 < fi
15144 < as_executable_p=$as_test_x
16255 >
16256 > # as_fn_executable_p FILE
16257 > # -----------------------
16258 > # Test if FILE is an executable regular file.
16259 > as_fn_executable_p ()
16260 > {
16261 >  test -f "$1" && test -x "$1"
16262 > } # as_fn_executable_p
16263 > as_test_x='test -x'
16264 > as_executable_p=as_fn_executable_p
16265  
16266   # Sed expression to map a string onto a valid CPP name.
16267   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 15162 | Line 16282 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16282   # report actual input values of CONFIG_FILES etc. instead of their
16283   # values after options handling.
16284   ac_log="
16285 < This file was extended by ircd-hybrid $as_me 8beta1, which was
16286 < generated by GNU Autoconf 2.68.  Invocation command line was
16285 > This file was extended by ircd-hybrid $as_me 8.2.0beta3, which was
16286 > generated by GNU Autoconf 2.69.  Invocation command line was
16287  
16288    CONFIG_FILES    = $CONFIG_FILES
16289    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 15228 | Line 16348 | _ACEOF
16348   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16349   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16350   ac_cs_version="\\
16351 < ircd-hybrid config.status 8beta1
16352 < configured by $0, generated by GNU Autoconf 2.68,
16351 > ircd-hybrid config.status 8.2.0beta3
16352 > configured by $0, generated by GNU Autoconf 2.69,
16353    with options \\"\$ac_cs_config\\"
16354  
16355 < Copyright (C) 2010 Free Software Foundation, Inc.
16355 > Copyright (C) 2012 Free Software Foundation, Inc.
16356   This config.status script is free software; the Free Software Foundation
16357   gives unlimited permission to copy, distribute and modify it."
16358  
# Line 15323 | Line 16443 | fi
16443   _ACEOF
16444   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16445   if \$ac_cs_recheck; then
16446 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16446 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16447    shift
16448    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16449    CONFIG_SHELL='$SHELL'
# Line 15638 | Line 16758 | do
16758      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16759      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16760      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15641    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15642    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16761      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16762      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15645    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16763      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16764      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16765      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16766      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15650    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15651    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16767      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16768  
16769    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16246 | Line 17361 | $as_echo "$as_me: executing $ac_file com
17361  
17362    case $ac_file$ac_mode in
17363      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17364 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17364 >  # Older Autoconf quotes --file arguments for eval, but not when files
17365    # are listed without --file.  Let's play safe and only enable the eval
17366    # if we detect the quoting.
17367    case $CONFIG_FILES in
# Line 16259 | Line 17374 | $as_echo "$as_me: executing $ac_file com
17374      # Strip MF so we end up with the name of the file.
17375      mf=`echo "$mf" | sed -e 's/:.*$//'`
17376      # Check whether this is an Automake generated Makefile or not.
17377 <    # We used to match only the files named `Makefile.in', but
17377 >    # We used to match only the files named 'Makefile.in', but
17378      # some people rename them; so instead we look at the file content.
17379      # Grep'ing the first line is not enough: some people post-process
17380      # each Makefile.in and add a new line on top of each file to say so.
# Line 16293 | Line 17408 | $as_echo X"$mf" |
17408        continue
17409      fi
17410      # Extract the definition of DEPDIR, am__include, and am__quote
17411 <    # from the Makefile without running `make'.
17411 >    # from the Makefile without running 'make'.
17412      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17413      test -z "$DEPDIR" && continue
17414      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17415 <    test -z "am__include" && continue
17415 >    test -z "$am__include" && continue
17416      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16302    # When using ansi2knr, U may be empty or an underscore; expand it
16303    U=`sed -n 's/^U = //p' < "$mf"`
17417      # Find all dependency output files, they are included files with
17418      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17419      # simplest approach to changing $(DEPDIR) to its actual value in the
17420      # expansion.
17421      for file in `sed -n "
17422        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17423 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17423 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17424        # Make sure the directory exists.
17425        test -f "$dirpart/$file" && continue
17426        fdir=`$as_dirname -- "$file" ||

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1310 by michael, Mon Mar 26 15:45:02 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 3815 by michael, Tue Jun 3 20:13:48 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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