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-7.3/configure (file contents), Revision 1123 by michael, Sun Feb 6 21:57:50 2011 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 3725 by michael, Sat May 31 16:29:38 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1111 2010-11-26 20:01:41Z michael .
2 > # From configure.ac Id: configure.ac 3644 2014-05-26 12:34:53Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.68 for ircd-hybrid 7.3-rc1.
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='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
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 690 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 706 | 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 770 | 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 783 | Line 805 | with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_zlib_path
787 < enable_zlib
788 < with_libpcre_path
789 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
792 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
796 enable_rtsigio
814   enable_poll
815   enable_select
799 with_nicklen
800 with_topiclen
801 with_syslog_facility
802 enable_efnet
803 enable_halfops
816   enable_debugging
817   enable_warnings
806 enable_syslog
818   '
819        ac_precious_vars='build_alias
820   host_alias
# Line 1271 | 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
1274    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1275    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 1358 | 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 7.3-rc1 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 1428 | 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 7.3-rc1:";;
1440 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0beta3:";;
1441     esac
1442    cat <<\_ACEOF
1443  
# Line 1436 | 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
1450 <  --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
1454  --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.
1458  --enable-rtsigio        Force rtsigio usage.
1470    --enable-poll           Force poll usage.
1471    --enable-select         Force select usage.
1461  --enable-efnet          For IRCDs running on EFnet.
1462  --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1465  --enable-syslog="EVENTS"
1466                          Enable syslog for events: users oper (space
1467                          separated in quotes; default: disabled).
1474  
1475   Optional Packages:
1476    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1477    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1478 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1478 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1479                            both]
1480    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1481    --with-sysroot=DIR Search for dependent libraries within DIR
# Line 1477 | 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
1480  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1481  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1482  --with-nicklen=<value>  Set nickname length (default 9).
1483  --with-topiclen=<value> Set topic length (default 160).
1484  --with-syslog-facility=LOG
1485                          Define the syslog facility to use (default:
1486                          LOG_LOCAL4)
1486  
1487   Some influential environment variables:
1488    CC          C compiler command
# Line 1567 | 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 7.3-rc1
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 1646 | 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 2093 | 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 7.3-rc1, 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 2373 | Line 2372 | $as_echo "$as_me: creating cache $cache_
2372    >$cache_file
2373   fi
2374  
2376 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"
2381 as_fn_append ac_func_list " socketpair"
2379   as_fn_append ac_header_list " crypt.h"
2383 as_fn_append ac_header_list " inttypes.h"
2384 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"
2387 as_fn_append ac_header_list " errno.h"
2388 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"
2393 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 2459 | 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 2527 | 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 2585 | 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; }
2588 # Just in case
2589 sleep 1
2590 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 2598 | 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
2620 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2621 <      # broken ls alias from the environment.  This has actually
2622 <      # happened.  Such a system could not be considered "sane".
2623 <      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2624 < alias in your environment" "$LINENO" 5
2625 <   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 2635 | 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 2657 | 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 2674 | 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 2696 | 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 2736 | 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 2787 | 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 2816 | Line 2823 | fi
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2824   $as_echo "$MKDIR_P" >&6; }
2825  
2819 mkdir_p="$MKDIR_P"
2820 case $mkdir_p in
2821  [\\/$]* | ?:[\\/]*) ;;
2822  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2823 esac
2824
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 2840 | 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 2904 | 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 2926 | Line 2966 | fi
2966  
2967   # Define the identity of the package.
2968   PACKAGE='ircd-hybrid'
2969 < VERSION='7.3-rc1'
2969 > VERSION='8.2.0beta3'
2970  
2971  
2972   cat >>confdefs.h <<_ACEOF
# Line 2954 | 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.
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 >
3016 >
3017  
2961 AMTAR=${AMTAR-"${am_missing_run}tar"}
3018  
2963 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
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; }
# Line 2989 | Line 3081 | fi
3081    MAINT=$MAINTAINER_MODE_TRUE
3082  
3083  
3084 +
3085   ac_config_headers="$ac_config_headers config.h"
3086  
3087  
# Line 3013 | 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 3046 | Line 3139 | fi
3139   if test "x$enable_dependency_tracking" != xno; then
3140    am_depcomp="$ac_aux_dir/depcomp"
3141    AMDEPBACKSLASH='\'
3142 +  am__nodep='_no'
3143   fi
3144   if test "x$enable_dependency_tracking" != xno; then
3145    AMDEP_TRUE=
# Line 3078 | 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 3118 | 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 3171 | 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 3212 | 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 3270 | 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 3314 | 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 3760 | 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>
3764 < #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 3846 | 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 3857 | 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
4017    # using a relative directory.
# Line 3892 | 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 3910 | 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
4071          break
4072        fi
4073        ;;
4074 <    msvisualcpp | msvcmsys)
4075 <      # This compiler won't grok `-c -o', but also, the minuso test has
4074 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
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 4119 | 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 4151 | 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 4171 | 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 4215 | 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 4247 | 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 4376 | Line 4530 | esac
4530  
4531  
4532  
4533 < macro_version='2.4'
4534 < macro_revision='1.3293'
4533 > macro_version='2.4.2'
4534 > macro_revision='1.3337'
4535  
4536  
4537  
# Line 4555 | 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 4631 | 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 4697 | 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 4764 | 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 5020 | 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 5064 | 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 5222 | Line 5376 | else
5376      lt_cv_sys_max_cmd_len=196608
5377      ;;
5378  
5379 +  os2*)
5380 +    # The test takes a long time on OS/2.
5381 +    lt_cv_sys_max_cmd_len=8192
5382 +    ;;
5383 +
5384    osf*)
5385      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5386      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5261 | Line 5420 | else
5420        # If test is not a shell built-in, we'll probably end up computing a
5421        # maximum length that is only half of the actual maximum length, but
5422        # we can't tell.
5423 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5423 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5424                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5425                test $i != 17 # 1/2 MB should be enough
5426        do
# 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 5690 | Line 5849 | irix5* | irix6* | nonstopux*)
5849    lt_cv_deplibs_check_method=pass_all
5850    ;;
5851  
5852 < # This must be Linux ELF.
5852 > # This must be glibc/ELF.
5853   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5854    lt_cv_deplibs_check_method=pass_all
5855    ;;
# 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 6330 | Line 6489 | old_postuninstall_cmds=
6489   if test -n "$RANLIB"; then
6490    case $host_os in
6491    openbsd*)
6492 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6492 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6493      ;;
6494    *)
6495 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6495 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6496      ;;
6497    esac
6498 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6498 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6499   fi
6500  
6501   case $host_os in
# Line 6483 | Line 6642 | for ac_symprfx in "" "_"; do
6642      # which start with @ or ?.
6643      lt_cv_sys_global_symbol_pipe="$AWK '"\
6644   "     {last_section=section; section=\$ 3};"\
6645 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6646   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6647   "     \$ 0!~/External *\|/{next};"\
6648   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6871 | Line 7031 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7031      CFLAGS="$SAVE_CFLAGS"
7032    fi
7033    ;;
7034 < sparc*-*solaris*)
7034 > *-*solaris*)
7035    # Find out which ABI we are using.
7036    echo 'int i;' > conftest.$ac_ext
7037    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6882 | Line 7042 | sparc*-*solaris*)
7042      case `/usr/bin/file conftest.o` in
7043      *64-bit*)
7044        case $lt_cv_prog_gnu_ld in
7045 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7045 >      yes*)
7046 >        case $host in
7047 >        i?86-*-solaris*)
7048 >          LD="${LD-ld} -m elf_x86_64"
7049 >          ;;
7050 >        sparc*-*-solaris*)
7051 >          LD="${LD-ld} -m elf64_sparc"
7052 >          ;;
7053 >        esac
7054 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7055 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7056 >          LD="${LD-ld}_sol2"
7057 >        fi
7058 >        ;;
7059        *)
7060          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7061            LD="${LD-ld} -64"
# Line 6915 | 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 6955 | 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 7035 | 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 7075 | 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 7127 | 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 7167 | 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 7219 | 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 7259 | 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 7311 | 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 7351 | 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 7403 | 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 7443 | 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 7522 | Line 7695 | else
7695          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7696            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7697          _lt_result=$?
7698 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7698 >        # If there is a non-empty error log, and "single_module"
7699 >        # appears in it, assume the flag caused a linker warning
7700 >        if test -s conftest.err && $GREP single_module conftest.err; then
7701 >          cat conftest.err >&5
7702 >        # Otherwise, if the output was created with a 0 exit code from
7703 >        # the compiler, it worked.
7704 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7705            lt_cv_apple_cc_single_mod=yes
7706          else
7707            cat conftest.err >&5
# Line 7533 | Line 7712 | else
7712   fi
7713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7714   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7715 +
7716      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7717   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7718   if ${lt_cv_ld_exported_symbols_list+:} false; then :
# Line 7565 | Line 7745 | rm -f core conftest.err conftest.$ac_obj
7745   fi
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7747   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7748 +
7749      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7750   $as_echo_n "checking for -force_load linker flag... " >&6; }
7751   if ${lt_cv_ld_force_load+:} false; then :
# Line 7586 | Line 7767 | _LT_EOF
7767        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7768        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7769        _lt_result=$?
7770 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7770 >      if test -s conftest.err && $GREP force_load conftest.err; then
7771 >        cat conftest.err >&5
7772 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7773          lt_cv_ld_force_load=yes
7774        else
7775          cat conftest.err >&5
# Line 7989 | Line 8172 | fi
8172  
8173   # Check whether --with-pic was given.
8174   if test "${with_pic+set}" = set; then :
8175 <  withval=$with_pic; pic_mode="$withval"
8175 >  withval=$with_pic; lt_p=${PACKAGE-default}
8176 >    case $withval in
8177 >    yes|no) pic_mode=$withval ;;
8178 >    *)
8179 >      pic_mode=default
8180 >      # Look at the argument we got.  We use all the common list separators.
8181 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8182 >      for lt_pkg in $withval; do
8183 >        IFS="$lt_save_ifs"
8184 >        if test "X$lt_pkg" = "X$lt_p"; then
8185 >          pic_mode=yes
8186 >        fi
8187 >      done
8188 >      IFS="$lt_save_ifs"
8189 >      ;;
8190 >    esac
8191   else
8192    pic_mode=default
8193   fi
# Line 8067 | Line 8265 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8265  
8266  
8267  
8268 +
8269 +
8270 +
8271 +
8272   test -z "$LN_S" && LN_S="ln -s"
8273  
8274  
# Line 8356 | 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 8522 | Line 8728 | lt_prog_compiler_static=
8728      case $cc_basename in
8729      nvcc*) # Cuda Compiler Driver 2.2
8730        lt_prog_compiler_wl='-Xlinker '
8731 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8731 >      if test -n "$lt_prog_compiler_pic"; then
8732 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8733 >      fi
8734        ;;
8735      esac
8736    else
# Line 8613 | Line 8821 | lt_prog_compiler_static=
8821          ;;
8822        *)
8823          case `$CC -V 2>&1 | sed 5q` in
8824 <        *Sun\ F* | *Sun*Fortran*)
8824 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8825            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8826            lt_prog_compiler_pic='-KPIC'
8827            lt_prog_compiler_static='-Bstatic'
8828            lt_prog_compiler_wl=''
8829            ;;
8830 +        *Sun\ F* | *Sun*Fortran*)
8831 +          lt_prog_compiler_pic='-KPIC'
8832 +          lt_prog_compiler_static='-Bstatic'
8833 +          lt_prog_compiler_wl='-Qoption ld '
8834 +          ;;
8835          *Sun\ C*)
8836            # Sun C 5.9
8837            lt_prog_compiler_pic='-KPIC'
8838            lt_prog_compiler_static='-Bstatic'
8839            lt_prog_compiler_wl='-Wl,'
8840            ;;
8841 +        *Intel*\ [CF]*Compiler*)
8842 +          lt_prog_compiler_wl='-Wl,'
8843 +          lt_prog_compiler_pic='-fPIC'
8844 +          lt_prog_compiler_static='-static'
8845 +          ;;
8846 +        *Portland\ Group*)
8847 +          lt_prog_compiler_wl='-Wl,'
8848 +          lt_prog_compiler_pic='-fpic'
8849 +          lt_prog_compiler_static='-Bstatic'
8850 +          ;;
8851          esac
8852          ;;
8853        esac
# Line 8986 | Line 9209 | $as_echo_n "checking whether the $compil
9209    hardcode_direct=no
9210    hardcode_direct_absolute=no
9211    hardcode_libdir_flag_spec=
8989  hardcode_libdir_flag_spec_ld=
9212    hardcode_libdir_separator=
9213    hardcode_minus_L=no
9214    hardcode_shlibpath_var=unsupported
# Line 9236 | Line 9458 | _LT_EOF
9458          xlf* | bgf* | bgxlf* | mpixlf*)
9459            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9460            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9461 <          hardcode_libdir_flag_spec=
9240 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9461 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9462            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9463            if test "x$supports_anon_versioning" = xyes; then
9464              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 9616 | Line 9837 | fi
9837          # The linker will not automatically build a static lib if we build a DLL.
9838          # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9839          enable_shared_with_static_runtimes=yes
9840 +        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9841          export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9842          # Don't use ranlib
9843          old_postinstall_cmds='chmod 644 $oldlib'
# Line 9661 | Line 9883 | fi
9883    hardcode_shlibpath_var=unsupported
9884    if test "$lt_cv_ld_force_load" = "yes"; then
9885      whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9886 +
9887    else
9888      whole_archive_flag_spec=''
9889    fi
# Line 9689 | Line 9912 | fi
9912        hardcode_shlibpath_var=no
9913        ;;
9914  
9692    freebsd1*)
9693      ld_shlibs=no
9694      ;;
9695
9915      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9916      # support.  Future versions do this automatically, but an explicit c++rt0.o
9917      # does not break anything, and helps significantly (at the cost of a little
# Line 9705 | Line 9924 | fi
9924        ;;
9925  
9926      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9927 <    freebsd2*)
9927 >    freebsd2.*)
9928        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9929        hardcode_direct=yes
9930        hardcode_minus_L=yes
# Line 9744 | Line 9963 | fi
9963        fi
9964        if test "$with_gnu_ld" = no; then
9965          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9747        hardcode_libdir_flag_spec_ld='+b $libdir'
9966          hardcode_libdir_separator=:
9967          hardcode_direct=yes
9968          hardcode_direct_absolute=yes
# Line 10368 | Line 10586 | esac
10586  
10587  
10588  
10371
10372
10373
10374
10375
10589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10590   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10591  
# Line 10462 | Line 10675 | need_version=unknown
10675  
10676   case $host_os in
10677   aix3*)
10678 <  version_type=linux
10678 >  version_type=linux # correct to gnu/linux during the next big refactor
10679    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10680    shlibpath_var=LIBPATH
10681  
# Line 10471 | Line 10684 | aix3*)
10684    ;;
10685  
10686   aix[4-9]*)
10687 <  version_type=linux
10687 >  version_type=linux # correct to gnu/linux during the next big refactor
10688    need_lib_prefix=no
10689    need_version=no
10690    hardcode_into_libs=yes
# Line 10536 | Line 10749 | beos*)
10749    ;;
10750  
10751   bsdi[45]*)
10752 <  version_type=linux
10752 >  version_type=linux # correct to gnu/linux during the next big refactor
10753    need_version=no
10754    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755    soname_spec='${libname}${release}${shared_ext}$major'
# Line 10675 | Line 10888 | darwin* | rhapsody*)
10888    ;;
10889  
10890   dgux*)
10891 <  version_type=linux
10891 >  version_type=linux # correct to gnu/linux during the next big refactor
10892    need_lib_prefix=no
10893    need_version=no
10894    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10683 | Line 10896 | dgux*)
10896    shlibpath_var=LD_LIBRARY_PATH
10897    ;;
10898  
10686 freebsd1*)
10687  dynamic_linker=no
10688  ;;
10689
10899   freebsd* | dragonfly*)
10900    # DragonFly does not have aout.  When/if they implement a new
10901    # versioning mechanism, adjust this.
# Line 10694 | Line 10903 | freebsd* | dragonfly*)
10903      objformat=`/usr/bin/objformat`
10904    else
10905      case $host_os in
10906 <    freebsd[123]*) objformat=aout ;;
10906 >    freebsd[23].*) objformat=aout ;;
10907      *) objformat=elf ;;
10908      esac
10909    fi
# Line 10712 | Line 10921 | freebsd* | dragonfly*)
10921    esac
10922    shlibpath_var=LD_LIBRARY_PATH
10923    case $host_os in
10924 <  freebsd2*)
10924 >  freebsd2.*)
10925      shlibpath_overrides_runpath=yes
10926      ;;
10927    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10732 | Line 10941 | freebsd* | dragonfly*)
10941    ;;
10942  
10943   gnu*)
10944 <  version_type=linux
10944 >  version_type=linux # correct to gnu/linux during the next big refactor
10945    need_lib_prefix=no
10946    need_version=no
10947    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10948    soname_spec='${libname}${release}${shared_ext}$major'
10949    shlibpath_var=LD_LIBRARY_PATH
10950 +  shlibpath_overrides_runpath=no
10951    hardcode_into_libs=yes
10952    ;;
10953  
10954   haiku*)
10955 <  version_type=linux
10955 >  version_type=linux # correct to gnu/linux during the next big refactor
10956    need_lib_prefix=no
10957    need_version=no
10958    dynamic_linker="$host_os runtime_loader"
# Line 10803 | Line 11013 | hpux9* | hpux10* | hpux11*)
11013    ;;
11014  
11015   interix[3-9]*)
11016 <  version_type=linux
11016 >  version_type=linux # correct to gnu/linux during the next big refactor
11017    need_lib_prefix=no
11018    need_version=no
11019    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10819 | Line 11029 | irix5* | irix6* | nonstopux*)
11029      nonstopux*) version_type=nonstopux ;;
11030      *)
11031          if test "$lt_cv_prog_gnu_ld" = yes; then
11032 <                version_type=linux
11032 >                version_type=linux # correct to gnu/linux during the next big refactor
11033          else
11034                  version_type=irix
11035          fi ;;
# Line 10856 | Line 11066 | linux*oldld* | linux*aout* | linux*coff*
11066    dynamic_linker=no
11067    ;;
11068  
11069 < # This must be Linux ELF.
11069 > # This must be glibc/ELF.
11070   linux* | k*bsd*-gnu | kopensolaris*-gnu)
11071 <  version_type=linux
11071 >  version_type=linux # correct to gnu/linux during the next big refactor
11072    need_lib_prefix=no
11073    need_version=no
11074    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10940 | Line 11150 | netbsd*)
11150    ;;
11151  
11152   newsos6)
11153 <  version_type=linux
11153 >  version_type=linux # correct to gnu/linux during the next big refactor
11154    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155    shlibpath_var=LD_LIBRARY_PATH
11156    shlibpath_overrides_runpath=yes
# Line 11009 | Line 11219 | rdos*)
11219    ;;
11220  
11221   solaris*)
11222 <  version_type=linux
11222 >  version_type=linux # correct to gnu/linux during the next big refactor
11223    need_lib_prefix=no
11224    need_version=no
11225    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 11034 | Line 11244 | sunos4*)
11244    ;;
11245  
11246   sysv4 | sysv4.3*)
11247 <  version_type=linux
11247 >  version_type=linux # correct to gnu/linux during the next big refactor
11248    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249    soname_spec='${libname}${release}${shared_ext}$major'
11250    shlibpath_var=LD_LIBRARY_PATH
# Line 11058 | Line 11268 | sysv4 | sysv4.3*)
11268  
11269   sysv4*MP*)
11270    if test -d /usr/nec ;then
11271 <    version_type=linux
11271 >    version_type=linux # correct to gnu/linux during the next big refactor
11272      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11273      soname_spec='$libname${shared_ext}.$major'
11274      shlibpath_var=LD_LIBRARY_PATH
# Line 11089 | Line 11299 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11299  
11300   tpf*)
11301    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11302 <  version_type=linux
11302 >  version_type=linux # correct to gnu/linux during the next big refactor
11303    need_lib_prefix=no
11304    need_version=no
11305    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 11099 | Line 11309 | tpf*)
11309    ;;
11310  
11311   uts4*)
11312 <  version_type=linux
11312 >  version_type=linux # correct to gnu/linux during the next big refactor
11313    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314    soname_spec='${libname}${release}${shared_ext}$major'
11315    shlibpath_var=LD_LIBRARY_PATH
# Line 11881 | Line 12091 | CC="$lt_save_CC"
12091  
12092  
12093  
12094 +
12095 +
12096          ac_config_commands="$ac_config_commands libtool"
12097  
12098  
# Line 11897 | Line 12109 | else
12109  
12110   module=yes
12111   eval libltdl_cv_shlibext=$shrext_cmds
12112 + module=no
12113 + eval libltdl_cv_shrext=$shrext_cmds
12114  
12115   fi
12116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11908 | Line 12122 | cat >>confdefs.h <<_ACEOF
12122   _ACEOF
12123  
12124   fi
12125 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12126 +
12127 + cat >>confdefs.h <<_ACEOF
12128 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12129 + _ACEOF
12130 +
12131 + fi
12132  
12133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12134   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
# Line 12954 | 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 12969 | 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 12986 | 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  
13011 else
13012  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 13027 | 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 13044 | 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 13083 | 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 13100 | 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  
13127  for ac_func in inet_aton inet_ntop inet_pton
13128 do :
13129  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13131 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13132  cat >>confdefs.h <<_ACEOF
13133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13134 _ACEOF
13135
13136 fi
13137 done
13138
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 13452 | Line 13835 | done
13835  
13836  
13837  
13455
13456
13457
13458
13838   # Checks for header files.
13839  
13840  
# Line 13490 | Line 13869 | done
13869  
13870  
13871  
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503 # check for /dev/null so we can use it to hold evil fd's
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13505 $as_echo_n "checking for /dev/null... " >&6; }
13506 if test -c /dev/null; then :
13507
13508
13509 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13510
13511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13512 $as_echo "yes" >&6; }
13513 else
13514
13515
13516 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13517
13518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13519 $as_echo "no - using devnull.log" >&6; }
13520 fi
13521
13522
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 13577 | 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.
13589 < if test "${enable_zlib+set}" = set; then :
13590 <  enableval=$enable_zlib; zlib=$enableval
13591 < else
13592 <  zlib=yes
13593 < fi
13594 <
13595 <
13596 < if test "$zlib" = "yes"; then :
13597 <
13598 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13599 < if test "x$ac_cv_header_zlib_h" = xyes; then :
13600 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13601 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13602 < 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
13606 < LIBS="-lz  $LIBS"
13940 >  ac_func_search_save_LIBS=$LIBS
13941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942   /* end confdefs.h.  */
13943  
# Line 13613 | 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
13634 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13635 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13636 < if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13637 <
13638 <      LIBS="-lz $LIBS"
13639 <
13640 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
13641 <
13642 <
13643 < else
13644 <  zlib=no
13645 < fi
13646 <
13647 <
13648 < else
13649 <  zlib=no
13650 < fi
13651 <
13652 <
13653 <
13654 < fi
13655 <
13656 <
13657 < # Check whether --with-libpcre-path was given.
13658 < if test "${with_libpcre_path+set}" = set; then :
13659 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13660 < fi
13661 <
13662 <
13663 < # Check whether --enable-libpcre was given.
13664 < if test "${enable_libpcre+set}" = set; then :
13665 <  enableval=$enable_libpcre; libpcre=$enableval
13666 < else
13667 <  libpcre=yes
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  
13670
13671 if test "$libpcre" = "yes"; then :
13672
13673  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13674 if test "x$ac_cv_header_pcre_h" = xyes; then :
13675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13676 $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13677 if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13678  $as_echo_n "(cached) " >&6
13679 else
13680  ac_check_lib_save_LIBS=$LIBS
13681 LIBS="-lpcre  $LIBS"
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h.  */
13684
13685 /* Override any GCC internal prototype to avoid an error.
13686   Use char because int might match the return type of a GCC
13687   builtin and then its argument prototype would still apply.  */
13688 #ifdef __cplusplus
13689 extern "C"
13690 #endif
13691 char pcre_study ();
13692 int
13693 main ()
13694 {
13695 return pcre_study ();
13696  ;
13697  return 0;
13698 }
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701  ac_cv_lib_pcre_pcre_study=yes
13977   else
13978 <  ac_cv_lib_pcre_pcre_study=no
13978 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13979   fi
13980 < rm -f core conftest.err conftest.$ac_objext \
13981 <    conftest$ac_exeext conftest.$ac_ext
13707 < 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"
13714 <
13715 < $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  
13718 else
13719  libpcre=no
13991   fi
13992  
13722
13723 else
13724  libpcre=no
13993   fi
13994  
13995  
13728
13729 fi
13730 if test "$libpcre" = yes; then
13731  ENABLE_PCRE_TRUE=
13732  ENABLE_PCRE_FALSE='#'
13733 else
13734  ENABLE_PCRE_TRUE='#'
13735  ENABLE_PCRE_FALSE=
13996   fi
13997  
13998  
# Line 13776 | Line 14036 | if test "$cf_enable_openssl" != "no"; th
14036    fi
14037  
14038        if test ! -z "$cf_openssl_basedir"; then
13779    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"
13783
13784 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13785
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 13795 | 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 13809 | 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 13874 | 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
13892 done
14177  
14178   fi
14179  
# Line 13900 | 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 13925 | Line 14209 | $as_echo "#define NDEBUG 1" >>confdefs.h
14209   fi
14210  
14211  
14212 < # Check whether --enable-small-net was given.
13929 < if test "${enable_small_net+set}" = set; then :
13930 <  enableval=$enable_small_net; small_net=$enableval
13931 < else
13932 <  small_net=no
13933 < fi
13934 <
13935 <
13936 < if test "$small_net" = "yes"; then :
13937 <
13938 <
13939 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13940 <
13941 <
13942 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13943 <
14212 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14213  
13945 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14214  
14215 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14216  
13948 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14217  
14218 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14219  
13951 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14220  
14221 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14222  
13954 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14223  
14224 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14225  
13957 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13958
13959
13960 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13961
13962
13963 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13964
13965
13966 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13967
13968 else
14226  
14227 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14228  
14229  
14230 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14230 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14231  
14232  
14233 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14233 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14234  
14235  
14236 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14236 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14237  
14238  
14239 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14239 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14240  
14241  
14242 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14242 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14243  
14244  
14245 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14245 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14246  
14247  
14248 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14248 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14249  
14250  
14251 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13994 <
13995 <
13996 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13997 <
13998 <
13999 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14000 <
14001 < fi
14251 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14252  
14253  
14254   # Argument processing.
# Line 14019 | Line 14269 | if test "${enable_devpoll+set}" = set; t
14269    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14270   fi
14271  
14022  # Check whether --enable-rtsigio was given.
14023 if test "${enable_rtsigio+set}" = set; then :
14024  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14025 fi
14026
14272    # Check whether --enable-poll was given.
14273   if test "${enable_poll+set}" = set; then :
14274    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 14207 | 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
14211 <
14212 < cat >>confdefs.h <<_ACEOF
14213 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14214 < _ACEOF
14215 <
14216 <  if test "$cross_compiling" = yes; then :
14217 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14218 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14219 < as_fn_error $? "cannot run test program while cross compiling
14220 < See \`config.log' for more details" "$LINENO" 5; }
14221 < else
14222 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 < /* end confdefs.h.  */
14224 <
14225 < #define _GNU_SOURCE
14226 < #include <fcntl.h>
14227 < static unsigned int have_f_setsig = 0;
14228 <
14229 < int
14230 < main ()
14231 < {
14232 <
14233 < #ifdef F_SETSIG
14234 <  have_f_setsig = 1;
14235 < #endif
14236 <  return have_f_setsig == 0;
14237 <
14238 <  ;
14239 <  return 0;
14240 < }
14241 < _ACEOF
14242 < if ac_fn_c_try_run "$LINENO"; then :
14243 <  is_rtsigio_mechanism_available="yes"
14244 < else
14245 <  is_rtsigio_mechanism_available="no"
14246 < fi
14247 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14248 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14249 < fi
14250 <
14251 <      iopoll_mechanism_poll=5
14455 >      iopoll_mechanism_poll=4
14456  
14457   cat >>confdefs.h <<_ACEOF
14458   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14302 | 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 14357 | 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 14394 | 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 < # Check whether --with-topiclen was given.
14687 < if test "${with_topiclen+set}" = set; then :
14688 <  withval=$with_topiclen; topiclen="$withval"
14686 > for flag in -Wextra; do
14687 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14688 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14689 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14690 > if eval \${$as_CACHEVAR+:} false; then :
14691 >  $as_echo_n "(cached) " >&6
14692   else
14693 <  topiclen="160"
14693 >
14694 >  ax_check_save_flags=$CFLAGS
14695 >  CFLAGS="$CFLAGS  $flag"
14696 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 > /* end confdefs.h.  */
14698 >
14699 > int
14700 > main ()
14701 > {
14702 >
14703 >  ;
14704 >  return 0;
14705 > }
14706 > _ACEOF
14707 > if ac_fn_c_try_compile "$LINENO"; then :
14708 >  eval "$as_CACHEVAR=yes"
14709 > else
14710 >  eval "$as_CACHEVAR=no"
14711 > fi
14712 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14713 >  CFLAGS=$ax_check_save_flags
14714 > fi
14715 > eval ac_res=\$$as_CACHEVAR
14716 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14717 > $as_echo "$ac_res" >&6; }
14718 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14719 >  if ${CFLAGS+:} false; then :
14720 >  case " $CFLAGS " in
14721 >    *" $flag "*)
14722 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14723 >  (: CFLAGS already contains $flag) 2>&5
14724 >  ac_status=$?
14725 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726 >  test $ac_status = 0; }
14727 >      ;;
14728 >    *)
14729 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14730 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14731 >  ac_status=$?
14732 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14733 >  test $ac_status = 0; }
14734 >      CFLAGS="$CFLAGS $flag"
14735 >      ;;
14736 >   esac
14737 > else
14738 >  CFLAGS="$flag"
14739   fi
14740  
14741 + else
14742 +  :
14743 + fi
14744  
14745 < cat >>confdefs.h <<_ACEOF
14746 < #define TOPICLEN ($topiclen)
14745 > done
14746 >
14747 >
14748 >
14749 > for flag in -Wno-unused; do
14750 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14751 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14752 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14753 > if eval \${$as_CACHEVAR+:} false; then :
14754 >  $as_echo_n "(cached) " >&6
14755 > else
14756 >
14757 >  ax_check_save_flags=$CFLAGS
14758 >  CFLAGS="$CFLAGS  $flag"
14759 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 > /* end confdefs.h.  */
14761 >
14762 > int
14763 > main ()
14764 > {
14765 >
14766 >  ;
14767 >  return 0;
14768 > }
14769   _ACEOF
14770 + if ac_fn_c_try_compile "$LINENO"; then :
14771 +  eval "$as_CACHEVAR=yes"
14772 + else
14773 +  eval "$as_CACHEVAR=no"
14774 + fi
14775 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14776 +  CFLAGS=$ax_check_save_flags
14777 + fi
14778 + eval ac_res=\$$as_CACHEVAR
14779 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14780 + $as_echo "$ac_res" >&6; }
14781 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14782 +  if ${CFLAGS+:} false; then :
14783 +  case " $CFLAGS " in
14784 +    *" $flag "*)
14785 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14786 +  (: CFLAGS already contains $flag) 2>&5
14787 +  ac_status=$?
14788 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14789 +  test $ac_status = 0; }
14790 +      ;;
14791 +    *)
14792 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14793 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14794 +  ac_status=$?
14795 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14796 +  test $ac_status = 0; }
14797 +      CFLAGS="$CFLAGS $flag"
14798 +      ;;
14799 +   esac
14800 + else
14801 +  CFLAGS="$flag"
14802 + fi
14803 +
14804 + else
14805 +  :
14806 + fi
14807 +
14808 + done
14809 +
14810  
14811  
14812 + for flag in -Wcast-qual; do
14813 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14814 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14815 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14816 + if eval \${$as_CACHEVAR+:} false; then :
14817 +  $as_echo_n "(cached) " >&6
14818 + else
14819 +
14820 +  ax_check_save_flags=$CFLAGS
14821 +  CFLAGS="$CFLAGS  $flag"
14822 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 + /* end confdefs.h.  */
14824  
14825 + int
14826 + main ()
14827 + {
14828  
14829 < # Check whether --with-syslog-facility was given.
14830 < if test "${with_syslog_facility+set}" = set; then :
14831 <  withval=$with_syslog_facility; syslog_facility="$withval"
14829 >  ;
14830 >  return 0;
14831 > }
14832 > _ACEOF
14833 > if ac_fn_c_try_compile "$LINENO"; then :
14834 >  eval "$as_CACHEVAR=yes"
14835   else
14836 <  syslog_facility="LOG_LOCAL4"
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 < cat >>confdefs.h <<_ACEOF
14872 < #define LOG_FACILITY $syslog_facility
14871 > done
14872 >
14873 >
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 +  CFLAGS="$flag"
14928 + fi
14929 +
14930 + else
14931 +  :
14932 + fi
14933 +
14934 + done
14935  
14936  
14937  
14938 <  # Check whether --enable-efnet was given.
14939 < if test "${enable_efnet+set}" = set; then :
14940 <  enableval=$enable_efnet; efnet="$enableval"
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 <  efnet="no"
14945 >
14946 >  ax_check_save_flags=$CFLAGS
14947 >  CFLAGS="$CFLAGS  $flag"
14948 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 > /* end confdefs.h.  */
14950 >
14951 > int
14952 > main ()
14953 > {
14954 >
14955 >  ;
14956 >  return 0;
14957 > }
14958 > _ACEOF
14959 > if ac_fn_c_try_compile "$LINENO"; then :
14960 >  eval "$as_CACHEVAR=yes"
14961 > else
14962 >  eval "$as_CACHEVAR=no"
14963 > fi
14964 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14965 >  CFLAGS=$ax_check_save_flags
14966 > fi
14967 > eval ac_res=\$$as_CACHEVAR
14968 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14969 > $as_echo "$ac_res" >&6; }
14970 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14971 >  if ${CFLAGS+:} false; then :
14972 >  case " $CFLAGS " in
14973 >    *" $flag "*)
14974 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14975 >  (: CFLAGS already contains $flag) 2>&5
14976 >  ac_status=$?
14977 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14978 >  test $ac_status = 0; }
14979 >      ;;
14980 >    *)
14981 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14982 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14983 >  ac_status=$?
14984 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 >  test $ac_status = 0; }
14986 >      CFLAGS="$CFLAGS $flag"
14987 >      ;;
14988 >   esac
14989 > else
14990 >  CFLAGS="$flag"
14991   fi
14992  
14993 <  if test "$efnet" = "yes" ; then
14994 <                use_efnet="yes"
14993 > else
14994 >  :
14995 > fi
14996  
14997 < $as_echo "#define EFNET 1" >>confdefs.h
14997 > done
14998  
14999 <        else
15000 <                use_efnet="no"
15001 <  fi
15002 <   if test "$use_efnet" = "yes"; then
15003 <  EFNET_TRUE=
15004 <  EFNET_FALSE='#'
14999 >
15000 >
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 >
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 > else
15057 >  :
15058 > fi
15059 >
15060 > done
15061 >
15062 >
15063 >
15064 > for flag in -Wmissing-prototypes; 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 <  EFNET_TRUE='#'
15072 <  EFNET_FALSE=
15071 >
15072 >  ax_check_save_flags=$CFLAGS
15073 >  CFLAGS="$CFLAGS  $flag"
15074 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 > /* end confdefs.h.  */
15076 >
15077 > int
15078 > main ()
15079 > {
15080 >
15081 >  ;
15082 >  return 0;
15083 > }
15084 > _ACEOF
15085 > if ac_fn_c_try_compile "$LINENO"; then :
15086 >  eval "$as_CACHEVAR=yes"
15087 > else
15088 >  eval "$as_CACHEVAR=no"
15089 > fi
15090 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 >  CFLAGS=$ax_check_save_flags
15092   fi
15093 + eval ac_res=\$$as_CACHEVAR
15094 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15095 + $as_echo "$ac_res" >&6; }
15096 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15097 +  if ${CFLAGS+:} false; then :
15098 +  case " $CFLAGS " in
15099 +    *" $flag "*)
15100 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15101 +  (: CFLAGS already contains $flag) 2>&5
15102 +  ac_status=$?
15103 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 +  test $ac_status = 0; }
15105 +      ;;
15106 +    *)
15107 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15108 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15109 +  ac_status=$?
15110 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15111 +  test $ac_status = 0; }
15112 +      CFLAGS="$CFLAGS $flag"
15113 +      ;;
15114 +   esac
15115 + else
15116 +  CFLAGS="$flag"
15117 + fi
15118 +
15119 + else
15120 +  :
15121 + fi
15122 +
15123 + done
15124 +
15125 +
15126 +
15127 + for flag in -Wnested-externs; 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  
14467  # Check whether --enable-halfops was given.
14468 if test "${enable_halfops+set}" = set; then :
14469  enableval=$enable_halfops; halfops="$enableval"
15182   else
15183 <  halfops="no"
15183 >  :
15184   fi
15185  
15186 <  if test "$halfops" = "yes" ; then
15186 > done
15187  
14476 $as_echo "#define HALFOPS 1" >>confdefs.h
15188  
14478  fi
15189  
15190 + for flag in -Wredundant-decls; 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 <  # Check whether --enable-debugging was given.
15199 < if test "${enable_debugging+set}" = set; then :
15200 <  enableval=$enable_debugging; debugging="$enableval"
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 <  debugging="no"
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 <  if test "$debugging" = "yes" ; then
15245 > else
15246 >  :
15247 > fi
15248  
15249 < $as_echo "#define DEBUG 1" >>confdefs.h
15249 > done
15250  
14492    CFLAGS="-Wall -g -O0"
14493  else
15251  
14495 $as_echo "#define NDEBUG 1" >>confdefs.h
15252  
15253 <  fi
15253 > for flag in -Wshadow; 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 <  # Check whether --enable-warnings was given.
15267 < if test "${enable_warnings+set}" = set; then :
15268 <  enableval=$enable_warnings; warnings="$enableval"
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 <  warnings="no"
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 <  if test "$warnings" = "yes" ; then
15309 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15310 <  fi
15308 > else
15309 >  :
15310 > fi
15311  
15312 + done
15313  
15314 <  for ac_header in syslog.h sys/syslog.h
15315 < do :
15316 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15317 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15318 < if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15319 <  cat >>confdefs.h <<_ACEOF
15320 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15314 >
15315 >
15316 > for flag in -Wwrite-strings; 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 <  # Check whether --enable-syslog was given.
15378 < if test "${enable_syslog+set}" = set; then :
15379 <  enableval=$enable_syslog; syslog="$enableval"
15380 < else
15381 <  syslog="no"
15377 >
15378 >
15379 > for flag in -Wundef; 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 <  if test "$enableval" != "no" ; then
15435 <    for option in $enableval ; do
15436 <      case "$option" in
14535 <        users)
14536 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
14537 < ;;
14538 <        oper)
14539 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
14540 < ;;
14541 <        yes) : ;;
14542 <        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14543 <      esac
14544 <    done
15434 > else
15435 >  :
15436 > fi
15437  
15438 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15438 > done
15439  
15440    fi
15441  
# Line 14634 | Line 15526 | _ACEOF
15526    test "$exec_prefix_NONE" && exec_prefix=NONE
15527  
15528  
15529 < 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"
15529 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15530  
15531  
15532   cat >confcache <<\_ACEOF
# Line 14746 | Line 15638 | LIBOBJS=$ac_libobjs
15638   LTLIBOBJS=$ac_ltlibobjs
15639  
15640  
15641 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15642 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15643 +   if test -n "$am_sleep_pid"; then
15644 +     # Hide warnings about reused PIDs.
15645 +     wait $am_sleep_pid 2>/dev/null
15646 +   fi
15647 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15648 + $as_echo "done" >&6; }
15649   if test -n "$EXEEXT"; then
15650    am__EXEEXT_TRUE=
15651    am__EXEEXT_FALSE='#'
# Line 14792 | Line 15692 | LT_CONFIG_H=config.h
15692  
15693  
15694  
14795 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14796  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14798 fi
15695   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15696    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15697   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15698   fi
14803 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14804  as_fn_error $? "conditional \"EFNET\" was never defined.
14805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14806 fi
15699  
15700   : "${CONFIG_STATUS=./config.status}"
15701   ac_write_fail=0
# Line 15102 | Line 15994 | if (echo >conf$$.file) 2>/dev/null; then
15994      # ... but there are two gotchas:
15995      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15996      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15997 <    # In both cases, we have to default to `cp -p'.
15997 >    # In both cases, we have to default to `cp -pR'.
15998      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15999 <      as_ln_s='cp -p'
15999 >      as_ln_s='cp -pR'
16000    elif ln conf$$.file conf$$ 2>/dev/null; then
16001      as_ln_s=ln
16002    else
16003 <    as_ln_s='cp -p'
16003 >    as_ln_s='cp -pR'
16004    fi
16005   else
16006 <  as_ln_s='cp -p'
16006 >  as_ln_s='cp -pR'
16007   fi
16008   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16009   rmdir conf$$.dir 2>/dev/null
# Line 15171 | Line 16063 | else
16063    as_mkdir_p=false
16064   fi
16065  
16066 < if test -x / >/dev/null 2>&1; then
16067 <  as_test_x='test -x'
16068 < else
16069 <  if ls -dL / >/dev/null 2>&1; then
16070 <    as_ls_L_option=L
16071 <  else
16072 <    as_ls_L_option=
16073 <  fi
16074 <  as_test_x='
16075 <    eval sh -c '\''
15184 <      if test -d "$1"; then
15185 <        test -d "$1/.";
15186 <      else
15187 <        case $1 in #(
15188 <        -*)set "./$1";;
15189 <        esac;
15190 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15191 <        ???[sx]*):;;*)false;;esac;fi
15192 <    '\'' sh
15193 <  '
15194 < fi
15195 < as_executable_p=$as_test_x
16066 >
16067 > # as_fn_executable_p FILE
16068 > # -----------------------
16069 > # Test if FILE is an executable regular file.
16070 > as_fn_executable_p ()
16071 > {
16072 >  test -f "$1" && test -x "$1"
16073 > } # as_fn_executable_p
16074 > as_test_x='test -x'
16075 > as_executable_p=as_fn_executable_p
16076  
16077   # Sed expression to map a string onto a valid CPP name.
16078   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 15213 | Line 16093 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16093   # report actual input values of CONFIG_FILES etc. instead of their
16094   # values after options handling.
16095   ac_log="
16096 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16097 < generated by GNU Autoconf 2.68.  Invocation command line was
16096 > This file was extended by ircd-hybrid $as_me 8.2.0beta3, which was
16097 > generated by GNU Autoconf 2.69.  Invocation command line was
16098  
16099    CONFIG_FILES    = $CONFIG_FILES
16100    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 15279 | Line 16159 | _ACEOF
16159   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16160   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16161   ac_cs_version="\\
16162 < ircd-hybrid config.status 7.3-rc1
16163 < configured by $0, generated by GNU Autoconf 2.68,
16162 > ircd-hybrid config.status 8.2.0beta3
16163 > configured by $0, generated by GNU Autoconf 2.69,
16164    with options \\"\$ac_cs_config\\"
16165  
16166 < Copyright (C) 2010 Free Software Foundation, Inc.
16166 > Copyright (C) 2012 Free Software Foundation, Inc.
16167   This config.status script is free software; the Free Software Foundation
16168   gives unlimited permission to copy, distribute and modify it."
16169  
# Line 15374 | Line 16254 | fi
16254   _ACEOF
16255   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16256   if \$ac_cs_recheck; then
16257 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16257 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16258    shift
16259    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16260    CONFIG_SHELL='$SHELL'
# Line 15416 | Line 16296 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
16296   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16297   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16298   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16299 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16300   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16301   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16302   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 15498 | Line 16379 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
16379   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16380   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16381   hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15501 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16382   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16383   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16384   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 15554 | Line 16434 | _LTECHO_EOF'
16434   # Quote evaled strings.
16435   for var in SHELL \
16436   ECHO \
16437 + PATH_SEPARATOR \
16438   SED \
16439   GREP \
16440   EGREP \
# Line 15604 | Line 16485 | with_gnu_ld \
16485   allow_undefined_flag \
16486   no_undefined_flag \
16487   hardcode_libdir_flag_spec \
15607 hardcode_libdir_flag_spec_ld \
16488   hardcode_libdir_separator \
16489   exclude_expsyms \
16490   include_expsyms \
# Line 15689 | Line 16569 | do
16569      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16570      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16571      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15692    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15693    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15694    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15695    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16572      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16573      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15698    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16574      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16575      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16576      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16577      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15703    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15704    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16578      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16579  
16580    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16299 | Line 17172 | $as_echo "$as_me: executing $ac_file com
17172  
17173    case $ac_file$ac_mode in
17174      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17175 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17175 >  # Older Autoconf quotes --file arguments for eval, but not when files
17176    # are listed without --file.  Let's play safe and only enable the eval
17177    # if we detect the quoting.
17178    case $CONFIG_FILES in
# Line 16312 | Line 17185 | $as_echo "$as_me: executing $ac_file com
17185      # Strip MF so we end up with the name of the file.
17186      mf=`echo "$mf" | sed -e 's/:.*$//'`
17187      # Check whether this is an Automake generated Makefile or not.
17188 <    # We used to match only the files named `Makefile.in', but
17188 >    # We used to match only the files named 'Makefile.in', but
17189      # some people rename them; so instead we look at the file content.
17190      # Grep'ing the first line is not enough: some people post-process
17191      # each Makefile.in and add a new line on top of each file to say so.
# Line 16346 | Line 17219 | $as_echo X"$mf" |
17219        continue
17220      fi
17221      # Extract the definition of DEPDIR, am__include, and am__quote
17222 <    # from the Makefile without running `make'.
17222 >    # from the Makefile without running 'make'.
17223      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17224      test -z "$DEPDIR" && continue
17225      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17226 <    test -z "am__include" && continue
17226 >    test -z "$am__include" && continue
17227      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16355    # When using ansi2knr, U may be empty or an underscore; expand it
16356    U=`sed -n 's/^U = //p' < "$mf"`
17228      # Find all dependency output files, they are included files with
17229      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17230      # simplest approach to changing $(DEPDIR) to its actual value in the
17231      # expansion.
17232      for file in `sed -n "
17233        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17234 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17234 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17235        # Make sure the directory exists.
17236        test -f "$dirpart/$file" && continue
17237        fdir=`$as_dirname -- "$file" ||
# Line 16414 | Line 17285 | $as_echo X"$file" |
17285   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17286   #
17287   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17288 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17289 < #                 Inc.
17288 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17289 > #                 Foundation, Inc.
17290   #   Written by Gordon Matzigkeit, 1996
17291   #
17292   #   This file is part of GNU Libtool.
# Line 16469 | Line 17340 | SHELL=$lt_SHELL
17340   # An echo program that protects backslashes.
17341   ECHO=$lt_ECHO
17342  
17343 + # The PATH separator for the build system.
17344 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17345 +
17346   # The host system.
17347   host_alias=$host_alias
17348   host=$host
# Line 16770 | Line 17644 | no_undefined_flag=$lt_no_undefined_flag
17644   # This must work even if \$libdir does not exist
17645   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17646  
16773 # If ld is used when linking, flag to hardcode \$libdir into a binary
16774 # during linking.  This must work even if \$libdir does not exist.
16775 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16776
17647   # Whether we need a single "-rpath" flag with a separated argument.
17648   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17649  

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1123 by michael, Sun Feb 6 21:57:50 2011 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 3725 by michael, Sat May 31 16:29:38 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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