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

Comparing:
ircd-hybrid-8/configure (file contents), Revision 1292 by michael, Sun Feb 12 20:36:27 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 3811 by michael, Tue Jun 3 19:18:52 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1245 2011-09-30 14:58:29Z michael .
2 > # From configure.ac Id: configure.ac 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_zlib_path
788 < enable_zlib
789 < with_libpcre_path
790 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
793 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
797 enable_rtsigio
814   enable_poll
815   enable_select
800 with_nicklen
801 with_topiclen
802 enable_efnet
803 enable_halfops
816   enable_debugging
817   enable_warnings
818   '
# Line 1270 | Line 1282 | target=$target_alias
1282   if test "x$host_alias" != x; then
1283    if test "x$build_alias" = x; then
1284      cross_compiling=maybe
1273    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1274    If a cross compiler is detected then cross compile mode will be used" >&2
1285    elif test "x$build_alias" != "x$host_alias"; then
1286      cross_compiling=yes
1287    fi
# Line 1357 | Line 1367 | if test "$ac_init_help" = "long"; then
1367    # Omit some internal or obsolete options to make the list less imposing.
1368    # This message is too long to be a string in the A/UX 3.1 sh.
1369    cat <<_ACEOF
1370 < \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1370 > \`configure' configures ircd-hybrid 8.2.0beta3 to adapt to many kinds of systems.
1371  
1372   Usage: $0 [OPTION]... [VAR=VALUE]...
1373  
# Line 1427 | Line 1437 | fi
1437  
1438   if test -n "$ac_init_help"; then
1439    case $ac_init_help in
1440 <     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1440 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0beta3:";;
1441     esac
1442    cat <<\_ACEOF
1443  
# Line 1435 | Line 1445 | Optional Features:
1445    --disable-option-checking  ignore unrecognized --enable/--with options
1446    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1447    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1448 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1449 <                          (and sometimes confusing) to the casual installer
1450 <  --disable-dependency-tracking  speeds up one-time build
1451 <  --enable-dependency-tracking   do not reject slow dependency extractors
1448 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1449 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1450 >  --enable-maintainer-mode
1451 >                          enable make rules and dependencies not useful (and
1452 >                          sometimes confusing) to the casual installer
1453 >  --enable-dependency-tracking
1454 >                          do not reject slow dependency extractors
1455 >  --disable-dependency-tracking
1456 >                          speeds up one-time build
1457    --enable-static[=PKGS]  build static libraries [default=no]
1458    --enable-shared[=PKGS]  build shared libraries [default=yes]
1459    --enable-fast-install[=PKGS]
1460                            optimize for fast installation [default=yes]
1461    --disable-libtool-lock  avoid locking (might break parallel builds)
1462    --enable-ltdl-install   install libltdl
1463 <  --disable-zlib          Disable ziplinks support
1449 <  --disable-libpcre       Disable PCRE support
1463 >  --disable-libgeoip      Disable GeoIP support
1464    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1465    --disable-openssl            Disable OpenSSL support.
1466    --enable-assert         Enable assert() statements
1453  --enable-small-net      Enable small network support.
1467    --enable-kqueue         Force kqueue usage.
1468    --enable-epoll          Force epoll usage.
1469    --enable-devpoll        Force devpoll usage.
1457  --enable-rtsigio        Force rtsigio usage.
1470    --enable-poll           Force poll usage.
1471    --enable-select         Force select usage.
1460  --enable-efnet          For IRCDs running on EFnet.
1461  --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1474  
# Line 1473 | Line 1483 | Optional Packages:
1483    --with-included-ltdl    use the GNU ltdl sources included here
1484    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1485    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1476  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1477  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1478  --with-nicklen=<value>  Set nickname length (default 9).
1479  --with-topiclen=<value> Set topic length (default 160).
1486  
1487   Some influential environment variables:
1488    CC          C compiler command
# Line 1560 | Line 1566 | fi
1566   test -n "$ac_init_help" && exit $ac_status
1567   if $ac_init_version; then
1568    cat <<\_ACEOF
1569 < ircd-hybrid configure 8beta1
1570 < generated by GNU Autoconf 2.68
1569 > ircd-hybrid configure 8.2.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 1639 | Line 1645 | $as_echo "$ac_try_echo"; } >&5
1645           test ! -s conftest.err
1646         } && test -s conftest$ac_exeext && {
1647           test "$cross_compiling" = yes ||
1648 <         $as_test_x conftest$ac_exeext
1648 >         test -x conftest$ac_exeext
1649         }; then :
1650    ac_retval=0
1651   else
# Line 2086 | Line 2092 | cat >config.log <<_ACEOF
2092   This file contains any messages produced by compilers while
2093   running configure, to aid debugging if configure makes a mistake.
2094  
2095 < It was created by ircd-hybrid $as_me 8beta1, which was
2096 < generated by GNU Autoconf 2.68.  Invocation command line was
2095 > It was created by ircd-hybrid $as_me 8.2.0beta3, which was
2096 > generated by GNU Autoconf 2.69.  Invocation command line was
2097  
2098    $ $0 $@
2099  
# Line 2366 | Line 2372 | $as_echo "$as_me: creating cache $cache_
2372    >$cache_file
2373   fi
2374  
2369 as_fn_append ac_func_list " mmap"
2375   as_fn_append ac_func_list " strtok_r"
2376   as_fn_append ac_func_list " usleep"
2377   as_fn_append ac_func_list " strlcat"
2378   as_fn_append ac_func_list " strlcpy"
2374 as_fn_append ac_func_list " socketpair"
2379   as_fn_append ac_header_list " crypt.h"
2376 as_fn_append ac_header_list " inttypes.h"
2377 as_fn_append ac_header_list " stdint.h"
2380   as_fn_append ac_header_list " sys/resource.h"
2381   as_fn_append ac_header_list " sys/param.h"
2380 as_fn_append ac_header_list " errno.h"
2381 as_fn_append ac_header_list " sys/syslog.h"
2382   as_fn_append ac_header_list " types.h"
2383   as_fn_append ac_header_list " socket.h"
2384   as_fn_append ac_header_list " sys/wait.h"
2385   as_fn_append ac_header_list " wait.h"
2386 as_fn_append ac_header_list " link.h"
2386   # Check that the precious variables saved in the cache have kept the same
2387   # value.
2388   ac_cache_corrupted=false
# Line 2452 | Line 2451 | ac_link='$CC -o conftest$ac_exeext $CFLA
2451   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452  
2453  
2454 < am__api_version='1.11'
2454 > am__api_version='1.14'
2455  
2456   ac_aux_dir=
2457   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2520 | Line 2519 | case $as_dir/ in #((
2519      # by default.
2520      for ac_prog in ginstall scoinst install; do
2521        for ac_exec_ext in '' $ac_executable_extensions; do
2522 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2522 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2523            if test $ac_prog = install &&
2524              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525              # AIX install.  It has an incompatible calling convention.
# Line 2578 | Line 2577 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2577  
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2579   $as_echo_n "checking whether build environment is sane... " >&6; }
2581 # Just in case
2582 sleep 1
2583 echo timestamp > conftest.file
2580   # Reject unsafe characters in $srcdir or the absolute working directory
2581   # name.  Accept space and tab only in the latter.
2582   am_lf='
# Line 2591 | Line 2587 | case `pwd` in
2587   esac
2588   case $srcdir in
2589    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2590 <    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2591   esac
2592  
2593 < # Do `set' in a subshell so we don't clobber the current shell's
2593 > # Do 'set' in a subshell so we don't clobber the current shell's
2594   # arguments.  Must try -L first in case configure is actually a
2595   # symlink; some systems play weird games with the mod time of symlinks
2596   # (eg FreeBSD returns the mod time of the symlink's containing
2597   # directory).
2598   if (
2599 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2600 <   if test "$*" = "X"; then
2601 <      # -L didn't work.
2602 <      set X `ls -t "$srcdir/configure" conftest.file`
2603 <   fi
2604 <   rm -f conftest.file
2605 <   if test "$*" != "X $srcdir/configure conftest.file" \
2606 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2607 <
2608 <      # If neither matched, then we have a broken ls.  This can happen
2613 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2614 <      # broken ls alias from the environment.  This has actually
2615 <      # happened.  Such a system could not be considered "sane".
2616 <      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2617 < alias in your environment" "$LINENO" 5
2618 <   fi
2599 >   am_has_slept=no
2600 >   for am_try in 1 2; do
2601 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2602 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 >     if test "$*" = "X"; then
2604 >        # -L didn't work.
2605 >        set X `ls -t "$srcdir/configure" conftest.file`
2606 >     fi
2607 >     if test "$*" != "X $srcdir/configure conftest.file" \
2608 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2609  
2610 +        # If neither matched, then we have a broken ls.  This can happen
2611 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2612 +        # broken ls alias from the environment.  This has actually
2613 +        # happened.  Such a system could not be considered "sane".
2614 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2615 +  alias in your environment" "$LINENO" 5
2616 +     fi
2617 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2618 +       break
2619 +     fi
2620 +     # Just in case.
2621 +     sleep 1
2622 +     am_has_slept=yes
2623 +   done
2624     test "$2" = conftest.file
2625     )
2626   then
# Line 2628 | Line 2632 | Check your system clock" "$LINENO" 5
2632   fi
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634   $as_echo "yes" >&6; }
2635 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2636 + # generated files are strictly newer.
2637 + am_sleep_pid=
2638 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2639 +  ( sleep 1 ) &
2640 +  am_sleep_pid=$!
2641 + fi
2642 +
2643 + rm -f conftest.file
2644 +
2645   test "$program_prefix" != NONE &&
2646    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2647   # Use a double $ so make ignores it.
# Line 2650 | Line 2664 | if test x"${MISSING+set}" != xset; then
2664    esac
2665   fi
2666   # Use eval to expand $SHELL
2667 < if eval "$MISSING --run true"; then
2668 <  am_missing_run="$MISSING --run "
2667 > if eval "$MISSING --is-lightweight"; then
2668 >  am_missing_run="$MISSING "
2669   else
2670    am_missing_run=
2671 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2672 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2671 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2672 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2673   fi
2674  
2675   if test x"${install_sh}" != xset; then
# Line 2667 | Line 2681 | if test x"${install_sh}" != xset; then
2681    esac
2682   fi
2683  
2684 < # Installed binaries are usually stripped using `strip' when the user
2685 < # run `make install-strip'.  However `strip' might not be the right
2684 > # Installed binaries are usually stripped using 'strip' when the user
2685 > # run "make install-strip".  However 'strip' might not be the right
2686   # tool to use in cross-compilation environments, therefore Automake
2687 < # will honor the `STRIP' environment variable to overrule this program.
2687 > # will honor the 'STRIP' environment variable to overrule this program.
2688   if test "$cross_compiling" != no; then
2689    if test -n "$ac_tool_prefix"; then
2690    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
# Line 2689 | Line 2703 | do
2703    IFS=$as_save_IFS
2704    test -z "$as_dir" && as_dir=.
2705      for ac_exec_ext in '' $ac_executable_extensions; do
2706 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2707      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2708      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709      break 2
# Line 2729 | Line 2743 | do
2743    IFS=$as_save_IFS
2744    test -z "$as_dir" && as_dir=.
2745      for ac_exec_ext in '' $ac_executable_extensions; do
2746 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747      ac_cv_prog_ac_ct_STRIP="strip"
2748      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749      break 2
# Line 2780 | Line 2794 | do
2794    test -z "$as_dir" && as_dir=.
2795      for ac_prog in mkdir gmkdir; do
2796           for ac_exec_ext in '' $ac_executable_extensions; do
2797 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2797 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2798             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2799               'mkdir (GNU coreutils) '* | \
2800               'mkdir (coreutils) '* | \
# Line 2809 | Line 2823 | fi
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2824   $as_echo "$MKDIR_P" >&6; }
2825  
2812 mkdir_p="$MKDIR_P"
2813 case $mkdir_p in
2814  [\\/$]* | ?:[\\/]*) ;;
2815  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2816 esac
2817
2826   for ac_prog in gawk mawk nawk awk
2827   do
2828    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 2833 | Line 2841 | do
2841    IFS=$as_save_IFS
2842    test -z "$as_dir" && as_dir=.
2843      for ac_exec_ext in '' $ac_executable_extensions; do
2844 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845      ac_cv_prog_AWK="$ac_prog"
2846      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847      break 2
# Line 2897 | Line 2905 | else
2905   fi
2906   rmdir .tst 2>/dev/null
2907  
2908 + # Check whether --enable-silent-rules was given.
2909 + if test "${enable_silent_rules+set}" = set; then :
2910 +  enableval=$enable_silent_rules;
2911 + fi
2912 +
2913 + case $enable_silent_rules in # (((
2914 +  yes) AM_DEFAULT_VERBOSITY=0;;
2915 +   no) AM_DEFAULT_VERBOSITY=1;;
2916 +    *) AM_DEFAULT_VERBOSITY=1;;
2917 + esac
2918 + am_make=${MAKE-make}
2919 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2920 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2921 + if ${am_cv_make_support_nested_variables+:} false; then :
2922 +  $as_echo_n "(cached) " >&6
2923 + else
2924 +  if $as_echo 'TRUE=$(BAR$(V))
2925 + BAR0=false
2926 + BAR1=true
2927 + V=1
2928 + am__doit:
2929 +        @$(TRUE)
2930 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2931 +  am_cv_make_support_nested_variables=yes
2932 + else
2933 +  am_cv_make_support_nested_variables=no
2934 + fi
2935 + fi
2936 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2937 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2938 + if test $am_cv_make_support_nested_variables = yes; then
2939 +    AM_V='$(V)'
2940 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2941 + else
2942 +  AM_V=$AM_DEFAULT_VERBOSITY
2943 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2944 + fi
2945 + AM_BACKSLASH='\'
2946 +
2947   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2948    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2949    # is not polluted with repeated "-I."
# Line 2919 | Line 2966 | fi
2966  
2967   # Define the identity of the package.
2968   PACKAGE='ircd-hybrid'
2969 < VERSION='8beta1'
2969 > VERSION='8.2.0beta3'
2970  
2971  
2972   cat >>confdefs.h <<_ACEOF
# Line 2947 | Line 2994 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2994  
2995   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2996  
2997 + # For better backward compatibility.  To be removed once Automake 1.9.x
2998 + # dies out for good.  For more background, see:
2999 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3000 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3001 + mkdir_p='$(MKDIR_P)'
3002 +
3003   # We need awk for the "check" target.  The system "awk" is bad on
3004   # some platforms.
3005   # Always define AMTAR for backward compatibility.  Yes, it's still used
3006   # in the wild :-(  We should find a proper way to deprecate it ...
3007   AMTAR='$${TAR-tar}'
3008  
3009 +
3010 + # We'll loop over all known methods to create a tar archive until one works.
3011 + _am_tools='gnutar  pax cpio none'
3012 +
3013   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3014  
3015  
# Line 2960 | Line 3017 | am__tar='$${TAR-tar} chof - "$$tardir"'
3017  
3018  
3019  
3020 + # POSIX will say in a future version that running "rm -f" with no argument
3021 + # is OK; and we want to be able to make that assumption in our Makefile
3022 + # recipes.  So use an aggressive probe to check that the usage we want is
3023 + # actually supported "in the wild" to an acceptable degree.
3024 + # See automake bug#10828.
3025 + # To make any issue more visible, cause the running configure to be aborted
3026 + # by default if the 'rm' program in use doesn't match our expectations; the
3027 + # user can still override this though.
3028 + if rm -f && rm -fr && rm -rf; then : OK; else
3029 +  cat >&2 <<'END'
3030 + Oops!
3031 +
3032 + Your 'rm' program seems unable to run without file operands specified
3033 + on the command line, even when the '-f' option is present.  This is contrary
3034 + to the behaviour of most rm programs out there, and not conforming with
3035 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3036 +
3037 + Please tell bug-automake@gnu.org about your system, including the value
3038 + of your $PATH and any error possibly output before this message.  This
3039 + can help us improve future automake versions.
3040 +
3041 + END
3042 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3043 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3044 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3045 +    echo >&2
3046 +  else
3047 +    cat >&2 <<'END'
3048 + Aborting the configuration process, to ensure you take notice of the issue.
3049 +
3050 + You can download and install GNU coreutils to get an 'rm' implementation
3051 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3052 +
3053 + If you want to complete the configuration process using your problematic
3054 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3055 + to "yes", and re-run configure.
3056 +
3057 + END
3058 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3059 +  fi
3060 + fi
3061 +
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3063   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3064      # Check whether --enable-maintainer-mode was given.
# Line 2982 | Line 3081 | fi
3081    MAINT=$MAINTAINER_MODE_TRUE
3082  
3083  
3084 +
3085   ac_config_headers="$ac_config_headers config.h"
3086  
3087  
# Line 3006 | Line 3106 | am__quote=
3106   _am_result=none
3107   # First try GNU make style include.
3108   echo "include confinc" > confmf
3109 < # Ignore all kinds of additional output from `make'.
3109 > # Ignore all kinds of additional output from 'make'.
3110   case `$am_make -s -f confmf 2> /dev/null` in #(
3111   *the\ am__doit\ target*)
3112    am__include=include
# Line 3072 | Line 3172 | do
3172    IFS=$as_save_IFS
3173    test -z "$as_dir" && as_dir=.
3174      for ac_exec_ext in '' $ac_executable_extensions; do
3175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178      break 2
# Line 3112 | Line 3212 | do
3212    IFS=$as_save_IFS
3213    test -z "$as_dir" && as_dir=.
3214      for ac_exec_ext in '' $ac_executable_extensions; do
3215 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216      ac_cv_prog_ac_ct_CC="gcc"
3217      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218      break 2
# Line 3165 | Line 3265 | do
3265    IFS=$as_save_IFS
3266    test -z "$as_dir" && as_dir=.
3267      for ac_exec_ext in '' $ac_executable_extensions; do
3268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269      ac_cv_prog_CC="${ac_tool_prefix}cc"
3270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271      break 2
# Line 3206 | Line 3306 | do
3306    IFS=$as_save_IFS
3307    test -z "$as_dir" && as_dir=.
3308      for ac_exec_ext in '' $ac_executable_extensions; do
3309 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3311         ac_prog_rejected=yes
3312         continue
# Line 3264 | Line 3364 | do
3364    IFS=$as_save_IFS
3365    test -z "$as_dir" && as_dir=.
3366      for ac_exec_ext in '' $ac_executable_extensions; do
3367 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370      break 2
# Line 3308 | Line 3408 | do
3408    IFS=$as_save_IFS
3409    test -z "$as_dir" && as_dir=.
3410      for ac_exec_ext in '' $ac_executable_extensions; do
3411 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412      ac_cv_prog_ac_ct_CC="$ac_prog"
3413      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414      break 2
# Line 3754 | Line 3854 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3854   /* end confdefs.h.  */
3855   #include <stdarg.h>
3856   #include <stdio.h>
3857 < #include <sys/types.h>
3758 < #include <sys/stat.h>
3857 > struct stat;
3858   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3859   struct buf { int x; };
3860   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3840 | Line 3939 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3939   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941  
3942 + ac_ext=c
3943 + ac_cpp='$CPP $CPPFLAGS'
3944 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3948 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3949 + if ${am_cv_prog_cc_c_o+:} false; then :
3950 +  $as_echo_n "(cached) " >&6
3951 + else
3952 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 + /* end confdefs.h.  */
3954 +
3955 + int
3956 + main ()
3957 + {
3958 +
3959 +  ;
3960 +  return 0;
3961 + }
3962 + _ACEOF
3963 +  # Make sure it works both with $CC and with simple cc.
3964 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3965 +  # compilers refuse to overwrite an existing .o file with -o,
3966 +  # though they will create one.
3967 +  am_cv_prog_cc_c_o=yes
3968 +  for am_i in 1 2; do
3969 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3970 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3971 +   ac_status=$?
3972 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 +   (exit $ac_status); } \
3974 +         && test -f conftest2.$ac_objext; then
3975 +      : OK
3976 +    else
3977 +      am_cv_prog_cc_c_o=no
3978 +      break
3979 +    fi
3980 +  done
3981 +  rm -f core conftest*
3982 +  unset am_i
3983 + fi
3984 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3985 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3986 + if test "$am_cv_prog_cc_c_o" != yes; then
3987 +   # Losing compiler, so override with the script.
3988 +   # FIXME: It is wrong to rewrite CC.
3989 +   # But if we don't then we get into trouble of one sort or another.
3990 +   # A longer-term fix would be to have automake use am__CC in this case,
3991 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3992 +   CC="$am_aux_dir/compile $CC"
3993 + fi
3994 + ac_ext=c
3995 + ac_cpp='$CPP $CPPFLAGS'
3996 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3999 +
4000 +
4001   depcc="$CC"   am_compiler_list=
4002  
4003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
# Line 3851 | Line 4009 | else
4009    # We make a subdir and do the tests there.  Otherwise we can end up
4010    # making bogus files that we don't know about and never remove.  For
4011    # instance it was reported that on HP-UX the gcc test will end up
4012 <  # making a dummy file named `D' -- because `-MD' means `put the output
4013 <  # in D'.
4012 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4013 >  # in D".
4014    rm -rf conftest.dir
4015    mkdir conftest.dir
4016    # Copy depcomp to subdir because otherwise we won't find it if we're
# Line 3887 | Line 4045 | else
4045      : > sub/conftest.c
4046      for i in 1 2 3 4 5 6; do
4047        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4048 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4049 <      # Solaris 8's {/usr,}/bin/sh.
4050 <      touch sub/conftst$i.h
4048 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4049 >      # Solaris 10 /bin/sh.
4050 >      echo '/* dummy */' > sub/conftst$i.h
4051      done
4052      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4053  
4054 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4054 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4055      # mode.  It turns out that the SunPro C++ compiler does not properly
4056 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4057 <    # versions had trouble with output in subdirs
4056 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4057 >    # versions had trouble with output in subdirs.
4058      am__obj=sub/conftest.${OBJEXT-o}
4059      am__minus_obj="-o $am__obj"
4060      case $depmode in
# Line 3905 | Line 4063 | else
4063        test "$am__universal" = false || continue
4064        ;;
4065      nosideeffect)
4066 <      # after this tag, mechanisms are not by side-effect, so they'll
4067 <      # only be used when explicitly requested
4066 >      # After this tag, mechanisms are not by side-effect, so they'll
4067 >      # only be used when explicitly requested.
4068        if test "x$enable_dependency_tracking" = xyes; then
4069          continue
4070        else
# Line 3914 | Line 4072 | else
4072        fi
4073        ;;
4074      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4075 <      # This compiler won't grok `-c -o', but also, the minuso test has
4075 >      # This compiler won't grok '-c -o', but also, the minuso test has
4076        # not run yet.  These depmodes are late enough in the game, and
4077        # so weak that their functioning should not be impacted.
4078        am__obj=conftest.${OBJEXT-o}
# Line 4114 | Line 4272 | main ()
4272    return 0;
4273   }
4274   _ACEOF
4275 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4275 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4276   do
4277    CC="$ac_save_CC $ac_arg"
4278    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4146 | Line 4304 | fi
4304  
4305  
4306   if test "$ac_cv_prog_cc_c99" = "no"; then :
4307 <  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4307 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4308   fi
4309   for ac_prog in 'bison -y' byacc
4310   do
# Line 4166 | Line 4324 | do
4324    IFS=$as_save_IFS
4325    test -z "$as_dir" && as_dir=.
4326      for ac_exec_ext in '' $ac_executable_extensions; do
4327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328      ac_cv_prog_YACC="$ac_prog"
4329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330      break 2
# Line 4210 | Line 4368 | do
4368    IFS=$as_save_IFS
4369    test -z "$as_dir" && as_dir=.
4370      for ac_exec_ext in '' $ac_executable_extensions; do
4371 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372      ac_cv_prog_LEX="$ac_prog"
4373      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374      break 2
# Line 4242 | Line 4400 | a { ECHO; }
4400   b { REJECT; }
4401   c { yymore (); }
4402   d { yyless (1); }
4403 < e { yyless (input () != 0); }
4403 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4404 >    yyless ((input () != 0)); }
4405   f { unput (yytext[0]); }
4406   . { BEGIN INITIAL; }
4407   %%
# Line 4550 | Line 4709 | do
4709      for ac_prog in sed gsed; do
4710      for ac_exec_ext in '' $ac_executable_extensions; do
4711        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4712 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4712 >      as_fn_executable_p "$ac_path_SED" || continue
4713   # Check for GNU ac_path_SED and select it if it is found.
4714    # Check for GNU $ac_path_SED
4715   case `"$ac_path_SED" --version 2>&1` in
# Line 4626 | Line 4785 | do
4785      for ac_prog in grep ggrep; do
4786      for ac_exec_ext in '' $ac_executable_extensions; do
4787        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4788 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4788 >      as_fn_executable_p "$ac_path_GREP" || continue
4789   # Check for GNU ac_path_GREP and select it if it is found.
4790    # Check for GNU $ac_path_GREP
4791   case `"$ac_path_GREP" --version 2>&1` in
# Line 4692 | Line 4851 | do
4851      for ac_prog in egrep; do
4852      for ac_exec_ext in '' $ac_executable_extensions; do
4853        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4854 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4854 >      as_fn_executable_p "$ac_path_EGREP" || continue
4855   # Check for GNU ac_path_EGREP and select it if it is found.
4856    # Check for GNU $ac_path_EGREP
4857   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4759 | Line 4918 | do
4918      for ac_prog in fgrep; do
4919      for ac_exec_ext in '' $ac_executable_extensions; do
4920        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4921 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4921 >      as_fn_executable_p "$ac_path_FGREP" || continue
4922   # Check for GNU ac_path_FGREP and select it if it is found.
4923    # Check for GNU $ac_path_FGREP
4924   case `"$ac_path_FGREP" --version 2>&1` in
# Line 5015 | Line 5174 | do
5174    IFS=$as_save_IFS
5175    test -z "$as_dir" && as_dir=.
5176      for ac_exec_ext in '' $ac_executable_extensions; do
5177 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5179      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180      break 2
# Line 5059 | Line 5218 | do
5218    IFS=$as_save_IFS
5219    test -z "$as_dir" && as_dir=.
5220      for ac_exec_ext in '' $ac_executable_extensions; do
5221 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5223      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224      break 2
# Line 5483 | Line 5642 | do
5642    IFS=$as_save_IFS
5643    test -z "$as_dir" && as_dir=.
5644      for ac_exec_ext in '' $ac_executable_extensions; do
5645 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5647      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648      break 2
# Line 5523 | Line 5682 | do
5682    IFS=$as_save_IFS
5683    test -z "$as_dir" && as_dir=.
5684      for ac_exec_ext in '' $ac_executable_extensions; do
5685 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5687      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688      break 2
# Line 5829 | Line 5988 | do
5988    IFS=$as_save_IFS
5989    test -z "$as_dir" && as_dir=.
5990      for ac_exec_ext in '' $ac_executable_extensions; do
5991 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5993      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994      break 2
# Line 5869 | Line 6028 | do
6028    IFS=$as_save_IFS
6029    test -z "$as_dir" && as_dir=.
6030      for ac_exec_ext in '' $ac_executable_extensions; do
6031 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6033      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034      break 2
# Line 5972 | Line 6131 | do
6131    IFS=$as_save_IFS
6132    test -z "$as_dir" && as_dir=.
6133      for ac_exec_ext in '' $ac_executable_extensions; do
6134 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135      ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6136      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137      break 2
# Line 6016 | Line 6175 | do
6175    IFS=$as_save_IFS
6176    test -z "$as_dir" && as_dir=.
6177      for ac_exec_ext in '' $ac_executable_extensions; do
6178 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179      ac_cv_prog_ac_ct_AR="$ac_prog"
6180      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181      break 2
# Line 6141 | Line 6300 | do
6300    IFS=$as_save_IFS
6301    test -z "$as_dir" && as_dir=.
6302      for ac_exec_ext in '' $ac_executable_extensions; do
6303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306      break 2
# Line 6181 | Line 6340 | do
6340    IFS=$as_save_IFS
6341    test -z "$as_dir" && as_dir=.
6342      for ac_exec_ext in '' $ac_executable_extensions; do
6343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344      ac_cv_prog_ac_ct_STRIP="strip"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 6240 | Line 6399 | do
6399    IFS=$as_save_IFS
6400    test -z "$as_dir" && as_dir=.
6401      for ac_exec_ext in '' $ac_executable_extensions; do
6402 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6402 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6404      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405      break 2
# Line 6280 | Line 6439 | do
6439    IFS=$as_save_IFS
6440    test -z "$as_dir" && as_dir=.
6441      for ac_exec_ext in '' $ac_executable_extensions; do
6442 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443      ac_cv_prog_ac_ct_RANLIB="ranlib"
6444      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445      break 2
# Line 6929 | Line 7088 | do
7088    IFS=$as_save_IFS
7089    test -z "$as_dir" && as_dir=.
7090      for ac_exec_ext in '' $ac_executable_extensions; do
7091 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092      ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7093      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094      break 2
# Line 6969 | Line 7128 | do
7128    IFS=$as_save_IFS
7129    test -z "$as_dir" && as_dir=.
7130      for ac_exec_ext in '' $ac_executable_extensions; do
7131 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132      ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7133      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134      break 2
# Line 7049 | Line 7208 | do
7208    IFS=$as_save_IFS
7209    test -z "$as_dir" && as_dir=.
7210      for ac_exec_ext in '' $ac_executable_extensions; do
7211 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7213      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214      break 2
# Line 7089 | Line 7248 | do
7248    IFS=$as_save_IFS
7249    test -z "$as_dir" && as_dir=.
7250      for ac_exec_ext in '' $ac_executable_extensions; do
7251 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7253      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254      break 2
# Line 7141 | Line 7300 | do
7300    IFS=$as_save_IFS
7301    test -z "$as_dir" && as_dir=.
7302      for ac_exec_ext in '' $ac_executable_extensions; do
7303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7304      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306      break 2
# Line 7181 | Line 7340 | do
7340    IFS=$as_save_IFS
7341    test -z "$as_dir" && as_dir=.
7342      for ac_exec_ext in '' $ac_executable_extensions; do
7343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346      break 2
# Line 7233 | Line 7392 | do
7392    IFS=$as_save_IFS
7393    test -z "$as_dir" && as_dir=.
7394      for ac_exec_ext in '' $ac_executable_extensions; do
7395 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7397      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398      break 2
# Line 7273 | Line 7432 | do
7432    IFS=$as_save_IFS
7433    test -z "$as_dir" && as_dir=.
7434      for ac_exec_ext in '' $ac_executable_extensions; do
7435 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436      ac_cv_prog_ac_ct_LIPO="lipo"
7437      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438      break 2
# Line 7325 | Line 7484 | do
7484    IFS=$as_save_IFS
7485    test -z "$as_dir" && as_dir=.
7486      for ac_exec_ext in '' $ac_executable_extensions; do
7487 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490      break 2
# Line 7365 | Line 7524 | do
7524    IFS=$as_save_IFS
7525    test -z "$as_dir" && as_dir=.
7526      for ac_exec_ext in '' $ac_executable_extensions; do
7527 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528      ac_cv_prog_ac_ct_OTOOL="otool"
7529      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530      break 2
# Line 7417 | Line 7576 | do
7576    IFS=$as_save_IFS
7577    test -z "$as_dir" && as_dir=.
7578      for ac_exec_ext in '' $ac_executable_extensions; do
7579 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7581      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582      break 2
# Line 7457 | Line 7616 | do
7616    IFS=$as_save_IFS
7617    test -z "$as_dir" && as_dir=.
7618      for ac_exec_ext in '' $ac_executable_extensions; do
7619 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7619 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620      ac_cv_prog_ac_ct_OTOOL64="otool64"
7621      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622      break 2
# Line 8399 | Line 8558 | _lt_linker_boilerplate=`cat conftest.err
8558   $RM -r conftest*
8559  
8560  
8561 + ## CAVEAT EMPTOR:
8562 + ## There is no encapsulation within the following macros, do not change
8563 + ## the running order or otherwise move them around unless you know exactly
8564 + ## what you are doing...
8565   if test -n "$compiler"; then
8566  
8567   lt_prog_compiler_no_builtin_flag=
# Line 13012 | Line 13175 | LIBTOOL="$LIBTOOL --silent"
13175  
13176   # Checks for libraries.
13177  
13178 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13179 < $as_echo_n "checking for library containing socket... " >&6; }
13180 < if ${ac_cv_search_socket+:} false; then :
13178 >
13179 >  if test "X$CC" != "X"; then
13180 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13181 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13182 > if ${ssp_cv_cc+:} false; then :
13183 >  $as_echo_n "(cached) " >&6
13184 > else
13185 >  ssp_old_cflags="$CFLAGS"
13186 >       CFLAGS="$CFLAGS -fstack-protector"
13187 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 > /* end confdefs.h.  */
13189 >
13190 > int
13191 > main ()
13192 > {
13193 >
13194 >  ;
13195 >  return 0;
13196 > }
13197 > _ACEOF
13198 > if ac_fn_c_try_compile "$LINENO"; then :
13199 >  ssp_cv_cc=yes
13200 > else
13201 >  ssp_cv_cc=no
13202 > fi
13203 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13204 >       CFLAGS="$ssp_old_cflags"
13205 >
13206 > fi
13207 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13208 > $as_echo "$ssp_cv_cc" >&6; }
13209 >    if test $ssp_cv_cc = yes; then
13210 >      CFLAGS="$CFLAGS -fstack-protector"
13211 >
13212 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13213 >
13214 >    fi
13215 >  fi
13216 >
13217 >
13218 > { $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 13027 | 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 13044 | 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  
13069 else
13070  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 13085 | 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 13102 | 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 13141 | 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 13158 | 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  
13185  for ac_func in inet_aton inet_ntop inet_pton
13186 do :
13187  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13189 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13190  cat >>confdefs.h <<_ACEOF
13191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13192 _ACEOF
13193
13194 fi
13195 done
13196
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 13510 | Line 13835 | done
13835  
13836  
13837  
13513
13514
13515
13516
13838   # Checks for header files.
13839  
13840  
# Line 13548 | Line 13869 | done
13869  
13870  
13871  
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561 # check for /dev/null so we can use it to hold evil fd's
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13563 $as_echo_n "checking for /dev/null... " >&6; }
13564 if test -c /dev/null; then :
13565
13566
13567 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13568
13569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13570 $as_echo "yes" >&6; }
13571 else
13572
13573
13574 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13575
13576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13577 $as_echo "no - using devnull.log" >&6; }
13578 fi
13579
13580
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 13635 | Line 13926 | if test "$ac_res" != no; then :
13926   fi
13927  
13928  
13929 <
13930 <
13931 < # Check whether --with-zlib-path was given.
13932 < if test "${with_zlib_path+set}" = set; then :
13933 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13934 < fi
13935 <
13936 <
13937 < # Check whether --enable-zlib was given.
13647 < if test "${enable_zlib+set}" = set; then :
13648 <  enableval=$enable_zlib; zlib=$enableval
13649 < else
13650 <  zlib=yes
13651 < fi
13652 <
13653 <
13654 < if test "$zlib" = "yes"; then :
13655 <
13656 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13657 < if test "x$ac_cv_header_zlib_h" = xyes; then :
13658 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13659 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13660 < if ${ac_cv_lib_z_zlibVersion+:} false; then :
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
13664 < LIBS="-lz  $LIBS"
13940 >  ac_func_search_save_LIBS=$LIBS
13941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942   /* end confdefs.h.  */
13943  
# Line 13671 | Line 13947 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13947   #ifdef __cplusplus
13948   extern "C"
13949   #endif
13950 < char zlibVersion ();
13950 > char GeoIP_id_by_ipnum_v6_gl ();
13951   int
13952   main ()
13953   {
13954 < return zlibVersion ();
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_z_zlibVersion=yes
13961 < else
13962 <  ac_cv_lib_z_zlibVersion=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
13972 < fi
13692 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13693 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13694 < if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13695 <
13696 <      LIBS="-lz $LIBS"
13697 <
13698 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
13699 <
13700 <
13701 < else
13702 <  zlib=no
13703 < fi
13704 <
13705 <
13706 < else
13707 <  zlib=no
13708 < fi
13709 <
13710 <
13711 <
13712 < fi
13713 <
13714 <
13715 < # Check whether --with-libpcre-path was given.
13716 < if test "${with_libpcre_path+set}" = set; then :
13717 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13970 >    conftest$ac_exeext
13971 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13972 >  break
13973   fi
13974 + done
13975 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13976  
13720
13721 # Check whether --enable-libpcre was given.
13722 if test "${enable_libpcre+set}" = set; then :
13723  enableval=$enable_libpcre; libpcre=$enableval
13977   else
13978 <  libpcre=yes
13978 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13979   fi
13980 <
13981 <
13729 < if test "$libpcre" = "yes"; then :
13730 <
13731 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13732 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13733 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13734 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13735 < if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13736 <  $as_echo_n "(cached) " >&6
13737 < else
13738 <  ac_check_lib_save_LIBS=$LIBS
13739 < LIBS="-lpcre  $LIBS"
13740 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 < /* end confdefs.h.  */
13742 <
13743 < /* Override any GCC internal prototype to avoid an error.
13744 <   Use char because int might match the return type of a GCC
13745 <   builtin and then its argument prototype would still apply.  */
13746 < #ifdef __cplusplus
13747 < extern "C"
13748 < #endif
13749 < char pcre_study ();
13750 < int
13751 < main ()
13752 < {
13753 < return pcre_study ();
13754 <  ;
13755 <  return 0;
13756 < }
13757 < _ACEOF
13758 < if ac_fn_c_try_link "$LINENO"; then :
13759 <  ac_cv_lib_pcre_pcre_study=yes
13760 < else
13761 <  ac_cv_lib_pcre_pcre_study=no
13762 < fi
13763 < rm -f core conftest.err conftest.$ac_objext \
13764 <    conftest$ac_exeext conftest.$ac_ext
13765 < LIBS=$ac_check_lib_save_LIBS
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_lib_pcre_pcre_study" >&5
13984 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13985 < if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13986 <
13987 <      LIBS="-lpcre $LIBS"
13772 <
13773 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
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  
13776 else
13777  libpcre=no
13991   fi
13992  
13780
13781 else
13782  libpcre=no
13993   fi
13994  
13995  
13786
13787 fi
13788 if test "$libpcre" = yes; then
13789  ENABLE_PCRE_TRUE=
13790  ENABLE_PCRE_FALSE='#'
13791 else
13792  ENABLE_PCRE_TRUE='#'
13793  ENABLE_PCRE_FALSE=
13996   fi
13997  
13998  
# Line 13834 | Line 14036 | if test "$cf_enable_openssl" != "no"; th
14036    fi
14037  
14038        if test ! -z "$cf_openssl_basedir"; then
13837    LIBS="-lcrypto -lssl $LIBS"
14039      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14040   $as_echo "$cf_openssl_basedir" >&6; }
14041      cf_enable_openssl="yes"
13841
13842 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13843
14042    else
14043      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14044   $as_echo "not found. Please check your path." >&6; }
# Line 13853 | Line 14051 | $as_echo "disabled" >&6; }
14051   fi
14052  
14053   if test "$cf_enable_openssl" != "no"; then :
14054 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14055 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14054 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14055 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14056    if test "$cross_compiling" = yes; then :
14057    cf_openssl_version_ok=no
14058   else
# Line 13867 | Line 14065 | else
14065   int
14066   main ()
14067   {
14068 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14068 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14069    ;
14070    return 0;
14071   }
# Line 13932 | Line 14130 | _ACEOF
14130   fi
14131  
14132      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14133 <  for ac_func in EVP_bf_cfb           \
14134 <                      EVP_cast5_cfb        \
14135 <                      EVP_idea_cfb         \
14136 <                      EVP_rc5_32_12_16_cfb \
14137 <                      EVP_des_ede3_cfb     \
14138 <                      EVP_des_cfb
14139 < do :
14140 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14141 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14142 < if eval test \"x\$"$as_ac_var"\" = x"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="-lssl  $LIBS"
14140 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 > /* end confdefs.h.  */
14142 >
14143 > /* Override any GCC internal prototype to avoid an error.
14144 >   Use char because int might match the return type of a GCC
14145 >   builtin and then its argument prototype would still apply.  */
14146 > #ifdef __cplusplus
14147 > extern "C"
14148 > #endif
14149 > char SSL_connect ();
14150 > int
14151 > main ()
14152 > {
14153 > return SSL_connect ();
14154 >  ;
14155 >  return 0;
14156 > }
14157 > _ACEOF
14158 > if ac_fn_c_try_link "$LINENO"; then :
14159 >  ac_cv_lib_ssl_SSL_connect=yes
14160 > else
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_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 `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14171 > #define HAVE_LIBSSL 1
14172   _ACEOF
14173  
14174 +  LIBS="-lssl $LIBS"
14175 +
14176   fi
13950 done
14177  
14178   fi
14179  
# Line 13958 | Line 14184 | $as_echo "no - OpenSSL support disabled"
14184   fi
14185   fi
14186  
14187 < if test "$cf_enable_openssl" = yes; then
14187 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14188    ENABLE_SSL_TRUE=
14189    ENABLE_SSL_FALSE='#'
14190   else
# Line 13983 | Line 14209 | $as_echo "#define NDEBUG 1" >>confdefs.h
14209   fi
14210  
14211  
14212 < # Check whether --enable-small-net was given.
13987 < if test "${enable_small_net+set}" = set; then :
13988 <  enableval=$enable_small_net; small_net=$enableval
13989 < else
13990 <  small_net=no
13991 < fi
13992 <
13993 <
13994 < if test "$small_net" = "yes"; then :
14212 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14213  
14214  
14215 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14215 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14216  
14217  
14218 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14218 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14219  
14220  
14221 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14221 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14222  
14223  
14224 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14224 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14225  
14226  
14227 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14227 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14228  
14229  
14230 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14230 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14231  
14232  
14233 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14233 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14234  
14235  
14236 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14236 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14237  
14238  
14239 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14239 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14240  
14241  
14242 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14025 <
14026 < else
14027 <
14028 <
14029 <
14030 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14031 <
14032 <
14033 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14034 <
14035 <
14036 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14242 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14243  
14244  
14245 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14245 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14246  
14247  
14248 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14248 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14249  
14250  
14251 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14046 <
14047 <
14048 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14049 <
14050 <
14051 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14052 <
14053 <
14054 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14055 <
14056 <
14057 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14058 <
14059 < fi
14251 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14252  
14253  
14254   # Argument processing.
# Line 14077 | Line 14269 | if test "${enable_devpoll+set}" = set; t
14269    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14270   fi
14271  
14080  # Check whether --enable-rtsigio was given.
14081 if test "${enable_rtsigio+set}" = set; then :
14082  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14083 fi
14084
14272    # Check whether --enable-poll was given.
14273   if test "${enable_poll+set}" = set; then :
14274    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 14265 | 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
14269 <
14270 < cat >>confdefs.h <<_ACEOF
14271 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14272 < _ACEOF
14273 <
14274 <  if test "$cross_compiling" = yes; then :
14275 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14276 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14277 < as_fn_error $? "cannot run test program while cross compiling
14278 < See \`config.log' for more details" "$LINENO" 5; }
14279 < else
14280 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 < /* end confdefs.h.  */
14282 <
14283 < #define _GNU_SOURCE
14284 < #include <fcntl.h>
14285 < static unsigned int have_f_setsig = 0;
14286 <
14287 < int
14288 < main ()
14289 < {
14290 <
14291 < #ifdef F_SETSIG
14292 <  have_f_setsig = 1;
14293 < #endif
14294 <  return have_f_setsig == 0;
14295 <
14296 <  ;
14297 <  return 0;
14298 < }
14299 < _ACEOF
14300 < if ac_fn_c_try_run "$LINENO"; then :
14301 <  is_rtsigio_mechanism_available="yes"
14302 < else
14303 <  is_rtsigio_mechanism_available="no"
14304 < fi
14305 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14306 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14307 < fi
14308 <
14309 <      iopoll_mechanism_poll=5
14455 >      iopoll_mechanism_poll=4
14456  
14457   cat >>confdefs.h <<_ACEOF
14458   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14360 | 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 14415 | 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 14452 | 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 +  if test "$debugging" = "yes" ; then
14609 +    CFLAGS="-Wall -g -O0"
14610 +  fi
14611 +
14612  
14613 < # Check whether --with-nicklen was given.
14614 < if test "${with_nicklen+set}" = set; then :
14615 <  withval=$with_nicklen; nicklen="$withval"
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 + 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 +
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 < # Check whether --with-topiclen was given.
14704 < if test "${with_topiclen+set}" = set; then :
14705 <  withval=$with_topiclen; topiclen="$withval"
14703 >  ;
14704 >  return 0;
14705 > }
14706 > _ACEOF
14707 > if ac_fn_c_try_compile "$LINENO"; then :
14708 >  eval "$as_CACHEVAR=yes"
14709   else
14710 <  topiclen="160"
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 <  # Check whether --enable-efnet was given.
14813 < if test "${enable_efnet+set}" = set; then :
14814 <  enableval=$enable_efnet; efnet="$enableval"
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 <  efnet="no"
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 <  if test "$efnet" = "yes" ; then
14493 <                use_efnet="yes"
14871 > done
14872  
14495 $as_echo "#define EFNET 1" >>confdefs.h
14873  
14874 <        else
14875 <                use_efnet="no"
14876 <  fi
14877 <   if test "$use_efnet" = "yes"; then
14878 <  EFNET_TRUE=
14879 <  EFNET_FALSE='#'
14874 >
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 <  EFNET_TRUE='#'
14928 <  EFNET_FALSE=
14927 >  CFLAGS="$flag"
14928 > fi
14929 >
14930 > else
14931 >  :
14932   fi
14933  
14934 + done
14935 +
14936 +
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 <  # Check whether --enable-halfops was given.
14947 < if test "${enable_halfops+set}" = set; then :
14948 <  enableval=$enable_halfops; halfops="$enableval"
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 <  halfops="no"
14990 >  CFLAGS="$flag"
14991   fi
14992  
14993 <  if test "$halfops" = "yes" ; then
14993 > else
14994 >  :
14995 > fi
14996  
14997 < $as_echo "#define HALFOPS 1" >>confdefs.h
14997 > done
14998  
14521  fi
14999  
15000  
15001 <  # Check whether --enable-debugging was given.
15002 < if test "${enable_debugging+set}" = set; then :
15003 <  enableval=$enable_debugging; debugging="$enableval"
15001 > for flag in -Wmissing-declarations; 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 <  debugging="no"
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 >  ;
15019 >  return 0;
15020 > }
15021 > _ACEOF
15022 > if ac_fn_c_try_compile "$LINENO"; then :
15023 >  eval "$as_CACHEVAR=yes"
15024 > else
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 "$debugging" = "yes" ; then
15056 > else
15057 >  :
15058 > fi
15059  
15060 < $as_echo "#define DEBUG 1" >>confdefs.h
15060 > done
15061  
14535    CFLAGS="-Wall -g -O0"
14536  else
15062  
14538 $as_echo "#define NDEBUG 1" >>confdefs.h
15063  
15064 <  fi
15064 > for flag in -Wmissing-include-dirs; 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  
15072 +  ax_check_save_flags=$CFLAGS
15073 +  CFLAGS="$CFLAGS  $flag"
15074 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 + /* end confdefs.h.  */
15076  
15077 <  # Check whether --enable-warnings was given.
15078 < if test "${enable_warnings+set}" = set; then :
15079 <  enableval=$enable_warnings; warnings="$enableval"
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 <  warnings="no"
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 "$warnings" = "yes" ; then
15120 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15119 > else
15120 >  :
15121 > fi
15122 >
15123 > done
15124 >
15125 >
15126 >
15127 > for flag in -Wmissing-prototypes; 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 > 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 >  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 > else
15183 >  :
15184 > fi
15185 >
15186 > done
15187 >
15188 >
15189 >
15190 > for flag in -Wnested-externs; 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 -Wredundant-decls; 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 -Wshadow; 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 -Wwrite-strings; 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 -Wundef; 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    fi
15504  
15505  
# Line 14638 | Line 15589 | _ACEOF
15589    test "$exec_prefix_NONE" && exec_prefix=NONE
15590  
15591  
15592 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15592 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15593  
15594  
15595   cat >confcache <<\_ACEOF
# Line 14750 | Line 15701 | LIBOBJS=$ac_libobjs
15701   LTLIBOBJS=$ac_ltlibobjs
15702  
15703  
15704 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15705 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15706 +   if test -n "$am_sleep_pid"; then
15707 +     # Hide warnings about reused PIDs.
15708 +     wait $am_sleep_pid 2>/dev/null
15709 +   fi
15710 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15711 + $as_echo "done" >&6; }
15712   if test -n "$EXEEXT"; then
15713    am__EXEEXT_TRUE=
15714    am__EXEEXT_FALSE='#'
# Line 14796 | Line 15755 | LT_CONFIG_H=config.h
15755  
15756  
15757  
14799 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14800  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14802 fi
15758   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15759    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15760   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15761   fi
14807 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14808  as_fn_error $? "conditional \"EFNET\" was never defined.
14809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14810 fi
15762  
15763   : "${CONFIG_STATUS=./config.status}"
15764   ac_write_fail=0
# Line 15106 | Line 16057 | if (echo >conf$$.file) 2>/dev/null; then
16057      # ... but there are two gotchas:
16058      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16059      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16060 <    # In both cases, we have to default to `cp -p'.
16060 >    # In both cases, we have to default to `cp -pR'.
16061      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16062 <      as_ln_s='cp -p'
16062 >      as_ln_s='cp -pR'
16063    elif ln conf$$.file conf$$ 2>/dev/null; then
16064      as_ln_s=ln
16065    else
16066 <    as_ln_s='cp -p'
16066 >    as_ln_s='cp -pR'
16067    fi
16068   else
16069 <  as_ln_s='cp -p'
16069 >  as_ln_s='cp -pR'
16070   fi
16071   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16072   rmdir conf$$.dir 2>/dev/null
# Line 15175 | Line 16126 | else
16126    as_mkdir_p=false
16127   fi
16128  
16129 < if test -x / >/dev/null 2>&1; then
16130 <  as_test_x='test -x'
16131 < else
16132 <  if ls -dL / >/dev/null 2>&1; then
16133 <    as_ls_L_option=L
16134 <  else
16135 <    as_ls_L_option=
16136 <  fi
16137 <  as_test_x='
16138 <    eval sh -c '\''
15188 <      if test -d "$1"; then
15189 <        test -d "$1/.";
15190 <      else
15191 <        case $1 in #(
15192 <        -*)set "./$1";;
15193 <        esac;
15194 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15195 <        ???[sx]*):;;*)false;;esac;fi
15196 <    '\'' sh
15197 <  '
15198 < fi
15199 < as_executable_p=$as_test_x
16129 >
16130 > # as_fn_executable_p FILE
16131 > # -----------------------
16132 > # Test if FILE is an executable regular file.
16133 > as_fn_executable_p ()
16134 > {
16135 >  test -f "$1" && test -x "$1"
16136 > } # as_fn_executable_p
16137 > as_test_x='test -x'
16138 > as_executable_p=as_fn_executable_p
16139  
16140   # Sed expression to map a string onto a valid CPP name.
16141   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 15217 | Line 16156 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16156   # report actual input values of CONFIG_FILES etc. instead of their
16157   # values after options handling.
16158   ac_log="
16159 < This file was extended by ircd-hybrid $as_me 8beta1, which was
16160 < generated by GNU Autoconf 2.68.  Invocation command line was
16159 > This file was extended by ircd-hybrid $as_me 8.2.0beta3, which was
16160 > generated by GNU Autoconf 2.69.  Invocation command line was
16161  
16162    CONFIG_FILES    = $CONFIG_FILES
16163    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 15283 | Line 16222 | _ACEOF
16222   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16223   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16224   ac_cs_version="\\
16225 < ircd-hybrid config.status 8beta1
16226 < configured by $0, generated by GNU Autoconf 2.68,
16225 > ircd-hybrid config.status 8.2.0beta3
16226 > configured by $0, generated by GNU Autoconf 2.69,
16227    with options \\"\$ac_cs_config\\"
16228  
16229 < Copyright (C) 2010 Free Software Foundation, Inc.
16229 > Copyright (C) 2012 Free Software Foundation, Inc.
16230   This config.status script is free software; the Free Software Foundation
16231   gives unlimited permission to copy, distribute and modify it."
16232  
# Line 15378 | Line 16317 | fi
16317   _ACEOF
16318   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16319   if \$ac_cs_recheck; then
16320 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16320 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16321    shift
16322    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16323    CONFIG_SHELL='$SHELL'
# Line 15693 | Line 16632 | do
16632      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16633      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16634      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15696    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15697    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15698    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15699    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16635      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16636      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15702    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16637      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16638      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16639      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16640      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15707    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15708    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16641      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16642  
16643    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16303 | Line 17235 | $as_echo "$as_me: executing $ac_file com
17235  
17236    case $ac_file$ac_mode in
17237      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17238 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17238 >  # Older Autoconf quotes --file arguments for eval, but not when files
17239    # are listed without --file.  Let's play safe and only enable the eval
17240    # if we detect the quoting.
17241    case $CONFIG_FILES in
# Line 16316 | Line 17248 | $as_echo "$as_me: executing $ac_file com
17248      # Strip MF so we end up with the name of the file.
17249      mf=`echo "$mf" | sed -e 's/:.*$//'`
17250      # Check whether this is an Automake generated Makefile or not.
17251 <    # We used to match only the files named `Makefile.in', but
17251 >    # We used to match only the files named 'Makefile.in', but
17252      # some people rename them; so instead we look at the file content.
17253      # Grep'ing the first line is not enough: some people post-process
17254      # each Makefile.in and add a new line on top of each file to say so.
# Line 16350 | Line 17282 | $as_echo X"$mf" |
17282        continue
17283      fi
17284      # Extract the definition of DEPDIR, am__include, and am__quote
17285 <    # from the Makefile without running `make'.
17285 >    # from the Makefile without running 'make'.
17286      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17287      test -z "$DEPDIR" && continue
17288      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17289 <    test -z "am__include" && continue
17289 >    test -z "$am__include" && continue
17290      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16359    # When using ansi2knr, U may be empty or an underscore; expand it
16360    U=`sed -n 's/^U = //p' < "$mf"`
17291      # Find all dependency output files, they are included files with
17292      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17293      # simplest approach to changing $(DEPDIR) to its actual value in the
17294      # expansion.
17295      for file in `sed -n "
17296        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17297 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17297 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17298        # Make sure the directory exists.
17299        test -f "$dirpart/$file" && continue
17300        fdir=`$as_dirname -- "$file" ||

Comparing:
ircd-hybrid-8/configure (property svn:eol-style), Revision 1292 by michael, Sun Feb 12 20:36:27 2012 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 3811 by michael, Tue Jun 3 19:18:52 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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