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 1107 by michael, Tue Nov 2 15:19:41 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 1908 by michael, Sat Apr 27 21:25:11 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1106 2010-11-02 15:10:53Z michael .
2 > # From configure.ac Id: configure.ac 1856 2013-04-24 19:43:22Z 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 TRUNK.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 < # Foundation, Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 137 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 170 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
# Line 223 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        # Preserve -v and -x to the replacement shell.
254 <        BASH_ENV=/dev/null
255 <        ENV=/dev/null
256 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 <        export CONFIG_SHELL
258 <        case $- in # ((((
259 <          *v*x* | *x*v* ) as_opts=-vx ;;
260 <          *v* ) as_opts=-v ;;
261 <          *x* ) as_opts=-x ;;
262 <          * ) as_opts= ;;
263 <        esac
264 <        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 340 | Line 368 | $as_echo X"$as_dir" |
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 461 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 495 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 516 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
521 < else
522 <  if ls -dL / >/dev/null 2>&1; then
523 <    as_ls_L_option=L
524 <  else
525 <    as_ls_L_option=
526 <  fi
527 <  as_test_x='
528 <    eval sh -c '\''
529 <      if test -d "$1"; then
530 <        test -d "$1/.";
531 <      else
532 <        case $1 in #(
533 <        -*)set "./$1";;
534 <        esac;
535 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 <        ???[sx]*):;;*)false;;esac;fi
537 <    '\'' sh
538 <  '
539 < fi
540 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 573 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 628 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
631 EFNET_FALSE
632 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
635 ENABLE_PCRE_FALSE
636 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
655   CONVENIENCE_LTDL_FALSE
# Line 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
786 with_zlib_path
787 enable_zlib
788 with_libpcre_path
808   enable_libpcre
809 + enable_libGeoIP
810   enable_openssl
811   enable_assert
792 enable_small_net
812   enable_kqueue
813   enable_epoll
814   enable_devpoll
796 enable_rtsigio
815   enable_poll
816   enable_select
799 with_nicklen
800 with_topiclen
801 with_syslog_facility
802 enable_efnet
817   enable_halfops
818   enable_debugging
819   enable_warnings
806 enable_syslog
820   '
821        ac_precious_vars='build_alias
822   host_alias
# Line 1271 | Line 1284 | target=$target_alias
1284   if test "x$host_alias" != x; then
1285    if test "x$build_alias" = x; then
1286      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
1287    elif test "x$build_alias" != "x$host_alias"; then
1288      cross_compiling=yes
1289    fi
# Line 1358 | Line 1369 | if test "$ac_init_help" = "long"; then
1369    # Omit some internal or obsolete options to make the list less imposing.
1370    # This message is too long to be a string in the A/UX 3.1 sh.
1371    cat <<_ACEOF
1372 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1372 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1373  
1374   Usage: $0 [OPTION]... [VAR=VALUE]...
1375  
# Line 1428 | Line 1439 | fi
1439  
1440   if test -n "$ac_init_help"; then
1441    case $ac_init_help in
1442 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1442 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1443     esac
1444    cat <<\_ACEOF
1445  
# Line 1436 | Line 1447 | Optional Features:
1447    --disable-option-checking  ignore unrecognized --enable/--with options
1448    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1449    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1450 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1451 <                          (and sometimes confusing) to the casual installer
1452 <  --disable-dependency-tracking  speeds up one-time build
1453 <  --enable-dependency-tracking   do not reject slow dependency extractors
1450 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1451 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1452 >  --enable-maintainer-mode
1453 >                          enable make rules and dependencies not useful (and
1454 >                          sometimes confusing) to the casual installer
1455 >  --enable-dependency-tracking
1456 >                          do not reject slow dependency extractors
1457 >  --disable-dependency-tracking
1458 >                          speeds up one-time build
1459    --enable-static[=PKGS]  build static libraries [default=no]
1460    --enable-shared[=PKGS]  build shared libraries [default=yes]
1461    --enable-fast-install[=PKGS]
1462                            optimize for fast installation [default=yes]
1463    --disable-libtool-lock  avoid locking (might break parallel builds)
1464    --enable-ltdl-install   install libltdl
1449  --disable-zlib          Disable ziplinks support
1465    --disable-libpcre       Disable PCRE support
1466 +  --disable-libgeoip      Disable GeoIP support
1467    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1468    --disable-openssl            Disable OpenSSL support.
1469    --enable-assert         Enable assert() statements
1454  --enable-small-net      Enable small network support.
1470    --enable-kqueue         Force kqueue usage.
1471    --enable-epoll          Force epoll usage.
1472    --enable-devpoll        Force devpoll usage.
1458  --enable-rtsigio        Force rtsigio usage.
1473    --enable-poll           Force poll usage.
1474    --enable-select         Force select usage.
1461  --enable-efnet          For IRCDs running on EFnet.
1475    --enable-halfops        Enable halfops support.
1476    --enable-debugging      Enable debugging.
1477    --enable-warnings       Enable compiler warnings.
1465  --enable-syslog="EVENTS"
1466                          Enable syslog for events: users oper (space
1467                          separated in quotes; default: disabled).
1478  
1479   Optional Packages:
1480    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1481    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1482 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1482 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1483                            both]
1484    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1485    --with-sysroot=DIR Search for dependent libraries within DIR
# Line 1477 | Line 1487 | Optional Packages:
1487    --with-included-ltdl    use the GNU ltdl sources included here
1488    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1489    --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)
1490  
1491   Some influential environment variables:
1492    CC          C compiler command
# Line 1567 | Line 1570 | fi
1570   test -n "$ac_init_help" && exit $ac_status
1571   if $ac_init_version; then
1572    cat <<\_ACEOF
1573 < ircd-hybrid configure 7.3-rc1
1574 < generated by GNU Autoconf 2.68
1573 > ircd-hybrid configure TRUNK
1574 > generated by GNU Autoconf 2.69
1575  
1576 < Copyright (C) 2010 Free Software Foundation, Inc.
1576 > Copyright (C) 2012 Free Software Foundation, Inc.
1577   This configure script is free software; the Free Software Foundation
1578   gives unlimited permission to copy, distribute and modify it.
1579   _ACEOF
# Line 1646 | Line 1649 | $as_echo "$ac_try_echo"; } >&5
1649           test ! -s conftest.err
1650         } && test -s conftest$ac_exeext && {
1651           test "$cross_compiling" = yes ||
1652 <         $as_test_x conftest$ac_exeext
1652 >         test -x conftest$ac_exeext
1653         }; then :
1654    ac_retval=0
1655   else
# Line 2093 | Line 2096 | cat >config.log <<_ACEOF
2096   This file contains any messages produced by compilers while
2097   running configure, to aid debugging if configure makes a mistake.
2098  
2099 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2100 < generated by GNU Autoconf 2.68.  Invocation command line was
2099 > It was created by ircd-hybrid $as_me TRUNK, which was
2100 > generated by GNU Autoconf 2.69.  Invocation command line was
2101  
2102    $ $0 $@
2103  
# Line 2373 | Line 2376 | $as_echo "$as_me: creating cache $cache_
2376    >$cache_file
2377   fi
2378  
2376 as_fn_append ac_func_list " mmap"
2379   as_fn_append ac_func_list " strtok_r"
2380   as_fn_append ac_func_list " usleep"
2381   as_fn_append ac_func_list " strlcat"
2382   as_fn_append ac_func_list " strlcpy"
2383   as_fn_append ac_header_list " crypt.h"
2382 as_fn_append ac_header_list " inttypes.h"
2383 as_fn_append ac_header_list " stdint.h"
2384   as_fn_append ac_header_list " sys/resource.h"
2385   as_fn_append ac_header_list " sys/param.h"
2386 as_fn_append ac_header_list " errno.h"
2387 as_fn_append ac_header_list " sys/syslog.h"
2386   as_fn_append ac_header_list " types.h"
2387   as_fn_append ac_header_list " socket.h"
2388   as_fn_append ac_header_list " sys/wait.h"
2389   as_fn_append ac_header_list " wait.h"
2392 as_fn_append ac_header_list " link.h"
2390   # Check that the precious variables saved in the cache have kept the same
2391   # value.
2392   ac_cache_corrupted=false
# Line 2458 | Line 2455 | ac_link='$CC -o conftest$ac_exeext $CFLA
2455   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2456  
2457  
2458 < am__api_version='1.11'
2458 > am__api_version='1.13'
2459  
2460   ac_aux_dir=
2461   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2526 | Line 2523 | case $as_dir/ in #((
2523      # by default.
2524      for ac_prog in ginstall scoinst install; do
2525        for ac_exec_ext in '' $ac_executable_extensions; do
2526 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2526 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2527            if test $ac_prog = install &&
2528              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2529              # AIX install.  It has an incompatible calling convention.
# Line 2584 | Line 2581 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2581  
2582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2583   $as_echo_n "checking whether build environment is sane... " >&6; }
2587 # Just in case
2588 sleep 1
2589 echo timestamp > conftest.file
2584   # Reject unsafe characters in $srcdir or the absolute working directory
2585   # name.  Accept space and tab only in the latter.
2586   am_lf='
# Line 2597 | Line 2591 | case `pwd` in
2591   esac
2592   case $srcdir in
2593    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2594 <    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2594 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2595   esac
2596  
2597 < # Do `set' in a subshell so we don't clobber the current shell's
2597 > # Do 'set' in a subshell so we don't clobber the current shell's
2598   # arguments.  Must try -L first in case configure is actually a
2599   # symlink; some systems play weird games with the mod time of symlinks
2600   # (eg FreeBSD returns the mod time of the symlink's containing
2601   # directory).
2602   if (
2603 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2604 <   if test "$*" = "X"; then
2605 <      # -L didn't work.
2606 <      set X `ls -t "$srcdir/configure" conftest.file`
2607 <   fi
2608 <   rm -f conftest.file
2609 <   if test "$*" != "X $srcdir/configure conftest.file" \
2610 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2611 <
2612 <      # If neither matched, then we have a broken ls.  This can happen
2619 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2620 <      # broken ls alias from the environment.  This has actually
2621 <      # happened.  Such a system could not be considered "sane".
2622 <      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2623 < alias in your environment" "$LINENO" 5
2624 <   fi
2603 >   am_has_slept=no
2604 >   for am_try in 1 2; do
2605 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2606 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2607 >     if test "$*" = "X"; then
2608 >        # -L didn't work.
2609 >        set X `ls -t "$srcdir/configure" conftest.file`
2610 >     fi
2611 >     if test "$*" != "X $srcdir/configure conftest.file" \
2612 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2613  
2614 +        # If neither matched, then we have a broken ls.  This can happen
2615 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2616 +        # broken ls alias from the environment.  This has actually
2617 +        # happened.  Such a system could not be considered "sane".
2618 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2619 +  alias in your environment" "$LINENO" 5
2620 +     fi
2621 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2622 +       break
2623 +     fi
2624 +     # Just in case.
2625 +     sleep 1
2626 +     am_has_slept=yes
2627 +   done
2628     test "$2" = conftest.file
2629     )
2630   then
# Line 2634 | Line 2636 | Check your system clock" "$LINENO" 5
2636   fi
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2638   $as_echo "yes" >&6; }
2639 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2640 + # generated files are strictly newer.
2641 + am_sleep_pid=
2642 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2643 +  ( sleep 1 ) &
2644 +  am_sleep_pid=$!
2645 + fi
2646 +
2647 + rm -f conftest.file
2648 +
2649   test "$program_prefix" != NONE &&
2650    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2651   # Use a double $ so make ignores it.
# Line 2656 | Line 2668 | if test x"${MISSING+set}" != xset; then
2668    esac
2669   fi
2670   # Use eval to expand $SHELL
2671 < if eval "$MISSING --run true"; then
2672 <  am_missing_run="$MISSING --run "
2671 > if eval "$MISSING --is-lightweight"; then
2672 >  am_missing_run="$MISSING "
2673   else
2674    am_missing_run=
2675 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2676 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2675 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2676 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2677   fi
2678  
2679   if test x"${install_sh}" != xset; then
# Line 2673 | Line 2685 | if test x"${install_sh}" != xset; then
2685    esac
2686   fi
2687  
2688 < # Installed binaries are usually stripped using `strip' when the user
2689 < # run `make install-strip'.  However `strip' might not be the right
2688 > # Installed binaries are usually stripped using 'strip' when the user
2689 > # run "make install-strip".  However 'strip' might not be the right
2690   # tool to use in cross-compilation environments, therefore Automake
2691 < # will honor the `STRIP' environment variable to overrule this program.
2691 > # will honor the 'STRIP' environment variable to overrule this program.
2692   if test "$cross_compiling" != no; then
2693    if test -n "$ac_tool_prefix"; then
2694    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
# Line 2695 | Line 2707 | do
2707    IFS=$as_save_IFS
2708    test -z "$as_dir" && as_dir=.
2709      for ac_exec_ext in '' $ac_executable_extensions; do
2710 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2712      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713      break 2
# Line 2735 | Line 2747 | do
2747    IFS=$as_save_IFS
2748    test -z "$as_dir" && as_dir=.
2749      for ac_exec_ext in '' $ac_executable_extensions; do
2750 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2751      ac_cv_prog_ac_ct_STRIP="strip"
2752      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753      break 2
# Line 2786 | Line 2798 | do
2798    test -z "$as_dir" && as_dir=.
2799      for ac_prog in mkdir gmkdir; do
2800           for ac_exec_ext in '' $ac_executable_extensions; do
2801 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2801 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2802             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2803               'mkdir (GNU coreutils) '* | \
2804               'mkdir (coreutils) '* | \
# Line 2815 | Line 2827 | fi
2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2828   $as_echo "$MKDIR_P" >&6; }
2829  
2818 mkdir_p="$MKDIR_P"
2819 case $mkdir_p in
2820  [\\/$]* | ?:[\\/]*) ;;
2821  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2822 esac
2823
2830   for ac_prog in gawk mawk nawk awk
2831   do
2832    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 2839 | Line 2845 | do
2845    IFS=$as_save_IFS
2846    test -z "$as_dir" && as_dir=.
2847      for ac_exec_ext in '' $ac_executable_extensions; do
2848 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2849      ac_cv_prog_AWK="$ac_prog"
2850      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851      break 2
# Line 2903 | Line 2909 | else
2909   fi
2910   rmdir .tst 2>/dev/null
2911  
2912 + # Check whether --enable-silent-rules was given.
2913 + if test "${enable_silent_rules+set}" = set; then :
2914 +  enableval=$enable_silent_rules;
2915 + fi
2916 +
2917 + case $enable_silent_rules in # (((
2918 +  yes) AM_DEFAULT_VERBOSITY=0;;
2919 +   no) AM_DEFAULT_VERBOSITY=1;;
2920 +    *) AM_DEFAULT_VERBOSITY=1;;
2921 + esac
2922 + am_make=${MAKE-make}
2923 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2924 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2925 + if ${am_cv_make_support_nested_variables+:} false; then :
2926 +  $as_echo_n "(cached) " >&6
2927 + else
2928 +  if $as_echo 'TRUE=$(BAR$(V))
2929 + BAR0=false
2930 + BAR1=true
2931 + V=1
2932 + am__doit:
2933 +        @$(TRUE)
2934 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2935 +  am_cv_make_support_nested_variables=yes
2936 + else
2937 +  am_cv_make_support_nested_variables=no
2938 + fi
2939 + fi
2940 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2941 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2942 + if test $am_cv_make_support_nested_variables = yes; then
2943 +    AM_V='$(V)'
2944 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2945 + else
2946 +  AM_V=$AM_DEFAULT_VERBOSITY
2947 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2948 + fi
2949 + AM_BACKSLASH='\'
2950 +
2951   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2952    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2953    # is not polluted with repeated "-I."
# Line 2925 | Line 2970 | fi
2970  
2971   # Define the identity of the package.
2972   PACKAGE='ircd-hybrid'
2973 < VERSION='7.3-rc1'
2973 > VERSION='TRUNK'
2974  
2975  
2976   cat >>confdefs.h <<_ACEOF
# Line 2953 | Line 2998 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2998  
2999   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3000  
3001 + # For better backward compatibility.  To be removed once Automake 1.9.x
3002 + # dies out for good.  For more background, see:
3003 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3004 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3005 + mkdir_p='$(MKDIR_P)'
3006 +
3007   # We need awk for the "check" target.  The system "awk" is bad on
3008   # some platforms.
3009 < # Always define AMTAR for backward compatibility.
3009 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3010 > # in the wild :-(  We should find a proper way to deprecate it ...
3011 > AMTAR='$${TAR-tar}'
3012  
3013 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2961 <
2962 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3013 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3014  
3015  
3016  
# Line 3012 | Line 3063 | am__quote=
3063   _am_result=none
3064   # First try GNU make style include.
3065   echo "include confinc" > confmf
3066 < # Ignore all kinds of additional output from `make'.
3066 > # Ignore all kinds of additional output from 'make'.
3067   case `$am_make -s -f confmf 2> /dev/null` in #(
3068   *the\ am__doit\ target*)
3069    am__include=include
# Line 3045 | Line 3096 | fi
3096   if test "x$enable_dependency_tracking" != xno; then
3097    am_depcomp="$ac_aux_dir/depcomp"
3098    AMDEPBACKSLASH='\'
3099 +  am__nodep='_no'
3100   fi
3101   if test "x$enable_dependency_tracking" != xno; then
3102    AMDEP_TRUE=
# Line 3077 | Line 3129 | do
3129    IFS=$as_save_IFS
3130    test -z "$as_dir" && as_dir=.
3131      for ac_exec_ext in '' $ac_executable_extensions; do
3132 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3132 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3134      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135      break 2
# Line 3117 | Line 3169 | do
3169    IFS=$as_save_IFS
3170    test -z "$as_dir" && as_dir=.
3171      for ac_exec_ext in '' $ac_executable_extensions; do
3172 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3172 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3173      ac_cv_prog_ac_ct_CC="gcc"
3174      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175      break 2
# Line 3170 | Line 3222 | do
3222    IFS=$as_save_IFS
3223    test -z "$as_dir" && as_dir=.
3224      for ac_exec_ext in '' $ac_executable_extensions; do
3225 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3226      ac_cv_prog_CC="${ac_tool_prefix}cc"
3227      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228      break 2
# Line 3211 | Line 3263 | do
3263    IFS=$as_save_IFS
3264    test -z "$as_dir" && as_dir=.
3265      for ac_exec_ext in '' $ac_executable_extensions; do
3266 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3268         ac_prog_rejected=yes
3269         continue
# Line 3269 | Line 3321 | do
3321    IFS=$as_save_IFS
3322    test -z "$as_dir" && as_dir=.
3323      for ac_exec_ext in '' $ac_executable_extensions; do
3324 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3324 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3325      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3326      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327      break 2
# Line 3313 | Line 3365 | do
3365    IFS=$as_save_IFS
3366    test -z "$as_dir" && as_dir=.
3367      for ac_exec_ext in '' $ac_executable_extensions; do
3368 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3368 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369      ac_cv_prog_ac_ct_CC="$ac_prog"
3370      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371      break 2
# Line 3759 | Line 3811 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3811   /* end confdefs.h.  */
3812   #include <stdarg.h>
3813   #include <stdio.h>
3814 < #include <sys/types.h>
3763 < #include <sys/stat.h>
3814 > struct stat;
3815   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3816   struct buf { int x; };
3817   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3856 | Line 3907 | else
3907    # We make a subdir and do the tests there.  Otherwise we can end up
3908    # making bogus files that we don't know about and never remove.  For
3909    # instance it was reported that on HP-UX the gcc test will end up
3910 <  # making a dummy file named `D' -- because `-MD' means `put the output
3911 <  # in D'.
3910 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3911 >  # in D".
3912 >  rm -rf conftest.dir
3913    mkdir conftest.dir
3914    # Copy depcomp to subdir because otherwise we won't find it if we're
3915    # using a relative directory.
# Line 3891 | Line 3943 | else
3943      : > sub/conftest.c
3944      for i in 1 2 3 4 5 6; do
3945        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3946 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3947 <      # Solaris 8's {/usr,}/bin/sh.
3948 <      touch sub/conftst$i.h
3946 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3947 >      # Solaris 10 /bin/sh.
3948 >      echo '/* dummy */' > sub/conftst$i.h
3949      done
3950      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3951  
3952 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3952 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3953      # mode.  It turns out that the SunPro C++ compiler does not properly
3954 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3955 <    # versions had trouble with output in subdirs
3954 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3955 >    # versions had trouble with output in subdirs.
3956      am__obj=sub/conftest.${OBJEXT-o}
3957      am__minus_obj="-o $am__obj"
3958      case $depmode in
# Line 3909 | Line 3961 | else
3961        test "$am__universal" = false || continue
3962        ;;
3963      nosideeffect)
3964 <      # after this tag, mechanisms are not by side-effect, so they'll
3965 <      # only be used when explicitly requested
3964 >      # After this tag, mechanisms are not by side-effect, so they'll
3965 >      # only be used when explicitly requested.
3966        if test "x$enable_dependency_tracking" = xyes; then
3967          continue
3968        else
3969          break
3970        fi
3971        ;;
3972 <    msvisualcpp | msvcmsys)
3973 <      # This compiler won't grok `-c -o', but also, the minuso test has
3972 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3973 >      # This compiler won't grok '-c -o', but also, the minuso test has
3974        # not run yet.  These depmodes are late enough in the game, and
3975        # so weak that their functioning should not be impacted.
3976        am__obj=conftest.${OBJEXT-o}
# Line 4118 | Line 4170 | main ()
4170    return 0;
4171   }
4172   _ACEOF
4173 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4173 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4174   do
4175    CC="$ac_save_CC $ac_arg"
4176    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4150 | Line 4202 | fi
4202  
4203  
4204   if test "$ac_cv_prog_cc_c99" = "no"; then :
4205 <  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4205 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4206   fi
4207   for ac_prog in 'bison -y' byacc
4208   do
# Line 4170 | Line 4222 | do
4222    IFS=$as_save_IFS
4223    test -z "$as_dir" && as_dir=.
4224      for ac_exec_ext in '' $ac_executable_extensions; do
4225 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4225 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4226      ac_cv_prog_YACC="$ac_prog"
4227      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228      break 2
# Line 4214 | Line 4266 | do
4266    IFS=$as_save_IFS
4267    test -z "$as_dir" && as_dir=.
4268      for ac_exec_ext in '' $ac_executable_extensions; do
4269 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4269 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4270      ac_cv_prog_LEX="$ac_prog"
4271      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272      break 2
# Line 4246 | Line 4298 | a { ECHO; }
4298   b { REJECT; }
4299   c { yymore (); }
4300   d { yyless (1); }
4301 < e { yyless (input () != 0); }
4301 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4302 >    yyless ((input () != 0)); }
4303   f { unput (yytext[0]); }
4304   . { BEGIN INITIAL; }
4305   %%
# Line 4375 | Line 4428 | esac
4428  
4429  
4430  
4431 < macro_version='2.4'
4432 < macro_revision='1.3293'
4431 > macro_version='2.4.2'
4432 > macro_revision='1.3337'
4433  
4434  
4435  
# Line 4554 | Line 4607 | do
4607      for ac_prog in sed gsed; do
4608      for ac_exec_ext in '' $ac_executable_extensions; do
4609        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4610 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4610 >      as_fn_executable_p "$ac_path_SED" || continue
4611   # Check for GNU ac_path_SED and select it if it is found.
4612    # Check for GNU $ac_path_SED
4613   case `"$ac_path_SED" --version 2>&1` in
# Line 4630 | Line 4683 | do
4683      for ac_prog in grep ggrep; do
4684      for ac_exec_ext in '' $ac_executable_extensions; do
4685        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4686 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4686 >      as_fn_executable_p "$ac_path_GREP" || continue
4687   # Check for GNU ac_path_GREP and select it if it is found.
4688    # Check for GNU $ac_path_GREP
4689   case `"$ac_path_GREP" --version 2>&1` in
# Line 4696 | Line 4749 | do
4749      for ac_prog in egrep; do
4750      for ac_exec_ext in '' $ac_executable_extensions; do
4751        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4752 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4752 >      as_fn_executable_p "$ac_path_EGREP" || continue
4753   # Check for GNU ac_path_EGREP and select it if it is found.
4754    # Check for GNU $ac_path_EGREP
4755   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4763 | Line 4816 | do
4816      for ac_prog in fgrep; do
4817      for ac_exec_ext in '' $ac_executable_extensions; do
4818        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4819 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4819 >      as_fn_executable_p "$ac_path_FGREP" || continue
4820   # Check for GNU ac_path_FGREP and select it if it is found.
4821    # Check for GNU $ac_path_FGREP
4822   case `"$ac_path_FGREP" --version 2>&1` in
# Line 5019 | Line 5072 | do
5072    IFS=$as_save_IFS
5073    test -z "$as_dir" && as_dir=.
5074      for ac_exec_ext in '' $ac_executable_extensions; do
5075 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5076      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5077      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078      break 2
# Line 5063 | Line 5116 | do
5116    IFS=$as_save_IFS
5117    test -z "$as_dir" && as_dir=.
5118      for ac_exec_ext in '' $ac_executable_extensions; do
5119 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5121      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122      break 2
# Line 5221 | Line 5274 | else
5274      lt_cv_sys_max_cmd_len=196608
5275      ;;
5276  
5277 +  os2*)
5278 +    # The test takes a long time on OS/2.
5279 +    lt_cv_sys_max_cmd_len=8192
5280 +    ;;
5281 +
5282    osf*)
5283      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5284      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5260 | Line 5318 | else
5318        # If test is not a shell built-in, we'll probably end up computing a
5319        # maximum length that is only half of the actual maximum length, but
5320        # we can't tell.
5321 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5321 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5322                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5323                test $i != 17 # 1/2 MB should be enough
5324        do
# Line 5482 | Line 5540 | do
5540    IFS=$as_save_IFS
5541    test -z "$as_dir" && as_dir=.
5542      for ac_exec_ext in '' $ac_executable_extensions; do
5543 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5543 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5544      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5545      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546      break 2
# Line 5522 | Line 5580 | do
5580    IFS=$as_save_IFS
5581    test -z "$as_dir" && as_dir=.
5582      for ac_exec_ext in '' $ac_executable_extensions; do
5583 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5585      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586      break 2
# Line 5689 | Line 5747 | irix5* | irix6* | nonstopux*)
5747    lt_cv_deplibs_check_method=pass_all
5748    ;;
5749  
5750 < # This must be Linux ELF.
5750 > # This must be glibc/ELF.
5751   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5752    lt_cv_deplibs_check_method=pass_all
5753    ;;
# Line 5828 | Line 5886 | do
5886    IFS=$as_save_IFS
5887    test -z "$as_dir" && as_dir=.
5888      for ac_exec_ext in '' $ac_executable_extensions; do
5889 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5891      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892      break 2
# Line 5868 | Line 5926 | do
5926    IFS=$as_save_IFS
5927    test -z "$as_dir" && as_dir=.
5928      for ac_exec_ext in '' $ac_executable_extensions; do
5929 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5929 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5931      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932      break 2
# Line 5971 | Line 6029 | do
6029    IFS=$as_save_IFS
6030    test -z "$as_dir" && as_dir=.
6031      for ac_exec_ext in '' $ac_executable_extensions; do
6032 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6032 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6033      ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6034      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035      break 2
# Line 6015 | Line 6073 | do
6073    IFS=$as_save_IFS
6074    test -z "$as_dir" && as_dir=.
6075      for ac_exec_ext in '' $ac_executable_extensions; do
6076 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6077      ac_cv_prog_ac_ct_AR="$ac_prog"
6078      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079      break 2
# Line 6140 | Line 6198 | do
6198    IFS=$as_save_IFS
6199    test -z "$as_dir" && as_dir=.
6200      for ac_exec_ext in '' $ac_executable_extensions; do
6201 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6202      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6203      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204      break 2
# Line 6180 | Line 6238 | do
6238    IFS=$as_save_IFS
6239    test -z "$as_dir" && as_dir=.
6240      for ac_exec_ext in '' $ac_executable_extensions; do
6241 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6242      ac_cv_prog_ac_ct_STRIP="strip"
6243      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244      break 2
# Line 6239 | Line 6297 | do
6297    IFS=$as_save_IFS
6298    test -z "$as_dir" && as_dir=.
6299      for ac_exec_ext in '' $ac_executable_extensions; do
6300 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6302      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303      break 2
# Line 6279 | Line 6337 | do
6337    IFS=$as_save_IFS
6338    test -z "$as_dir" && as_dir=.
6339      for ac_exec_ext in '' $ac_executable_extensions; do
6340 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6341      ac_cv_prog_ac_ct_RANLIB="ranlib"
6342      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343      break 2
# Line 6329 | Line 6387 | old_postuninstall_cmds=
6387   if test -n "$RANLIB"; then
6388    case $host_os in
6389    openbsd*)
6390 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6390 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6391      ;;
6392    *)
6393 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6393 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6394      ;;
6395    esac
6396 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6396 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6397   fi
6398  
6399   case $host_os in
# Line 6482 | Line 6540 | for ac_symprfx in "" "_"; do
6540      # which start with @ or ?.
6541      lt_cv_sys_global_symbol_pipe="$AWK '"\
6542   "     {last_section=section; section=\$ 3};"\
6543 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6544   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6545   "     \$ 0!~/External *\|/{next};"\
6546   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6870 | Line 6929 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6929      CFLAGS="$SAVE_CFLAGS"
6930    fi
6931    ;;
6932 < sparc*-*solaris*)
6932 > *-*solaris*)
6933    # Find out which ABI we are using.
6934    echo 'int i;' > conftest.$ac_ext
6935    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6881 | Line 6940 | sparc*-*solaris*)
6940      case `/usr/bin/file conftest.o` in
6941      *64-bit*)
6942        case $lt_cv_prog_gnu_ld in
6943 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6943 >      yes*)
6944 >        case $host in
6945 >        i?86-*-solaris*)
6946 >          LD="${LD-ld} -m elf_x86_64"
6947 >          ;;
6948 >        sparc*-*-solaris*)
6949 >          LD="${LD-ld} -m elf64_sparc"
6950 >          ;;
6951 >        esac
6952 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6953 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6954 >          LD="${LD-ld}_sol2"
6955 >        fi
6956 >        ;;
6957        *)
6958          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6959            LD="${LD-ld} -64"
# Line 6914 | Line 6986 | do
6986    IFS=$as_save_IFS
6987    test -z "$as_dir" && as_dir=.
6988      for ac_exec_ext in '' $ac_executable_extensions; do
6989 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6989 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6990      ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6991      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6992      break 2
# Line 6954 | Line 7026 | do
7026    IFS=$as_save_IFS
7027    test -z "$as_dir" && as_dir=.
7028      for ac_exec_ext in '' $ac_executable_extensions; do
7029 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7029 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7030      ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7031      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7032      break 2
# Line 7034 | Line 7106 | do
7106    IFS=$as_save_IFS
7107    test -z "$as_dir" && as_dir=.
7108      for ac_exec_ext in '' $ac_executable_extensions; do
7109 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7109 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7111      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112      break 2
# Line 7074 | Line 7146 | do
7146    IFS=$as_save_IFS
7147    test -z "$as_dir" && as_dir=.
7148      for ac_exec_ext in '' $ac_executable_extensions; do
7149 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7149 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7151      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152      break 2
# Line 7126 | Line 7198 | do
7198    IFS=$as_save_IFS
7199    test -z "$as_dir" && as_dir=.
7200      for ac_exec_ext in '' $ac_executable_extensions; do
7201 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7201 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7203      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204      break 2
# Line 7166 | Line 7238 | do
7238    IFS=$as_save_IFS
7239    test -z "$as_dir" && as_dir=.
7240      for ac_exec_ext in '' $ac_executable_extensions; do
7241 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7241 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7243      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244      break 2
# Line 7218 | Line 7290 | do
7290    IFS=$as_save_IFS
7291    test -z "$as_dir" && as_dir=.
7292      for ac_exec_ext in '' $ac_executable_extensions; do
7293 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7293 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7294      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7295      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296      break 2
# Line 7258 | Line 7330 | do
7330    IFS=$as_save_IFS
7331    test -z "$as_dir" && as_dir=.
7332      for ac_exec_ext in '' $ac_executable_extensions; do
7333 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7333 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334      ac_cv_prog_ac_ct_LIPO="lipo"
7335      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336      break 2
# Line 7310 | Line 7382 | do
7382    IFS=$as_save_IFS
7383    test -z "$as_dir" && as_dir=.
7384      for ac_exec_ext in '' $ac_executable_extensions; do
7385 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7385 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7386      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7387      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388      break 2
# Line 7350 | Line 7422 | do
7422    IFS=$as_save_IFS
7423    test -z "$as_dir" && as_dir=.
7424      for ac_exec_ext in '' $ac_executable_extensions; do
7425 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426      ac_cv_prog_ac_ct_OTOOL="otool"
7427      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428      break 2
# Line 7402 | Line 7474 | do
7474    IFS=$as_save_IFS
7475    test -z "$as_dir" && as_dir=.
7476      for ac_exec_ext in '' $ac_executable_extensions; do
7477 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7477 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7478      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7479      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480      break 2
# Line 7442 | Line 7514 | do
7514    IFS=$as_save_IFS
7515    test -z "$as_dir" && as_dir=.
7516      for ac_exec_ext in '' $ac_executable_extensions; do
7517 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7517 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7518      ac_cv_prog_ac_ct_OTOOL64="otool64"
7519      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520      break 2
# Line 7521 | Line 7593 | else
7593          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7594            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7595          _lt_result=$?
7596 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7596 >        # If there is a non-empty error log, and "single_module"
7597 >        # appears in it, assume the flag caused a linker warning
7598 >        if test -s conftest.err && $GREP single_module conftest.err; then
7599 >          cat conftest.err >&5
7600 >        # Otherwise, if the output was created with a 0 exit code from
7601 >        # the compiler, it worked.
7602 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7603            lt_cv_apple_cc_single_mod=yes
7604          else
7605            cat conftest.err >&5
# Line 7532 | Line 7610 | else
7610   fi
7611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7612   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7613 +
7614      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7615   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7616   if ${lt_cv_ld_exported_symbols_list+:} false; then :
# Line 7564 | Line 7643 | rm -f core conftest.err conftest.$ac_obj
7643   fi
7644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7645   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7646 +
7647      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7648   $as_echo_n "checking for -force_load linker flag... " >&6; }
7649   if ${lt_cv_ld_force_load+:} false; then :
# Line 7585 | Line 7665 | _LT_EOF
7665        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7666        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7667        _lt_result=$?
7668 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7668 >      if test -s conftest.err && $GREP force_load conftest.err; then
7669 >        cat conftest.err >&5
7670 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7671          lt_cv_ld_force_load=yes
7672        else
7673          cat conftest.err >&5
# Line 7988 | Line 8070 | fi
8070  
8071   # Check whether --with-pic was given.
8072   if test "${with_pic+set}" = set; then :
8073 <  withval=$with_pic; pic_mode="$withval"
8073 >  withval=$with_pic; lt_p=${PACKAGE-default}
8074 >    case $withval in
8075 >    yes|no) pic_mode=$withval ;;
8076 >    *)
8077 >      pic_mode=default
8078 >      # Look at the argument we got.  We use all the common list separators.
8079 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8080 >      for lt_pkg in $withval; do
8081 >        IFS="$lt_save_ifs"
8082 >        if test "X$lt_pkg" = "X$lt_p"; then
8083 >          pic_mode=yes
8084 >        fi
8085 >      done
8086 >      IFS="$lt_save_ifs"
8087 >      ;;
8088 >    esac
8089   else
8090    pic_mode=default
8091   fi
# Line 8066 | Line 8163 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8163  
8164  
8165  
8166 +
8167 +
8168 +
8169 +
8170   test -z "$LN_S" && LN_S="ln -s"
8171  
8172  
# Line 8521 | Line 8622 | lt_prog_compiler_static=
8622      case $cc_basename in
8623      nvcc*) # Cuda Compiler Driver 2.2
8624        lt_prog_compiler_wl='-Xlinker '
8625 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8625 >      if test -n "$lt_prog_compiler_pic"; then
8626 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8627 >      fi
8628        ;;
8629      esac
8630    else
# Line 8612 | Line 8715 | lt_prog_compiler_static=
8715          ;;
8716        *)
8717          case `$CC -V 2>&1 | sed 5q` in
8718 <        *Sun\ F* | *Sun*Fortran*)
8718 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8719            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8720            lt_prog_compiler_pic='-KPIC'
8721            lt_prog_compiler_static='-Bstatic'
8722            lt_prog_compiler_wl=''
8723            ;;
8724 +        *Sun\ F* | *Sun*Fortran*)
8725 +          lt_prog_compiler_pic='-KPIC'
8726 +          lt_prog_compiler_static='-Bstatic'
8727 +          lt_prog_compiler_wl='-Qoption ld '
8728 +          ;;
8729          *Sun\ C*)
8730            # Sun C 5.9
8731            lt_prog_compiler_pic='-KPIC'
8732            lt_prog_compiler_static='-Bstatic'
8733            lt_prog_compiler_wl='-Wl,'
8734            ;;
8735 +        *Intel*\ [CF]*Compiler*)
8736 +          lt_prog_compiler_wl='-Wl,'
8737 +          lt_prog_compiler_pic='-fPIC'
8738 +          lt_prog_compiler_static='-static'
8739 +          ;;
8740 +        *Portland\ Group*)
8741 +          lt_prog_compiler_wl='-Wl,'
8742 +          lt_prog_compiler_pic='-fpic'
8743 +          lt_prog_compiler_static='-Bstatic'
8744 +          ;;
8745          esac
8746          ;;
8747        esac
# Line 8985 | Line 9103 | $as_echo_n "checking whether the $compil
9103    hardcode_direct=no
9104    hardcode_direct_absolute=no
9105    hardcode_libdir_flag_spec=
8988  hardcode_libdir_flag_spec_ld=
9106    hardcode_libdir_separator=
9107    hardcode_minus_L=no
9108    hardcode_shlibpath_var=unsupported
# Line 9235 | Line 9352 | _LT_EOF
9352          xlf* | bgf* | bgxlf* | mpixlf*)
9353            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9354            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9355 <          hardcode_libdir_flag_spec=
9239 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9355 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9356            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9357            if test "x$supports_anon_versioning" = xyes; then
9358              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 9615 | Line 9731 | fi
9731          # The linker will not automatically build a static lib if we build a DLL.
9732          # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9733          enable_shared_with_static_runtimes=yes
9734 +        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9735          export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9736          # Don't use ranlib
9737          old_postinstall_cmds='chmod 644 $oldlib'
# Line 9660 | Line 9777 | fi
9777    hardcode_shlibpath_var=unsupported
9778    if test "$lt_cv_ld_force_load" = "yes"; then
9779      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\"`'
9780 +
9781    else
9782      whole_archive_flag_spec=''
9783    fi
# Line 9688 | Line 9806 | fi
9806        hardcode_shlibpath_var=no
9807        ;;
9808  
9691    freebsd1*)
9692      ld_shlibs=no
9693      ;;
9694
9809      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9810      # support.  Future versions do this automatically, but an explicit c++rt0.o
9811      # does not break anything, and helps significantly (at the cost of a little
# Line 9704 | Line 9818 | fi
9818        ;;
9819  
9820      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9821 <    freebsd2*)
9821 >    freebsd2.*)
9822        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9823        hardcode_direct=yes
9824        hardcode_minus_L=yes
# Line 9743 | Line 9857 | fi
9857        fi
9858        if test "$with_gnu_ld" = no; then
9859          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9746        hardcode_libdir_flag_spec_ld='+b $libdir'
9860          hardcode_libdir_separator=:
9861          hardcode_direct=yes
9862          hardcode_direct_absolute=yes
# Line 10367 | Line 10480 | esac
10480  
10481  
10482  
10370
10371
10372
10373
10374
10483    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10484   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10485  
# Line 10461 | Line 10569 | need_version=unknown
10569  
10570   case $host_os in
10571   aix3*)
10572 <  version_type=linux
10572 >  version_type=linux # correct to gnu/linux during the next big refactor
10573    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10574    shlibpath_var=LIBPATH
10575  
# Line 10470 | Line 10578 | aix3*)
10578    ;;
10579  
10580   aix[4-9]*)
10581 <  version_type=linux
10581 >  version_type=linux # correct to gnu/linux during the next big refactor
10582    need_lib_prefix=no
10583    need_version=no
10584    hardcode_into_libs=yes
# Line 10535 | Line 10643 | beos*)
10643    ;;
10644  
10645   bsdi[45]*)
10646 <  version_type=linux
10646 >  version_type=linux # correct to gnu/linux during the next big refactor
10647    need_version=no
10648    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649    soname_spec='${libname}${release}${shared_ext}$major'
# Line 10674 | Line 10782 | darwin* | rhapsody*)
10782    ;;
10783  
10784   dgux*)
10785 <  version_type=linux
10785 >  version_type=linux # correct to gnu/linux during the next big refactor
10786    need_lib_prefix=no
10787    need_version=no
10788    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10682 | Line 10790 | dgux*)
10790    shlibpath_var=LD_LIBRARY_PATH
10791    ;;
10792  
10685 freebsd1*)
10686  dynamic_linker=no
10687  ;;
10688
10793   freebsd* | dragonfly*)
10794    # DragonFly does not have aout.  When/if they implement a new
10795    # versioning mechanism, adjust this.
# Line 10693 | Line 10797 | freebsd* | dragonfly*)
10797      objformat=`/usr/bin/objformat`
10798    else
10799      case $host_os in
10800 <    freebsd[123]*) objformat=aout ;;
10800 >    freebsd[23].*) objformat=aout ;;
10801      *) objformat=elf ;;
10802      esac
10803    fi
# Line 10711 | Line 10815 | freebsd* | dragonfly*)
10815    esac
10816    shlibpath_var=LD_LIBRARY_PATH
10817    case $host_os in
10818 <  freebsd2*)
10818 >  freebsd2.*)
10819      shlibpath_overrides_runpath=yes
10820      ;;
10821    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10731 | Line 10835 | freebsd* | dragonfly*)
10835    ;;
10836  
10837   gnu*)
10838 <  version_type=linux
10838 >  version_type=linux # correct to gnu/linux during the next big refactor
10839    need_lib_prefix=no
10840    need_version=no
10841    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10842    soname_spec='${libname}${release}${shared_ext}$major'
10843    shlibpath_var=LD_LIBRARY_PATH
10844 +  shlibpath_overrides_runpath=no
10845    hardcode_into_libs=yes
10846    ;;
10847  
10848   haiku*)
10849 <  version_type=linux
10849 >  version_type=linux # correct to gnu/linux during the next big refactor
10850    need_lib_prefix=no
10851    need_version=no
10852    dynamic_linker="$host_os runtime_loader"
# Line 10802 | Line 10907 | hpux9* | hpux10* | hpux11*)
10907    ;;
10908  
10909   interix[3-9]*)
10910 <  version_type=linux
10910 >  version_type=linux # correct to gnu/linux during the next big refactor
10911    need_lib_prefix=no
10912    need_version=no
10913    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10818 | Line 10923 | irix5* | irix6* | nonstopux*)
10923      nonstopux*) version_type=nonstopux ;;
10924      *)
10925          if test "$lt_cv_prog_gnu_ld" = yes; then
10926 <                version_type=linux
10926 >                version_type=linux # correct to gnu/linux during the next big refactor
10927          else
10928                  version_type=irix
10929          fi ;;
# Line 10855 | Line 10960 | linux*oldld* | linux*aout* | linux*coff*
10960    dynamic_linker=no
10961    ;;
10962  
10963 < # This must be Linux ELF.
10963 > # This must be glibc/ELF.
10964   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10965 <  version_type=linux
10965 >  version_type=linux # correct to gnu/linux during the next big refactor
10966    need_lib_prefix=no
10967    need_version=no
10968    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10939 | Line 11044 | netbsd*)
11044    ;;
11045  
11046   newsos6)
11047 <  version_type=linux
11047 >  version_type=linux # correct to gnu/linux during the next big refactor
11048    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049    shlibpath_var=LD_LIBRARY_PATH
11050    shlibpath_overrides_runpath=yes
# Line 11008 | Line 11113 | rdos*)
11113    ;;
11114  
11115   solaris*)
11116 <  version_type=linux
11116 >  version_type=linux # correct to gnu/linux during the next big refactor
11117    need_lib_prefix=no
11118    need_version=no
11119    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 11033 | Line 11138 | sunos4*)
11138    ;;
11139  
11140   sysv4 | sysv4.3*)
11141 <  version_type=linux
11141 >  version_type=linux # correct to gnu/linux during the next big refactor
11142    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143    soname_spec='${libname}${release}${shared_ext}$major'
11144    shlibpath_var=LD_LIBRARY_PATH
# Line 11057 | Line 11162 | sysv4 | sysv4.3*)
11162  
11163   sysv4*MP*)
11164    if test -d /usr/nec ;then
11165 <    version_type=linux
11165 >    version_type=linux # correct to gnu/linux during the next big refactor
11166      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11167      soname_spec='$libname${shared_ext}.$major'
11168      shlibpath_var=LD_LIBRARY_PATH
# Line 11088 | Line 11193 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11193  
11194   tpf*)
11195    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11196 <  version_type=linux
11196 >  version_type=linux # correct to gnu/linux during the next big refactor
11197    need_lib_prefix=no
11198    need_version=no
11199    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 11098 | Line 11203 | tpf*)
11203    ;;
11204  
11205   uts4*)
11206 <  version_type=linux
11206 >  version_type=linux # correct to gnu/linux during the next big refactor
11207    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11208    soname_spec='${libname}${release}${shared_ext}$major'
11209    shlibpath_var=LD_LIBRARY_PATH
# Line 11880 | Line 11985 | CC="$lt_save_CC"
11985  
11986  
11987  
11988 +
11989 +
11990          ac_config_commands="$ac_config_commands libtool"
11991  
11992  
# Line 11896 | Line 12003 | else
12003  
12004   module=yes
12005   eval libltdl_cv_shlibext=$shrext_cmds
12006 + module=no
12007 + eval libltdl_cv_shrext=$shrext_cmds
12008  
12009   fi
12010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11907 | Line 12016 | cat >>confdefs.h <<_ACEOF
12016   _ACEOF
12017  
12018   fi
12019 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12020 +
12021 + cat >>confdefs.h <<_ACEOF
12022 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12023 + _ACEOF
12024 +
12025 + fi
12026  
12027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12028   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
# Line 12953 | Line 13069 | LIBTOOL="$LIBTOOL --silent"
13069  
13070   # Checks for libraries.
13071  
13072 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13073 < $as_echo_n "checking for library containing socket... " >&6; }
13074 < if ${ac_cv_search_socket+:} false; then :
13072 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13073 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13074 >
13075 > else
13076 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13077 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13078 > if ${ac_cv_search_getaddrinfo+:} false; then :
13079    $as_echo_n "(cached) " >&6
13080   else
13081    ac_func_search_save_LIBS=$LIBS
# Line 12968 | Line 13088 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13088   #ifdef __cplusplus
13089   extern "C"
13090   #endif
13091 < char socket ();
13091 > char getaddrinfo ();
13092   int
13093   main ()
13094   {
13095 < return socket ();
13095 > return getaddrinfo ();
13096    ;
13097    return 0;
13098   }
13099   _ACEOF
13100 < for ac_lib in '' socket; do
13100 > for ac_lib in '' nsl; do
13101    if test -z "$ac_lib"; then
13102      ac_res="none required"
13103    else
# Line 12985 | Line 13105 | for ac_lib in '' socket; do
13105      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13106    fi
13107    if ac_fn_c_try_link "$LINENO"; then :
13108 <  ac_cv_search_socket=$ac_res
13108 >  ac_cv_search_getaddrinfo=$ac_res
13109   fi
13110   rm -f core conftest.err conftest.$ac_objext \
13111      conftest$ac_exeext
13112 <  if ${ac_cv_search_socket+:} false; then :
13112 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13113    break
13114   fi
13115   done
13116 < if ${ac_cv_search_socket+:} false; then :
13116 > if ${ac_cv_search_getaddrinfo+:} false; then :
13117  
13118   else
13119 <  ac_cv_search_socket=no
13119 >  ac_cv_search_getaddrinfo=no
13120   fi
13121   rm conftest.$ac_ext
13122   LIBS=$ac_func_search_save_LIBS
13123   fi
13124 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13125 < $as_echo "$ac_cv_search_socket" >&6; }
13126 < ac_res=$ac_cv_search_socket
13124 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13125 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13126 > ac_res=$ac_cv_search_getaddrinfo
13127   if test "$ac_res" != no; then :
13128    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13129  
13010 else
13011  as_fn_error $? "socket library not found" "$LINENO" 5
13130   fi
13131  
13132 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13133 < $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13134 < if ${ac_cv_search_inet_ntoa+:} false; then :
13132 > fi
13133 >
13134 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13135 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13136 >
13137 > else
13138 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13139 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13140 > if ${ac_cv_search_getnameinfo+:} false; then :
13141    $as_echo_n "(cached) " >&6
13142   else
13143    ac_func_search_save_LIBS=$LIBS
# Line 13026 | Line 13150 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13150   #ifdef __cplusplus
13151   extern "C"
13152   #endif
13153 < char inet_ntoa ();
13153 > char getnameinfo ();
13154   int
13155   main ()
13156   {
13157 < return inet_ntoa ();
13157 > return getnameinfo ();
13158    ;
13159    return 0;
13160   }
# Line 13043 | Line 13167 | for ac_lib in '' nsl; do
13167      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13168    fi
13169    if ac_fn_c_try_link "$LINENO"; then :
13170 <  ac_cv_search_inet_ntoa=$ac_res
13170 >  ac_cv_search_getnameinfo=$ac_res
13171   fi
13172   rm -f core conftest.err conftest.$ac_objext \
13173      conftest$ac_exeext
13174 <  if ${ac_cv_search_inet_ntoa+:} false; then :
13174 >  if ${ac_cv_search_getnameinfo+:} false; then :
13175    break
13176   fi
13177   done
13178 < if ${ac_cv_search_inet_ntoa+:} false; then :
13178 > if ${ac_cv_search_getnameinfo+:} false; then :
13179  
13180   else
13181 <  ac_cv_search_inet_ntoa=no
13181 >  ac_cv_search_getnameinfo=no
13182   fi
13183   rm conftest.$ac_ext
13184   LIBS=$ac_func_search_save_LIBS
13185   fi
13186 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13187 < $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13188 < ac_res=$ac_cv_search_inet_ntoa
13186 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13187 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13188 > ac_res=$ac_cv_search_getnameinfo
13189   if test "$ac_res" != no; then :
13190    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13191  
13192   fi
13193  
13194 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13195 < $as_echo_n "checking for library containing inet_aton... " >&6; }
13196 < if ${ac_cv_search_inet_aton+:} false; then :
13194 > fi
13195 >
13196 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13197 > $as_echo_n "checking for library containing socket... " >&6; }
13198 > if ${ac_cv_search_socket+:} false; then :
13199    $as_echo_n "(cached) " >&6
13200   else
13201    ac_func_search_save_LIBS=$LIBS
# Line 13082 | Line 13208 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13208   #ifdef __cplusplus
13209   extern "C"
13210   #endif
13211 < char inet_aton ();
13211 > char socket ();
13212   int
13213   main ()
13214   {
13215 < return inet_aton ();
13215 > return socket ();
13216    ;
13217    return 0;
13218   }
13219   _ACEOF
13220 < for ac_lib in '' resolv; do
13220 > for ac_lib in '' socket; do
13221    if test -z "$ac_lib"; then
13222      ac_res="none required"
13223    else
# Line 13099 | Line 13225 | for ac_lib in '' resolv; do
13225      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13226    fi
13227    if ac_fn_c_try_link "$LINENO"; then :
13228 <  ac_cv_search_inet_aton=$ac_res
13228 >  ac_cv_search_socket=$ac_res
13229   fi
13230   rm -f core conftest.err conftest.$ac_objext \
13231      conftest$ac_exeext
13232 <  if ${ac_cv_search_inet_aton+:} false; then :
13232 >  if ${ac_cv_search_socket+:} false; then :
13233    break
13234   fi
13235   done
13236 < if ${ac_cv_search_inet_aton+:} false; then :
13236 > if ${ac_cv_search_socket+:} false; then :
13237  
13238   else
13239 <  ac_cv_search_inet_aton=no
13239 >  ac_cv_search_socket=no
13240   fi
13241   rm conftest.$ac_ext
13242   LIBS=$ac_func_search_save_LIBS
13243   fi
13244 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13245 < $as_echo "$ac_cv_search_inet_aton" >&6; }
13246 < ac_res=$ac_cv_search_inet_aton
13244 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13245 > $as_echo "$ac_cv_search_socket" >&6; }
13246 > ac_res=$ac_cv_search_socket
13247   if test "$ac_res" != no; then :
13248    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13249  
13250 + else
13251 +  as_fn_error $? "socket library not found" "$LINENO" 5
13252   fi
13253  
13126  for ac_func in inet_aton inet_ntop inet_pton
13127 do :
13128  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13130 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13131  cat >>confdefs.h <<_ACEOF
13132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13133 _ACEOF
13134
13135 fi
13136 done
13137
13254    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13255     #include <sys/socket.h>
13256     #include <netdb.h>
# Line 13189 | Line 13305 | fi
13305  
13306  
13307  
13308 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13308 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13309 > "
13310   if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13311  
13195 cat >>confdefs.h <<_ACEOF
13196 #define HAVE_STRUCT_SOCKADDR_IN6 1
13197 _ACEOF
13198
13199
13200 else
13201
13312   $as_echo "#define IPV6 1" >>confdefs.h
13313  
13314   fi
# Line 13457 | Line 13567 | done
13567  
13568  
13569  
13460
13461
13570   # Checks for header files.
13571  
13572  
# Line 13493 | Line 13601 | done
13601  
13602  
13603  
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506 # check for /dev/null so we can use it to hold evil fd's
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13508 $as_echo_n "checking for /dev/null... " >&6; }
13509 if test -c /dev/null; then :
13510
13511
13512 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13513
13514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13515 $as_echo "yes" >&6; }
13516 else
13517
13518
13519 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13520
13521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13522 $as_echo "no - using devnull.log" >&6; }
13523 fi
13524
13525
13604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13605   $as_echo_n "checking for library containing crypt... " >&6; }
13606   if ${ac_cv_search_crypt+:} false; then :
# Line 13580 | Line 13658 | if test "$ac_res" != no; then :
13658   fi
13659  
13660  
13661 <
13662 <
13663 < # Check whether --with-zlib-path was given.
13586 < if test "${with_zlib_path+set}" = set; then :
13587 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13588 < fi
13589 <
13590 <
13591 < # Check whether --enable-zlib was given.
13592 < if test "${enable_zlib+set}" = set; then :
13593 <  enableval=$enable_zlib; zlib=$enableval
13661 > # Check whether --enable-libpcre was given.
13662 > if test "${enable_libpcre+set}" = set; then :
13663 >  enableval=$enable_libpcre;
13664   else
13665 <  zlib=yes
13666 < fi
13667 <
13668 <
13669 < if test "$zlib" = "yes"; then :
13600 <
13601 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13602 < if test "x$ac_cv_header_zlib_h" = xyes; then :
13603 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13604 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13605 < if ${ac_cv_lib_z_zlibVersion+:} false; then :
13665 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13666 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13667 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13668 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13669 > if ${ac_cv_search_pcre_study+:} false; then :
13670    $as_echo_n "(cached) " >&6
13671   else
13672 <  ac_check_lib_save_LIBS=$LIBS
13609 < LIBS="-lz  $LIBS"
13672 >  ac_func_search_save_LIBS=$LIBS
13673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674   /* end confdefs.h.  */
13675  
# Line 13616 | Line 13679 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13679   #ifdef __cplusplus
13680   extern "C"
13681   #endif
13682 < char zlibVersion ();
13682 > char pcre_study ();
13683   int
13684   main ()
13685   {
13686 < return zlibVersion ();
13686 > return pcre_study ();
13687    ;
13688    return 0;
13689   }
13690   _ACEOF
13691 < if ac_fn_c_try_link "$LINENO"; then :
13692 <  ac_cv_lib_z_zlibVersion=yes
13693 < else
13694 <  ac_cv_lib_z_zlibVersion=no
13691 > for ac_lib in '' pcre; do
13692 >  if test -z "$ac_lib"; then
13693 >    ac_res="none required"
13694 >  else
13695 >    ac_res=-l$ac_lib
13696 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13697 >  fi
13698 >  if ac_fn_c_try_link "$LINENO"; then :
13699 >  ac_cv_search_pcre_study=$ac_res
13700   fi
13701   rm -f core conftest.err conftest.$ac_objext \
13702 <    conftest$ac_exeext conftest.$ac_ext
13703 < LIBS=$ac_check_lib_save_LIBS
13702 >    conftest$ac_exeext
13703 >  if ${ac_cv_search_pcre_study+:} false; then :
13704 >  break
13705   fi
13706 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13707 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13639 < if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13640 <
13641 <      LIBS="-lz $LIBS"
13642 <
13643 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
13644 <
13706 > done
13707 > if ${ac_cv_search_pcre_study+:} false; then :
13708  
13709   else
13710 <  zlib=no
13710 >  ac_cv_search_pcre_study=no
13711   fi
13712 <
13713 <
13651 < else
13652 <  zlib=no
13712 > rm conftest.$ac_ext
13713 > LIBS=$ac_func_search_save_LIBS
13714   fi
13715 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13716 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13717 + ac_res=$ac_cv_search_pcre_study
13718 + if test "$ac_res" != no; then :
13719 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13720  
13721 <
13721 > $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13722  
13723   fi
13724  
13659
13660 # Check whether --with-libpcre-path was given.
13661 if test "${with_libpcre_path+set}" = set; then :
13662  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13725   fi
13726  
13727  
13666 # Check whether --enable-libpcre was given.
13667 if test "${enable_libpcre+set}" = set; then :
13668  enableval=$enable_libpcre; libpcre=$enableval
13669 else
13670  libpcre=yes
13728   fi
13729  
13730  
13731 < if test "$libpcre" = "yes"; then :
13732 <
13733 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13734 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13735 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13736 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13737 < if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13731 > # Check whether --enable-libGeoIP was given.
13732 > if test "${enable_libGeoIP+set}" = set; then :
13733 >  enableval=$enable_libGeoIP;
13734 > else
13735 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13736 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13737 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13738 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13739 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13740    $as_echo_n "(cached) " >&6
13741   else
13742 <  ac_check_lib_save_LIBS=$LIBS
13684 < LIBS="-lpcre  $LIBS"
13742 >  ac_func_search_save_LIBS=$LIBS
13743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744   /* end confdefs.h.  */
13745  
# Line 13691 | Line 13749 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13749   #ifdef __cplusplus
13750   extern "C"
13751   #endif
13752 < char pcre_study ();
13752 > char GeoIP_id_by_ipnum_v6_gl ();
13753   int
13754   main ()
13755   {
13756 < return pcre_study ();
13756 > return GeoIP_id_by_ipnum_v6_gl ();
13757    ;
13758    return 0;
13759   }
13760   _ACEOF
13761 < if ac_fn_c_try_link "$LINENO"; then :
13762 <  ac_cv_lib_pcre_pcre_study=yes
13763 < else
13764 <  ac_cv_lib_pcre_pcre_study=no
13761 > for ac_lib in '' GeoIP; do
13762 >  if test -z "$ac_lib"; then
13763 >    ac_res="none required"
13764 >  else
13765 >    ac_res=-l$ac_lib
13766 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13767 >  fi
13768 >  if ac_fn_c_try_link "$LINENO"; then :
13769 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13770   fi
13771   rm -f core conftest.err conftest.$ac_objext \
13772 <    conftest$ac_exeext conftest.$ac_ext
13773 < LIBS=$ac_check_lib_save_LIBS
13772 >    conftest$ac_exeext
13773 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13774 >  break
13775   fi
13776 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13777 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13714 < if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13715 <
13716 <      LIBS="-lpcre $LIBS"
13717 <
13718 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13719 <
13776 > done
13777 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13778  
13779   else
13780 <  libpcre=no
13780 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13781 > fi
13782 > rm conftest.$ac_ext
13783 > LIBS=$ac_func_search_save_LIBS
13784   fi
13785 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13786 + $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13787 + ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13788 + if test "$ac_res" != no; then :
13789 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13790  
13791 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13792  
13726 else
13727  libpcre=no
13793   fi
13794  
13795 + fi
13796  
13797  
13798   fi
13733 if test "$libpcre" = yes; then
13734  ENABLE_PCRE_TRUE=
13735  ENABLE_PCRE_FALSE='#'
13736 else
13737  ENABLE_PCRE_TRUE='#'
13738  ENABLE_PCRE_FALSE=
13739 fi
13740
13799  
13800  
13801   # Check whether --enable-openssl was given.
# Line 13779 | Line 13837 | if test "$cf_enable_openssl" != "no"; th
13837    fi
13838  
13839        if test ! -z "$cf_openssl_basedir"; then
13782    LIBS="-lcrypto -lssl $LIBS"
13840      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13841   $as_echo "$cf_openssl_basedir" >&6; }
13842      cf_enable_openssl="yes"
13786
13787 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13788
13843    else
13844      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13845   $as_echo "not found. Please check your path." >&6; }
# Line 13798 | Line 13852 | $as_echo "disabled" >&6; }
13852   fi
13853  
13854   if test "$cf_enable_openssl" != "no"; then :
13855 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13856 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13855 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8s or above" >&5
13856 > $as_echo_n "checking for OpenSSL 0.9.8s or above... " >&6; }
13857    if test "$cross_compiling" = yes; then :
13858    cf_openssl_version_ok=no
13859   else
# Line 13812 | Line 13866 | else
13866   int
13867   main ()
13868   {
13869 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13869 > exit(!(OPENSSL_VERSION_NUMBER >= 0x0090813f));
13870    ;
13871    return 0;
13872   }
# Line 13877 | Line 13931 | _ACEOF
13931   fi
13932  
13933      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13934 <  for ac_func in EVP_bf_cfb           \
13935 <                      EVP_cast5_cfb        \
13936 <                      EVP_idea_cfb         \
13937 <                      EVP_rc5_32_12_16_cfb \
13938 <                      EVP_des_ede3_cfb     \
13939 <                      EVP_des_cfb
13940 < do :
13941 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13942 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13943 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13934 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13935 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13936 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13937 >  $as_echo_n "(cached) " >&6
13938 > else
13939 >  ac_check_lib_save_LIBS=$LIBS
13940 > LIBS="-lssl  $LIBS"
13941 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 > /* end confdefs.h.  */
13943 >
13944 > /* Override any GCC internal prototype to avoid an error.
13945 >   Use char because int might match the return type of a GCC
13946 >   builtin and then its argument prototype would still apply.  */
13947 > #ifdef __cplusplus
13948 > extern "C"
13949 > #endif
13950 > char SSL_connect ();
13951 > int
13952 > main ()
13953 > {
13954 > return SSL_connect ();
13955 >  ;
13956 >  return 0;
13957 > }
13958 > _ACEOF
13959 > if ac_fn_c_try_link "$LINENO"; then :
13960 >  ac_cv_lib_ssl_SSL_connect=yes
13961 > else
13962 >  ac_cv_lib_ssl_SSL_connect=no
13963 > fi
13964 > rm -f core conftest.err conftest.$ac_objext \
13965 >    conftest$ac_exeext conftest.$ac_ext
13966 > LIBS=$ac_check_lib_save_LIBS
13967 > fi
13968 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13969 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13970 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13971    cat >>confdefs.h <<_ACEOF
13972 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13972 > #define HAVE_LIBSSL 1
13973   _ACEOF
13974  
13975 +  LIBS="-lssl $LIBS"
13976 +
13977   fi
13895 done
13978  
13979   fi
13980  
# Line 13903 | Line 13985 | $as_echo "no - OpenSSL support disabled"
13985   fi
13986   fi
13987  
13988 < if test "$cf_enable_openssl" = yes; then
13988 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13989    ENABLE_SSL_TRUE=
13990    ENABLE_SSL_FALSE='#'
13991   else
# Line 13928 | Line 14010 | $as_echo "#define NDEBUG 1" >>confdefs.h
14010   fi
14011  
14012  
13931 # Check whether --enable-small-net was given.
13932 if test "${enable_small_net+set}" = set; then :
13933  enableval=$enable_small_net; small_net=$enableval
13934 else
13935  small_net=no
13936 fi
13937
13938
13939 if test "$small_net" = "yes"; then :
13940
13941
13942 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13943
13944
13945 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13946
13947
13948 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13949
13950
13951 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14013  
14014 + $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14015  
13954 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14016  
14017 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
14018  
13957 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14019  
14020 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
14021  
13960 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14022  
14023 + $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
14024  
13963 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14025  
14026 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
14027  
13966 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14028  
14029 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
14030  
13969 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13970
13971 else
13972
13973
13974
13975 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13976
13977
13978 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14031  
14032 + $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
14033  
13981 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14034  
14035 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14036  
13984 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14037  
14038 + $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
14039  
13987 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14040  
14041 + $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
14042  
13990 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14043  
14044 <
13993 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13994 <
13995 <
13996 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13997 <
13998 <
13999 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14000 <
14001 <
14002 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14003 <
14004 < fi
14044 > $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
14045  
14046  
14047   # Argument processing.
# Line 14022 | Line 14062 | if test "${enable_devpoll+set}" = set; t
14062    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14063   fi
14064  
14025  # Check whether --enable-rtsigio was given.
14026 if test "${enable_rtsigio+set}" = set; then :
14027  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14028 fi
14029
14065    # Check whether --enable-poll was given.
14066   if test "${enable_poll+set}" = set; then :
14067    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 14210 | Line 14245 | rm -f core conftest.err conftest.$ac_obj
14245   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14246  
14247    fi
14248 <      iopoll_mechanism_rtsigio=4
14214 <
14215 < cat >>confdefs.h <<_ACEOF
14216 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14217 < _ACEOF
14218 <
14219 <  if test "$cross_compiling" = yes; then :
14220 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14221 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14222 < as_fn_error $? "cannot run test program while cross compiling
14223 < See \`config.log' for more details" "$LINENO" 5; }
14224 < else
14225 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 < /* end confdefs.h.  */
14227 <
14228 < #define _GNU_SOURCE
14229 < #include <fcntl.h>
14230 < static unsigned int have_f_setsig = 0;
14231 <
14232 < int
14233 < main ()
14234 < {
14235 <
14236 < #ifdef F_SETSIG
14237 <  have_f_setsig = 1;
14238 < #endif
14239 <  return have_f_setsig == 0;
14240 <
14241 <  ;
14242 <  return 0;
14243 < }
14244 < _ACEOF
14245 < if ac_fn_c_try_run "$LINENO"; then :
14246 <  is_rtsigio_mechanism_available="yes"
14247 < else
14248 <  is_rtsigio_mechanism_available="no"
14249 < fi
14250 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14251 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14252 < fi
14253 <
14254 <      iopoll_mechanism_poll=5
14248 >      iopoll_mechanism_poll=4
14249  
14250   cat >>confdefs.h <<_ACEOF
14251   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14305 | Line 14299 | else
14299   fi
14300   rm -f core conftest.err conftest.$ac_objext \
14301      conftest$ac_exeext conftest.$ac_ext
14302 <      iopoll_mechanism_select=6
14302 >      iopoll_mechanism_select=5
14303  
14304   cat >>confdefs.h <<_ACEOF
14305   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 14360 | Line 14354 | fi
14354   rm -f core conftest.err conftest.$ac_objext \
14355      conftest$ac_exeext conftest.$ac_ext
14356        optimal_iopoll_mechanism="none"
14357 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14357 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14358      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14359      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14360        optimal_iopoll_mechanism="$mechanism"
# Line 14397 | Line 14391 | _ACEOF
14391  
14392  
14393  
14400
14401 # Check whether --with-nicklen was given.
14402 if test "${with_nicklen+set}" = set; then :
14403  withval=$with_nicklen; nicklen="$withval"
14404 else
14405  nicklen="9"
14406 fi
14407
14408
14409 cat >>confdefs.h <<_ACEOF
14410 #define NICKLEN ($nicklen+1)
14411 _ACEOF
14412
14413
14414
14415
14416 # Check whether --with-topiclen was given.
14417 if test "${with_topiclen+set}" = set; then :
14418  withval=$with_topiclen; topiclen="$withval"
14419 else
14420  topiclen="160"
14421 fi
14422
14423
14424 cat >>confdefs.h <<_ACEOF
14425 #define TOPICLEN ($topiclen)
14426 _ACEOF
14427
14428
14429
14430
14431 # Check whether --with-syslog-facility was given.
14432 if test "${with_syslog_facility+set}" = set; then :
14433  withval=$with_syslog_facility; syslog_facility="$withval"
14434 else
14435  syslog_facility="LOG_LOCAL4"
14436 fi
14437
14438
14439 cat >>confdefs.h <<_ACEOF
14440 #define LOG_FACILITY $syslog_facility
14441 _ACEOF
14442
14443
14444
14445  # Check whether --enable-efnet was given.
14446 if test "${enable_efnet+set}" = set; then :
14447  enableval=$enable_efnet; efnet="$enableval"
14448 else
14449  efnet="no"
14450 fi
14451
14452  if test "$efnet" = "yes" ; then
14453                use_efnet="yes"
14454
14455 $as_echo "#define EFNET 1" >>confdefs.h
14456
14457
14458 $as_echo "#define TS5_ONLY 1" >>confdefs.h
14459
14460        else
14461                use_efnet="no"
14462  fi
14463   if test "$use_efnet" = "yes"; then
14464  EFNET_TRUE=
14465  EFNET_FALSE='#'
14466 else
14467  EFNET_TRUE='#'
14468  EFNET_FALSE=
14469 fi
14470
14471
14472
14394    # Check whether --enable-halfops was given.
14395   if test "${enable_halfops+set}" = set; then :
14396    enableval=$enable_halfops; halfops="$enableval"
# Line 14492 | Line 14413 | else
14413   fi
14414  
14415    if test "$debugging" = "yes" ; then
14495
14496 $as_echo "#define DEBUG 1" >>confdefs.h
14497
14416      CFLAGS="-Wall -g -O0"
14499  else
14500
14501 $as_echo "#define NDEBUG 1" >>confdefs.h
14502
14417    fi
14418  
14419  
# Line 14515 | Line 14429 | fi
14429    fi
14430  
14431  
14518  for ac_header in syslog.h sys/syslog.h
14519 do :
14520  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14521 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14522 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14523  cat >>confdefs.h <<_ACEOF
14524 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14525 _ACEOF
14526
14527 fi
14528
14529 done
14530
14531  # Check whether --enable-syslog was given.
14532 if test "${enable_syslog+set}" = set; then :
14533  enableval=$enable_syslog; syslog="$enableval"
14534 else
14535  syslog="no"
14536 fi
14537
14538  if test "$enableval" != "no" ; then
14539    for option in $enableval ; do
14540      case "$option" in
14541        users)
14542 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
14543 ;;
14544        oper)
14545 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
14546 ;;
14547        yes) : ;;
14548        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14549      esac
14550    done
14551
14552 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
14553
14554  fi
14555
14556
14432  
14433    prefix_NONE=
14434    exec_prefix_NONE=
# Line 14640 | Line 14515 | _ACEOF
14515    test "$exec_prefix_NONE" && exec_prefix=NONE
14516  
14517  
14518 < 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"
14518 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14519  
14520  
14521   cat >confcache <<\_ACEOF
# Line 14752 | Line 14627 | LIBOBJS=$ac_libobjs
14627   LTLIBOBJS=$ac_ltlibobjs
14628  
14629  
14630 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14631 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14632 +   if test -n "$am_sleep_pid"; then
14633 +     # Hide warnings about reused PIDs.
14634 +     wait $am_sleep_pid 2>/dev/null
14635 +   fi
14636 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14637 + $as_echo "done" >&6; }
14638   if test -n "$EXEEXT"; then
14639    am__EXEEXT_TRUE=
14640    am__EXEEXT_FALSE='#'
# Line 14798 | Line 14681 | LT_CONFIG_H=config.h
14681  
14682  
14683  
14801 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14802  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14804 fi
14684   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14685    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14686   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14687   fi
14809 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14810  as_fn_error $? "conditional \"EFNET\" was never defined.
14811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14812 fi
14688  
14689   : "${CONFIG_STATUS=./config.status}"
14690   ac_write_fail=0
# Line 15108 | Line 14983 | if (echo >conf$$.file) 2>/dev/null; then
14983      # ... but there are two gotchas:
14984      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14985      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14986 <    # In both cases, we have to default to `cp -p'.
14986 >    # In both cases, we have to default to `cp -pR'.
14987      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14988 <      as_ln_s='cp -p'
14988 >      as_ln_s='cp -pR'
14989    elif ln conf$$.file conf$$ 2>/dev/null; then
14990      as_ln_s=ln
14991    else
14992 <    as_ln_s='cp -p'
14992 >    as_ln_s='cp -pR'
14993    fi
14994   else
14995 <  as_ln_s='cp -p'
14995 >  as_ln_s='cp -pR'
14996   fi
14997   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14998   rmdir conf$$.dir 2>/dev/null
# Line 15177 | Line 15052 | else
15052    as_mkdir_p=false
15053   fi
15054  
15055 < if test -x / >/dev/null 2>&1; then
15056 <  as_test_x='test -x'
15057 < else
15058 <  if ls -dL / >/dev/null 2>&1; then
15059 <    as_ls_L_option=L
15060 <  else
15061 <    as_ls_L_option=
15062 <  fi
15063 <  as_test_x='
15064 <    eval sh -c '\''
15190 <      if test -d "$1"; then
15191 <        test -d "$1/.";
15192 <      else
15193 <        case $1 in #(
15194 <        -*)set "./$1";;
15195 <        esac;
15196 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15197 <        ???[sx]*):;;*)false;;esac;fi
15198 <    '\'' sh
15199 <  '
15200 < fi
15201 < as_executable_p=$as_test_x
15055 >
15056 > # as_fn_executable_p FILE
15057 > # -----------------------
15058 > # Test if FILE is an executable regular file.
15059 > as_fn_executable_p ()
15060 > {
15061 >  test -f "$1" && test -x "$1"
15062 > } # as_fn_executable_p
15063 > as_test_x='test -x'
15064 > as_executable_p=as_fn_executable_p
15065  
15066   # Sed expression to map a string onto a valid CPP name.
15067   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 15219 | Line 15082 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15082   # report actual input values of CONFIG_FILES etc. instead of their
15083   # values after options handling.
15084   ac_log="
15085 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
15086 < generated by GNU Autoconf 2.68.  Invocation command line was
15085 > This file was extended by ircd-hybrid $as_me TRUNK, which was
15086 > generated by GNU Autoconf 2.69.  Invocation command line was
15087  
15088    CONFIG_FILES    = $CONFIG_FILES
15089    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 15285 | Line 15148 | _ACEOF
15148   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15149   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15150   ac_cs_version="\\
15151 < ircd-hybrid config.status 7.3-rc1
15152 < configured by $0, generated by GNU Autoconf 2.68,
15151 > ircd-hybrid config.status TRUNK
15152 > configured by $0, generated by GNU Autoconf 2.69,
15153    with options \\"\$ac_cs_config\\"
15154  
15155 < Copyright (C) 2010 Free Software Foundation, Inc.
15155 > Copyright (C) 2012 Free Software Foundation, Inc.
15156   This config.status script is free software; the Free Software Foundation
15157   gives unlimited permission to copy, distribute and modify it."
15158  
# Line 15380 | Line 15243 | fi
15243   _ACEOF
15244   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15245   if \$ac_cs_recheck; then
15246 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15246 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15247    shift
15248    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15249    CONFIG_SHELL='$SHELL'
# Line 15422 | Line 15285 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15285   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15286   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15287   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15288 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15289   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15290   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15291   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 15504 | Line 15368 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15368   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15369   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15370   hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15507 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15371   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15372   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15373   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 15560 | Line 15423 | _LTECHO_EOF'
15423   # Quote evaled strings.
15424   for var in SHELL \
15425   ECHO \
15426 + PATH_SEPARATOR \
15427   SED \
15428   GREP \
15429   EGREP \
# Line 15610 | Line 15474 | with_gnu_ld \
15474   allow_undefined_flag \
15475   no_undefined_flag \
15476   hardcode_libdir_flag_spec \
15613 hardcode_libdir_flag_spec_ld \
15477   hardcode_libdir_separator \
15478   exclude_expsyms \
15479   include_expsyms \
# Line 15695 | Line 15558 | do
15558      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15559      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15560      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15698    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15699    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15700    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15701    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15561      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15562      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15704    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15563      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15564      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
15565      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
# Line 16305 | Line 16163 | $as_echo "$as_me: executing $ac_file com
16163  
16164    case $ac_file$ac_mode in
16165      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16166 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16166 >  # Older Autoconf quotes --file arguments for eval, but not when files
16167    # are listed without --file.  Let's play safe and only enable the eval
16168    # if we detect the quoting.
16169    case $CONFIG_FILES in
# Line 16318 | Line 16176 | $as_echo "$as_me: executing $ac_file com
16176      # Strip MF so we end up with the name of the file.
16177      mf=`echo "$mf" | sed -e 's/:.*$//'`
16178      # Check whether this is an Automake generated Makefile or not.
16179 <    # We used to match only the files named `Makefile.in', but
16179 >    # We used to match only the files named 'Makefile.in', but
16180      # some people rename them; so instead we look at the file content.
16181      # Grep'ing the first line is not enough: some people post-process
16182      # each Makefile.in and add a new line on top of each file to say so.
# Line 16352 | Line 16210 | $as_echo X"$mf" |
16210        continue
16211      fi
16212      # Extract the definition of DEPDIR, am__include, and am__quote
16213 <    # from the Makefile without running `make'.
16213 >    # from the Makefile without running 'make'.
16214      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16215      test -z "$DEPDIR" && continue
16216      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16217      test -z "am__include" && continue
16218      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16361    # When using ansi2knr, U may be empty or an underscore; expand it
16362    U=`sed -n 's/^U = //p' < "$mf"`
16219      # Find all dependency output files, they are included files with
16220      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16221      # simplest approach to changing $(DEPDIR) to its actual value in the
16222      # expansion.
16223      for file in `sed -n "
16224        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16225 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16225 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16226        # Make sure the directory exists.
16227        test -f "$dirpart/$file" && continue
16228        fdir=`$as_dirname -- "$file" ||
# Line 16420 | Line 16276 | $as_echo X"$file" |
16276   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16277   #
16278   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16279 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16280 < #                 Inc.
16279 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16280 > #                 Foundation, Inc.
16281   #   Written by Gordon Matzigkeit, 1996
16282   #
16283   #   This file is part of GNU Libtool.
# Line 16475 | Line 16331 | SHELL=$lt_SHELL
16331   # An echo program that protects backslashes.
16332   ECHO=$lt_ECHO
16333  
16334 + # The PATH separator for the build system.
16335 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16336 +
16337   # The host system.
16338   host_alias=$host_alias
16339   host=$host
# Line 16776 | Line 16635 | no_undefined_flag=$lt_no_undefined_flag
16635   # This must work even if \$libdir does not exist
16636   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16637  
16779 # If ld is used when linking, flag to hardcode \$libdir into a binary
16780 # during linking.  This must work even if \$libdir does not exist.
16781 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16782
16638   # Whether we need a single "-rpath" flag with a separated argument.
16639   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16640  

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1107 by michael, Tue Nov 2 15:19:41 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 1908 by michael, Sat Apr 27 21:25:11 2013 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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