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

Comparing ircd-hybrid-8/configure (file contents):
Revision 1252 by michael, Fri Oct 21 20:24:08 2011 UTC vs.
Revision 1431 by michael, Sat Jun 9 19:15:10 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1245 2011-09-30 14:58:29Z michael .
2 > # From configure.ac Id: configure.ac 1402 2012-05-09 18:42:45Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta1.
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 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 712 | Line 729 | AMTAR
729   am__leading_dot
730   SET_MAKE
731   AWK
715 mkdir_p
732   MKDIR_P
733   INSTALL_STRIP_PROGRAM
734   STRIP
# Line 783 | Line 799 | with_included_ltdl
799   with_ltdl_include
800   with_ltdl_lib
801   enable_ltdl_install
786 with_zlib_path
787 enable_zlib
788 with_libpcre_path
802   enable_libpcre
803   enable_openssl
804   enable_assert
# Line 798 | Line 811 | enable_poll
811   enable_select
812   with_nicklen
813   with_topiclen
801 with_syslog_facility
802 enable_efnet
814   enable_halfops
815   enable_debugging
816   enable_warnings
806 enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 1271 | Line 1281 | target=$target_alias
1281   if test "x$host_alias" != x; then
1282    if test "x$build_alias" = x; then
1283      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
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1436 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1448 <                          (and sometimes confusing) to the casual installer
1449 <  --disable-dependency-tracking  speeds up one-time build
1450 <  --enable-dependency-tracking   do not reject slow dependency extractors
1447 >  --enable-maintainer-mode
1448 >                          enable make rules and dependencies not useful (and
1449 >                          sometimes confusing) to the casual installer
1450 >  --enable-dependency-tracking
1451 >                          do not reject slow dependency extractors
1452 >  --disable-dependency-tracking
1453 >                          speeds up one-time build
1454    --enable-static[=PKGS]  build static libraries [default=no]
1455    --enable-shared[=PKGS]  build shared libraries [default=yes]
1456    --enable-fast-install[=PKGS]
1457                            optimize for fast installation [default=yes]
1458    --disable-libtool-lock  avoid locking (might break parallel builds)
1459    --enable-ltdl-install   install libltdl
1449  --disable-zlib          Disable ziplinks support
1460    --disable-libpcre       Disable PCRE support
1461    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1462    --disable-openssl            Disable OpenSSL support.
# Line 1458 | Line 1468 | Optional Features:
1468    --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1470    --enable-select         Force select usage.
1461  --enable-efnet          For IRCDs running on EFnet.
1471    --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1465  --enable-syslog="EVENTS"
1466                          Enable syslog for events: users oper (space
1467                          separated in quotes; default: disabled).
1474  
1475   Optional Packages:
1476    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1477    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1478 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1478 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1479                            both]
1480    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1481    --with-sysroot=DIR Search for dependent libraries within DIR
# Line 1477 | Line 1483 | Optional Packages:
1483    --with-included-ltdl    use the GNU ltdl sources included here
1484    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1485    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1480  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1481  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1486    --with-nicklen=<value>  Set nickname length (default 9).
1487    --with-topiclen=<value> Set topic length (default 160).
1484  --with-syslog-facility=LOG
1485                          Define the syslog facility to use (default:
1486                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1568 | Line 1569 | test -n "$ac_init_help" && exit $ac_stat
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571   ircd-hybrid configure 8beta1
1572 < generated by GNU Autoconf 2.68
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 2010 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1646 | Line 1647 | $as_echo "$ac_try_echo"; } >&5
1647           test ! -s conftest.err
1648         } && test -s conftest$ac_exeext && {
1649           test "$cross_compiling" = yes ||
1650 <         $as_test_x conftest$ac_exeext
1650 >         test -x conftest$ac_exeext
1651         }; then :
1652    ac_retval=0
1653   else
# Line 2094 | Line 2095 | This file contains any messages produced
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097   It was created by ircd-hybrid $as_me 8beta1, which was
2098 < generated by GNU Autoconf 2.68.  Invocation command line was
2098 > generated by GNU Autoconf 2.69.  Invocation command line was
2099  
2100    $ $0 $@
2101  
# Line 2378 | Line 2379 | as_fn_append ac_func_list " strtok_r"
2379   as_fn_append ac_func_list " usleep"
2380   as_fn_append ac_func_list " strlcat"
2381   as_fn_append ac_func_list " strlcpy"
2381 as_fn_append ac_func_list " socketpair"
2382   as_fn_append ac_header_list " crypt.h"
2383 as_fn_append ac_header_list " inttypes.h"
2384 as_fn_append ac_header_list " stdint.h"
2383   as_fn_append ac_header_list " sys/resource.h"
2384   as_fn_append ac_header_list " sys/param.h"
2387 as_fn_append ac_header_list " errno.h"
2388 as_fn_append ac_header_list " sys/syslog.h"
2385   as_fn_append ac_header_list " types.h"
2386   as_fn_append ac_header_list " socket.h"
2387   as_fn_append ac_header_list " sys/wait.h"
2388   as_fn_append ac_header_list " wait.h"
2393 as_fn_append ac_header_list " link.h"
2389   # Check that the precious variables saved in the cache have kept the same
2390   # value.
2391   ac_cache_corrupted=false
# Line 2459 | Line 2454 | ac_link='$CC -o conftest$ac_exeext $CFLA
2454   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455  
2456  
2457 < am__api_version='1.11'
2457 > am__api_version='1.12'
2458  
2459   ac_aux_dir=
2460   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2527 | Line 2522 | case $as_dir/ in #((
2522      # by default.
2523      for ac_prog in ginstall scoinst install; do
2524        for ac_exec_ext in '' $ac_executable_extensions; do
2525 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2525 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526            if test $ac_prog = install &&
2527              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528              # AIX install.  It has an incompatible calling convention.
# Line 2585 | Line 2580 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2580  
2581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582   $as_echo_n "checking whether build environment is sane... " >&6; }
2588 # Just in case
2589 sleep 1
2590 echo timestamp > conftest.file
2583   # Reject unsafe characters in $srcdir or the absolute working directory
2584   # name.  Accept space and tab only in the latter.
2585   am_lf='
# Line 2598 | Line 2590 | case `pwd` in
2590   esac
2591   case $srcdir in
2592    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2593 <    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2593 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594   esac
2595  
2596 < # Do `set' in a subshell so we don't clobber the current shell's
2596 > # Do 'set' in a subshell so we don't clobber the current shell's
2597   # arguments.  Must try -L first in case configure is actually a
2598   # symlink; some systems play weird games with the mod time of symlinks
2599   # (eg FreeBSD returns the mod time of the symlink's containing
2600   # directory).
2601   if (
2602 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 <   if test "$*" = "X"; then
2604 <      # -L didn't work.
2605 <      set X `ls -t "$srcdir/configure" conftest.file`
2606 <   fi
2607 <   rm -f conftest.file
2608 <   if test "$*" != "X $srcdir/configure conftest.file" \
2609 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2610 <
2611 <      # If neither matched, then we have a broken ls.  This can happen
2620 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2621 <      # broken ls alias from the environment.  This has actually
2622 <      # happened.  Such a system could not be considered "sane".
2623 <      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2624 < alias in your environment" "$LINENO" 5
2625 <   fi
2602 >   am_has_slept=no
2603 >   for am_try in 1 2; do
2604 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2605 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606 >     if test "$*" = "X"; then
2607 >        # -L didn't work.
2608 >        set X `ls -t "$srcdir/configure" conftest.file`
2609 >     fi
2610 >     if test "$*" != "X $srcdir/configure conftest.file" \
2611 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2612  
2613 +        # If neither matched, then we have a broken ls.  This can happen
2614 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2615 +        # broken ls alias from the environment.  This has actually
2616 +        # happened.  Such a system could not be considered "sane".
2617 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2618 +  alias in your environment" "$LINENO" 5
2619 +     fi
2620 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2621 +       break
2622 +     fi
2623 +     # Just in case.
2624 +     sleep 1
2625 +     am_has_slept=yes
2626 +   done
2627     test "$2" = conftest.file
2628     )
2629   then
# Line 2635 | Line 2635 | Check your system clock" "$LINENO" 5
2635   fi
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637   $as_echo "yes" >&6; }
2638 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2639 + # generated files are strictly newer.
2640 + am_sleep_pid=
2641 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2642 +  ( sleep 1 ) &
2643 +  am_sleep_pid=$!
2644 + fi
2645 +
2646 + rm -f conftest.file
2647 +
2648   test "$program_prefix" != NONE &&
2649    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2650   # Use a double $ so make ignores it.
# Line 2661 | Line 2671 | if eval "$MISSING --run true"; then
2671    am_missing_run="$MISSING --run "
2672   else
2673    am_missing_run=
2674 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2675 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2674 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2675 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2676   fi
2677  
2678   if test x"${install_sh}" != xset; then
# Line 2674 | Line 2684 | if test x"${install_sh}" != xset; then
2684    esac
2685   fi
2686  
2687 < # Installed binaries are usually stripped using `strip' when the user
2688 < # run `make install-strip'.  However `strip' might not be the right
2687 > # Installed binaries are usually stripped using 'strip' when the user
2688 > # run "make install-strip".  However 'strip' might not be the right
2689   # tool to use in cross-compilation environments, therefore Automake
2690 < # will honor the `STRIP' environment variable to overrule this program.
2690 > # will honor the 'STRIP' environment variable to overrule this program.
2691   if test "$cross_compiling" != no; then
2692    if test -n "$ac_tool_prefix"; then
2693    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
# Line 2696 | Line 2706 | do
2706    IFS=$as_save_IFS
2707    test -z "$as_dir" && as_dir=.
2708      for ac_exec_ext in '' $ac_executable_extensions; do
2709 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2711      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712      break 2
# Line 2736 | Line 2746 | do
2746    IFS=$as_save_IFS
2747    test -z "$as_dir" && as_dir=.
2748      for ac_exec_ext in '' $ac_executable_extensions; do
2749 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750      ac_cv_prog_ac_ct_STRIP="strip"
2751      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752      break 2
# Line 2787 | Line 2797 | do
2797    test -z "$as_dir" && as_dir=.
2798      for ac_prog in mkdir gmkdir; do
2799           for ac_exec_ext in '' $ac_executable_extensions; do
2800 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2800 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2801             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2802               'mkdir (GNU coreutils) '* | \
2803               'mkdir (coreutils) '* | \
# Line 2816 | Line 2826 | fi
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2827   $as_echo "$MKDIR_P" >&6; }
2828  
2819 mkdir_p="$MKDIR_P"
2820 case $mkdir_p in
2821  [\\/$]* | ?:[\\/]*) ;;
2822  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2823 esac
2824
2829   for ac_prog in gawk mawk nawk awk
2830   do
2831    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 2840 | Line 2844 | do
2844    IFS=$as_save_IFS
2845    test -z "$as_dir" && as_dir=.
2846      for ac_exec_ext in '' $ac_executable_extensions; do
2847 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848      ac_cv_prog_AWK="$ac_prog"
2849      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850      break 2
# Line 2956 | Line 2960 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2960  
2961   # We need awk for the "check" target.  The system "awk" is bad on
2962   # some platforms.
2963 < # Always define AMTAR for backward compatibility.
2964 <
2965 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2963 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2964 > # in the wild :-(  We should find a proper way to deprecate it ...
2965 > AMTAR='$${TAR-tar}'
2966  
2967 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2967 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2968  
2969  
2970  
# Line 3013 | Line 3017 | am__quote=
3017   _am_result=none
3018   # First try GNU make style include.
3019   echo "include confinc" > confmf
3020 < # Ignore all kinds of additional output from `make'.
3020 > # Ignore all kinds of additional output from 'make'.
3021   case `$am_make -s -f confmf 2> /dev/null` in #(
3022   *the\ am__doit\ target*)
3023    am__include=include
# Line 3046 | Line 3050 | fi
3050   if test "x$enable_dependency_tracking" != xno; then
3051    am_depcomp="$ac_aux_dir/depcomp"
3052    AMDEPBACKSLASH='\'
3053 +  am__nodep='_no'
3054   fi
3055   if test "x$enable_dependency_tracking" != xno; then
3056    AMDEP_TRUE=
# Line 3078 | Line 3083 | do
3083    IFS=$as_save_IFS
3084    test -z "$as_dir" && as_dir=.
3085      for ac_exec_ext in '' $ac_executable_extensions; do
3086 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3088      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089      break 2
# Line 3118 | Line 3123 | do
3123    IFS=$as_save_IFS
3124    test -z "$as_dir" && as_dir=.
3125      for ac_exec_ext in '' $ac_executable_extensions; do
3126 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3126 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127      ac_cv_prog_ac_ct_CC="gcc"
3128      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129      break 2
# Line 3171 | Line 3176 | do
3176    IFS=$as_save_IFS
3177    test -z "$as_dir" && as_dir=.
3178      for ac_exec_ext in '' $ac_executable_extensions; do
3179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180      ac_cv_prog_CC="${ac_tool_prefix}cc"
3181      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182      break 2
# Line 3212 | Line 3217 | do
3217    IFS=$as_save_IFS
3218    test -z "$as_dir" && as_dir=.
3219      for ac_exec_ext in '' $ac_executable_extensions; do
3220 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3222         ac_prog_rejected=yes
3223         continue
# Line 3270 | Line 3275 | do
3275    IFS=$as_save_IFS
3276    test -z "$as_dir" && as_dir=.
3277      for ac_exec_ext in '' $ac_executable_extensions; do
3278 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3280      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281      break 2
# Line 3314 | Line 3319 | do
3319    IFS=$as_save_IFS
3320    test -z "$as_dir" && as_dir=.
3321      for ac_exec_ext in '' $ac_executable_extensions; do
3322 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323      ac_cv_prog_ac_ct_CC="$ac_prog"
3324      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325      break 2
# Line 3760 | Line 3765 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3765   /* end confdefs.h.  */
3766   #include <stdarg.h>
3767   #include <stdio.h>
3768 < #include <sys/types.h>
3764 < #include <sys/stat.h>
3768 > struct stat;
3769   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3770   struct buf { int x; };
3771   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3857 | Line 3861 | else
3861    # We make a subdir and do the tests there.  Otherwise we can end up
3862    # making bogus files that we don't know about and never remove.  For
3863    # instance it was reported that on HP-UX the gcc test will end up
3864 <  # making a dummy file named `D' -- because `-MD' means `put the output
3865 <  # in D'.
3864 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3865 >  # in D".
3866 >  rm -rf conftest.dir
3867    mkdir conftest.dir
3868    # Copy depcomp to subdir because otherwise we won't find it if we're
3869    # using a relative directory.
# Line 3892 | Line 3897 | else
3897      : > sub/conftest.c
3898      for i in 1 2 3 4 5 6; do
3899        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3900 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3901 <      # Solaris 8's {/usr,}/bin/sh.
3902 <      touch sub/conftst$i.h
3900 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3901 >      # Solaris 10 /bin/sh.
3902 >      echo '/* dummy */' > sub/conftst$i.h
3903      done
3904      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3905  
3906 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3906 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3907      # mode.  It turns out that the SunPro C++ compiler does not properly
3908 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3909 <    # versions had trouble with output in subdirs
3908 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3909 >    # versions had trouble with output in subdirs.
3910      am__obj=sub/conftest.${OBJEXT-o}
3911      am__minus_obj="-o $am__obj"
3912      case $depmode in
# Line 3910 | Line 3915 | else
3915        test "$am__universal" = false || continue
3916        ;;
3917      nosideeffect)
3918 <      # after this tag, mechanisms are not by side-effect, so they'll
3919 <      # only be used when explicitly requested
3918 >      # After this tag, mechanisms are not by side-effect, so they'll
3919 >      # only be used when explicitly requested.
3920        if test "x$enable_dependency_tracking" = xyes; then
3921          continue
3922        else
3923          break
3924        fi
3925        ;;
3926 <    msvisualcpp | msvcmsys)
3927 <      # This compiler won't grok `-c -o', but also, the minuso test has
3926 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3927 >      # This compiler won't grok '-c -o', but also, the minuso test has
3928        # not run yet.  These depmodes are late enough in the game, and
3929        # so weak that their functioning should not be impacted.
3930        am__obj=conftest.${OBJEXT-o}
# Line 4119 | Line 4124 | main ()
4124    return 0;
4125   }
4126   _ACEOF
4127 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4127 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4128   do
4129    CC="$ac_save_CC $ac_arg"
4130    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4151 | Line 4156 | fi
4156  
4157  
4158   if test "$ac_cv_prog_cc_c99" = "no"; then :
4159 <  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4159 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4160   fi
4161   for ac_prog in 'bison -y' byacc
4162   do
# Line 4171 | Line 4176 | do
4176    IFS=$as_save_IFS
4177    test -z "$as_dir" && as_dir=.
4178      for ac_exec_ext in '' $ac_executable_extensions; do
4179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180      ac_cv_prog_YACC="$ac_prog"
4181      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182      break 2
# Line 4215 | Line 4220 | do
4220    IFS=$as_save_IFS
4221    test -z "$as_dir" && as_dir=.
4222      for ac_exec_ext in '' $ac_executable_extensions; do
4223 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224      ac_cv_prog_LEX="$ac_prog"
4225      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4226      break 2
# Line 4247 | Line 4252 | a { ECHO; }
4252   b { REJECT; }
4253   c { yymore (); }
4254   d { yyless (1); }
4255 < e { yyless (input () != 0); }
4255 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4256 >    yyless ((input () != 0)); }
4257   f { unput (yytext[0]); }
4258   . { BEGIN INITIAL; }
4259   %%
# Line 4376 | Line 4382 | esac
4382  
4383  
4384  
4385 < macro_version='2.4'
4386 < macro_revision='1.3293'
4385 > macro_version='2.4.2'
4386 > macro_revision='1.3337'
4387  
4388  
4389  
# Line 4555 | Line 4561 | do
4561      for ac_prog in sed gsed; do
4562      for ac_exec_ext in '' $ac_executable_extensions; do
4563        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4564 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4564 >      as_fn_executable_p "$ac_path_SED" || continue
4565   # Check for GNU ac_path_SED and select it if it is found.
4566    # Check for GNU $ac_path_SED
4567   case `"$ac_path_SED" --version 2>&1` in
# Line 4631 | Line 4637 | do
4637      for ac_prog in grep ggrep; do
4638      for ac_exec_ext in '' $ac_executable_extensions; do
4639        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4640 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4640 >      as_fn_executable_p "$ac_path_GREP" || continue
4641   # Check for GNU ac_path_GREP and select it if it is found.
4642    # Check for GNU $ac_path_GREP
4643   case `"$ac_path_GREP" --version 2>&1` in
# Line 4697 | Line 4703 | do
4703      for ac_prog in egrep; do
4704      for ac_exec_ext in '' $ac_executable_extensions; do
4705        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4706 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4706 >      as_fn_executable_p "$ac_path_EGREP" || continue
4707   # Check for GNU ac_path_EGREP and select it if it is found.
4708    # Check for GNU $ac_path_EGREP
4709   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4764 | Line 4770 | do
4770      for ac_prog in fgrep; do
4771      for ac_exec_ext in '' $ac_executable_extensions; do
4772        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4773 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4773 >      as_fn_executable_p "$ac_path_FGREP" || continue
4774   # Check for GNU ac_path_FGREP and select it if it is found.
4775    # Check for GNU $ac_path_FGREP
4776   case `"$ac_path_FGREP" --version 2>&1` in
# Line 5020 | Line 5026 | do
5026    IFS=$as_save_IFS
5027    test -z "$as_dir" && as_dir=.
5028      for ac_exec_ext in '' $ac_executable_extensions; do
5029 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5031      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032      break 2
# Line 5064 | Line 5070 | do
5070    IFS=$as_save_IFS
5071    test -z "$as_dir" && as_dir=.
5072      for ac_exec_ext in '' $ac_executable_extensions; do
5073 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5075      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076      break 2
# Line 5222 | Line 5228 | else
5228      lt_cv_sys_max_cmd_len=196608
5229      ;;
5230  
5231 +  os2*)
5232 +    # The test takes a long time on OS/2.
5233 +    lt_cv_sys_max_cmd_len=8192
5234 +    ;;
5235 +
5236    osf*)
5237      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5238      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5261 | Line 5272 | else
5272        # If test is not a shell built-in, we'll probably end up computing a
5273        # maximum length that is only half of the actual maximum length, but
5274        # we can't tell.
5275 <      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5275 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5276                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5277                test $i != 17 # 1/2 MB should be enough
5278        do
# Line 5483 | Line 5494 | do
5494    IFS=$as_save_IFS
5495    test -z "$as_dir" && as_dir=.
5496      for ac_exec_ext in '' $ac_executable_extensions; do
5497 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5499      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500      break 2
# Line 5523 | Line 5534 | do
5534    IFS=$as_save_IFS
5535    test -z "$as_dir" && as_dir=.
5536      for ac_exec_ext in '' $ac_executable_extensions; do
5537 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5537 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5539      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540      break 2
# Line 5690 | Line 5701 | irix5* | irix6* | nonstopux*)
5701    lt_cv_deplibs_check_method=pass_all
5702    ;;
5703  
5704 < # This must be Linux ELF.
5704 > # This must be glibc/ELF.
5705   linux* | k*bsd*-gnu | kopensolaris*-gnu)
5706    lt_cv_deplibs_check_method=pass_all
5707    ;;
# Line 5829 | Line 5840 | do
5840    IFS=$as_save_IFS
5841    test -z "$as_dir" && as_dir=.
5842      for ac_exec_ext in '' $ac_executable_extensions; do
5843 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5845      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846      break 2
# Line 5869 | Line 5880 | do
5880    IFS=$as_save_IFS
5881    test -z "$as_dir" && as_dir=.
5882      for ac_exec_ext in '' $ac_executable_extensions; do
5883 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5885      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886      break 2
# Line 5972 | Line 5983 | do
5983    IFS=$as_save_IFS
5984    test -z "$as_dir" && as_dir=.
5985      for ac_exec_ext in '' $ac_executable_extensions; do
5986 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5986 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987      ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5988      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989      break 2
# Line 6016 | Line 6027 | do
6027    IFS=$as_save_IFS
6028    test -z "$as_dir" && as_dir=.
6029      for ac_exec_ext in '' $ac_executable_extensions; do
6030 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6030 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031      ac_cv_prog_ac_ct_AR="$ac_prog"
6032      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033      break 2
# Line 6141 | Line 6152 | do
6152    IFS=$as_save_IFS
6153    test -z "$as_dir" && as_dir=.
6154      for ac_exec_ext in '' $ac_executable_extensions; do
6155 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6155 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6157      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158      break 2
# Line 6181 | Line 6192 | do
6192    IFS=$as_save_IFS
6193    test -z "$as_dir" && as_dir=.
6194      for ac_exec_ext in '' $ac_executable_extensions; do
6195 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6195 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6196      ac_cv_prog_ac_ct_STRIP="strip"
6197      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198      break 2
# Line 6240 | Line 6251 | do
6251    IFS=$as_save_IFS
6252    test -z "$as_dir" && as_dir=.
6253      for ac_exec_ext in '' $ac_executable_extensions; do
6254 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6256      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257      break 2
# Line 6280 | Line 6291 | do
6291    IFS=$as_save_IFS
6292    test -z "$as_dir" && as_dir=.
6293      for ac_exec_ext in '' $ac_executable_extensions; do
6294 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295      ac_cv_prog_ac_ct_RANLIB="ranlib"
6296      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297      break 2
# Line 6330 | Line 6341 | old_postuninstall_cmds=
6341   if test -n "$RANLIB"; then
6342    case $host_os in
6343    openbsd*)
6344 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6344 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6345      ;;
6346    *)
6347 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6347 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6348      ;;
6349    esac
6350 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6350 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6351   fi
6352  
6353   case $host_os in
# Line 6483 | Line 6494 | for ac_symprfx in "" "_"; do
6494      # which start with @ or ?.
6495      lt_cv_sys_global_symbol_pipe="$AWK '"\
6496   "     {last_section=section; section=\$ 3};"\
6497 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6498   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6499   "     \$ 0!~/External *\|/{next};"\
6500   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6871 | Line 6883 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6883      CFLAGS="$SAVE_CFLAGS"
6884    fi
6885    ;;
6886 < sparc*-*solaris*)
6886 > *-*solaris*)
6887    # Find out which ABI we are using.
6888    echo 'int i;' > conftest.$ac_ext
6889    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6882 | Line 6894 | sparc*-*solaris*)
6894      case `/usr/bin/file conftest.o` in
6895      *64-bit*)
6896        case $lt_cv_prog_gnu_ld in
6897 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6897 >      yes*)
6898 >        case $host in
6899 >        i?86-*-solaris*)
6900 >          LD="${LD-ld} -m elf_x86_64"
6901 >          ;;
6902 >        sparc*-*-solaris*)
6903 >          LD="${LD-ld} -m elf64_sparc"
6904 >          ;;
6905 >        esac
6906 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6907 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6908 >          LD="${LD-ld}_sol2"
6909 >        fi
6910 >        ;;
6911        *)
6912          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6913            LD="${LD-ld} -64"
# Line 6915 | Line 6940 | do
6940    IFS=$as_save_IFS
6941    test -z "$as_dir" && as_dir=.
6942      for ac_exec_ext in '' $ac_executable_extensions; do
6943 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6943 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944      ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6945      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946      break 2
# Line 6955 | Line 6980 | do
6980    IFS=$as_save_IFS
6981    test -z "$as_dir" && as_dir=.
6982      for ac_exec_ext in '' $ac_executable_extensions; do
6983 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6983 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984      ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6985      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986      break 2
# Line 7035 | Line 7060 | do
7060    IFS=$as_save_IFS
7061    test -z "$as_dir" && as_dir=.
7062      for ac_exec_ext in '' $ac_executable_extensions; do
7063 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7063 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7064      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7065      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066      break 2
# Line 7075 | Line 7100 | do
7100    IFS=$as_save_IFS
7101    test -z "$as_dir" && as_dir=.
7102      for ac_exec_ext in '' $ac_executable_extensions; do
7103 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7105      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106      break 2
# Line 7127 | Line 7152 | do
7152    IFS=$as_save_IFS
7153    test -z "$as_dir" && as_dir=.
7154      for ac_exec_ext in '' $ac_executable_extensions; do
7155 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7156      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7157      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158      break 2
# Line 7167 | Line 7192 | do
7192    IFS=$as_save_IFS
7193    test -z "$as_dir" && as_dir=.
7194      for ac_exec_ext in '' $ac_executable_extensions; do
7195 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7195 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7196      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7197      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198      break 2
# Line 7219 | Line 7244 | do
7244    IFS=$as_save_IFS
7245    test -z "$as_dir" && as_dir=.
7246      for ac_exec_ext in '' $ac_executable_extensions; do
7247 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7249      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250      break 2
# Line 7259 | Line 7284 | do
7284    IFS=$as_save_IFS
7285    test -z "$as_dir" && as_dir=.
7286      for ac_exec_ext in '' $ac_executable_extensions; do
7287 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288      ac_cv_prog_ac_ct_LIPO="lipo"
7289      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290      break 2
# Line 7311 | Line 7336 | do
7336    IFS=$as_save_IFS
7337    test -z "$as_dir" && as_dir=.
7338      for ac_exec_ext in '' $ac_executable_extensions; do
7339 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7341      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342      break 2
# Line 7351 | Line 7376 | do
7376    IFS=$as_save_IFS
7377    test -z "$as_dir" && as_dir=.
7378      for ac_exec_ext in '' $ac_executable_extensions; do
7379 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7379 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7380      ac_cv_prog_ac_ct_OTOOL="otool"
7381      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382      break 2
# Line 7403 | Line 7428 | do
7428    IFS=$as_save_IFS
7429    test -z "$as_dir" && as_dir=.
7430      for ac_exec_ext in '' $ac_executable_extensions; do
7431 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7433      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434      break 2
# Line 7443 | Line 7468 | do
7468    IFS=$as_save_IFS
7469    test -z "$as_dir" && as_dir=.
7470      for ac_exec_ext in '' $ac_executable_extensions; do
7471 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7471 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472      ac_cv_prog_ac_ct_OTOOL64="otool64"
7473      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474      break 2
# Line 7522 | Line 7547 | else
7547          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7548            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7549          _lt_result=$?
7550 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7550 >        # If there is a non-empty error log, and "single_module"
7551 >        # appears in it, assume the flag caused a linker warning
7552 >        if test -s conftest.err && $GREP single_module conftest.err; then
7553 >          cat conftest.err >&5
7554 >        # Otherwise, if the output was created with a 0 exit code from
7555 >        # the compiler, it worked.
7556 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7557            lt_cv_apple_cc_single_mod=yes
7558          else
7559            cat conftest.err >&5
# Line 7533 | Line 7564 | else
7564   fi
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7566   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7567 +
7568      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7569   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7570   if ${lt_cv_ld_exported_symbols_list+:} false; then :
# Line 7565 | Line 7597 | rm -f core conftest.err conftest.$ac_obj
7597   fi
7598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7599   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7600 +
7601      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7602   $as_echo_n "checking for -force_load linker flag... " >&6; }
7603   if ${lt_cv_ld_force_load+:} false; then :
# Line 7586 | Line 7619 | _LT_EOF
7619        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7620        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7621        _lt_result=$?
7622 <      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7622 >      if test -s conftest.err && $GREP force_load conftest.err; then
7623 >        cat conftest.err >&5
7624 >      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7625          lt_cv_ld_force_load=yes
7626        else
7627          cat conftest.err >&5
# Line 7989 | Line 8024 | fi
8024  
8025   # Check whether --with-pic was given.
8026   if test "${with_pic+set}" = set; then :
8027 <  withval=$with_pic; pic_mode="$withval"
8027 >  withval=$with_pic; lt_p=${PACKAGE-default}
8028 >    case $withval in
8029 >    yes|no) pic_mode=$withval ;;
8030 >    *)
8031 >      pic_mode=default
8032 >      # Look at the argument we got.  We use all the common list separators.
8033 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8034 >      for lt_pkg in $withval; do
8035 >        IFS="$lt_save_ifs"
8036 >        if test "X$lt_pkg" = "X$lt_p"; then
8037 >          pic_mode=yes
8038 >        fi
8039 >      done
8040 >      IFS="$lt_save_ifs"
8041 >      ;;
8042 >    esac
8043   else
8044    pic_mode=default
8045   fi
# Line 8067 | Line 8117 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8117  
8118  
8119  
8120 +
8121 +
8122 +
8123 +
8124   test -z "$LN_S" && LN_S="ln -s"
8125  
8126  
# Line 8522 | Line 8576 | lt_prog_compiler_static=
8576      case $cc_basename in
8577      nvcc*) # Cuda Compiler Driver 2.2
8578        lt_prog_compiler_wl='-Xlinker '
8579 <      lt_prog_compiler_pic='-Xcompiler -fPIC'
8579 >      if test -n "$lt_prog_compiler_pic"; then
8580 >        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8581 >      fi
8582        ;;
8583      esac
8584    else
# Line 8613 | Line 8669 | lt_prog_compiler_static=
8669          ;;
8670        *)
8671          case `$CC -V 2>&1 | sed 5q` in
8672 <        *Sun\ F* | *Sun*Fortran*)
8672 >        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8673            # Sun Fortran 8.3 passes all unrecognized flags to the linker
8674            lt_prog_compiler_pic='-KPIC'
8675            lt_prog_compiler_static='-Bstatic'
8676            lt_prog_compiler_wl=''
8677            ;;
8678 +        *Sun\ F* | *Sun*Fortran*)
8679 +          lt_prog_compiler_pic='-KPIC'
8680 +          lt_prog_compiler_static='-Bstatic'
8681 +          lt_prog_compiler_wl='-Qoption ld '
8682 +          ;;
8683          *Sun\ C*)
8684            # Sun C 5.9
8685            lt_prog_compiler_pic='-KPIC'
8686            lt_prog_compiler_static='-Bstatic'
8687            lt_prog_compiler_wl='-Wl,'
8688            ;;
8689 +        *Intel*\ [CF]*Compiler*)
8690 +          lt_prog_compiler_wl='-Wl,'
8691 +          lt_prog_compiler_pic='-fPIC'
8692 +          lt_prog_compiler_static='-static'
8693 +          ;;
8694 +        *Portland\ Group*)
8695 +          lt_prog_compiler_wl='-Wl,'
8696 +          lt_prog_compiler_pic='-fpic'
8697 +          lt_prog_compiler_static='-Bstatic'
8698 +          ;;
8699          esac
8700          ;;
8701        esac
# Line 8986 | Line 9057 | $as_echo_n "checking whether the $compil
9057    hardcode_direct=no
9058    hardcode_direct_absolute=no
9059    hardcode_libdir_flag_spec=
8989  hardcode_libdir_flag_spec_ld=
9060    hardcode_libdir_separator=
9061    hardcode_minus_L=no
9062    hardcode_shlibpath_var=unsupported
# Line 9236 | Line 9306 | _LT_EOF
9306          xlf* | bgf* | bgxlf* | mpixlf*)
9307            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9308            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9309 <          hardcode_libdir_flag_spec=
9240 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9309 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9311            if test "x$supports_anon_versioning" = xyes; then
9312              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
# Line 9616 | Line 9685 | fi
9685          # The linker will not automatically build a static lib if we build a DLL.
9686          # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9687          enable_shared_with_static_runtimes=yes
9688 +        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9689          export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9690          # Don't use ranlib
9691          old_postinstall_cmds='chmod 644 $oldlib'
# Line 9661 | Line 9731 | fi
9731    hardcode_shlibpath_var=unsupported
9732    if test "$lt_cv_ld_force_load" = "yes"; then
9733      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\"`'
9734 +
9735    else
9736      whole_archive_flag_spec=''
9737    fi
# Line 9689 | Line 9760 | fi
9760        hardcode_shlibpath_var=no
9761        ;;
9762  
9692    freebsd1*)
9693      ld_shlibs=no
9694      ;;
9695
9763      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9764      # support.  Future versions do this automatically, but an explicit c++rt0.o
9765      # does not break anything, and helps significantly (at the cost of a little
# Line 9705 | Line 9772 | fi
9772        ;;
9773  
9774      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9775 <    freebsd2*)
9775 >    freebsd2.*)
9776        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9777        hardcode_direct=yes
9778        hardcode_minus_L=yes
# Line 9744 | Line 9811 | fi
9811        fi
9812        if test "$with_gnu_ld" = no; then
9813          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9747        hardcode_libdir_flag_spec_ld='+b $libdir'
9814          hardcode_libdir_separator=:
9815          hardcode_direct=yes
9816          hardcode_direct_absolute=yes
# Line 10368 | Line 10434 | esac
10434  
10435  
10436  
10371
10372
10373
10374
10375
10437    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10438   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10439  
# Line 10462 | Line 10523 | need_version=unknown
10523  
10524   case $host_os in
10525   aix3*)
10526 <  version_type=linux
10526 >  version_type=linux # correct to gnu/linux during the next big refactor
10527    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10528    shlibpath_var=LIBPATH
10529  
# Line 10471 | Line 10532 | aix3*)
10532    ;;
10533  
10534   aix[4-9]*)
10535 <  version_type=linux
10535 >  version_type=linux # correct to gnu/linux during the next big refactor
10536    need_lib_prefix=no
10537    need_version=no
10538    hardcode_into_libs=yes
# Line 10536 | Line 10597 | beos*)
10597    ;;
10598  
10599   bsdi[45]*)
10600 <  version_type=linux
10600 >  version_type=linux # correct to gnu/linux during the next big refactor
10601    need_version=no
10602    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603    soname_spec='${libname}${release}${shared_ext}$major'
# Line 10675 | Line 10736 | darwin* | rhapsody*)
10736    ;;
10737  
10738   dgux*)
10739 <  version_type=linux
10739 >  version_type=linux # correct to gnu/linux during the next big refactor
10740    need_lib_prefix=no
10741    need_version=no
10742    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 10683 | Line 10744 | dgux*)
10744    shlibpath_var=LD_LIBRARY_PATH
10745    ;;
10746  
10686 freebsd1*)
10687  dynamic_linker=no
10688  ;;
10689
10747   freebsd* | dragonfly*)
10748    # DragonFly does not have aout.  When/if they implement a new
10749    # versioning mechanism, adjust this.
# Line 10694 | Line 10751 | freebsd* | dragonfly*)
10751      objformat=`/usr/bin/objformat`
10752    else
10753      case $host_os in
10754 <    freebsd[123]*) objformat=aout ;;
10754 >    freebsd[23].*) objformat=aout ;;
10755      *) objformat=elf ;;
10756      esac
10757    fi
# Line 10712 | Line 10769 | freebsd* | dragonfly*)
10769    esac
10770    shlibpath_var=LD_LIBRARY_PATH
10771    case $host_os in
10772 <  freebsd2*)
10772 >  freebsd2.*)
10773      shlibpath_overrides_runpath=yes
10774      ;;
10775    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 10732 | Line 10789 | freebsd* | dragonfly*)
10789    ;;
10790  
10791   gnu*)
10792 <  version_type=linux
10792 >  version_type=linux # correct to gnu/linux during the next big refactor
10793    need_lib_prefix=no
10794    need_version=no
10795    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10796    soname_spec='${libname}${release}${shared_ext}$major'
10797    shlibpath_var=LD_LIBRARY_PATH
10798 +  shlibpath_overrides_runpath=no
10799    hardcode_into_libs=yes
10800    ;;
10801  
10802   haiku*)
10803 <  version_type=linux
10803 >  version_type=linux # correct to gnu/linux during the next big refactor
10804    need_lib_prefix=no
10805    need_version=no
10806    dynamic_linker="$host_os runtime_loader"
# Line 10803 | Line 10861 | hpux9* | hpux10* | hpux11*)
10861    ;;
10862  
10863   interix[3-9]*)
10864 <  version_type=linux
10864 >  version_type=linux # correct to gnu/linux during the next big refactor
10865    need_lib_prefix=no
10866    need_version=no
10867    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10819 | Line 10877 | irix5* | irix6* | nonstopux*)
10877      nonstopux*) version_type=nonstopux ;;
10878      *)
10879          if test "$lt_cv_prog_gnu_ld" = yes; then
10880 <                version_type=linux
10880 >                version_type=linux # correct to gnu/linux during the next big refactor
10881          else
10882                  version_type=irix
10883          fi ;;
# Line 10856 | Line 10914 | linux*oldld* | linux*aout* | linux*coff*
10914    dynamic_linker=no
10915    ;;
10916  
10917 < # This must be Linux ELF.
10917 > # This must be glibc/ELF.
10918   linux* | k*bsd*-gnu | kopensolaris*-gnu)
10919 <  version_type=linux
10919 >  version_type=linux # correct to gnu/linux during the next big refactor
10920    need_lib_prefix=no
10921    need_version=no
10922    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10940 | Line 10998 | netbsd*)
10998    ;;
10999  
11000   newsos6)
11001 <  version_type=linux
11001 >  version_type=linux # correct to gnu/linux during the next big refactor
11002    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003    shlibpath_var=LD_LIBRARY_PATH
11004    shlibpath_overrides_runpath=yes
# Line 11009 | Line 11067 | rdos*)
11067    ;;
11068  
11069   solaris*)
11070 <  version_type=linux
11070 >  version_type=linux # correct to gnu/linux during the next big refactor
11071    need_lib_prefix=no
11072    need_version=no
11073    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 11034 | Line 11092 | sunos4*)
11092    ;;
11093  
11094   sysv4 | sysv4.3*)
11095 <  version_type=linux
11095 >  version_type=linux # correct to gnu/linux during the next big refactor
11096    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097    soname_spec='${libname}${release}${shared_ext}$major'
11098    shlibpath_var=LD_LIBRARY_PATH
# Line 11058 | Line 11116 | sysv4 | sysv4.3*)
11116  
11117   sysv4*MP*)
11118    if test -d /usr/nec ;then
11119 <    version_type=linux
11119 >    version_type=linux # correct to gnu/linux during the next big refactor
11120      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11121      soname_spec='$libname${shared_ext}.$major'
11122      shlibpath_var=LD_LIBRARY_PATH
# Line 11089 | Line 11147 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11147  
11148   tpf*)
11149    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11150 <  version_type=linux
11150 >  version_type=linux # correct to gnu/linux during the next big refactor
11151    need_lib_prefix=no
11152    need_version=no
11153    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 11099 | Line 11157 | tpf*)
11157    ;;
11158  
11159   uts4*)
11160 <  version_type=linux
11160 >  version_type=linux # correct to gnu/linux during the next big refactor
11161    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11162    soname_spec='${libname}${release}${shared_ext}$major'
11163    shlibpath_var=LD_LIBRARY_PATH
# Line 11881 | Line 11939 | CC="$lt_save_CC"
11939  
11940  
11941  
11942 +
11943 +
11944          ac_config_commands="$ac_config_commands libtool"
11945  
11946  
# Line 11897 | Line 11957 | else
11957  
11958   module=yes
11959   eval libltdl_cv_shlibext=$shrext_cmds
11960 + module=no
11961 + eval libltdl_cv_shrext=$shrext_cmds
11962  
11963   fi
11964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11908 | Line 11970 | cat >>confdefs.h <<_ACEOF
11970   _ACEOF
11971  
11972   fi
11973 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11974 +
11975 + cat >>confdefs.h <<_ACEOF
11976 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11977 + _ACEOF
11978 +
11979 + fi
11980  
11981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11982   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
# Line 13454 | Line 13523 | done
13523  
13524  
13525  
13457
13458
13526   # Checks for header files.
13527  
13528  
# Line 13490 | Line 13557 | done
13557  
13558  
13559  
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503 # check for /dev/null so we can use it to hold evil fd's
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13505 $as_echo_n "checking for /dev/null... " >&6; }
13506 if test -c /dev/null; then :
13507
13508
13509 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13510
13511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13512 $as_echo "yes" >&6; }
13513 else
13514
13515
13516 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13517
13518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13519 $as_echo "no - using devnull.log" >&6; }
13520 fi
13521
13522
13560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13561   $as_echo_n "checking for library containing crypt... " >&6; }
13562   if ${ac_cv_search_crypt+:} false; then :
# Line 13577 | Line 13614 | if test "$ac_res" != no; then :
13614   fi
13615  
13616  
13580
13581
13582 # Check whether --with-zlib-path was given.
13583 if test "${with_zlib_path+set}" = set; then :
13584  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13585 fi
13586
13587
13588 # Check whether --enable-zlib was given.
13589 if test "${enable_zlib+set}" = set; then :
13590  enableval=$enable_zlib; zlib=$enableval
13591 else
13592  zlib=yes
13593 fi
13594
13595
13596 if test "$zlib" = "yes"; then :
13597
13598  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13599 if test "x$ac_cv_header_zlib_h" = xyes; then :
13600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13601 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13602 if ${ac_cv_lib_z_zlibVersion+:} false; then :
13603  $as_echo_n "(cached) " >&6
13604 else
13605  ac_check_lib_save_LIBS=$LIBS
13606 LIBS="-lz  $LIBS"
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h.  */
13609
13610 /* Override any GCC internal prototype to avoid an error.
13611   Use char because int might match the return type of a GCC
13612   builtin and then its argument prototype would still apply.  */
13613 #ifdef __cplusplus
13614 extern "C"
13615 #endif
13616 char zlibVersion ();
13617 int
13618 main ()
13619 {
13620 return zlibVersion ();
13621  ;
13622  return 0;
13623 }
13624 _ACEOF
13625 if ac_fn_c_try_link "$LINENO"; then :
13626  ac_cv_lib_z_zlibVersion=yes
13627 else
13628  ac_cv_lib_z_zlibVersion=no
13629 fi
13630 rm -f core conftest.err conftest.$ac_objext \
13631    conftest$ac_exeext conftest.$ac_ext
13632 LIBS=$ac_check_lib_save_LIBS
13633 fi
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13635 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13636 if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13637
13638      LIBS="-lz $LIBS"
13639
13640 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
13641
13642
13643 else
13644  zlib=no
13645 fi
13646
13647
13648 else
13649  zlib=no
13650 fi
13651
13652
13653
13654 fi
13655
13656
13657 # Check whether --with-libpcre-path was given.
13658 if test "${with_libpcre_path+set}" = set; then :
13659  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13660 fi
13661
13662
13617   # Check whether --enable-libpcre was given.
13618   if test "${enable_libpcre+set}" = set; then :
13619 <  enableval=$enable_libpcre; libpcre=$enableval
13619 >  enableval=$enable_libpcre;
13620   else
13667  libpcre=yes
13668 fi
13669
13670
13671 if test "$libpcre" = "yes"; then :
13672
13621    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13622   if test "x$ac_cv_header_pcre_h" = xyes; then :
13623 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13624 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13625 < if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13623 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13624 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13625 > if ${ac_cv_search_pcre_study+:} false; then :
13626    $as_echo_n "(cached) " >&6
13627   else
13628 <  ac_check_lib_save_LIBS=$LIBS
13681 < LIBS="-lpcre  $LIBS"
13628 >  ac_func_search_save_LIBS=$LIBS
13629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630   /* end confdefs.h.  */
13631  
# Line 13697 | Line 13644 | return pcre_study ();
13644    return 0;
13645   }
13646   _ACEOF
13647 < if ac_fn_c_try_link "$LINENO"; then :
13648 <  ac_cv_lib_pcre_pcre_study=yes
13649 < else
13650 <  ac_cv_lib_pcre_pcre_study=no
13647 > for ac_lib in '' pcre; do
13648 >  if test -z "$ac_lib"; then
13649 >    ac_res="none required"
13650 >  else
13651 >    ac_res=-l$ac_lib
13652 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13653 >  fi
13654 >  if ac_fn_c_try_link "$LINENO"; then :
13655 >  ac_cv_search_pcre_study=$ac_res
13656   fi
13657   rm -f core conftest.err conftest.$ac_objext \
13658 <    conftest$ac_exeext conftest.$ac_ext
13659 < LIBS=$ac_check_lib_save_LIBS
13658 >    conftest$ac_exeext
13659 >  if ${ac_cv_search_pcre_study+:} false; then :
13660 >  break
13661   fi
13662 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13663 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13711 < if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13712 <
13713 <      LIBS="-lpcre $LIBS"
13714 <
13715 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13716 <
13662 > done
13663 > if ${ac_cv_search_pcre_study+:} false; then :
13664  
13665   else
13666 <  libpcre=no
13666 >  ac_cv_search_pcre_study=no
13667   fi
13668 + rm conftest.$ac_ext
13669 + LIBS=$ac_func_search_save_LIBS
13670 + fi
13671 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13672 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13673 + ac_res=$ac_cv_search_pcre_study
13674 + if test "$ac_res" != no; then :
13675 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13676  
13677 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13678  
13723 else
13724  libpcre=no
13679   fi
13680  
13681 + fi
13682  
13683  
13684   fi
13730 if test "$libpcre" = yes; then
13731  ENABLE_PCRE_TRUE=
13732  ENABLE_PCRE_FALSE='#'
13733 else
13734  ENABLE_PCRE_TRUE='#'
13735  ENABLE_PCRE_FALSE=
13736 fi
13737
13685  
13686  
13687   # Check whether --enable-openssl was given.
# Line 13776 | Line 13723 | if test "$cf_enable_openssl" != "no"; th
13723    fi
13724  
13725        if test ! -z "$cf_openssl_basedir"; then
13779    LIBS="-lcrypto -lssl $LIBS"
13726      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13727   $as_echo "$cf_openssl_basedir" >&6; }
13728      cf_enable_openssl="yes"
13783
13784 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13785
13729    else
13730      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13731   $as_echo "not found. Please check your path." >&6; }
# Line 13795 | Line 13738 | $as_echo "disabled" >&6; }
13738   fi
13739  
13740   if test "$cf_enable_openssl" != "no"; then :
13741 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13742 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13741 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13742 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13743    if test "$cross_compiling" = yes; then :
13744    cf_openssl_version_ok=no
13745   else
# Line 13809 | Line 13752 | else
13752   int
13753   main ()
13754   {
13755 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13755 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13756    ;
13757    return 0;
13758   }
# Line 13828 | Line 13771 | fi
13771    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13772   $as_echo "found" >&6; }
13773  
13774 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13774 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13775 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13776 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13777 >  $as_echo_n "(cached) " >&6
13778 > else
13779 >  ac_check_lib_save_LIBS=$LIBS
13780 > LIBS="-lssl  $LIBS"
13781 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 > /* end confdefs.h.  */
13783 >
13784 > /* Override any GCC internal prototype to avoid an error.
13785 >   Use char because int might match the return type of a GCC
13786 >   builtin and then its argument prototype would still apply.  */
13787 > #ifdef __cplusplus
13788 > extern "C"
13789 > #endif
13790 > char SSL_connect ();
13791 > int
13792 > main ()
13793 > {
13794 > return SSL_connect ();
13795 >  ;
13796 >  return 0;
13797 > }
13798 > _ACEOF
13799 > if ac_fn_c_try_link "$LINENO"; then :
13800 >  ac_cv_lib_ssl_SSL_connect=yes
13801 > else
13802 >  ac_cv_lib_ssl_SSL_connect=no
13803 > fi
13804 > rm -f core conftest.err conftest.$ac_objext \
13805 >    conftest$ac_exeext conftest.$ac_ext
13806 > LIBS=$ac_check_lib_save_LIBS
13807 > fi
13808 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13809 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13810 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13811 >  cat >>confdefs.h <<_ACEOF
13812 > #define HAVE_LIBSSL 1
13813 > _ACEOF
13814 >
13815 >  LIBS="-lssl $LIBS"
13816 >
13817 > fi
13818 >
13819 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13820 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13821   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13822   if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13823    $as_echo_n "(cached) " >&6
# Line 13873 | Line 13862 | _ACEOF
13862  
13863   fi
13864  
13876    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13877  for ac_func in EVP_bf_cfb           \
13878                      EVP_cast5_cfb        \
13879                      EVP_idea_cfb         \
13880                      EVP_rc5_32_12_16_cfb \
13881                      EVP_des_ede3_cfb     \
13882                      EVP_des_cfb
13883 do :
13884  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13886 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13887  cat >>confdefs.h <<_ACEOF
13888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13889 _ACEOF
13890
13891 fi
13892 done
13893
13865   fi
13866  
13867   else
# Line 13900 | Line 13871 | $as_echo "no - OpenSSL support disabled"
13871   fi
13872   fi
13873  
13874 < if test "$cf_enable_openssl" = yes; then
13874 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13875    ENABLE_SSL_TRUE=
13876    ENABLE_SSL_FALSE='#'
13877   else
# Line 13936 | Line 13907 | fi
13907   if test "$small_net" = "yes"; then :
13908  
13909  
13910 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13910 > $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13911  
13912  
13913   $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
# Line 13969 | Line 13940 | else
13940  
13941  
13942  
13943 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13943 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13944  
13945  
13946   $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
# Line 14404 | Line 14375 | fi
14375  
14376  
14377   cat >>confdefs.h <<_ACEOF
14378 < #define NICKLEN ($nicklen+1)
14378 > #define NICKLEN ($nicklen)
14379   _ACEOF
14380  
14381  
# Line 14424 | Line 14395 | _ACEOF
14395  
14396  
14397  
14427
14428 # Check whether --with-syslog-facility was given.
14429 if test "${with_syslog_facility+set}" = set; then :
14430  withval=$with_syslog_facility; syslog_facility="$withval"
14431 else
14432  syslog_facility="LOG_LOCAL4"
14433 fi
14434
14435
14436 cat >>confdefs.h <<_ACEOF
14437 #define LOG_FACILITY $syslog_facility
14438 _ACEOF
14439
14440
14441
14442  # Check whether --enable-efnet was given.
14443 if test "${enable_efnet+set}" = set; then :
14444  enableval=$enable_efnet; efnet="$enableval"
14445 else
14446  efnet="no"
14447 fi
14448
14449  if test "$efnet" = "yes" ; then
14450                use_efnet="yes"
14451
14452 $as_echo "#define EFNET 1" >>confdefs.h
14453
14454        else
14455                use_efnet="no"
14456  fi
14457   if test "$use_efnet" = "yes"; then
14458  EFNET_TRUE=
14459  EFNET_FALSE='#'
14460 else
14461  EFNET_TRUE='#'
14462  EFNET_FALSE=
14463 fi
14464
14465
14466
14398    # Check whether --enable-halfops was given.
14399   if test "${enable_halfops+set}" = set; then :
14400    enableval=$enable_halfops; halfops="$enableval"
# Line 14509 | Line 14440 | fi
14440    fi
14441  
14442  
14512  for ac_header in syslog.h sys/syslog.h
14513 do :
14514  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14515 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14516 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14517  cat >>confdefs.h <<_ACEOF
14518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14519 _ACEOF
14520
14521 fi
14522
14523 done
14524
14525  # Check whether --enable-syslog was given.
14526 if test "${enable_syslog+set}" = set; then :
14527  enableval=$enable_syslog; syslog="$enableval"
14528 else
14529  syslog="no"
14530 fi
14531
14532  if test "$enableval" != "no" ; then
14533    for option in $enableval ; do
14534      case "$option" in
14535        users)
14536 $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
14537 ;;
14538        oper)
14539 $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
14540 ;;
14541        yes) : ;;
14542        *) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
14543      esac
14544    done
14545
14546 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
14547
14548  fi
14549
14550
14443  
14444    prefix_NONE=
14445    exec_prefix_NONE=
# Line 14634 | Line 14526 | _ACEOF
14526    test "$exec_prefix_NONE" && exec_prefix=NONE
14527  
14528  
14529 < 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"
14529 > ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14530  
14531  
14532   cat >confcache <<\_ACEOF
# Line 14746 | Line 14638 | LIBOBJS=$ac_libobjs
14638   LTLIBOBJS=$ac_ltlibobjs
14639  
14640  
14641 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14642 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14643 +   if test -n "$am_sleep_pid"; then
14644 +     # Hide warnings about reused PIDs.
14645 +     wait $am_sleep_pid 2>/dev/null
14646 +   fi
14647 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14648 + $as_echo "done" >&6; }
14649   if test -n "$EXEEXT"; then
14650    am__EXEEXT_TRUE=
14651    am__EXEEXT_FALSE='#'
# Line 14792 | Line 14692 | LT_CONFIG_H=config.h
14692  
14693  
14694  
14795 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14796  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14798 fi
14695   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14696    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14697   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14698   fi
14803 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14804  as_fn_error $? "conditional \"EFNET\" was never defined.
14805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14806 fi
14699  
14700   : "${CONFIG_STATUS=./config.status}"
14701   ac_write_fail=0
# Line 15102 | Line 14994 | if (echo >conf$$.file) 2>/dev/null; then
14994      # ... but there are two gotchas:
14995      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14996      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14997 <    # In both cases, we have to default to `cp -p'.
14997 >    # In both cases, we have to default to `cp -pR'.
14998      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14999 <      as_ln_s='cp -p'
14999 >      as_ln_s='cp -pR'
15000    elif ln conf$$.file conf$$ 2>/dev/null; then
15001      as_ln_s=ln
15002    else
15003 <    as_ln_s='cp -p'
15003 >    as_ln_s='cp -pR'
15004    fi
15005   else
15006 <  as_ln_s='cp -p'
15006 >  as_ln_s='cp -pR'
15007   fi
15008   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15009   rmdir conf$$.dir 2>/dev/null
# Line 15171 | Line 15063 | else
15063    as_mkdir_p=false
15064   fi
15065  
15066 < if test -x / >/dev/null 2>&1; then
15067 <  as_test_x='test -x'
15068 < else
15069 <  if ls -dL / >/dev/null 2>&1; then
15070 <    as_ls_L_option=L
15071 <  else
15072 <    as_ls_L_option=
15073 <  fi
15074 <  as_test_x='
15075 <    eval sh -c '\''
15184 <      if test -d "$1"; then
15185 <        test -d "$1/.";
15186 <      else
15187 <        case $1 in #(
15188 <        -*)set "./$1";;
15189 <        esac;
15190 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15191 <        ???[sx]*):;;*)false;;esac;fi
15192 <    '\'' sh
15193 <  '
15194 < fi
15195 < as_executable_p=$as_test_x
15066 >
15067 > # as_fn_executable_p FILE
15068 > # -----------------------
15069 > # Test if FILE is an executable regular file.
15070 > as_fn_executable_p ()
15071 > {
15072 >  test -f "$1" && test -x "$1"
15073 > } # as_fn_executable_p
15074 > as_test_x='test -x'
15075 > as_executable_p=as_fn_executable_p
15076  
15077   # Sed expression to map a string onto a valid CPP name.
15078   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 15214 | Line 15094 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15094   # values after options handling.
15095   ac_log="
15096   This file was extended by ircd-hybrid $as_me 8beta1, which was
15097 < generated by GNU Autoconf 2.68.  Invocation command line was
15097 > generated by GNU Autoconf 2.69.  Invocation command line was
15098  
15099    CONFIG_FILES    = $CONFIG_FILES
15100    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 15280 | Line 15160 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15160   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15161   ac_cs_version="\\
15162   ircd-hybrid config.status 8beta1
15163 < configured by $0, generated by GNU Autoconf 2.68,
15163 > configured by $0, generated by GNU Autoconf 2.69,
15164    with options \\"\$ac_cs_config\\"
15165  
15166 < Copyright (C) 2010 Free Software Foundation, Inc.
15166 > Copyright (C) 2012 Free Software Foundation, Inc.
15167   This config.status script is free software; the Free Software Foundation
15168   gives unlimited permission to copy, distribute and modify it."
15169  
# Line 15374 | Line 15254 | fi
15254   _ACEOF
15255   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15256   if \$ac_cs_recheck; then
15257 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15257 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15258    shift
15259    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15260    CONFIG_SHELL='$SHELL'
# Line 15416 | Line 15296 | pic_mode='`$ECHO "$pic_mode" | $SED "$de
15296   enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15297   SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15298   ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15299 + PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15300   host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15301   host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15302   host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
# Line 15498 | Line 15379 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SE
15379   allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15380   no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15381   hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15501 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15382   hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15383   hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15384   hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
# Line 15554 | Line 15434 | _LTECHO_EOF'
15434   # Quote evaled strings.
15435   for var in SHELL \
15436   ECHO \
15437 + PATH_SEPARATOR \
15438   SED \
15439   GREP \
15440   EGREP \
# Line 15604 | Line 15485 | with_gnu_ld \
15485   allow_undefined_flag \
15486   no_undefined_flag \
15487   hardcode_libdir_flag_spec \
15607 hardcode_libdir_flag_spec_ld \
15488   hardcode_libdir_separator \
15489   exclude_expsyms \
15490   include_expsyms \
# Line 15689 | Line 15569 | do
15569      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15570      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15571      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15692    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15693    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15572      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15573      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15574      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
# Line 16312 | Line 16190 | $as_echo "$as_me: executing $ac_file com
16190      # Strip MF so we end up with the name of the file.
16191      mf=`echo "$mf" | sed -e 's/:.*$//'`
16192      # Check whether this is an Automake generated Makefile or not.
16193 <    # We used to match only the files named `Makefile.in', but
16193 >    # We used to match only the files named 'Makefile.in', but
16194      # some people rename them; so instead we look at the file content.
16195      # Grep'ing the first line is not enough: some people post-process
16196      # each Makefile.in and add a new line on top of each file to say so.
# Line 16346 | Line 16224 | $as_echo X"$mf" |
16224        continue
16225      fi
16226      # Extract the definition of DEPDIR, am__include, and am__quote
16227 <    # from the Makefile without running `make'.
16227 >    # from the Makefile without running 'make'.
16228      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16229      test -z "$DEPDIR" && continue
16230      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16231      test -z "am__include" && continue
16232      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16355    # When using ansi2knr, U may be empty or an underscore; expand it
16356    U=`sed -n 's/^U = //p' < "$mf"`
16233      # Find all dependency output files, they are included files with
16234      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16235      # simplest approach to changing $(DEPDIR) to its actual value in the
16236      # expansion.
16237      for file in `sed -n "
16238        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16239 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16239 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16240        # Make sure the directory exists.
16241        test -f "$dirpart/$file" && continue
16242        fdir=`$as_dirname -- "$file" ||
# Line 16414 | Line 16290 | $as_echo X"$file" |
16290   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16291   #
16292   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16293 < #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16294 < #                 Inc.
16293 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16294 > #                 Foundation, Inc.
16295   #   Written by Gordon Matzigkeit, 1996
16296   #
16297   #   This file is part of GNU Libtool.
# Line 16469 | Line 16345 | SHELL=$lt_SHELL
16345   # An echo program that protects backslashes.
16346   ECHO=$lt_ECHO
16347  
16348 + # The PATH separator for the build system.
16349 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16350 +
16351   # The host system.
16352   host_alias=$host_alias
16353   host=$host
# Line 16770 | Line 16649 | no_undefined_flag=$lt_no_undefined_flag
16649   # This must work even if \$libdir does not exist
16650   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16651  
16773 # If ld is used when linking, flag to hardcode \$libdir into a binary
16774 # during linking.  This must work even if \$libdir does not exist.
16775 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16776
16652   # Whether we need a single "-rpath" flag with a separated argument.
16653   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16654  

Diff Legend

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