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.2/configure (file contents), Revision 1009 by michael, Sun Sep 13 15:02:30 2009 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4414 by michael, Thu Aug 7 14:06:08 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 998 2009-08-23 12:43:17Z michael .
2 > # From configure.ac Id: configure.ac 4371 2014-08-03 10:56:24Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc2.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8 > #
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
8 # Foundation, Inc.
11   #
12   # This configure script is free software; the Free Software Foundation
13   # gives unlimited permission to copy, distribute and modify it.
# Line 88 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 132 | 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 165 | 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'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 210 | 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 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$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 227 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 315 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $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 355 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 440 | 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 474 | 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 495 | 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'
500 < else
501 <  if ls -dL / >/dev/null 2>&1; then
502 <    as_ls_L_option=L
503 <  else
504 <    as_ls_L_option=
505 <  fi
506 <  as_test_x='
507 <    eval sh -c '\''
508 <      if test -d "$1"; then
509 <        test -d "$1/.";
510 <      else
511 <        case $1 in #(
512 <        -*)set "./$1";;
513 <        esac;
514 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 <        ???[sx]*):;;*)false;;esac;fi
516 <    '\'' sh
517 <  '
518 < fi
519 < 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 524 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
568 + lt_ltdl_dir='libltdl'
569  
528
529 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
532 case X$lt_ECHO in
533 X*--fallback-echo)
534  # Remove one level of quotation (which was required for Make).
535  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536  ;;
537 esac
538
539 ECHO=${lt_ECHO-echo}
540 if test "X$1" = X--no-reexec; then
541  # Discard the --no-reexec flag, and continue.
542  shift
543 elif test "X$1" = X--fallback-echo; then
544  # Avoid inline document here, it may be left over
545  :
546 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547  # Yippee, $ECHO works!
548  :
549 else
550  # Restart under the correct shell.
551  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 fi
572  
573 < if test "X$1" = X--fallback-echo; then
574 <  # used as fallback echo
556 <  shift
557 <  cat <<_LT_EOF
558 < $*
559 < _LT_EOF
560 <  exit 0
561 < fi
562 <
563 < # The HP-UX ksh and POSIX shell print the target directory to stdout
564 < # if CDPATH is set.
565 < (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 <
567 < if test -z "$lt_ECHO"; then
568 <  if test "X${echo_test_string+set}" != Xset; then
569 <    # find a string as large as possible, as long as the shell can cope with it
570 <    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571 <      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572 <      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573 <         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574 <      then
575 <        break
576 <      fi
577 <    done
578 <  fi
579 <
580 <  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581 <     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582 <     test "X$echo_testing_string" = "X$echo_test_string"; then
583 <    :
584 <  else
585 <    # The Solaris, AIX, and Digital Unix default echo programs unquote
586 <    # backslashes.  This makes it impossible to quote backslashes using
587 <    #   echo "$something" | sed 's/\\/\\\\/g'
588 <    #
589 <    # So, first we look for a working echo in the user's PATH.
590 <
591 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592 <    for dir in $PATH /usr/ucb; do
593 <      IFS="$lt_save_ifs"
594 <      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595 <         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596 <         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597 <         test "X$echo_testing_string" = "X$echo_test_string"; then
598 <        ECHO="$dir/echo"
599 <        break
600 <      fi
601 <    done
602 <    IFS="$lt_save_ifs"
603 <
604 <    if test "X$ECHO" = Xecho; then
605 <      # We didn't find a better echo, so look for alternatives.
606 <      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607 <         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608 <         test "X$echo_testing_string" = "X$echo_test_string"; then
609 <        # This shell has a builtin print -r that does the trick.
610 <        ECHO='print -r'
611 <      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612 <           test "X$CONFIG_SHELL" != X/bin/ksh; then
613 <        # If we have ksh, try running configure again with it.
614 <        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615 <        export ORIGINAL_CONFIG_SHELL
616 <        CONFIG_SHELL=/bin/ksh
617 <        export CONFIG_SHELL
618 <        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619 <      else
620 <        # Try using printf.
621 <        ECHO='printf %s\n'
622 <        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623 <           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624 <           test "X$echo_testing_string" = "X$echo_test_string"; then
625 <          # Cool, printf works
626 <          :
627 <        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628 <             test "X$echo_testing_string" = 'X\t' &&
629 <             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630 <             test "X$echo_testing_string" = "X$echo_test_string"; then
631 <          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 <          export CONFIG_SHELL
633 <          SHELL="$CONFIG_SHELL"
634 <          export SHELL
635 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636 <        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 <             test "X$echo_testing_string" = 'X\t' &&
638 <             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 <             test "X$echo_testing_string" = "X$echo_test_string"; then
640 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 <        else
642 <          # maybe with a smaller string...
643 <          prev=:
644 <
645 <          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646 <            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647 <            then
648 <              break
649 <            fi
650 <            prev="$cmd"
651 <          done
652 <
653 <          if test "$prev" != 'sed 50q "$0"'; then
654 <            echo_test_string=`eval $prev`
655 <            export echo_test_string
656 <            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 <          else
658 <            # Oops.  We lost completely, so just stick with echo.
659 <            ECHO=echo
660 <          fi
661 <        fi
662 <      fi
663 <    fi
664 <  fi
665 < fi
666 <
667 < # Copy echo and quote the copy suitably for passing to libtool from
668 < # the Makefile, instead of quoting the original, which is used later.
669 < lt_ECHO=$ECHO
670 < if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671 <   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 < fi
673 <
674 <
675 <
676 <
677 < lt_ltdl_dir='libltdl'
678 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
680 <
681 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='8.2.0rc2'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0rc2'
598 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
601   ac_unique_file="src/ircd.c"
# Line 742 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
745 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 756 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
759 EFNET_FALSE
760 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
763 ENABLE_PCRE_FALSE
764 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
767 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 787 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 817 | 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 833 | 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 897 | 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 904 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < with_zlib_path
913 < enable_zlib
914 < with_libpcre_path
915 < enable_libpcre
916 < enable_openssl
808 > enable_libgeoip
809   enable_assert
918 enable_small_net
810   enable_kqueue
811   enable_epoll
812   enable_devpoll
922 enable_rtsigio
813   enable_poll
924 enable_select
925 with_nicklen
926 with_topiclen
927 with_syslog_facility
928 enable_efnet
929 enable_halfops
814   enable_debugging
815   enable_warnings
816 < enable_syslog
816 > enable_openssl
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 942 | Line 826 | CPPFLAGS
826   YACC
827   YFLAGS
828   CPP'
829 < ac_subdirs_all='libltdl'
829 >
830  
831   # Initialize some variables set by options.
832   ac_init_help=
# Line 1004 | Line 888 | do
888    fi
889  
890    case $ac_option in
891 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 <  *)    ac_optarg=yes ;;
891 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 >  *=)   ac_optarg= ;;
893 >  *)    ac_optarg=yes ;;
894    esac
895  
896    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1050 | Line 935 | do
935      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936      # Reject names that are not valid shell variable names.
937      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 <      as_fn_error "invalid feature name: $ac_useropt"
938 >      as_fn_error $? "invalid feature name: $ac_useropt"
939      ac_useropt_orig=$ac_useropt
940      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941      case $ac_user_opts in
# Line 1076 | Line 961 | do
961      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962      # Reject names that are not valid shell variable names.
963      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 <      as_fn_error "invalid feature name: $ac_useropt"
964 >      as_fn_error $? "invalid feature name: $ac_useropt"
965      ac_useropt_orig=$ac_useropt
966      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967      case $ac_user_opts in
# Line 1280 | Line 1165 | do
1165      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166      # Reject names that are not valid shell variable names.
1167      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 <      as_fn_error "invalid package name: $ac_useropt"
1168 >      as_fn_error $? "invalid package name: $ac_useropt"
1169      ac_useropt_orig=$ac_useropt
1170      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171      case $ac_user_opts in
# Line 1296 | Line 1181 | do
1181      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182      # Reject names that are not valid shell variable names.
1183      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 <      as_fn_error "invalid package name: $ac_useropt"
1184 >      as_fn_error $? "invalid package name: $ac_useropt"
1185      ac_useropt_orig=$ac_useropt
1186      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187      case $ac_user_opts in
# Line 1326 | Line 1211 | do
1211    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212      x_libraries=$ac_optarg ;;
1213  
1214 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1215 < Try \`$0 --help' for more information."
1214 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 > Try \`$0 --help' for more information"
1216      ;;
1217  
1218    *=*)
# Line 1335 | Line 1220 | Try \`$0 --help' for more information."
1220      # Reject names that are not valid shell variable names.
1221      case $ac_envvar in #(
1222        '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1223 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224      esac
1225      eval $ac_envvar=\$ac_optarg
1226      export $ac_envvar ;;
# Line 1345 | Line 1230 | Try \`$0 --help' for more information."
1230      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234      ;;
1235  
1236    esac
# Line 1353 | Line 1238 | done
1238  
1239   if test -n "$ac_prev"; then
1240    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 <  as_fn_error "missing argument to $ac_option"
1241 >  as_fn_error $? "missing argument to $ac_option"
1242   fi
1243  
1244   if test -n "$ac_unrecognized_opts"; then
1245    case $enable_option_checking in
1246      no) ;;
1247 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1247 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249    esac
1250   fi
# Line 1382 | Line 1267 | do
1267      [\\/$]* | ?:[\\/]* )  continue;;
1268      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269    esac
1270 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1270 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271   done
1272  
1273   # There might be people who depend on the old broken behavior: `$host'
# Line 1396 | 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
1399    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1400    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 1412 | Line 1295 | test "$silent" = yes && exec 6>/dev/null
1295   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296   ac_ls_di=`ls -di .` &&
1297   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 <  as_fn_error "working directory cannot be determined"
1298 >  as_fn_error $? "working directory cannot be determined"
1299   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 <  as_fn_error "pwd does not report name of working directory"
1300 >  as_fn_error $? "pwd does not report name of working directory"
1301  
1302  
1303   # Find the source files, if location was not specified.
# Line 1453 | Line 1336 | else
1336   fi
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1339 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340   fi
1341   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342   ac_abs_confdir=`(
1343 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1343 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344          pwd)`
1345   # When building in place, set srcdir=.
1346   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1483 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.0rc2 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1497 | Line 1380 | Configuration:
1380        --help=short        display options specific to this package
1381        --help=recursive    display the short help of all the included packages
1382    -V, --version           display version information and exit
1383 <  -q, --quiet, --silent   do not print \`checking...' messages
1383 >  -q, --quiet, --silent   do not print \`checking ...' messages
1384        --cache-file=FILE   cache test results in FILE [disabled]
1385    -C, --config-cache      alias for \`--cache-file=config.cache'
1386    -n, --no-create         do not create output files
# Line 1553 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc2:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1561 | 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-silent-rules   less verbose build output (undo: "make V=1")
1448 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1449 >  --enable-maintainer-mode
1450 >                          enable make rules and dependencies not useful (and
1451 >                          sometimes confusing) to the casual installer
1452 >  --enable-dependency-tracking
1453 >                          do not reject slow dependency extractors
1454 >  --disable-dependency-tracking
1455 >                          speeds up one-time build
1456    --enable-static[=PKGS]  build static libraries [default=no]
1457    --enable-shared[=PKGS]  build shared libraries [default=yes]
1458    --enable-fast-install[=PKGS]
1459                            optimize for fast installation [default=yes]
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462 <  --disable-zlib          Disable ziplinks support
1575 <  --disable-libpcre       Disable PCRE support
1576 <  --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1577 <  --disable-openssl            Disable OpenSSL support.
1462 >  --disable-libgeoip      Disable GeoIP support
1463    --enable-assert         Enable assert() statements
1579  --enable-small-net      Enable small network support.
1464    --enable-kqueue         Force kqueue usage.
1465    --enable-epoll          Force epoll usage.
1466    --enable-devpoll        Force devpoll usage.
1583  --enable-rtsigio        Force rtsigio usage.
1467    --enable-poll           Force poll usage.
1585  --enable-select         Force select usage.
1586  --enable-efnet          For IRCDs running on EFnet.
1587  --enable-halfops        Enable halfops support.
1468    --enable-debugging      Enable debugging.
1469    --enable-warnings       Enable compiler warnings.
1470 <  --enable-syslog="EVENTS"
1471 <                          Enable syslog for events: users oper (space
1592 <                          separated in quotes; default: disabled).
1470 >  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1471 >  --disable-openssl            Disable LibreSSL/OpenSSL support.
1472  
1473   Optional Packages:
1474    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1475    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1476 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1476 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1477                            both]
1478    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1479 +  --with-sysroot=DIR Search for dependent libraries within DIR
1480 +                        (or the compiler's sysroot if not specified).
1481    --with-included-ltdl    use the GNU ltdl sources included here
1482    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1483    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1603  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1604  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1605  --with-nicklen=<value>  Set nickname length (default 9).
1606  --with-topiclen=<value> Set topic length (default 160).
1607  --with-syslog-facility=LOG
1608                          Define the syslog facility to use (default:
1609                          LOG_LOCAL4)
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1614 | Line 1488 | Some influential environment variables:
1488    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1489                nonstandard directory <lib dir>
1490    LIBS        libraries to pass to the linker, e.g. -l<library>
1491 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1491 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492                you have headers in a nonstandard directory <include dir>
1493 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1494 <              the first program found out of: `bison -y', `byacc', `yacc'.
1493 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1494 >              Defaults to the first program found out of: `bison -y', `byacc',
1495 >              `yacc'.
1496    YFLAGS      The list of arguments that will be passed by default to $YACC.
1497                This script will default YFLAGS to the empty string to avoid a
1498                default value of `-d' given by some make applications.
# Line 1626 | Line 1501 | Some influential environment variables:
1501   Use these variables to override the choices made by `configure' or to help
1502   it to find libraries and programs with nonstandard names/locations.
1503  
1504 < Report bugs to the package provider.
1504 > Report bugs to <bugs@ircd-hybrid.org>.
1505   _ACEOF
1506   ac_status=$?
1507   fi
# Line 1689 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure 7.2.4
1568 < generated by GNU Autoconf 2.64
1567 > ircd-hybrid configure 8.2.0rc2
1568 > generated by GNU Autoconf 2.69
1569  
1570 < Copyright (C) 2009 Free Software Foundation, Inc.
1570 > Copyright (C) 2012 Free Software Foundation, Inc.
1571   This configure script is free software; the Free Software Foundation
1572   gives unlimited permission to copy, distribute and modify it.
1573   _ACEOF
# Line 1736 | Line 1611 | sed 's/^/| /' conftest.$ac_ext >&5
1611  
1612          ac_retval=1
1613   fi
1614 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1615 <  return $ac_retval
1614 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 >  as_fn_set_status $ac_retval
1616  
1617   } # ac_fn_c_try_compile
1618  
# Line 1768 | Line 1643 | $as_echo "$ac_try_echo"; } >&5
1643           test ! -s conftest.err
1644         } && test -s conftest$ac_exeext && {
1645           test "$cross_compiling" = yes ||
1646 <         $as_test_x conftest$ac_exeext
1646 >         test -x conftest$ac_exeext
1647         }; then :
1648    ac_retval=0
1649   else
# Line 1782 | Line 1657 | fi
1657    # interfere with the next link command; also delete a directory that is
1658    # left behind by Apple's compiler.  We do this before executing the actions.
1659    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661 <  return $ac_retval
1660 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 >  as_fn_set_status $ac_retval
1662  
1663   } # ac_fn_c_try_link
1664  
# Line 1796 | Line 1671 | ac_fn_c_check_header_compile ()
1671    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673   $as_echo_n "checking for $2... " >&6; }
1674 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1674 > if eval \${$3+:} false; then :
1675    $as_echo_n "(cached) " >&6
1676   else
1677    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1814 | Line 1689 | fi
1689   eval ac_res=\$$3
1690                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691   $as_echo "$ac_res" >&6; }
1692 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693  
1694   } # ac_fn_c_check_header_compile
1695  
# Line 1839 | Line 1714 | $as_echo "$ac_try_echo"; } >&5
1714      mv -f conftest.er1 conftest.err
1715    fi
1716    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 <  test $ac_status = 0; } >/dev/null && {
1717 >  test $ac_status = 0; } > conftest.i && {
1718           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1719           test ! -s conftest.err
1720         }; then :
# Line 1850 | Line 1725 | sed 's/^/| /' conftest.$ac_ext >&5
1725  
1726      ac_retval=1
1727   fi
1728 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 <  return $ac_retval
1728 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 >  as_fn_set_status $ac_retval
1730  
1731   } # ac_fn_c_try_cpp
1732  
# Line 1892 | Line 1767 | sed 's/^/| /' conftest.$ac_ext >&5
1767         ac_retval=$ac_status
1768   fi
1769    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1771 <  return $ac_retval
1770 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 >  as_fn_set_status $ac_retval
1772  
1773   } # ac_fn_c_try_run
1774  
# Line 1905 | Line 1780 | ac_fn_c_check_func ()
1780    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782   $as_echo_n "checking for $2... " >&6; }
1783 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 > if eval \${$3+:} false; then :
1784    $as_echo_n "(cached) " >&6
1785   else
1786    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1960 | Line 1835 | fi
1835   eval ac_res=\$$3
1836                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837   $as_echo "$ac_res" >&6; }
1838 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839  
1840   } # ac_fn_c_check_func
1841  
1842 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1843 < # ------------------------------------
1844 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1842 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1843 > # ---------------------------------------------
1844 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1845 > # accordingly.
1846   ac_fn_c_check_decl ()
1847   {
1848    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1850 < $as_echo_n "checking whether $2 is declared... " >&6; }
1851 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1849 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1850 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1851 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1852 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1853 > if eval \${$3+:} false; then :
1854    $as_echo_n "(cached) " >&6
1855   else
1856    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1981 | Line 1859 | $4
1859   int
1860   main ()
1861   {
1862 < #ifndef $2
1863 <  (void) $2;
1862 > #ifndef $as_decl_name
1863 > #ifdef __cplusplus
1864 >  (void) $as_decl_use;
1865 > #else
1866 >  (void) $as_decl_name;
1867 > #endif
1868   #endif
1869  
1870    ;
# Line 1999 | Line 1881 | fi
1881   eval ac_res=\$$3
1882                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883   $as_echo "$ac_res" >&6; }
1884 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885  
1886   } # ac_fn_c_check_decl
1887  
# Line 2012 | Line 1894 | ac_fn_c_check_type ()
1894    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896   $as_echo_n "checking for $2... " >&6; }
1897 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1897 > if eval \${$3+:} false; then :
1898    $as_echo_n "(cached) " >&6
1899   else
1900    eval "$3=no"
# Line 2053 | Line 1935 | fi
1935   eval ac_res=\$$3
1936                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937   $as_echo "$ac_res" >&6; }
1938 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939  
1940   } # ac_fn_c_check_type
1941  
2060 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2061 # ----------------------------------------------------
2062 # Tries to find if the field MEMBER exists in type AGGR, after including
2063 # INCLUDES, setting cache variable VAR accordingly.
2064 ac_fn_c_check_member ()
2065 {
2066  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2068 $as_echo_n "checking for $2.$3... " >&6; }
2069 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2070  $as_echo_n "(cached) " >&6
2071 else
2072  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2073 /* end confdefs.h.  */
2074 $5
2075 int
2076 main ()
2077 {
2078 static $2 ac_aggr;
2079 if (ac_aggr.$3)
2080 return 0;
2081  ;
2082  return 0;
2083 }
2084 _ACEOF
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086  eval "$4=yes"
2087 else
2088  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h.  */
2090 $5
2091 int
2092 main ()
2093 {
2094 static $2 ac_aggr;
2095 if (sizeof ac_aggr.$3)
2096 return 0;
2097  ;
2098  return 0;
2099 }
2100 _ACEOF
2101 if ac_fn_c_try_compile "$LINENO"; then :
2102  eval "$4=yes"
2103 else
2104  eval "$4=no"
2105 fi
2106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107 fi
2108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109 fi
2110 eval ac_res=\$$4
2111               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2114
2115 } # ac_fn_c_check_member
2116
2117 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2118 # --------------------------------------------
2119 # Tries to find the compile-time value of EXPR in a program that includes
2120 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2121 # computed
2122 ac_fn_c_compute_int ()
2123 {
2124  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125  if test "$cross_compiling" = yes; then
2126    # Depending upon the size, compute the lo and hi bounds.
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h.  */
2129 $4
2130 int
2131 main ()
2132 {
2133 static int test_array [1 - 2 * !(($2) >= 0)];
2134 test_array [0] = 0
2135
2136  ;
2137  return 0;
2138 }
2139 _ACEOF
2140 if ac_fn_c_try_compile "$LINENO"; then :
2141  ac_lo=0 ac_mid=0
2142  while :; do
2143    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h.  */
2145 $4
2146 int
2147 main ()
2148 {
2149 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2150 test_array [0] = 0
2151
2152  ;
2153  return 0;
2154 }
2155 _ACEOF
2156 if ac_fn_c_try_compile "$LINENO"; then :
2157  ac_hi=$ac_mid; break
2158 else
2159  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2160                        if test $ac_lo -le $ac_mid; then
2161                          ac_lo= ac_hi=
2162                          break
2163                        fi
2164                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2165 fi
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167  done
2168 else
2169  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h.  */
2171 $4
2172 int
2173 main ()
2174 {
2175 static int test_array [1 - 2 * !(($2) < 0)];
2176 test_array [0] = 0
2177
2178  ;
2179  return 0;
2180 }
2181 _ACEOF
2182 if ac_fn_c_try_compile "$LINENO"; then :
2183  ac_hi=-1 ac_mid=-1
2184  while :; do
2185    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h.  */
2187 $4
2188 int
2189 main ()
2190 {
2191 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2192 test_array [0] = 0
2193
2194  ;
2195  return 0;
2196 }
2197 _ACEOF
2198 if ac_fn_c_try_compile "$LINENO"; then :
2199  ac_lo=$ac_mid; break
2200 else
2201  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2202                        if test $ac_mid -le $ac_hi; then
2203                          ac_lo= ac_hi=
2204                          break
2205                        fi
2206                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2207 fi
2208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209  done
2210 else
2211  ac_lo= ac_hi=
2212 fi
2213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2214 fi
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 # Binary search between lo and hi bounds.
2217 while test "x$ac_lo" != "x$ac_hi"; do
2218  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2219  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h.  */
2221 $4
2222 int
2223 main ()
2224 {
2225 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2226 test_array [0] = 0
2227
2228  ;
2229  return 0;
2230 }
2231 _ACEOF
2232 if ac_fn_c_try_compile "$LINENO"; then :
2233  ac_hi=$ac_mid
2234 else
2235  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2236 fi
2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2238 done
2239 case $ac_lo in #((
2240 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2241 '') ac_retval=1 ;;
2242 esac
2243  else
2244    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h.  */
2246 $4
2247 static long int longval () { return $2; }
2248 static unsigned long int ulongval () { return $2; }
2249 #include <stdio.h>
2250 #include <stdlib.h>
2251 int
2252 main ()
2253 {
2254
2255  FILE *f = fopen ("conftest.val", "w");
2256  if (! f)
2257    return 1;
2258  if (($2) < 0)
2259    {
2260      long int i = longval ();
2261      if (i != ($2))
2262        return 1;
2263      fprintf (f, "%ld", i);
2264    }
2265  else
2266    {
2267      unsigned long int i = ulongval ();
2268      if (i != ($2))
2269        return 1;
2270      fprintf (f, "%lu", i);
2271    }
2272  /* Do not output a trailing newline, as this causes \r\n confusion
2273     on some platforms.  */
2274  return ferror (f) || fclose (f) != 0;
2275
2276  ;
2277  return 0;
2278 }
2279 _ACEOF
2280 if ac_fn_c_try_run "$LINENO"; then :
2281  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2282 else
2283  ac_retval=1
2284 fi
2285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2286  conftest.$ac_objext conftest.beam conftest.$ac_ext
2287 rm -f conftest.val
2288
2289  fi
2290  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2291  return $ac_retval
2292
2293 } # ac_fn_c_compute_int
2294
1942   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1943   # -------------------------------------------------------
1944   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2300 | Line 1947 | rm -f conftest.val
1947   ac_fn_c_check_header_mongrel ()
1948   {
1949    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1950 >  if eval \${$3+:} false; then :
1951    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952   $as_echo_n "checking for $2... " >&6; }
1953 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 > if eval \${$3+:} false; then :
1954    $as_echo_n "(cached) " >&6
1955   fi
1956   eval ac_res=\$$3
# Line 2339 | Line 1986 | if ac_fn_c_try_cpp "$LINENO"; then :
1986   else
1987    ac_header_preproc=no
1988   fi
1989 < rm -f conftest.err conftest.$ac_ext
1989 > rm -f conftest.err conftest.i conftest.$ac_ext
1990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1991   $as_echo "$ac_header_preproc" >&6; }
1992  
# Line 2362 | Line 2009 | $as_echo "$as_me: WARNING: $2: see the A
2009   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2010      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2012 + ( $as_echo "## ----------------------------------- ##
2013 + ## Report this to bugs@ircd-hybrid.org ##
2014 + ## ----------------------------------- ##"
2015 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2016      ;;
2017   esac
2018    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019   $as_echo_n "checking for $2... " >&6; }
2020 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2020 > if eval \${$3+:} false; then :
2021    $as_echo_n "(cached) " >&6
2022   else
2023    eval "$3=\$ac_header_compiler"
# Line 2375 | Line 2026 | eval ac_res=\$$3
2026                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027   $as_echo "$ac_res" >&6; }
2028   fi
2029 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2029 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030  
2031   } # ac_fn_c_check_header_mongrel
2032   cat >config.log <<_ACEOF
2033   This file contains any messages produced by compilers while
2034   running configure, to aid debugging if configure makes a mistake.
2035  
2036 < It was created by ircd-hybrid $as_me 7.2.4, which was
2037 < generated by GNU Autoconf 2.64.  Invocation command line was
2036 > It was created by ircd-hybrid $as_me 8.2.0rc2, which was
2037 > generated by GNU Autoconf 2.69.  Invocation command line was
2038  
2039    $ $0 $@
2040  
# Line 2493 | Line 2144 | trap 'exit_status=$?
2144    {
2145      echo
2146  
2147 <    cat <<\_ASBOX
2497 < ## ---------------- ##
2147 >    $as_echo "## ---------------- ##
2148   ## Cache variables. ##
2149 < ## ---------------- ##
2500 < _ASBOX
2149 > ## ---------------- ##"
2150      echo
2151      # The following way of writing the cache mishandles newlines in values,
2152   (
# Line 2531 | Line 2180 | $as_echo "$as_me: WARNING: cache variabl
2180   )
2181      echo
2182  
2183 <    cat <<\_ASBOX
2535 < ## ----------------- ##
2183 >    $as_echo "## ----------------- ##
2184   ## Output variables. ##
2185 < ## ----------------- ##
2538 < _ASBOX
2185 > ## ----------------- ##"
2186      echo
2187      for ac_var in $ac_subst_vars
2188      do
# Line 2548 | Line 2195 | _ASBOX
2195      echo
2196  
2197      if test -n "$ac_subst_files"; then
2198 <      cat <<\_ASBOX
2552 < ## ------------------- ##
2198 >      $as_echo "## ------------------- ##
2199   ## File substitutions. ##
2200 < ## ------------------- ##
2555 < _ASBOX
2200 > ## ------------------- ##"
2201        echo
2202        for ac_var in $ac_subst_files
2203        do
# Line 2566 | Line 2211 | _ASBOX
2211      fi
2212  
2213      if test -s confdefs.h; then
2214 <      cat <<\_ASBOX
2570 < ## ----------- ##
2214 >      $as_echo "## ----------- ##
2215   ## confdefs.h. ##
2216 < ## ----------- ##
2573 < _ASBOX
2216 > ## ----------- ##"
2217        echo
2218        cat confdefs.h
2219        echo
# Line 2625 | Line 2268 | _ACEOF
2268   ac_site_file1=NONE
2269   ac_site_file2=NONE
2270   if test -n "$CONFIG_SITE"; then
2271 <  ac_site_file1=$CONFIG_SITE
2271 >  # We do not want a PATH search for config.site.
2272 >  case $CONFIG_SITE in #((
2273 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2274 >    */*) ac_site_file1=$CONFIG_SITE;;
2275 >    *)   ac_site_file1=./$CONFIG_SITE;;
2276 >  esac
2277   elif test "x$prefix" != xNONE; then
2278    ac_site_file1=$prefix/share/config.site
2279    ac_site_file2=$prefix/etc/config.site
# Line 2636 | Line 2284 | fi
2284   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2285   do
2286    test "x$ac_site_file" = xNONE && continue
2287 <  if test -r "$ac_site_file"; then
2287 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2288      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2289   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2290      sed 's/^/| /' "$ac_site_file" >&5
2291 <    . "$ac_site_file"
2291 >    . "$ac_site_file" \
2292 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294 > as_fn_error $? "failed to load site script $ac_site_file
2295 > See \`config.log' for more details" "$LINENO" 5; }
2296    fi
2297   done
2298  
2299   if test -r "$cache_file"; then
2300 <  # Some versions of bash will fail to source /dev/null (special
2301 <  # files actually), so we avoid doing that.
2302 <  if test -f "$cache_file"; then
2300 >  # Some versions of bash will fail to source /dev/null (special files
2301 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2302 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2303      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2304   $as_echo "$as_me: loading cache $cache_file" >&6;}
2305      case $cache_file in
# Line 2661 | Line 2313 | $as_echo "$as_me: creating cache $cache_
2313    >$cache_file
2314   fi
2315  
2664 as_fn_append ac_func_list " snprintf"
2665 as_fn_append ac_func_list " vsnprintf"
2666 as_fn_append ac_func_list " mmap"
2316   as_fn_append ac_func_list " strtok_r"
2317   as_fn_append ac_func_list " usleep"
2318   as_fn_append ac_func_list " strlcat"
2319   as_fn_append ac_func_list " strlcpy"
2320   as_fn_append ac_header_list " crypt.h"
2672 as_fn_append ac_header_list " inttypes.h"
2673 as_fn_append ac_header_list " stdint.h"
2321   as_fn_append ac_header_list " sys/resource.h"
2322   as_fn_append ac_header_list " sys/param.h"
2676 as_fn_append ac_header_list " errno.h"
2677 as_fn_append ac_header_list " sys/syslog.h"
2678 as_fn_append ac_header_list " stddef.h"
2679 as_fn_append ac_header_list " libgen.h"
2323   as_fn_append ac_header_list " types.h"
2324   as_fn_append ac_header_list " socket.h"
2325   as_fn_append ac_header_list " sys/wait.h"
2326   as_fn_append ac_header_list " wait.h"
2684 as_fn_append ac_header_list " link.h"
2327   # Check that the precious variables saved in the cache have kept the same
2328   # value.
2329   ac_cache_corrupted=false
# Line 2737 | Line 2379 | if $ac_cache_corrupted; then
2379   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2380    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2381   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2382 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2382 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2383   fi
2384   ## -------------------- ##
2385   ## Main body of script. ##
# Line 2750 | Line 2392 | ac_link='$CC -o conftest$ac_exeext $CFLA
2392   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2393  
2394  
2395 < am__api_version='1.11'
2395 > am__api_version='1.14'
2396  
2397   ac_aux_dir=
2398   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 <  for ac_t in install-sh install.sh shtool; do
2400 <    if test -f "$ac_dir/$ac_t"; then
2401 <      ac_aux_dir=$ac_dir
2402 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2403 <      break 2
2404 <    fi
2405 <  done
2399 >  if test -f "$ac_dir/install-sh"; then
2400 >    ac_aux_dir=$ac_dir
2401 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2402 >    break
2403 >  elif test -f "$ac_dir/install.sh"; then
2404 >    ac_aux_dir=$ac_dir
2405 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2406 >    break
2407 >  elif test -f "$ac_dir/shtool"; then
2408 >    ac_aux_dir=$ac_dir
2409 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2410 >    break
2411 >  fi
2412   done
2413   if test -z "$ac_aux_dir"; then
2414 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2414 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2415   fi
2416  
2417   # These three variables are undocumented and unsupported,
# Line 2792 | Line 2440 | ac_configure="$SHELL $ac_aux_dir/configu
2440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2441   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2442   if test -z "$INSTALL"; then
2443 < if test "${ac_cv_path_install+set}" = set; then :
2443 > if ${ac_cv_path_install+:} false; then :
2444    $as_echo_n "(cached) " >&6
2445   else
2446    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2812 | Line 2460 | case $as_dir/ in #((
2460      # by default.
2461      for ac_prog in ginstall scoinst install; do
2462        for ac_exec_ext in '' $ac_executable_extensions; do
2463 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2463 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2464            if test $ac_prog = install &&
2465              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2466              # AIX install.  It has an incompatible calling convention.
# Line 2870 | Line 2518 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2518  
2519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2520   $as_echo_n "checking whether build environment is sane... " >&6; }
2873 # Just in case
2874 sleep 1
2875 echo timestamp > conftest.file
2521   # Reject unsafe characters in $srcdir or the absolute working directory
2522   # name.  Accept space and tab only in the latter.
2523   am_lf='
2524   '
2525   case `pwd` in
2526    *[\\\"\#\$\&\'\`$am_lf]*)
2527 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2527 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2528   esac
2529   case $srcdir in
2530    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2531 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2531 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2532   esac
2533  
2534 < # Do `set' in a subshell so we don't clobber the current shell's
2534 > # Do 'set' in a subshell so we don't clobber the current shell's
2535   # arguments.  Must try -L first in case configure is actually a
2536   # symlink; some systems play weird games with the mod time of symlinks
2537   # (eg FreeBSD returns the mod time of the symlink's containing
2538   # directory).
2539   if (
2540 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2541 <   if test "$*" = "X"; then
2542 <      # -L didn't work.
2543 <      set X `ls -t "$srcdir/configure" conftest.file`
2544 <   fi
2545 <   rm -f conftest.file
2546 <   if test "$*" != "X $srcdir/configure conftest.file" \
2547 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2548 <
2549 <      # If neither matched, then we have a broken ls.  This can happen
2905 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2906 <      # broken ls alias from the environment.  This has actually
2907 <      # happened.  Such a system could not be considered "sane".
2908 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2909 < alias in your environment" "$LINENO" 5
2910 <   fi
2540 >   am_has_slept=no
2541 >   for am_try in 1 2; do
2542 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2543 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2544 >     if test "$*" = "X"; then
2545 >        # -L didn't work.
2546 >        set X `ls -t "$srcdir/configure" conftest.file`
2547 >     fi
2548 >     if test "$*" != "X $srcdir/configure conftest.file" \
2549 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2550  
2551 +        # If neither matched, then we have a broken ls.  This can happen
2552 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2553 +        # broken ls alias from the environment.  This has actually
2554 +        # happened.  Such a system could not be considered "sane".
2555 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2556 +  alias in your environment" "$LINENO" 5
2557 +     fi
2558 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2559 +       break
2560 +     fi
2561 +     # Just in case.
2562 +     sleep 1
2563 +     am_has_slept=yes
2564 +   done
2565     test "$2" = conftest.file
2566     )
2567   then
2568     # Ok.
2569     :
2570   else
2571 <   as_fn_error "newly created file is older than distributed files!
2571 >   as_fn_error $? "newly created file is older than distributed files!
2572   Check your system clock" "$LINENO" 5
2573   fi
2574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575   $as_echo "yes" >&6; }
2576 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2577 + # generated files are strictly newer.
2578 + am_sleep_pid=
2579 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2580 +  ( sleep 1 ) &
2581 +  am_sleep_pid=$!
2582 + fi
2583 +
2584 + rm -f conftest.file
2585 +
2586   test "$program_prefix" != NONE &&
2587    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2588   # Use a double $ so make ignores it.
# Line 2942 | Line 2605 | if test x"${MISSING+set}" != xset; then
2605    esac
2606   fi
2607   # Use eval to expand $SHELL
2608 < if eval "$MISSING --run true"; then
2609 <  am_missing_run="$MISSING --run "
2608 > if eval "$MISSING --is-lightweight"; then
2609 >  am_missing_run="$MISSING "
2610   else
2611    am_missing_run=
2612 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2613 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2612 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2613 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2614   fi
2615  
2616   if test x"${install_sh}" != xset; then
# Line 2959 | Line 2622 | if test x"${install_sh}" != xset; then
2622    esac
2623   fi
2624  
2625 < # Installed binaries are usually stripped using `strip' when the user
2626 < # run `make install-strip'.  However `strip' might not be the right
2625 > # Installed binaries are usually stripped using 'strip' when the user
2626 > # run "make install-strip".  However 'strip' might not be the right
2627   # tool to use in cross-compilation environments, therefore Automake
2628 < # will honor the `STRIP' environment variable to overrule this program.
2628 > # will honor the 'STRIP' environment variable to overrule this program.
2629   if test "$cross_compiling" != no; then
2630    if test -n "$ac_tool_prefix"; then
2631    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2632   set dummy ${ac_tool_prefix}strip; ac_word=$2
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634   $as_echo_n "checking for $ac_word... " >&6; }
2635 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2635 > if ${ac_cv_prog_STRIP+:} false; then :
2636    $as_echo_n "(cached) " >&6
2637   else
2638    if test -n "$STRIP"; then
# Line 2981 | Line 2644 | do
2644    IFS=$as_save_IFS
2645    test -z "$as_dir" && as_dir=.
2646      for ac_exec_ext in '' $ac_executable_extensions; do
2647 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2649      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650      break 2
# Line 3009 | Line 2672 | if test -z "$ac_cv_prog_STRIP"; then
2672   set dummy strip; ac_word=$2
2673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674   $as_echo_n "checking for $ac_word... " >&6; }
2675 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2675 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2676    $as_echo_n "(cached) " >&6
2677   else
2678    if test -n "$ac_ct_STRIP"; then
# Line 3021 | Line 2684 | do
2684    IFS=$as_save_IFS
2685    test -z "$as_dir" && as_dir=.
2686      for ac_exec_ext in '' $ac_executable_extensions; do
2687 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688      ac_cv_prog_ac_ct_STRIP="strip"
2689      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690      break 2
# Line 3062 | Line 2725 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2726   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2727   if test -z "$MKDIR_P"; then
2728 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2728 >  if ${ac_cv_path_mkdir+:} false; then :
2729    $as_echo_n "(cached) " >&6
2730   else
2731    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3072 | Line 2735 | do
2735    test -z "$as_dir" && as_dir=.
2736      for ac_prog in mkdir gmkdir; do
2737           for ac_exec_ext in '' $ac_executable_extensions; do
2738 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2738 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2739             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2740               'mkdir (GNU coreutils) '* | \
2741               'mkdir (coreutils) '* | \
# Line 3087 | Line 2750 | IFS=$as_save_IFS
2750  
2751   fi
2752  
2753 +  test -d ./--version && rmdir ./--version
2754    if test "${ac_cv_path_mkdir+set}" = set; then
2755      MKDIR_P="$ac_cv_path_mkdir -p"
2756    else
# Line 3094 | Line 2758 | fi
2758      # value for MKDIR_P within a source directory, because that will
2759      # break other packages using the cache if that directory is
2760      # removed, or if the value is a relative name.
3097    test -d ./--version && rmdir ./--version
2761      MKDIR_P="$ac_install_sh -d"
2762    fi
2763   fi
2764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2765   $as_echo "$MKDIR_P" >&6; }
2766  
3104 mkdir_p="$MKDIR_P"
3105 case $mkdir_p in
3106  [\\/$]* | ?:[\\/]*) ;;
3107  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3108 esac
3109
2767   for ac_prog in gawk mawk nawk awk
2768   do
2769    # Extract the first word of "$ac_prog", so it can be a program name with args.
2770   set dummy $ac_prog; ac_word=$2
2771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772   $as_echo_n "checking for $ac_word... " >&6; }
2773 < if test "${ac_cv_prog_AWK+set}" = set; then :
2773 > if ${ac_cv_prog_AWK+:} false; then :
2774    $as_echo_n "(cached) " >&6
2775   else
2776    if test -n "$AWK"; then
# Line 3125 | Line 2782 | do
2782    IFS=$as_save_IFS
2783    test -z "$as_dir" && as_dir=.
2784      for ac_exec_ext in '' $ac_executable_extensions; do
2785 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2786      ac_cv_prog_AWK="$ac_prog"
2787      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788      break 2
# Line 3153 | Line 2810 | done
2810   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2811   set x ${MAKE-make}
2812   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2813 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2813 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2814    $as_echo_n "(cached) " >&6
2815   else
2816    cat >conftest.make <<\_ACEOF
# Line 3161 | Line 2818 | SHELL = /bin/sh
2818   all:
2819          @echo '@@@%%%=$(MAKE)=@@@%%%'
2820   _ACEOF
2821 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2821 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2822   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2823    *@@@%%%=?*=@@@%%%*)
2824      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3189 | Line 2846 | else
2846   fi
2847   rmdir .tst 2>/dev/null
2848  
2849 + # Check whether --enable-silent-rules was given.
2850 + if test "${enable_silent_rules+set}" = set; then :
2851 +  enableval=$enable_silent_rules;
2852 + fi
2853 +
2854 + case $enable_silent_rules in # (((
2855 +  yes) AM_DEFAULT_VERBOSITY=0;;
2856 +   no) AM_DEFAULT_VERBOSITY=1;;
2857 +    *) AM_DEFAULT_VERBOSITY=1;;
2858 + esac
2859 + am_make=${MAKE-make}
2860 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2861 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2862 + if ${am_cv_make_support_nested_variables+:} false; then :
2863 +  $as_echo_n "(cached) " >&6
2864 + else
2865 +  if $as_echo 'TRUE=$(BAR$(V))
2866 + BAR0=false
2867 + BAR1=true
2868 + V=1
2869 + am__doit:
2870 +        @$(TRUE)
2871 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2872 +  am_cv_make_support_nested_variables=yes
2873 + else
2874 +  am_cv_make_support_nested_variables=no
2875 + fi
2876 + fi
2877 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2878 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2879 + if test $am_cv_make_support_nested_variables = yes; then
2880 +    AM_V='$(V)'
2881 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2882 + else
2883 +  AM_V=$AM_DEFAULT_VERBOSITY
2884 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2885 + fi
2886 + AM_BACKSLASH='\'
2887 +
2888   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2889    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2890    # is not polluted with repeated "-I."
2891    am__isrc=' -I$(srcdir)'
2892    # test to see if srcdir already configured
2893    if test -f $srcdir/config.status; then
2894 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2894 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2895    fi
2896   fi
2897  
# Line 3211 | Line 2907 | fi
2907  
2908   # Define the identity of the package.
2909   PACKAGE='ircd-hybrid'
2910 < VERSION='7.2.4'
2910 > VERSION='8.2.0rc2'
2911  
2912  
2913   cat >>confdefs.h <<_ACEOF
# Line 3239 | Line 2935 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2935  
2936   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2937  
2938 + # For better backward compatibility.  To be removed once Automake 1.9.x
2939 + # dies out for good.  For more background, see:
2940 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2941 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2942 + mkdir_p='$(MKDIR_P)'
2943 +
2944   # We need awk for the "check" target.  The system "awk" is bad on
2945   # some platforms.
2946 < # Always define AMTAR for backward compatibility.
2946 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2947 > # in the wild :-(  We should find a proper way to deprecate it ...
2948 > AMTAR='$${TAR-tar}'
2949 >
2950 >
2951 > # We'll loop over all known methods to create a tar archive until one works.
2952 > _am_tools='gnutar  pax cpio none'
2953  
2954 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2954 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2955  
3248 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2956  
2957  
2958  
2959  
2960  
2961 + # POSIX will say in a future version that running "rm -f" with no argument
2962 + # is OK; and we want to be able to make that assumption in our Makefile
2963 + # recipes.  So use an aggressive probe to check that the usage we want is
2964 + # actually supported "in the wild" to an acceptable degree.
2965 + # See automake bug#10828.
2966 + # To make any issue more visible, cause the running configure to be aborted
2967 + # by default if the 'rm' program in use doesn't match our expectations; the
2968 + # user can still override this though.
2969 + if rm -f && rm -fr && rm -rf; then : OK; else
2970 +  cat >&2 <<'END'
2971 + Oops!
2972 +
2973 + Your 'rm' program seems unable to run without file operands specified
2974 + on the command line, even when the '-f' option is present.  This is contrary
2975 + to the behaviour of most rm programs out there, and not conforming with
2976 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2977 +
2978 + Please tell bug-automake@gnu.org about your system, including the value
2979 + of your $PATH and any error possibly output before this message.  This
2980 + can help us improve future automake versions.
2981 +
2982 + END
2983 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2984 +    echo 'Configuration will proceed anyway, since you have set the' >&2
2985 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2986 +    echo >&2
2987 +  else
2988 +    cat >&2 <<'END'
2989 + Aborting the configuration process, to ensure you take notice of the issue.
2990 +
2991 + You can download and install GNU coreutils to get an 'rm' implementation
2992 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
2993 +
2994 + If you want to complete the configuration process using your problematic
2995 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2996 + to "yes", and re-run configure.
2997 +
2998 + END
2999 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3000 +  fi
3001 + fi
3002  
3003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3004   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3274 | Line 3022 | fi
3022    MAINT=$MAINTAINER_MODE_TRUE
3023  
3024  
3277 ac_config_headers="$ac_config_headers config.h"
3025  
3026 + ac_config_headers="$ac_config_headers config.h"
3027  
3028  
3029  
3030   # Checks for programs.
3031 + DEPDIR="${am__leading_dot}deps"
3032 +
3033 + ac_config_commands="$ac_config_commands depfiles"
3034 +
3035 +
3036 + am_make=${MAKE-make}
3037 + cat > confinc << 'END'
3038 + am__doit:
3039 +        @echo this is the am__doit target
3040 + .PHONY: am__doit
3041 + END
3042 + # If we don't find an include directive, just comment out the code.
3043 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3044 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3045 + am__include="#"
3046 + am__quote=
3047 + _am_result=none
3048 + # First try GNU make style include.
3049 + echo "include confinc" > confmf
3050 + # Ignore all kinds of additional output from 'make'.
3051 + case `$am_make -s -f confmf 2> /dev/null` in #(
3052 + *the\ am__doit\ target*)
3053 +  am__include=include
3054 +  am__quote=
3055 +  _am_result=GNU
3056 +  ;;
3057 + esac
3058 + # Now try BSD make style include.
3059 + if test "$am__include" = "#"; then
3060 +   echo '.include "confinc"' > confmf
3061 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3062 +   *the\ am__doit\ target*)
3063 +     am__include=.include
3064 +     am__quote="\""
3065 +     _am_result=BSD
3066 +     ;;
3067 +   esac
3068 + fi
3069 +
3070 +
3071 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3072 + $as_echo "$_am_result" >&6; }
3073 + rm -f confinc confmf
3074 +
3075 + # Check whether --enable-dependency-tracking was given.
3076 + if test "${enable_dependency_tracking+set}" = set; then :
3077 +  enableval=$enable_dependency_tracking;
3078 + fi
3079 +
3080 + if test "x$enable_dependency_tracking" != xno; then
3081 +  am_depcomp="$ac_aux_dir/depcomp"
3082 +  AMDEPBACKSLASH='\'
3083 +  am__nodep='_no'
3084 + fi
3085 + if test "x$enable_dependency_tracking" != xno; then
3086 +  AMDEP_TRUE=
3087 +  AMDEP_FALSE='#'
3088 + else
3089 +  AMDEP_TRUE='#'
3090 +  AMDEP_FALSE=
3091 + fi
3092 +
3093 +
3094   ac_ext=c
3095   ac_cpp='$CPP $CPPFLAGS'
3096   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3290 | Line 3101 | if test -n "$ac_tool_prefix"; then
3101   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103   $as_echo_n "checking for $ac_word... " >&6; }
3104 < if test "${ac_cv_prog_CC+set}" = set; then :
3104 > if ${ac_cv_prog_CC+:} false; then :
3105    $as_echo_n "(cached) " >&6
3106   else
3107    if test -n "$CC"; then
# Line 3302 | Line 3113 | do
3113    IFS=$as_save_IFS
3114    test -z "$as_dir" && as_dir=.
3115      for ac_exec_ext in '' $ac_executable_extensions; do
3116 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3118      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119      break 2
# Line 3330 | Line 3141 | if test -z "$ac_cv_prog_CC"; then
3141   set dummy gcc; ac_word=$2
3142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143   $as_echo_n "checking for $ac_word... " >&6; }
3144 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3144 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3145    $as_echo_n "(cached) " >&6
3146   else
3147    if test -n "$ac_ct_CC"; then
# Line 3342 | Line 3153 | do
3153    IFS=$as_save_IFS
3154    test -z "$as_dir" && as_dir=.
3155      for ac_exec_ext in '' $ac_executable_extensions; do
3156 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157      ac_cv_prog_ac_ct_CC="gcc"
3158      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159      break 2
# Line 3383 | Line 3194 | if test -z "$CC"; then
3194   set dummy ${ac_tool_prefix}cc; ac_word=$2
3195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196   $as_echo_n "checking for $ac_word... " >&6; }
3197 < if test "${ac_cv_prog_CC+set}" = set; then :
3197 > if ${ac_cv_prog_CC+:} false; then :
3198    $as_echo_n "(cached) " >&6
3199   else
3200    if test -n "$CC"; then
# Line 3395 | Line 3206 | do
3206    IFS=$as_save_IFS
3207    test -z "$as_dir" && as_dir=.
3208      for ac_exec_ext in '' $ac_executable_extensions; do
3209 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210      ac_cv_prog_CC="${ac_tool_prefix}cc"
3211      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212      break 2
# Line 3423 | Line 3234 | if test -z "$CC"; then
3234   set dummy cc; ac_word=$2
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236   $as_echo_n "checking for $ac_word... " >&6; }
3237 < if test "${ac_cv_prog_CC+set}" = set; then :
3237 > if ${ac_cv_prog_CC+:} false; then :
3238    $as_echo_n "(cached) " >&6
3239   else
3240    if test -n "$CC"; then
# Line 3436 | Line 3247 | do
3247    IFS=$as_save_IFS
3248    test -z "$as_dir" && as_dir=.
3249      for ac_exec_ext in '' $ac_executable_extensions; do
3250 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3250 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3252         ac_prog_rejected=yes
3253         continue
# Line 3482 | Line 3293 | if test -z "$CC"; then
3293   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295   $as_echo_n "checking for $ac_word... " >&6; }
3296 < if test "${ac_cv_prog_CC+set}" = set; then :
3296 > if ${ac_cv_prog_CC+:} false; then :
3297    $as_echo_n "(cached) " >&6
3298   else
3299    if test -n "$CC"; then
# Line 3494 | Line 3305 | do
3305    IFS=$as_save_IFS
3306    test -z "$as_dir" && as_dir=.
3307      for ac_exec_ext in '' $ac_executable_extensions; do
3308 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3308 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3309      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3310      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311      break 2
# Line 3526 | Line 3337 | do
3337   set dummy $ac_prog; ac_word=$2
3338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339   $as_echo_n "checking for $ac_word... " >&6; }
3340 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3340 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3341    $as_echo_n "(cached) " >&6
3342   else
3343    if test -n "$ac_ct_CC"; then
# Line 3538 | Line 3349 | do
3349    IFS=$as_save_IFS
3350    test -z "$as_dir" && as_dir=.
3351      for ac_exec_ext in '' $ac_executable_extensions; do
3352 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3352 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353      ac_cv_prog_ac_ct_CC="$ac_prog"
3354      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355      break 2
# Line 3580 | Line 3391 | fi
3391  
3392   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 < as_fn_error "no acceptable C compiler found in \$PATH
3395 < See \`config.log' for more details." "$LINENO" 5; }
3394 > as_fn_error $? "no acceptable C compiler found in \$PATH
3395 > See \`config.log' for more details" "$LINENO" 5; }
3396  
3397   # Provide some information about the compiler.
3398   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3602 | Line 3413 | $as_echo "$ac_try_echo"; } >&5
3413   ... rest of stderr output deleted ...
3414           10q' conftest.err >conftest.er1
3415      cat conftest.er1 >&5
3605    rm -f conftest.er1 conftest.err
3416    fi
3417 +  rm -f conftest.er1 conftest.err
3418    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419    test $ac_status = 0; }
3420   done
3421  
3422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423   /* end confdefs.h.  */
3424 < #include <stdio.h>
3424 >
3425   int
3426   main ()
3427   {
3617 FILE *f = fopen ("conftest.out", "w");
3618 return ferror (f) || fclose (f) != 0;
3428  
3429    ;
3430    return 0;
3431   }
3432   _ACEOF
3433   ac_clean_files_save=$ac_clean_files
3434 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3434 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3435   # Try to create an executable without -o first, disregard a.out.
3436   # It will help us diagnose broken compilers, and finding out an intuition
3437   # of exeext.
3438 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3439 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3438 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3439 > $as_echo_n "checking whether the C compiler works... " >&6; }
3440   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3441  
3442   # The possible output files:
# Line 3689 | Line 3498 | test "$ac_cv_exeext" = no && ac_cv_exeex
3498   else
3499    ac_file=''
3500   fi
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3693 $as_echo "$ac_file" >&6; }
3501   if test -z "$ac_file"; then :
3502 <  $as_echo "$as_me: failed program was:" >&5
3502 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 > $as_echo "no" >&6; }
3504 > $as_echo "$as_me: failed program was:" >&5
3505   sed 's/^/| /' conftest.$ac_ext >&5
3506  
3507   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 < { as_fn_set_status 77
3510 < as_fn_error "C compiler cannot create executables
3511 < See \`config.log' for more details." "$LINENO" 5; }; }
3509 > as_fn_error 77 "C compiler cannot create executables
3510 > See \`config.log' for more details" "$LINENO" 5; }
3511 > else
3512 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3513 > $as_echo "yes" >&6; }
3514   fi
3515 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3516 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3517 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3518 + $as_echo "$ac_file" >&6; }
3519   ac_exeext=$ac_cv_exeext
3520  
3521 < # Check that the compiler produces executables we can run.  If not, either
3707 < # the compiler is broken, or we cross compile.
3708 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3709 < $as_echo_n "checking whether the C compiler works... " >&6; }
3710 < # If not cross compiling, check that we can run a simple program.
3711 < if test "$cross_compiling" != yes; then
3712 <  if { ac_try='./$ac_file'
3713 <  { { case "(($ac_try" in
3714 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 <  *) ac_try_echo=$ac_try;;
3716 < esac
3717 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 < $as_echo "$ac_try_echo"; } >&5
3719 <  (eval "$ac_try") 2>&5
3720 <  ac_status=$?
3721 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3722 <  test $ac_status = 0; }; }; then
3723 <    cross_compiling=no
3724 <  else
3725 <    if test "$cross_compiling" = maybe; then
3726 <        cross_compiling=yes
3727 <    else
3728 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730 < as_fn_error "cannot run C compiled programs.
3731 < If you meant to cross compile, use \`--host'.
3732 < See \`config.log' for more details." "$LINENO" 5; }
3733 <    fi
3734 <  fi
3735 < fi
3736 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3737 < $as_echo "yes" >&6; }
3738 <
3739 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3521 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3522   ac_clean_files=$ac_clean_files_save
3741 # Check that the compiler produces executables we can run.  If not, either
3742 # the compiler is broken, or we cross compile.
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3744 $as_echo_n "checking whether we are cross compiling... " >&6; }
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3746 $as_echo "$cross_compiling" >&6; }
3747
3523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3524   $as_echo_n "checking for suffix of executables... " >&6; }
3525   if { { ac_try="$ac_link"
# Line 3774 | Line 3549 | done
3549   else
3550    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3553 < See \`config.log' for more details." "$LINENO" 5; }
3552 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3553 > See \`config.log' for more details" "$LINENO" 5; }
3554   fi
3555 < rm -f conftest$ac_cv_exeext
3555 > rm -f conftest conftest$ac_cv_exeext
3556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3557   $as_echo "$ac_cv_exeext" >&6; }
3558  
3559   rm -f conftest.$ac_ext
3560   EXEEXT=$ac_cv_exeext
3561   ac_exeext=$EXEEXT
3562 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 + /* end confdefs.h.  */
3564 + #include <stdio.h>
3565 + int
3566 + main ()
3567 + {
3568 + FILE *f = fopen ("conftest.out", "w");
3569 + return ferror (f) || fclose (f) != 0;
3570 +
3571 +  ;
3572 +  return 0;
3573 + }
3574 + _ACEOF
3575 + ac_clean_files="$ac_clean_files conftest.out"
3576 + # Check that the compiler produces executables we can run.  If not, either
3577 + # the compiler is broken, or we cross compile.
3578 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3579 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3580 + if test "$cross_compiling" != yes; then
3581 +  { { ac_try="$ac_link"
3582 + case "(($ac_try" in
3583 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 +  *) ac_try_echo=$ac_try;;
3585 + esac
3586 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587 + $as_echo "$ac_try_echo"; } >&5
3588 +  (eval "$ac_link") 2>&5
3589 +  ac_status=$?
3590 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591 +  test $ac_status = 0; }
3592 +  if { ac_try='./conftest$ac_cv_exeext'
3593 +  { { case "(($ac_try" in
3594 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595 +  *) ac_try_echo=$ac_try;;
3596 + esac
3597 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598 + $as_echo "$ac_try_echo"; } >&5
3599 +  (eval "$ac_try") 2>&5
3600 +  ac_status=$?
3601 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602 +  test $ac_status = 0; }; }; then
3603 +    cross_compiling=no
3604 +  else
3605 +    if test "$cross_compiling" = maybe; then
3606 +        cross_compiling=yes
3607 +    else
3608 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 + as_fn_error $? "cannot run C compiled programs.
3611 + If you meant to cross compile, use \`--host'.
3612 + See \`config.log' for more details" "$LINENO" 5; }
3613 +    fi
3614 +  fi
3615 + fi
3616 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3617 + $as_echo "$cross_compiling" >&6; }
3618 +
3619 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3620 + ac_clean_files=$ac_clean_files_save
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3622   $as_echo_n "checking for suffix of object files... " >&6; }
3623 < if test "${ac_cv_objext+set}" = set; then :
3623 > if ${ac_cv_objext+:} false; then :
3624    $as_echo_n "(cached) " >&6
3625   else
3626    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3826 | Line 3660 | sed 's/^/| /' conftest.$ac_ext >&5
3660  
3661   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663 < as_fn_error "cannot compute suffix of object files: cannot compile
3664 < See \`config.log' for more details." "$LINENO" 5; }
3663 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3664 > See \`config.log' for more details" "$LINENO" 5; }
3665   fi
3666   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3667   fi
# Line 3837 | Line 3671 | OBJEXT=$ac_cv_objext
3671   ac_objext=$OBJEXT
3672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3673   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3674 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3674 > if ${ac_cv_c_compiler_gnu+:} false; then :
3675    $as_echo_n "(cached) " >&6
3676   else
3677    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3874 | Line 3708 | ac_test_CFLAGS=${CFLAGS+set}
3708   ac_save_CFLAGS=$CFLAGS
3709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3710   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3711 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3711 > if ${ac_cv_prog_cc_g+:} false; then :
3712    $as_echo_n "(cached) " >&6
3713   else
3714    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3952 | Line 3786 | else
3786   fi
3787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3788   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3789 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3789 > if ${ac_cv_prog_cc_c89+:} false; then :
3790    $as_echo_n "(cached) " >&6
3791   else
3792    ac_cv_prog_cc_c89=no
# Line 3961 | Line 3795 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3795   /* end confdefs.h.  */
3796   #include <stdarg.h>
3797   #include <stdio.h>
3798 < #include <sys/types.h>
3965 < #include <sys/stat.h>
3798 > struct stat;
3799   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3800   struct buf { int x; };
3801   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 4046 | Line 3879 | ac_cpp='$CPP $CPPFLAGS'
3879   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4049 DEPDIR="${am__leading_dot}deps"
4050
4051 ac_config_commands="$ac_config_commands depfiles"
4052
4053
4054 am_make=${MAKE-make}
4055 cat > confinc << 'END'
4056 am__doit:
4057        @echo this is the am__doit target
4058 .PHONY: am__doit
4059 END
4060 # If we don't find an include directive, just comment out the code.
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4062 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4063 am__include="#"
4064 am__quote=
4065 _am_result=none
4066 # First try GNU make style include.
4067 echo "include confinc" > confmf
4068 # Ignore all kinds of additional output from `make'.
4069 case `$am_make -s -f confmf 2> /dev/null` in #(
4070 *the\ am__doit\ target*)
4071  am__include=include
4072  am__quote=
4073  _am_result=GNU
4074  ;;
4075 esac
4076 # Now try BSD make style include.
4077 if test "$am__include" = "#"; then
4078   echo '.include "confinc"' > confmf
4079   case `$am_make -s -f confmf 2> /dev/null` in #(
4080   *the\ am__doit\ target*)
4081     am__include=.include
4082     am__quote="\""
4083     _am_result=BSD
4084     ;;
4085   esac
4086 fi
3882  
3883 + ac_ext=c
3884 + ac_cpp='$CPP $CPPFLAGS'
3885 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3889 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3890 + if ${am_cv_prog_cc_c_o+:} false; then :
3891 +  $as_echo_n "(cached) " >&6
3892 + else
3893 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 + /* end confdefs.h.  */
3895  
3896 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3897 < $as_echo "$_am_result" >&6; }
3898 < rm -f confinc confmf
4092 <
4093 < # Check whether --enable-dependency-tracking was given.
4094 < if test "${enable_dependency_tracking+set}" = set; then :
4095 <  enableval=$enable_dependency_tracking;
4096 < fi
3896 > int
3897 > main ()
3898 > {
3899  
3900 < if test "x$enable_dependency_tracking" != xno; then
3901 <  am_depcomp="$ac_aux_dir/depcomp"
3902 <  AMDEPBACKSLASH='\'
3900 >  ;
3901 >  return 0;
3902 > }
3903 > _ACEOF
3904 >  # Make sure it works both with $CC and with simple cc.
3905 >  # Following AC_PROG_CC_C_O, we do the test twice because some
3906 >  # compilers refuse to overwrite an existing .o file with -o,
3907 >  # though they will create one.
3908 >  am_cv_prog_cc_c_o=yes
3909 >  for am_i in 1 2; do
3910 >    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3911 >   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3912 >   ac_status=$?
3913 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 >   (exit $ac_status); } \
3915 >         && test -f conftest2.$ac_objext; then
3916 >      : OK
3917 >    else
3918 >      am_cv_prog_cc_c_o=no
3919 >      break
3920 >    fi
3921 >  done
3922 >  rm -f core conftest*
3923 >  unset am_i
3924   fi
3925 < if test "x$enable_dependency_tracking" != xno; then
3926 <  AMDEP_TRUE=
3927 <  AMDEP_FALSE='#'
3928 < else
3929 <  AMDEP_TRUE='#'
3930 <  AMDEP_FALSE=
3925 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3926 > $as_echo "$am_cv_prog_cc_c_o" >&6; }
3927 > if test "$am_cv_prog_cc_c_o" != yes; then
3928 >   # Losing compiler, so override with the script.
3929 >   # FIXME: It is wrong to rewrite CC.
3930 >   # But if we don't then we get into trouble of one sort or another.
3931 >   # A longer-term fix would be to have automake use am__CC in this case,
3932 >   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3933 >   CC="$am_aux_dir/compile $CC"
3934   fi
3935 <
3935 > ac_ext=c
3936 > ac_cpp='$CPP $CPPFLAGS'
3937 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3940  
3941  
3942   depcc="$CC"   am_compiler_list=
3943  
3944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3945   $as_echo_n "checking dependency style of $depcc... " >&6; }
3946 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3946 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3947    $as_echo_n "(cached) " >&6
3948   else
3949    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3950    # We make a subdir and do the tests there.  Otherwise we can end up
3951    # making bogus files that we don't know about and never remove.  For
3952    # instance it was reported that on HP-UX the gcc test will end up
3953 <  # making a dummy file named `D' -- because `-MD' means `put the output
3954 <  # in D'.
3953 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3954 >  # in D".
3955 >  rm -rf conftest.dir
3956    mkdir conftest.dir
3957    # Copy depcomp to subdir because otherwise we won't find it if we're
3958    # using a relative directory.
# Line 4155 | Line 3986 | else
3986      : > sub/conftest.c
3987      for i in 1 2 3 4 5 6; do
3988        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3989 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3990 <      # Solaris 8's {/usr,}/bin/sh.
3991 <      touch sub/conftst$i.h
3989 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3990 >      # Solaris 10 /bin/sh.
3991 >      echo '/* dummy */' > sub/conftst$i.h
3992      done
3993      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3994  
3995 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3995 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3996      # mode.  It turns out that the SunPro C++ compiler does not properly
3997 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3998 <    # versions had trouble with output in subdirs
3997 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3998 >    # versions had trouble with output in subdirs.
3999      am__obj=sub/conftest.${OBJEXT-o}
4000      am__minus_obj="-o $am__obj"
4001      case $depmode in
# Line 4173 | Line 4004 | else
4004        test "$am__universal" = false || continue
4005        ;;
4006      nosideeffect)
4007 <      # after this tag, mechanisms are not by side-effect, so they'll
4008 <      # only be used when explicitly requested
4007 >      # After this tag, mechanisms are not by side-effect, so they'll
4008 >      # only be used when explicitly requested.
4009        if test "x$enable_dependency_tracking" = xyes; then
4010          continue
4011        else
4012          break
4013        fi
4014        ;;
4015 <    msvisualcpp | msvcmsys)
4016 <      # This compiler won't grok `-c -o', but also, the minuso test has
4015 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4016 >      # This compiler won't grok '-c -o', but also, the minuso test has
4017        # not run yet.  These depmodes are late enough in the game, and
4018        # so weak that their functioning should not be impacted.
4019        am__obj=conftest.${OBJEXT-o}
# Line 4236 | Line 4067 | else
4067   fi
4068  
4069  
4070 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4071 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4072 + if ${ac_cv_prog_cc_c99+:} false; then :
4073 +  $as_echo_n "(cached) " >&6
4074 + else
4075 +  ac_cv_prog_cc_c99=no
4076 + ac_save_CC=$CC
4077 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 + /* end confdefs.h.  */
4079 + #include <stdarg.h>
4080 + #include <stdbool.h>
4081 + #include <stdlib.h>
4082 + #include <wchar.h>
4083 + #include <stdio.h>
4084 +
4085 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4086 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4087 + #define showlist(...) puts (#__VA_ARGS__)
4088 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4089 + static void
4090 + test_varargs_macros (void)
4091 + {
4092 +  int x = 1234;
4093 +  int y = 5678;
4094 +  debug ("Flag");
4095 +  debug ("X = %d\n", x);
4096 +  showlist (The first, second, and third items.);
4097 +  report (x>y, "x is %d but y is %d", x, y);
4098 + }
4099 +
4100 + // Check long long types.
4101 + #define BIG64 18446744073709551615ull
4102 + #define BIG32 4294967295ul
4103 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4104 + #if !BIG_OK
4105 +  your preprocessor is broken;
4106 + #endif
4107 + #if BIG_OK
4108 + #else
4109 +  your preprocessor is broken;
4110 + #endif
4111 + static long long int bignum = -9223372036854775807LL;
4112 + static unsigned long long int ubignum = BIG64;
4113 +
4114 + struct incomplete_array
4115 + {
4116 +  int datasize;
4117 +  double data[];
4118 + };
4119 +
4120 + struct named_init {
4121 +  int number;
4122 +  const wchar_t *name;
4123 +  double average;
4124 + };
4125 +
4126 + typedef const char *ccp;
4127 +
4128 + static inline int
4129 + test_restrict (ccp restrict text)
4130 + {
4131 +  // See if C++-style comments work.
4132 +  // Iterate through items via the restricted pointer.
4133 +  // Also check for declarations in for loops.
4134 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4135 +    continue;
4136 +  return 0;
4137 + }
4138 +
4139 + // Check varargs and va_copy.
4140 + static void
4141 + test_varargs (const char *format, ...)
4142 + {
4143 +  va_list args;
4144 +  va_start (args, format);
4145 +  va_list args_copy;
4146 +  va_copy (args_copy, args);
4147 +
4148 +  const char *str;
4149 +  int number;
4150 +  float fnumber;
4151 +
4152 +  while (*format)
4153 +    {
4154 +      switch (*format++)
4155 +        {
4156 +        case 's': // string
4157 +          str = va_arg (args_copy, const char *);
4158 +          break;
4159 +        case 'd': // int
4160 +          number = va_arg (args_copy, int);
4161 +          break;
4162 +        case 'f': // float
4163 +          fnumber = va_arg (args_copy, double);
4164 +          break;
4165 +        default:
4166 +          break;
4167 +        }
4168 +    }
4169 +  va_end (args_copy);
4170 +  va_end (args);
4171 + }
4172 +
4173 + int
4174 + main ()
4175 + {
4176 +
4177 +  // Check bool.
4178 +  _Bool success = false;
4179 +
4180 +  // Check restrict.
4181 +  if (test_restrict ("String literal") == 0)
4182 +    success = true;
4183 +  char *restrict newvar = "Another string";
4184 +
4185 +  // Check varargs.
4186 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4187 +  test_varargs_macros ();
4188 +
4189 +  // Check flexible array members.
4190 +  struct incomplete_array *ia =
4191 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4192 +  ia->datasize = 10;
4193 +  for (int i = 0; i < ia->datasize; ++i)
4194 +    ia->data[i] = i * 1.234;
4195 +
4196 +  // Check named initializers.
4197 +  struct named_init ni = {
4198 +    .number = 34,
4199 +    .name = L"Test wide string",
4200 +    .average = 543.34343,
4201 +  };
4202 +
4203 +  ni.number = 58;
4204 +
4205 +  int dynamic_array[ni.number];
4206 +  dynamic_array[ni.number - 1] = 543;
4207 +
4208 +  // work around unused variable warnings
4209 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4210 +          || dynamic_array[ni.number - 1] != 543);
4211 +
4212 +  ;
4213 +  return 0;
4214 + }
4215 + _ACEOF
4216 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4217 + do
4218 +  CC="$ac_save_CC $ac_arg"
4219 +  if ac_fn_c_try_compile "$LINENO"; then :
4220 +  ac_cv_prog_cc_c99=$ac_arg
4221 + fi
4222 + rm -f core conftest.err conftest.$ac_objext
4223 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4224 + done
4225 + rm -f conftest.$ac_ext
4226 + CC=$ac_save_CC
4227 +
4228 + fi
4229 + # AC_CACHE_VAL
4230 + case "x$ac_cv_prog_cc_c99" in
4231 +  x)
4232 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4233 + $as_echo "none needed" >&6; } ;;
4234 +  xno)
4235 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4236 + $as_echo "unsupported" >&6; } ;;
4237 +  *)
4238 +    CC="$CC $ac_cv_prog_cc_c99"
4239 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4240 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4241 + esac
4242 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4243 +
4244 + fi
4245 +
4246 +
4247 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4248 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4249 + fi
4250   for ac_prog in 'bison -y' byacc
4251   do
4252    # Extract the first word of "$ac_prog", so it can be a program name with args.
4253   set dummy $ac_prog; ac_word=$2
4254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255   $as_echo_n "checking for $ac_word... " >&6; }
4256 < if test "${ac_cv_prog_YACC+set}" = set; then :
4256 > if ${ac_cv_prog_YACC+:} false; then :
4257    $as_echo_n "(cached) " >&6
4258   else
4259    if test -n "$YACC"; then
# Line 4254 | Line 4265 | do
4265    IFS=$as_save_IFS
4266    test -z "$as_dir" && as_dir=.
4267      for ac_exec_ext in '' $ac_executable_extensions; do
4268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269      ac_cv_prog_YACC="$ac_prog"
4270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271      break 2
# Line 4286 | Line 4297 | do
4297   set dummy $ac_prog; ac_word=$2
4298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299   $as_echo_n "checking for $ac_word... " >&6; }
4300 < if test "${ac_cv_prog_LEX+set}" = set; then :
4300 > if ${ac_cv_prog_LEX+:} false; then :
4301    $as_echo_n "(cached) " >&6
4302   else
4303    if test -n "$LEX"; then
# Line 4298 | Line 4309 | do
4309    IFS=$as_save_IFS
4310    test -z "$as_dir" && as_dir=.
4311      for ac_exec_ext in '' $ac_executable_extensions; do
4312 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4312 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4313      ac_cv_prog_LEX="$ac_prog"
4314      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315      break 2
# Line 4330 | Line 4341 | a { ECHO; }
4341   b { REJECT; }
4342   c { yymore (); }
4343   d { yyless (1); }
4344 < e { yyless (input () != 0); }
4344 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4345 >    yyless ((input () != 0)); }
4346   f { unput (yytext[0]); }
4347   . { BEGIN INITIAL; }
4348   %%
# Line 4356 | Line 4368 | $as_echo "$ac_try_echo"; } >&5
4368    test $ac_status = 0; }
4369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4370   $as_echo_n "checking lex output file root... " >&6; }
4371 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4371 > if ${ac_cv_prog_lex_root+:} false; then :
4372    $as_echo_n "(cached) " >&6
4373   else
4374  
# Line 4365 | Line 4377 | if test -f lex.yy.c; then
4377   elif test -f lexyy.c; then
4378    ac_cv_prog_lex_root=lexyy
4379   else
4380 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4380 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4381   fi
4382   fi
4383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4375 | Line 4387 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4387   if test -z "${LEXLIB+set}"; then
4388    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4389   $as_echo_n "checking lex library... " >&6; }
4390 < if test "${ac_cv_lib_lex+set}" = set; then :
4390 > if ${ac_cv_lib_lex+:} false; then :
4391    $as_echo_n "(cached) " >&6
4392   else
4393  
# Line 4405 | Line 4417 | fi
4417  
4418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4419   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4420 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4420 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4421    $as_echo_n "(cached) " >&6
4422   else
4423    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4416 | Line 4428 | ac_save_LIBS=$LIBS
4428   LIBS="$LEXLIB $ac_save_LIBS"
4429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430   /* end confdefs.h.  */
4431 < #define YYTEXT_POINTER 1
4431 >
4432 >  #define YYTEXT_POINTER 1
4433   `cat $LEX_OUTPUT_ROOT.c`
4434   _ACEOF
4435   if ac_fn_c_try_link "$LINENO"; then :
# Line 4442 | Line 4455 | if test "$LEX" = :; then
4455   fi
4456  
4457  
4458 + # Initializing libtool.
4459 +
4460 +
4461 +
4462 +
4463 +
4464 +
4465  
4446 #ltdl stuff
4466   case `pwd` in
4467    *\ * | *\     *)
4468      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4452 | Line 4471 | esac
4471  
4472  
4473  
4474 < macro_version='2.2.6'
4475 < macro_revision='1.3012'
4474 > macro_version='2.4.2'
4475 > macro_revision='1.3337'
4476  
4477  
4478  
# Line 4471 | Line 4490 | ltmain="$ac_aux_dir/ltmain.sh"
4490  
4491   # Make sure we can run config.sub.
4492   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4493 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4493 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4494  
4495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4496   $as_echo_n "checking build system type... " >&6; }
4497 < if test "${ac_cv_build+set}" = set; then :
4497 > if ${ac_cv_build+:} false; then :
4498    $as_echo_n "(cached) " >&6
4499   else
4500    ac_build_alias=$build_alias
4501   test "x$ac_build_alias" = x &&
4502    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4503   test "x$ac_build_alias" = x &&
4504 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4504 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4505   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4506 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4506 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4507  
4508   fi
4509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4510   $as_echo "$ac_cv_build" >&6; }
4511   case $ac_cv_build in
4512   *-*-*) ;;
4513 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4513 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4514   esac
4515   build=$ac_cv_build
4516   ac_save_IFS=$IFS; IFS='-'
# Line 4509 | Line 4528 | case $build_os in *\ *) build_os=`echo "
4528  
4529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4530   $as_echo_n "checking host system type... " >&6; }
4531 < if test "${ac_cv_host+set}" = set; then :
4531 > if ${ac_cv_host+:} false; then :
4532    $as_echo_n "(cached) " >&6
4533   else
4534    if test "x$host_alias" = x; then
4535    ac_cv_host=$ac_cv_build
4536   else
4537    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4538 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4538 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4539   fi
4540  
4541   fi
# Line 4524 | Line 4543 | fi
4543   $as_echo "$ac_cv_host" >&6; }
4544   case $ac_cv_host in
4545   *-*-*) ;;
4546 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4546 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4547   esac
4548   host=$ac_cv_host
4549   ac_save_IFS=$IFS; IFS='-'
# Line 4540 | Line 4559 | IFS=$ac_save_IFS
4559   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4560  
4561  
4562 + # Backslashify metacharacters that are still active within
4563 + # double-quoted strings.
4564 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4565 +
4566 + # Same as above, but do not quote variable references.
4567 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4568 +
4569 + # Sed substitution to delay expansion of an escaped shell variable in a
4570 + # double_quote_subst'ed string.
4571 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4572 +
4573 + # Sed substitution to delay expansion of an escaped single quote.
4574 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4575 +
4576 + # Sed substitution to avoid accidental globbing in evaled expressions
4577 + no_glob_subst='s/\*/\\\*/g'
4578 +
4579 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4580 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4581 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4582 +
4583 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4584 + $as_echo_n "checking how to print strings... " >&6; }
4585 + # Test print first, because it will be a builtin if present.
4586 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4587 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4588 +  ECHO='print -r --'
4589 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4590 +  ECHO='printf %s\n'
4591 + else
4592 +  # Use this function as a fallback that always works.
4593 +  func_fallback_echo ()
4594 +  {
4595 +    eval 'cat <<_LTECHO_EOF
4596 + $1
4597 + _LTECHO_EOF'
4598 +  }
4599 +  ECHO='func_fallback_echo'
4600 + fi
4601 +
4602 + # func_echo_all arg...
4603 + # Invoke $ECHO with all args, space-separated.
4604 + func_echo_all ()
4605 + {
4606 +    $ECHO ""
4607 + }
4608 +
4609 + case "$ECHO" in
4610 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4611 + $as_echo "printf" >&6; } ;;
4612 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4613 + $as_echo "print -r" >&6; } ;;
4614 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4615 + $as_echo "cat" >&6; } ;;
4616 + esac
4617 +
4618 +
4619 +
4620 +
4621 +
4622 +
4623 +
4624 +
4625 +
4626 +
4627 +
4628 +
4629 +
4630 +
4631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4632   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4633 < if test "${ac_cv_path_SED+set}" = set; then :
4633 > if ${ac_cv_path_SED+:} false; then :
4634    $as_echo_n "(cached) " >&6
4635   else
4636              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4562 | Line 4650 | do
4650      for ac_prog in sed gsed; do
4651      for ac_exec_ext in '' $ac_executable_extensions; do
4652        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4653 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4653 >      as_fn_executable_p "$ac_path_SED" || continue
4654   # Check for GNU ac_path_SED and select it if it is found.
4655    # Check for GNU $ac_path_SED
4656   case `"$ac_path_SED" --version 2>&1` in
# Line 4597 | Line 4685 | esac
4685    done
4686   IFS=$as_save_IFS
4687    if test -z "$ac_cv_path_SED"; then
4688 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4688 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4689    fi
4690   else
4691    ac_cv_path_SED=$SED
# Line 4624 | Line 4712 | Xsed="$SED -e 1s/^X//"
4712  
4713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4714   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4715 < if test "${ac_cv_path_GREP+set}" = set; then :
4715 > if ${ac_cv_path_GREP+:} false; then :
4716    $as_echo_n "(cached) " >&6
4717   else
4718    if test -z "$GREP"; then
# Line 4638 | Line 4726 | do
4726      for ac_prog in grep ggrep; do
4727      for ac_exec_ext in '' $ac_executable_extensions; do
4728        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4729 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4729 >      as_fn_executable_p "$ac_path_GREP" || continue
4730   # Check for GNU ac_path_GREP and select it if it is found.
4731    # Check for GNU $ac_path_GREP
4732   case `"$ac_path_GREP" --version 2>&1` in
# Line 4673 | Line 4761 | esac
4761    done
4762   IFS=$as_save_IFS
4763    if test -z "$ac_cv_path_GREP"; then
4764 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4764 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4765    fi
4766   else
4767    ac_cv_path_GREP=$GREP
# Line 4687 | Line 4775 | $as_echo "$ac_cv_path_GREP" >&6; }
4775  
4776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4777   $as_echo_n "checking for egrep... " >&6; }
4778 < if test "${ac_cv_path_EGREP+set}" = set; then :
4778 > if ${ac_cv_path_EGREP+:} false; then :
4779    $as_echo_n "(cached) " >&6
4780   else
4781    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4704 | Line 4792 | do
4792      for ac_prog in egrep; do
4793      for ac_exec_ext in '' $ac_executable_extensions; do
4794        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4795 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4795 >      as_fn_executable_p "$ac_path_EGREP" || continue
4796   # Check for GNU ac_path_EGREP and select it if it is found.
4797    # Check for GNU $ac_path_EGREP
4798   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4739 | Line 4827 | esac
4827    done
4828   IFS=$as_save_IFS
4829    if test -z "$ac_cv_path_EGREP"; then
4830 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4830 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4831    fi
4832   else
4833    ac_cv_path_EGREP=$EGREP
# Line 4754 | Line 4842 | $as_echo "$ac_cv_path_EGREP" >&6; }
4842  
4843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4844   $as_echo_n "checking for fgrep... " >&6; }
4845 < if test "${ac_cv_path_FGREP+set}" = set; then :
4845 > if ${ac_cv_path_FGREP+:} false; then :
4846    $as_echo_n "(cached) " >&6
4847   else
4848    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4771 | Line 4859 | do
4859      for ac_prog in fgrep; do
4860      for ac_exec_ext in '' $ac_executable_extensions; do
4861        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4862 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4862 >      as_fn_executable_p "$ac_path_FGREP" || continue
4863   # Check for GNU ac_path_FGREP and select it if it is found.
4864    # Check for GNU $ac_path_FGREP
4865   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4806 | Line 4894 | esac
4894    done
4895   IFS=$as_save_IFS
4896    if test -z "$ac_cv_path_FGREP"; then
4897 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4897 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4898    fi
4899   else
4900    ac_cv_path_FGREP=$FGREP
# Line 4885 | Line 4973 | else
4973    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4974   $as_echo_n "checking for non-GNU ld... " >&6; }
4975   fi
4976 < if test "${lt_cv_path_LD+set}" = set; then :
4976 > if ${lt_cv_path_LD+:} false; then :
4977    $as_echo_n "(cached) " >&6
4978   else
4979    if test -z "$LD"; then
# Line 4922 | Line 5010 | else
5010    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011   $as_echo "no" >&6; }
5012   fi
5013 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5013 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5015   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5016 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5016 > if ${lt_cv_prog_gnu_ld+:} false; then :
5017    $as_echo_n "(cached) " >&6
5018   else
5019    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4952 | Line 5040 | with_gnu_ld=$lt_cv_prog_gnu_ld
5040  
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5042   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5043 < if test "${lt_cv_path_NM+set}" = set; then :
5043 > if ${lt_cv_path_NM+:} false; then :
5044    $as_echo_n "(cached) " >&6
5045   else
5046    if test -n "$NM"; then
# Line 5005 | Line 5093 | if test "$lt_cv_path_NM" != "no"; then
5093    NM="$lt_cv_path_NM"
5094   else
5095    # Didn't find any BSD compatible name lister, look for dumpbin.
5096 <  if test -n "$ac_tool_prefix"; then
5097 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5096 >  if test -n "$DUMPBIN"; then :
5097 >    # Let the user override the test.
5098 >  else
5099 >    if test -n "$ac_tool_prefix"; then
5100 >  for ac_prog in dumpbin "link -dump"
5101    do
5102      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5103   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105   $as_echo_n "checking for $ac_word... " >&6; }
5106 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5106 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5107    $as_echo_n "(cached) " >&6
5108   else
5109    if test -n "$DUMPBIN"; then
# Line 5024 | Line 5115 | do
5115    IFS=$as_save_IFS
5116    test -z "$as_dir" && as_dir=.
5117      for ac_exec_ext in '' $ac_executable_extensions; do
5118 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5120      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121      break 2
# Line 5050 | Line 5141 | fi
5141   fi
5142   if test -z "$DUMPBIN"; then
5143    ac_ct_DUMPBIN=$DUMPBIN
5144 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5144 >  for ac_prog in dumpbin "link -dump"
5145   do
5146    # Extract the first word of "$ac_prog", so it can be a program name with args.
5147   set dummy $ac_prog; ac_word=$2
5148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149   $as_echo_n "checking for $ac_word... " >&6; }
5150 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5150 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5151    $as_echo_n "(cached) " >&6
5152   else
5153    if test -n "$ac_ct_DUMPBIN"; then
# Line 5068 | Line 5159 | do
5159    IFS=$as_save_IFS
5160    test -z "$as_dir" && as_dir=.
5161      for ac_exec_ext in '' $ac_executable_extensions; do
5162 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5164      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165      break 2
# Line 5105 | Line 5196 | esac
5196    fi
5197   fi
5198  
5199 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5200 +    *COFF*)
5201 +      DUMPBIN="$DUMPBIN -symbols"
5202 +      ;;
5203 +    *)
5204 +      DUMPBIN=:
5205 +      ;;
5206 +    esac
5207 +  fi
5208  
5209    if test "$DUMPBIN" != ":"; then
5210      NM="$DUMPBIN"
# Line 5119 | Line 5219 | test -z "$NM" && NM=nm
5219  
5220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5221   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5222 < if test "${lt_cv_nm_interface+set}" = set; then :
5222 > if ${lt_cv_nm_interface+:} false; then :
5223    $as_echo_n "(cached) " >&6
5224   else
5225    lt_cv_nm_interface="BSD nm"
5226    echo "int some_variable = 0;" > conftest.$ac_ext
5227 <  (eval echo "\"\$as_me:5127: $ac_compile\"" >&5)
5227 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5228    (eval "$ac_compile" 2>conftest.err)
5229    cat conftest.err >&5
5230 <  (eval echo "\"\$as_me:5130: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5230 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5231    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5232    cat conftest.err >&5
5233 <  (eval echo "\"\$as_me:5133: output\"" >&5)
5233 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5234    cat conftest.out >&5
5235    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5236      lt_cv_nm_interface="MS dumpbin"
# Line 5154 | Line 5254 | fi
5254   # find the maximum length of command line arguments
5255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5256   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5257 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5257 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5258    $as_echo_n "(cached) " >&6
5259   else
5260      i=0
# Line 5187 | Line 5287 | else
5287      lt_cv_sys_max_cmd_len=8192;
5288      ;;
5289  
5290 +  mint*)
5291 +    # On MiNT this can take a long time and run out of memory.
5292 +    lt_cv_sys_max_cmd_len=8192;
5293 +    ;;
5294 +
5295    amigaos*)
5296      # On AmigaOS with pdksh, this test takes hours, literally.
5297      # So we just punt and use a minimum line length of 8192.
# Line 5212 | Line 5317 | else
5317      lt_cv_sys_max_cmd_len=196608
5318      ;;
5319  
5320 +  os2*)
5321 +    # The test takes a long time on OS/2.
5322 +    lt_cv_sys_max_cmd_len=8192
5323 +    ;;
5324 +
5325    osf*)
5326      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5327      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5251 | Line 5361 | else
5361        # If test is not a shell built-in, we'll probably end up computing a
5362        # maximum length that is only half of the actual maximum length, but
5363        # we can't tell.
5364 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5365 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5364 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5365 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5366                test $i != 17 # 1/2 MB should be enough
5367        do
5368          i=`expr $i + 1`
# Line 5294 | Line 5404 | $as_echo_n "checking whether the shell u
5404   # Try some XSI features
5405   xsi_shell=no
5406   ( _lt_dummy="a/b/c"
5407 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5408 <      = c,a/b,, \
5407 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5408 >      = c,a/b,b/c, \
5409      && eval 'test $(( 1 + 1 )) -eq 2 \
5410      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5411    && xsi_shell=yes
# Line 5344 | Line 5454 | esac
5454  
5455  
5456  
5457 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5458 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5459 + if ${lt_cv_to_host_file_cmd+:} false; then :
5460 +  $as_echo_n "(cached) " >&6
5461 + else
5462 +  case $host in
5463 +  *-*-mingw* )
5464 +    case $build in
5465 +      *-*-mingw* ) # actually msys
5466 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5467 +        ;;
5468 +      *-*-cygwin* )
5469 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5470 +        ;;
5471 +      * ) # otherwise, assume *nix
5472 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5473 +        ;;
5474 +    esac
5475 +    ;;
5476 +  *-*-cygwin* )
5477 +    case $build in
5478 +      *-*-mingw* ) # actually msys
5479 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5480 +        ;;
5481 +      *-*-cygwin* )
5482 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5483 +        ;;
5484 +      * ) # otherwise, assume *nix
5485 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5486 +        ;;
5487 +    esac
5488 +    ;;
5489 +  * ) # unhandled hosts (and "normal" native builds)
5490 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5491 +    ;;
5492 + esac
5493 +
5494 + fi
5495 +
5496 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5497 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5498 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5499 +
5500 +
5501 +
5502 +
5503 +
5504 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5505 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5506 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5507 +  $as_echo_n "(cached) " >&6
5508 + else
5509 +  #assume ordinary cross tools, or native build.
5510 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5511 + case $host in
5512 +  *-*-mingw* )
5513 +    case $build in
5514 +      *-*-mingw* ) # actually msys
5515 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5516 +        ;;
5517 +    esac
5518 +    ;;
5519 + esac
5520 +
5521 + fi
5522 +
5523 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5524 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5525 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5526 +
5527 +
5528 +
5529 +
5530 +
5531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5532   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5533 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5533 > if ${lt_cv_ld_reload_flag+:} false; then :
5534    $as_echo_n "(cached) " >&6
5535   else
5536    lt_cv_ld_reload_flag='-r'
# Line 5360 | Line 5544 | case $reload_flag in
5544   esac
5545   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5546   case $host_os in
5547 +  cygwin* | mingw* | pw32* | cegcc*)
5548 +    if test "$GCC" != yes; then
5549 +      reload_cmds=false
5550 +    fi
5551 +    ;;
5552    darwin*)
5553      if test "$GCC" = yes; then
5554        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5382 | Line 5571 | if test -n "$ac_tool_prefix"; then
5571   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573   $as_echo_n "checking for $ac_word... " >&6; }
5574 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5574 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5575    $as_echo_n "(cached) " >&6
5576   else
5577    if test -n "$OBJDUMP"; then
# Line 5394 | Line 5583 | do
5583    IFS=$as_save_IFS
5584    test -z "$as_dir" && as_dir=.
5585      for ac_exec_ext in '' $ac_executable_extensions; do
5586 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5588      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589      break 2
# Line 5422 | Line 5611 | if test -z "$ac_cv_prog_OBJDUMP"; then
5611   set dummy objdump; ac_word=$2
5612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613   $as_echo_n "checking for $ac_word... " >&6; }
5614 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5614 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5615    $as_echo_n "(cached) " >&6
5616   else
5617    if test -n "$ac_ct_OBJDUMP"; then
# Line 5434 | Line 5623 | do
5623    IFS=$as_save_IFS
5624    test -z "$as_dir" && as_dir=.
5625      for ac_exec_ext in '' $ac_executable_extensions; do
5626 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5626 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5628      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629      break 2
# Line 5481 | Line 5670 | test -z "$OBJDUMP" && OBJDUMP=objdump
5670  
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5672   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5673 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5673 > if ${lt_cv_deplibs_check_method+:} false; then :
5674    $as_echo_n "(cached) " >&6
5675   else
5676    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5523 | Line 5712 | mingw* | pw32*)
5712    # Base MSYS/MinGW do not provide the 'file' command needed by
5713    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5714    # unless we find 'file', for example because we are cross-compiling.
5715 <  if ( file / ) >/dev/null 2>&1; then
5715 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5716 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5717      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5718      lt_cv_file_magic_cmd='func_win32_libid'
5719    else
5720 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5720 >    # Keep this pattern in sync with the one in func_win32_libid.
5721 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5722      lt_cv_file_magic_cmd='$OBJDUMP -f'
5723    fi
5724    ;;
5725  
5726 < cegcc)
5726 > cegcc*)
5727    # use the weaker test based on 'objdump'. See mingw*.
5728    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5729    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5562 | Line 5753 | gnu*)
5753    lt_cv_deplibs_check_method=pass_all
5754    ;;
5755  
5756 + haiku*)
5757 +  lt_cv_deplibs_check_method=pass_all
5758 +  ;;
5759 +
5760   hpux10.20* | hpux11*)
5761    lt_cv_file_magic_cmd=/usr/bin/file
5762    case $host_cpu in
# Line 5570 | Line 5765 | hpux10.20* | hpux11*)
5765      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5766      ;;
5767    hppa*64*)
5768 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5768 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5769      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5770      ;;
5771    *)
5772 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5772 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5773      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5774      ;;
5775    esac
# Line 5595 | Line 5790 | irix5* | irix6* | nonstopux*)
5790    lt_cv_deplibs_check_method=pass_all
5791    ;;
5792  
5793 < # This must be Linux ELF.
5794 < linux* | k*bsd*-gnu)
5793 > # This must be glibc/ELF.
5794 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5795    lt_cv_deplibs_check_method=pass_all
5796    ;;
5797  
# Line 5677 | Line 5872 | esac
5872   fi
5873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5874   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5875 +
5876 + file_magic_glob=
5877 + want_nocaseglob=no
5878 + if test "$build" = "$host"; then
5879 +  case $host_os in
5880 +  mingw* | pw32*)
5881 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5882 +      want_nocaseglob=yes
5883 +    else
5884 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5885 +    fi
5886 +    ;;
5887 +  esac
5888 + fi
5889 +
5890   file_magic_cmd=$lt_cv_file_magic_cmd
5891   deplibs_check_method=$lt_cv_deplibs_check_method
5892   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5692 | Line 5902 | test -z "$deplibs_check_method" && depli
5902  
5903  
5904  
5905 +
5906 +
5907 +
5908 +
5909 +
5910 +
5911 +
5912 +
5913 +
5914 +
5915 + if test -n "$ac_tool_prefix"; then
5916 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5917 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5918 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 + $as_echo_n "checking for $ac_word... " >&6; }
5920 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5921 +  $as_echo_n "(cached) " >&6
5922 + else
5923 +  if test -n "$DLLTOOL"; then
5924 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5925 + else
5926 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 + for as_dir in $PATH
5928 + do
5929 +  IFS=$as_save_IFS
5930 +  test -z "$as_dir" && as_dir=.
5931 +    for ac_exec_ext in '' $ac_executable_extensions; do
5932 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5933 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5934 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 +    break 2
5936 +  fi
5937 + done
5938 +  done
5939 + IFS=$as_save_IFS
5940 +
5941 + fi
5942 + fi
5943 + DLLTOOL=$ac_cv_prog_DLLTOOL
5944 + if test -n "$DLLTOOL"; then
5945 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5946 + $as_echo "$DLLTOOL" >&6; }
5947 + else
5948 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 + $as_echo "no" >&6; }
5950 + fi
5951 +
5952 +
5953 + fi
5954 + if test -z "$ac_cv_prog_DLLTOOL"; then
5955 +  ac_ct_DLLTOOL=$DLLTOOL
5956 +  # Extract the first word of "dlltool", so it can be a program name with args.
5957 + set dummy dlltool; ac_word=$2
5958 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 + $as_echo_n "checking for $ac_word... " >&6; }
5960 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5961 +  $as_echo_n "(cached) " >&6
5962 + else
5963 +  if test -n "$ac_ct_DLLTOOL"; then
5964 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5965 + else
5966 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 + for as_dir in $PATH
5968 + do
5969 +  IFS=$as_save_IFS
5970 +  test -z "$as_dir" && as_dir=.
5971 +    for ac_exec_ext in '' $ac_executable_extensions; do
5972 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5974 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 +    break 2
5976 +  fi
5977 + done
5978 +  done
5979 + IFS=$as_save_IFS
5980 +
5981 + fi
5982 + fi
5983 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5984 + if test -n "$ac_ct_DLLTOOL"; then
5985 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5986 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5987 + else
5988 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 + $as_echo "no" >&6; }
5990 + fi
5991 +
5992 +  if test "x$ac_ct_DLLTOOL" = x; then
5993 +    DLLTOOL="false"
5994 +  else
5995 +    case $cross_compiling:$ac_tool_warned in
5996 + yes:)
5997 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5998 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5999 + ac_tool_warned=yes ;;
6000 + esac
6001 +    DLLTOOL=$ac_ct_DLLTOOL
6002 +  fi
6003 + else
6004 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
6005 + fi
6006 +
6007 + test -z "$DLLTOOL" && DLLTOOL=dlltool
6008 +
6009 +
6010 +
6011 +
6012 +
6013 +
6014 +
6015 +
6016 +
6017 +
6018 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6019 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6020 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6021 +  $as_echo_n "(cached) " >&6
6022 + else
6023 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6024 +
6025 + case $host_os in
6026 + cygwin* | mingw* | pw32* | cegcc*)
6027 +  # two different shell functions defined in ltmain.sh
6028 +  # decide which to use based on capabilities of $DLLTOOL
6029 +  case `$DLLTOOL --help 2>&1` in
6030 +  *--identify-strict*)
6031 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6032 +    ;;
6033 +  *)
6034 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6035 +    ;;
6036 +  esac
6037 +  ;;
6038 + *)
6039 +  # fallback: assume linklib IS sharedlib
6040 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6041 +  ;;
6042 + esac
6043 +
6044 + fi
6045 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6046 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6047 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6048 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6049 +
6050 +
6051 +
6052 +
6053 +
6054 +
6055 +
6056   if test -n "$ac_tool_prefix"; then
6057 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6058 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6057 >  for ac_prog in ar
6058 >  do
6059 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6060 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062   $as_echo_n "checking for $ac_word... " >&6; }
6063 < if test "${ac_cv_prog_AR+set}" = set; then :
6063 > if ${ac_cv_prog_AR+:} false; then :
6064    $as_echo_n "(cached) " >&6
6065   else
6066    if test -n "$AR"; then
# Line 5709 | Line 6072 | do
6072    IFS=$as_save_IFS
6073    test -z "$as_dir" && as_dir=.
6074      for ac_exec_ext in '' $ac_executable_extensions; do
6075 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6075 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6077      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078      break 2
6079    fi
# Line 5730 | Line 6093 | $as_echo "no" >&6; }
6093   fi
6094  
6095  
6096 +    test -n "$AR" && break
6097 +  done
6098   fi
6099 < if test -z "$ac_cv_prog_AR"; then
6099 > if test -z "$AR"; then
6100    ac_ct_AR=$AR
6101 <  # Extract the first word of "ar", so it can be a program name with args.
6102 < set dummy ar; ac_word=$2
6101 >  for ac_prog in ar
6102 > do
6103 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6104 > set dummy $ac_prog; ac_word=$2
6105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106   $as_echo_n "checking for $ac_word... " >&6; }
6107 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6107 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6108    $as_echo_n "(cached) " >&6
6109   else
6110    if test -n "$ac_ct_AR"; then
# Line 5749 | Line 6116 | do
6116    IFS=$as_save_IFS
6117    test -z "$as_dir" && as_dir=.
6118      for ac_exec_ext in '' $ac_executable_extensions; do
6119 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 <    ac_cv_prog_ac_ct_AR="ar"
6119 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6121      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122      break 2
6123    fi
# Line 5769 | Line 6136 | else
6136   $as_echo "no" >&6; }
6137   fi
6138  
6139 +
6140 +  test -n "$ac_ct_AR" && break
6141 + done
6142 +
6143    if test "x$ac_ct_AR" = x; then
6144      AR="false"
6145    else
# Line 5780 | Line 6151 | ac_tool_warned=yes ;;
6151   esac
6152      AR=$ac_ct_AR
6153    fi
5783 else
5784  AR="$ac_cv_prog_AR"
6154   fi
6155  
6156 < test -z "$AR" && AR=ar
6157 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6156 > : ${AR=ar}
6157 > : ${AR_FLAGS=cru}
6158  
6159  
6160  
# Line 5797 | Line 6166 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6166  
6167  
6168  
6169 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6170 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6171 + if ${lt_cv_ar_at_file+:} false; then :
6172 +  $as_echo_n "(cached) " >&6
6173 + else
6174 +  lt_cv_ar_at_file=no
6175 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6176 + /* end confdefs.h.  */
6177 +
6178 + int
6179 + main ()
6180 + {
6181 +
6182 +  ;
6183 +  return 0;
6184 + }
6185 + _ACEOF
6186 + if ac_fn_c_try_compile "$LINENO"; then :
6187 +  echo conftest.$ac_objext > conftest.lst
6188 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6189 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6190 +  (eval $lt_ar_try) 2>&5
6191 +  ac_status=$?
6192 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6193 +  test $ac_status = 0; }
6194 +      if test "$ac_status" -eq 0; then
6195 +        # Ensure the archiver fails upon bogus file names.
6196 +        rm -f conftest.$ac_objext libconftest.a
6197 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6198 +  (eval $lt_ar_try) 2>&5
6199 +  ac_status=$?
6200 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6201 +  test $ac_status = 0; }
6202 +        if test "$ac_status" -ne 0; then
6203 +          lt_cv_ar_at_file=@
6204 +        fi
6205 +      fi
6206 +      rm -f conftest.* libconftest.a
6207 +
6208 + fi
6209 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210 +
6211 + fi
6212 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6213 + $as_echo "$lt_cv_ar_at_file" >&6; }
6214 +
6215 + if test "x$lt_cv_ar_at_file" = xno; then
6216 +  archiver_list_spec=
6217 + else
6218 +  archiver_list_spec=$lt_cv_ar_at_file
6219 + fi
6220 +
6221 +
6222 +
6223 +
6224 +
6225 +
6226 +
6227   if test -n "$ac_tool_prefix"; then
6228    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6229   set dummy ${ac_tool_prefix}strip; ac_word=$2
6230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231   $as_echo_n "checking for $ac_word... " >&6; }
6232 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6232 > if ${ac_cv_prog_STRIP+:} false; then :
6233    $as_echo_n "(cached) " >&6
6234   else
6235    if test -n "$STRIP"; then
# Line 5814 | Line 6241 | do
6241    IFS=$as_save_IFS
6242    test -z "$as_dir" && as_dir=.
6243      for ac_exec_ext in '' $ac_executable_extensions; do
6244 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6246      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247      break 2
# Line 5842 | Line 6269 | if test -z "$ac_cv_prog_STRIP"; then
6269   set dummy strip; ac_word=$2
6270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271   $as_echo_n "checking for $ac_word... " >&6; }
6272 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6272 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6273    $as_echo_n "(cached) " >&6
6274   else
6275    if test -n "$ac_ct_STRIP"; then
# Line 5854 | Line 6281 | do
6281    IFS=$as_save_IFS
6282    test -z "$as_dir" && as_dir=.
6283      for ac_exec_ext in '' $ac_executable_extensions; do
6284 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6284 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285      ac_cv_prog_ac_ct_STRIP="strip"
6286      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287      break 2
# Line 5901 | Line 6328 | if test -n "$ac_tool_prefix"; then
6328   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330   $as_echo_n "checking for $ac_word... " >&6; }
6331 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6331 > if ${ac_cv_prog_RANLIB+:} false; then :
6332    $as_echo_n "(cached) " >&6
6333   else
6334    if test -n "$RANLIB"; then
# Line 5913 | Line 6340 | do
6340    IFS=$as_save_IFS
6341    test -z "$as_dir" && as_dir=.
6342      for ac_exec_ext in '' $ac_executable_extensions; do
6343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 5941 | Line 6368 | if test -z "$ac_cv_prog_RANLIB"; then
6368   set dummy ranlib; ac_word=$2
6369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370   $as_echo_n "checking for $ac_word... " >&6; }
6371 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6371 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6372    $as_echo_n "(cached) " >&6
6373   else
6374    if test -n "$ac_ct_RANLIB"; then
# Line 5953 | Line 6380 | do
6380    IFS=$as_save_IFS
6381    test -z "$as_dir" && as_dir=.
6382      for ac_exec_ext in '' $ac_executable_extensions; do
6383 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6384      ac_cv_prog_ac_ct_RANLIB="ranlib"
6385      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386      break 2
# Line 6003 | Line 6430 | old_postuninstall_cmds=
6430   if test -n "$RANLIB"; then
6431    case $host_os in
6432    openbsd*)
6433 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6433 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6434      ;;
6435    *)
6436 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6436 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6437      ;;
6438    esac
6439 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6439 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6440   fi
6441  
6442 + case $host_os in
6443 +  darwin*)
6444 +    lock_old_archive_extraction=yes ;;
6445 +  *)
6446 +    lock_old_archive_extraction=no ;;
6447 + esac
6448 +
6449 +
6450 +
6451 +
6452 +
6453 +
6454  
6455  
6456  
# Line 6058 | Line 6497 | compiler=$CC
6497   # Check for command to grab the raw symbol name followed by C symbol from nm.
6498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6499   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6500 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6500 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6501    $as_echo_n "(cached) " >&6
6502   else
6503  
# Line 6119 | Line 6558 | esac
6558   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6559  
6560   # Transform an extracted symbol line into symbol name and symbol address
6561 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6562 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6561 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6562 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6563  
6564   # Handle CRLF in mingw tool chain
6565   opt_cr=
# Line 6144 | Line 6583 | for ac_symprfx in "" "_"; do
6583      # which start with @ or ?.
6584      lt_cv_sys_global_symbol_pipe="$AWK '"\
6585   "     {last_section=section; section=\$ 3};"\
6586 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6587   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6588   "     \$ 0!~/External *\|/{next};"\
6589   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6156 | Line 6596 | for ac_symprfx in "" "_"; do
6596    else
6597      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6598    fi
6599 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6600  
6601    # Check to see that the pipe works correctly.
6602    pipe_works=no
# Line 6181 | Line 6622 | _LT_EOF
6622    test $ac_status = 0; }; then
6623      # Now try to grab the symbols.
6624      nlist=conftest.nm
6625 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6626 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6625 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6626 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6627    ac_status=$?
6628    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6197 | Line 6638 | _LT_EOF
6638        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6639          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6640            cat <<_LT_EOF > conftest.$ac_ext
6641 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6642 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6643 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6644 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6645 + # define LT_DLSYM_CONST
6646 + #elif defined(__osf__)
6647 + /* This system does not cope well with relocations in const data.  */
6648 + # define LT_DLSYM_CONST
6649 + #else
6650 + # define LT_DLSYM_CONST const
6651 + #endif
6652 +
6653   #ifdef __cplusplus
6654   extern "C" {
6655   #endif
# Line 6208 | Line 6661 | _LT_EOF
6661            cat <<_LT_EOF >> conftest.$ac_ext
6662  
6663   /* The mapping between symbol names and symbols.  */
6664 < const struct {
6664 > LT_DLSYM_CONST struct {
6665    const char *name;
6666    void       *address;
6667   }
# Line 6234 | Line 6687 | static const void *lt_preloaded_setup()
6687   _LT_EOF
6688            # Now try linking the two files.
6689            mv conftest.$ac_objext conftstm.$ac_objext
6690 <          lt_save_LIBS="$LIBS"
6691 <          lt_save_CFLAGS="$CFLAGS"
6690 >          lt_globsym_save_LIBS=$LIBS
6691 >          lt_globsym_save_CFLAGS=$CFLAGS
6692            LIBS="conftstm.$ac_objext"
6693            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6694            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6245 | Line 6698 | _LT_EOF
6698    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6699              pipe_works=yes
6700            fi
6701 <          LIBS="$lt_save_LIBS"
6702 <          CFLAGS="$lt_save_CFLAGS"
6701 >          LIBS=$lt_globsym_save_LIBS
6702 >          CFLAGS=$lt_globsym_save_CFLAGS
6703          else
6704            echo "cannot find nm_test_func in $nlist" >&5
6705          fi
# Line 6283 | Line 6736 | else
6736   $as_echo "ok" >&6; }
6737   fi
6738  
6739 + # Response file support.
6740 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6741 +  nm_file_list_spec='@'
6742 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6743 +  nm_file_list_spec='@'
6744 + fi
6745 +
6746 +
6747  
6748  
6749  
# Line 6304 | Line 6765 | fi
6765  
6766  
6767  
6768 +
6769 +
6770 +
6771 +
6772 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6773 + $as_echo_n "checking for sysroot... " >&6; }
6774 +
6775 + # Check whether --with-sysroot was given.
6776 + if test "${with_sysroot+set}" = set; then :
6777 +  withval=$with_sysroot;
6778 + else
6779 +  with_sysroot=no
6780 + fi
6781 +
6782 +
6783 + lt_sysroot=
6784 + case ${with_sysroot} in #(
6785 + yes)
6786 +   if test "$GCC" = yes; then
6787 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6788 +   fi
6789 +   ;; #(
6790 + /*)
6791 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6792 +   ;; #(
6793 + no|'')
6794 +   ;; #(
6795 + *)
6796 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6797 + $as_echo "${with_sysroot}" >&6; }
6798 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6799 +   ;;
6800 + esac
6801 +
6802 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6803 + $as_echo "${lt_sysroot:-no}" >&6; }
6804 +
6805 +
6806 +
6807 +
6808 +
6809   # Check whether --enable-libtool-lock was given.
6810   if test "${enable_libtool_lock+set}" = set; then :
6811    enableval=$enable_libtool_lock;
# Line 6335 | Line 6837 | ia64-*-hpux*)
6837    ;;
6838   *-*-irix6*)
6839    # Find out which ABI we are using.
6840 <  echo '#line 6338 "configure"' > conftest.$ac_ext
6840 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6841    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6842    (eval $ac_compile) 2>&5
6843    ac_status=$?
# Line 6429 | Line 6931 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6931    CFLAGS="$CFLAGS -belf"
6932    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6933   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6934 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6934 > if ${lt_cv_cc_needs_belf+:} false; then :
6935    $as_echo_n "(cached) " >&6
6936   else
6937    ac_ext=c
# Line 6470 | Line 6972 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6972      CFLAGS="$SAVE_CFLAGS"
6973    fi
6974    ;;
6975 < sparc*-*solaris*)
6975 > *-*solaris*)
6976    # Find out which ABI we are using.
6977    echo 'int i;' > conftest.$ac_ext
6978    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6481 | Line 6983 | sparc*-*solaris*)
6983      case `/usr/bin/file conftest.o` in
6984      *64-bit*)
6985        case $lt_cv_prog_gnu_ld in
6986 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6986 >      yes*)
6987 >        case $host in
6988 >        i?86-*-solaris*)
6989 >          LD="${LD-ld} -m elf_x86_64"
6990 >          ;;
6991 >        sparc*-*-solaris*)
6992 >          LD="${LD-ld} -m elf64_sparc"
6993 >          ;;
6994 >        esac
6995 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6996 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6997 >          LD="${LD-ld}_sol2"
6998 >        fi
6999 >        ;;
7000        *)
7001          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7002            LD="${LD-ld} -64"
# Line 6497 | Line 7012 | esac
7012  
7013   need_locks="$enable_libtool_lock"
7014  
7015 + if test -n "$ac_tool_prefix"; then
7016 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7017 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7018 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 + $as_echo_n "checking for $ac_word... " >&6; }
7020 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7021 +  $as_echo_n "(cached) " >&6
7022 + else
7023 +  if test -n "$MANIFEST_TOOL"; then
7024 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7025 + else
7026 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 + for as_dir in $PATH
7028 + do
7029 +  IFS=$as_save_IFS
7030 +  test -z "$as_dir" && as_dir=.
7031 +    for ac_exec_ext in '' $ac_executable_extensions; do
7032 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7034 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 +    break 2
7036 +  fi
7037 + done
7038 +  done
7039 + IFS=$as_save_IFS
7040 +
7041 + fi
7042 + fi
7043 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7044 + if test -n "$MANIFEST_TOOL"; then
7045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7046 + $as_echo "$MANIFEST_TOOL" >&6; }
7047 + else
7048 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 + $as_echo "no" >&6; }
7050 + fi
7051 +
7052 +
7053 + fi
7054 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7055 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7056 +  # Extract the first word of "mt", so it can be a program name with args.
7057 + set dummy mt; ac_word=$2
7058 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 + $as_echo_n "checking for $ac_word... " >&6; }
7060 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7061 +  $as_echo_n "(cached) " >&6
7062 + else
7063 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7064 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7065 + else
7066 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 + for as_dir in $PATH
7068 + do
7069 +  IFS=$as_save_IFS
7070 +  test -z "$as_dir" && as_dir=.
7071 +    for ac_exec_ext in '' $ac_executable_extensions; do
7072 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7073 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7074 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075 +    break 2
7076 +  fi
7077 + done
7078 +  done
7079 + IFS=$as_save_IFS
7080 +
7081 + fi
7082 + fi
7083 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7084 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7085 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7086 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7087 + else
7088 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 + $as_echo "no" >&6; }
7090 + fi
7091 +
7092 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7093 +    MANIFEST_TOOL=":"
7094 +  else
7095 +    case $cross_compiling:$ac_tool_warned in
7096 + yes:)
7097 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7098 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7099 + ac_tool_warned=yes ;;
7100 + esac
7101 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7102 +  fi
7103 + else
7104 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7105 + fi
7106 +
7107 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7108 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7109 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7110 + if ${lt_cv_path_mainfest_tool+:} false; then :
7111 +  $as_echo_n "(cached) " >&6
7112 + else
7113 +  lt_cv_path_mainfest_tool=no
7114 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7115 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7116 +  cat conftest.err >&5
7117 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7118 +    lt_cv_path_mainfest_tool=yes
7119 +  fi
7120 +  rm -f conftest*
7121 + fi
7122 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7123 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7124 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7125 +  MANIFEST_TOOL=:
7126 + fi
7127 +
7128 +
7129 +
7130 +
7131 +
7132  
7133    case $host_os in
7134      rhapsody* | darwin*)
# Line 6505 | Line 7137 | need_locks="$enable_libtool_lock"
7137   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139   $as_echo_n "checking for $ac_word... " >&6; }
7140 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7140 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7141    $as_echo_n "(cached) " >&6
7142   else
7143    if test -n "$DSYMUTIL"; then
# Line 6517 | Line 7149 | do
7149    IFS=$as_save_IFS
7150    test -z "$as_dir" && as_dir=.
7151      for ac_exec_ext in '' $ac_executable_extensions; do
7152 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7153      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7154      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155      break 2
# Line 6545 | Line 7177 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7177   set dummy dsymutil; ac_word=$2
7178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179   $as_echo_n "checking for $ac_word... " >&6; }
7180 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7180 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7181    $as_echo_n "(cached) " >&6
7182   else
7183    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6557 | Line 7189 | do
7189    IFS=$as_save_IFS
7190    test -z "$as_dir" && as_dir=.
7191      for ac_exec_ext in '' $ac_executable_extensions; do
7192 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7192 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7194      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195      break 2
# Line 6597 | Line 7229 | fi
7229   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231   $as_echo_n "checking for $ac_word... " >&6; }
7232 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7232 > if ${ac_cv_prog_NMEDIT+:} false; then :
7233    $as_echo_n "(cached) " >&6
7234   else
7235    if test -n "$NMEDIT"; then
# Line 6609 | Line 7241 | do
7241    IFS=$as_save_IFS
7242    test -z "$as_dir" && as_dir=.
7243      for ac_exec_ext in '' $ac_executable_extensions; do
7244 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7246      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247      break 2
# Line 6637 | Line 7269 | if test -z "$ac_cv_prog_NMEDIT"; then
7269   set dummy nmedit; ac_word=$2
7270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271   $as_echo_n "checking for $ac_word... " >&6; }
7272 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7272 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7273    $as_echo_n "(cached) " >&6
7274   else
7275    if test -n "$ac_ct_NMEDIT"; then
# Line 6649 | Line 7281 | do
7281    IFS=$as_save_IFS
7282    test -z "$as_dir" && as_dir=.
7283      for ac_exec_ext in '' $ac_executable_extensions; do
7284 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7284 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7286      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287      break 2
# Line 6689 | Line 7321 | fi
7321   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323   $as_echo_n "checking for $ac_word... " >&6; }
7324 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7324 > if ${ac_cv_prog_LIPO+:} false; then :
7325    $as_echo_n "(cached) " >&6
7326   else
7327    if test -n "$LIPO"; then
# Line 6701 | Line 7333 | do
7333    IFS=$as_save_IFS
7334    test -z "$as_dir" && as_dir=.
7335      for ac_exec_ext in '' $ac_executable_extensions; do
7336 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7338      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339      break 2
# Line 6729 | Line 7361 | if test -z "$ac_cv_prog_LIPO"; then
7361   set dummy lipo; ac_word=$2
7362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363   $as_echo_n "checking for $ac_word... " >&6; }
7364 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7364 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7365    $as_echo_n "(cached) " >&6
7366   else
7367    if test -n "$ac_ct_LIPO"; then
# Line 6741 | Line 7373 | do
7373    IFS=$as_save_IFS
7374    test -z "$as_dir" && as_dir=.
7375      for ac_exec_ext in '' $ac_executable_extensions; do
7376 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7376 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377      ac_cv_prog_ac_ct_LIPO="lipo"
7378      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379      break 2
# Line 6781 | Line 7413 | fi
7413   set dummy ${ac_tool_prefix}otool; ac_word=$2
7414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415   $as_echo_n "checking for $ac_word... " >&6; }
7416 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7416 > if ${ac_cv_prog_OTOOL+:} false; then :
7417    $as_echo_n "(cached) " >&6
7418   else
7419    if test -n "$OTOOL"; then
# Line 6793 | Line 7425 | do
7425    IFS=$as_save_IFS
7426    test -z "$as_dir" && as_dir=.
7427      for ac_exec_ext in '' $ac_executable_extensions; do
7428 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7429      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7430      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431      break 2
# Line 6821 | Line 7453 | if test -z "$ac_cv_prog_OTOOL"; then
7453   set dummy otool; ac_word=$2
7454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455   $as_echo_n "checking for $ac_word... " >&6; }
7456 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7456 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7457    $as_echo_n "(cached) " >&6
7458   else
7459    if test -n "$ac_ct_OTOOL"; then
# Line 6833 | Line 7465 | do
7465    IFS=$as_save_IFS
7466    test -z "$as_dir" && as_dir=.
7467      for ac_exec_ext in '' $ac_executable_extensions; do
7468 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7468 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7469      ac_cv_prog_ac_ct_OTOOL="otool"
7470      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471      break 2
# Line 6873 | Line 7505 | fi
7505   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507   $as_echo_n "checking for $ac_word... " >&6; }
7508 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7508 > if ${ac_cv_prog_OTOOL64+:} false; then :
7509    $as_echo_n "(cached) " >&6
7510   else
7511    if test -n "$OTOOL64"; then
# Line 6885 | Line 7517 | do
7517    IFS=$as_save_IFS
7518    test -z "$as_dir" && as_dir=.
7519      for ac_exec_ext in '' $ac_executable_extensions; do
7520 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7521      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7522      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523      break 2
# Line 6913 | Line 7545 | if test -z "$ac_cv_prog_OTOOL64"; then
7545   set dummy otool64; ac_word=$2
7546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547   $as_echo_n "checking for $ac_word... " >&6; }
7548 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7548 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7549    $as_echo_n "(cached) " >&6
7550   else
7551    if test -n "$ac_ct_OTOOL64"; then
# Line 6925 | Line 7557 | do
7557    IFS=$as_save_IFS
7558    test -z "$as_dir" && as_dir=.
7559      for ac_exec_ext in '' $ac_executable_extensions; do
7560 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7560 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7561      ac_cv_prog_ac_ct_OTOOL64="otool64"
7562      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563      break 2
# Line 6988 | Line 7620 | fi
7620  
7621      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7622   $as_echo_n "checking for -single_module linker flag... " >&6; }
7623 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7623 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7624    $as_echo_n "(cached) " >&6
7625   else
7626    lt_cv_apple_cc_single_mod=no
# Line 7004 | Line 7636 | else
7636          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7637            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7638          _lt_result=$?
7639 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7639 >        # If there is a non-empty error log, and "single_module"
7640 >        # appears in it, assume the flag caused a linker warning
7641 >        if test -s conftest.err && $GREP single_module conftest.err; then
7642 >          cat conftest.err >&5
7643 >        # Otherwise, if the output was created with a 0 exit code from
7644 >        # the compiler, it worked.
7645 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7646            lt_cv_apple_cc_single_mod=yes
7647          else
7648            cat conftest.err >&5
# Line 7015 | Line 7653 | else
7653   fi
7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7655   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7656 +
7657      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7658   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7659 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7659 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7660    $as_echo_n "(cached) " >&6
7661   else
7662    lt_cv_ld_exported_symbols_list=no
# Line 7047 | Line 7686 | rm -f core conftest.err conftest.$ac_obj
7686   fi
7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7688   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7689 +
7690 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7691 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7692 + if ${lt_cv_ld_force_load+:} false; then :
7693 +  $as_echo_n "(cached) " >&6
7694 + else
7695 +  lt_cv_ld_force_load=no
7696 +      cat > conftest.c << _LT_EOF
7697 + int forced_loaded() { return 2;}
7698 + _LT_EOF
7699 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7700 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7701 +      echo "$AR cru libconftest.a conftest.o" >&5
7702 +      $AR cru libconftest.a conftest.o 2>&5
7703 +      echo "$RANLIB libconftest.a" >&5
7704 +      $RANLIB libconftest.a 2>&5
7705 +      cat > conftest.c << _LT_EOF
7706 + int main() { return 0;}
7707 + _LT_EOF
7708 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7709 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7710 +      _lt_result=$?
7711 +      if test -s conftest.err && $GREP force_load conftest.err; then
7712 +        cat conftest.err >&5
7713 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7714 +        lt_cv_ld_force_load=yes
7715 +      else
7716 +        cat conftest.err >&5
7717 +      fi
7718 +        rm -f conftest.err libconftest.a conftest conftest.c
7719 +        rm -rf conftest.dSYM
7720 +
7721 + fi
7722 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7723 + $as_echo "$lt_cv_ld_force_load" >&6; }
7724      case $host_os in
7725      rhapsody* | darwin1.[012])
7726        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7074 | Line 7748 | $as_echo "$lt_cv_ld_exported_symbols_lis
7748      else
7749        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7750      fi
7751 <    if test "$DSYMUTIL" != ":"; then
7751 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7752        _lt_dsymutil='~$DSYMUTIL $lib || :'
7753      else
7754        _lt_dsymutil=
# Line 7094 | Line 7768 | if test -n "$CPP" && test -d "$CPP"; the
7768    CPP=
7769   fi
7770   if test -z "$CPP"; then
7771 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7771 >  if ${ac_cv_prog_CPP+:} false; then :
7772    $as_echo_n "(cached) " >&6
7773   else
7774        # Double quotes because CPP needs to be expanded
# Line 7124 | Line 7798 | else
7798    # Broken: fails on valid input.
7799   continue
7800   fi
7801 < rm -f conftest.err conftest.$ac_ext
7801 > rm -f conftest.err conftest.i conftest.$ac_ext
7802  
7803    # OK, works on sane cases.  Now check whether nonexistent headers
7804    # can be detected and how.
# Line 7140 | Line 7814 | else
7814   ac_preproc_ok=:
7815   break
7816   fi
7817 < rm -f conftest.err conftest.$ac_ext
7817 > rm -f conftest.err conftest.i conftest.$ac_ext
7818  
7819   done
7820   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7821 < rm -f conftest.err conftest.$ac_ext
7821 > rm -f conftest.i conftest.err conftest.$ac_ext
7822   if $ac_preproc_ok; then :
7823    break
7824   fi
# Line 7183 | Line 7857 | else
7857    # Broken: fails on valid input.
7858   continue
7859   fi
7860 < rm -f conftest.err conftest.$ac_ext
7860 > rm -f conftest.err conftest.i conftest.$ac_ext
7861  
7862    # OK, works on sane cases.  Now check whether nonexistent headers
7863    # can be detected and how.
# Line 7199 | Line 7873 | else
7873   ac_preproc_ok=:
7874   break
7875   fi
7876 < rm -f conftest.err conftest.$ac_ext
7876 > rm -f conftest.err conftest.i conftest.$ac_ext
7877  
7878   done
7879   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7880 < rm -f conftest.err conftest.$ac_ext
7880 > rm -f conftest.i conftest.err conftest.$ac_ext
7881   if $ac_preproc_ok; then :
7882  
7883   else
7884    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7885   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7886 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7887 < See \`config.log' for more details." "$LINENO" 5; }
7886 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7887 > See \`config.log' for more details" "$LINENO" 5; }
7888   fi
7889  
7890   ac_ext=c
# Line 7222 | Line 7896 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7896  
7897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7898   $as_echo_n "checking for ANSI C header files... " >&6; }
7899 < if test "${ac_cv_header_stdc+set}" = set; then :
7899 > if ${ac_cv_header_stdc+:} false; then :
7900    $as_echo_n "(cached) " >&6
7901   else
7902    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7339 | Line 8013 | do :
8013    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8014   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8015   "
8016 < eval as_val=\$$as_ac_Header
7343 <   if test "x$as_val" = x""yes; then :
8016 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8017    cat >>confdefs.h <<_ACEOF
8018   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8019   _ACEOF
# Line 7354 | Line 8027 | for ac_header in dlfcn.h
8027   do :
8028    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8029   "
8030 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8030 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8031    cat >>confdefs.h <<_ACEOF
8032   #define HAVE_DLFCN_H 1
8033   _ACEOF
# Line 7365 | Line 8038 | done
8038  
8039  
8040  
8041 +
8042 +
8043   # Set options
8044   enable_dlopen=yes
8045   # Check whether --enable-static was given.
# Line 7438 | Line 8113 | fi
8113  
8114   # Check whether --with-pic was given.
8115   if test "${with_pic+set}" = set; then :
8116 <  withval=$with_pic; pic_mode="$withval"
8116 >  withval=$with_pic; lt_p=${PACKAGE-default}
8117 >    case $withval in
8118 >    yes|no) pic_mode=$withval ;;
8119 >    *)
8120 >      pic_mode=default
8121 >      # Look at the argument we got.  We use all the common list separators.
8122 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8123 >      for lt_pkg in $withval; do
8124 >        IFS="$lt_save_ifs"
8125 >        if test "X$lt_pkg" = "X$lt_p"; then
8126 >          pic_mode=yes
8127 >        fi
8128 >      done
8129 >      IFS="$lt_save_ifs"
8130 >      ;;
8131 >    esac
8132   else
8133    pic_mode=default
8134   fi
# Line 7515 | Line 8205 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8205  
8206  
8207  
8208 +
8209 +
8210 +
8211 +
8212 +
8213   test -z "$LN_S" && LN_S="ln -s"
8214  
8215  
# Line 7536 | Line 8231 | fi
8231  
8232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8233   $as_echo_n "checking for objdir... " >&6; }
8234 < if test "${lt_cv_objdir+set}" = set; then :
8234 > if ${lt_cv_objdir+:} false; then :
8235    $as_echo_n "(cached) " >&6
8236   else
8237    rm -f .libs 2>/dev/null
# Line 7564 | Line 8259 | _ACEOF
8259  
8260  
8261  
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
8262   case $host_os in
8263   aix3*)
8264    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7589 | Line 8271 | aix3*)
8271    ;;
8272   esac
8273  
7592 # Sed substitution that helps us do robust quoting.  It backslashifies
7593 # metacharacters that are still active within double-quoted strings.
7594 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7595
7596 # Same as above, but do not quote variable references.
7597 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7598
7599 # Sed substitution to delay expansion of an escaped shell variable in a
7600 # double_quote_subst'ed string.
7601 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7602
7603 # Sed substitution to delay expansion of an escaped single quote.
7604 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7605
7606 # Sed substitution to avoid accidental globbing in evaled expressions
7607 no_glob_subst='s/\*/\\\*/g'
7608
8274   # Global variables:
8275   ofile=libtool
8276   can_build_shared=yes
# Line 7634 | Line 8299 | for cc_temp in $compiler""; do
8299      *) break;;
8300    esac
8301   done
8302 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8302 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8303  
8304  
8305   # Only perform the check for file, if the check method requires it
# Line 7644 | Line 8309 | file_magic*)
8309    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8310      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8311   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8312 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8312 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8313    $as_echo_n "(cached) " >&6
8314   else
8315    case $MAGIC_CMD in
# Line 7710 | Line 8375 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8375    if test -n "$ac_tool_prefix"; then
8376      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8377   $as_echo_n "checking for file... " >&6; }
8378 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8378 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8379    $as_echo_n "(cached) " >&6
8380   else
8381    case $MAGIC_CMD in
# Line 7834 | Line 8499 | _lt_linker_boilerplate=`cat conftest.err
8499   $RM -r conftest*
8500  
8501  
8502 + ## CAVEAT EMPTOR:
8503 + ## There is no encapsulation within the following macros, do not change
8504 + ## the running order or otherwise move them around unless you know exactly
8505 + ## what you are doing...
8506   if test -n "$compiler"; then
8507  
8508   lt_prog_compiler_no_builtin_flag=
8509  
8510   if test "$GCC" = yes; then
8511 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8511 >  case $cc_basename in
8512 >  nvcc*)
8513 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8514 >  *)
8515 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8516 >  esac
8517  
8518    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8519   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8520 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8520 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8521    $as_echo_n "(cached) " >&6
8522   else
8523    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7859 | Line 8533 | else
8533     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8534     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8535     -e 's:$: $lt_compiler_flag:'`
8536 <   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
8536 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8537     (eval "$lt_compile" 2>conftest.err)
8538     ac_status=$?
8539     cat conftest.err >&5
8540 <   echo "$as_me:7866: \$? = $ac_status" >&5
8540 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541     if (exit $ac_status) && test -s "$ac_outfile"; then
8542       # The compiler can only warn and ignore the option if not recognized
8543       # So say no if there are warnings other than the usual output.
8544 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8544 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8545       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8546       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8547         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7896 | Line 8570 | fi
8570   lt_prog_compiler_pic=
8571   lt_prog_compiler_static=
8572  
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7900 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8573  
8574    if test "$GCC" = yes; then
8575      lt_prog_compiler_wl='-Wl,'
# Line 7945 | Line 8617 | $as_echo_n "checking for $compiler optio
8617        lt_prog_compiler_pic='-fno-common'
8618        ;;
8619  
8620 +    haiku*)
8621 +      # PIC is the default for Haiku.
8622 +      # The "-static" flag exists, but is broken.
8623 +      lt_prog_compiler_static=
8624 +      ;;
8625 +
8626      hpux*)
8627        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8628        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7987 | Line 8665 | $as_echo_n "checking for $compiler optio
8665        lt_prog_compiler_pic='-fPIC'
8666        ;;
8667      esac
8668 +
8669 +    case $cc_basename in
8670 +    nvcc*) # Cuda Compiler Driver 2.2
8671 +      lt_prog_compiler_wl='-Xlinker '
8672 +      if test -n "$lt_prog_compiler_pic"; then
8673 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8674 +      fi
8675 +      ;;
8676 +    esac
8677    else
8678      # PORTME Check for flag to pass linker flags through the system compiler.
8679      case $host_os in
# Line 8028 | Line 8715 | $as_echo_n "checking for $compiler optio
8715        lt_prog_compiler_static='-non_shared'
8716        ;;
8717  
8718 <    linux* | k*bsd*-gnu)
8718 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8719        case $cc_basename in
8720        # old Intel for x86_64 which still supported -KPIC.
8721        ecc*)
# Line 8049 | Line 8736 | $as_echo_n "checking for $compiler optio
8736          lt_prog_compiler_pic='--shared'
8737          lt_prog_compiler_static='--static'
8738          ;;
8739 <      pgcc* | pgf77* | pgf90* | pgf95*)
8739 >      nagfor*)
8740 >        # NAG Fortran compiler
8741 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8742 >        lt_prog_compiler_pic='-PIC'
8743 >        lt_prog_compiler_static='-Bstatic'
8744 >        ;;
8745 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8746          # Portland Group compilers (*not* the Pentium gcc compiler,
8747          # which looks to be a dead project)
8748          lt_prog_compiler_wl='-Wl,'
# Line 8061 | Line 8754 | $as_echo_n "checking for $compiler optio
8754          # All Alpha code is PIC.
8755          lt_prog_compiler_static='-non_shared'
8756          ;;
8757 <      xl*)
8758 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8757 >      xl* | bgxl* | bgf* | mpixl*)
8758 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8759          lt_prog_compiler_wl='-Wl,'
8760          lt_prog_compiler_pic='-qpic'
8761          lt_prog_compiler_static='-qstaticlink'
8762          ;;
8763        *)
8764          case `$CC -V 2>&1 | sed 5q` in
8765 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8766 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8767 +          lt_prog_compiler_pic='-KPIC'
8768 +          lt_prog_compiler_static='-Bstatic'
8769 +          lt_prog_compiler_wl=''
8770 +          ;;
8771 +        *Sun\ F* | *Sun*Fortran*)
8772 +          lt_prog_compiler_pic='-KPIC'
8773 +          lt_prog_compiler_static='-Bstatic'
8774 +          lt_prog_compiler_wl='-Qoption ld '
8775 +          ;;
8776          *Sun\ C*)
8777            # Sun C 5.9
8778            lt_prog_compiler_pic='-KPIC'
8779            lt_prog_compiler_static='-Bstatic'
8780            lt_prog_compiler_wl='-Wl,'
8781            ;;
8782 <        *Sun\ F*)
8783 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8784 <          lt_prog_compiler_pic='-KPIC'
8782 >        *Intel*\ [CF]*Compiler*)
8783 >          lt_prog_compiler_wl='-Wl,'
8784 >          lt_prog_compiler_pic='-fPIC'
8785 >          lt_prog_compiler_static='-static'
8786 >          ;;
8787 >        *Portland\ Group*)
8788 >          lt_prog_compiler_wl='-Wl,'
8789 >          lt_prog_compiler_pic='-fpic'
8790            lt_prog_compiler_static='-Bstatic'
8082          lt_prog_compiler_wl=''
8791            ;;
8792          esac
8793          ;;
# Line 8111 | Line 8819 | $as_echo_n "checking for $compiler optio
8819        lt_prog_compiler_pic='-KPIC'
8820        lt_prog_compiler_static='-Bstatic'
8821        case $cc_basename in
8822 <      f77* | f90* | f95*)
8822 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8823          lt_prog_compiler_wl='-Qoption ld ';;
8824        *)
8825          lt_prog_compiler_wl='-Wl,';;
# Line 8168 | Line 8876 | case $host_os in
8876      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8877      ;;
8878   esac
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8172 $as_echo "$lt_prog_compiler_pic" >&6; }
8173
8174
8175
8176
8879  
8880 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8881 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8882 + if ${lt_cv_prog_compiler_pic+:} false; then :
8883 +  $as_echo_n "(cached) " >&6
8884 + else
8885 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8886 + fi
8887 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8888 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8889 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8890  
8891   #
8892   # Check to make sure the PIC flag actually works.
# Line 8182 | Line 8894 | $as_echo "$lt_prog_compiler_pic" >&6; }
8894   if test -n "$lt_prog_compiler_pic"; then
8895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8896   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8897 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8897 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8898    $as_echo_n "(cached) " >&6
8899   else
8900    lt_cv_prog_compiler_pic_works=no
# Line 8198 | Line 8910 | else
8910     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8911     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8912     -e 's:$: $lt_compiler_flag:'`
8913 <   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8913 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8914     (eval "$lt_compile" 2>conftest.err)
8915     ac_status=$?
8916     cat conftest.err >&5
8917 <   echo "$as_me:8205: \$? = $ac_status" >&5
8917 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918     if (exit $ac_status) && test -s "$ac_outfile"; then
8919       # The compiler can only warn and ignore the option if not recognized
8920       # So say no if there are warnings other than the usual output.
8921 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8921 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8922       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8923       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8924         lt_cv_prog_compiler_pic_works=yes
# Line 8235 | Line 8947 | fi
8947  
8948  
8949  
8950 +
8951 +
8952 +
8953 +
8954 +
8955   #
8956   # Check to make sure the static flag actually works.
8957   #
8958   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8960   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8961 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8961 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8962    $as_echo_n "(cached) " >&6
8963   else
8964    lt_cv_prog_compiler_static_works=no
# Line 8254 | Line 8971 | else
8971       if test -s conftest.err; then
8972         # Append any errors to the config.log.
8973         cat conftest.err 1>&5
8974 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8974 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8975         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8976         if diff conftest.exp conftest.er2 >/dev/null; then
8977           lt_cv_prog_compiler_static_works=yes
# Line 8284 | Line 9001 | fi
9001  
9002    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9003   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9004 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9005    $as_echo_n "(cached) " >&6
9006   else
9007    lt_cv_prog_compiler_c_o=no
# Line 8303 | Line 9020 | else
9020     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9021     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9022     -e 's:$: $lt_compiler_flag:'`
9023 <   (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
9023 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9024     (eval "$lt_compile" 2>out/conftest.err)
9025     ac_status=$?
9026     cat out/conftest.err >&5
9027 <   echo "$as_me:8310: \$? = $ac_status" >&5
9027 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9029     then
9030       # The compiler can only warn and ignore the option if not recognized
9031       # So say no if there are warnings
9032 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9032 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9033       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9034       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9035         lt_cv_prog_compiler_c_o=yes
# Line 8339 | Line 9056 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9056  
9057    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9058   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9059 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9059 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9060    $as_echo_n "(cached) " >&6
9061   else
9062    lt_cv_prog_compiler_c_o=no
# Line 8358 | Line 9075 | else
9075     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9076     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9077     -e 's:$: $lt_compiler_flag:'`
9078 <   (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
9078 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9079     (eval "$lt_compile" 2>out/conftest.err)
9080     ac_status=$?
9081     cat out/conftest.err >&5
9082 <   echo "$as_me:8365: \$? = $ac_status" >&5
9082 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9084     then
9085       # The compiler can only warn and ignore the option if not recognized
9086       # So say no if there are warnings
9087 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9087 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9088       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9089       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9090         lt_cv_prog_compiler_c_o=yes
# Line 8433 | Line 9150 | $as_echo_n "checking whether the $compil
9150    hardcode_direct=no
9151    hardcode_direct_absolute=no
9152    hardcode_libdir_flag_spec=
8436  hardcode_libdir_flag_spec_ld=
9153    hardcode_libdir_separator=
9154    hardcode_minus_L=no
9155    hardcode_shlibpath_var=unsupported
# Line 8480 | Line 9196 | $as_echo_n "checking whether the $compil
9196    esac
9197  
9198    ld_shlibs=yes
9199 +
9200 +  # On some targets, GNU ld is compatible enough with the native linker
9201 +  # that we're better off using the native interface for both.
9202 +  lt_use_gnu_ld_interface=no
9203    if test "$with_gnu_ld" = yes; then
9204 +    case $host_os in
9205 +      aix*)
9206 +        # The AIX port of GNU ld has always aspired to compatibility
9207 +        # with the native linker.  However, as the warning in the GNU ld
9208 +        # block says, versions before 2.19.5* couldn't really create working
9209 +        # shared libraries, regardless of the interface used.
9210 +        case `$LD -v 2>&1` in
9211 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9212 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9213 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9214 +          *)
9215 +            lt_use_gnu_ld_interface=yes
9216 +            ;;
9217 +        esac
9218 +        ;;
9219 +      *)
9220 +        lt_use_gnu_ld_interface=yes
9221 +        ;;
9222 +    esac
9223 +  fi
9224 +
9225 +  if test "$lt_use_gnu_ld_interface" = yes; then
9226      # If archive_cmds runs LD, not CC, wlarc should be empty
9227      wlarc='${wl}'
9228  
# Line 8498 | Line 9240 | $as_echo_n "checking whether the $compil
9240      fi
9241      supports_anon_versioning=no
9242      case `$LD -v 2>&1` in
9243 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9244        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9245        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9246        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8513 | Line 9256 | $as_echo_n "checking whether the $compil
9256          ld_shlibs=no
9257          cat <<_LT_EOF 1>&2
9258  
9259 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9259 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9260   *** to be unable to reliably create shared libraries on AIX.
9261   *** Therefore, libtool is disabling shared libraries support.  If you
9262 < *** really care for shared libraries, you may want to modify your PATH
9263 < *** so that a non-GNU linker is found, and then restart.
9262 > *** really care for shared libraries, you may want to install binutils
9263 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9264 > *** You will then need to restart the configuration process.
9265  
9266   _LT_EOF
9267        fi
# Line 8553 | Line 9297 | _LT_EOF
9297        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9298        # as there is no search path for DLLs.
9299        hardcode_libdir_flag_spec='-L$libdir'
9300 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9301        allow_undefined_flag=unsupported
9302        always_export_symbols=no
9303        enable_shared_with_static_runtimes=yes
9304 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9304 >      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9305 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9306  
9307        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9308          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8574 | Line 9320 | _LT_EOF
9320        fi
9321        ;;
9322  
9323 +    haiku*)
9324 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 +      link_all_deplibs=yes
9326 +      ;;
9327 +
9328      interix[3-9]*)
9329        hardcode_direct=no
9330        hardcode_shlibpath_var=no
# Line 8589 | Line 9340 | _LT_EOF
9340        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9341        ;;
9342  
9343 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9343 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9344        tmp_diet=no
9345        if test "$host_os" = linux-dietlibc; then
9346          case $cc_basename in
# Line 8599 | Line 9350 | _LT_EOF
9350        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9351           && test "$tmp_diet" = no
9352        then
9353 <        tmp_addflag=
9353 >        tmp_addflag=' $pic_flag'
9354          tmp_sharedflag='-shared'
9355          case $cc_basename,$host_cpu in
9356          pgcc*)                          # Portland Group C compiler
9357 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9357 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9358            tmp_addflag=' $pic_flag'
9359            ;;
9360 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9361 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9360 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9361 >                                        # Portland Group f77 and f90 compilers
9362 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9363            tmp_addflag=' $pic_flag -Mnomain' ;;
9364          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9365            tmp_addflag=' -i_dynamic' ;;
# Line 8618 | Line 9370 | _LT_EOF
9370          lf95*)                          # Lahey Fortran 8.1
9371            whole_archive_flag_spec=
9372            tmp_sharedflag='--shared' ;;
9373 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9373 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9374            tmp_sharedflag='-qmkshrobj'
9375            tmp_addflag= ;;
9376 +        nvcc*)  # Cuda Compiler Driver 2.2
9377 +          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9378 +          compiler_needs_object=yes
9379 +          ;;
9380          esac
9381          case `$CC -V 2>&1 | sed 5q` in
9382          *Sun\ C*)                       # Sun C 5.9
9383 <          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9383 >          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9384            compiler_needs_object=yes
9385            tmp_sharedflag='-G' ;;
9386          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8640 | Line 9396 | _LT_EOF
9396          fi
9397  
9398          case $cc_basename in
9399 <        xlf*)
9399 >        xlf* | bgf* | bgxlf* | mpixlf*)
9400            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9401            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9402 <          hardcode_libdir_flag_spec=
9403 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8648 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9402 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9403 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9404            if test "x$supports_anon_versioning" = xyes; then
9405              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9406                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9407                echo "local: *; };" >> $output_objdir/$libname.ver~
9408 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9408 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9409            fi
9410            ;;
9411          esac
# Line 8664 | Line 9419 | _LT_EOF
9419          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9420          wlarc=
9421        else
9422 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9423 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9422 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9423 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9424        fi
9425        ;;
9426  
# Line 8683 | Line 9438 | _LT_EOF
9438  
9439   _LT_EOF
9440        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9441 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9441 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443        else
9444          ld_shlibs=no
9445        fi
# Line 8730 | Line 9485 | _LT_EOF
9485  
9486      *)
9487        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9488 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9488 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9490        else
9491          ld_shlibs=no
9492        fi
# Line 8771 | Line 9526 | _LT_EOF
9526        else
9527          # If we're using GNU nm, then we don't want the "-C" option.
9528          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9529 +        # Also, AIX nm treats weak defined symbols like other global
9530 +        # defined symbols, whereas GNU nm marks them as "W".
9531          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9532 <          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9532 >          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9533          else
9534            export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9535          fi
# Line 8834 | Line 9591 | _LT_EOF
9591          if test "$aix_use_runtimelinking" = yes; then
9592            shared_flag="$shared_flag "'${wl}-G'
9593          fi
8837        link_all_deplibs=no
9594        else
9595          # not using gcc
9596          if test "$host_cpu" = ia64; then
# Line 8860 | Line 9616 | _LT_EOF
9616          allow_undefined_flag='-berok'
9617          # Determine the default libpath from the value encoded in an
9618          # empty executable.
9619 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 >        if test "${lt_cv_aix_libpath+set}" = set; then
9620 >  aix_libpath=$lt_cv_aix_libpath
9621 > else
9622 >  if ${lt_cv_aix_libpath_+:} false; then :
9623 >  $as_echo_n "(cached) " >&6
9624 > else
9625 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626   /* end confdefs.h.  */
9627  
9628   int
# Line 8873 | Line 9635 | main ()
9635   _ACEOF
9636   if ac_fn_c_try_link "$LINENO"; then :
9637  
9638 < lt_aix_libpath_sed='
9639 <    /Import File Strings/,/^$/ {
9640 <        /^0/ {
9641 <            s/^0  *\(.*\)$/\1/
9642 <            p
9643 <        }
9644 <    }'
9645 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646 < # Check for a 64-bit object if we didn't find anything.
9647 < if test -z "$aix_libpath"; then
9648 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649 < fi
9638 >  lt_aix_libpath_sed='
9639 >      /Import File Strings/,/^$/ {
9640 >          /^0/ {
9641 >              s/^0  *\([^ ]*\) *$/\1/
9642 >              p
9643 >          }
9644 >      }'
9645 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646 >  # Check for a 64-bit object if we didn't find anything.
9647 >  if test -z "$lt_cv_aix_libpath_"; then
9648 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649 >  fi
9650   fi
9651   rm -f core conftest.err conftest.$ac_objext \
9652      conftest$ac_exeext conftest.$ac_ext
9653 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9653 >  if test -z "$lt_cv_aix_libpath_"; then
9654 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9655 >  fi
9656 >
9657 > fi
9658 >
9659 >  aix_libpath=$lt_cv_aix_libpath_
9660 > fi
9661  
9662          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 <        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9663 >        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9664        else
9665          if test "$host_cpu" = ia64; then
9666            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8900 | Line 9669 | if test -z "$aix_libpath"; then aix_libp
9669          else
9670           # Determine the default libpath from the value encoded in an
9671           # empty executable.
9672 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 >         if test "${lt_cv_aix_libpath+set}" = set; then
9673 >  aix_libpath=$lt_cv_aix_libpath
9674 > else
9675 >  if ${lt_cv_aix_libpath_+:} false; then :
9676 >  $as_echo_n "(cached) " >&6
9677 > else
9678 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679   /* end confdefs.h.  */
9680  
9681   int
# Line 8913 | Line 9688 | main ()
9688   _ACEOF
9689   if ac_fn_c_try_link "$LINENO"; then :
9690  
9691 < lt_aix_libpath_sed='
9692 <    /Import File Strings/,/^$/ {
9693 <        /^0/ {
9694 <            s/^0  *\(.*\)$/\1/
9695 <            p
9696 <        }
9697 <    }'
9698 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 < # Check for a 64-bit object if we didn't find anything.
9700 < if test -z "$aix_libpath"; then
9701 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 < fi
9691 >  lt_aix_libpath_sed='
9692 >      /Import File Strings/,/^$/ {
9693 >          /^0/ {
9694 >              s/^0  *\([^ ]*\) *$/\1/
9695 >              p
9696 >          }
9697 >      }'
9698 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 >  # Check for a 64-bit object if we didn't find anything.
9700 >  if test -z "$lt_cv_aix_libpath_"; then
9701 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 >  fi
9703   fi
9704   rm -f core conftest.err conftest.$ac_objext \
9705      conftest$ac_exeext conftest.$ac_ext
9706 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9706 >  if test -z "$lt_cv_aix_libpath_"; then
9707 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9708 >  fi
9709 >
9710 > fi
9711 >
9712 >  aix_libpath=$lt_cv_aix_libpath_
9713 > fi
9714  
9715           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9716            # Warning - without using the other run time loading flags,
9717            # -berok will link without error, but may produce a broken library.
9718            no_undefined_flag=' ${wl}-bernotok'
9719            allow_undefined_flag=' ${wl}-berok'
9720 <          # Exported symbols can be pulled into shared objects from archives
9721 <          whole_archive_flag_spec='$convenience'
9720 >          if test "$with_gnu_ld" = yes; then
9721 >            # We only use this code for GNU lds that support --whole-archive.
9722 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9723 >          else
9724 >            # Exported symbols can be pulled into shared objects from archives
9725 >            whole_archive_flag_spec='$convenience'
9726 >          fi
9727            archive_cmds_need_lc=yes
9728            # This is similar to how AIX traditionally builds its shared libraries.
9729            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 8968 | Line 9755 | if test -z "$aix_libpath"; then aix_libp
9755        # Microsoft Visual C++.
9756        # hardcode_libdir_flag_spec is actually meaningless, as there is
9757        # no search path for DLLs.
9758 <      hardcode_libdir_flag_spec=' '
9759 <      allow_undefined_flag=unsupported
9760 <      # Tell ltmain to make .lib files, not .a files.
9761 <      libext=lib
9762 <      # Tell ltmain to make .dll files, not .so files.
9763 <      shrext_cmds=".dll"
9764 <      # FIXME: Setting linknames here is a bad hack.
9765 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9766 <      # The linker will automatically build a .lib file if we build a DLL.
9767 <      old_archive_from_new_cmds='true'
9768 <      # FIXME: Should let the user specify the lib program.
9769 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9770 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9771 <      enable_shared_with_static_runtimes=yes
9758 >      case $cc_basename in
9759 >      cl*)
9760 >        # Native MSVC
9761 >        hardcode_libdir_flag_spec=' '
9762 >        allow_undefined_flag=unsupported
9763 >        always_export_symbols=yes
9764 >        file_list_spec='@'
9765 >        # Tell ltmain to make .lib files, not .a files.
9766 >        libext=lib
9767 >        # Tell ltmain to make .dll files, not .so files.
9768 >        shrext_cmds=".dll"
9769 >        # FIXME: Setting linknames here is a bad hack.
9770 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9771 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9772 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9773 >          else
9774 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9775 >          fi~
9776 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9777 >          linknames='
9778 >        # The linker will not automatically build a static lib if we build a DLL.
9779 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9780 >        enable_shared_with_static_runtimes=yes
9781 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9782 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9783 >        # Don't use ranlib
9784 >        old_postinstall_cmds='chmod 644 $oldlib'
9785 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9786 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9787 >          case $lt_outputfile in
9788 >            *.exe|*.EXE) ;;
9789 >            *)
9790 >              lt_outputfile="$lt_outputfile.exe"
9791 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9792 >              ;;
9793 >          esac~
9794 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9795 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9796 >            $RM "$lt_outputfile.manifest";
9797 >          fi'
9798 >        ;;
9799 >      *)
9800 >        # Assume MSVC wrapper
9801 >        hardcode_libdir_flag_spec=' '
9802 >        allow_undefined_flag=unsupported
9803 >        # Tell ltmain to make .lib files, not .a files.
9804 >        libext=lib
9805 >        # Tell ltmain to make .dll files, not .so files.
9806 >        shrext_cmds=".dll"
9807 >        # FIXME: Setting linknames here is a bad hack.
9808 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9809 >        # The linker will automatically build a .lib file if we build a DLL.
9810 >        old_archive_from_new_cmds='true'
9811 >        # FIXME: Should let the user specify the lib program.
9812 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9813 >        enable_shared_with_static_runtimes=yes
9814 >        ;;
9815 >      esac
9816        ;;
9817  
9818      darwin* | rhapsody*)
# Line 8991 | Line 9822 | if test -z "$aix_libpath"; then aix_libp
9822    hardcode_direct=no
9823    hardcode_automatic=yes
9824    hardcode_shlibpath_var=unsupported
9825 <  whole_archive_flag_spec=''
9825 >  if test "$lt_cv_ld_force_load" = "yes"; then
9826 >    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\"`'
9827 >
9828 >  else
9829 >    whole_archive_flag_spec=''
9830 >  fi
9831    link_all_deplibs=yes
9832    allow_undefined_flag="$_lt_dar_allow_undefined"
9833    case $cc_basename in
# Line 8999 | Line 9835 | if test -z "$aix_libpath"; then aix_libp
9835       *) _lt_dar_can_shared=$GCC ;;
9836    esac
9837    if test "$_lt_dar_can_shared" = "yes"; then
9838 <    output_verbose_link_cmd=echo
9838 >    output_verbose_link_cmd=func_echo_all
9839      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9840      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9841      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9017 | Line 9853 | if test -z "$aix_libpath"; then aix_libp
9853        hardcode_shlibpath_var=no
9854        ;;
9855  
9020    freebsd1*)
9021      ld_shlibs=no
9022      ;;
9023
9856      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9857      # support.  Future versions do this automatically, but an explicit c++rt0.o
9858      # does not break anything, and helps significantly (at the cost of a little
# Line 9033 | Line 9865 | if test -z "$aix_libpath"; then aix_libp
9865        ;;
9866  
9867      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9868 <    freebsd2*)
9868 >    freebsd2.*)
9869        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9870        hardcode_direct=yes
9871        hardcode_minus_L=yes
# Line 9042 | Line 9874 | if test -z "$aix_libpath"; then aix_libp
9874  
9875      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9876      freebsd* | dragonfly*)
9877 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9877 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9878        hardcode_libdir_flag_spec='-R$libdir'
9879        hardcode_direct=yes
9880        hardcode_shlibpath_var=no
# Line 9050 | Line 9882 | if test -z "$aix_libpath"; then aix_libp
9882  
9883      hpux9*)
9884        if test "$GCC" = yes; then
9885 <        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9885 >        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9886        else
9887          archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9888        fi
# Line 9065 | Line 9897 | if test -z "$aix_libpath"; then aix_libp
9897        ;;
9898  
9899      hpux10*)
9900 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9901 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9900 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9901 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9902        else
9903          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9904        fi
9905        if test "$with_gnu_ld" = no; then
9906          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9075        hardcode_libdir_flag_spec_ld='+b $libdir'
9907          hardcode_libdir_separator=:
9908          hardcode_direct=yes
9909          hardcode_direct_absolute=yes
# Line 9084 | Line 9915 | if test -z "$aix_libpath"; then aix_libp
9915        ;;
9916  
9917      hpux11*)
9918 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9918 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9919          case $host_cpu in
9920          hppa*64*)
9921            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9922            ;;
9923          ia64*)
9924 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9924 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9925            ;;
9926          *)
9927 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9927 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9928            ;;
9929          esac
9930        else
# Line 9105 | Line 9936 | if test -z "$aix_libpath"; then aix_libp
9936            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9937            ;;
9938          *)
9939 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9939 >
9940 >          # Older versions of the 11.00 compiler do not understand -b yet
9941 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9942 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9943 > $as_echo_n "checking if $CC understands -b... " >&6; }
9944 > if ${lt_cv_prog_compiler__b+:} false; then :
9945 >  $as_echo_n "(cached) " >&6
9946 > else
9947 >  lt_cv_prog_compiler__b=no
9948 >   save_LDFLAGS="$LDFLAGS"
9949 >   LDFLAGS="$LDFLAGS -b"
9950 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9951 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9952 >     # The linker can only warn and ignore the option if not recognized
9953 >     # So say no if there are warnings
9954 >     if test -s conftest.err; then
9955 >       # Append any errors to the config.log.
9956 >       cat conftest.err 1>&5
9957 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9958 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9959 >       if diff conftest.exp conftest.er2 >/dev/null; then
9960 >         lt_cv_prog_compiler__b=yes
9961 >       fi
9962 >     else
9963 >       lt_cv_prog_compiler__b=yes
9964 >     fi
9965 >   fi
9966 >   $RM -r conftest*
9967 >   LDFLAGS="$save_LDFLAGS"
9968 >
9969 > fi
9970 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9971 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9972 >
9973 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9974 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9975 > else
9976 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9977 > fi
9978 >
9979            ;;
9980          esac
9981        fi
# Line 9133 | Line 10003 | if test -z "$aix_libpath"; then aix_libp
10003  
10004      irix5* | irix6* | nonstopux*)
10005        if test "$GCC" = yes; then
10006 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10006 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10007          # Try to use the -exported_symbol ld option, if it does not
10008          # work, assume that -exports_file does not work either and
10009          # implicitly export all symbols.
10010 <        save_LDFLAGS="$LDFLAGS"
10011 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10012 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 >        # This should be the same for all languages, so no per-tag cache variable.
10011 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10012 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10013 > if ${lt_cv_irix_exported_symbol+:} false; then :
10014 >  $as_echo_n "(cached) " >&6
10015 > else
10016 >  save_LDFLAGS="$LDFLAGS"
10017 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10018 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019   /* end confdefs.h.  */
10020 < int foo(void) {}
10020 > int foo (void) { return 0; }
10021   _ACEOF
10022   if ac_fn_c_try_link "$LINENO"; then :
10023 <  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10024 <
10023 >  lt_cv_irix_exported_symbol=yes
10024 > else
10025 >  lt_cv_irix_exported_symbol=no
10026   fi
10027   rm -f core conftest.err conftest.$ac_objext \
10028      conftest$ac_exeext conftest.$ac_ext
10029 <        LDFLAGS="$save_LDFLAGS"
10029 >           LDFLAGS="$save_LDFLAGS"
10030 > fi
10031 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10032 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10033 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10034 >          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10035 >        fi
10036        else
10037 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10038 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10037 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10038 >        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10039        fi
10040        archive_cmds_need_lc='no'
10041        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9214 | Line 10097 | rm -f core conftest.err conftest.$ac_obj
10097        hardcode_libdir_flag_spec='-L$libdir'
10098        hardcode_minus_L=yes
10099        allow_undefined_flag=unsupported
10100 <      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10100 >      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10101        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10102        ;;
10103  
10104      osf3*)
10105        if test "$GCC" = yes; then
10106          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10107 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10107 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10108        else
10109          allow_undefined_flag=' -expect_unresolved \*'
10110 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10110 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10111        fi
10112        archive_cmds_need_lc='no'
10113        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9234 | Line 10117 | rm -f core conftest.err conftest.$ac_obj
10117      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10118        if test "$GCC" = yes; then
10119          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10120 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10120 >        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10121          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10122        else
10123          allow_undefined_flag=' -expect_unresolved \*'
10124 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10124 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10125          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10126 <        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10126 >        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10127  
10128          # Both c and cxx compiler support -rpath directly
10129          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9253 | Line 10136 | rm -f core conftest.err conftest.$ac_obj
10136        no_undefined_flag=' -z defs'
10137        if test "$GCC" = yes; then
10138          wlarc='${wl}'
10139 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10140          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10141 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10141 >          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10142        else
10143          case `$CC -V 2>&1` in
10144          *"Compilers 5.0"*)
# Line 9443 | Line 10326 | x|xyes)
10326        # to ld, don't add -lc before -lgcc.
10327        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10328   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10329 <      $RM conftest*
10330 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10329 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10330 >  $as_echo_n "(cached) " >&6
10331 > else
10332 >  $RM conftest*
10333 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10334  
10335 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10335 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10336    (eval $ac_compile) 2>&5
10337    ac_status=$?
10338    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10339    test $ac_status = 0; } 2>conftest.err; then
10340 <        soname=conftest
10341 <        lib=conftest
10342 <        libobjs=conftest.$ac_objext
10343 <        deplibs=
10344 <        wl=$lt_prog_compiler_wl
10345 <        pic_flag=$lt_prog_compiler_pic
10346 <        compiler_flags=-v
10347 <        linker_flags=-v
10348 <        verstring=
10349 <        output_objdir=.
10350 <        libname=conftest
10351 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10352 <        allow_undefined_flag=
10353 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10340 >          soname=conftest
10341 >          lib=conftest
10342 >          libobjs=conftest.$ac_objext
10343 >          deplibs=
10344 >          wl=$lt_prog_compiler_wl
10345 >          pic_flag=$lt_prog_compiler_pic
10346 >          compiler_flags=-v
10347 >          linker_flags=-v
10348 >          verstring=
10349 >          output_objdir=.
10350 >          libname=conftest
10351 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10352 >          allow_undefined_flag=
10353 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10354    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10355    ac_status=$?
10356    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10357    test $ac_status = 0; }
10358 <        then
10359 <          archive_cmds_need_lc=no
10360 <        else
10361 <          archive_cmds_need_lc=yes
10362 <        fi
10363 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10364 <      else
10365 <        cat conftest.err 1>&5
10366 <      fi
10367 <      $RM conftest*
10368 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10369 < $as_echo "$archive_cmds_need_lc" >&6; }
10358 >          then
10359 >            lt_cv_archive_cmds_need_lc=no
10360 >          else
10361 >            lt_cv_archive_cmds_need_lc=yes
10362 >          fi
10363 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10364 >        else
10365 >          cat conftest.err 1>&5
10366 >        fi
10367 >        $RM conftest*
10368 >
10369 > fi
10370 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10371 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10372 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10373        ;;
10374      esac
10375    fi
# Line 9638 | Line 10527 | esac
10527  
10528  
10529  
9641
9642
9643
9644
9645
10530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10531   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10532  
# Line 9651 | Line 10535 | if test "$GCC" = yes; then
10535      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10536      *) lt_awk_arg="/^libraries:/" ;;
10537    esac
10538 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10539 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10538 >  case $host_os in
10539 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10540 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10541 >  esac
10542 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10543 >  case $lt_search_path_spec in
10544 >  *\;*)
10545      # if the path contains ";" then we assume it to be the separator
10546      # otherwise default to the standard path separator (i.e. ":") - it is
10547      # assumed that no part of a normal pathname contains ";" but that should
10548      # okay in the real world where ";" in dirpaths is itself problematic.
10549 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10550 <  else
10551 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10552 <  fi
10549 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10550 >    ;;
10551 >  *)
10552 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10553 >    ;;
10554 >  esac
10555    # Ok, now we have the path, separated by spaces, we can step through it
10556    # and add multilib dir if necessary.
10557    lt_tmp_lt_search_path_spec=
# Line 9673 | Line 10564 | if test "$GCC" = yes; then
10564          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10565      fi
10566    done
10567 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10567 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10568   BEGIN {RS=" "; FS="/|\n";} {
10569    lt_foo="";
10570    lt_count=0;
# Line 9693 | Line 10584 | BEGIN {RS=" "; FS="/|\n";} {
10584    if (lt_foo != "") { lt_freq[lt_foo]++; }
10585    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10586   }'`
10587 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10587 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10588 >  # for these hosts.
10589 >  case $host_os in
10590 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10591 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10592 >  esac
10593 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10594   else
10595    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10596   fi
# Line 9719 | Line 10616 | need_version=unknown
10616  
10617   case $host_os in
10618   aix3*)
10619 <  version_type=linux
10619 >  version_type=linux # correct to gnu/linux during the next big refactor
10620    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10621    shlibpath_var=LIBPATH
10622  
# Line 9728 | Line 10625 | aix3*)
10625    ;;
10626  
10627   aix[4-9]*)
10628 <  version_type=linux
10628 >  version_type=linux # correct to gnu/linux during the next big refactor
10629    need_lib_prefix=no
10630    need_version=no
10631    hardcode_into_libs=yes
# Line 9781 | Line 10678 | amigaos*)
10678    m68k)
10679      library_names_spec='$libname.ixlibrary $libname.a'
10680      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10681 <    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10681 >    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10682      ;;
10683    esac
10684    ;;
# Line 9793 | Line 10690 | beos*)
10690    ;;
10691  
10692   bsdi[45]*)
10693 <  version_type=linux
10693 >  version_type=linux # correct to gnu/linux during the next big refactor
10694    need_version=no
10695    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9812 | Line 10709 | cygwin* | mingw* | pw32* | cegcc*)
10709    need_version=no
10710    need_lib_prefix=no
10711  
10712 <  case $GCC,$host_os in
10713 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10712 >  case $GCC,$cc_basename in
10713 >  yes,*)
10714 >    # gcc
10715      library_names_spec='$libname.dll.a'
10716      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10717      postinstall_cmds='base_file=`basename \${file}`~
# Line 9834 | Line 10732 | cygwin* | mingw* | pw32* | cegcc*)
10732      cygwin*)
10733        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10734        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10735 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10735 >
10736 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10737        ;;
10738      mingw* | cegcc*)
10739        # MinGW DLLs use traditional 'lib' prefix
10740        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9842      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9843      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9844        # It is most probably a Windows format PATH printed by
9845        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9846        # path with ; separators, and with drive letters. We can handle the
9847        # drive letters (cygwin fileutils understands them), so leave them,
9848        # especially as we might pass files found there to a mingw objdump,
9849        # which wouldn't understand a cygwinified path. Ahh.
9850        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9851      else
9852        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9853      fi
10741        ;;
10742      pw32*)
10743        # pw32 DLLs use 'pw' prefix rather than 'lib'
10744        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10745        ;;
10746      esac
10747 +    dynamic_linker='Win32 ld.exe'
10748 +    ;;
10749 +
10750 +  *,cl*)
10751 +    # Native MSVC
10752 +    libname_spec='$name'
10753 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10754 +    library_names_spec='${libname}.dll.lib'
10755 +
10756 +    case $build_os in
10757 +    mingw*)
10758 +      sys_lib_search_path_spec=
10759 +      lt_save_ifs=$IFS
10760 +      IFS=';'
10761 +      for lt_path in $LIB
10762 +      do
10763 +        IFS=$lt_save_ifs
10764 +        # Let DOS variable expansion print the short 8.3 style file name.
10765 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10766 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10767 +      done
10768 +      IFS=$lt_save_ifs
10769 +      # Convert to MSYS style.
10770 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10771 +      ;;
10772 +    cygwin*)
10773 +      # Convert to unix form, then to dos form, then back to unix form
10774 +      # but this time dos style (no spaces!) so that the unix form looks
10775 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10776 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10777 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10778 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10779 +      ;;
10780 +    *)
10781 +      sys_lib_search_path_spec="$LIB"
10782 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10783 +        # It is most probably a Windows format PATH.
10784 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10785 +      else
10786 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10787 +      fi
10788 +      # FIXME: find the short name or the path components, as spaces are
10789 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10790 +      ;;
10791 +    esac
10792 +
10793 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10794 +    postinstall_cmds='base_file=`basename \${file}`~
10795 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10796 +      dldir=$destdir/`dirname \$dlpath`~
10797 +      test -d \$dldir || mkdir -p \$dldir~
10798 +      $install_prog $dir/$dlname \$dldir/$dlname'
10799 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10800 +      dlpath=$dir/\$dldll~
10801 +       $RM \$dlpath'
10802 +    shlibpath_overrides_runpath=yes
10803 +    dynamic_linker='Win32 link.exe'
10804      ;;
10805  
10806    *)
10807 +    # Assume MSVC wrapper
10808      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10809 +    dynamic_linker='Win32 ld.exe'
10810      ;;
10811    esac
9866  dynamic_linker='Win32 ld.exe'
10812    # FIXME: first we should search . and the directory the executable is in
10813    shlibpath_var=PATH
10814    ;;
# Line 9884 | Line 10829 | darwin* | rhapsody*)
10829    ;;
10830  
10831   dgux*)
10832 <  version_type=linux
10832 >  version_type=linux # correct to gnu/linux during the next big refactor
10833    need_lib_prefix=no
10834    need_version=no
10835    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9892 | Line 10837 | dgux*)
10837    shlibpath_var=LD_LIBRARY_PATH
10838    ;;
10839  
9895 freebsd1*)
9896  dynamic_linker=no
9897  ;;
9898
10840   freebsd* | dragonfly*)
10841    # DragonFly does not have aout.  When/if they implement a new
10842    # versioning mechanism, adjust this.
# Line 9903 | Line 10844 | freebsd* | dragonfly*)
10844      objformat=`/usr/bin/objformat`
10845    else
10846      case $host_os in
10847 <    freebsd[123]*) objformat=aout ;;
10847 >    freebsd[23].*) objformat=aout ;;
10848      *) objformat=elf ;;
10849      esac
10850    fi
# Line 9921 | Line 10862 | freebsd* | dragonfly*)
10862    esac
10863    shlibpath_var=LD_LIBRARY_PATH
10864    case $host_os in
10865 <  freebsd2*)
10865 >  freebsd2.*)
10866      shlibpath_overrides_runpath=yes
10867      ;;
10868    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9941 | Line 10882 | freebsd* | dragonfly*)
10882    ;;
10883  
10884   gnu*)
10885 <  version_type=linux
10885 >  version_type=linux # correct to gnu/linux during the next big refactor
10886    need_lib_prefix=no
10887    need_version=no
10888    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10889    soname_spec='${libname}${release}${shared_ext}$major'
10890    shlibpath_var=LD_LIBRARY_PATH
10891 +  shlibpath_overrides_runpath=no
10892 +  hardcode_into_libs=yes
10893 +  ;;
10894 +
10895 + haiku*)
10896 +  version_type=linux # correct to gnu/linux during the next big refactor
10897 +  need_lib_prefix=no
10898 +  need_version=no
10899 +  dynamic_linker="$host_os runtime_loader"
10900 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10901 +  soname_spec='${libname}${release}${shared_ext}$major'
10902 +  shlibpath_var=LIBRARY_PATH
10903 +  shlibpath_overrides_runpath=yes
10904 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10905    hardcode_into_libs=yes
10906    ;;
10907  
# Line 9992 | Line 10947 | hpux9* | hpux10* | hpux11*)
10947      soname_spec='${libname}${release}${shared_ext}$major'
10948      ;;
10949    esac
10950 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10950 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10951    postinstall_cmds='chmod 555 $lib'
10952 +  # or fails outright, so override atomically:
10953 +  install_override_mode=555
10954    ;;
10955  
10956   interix[3-9]*)
10957 <  version_type=linux
10957 >  version_type=linux # correct to gnu/linux during the next big refactor
10958    need_lib_prefix=no
10959    need_version=no
10960    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10013 | Line 10970 | irix5* | irix6* | nonstopux*)
10970      nonstopux*) version_type=nonstopux ;;
10971      *)
10972          if test "$lt_cv_prog_gnu_ld" = yes; then
10973 <                version_type=linux
10973 >                version_type=linux # correct to gnu/linux during the next big refactor
10974          else
10975                  version_type=irix
10976          fi ;;
# Line 10050 | Line 11007 | linux*oldld* | linux*aout* | linux*coff*
11007    dynamic_linker=no
11008    ;;
11009  
11010 < # This must be Linux ELF.
11011 < linux* | k*bsd*-gnu)
11012 <  version_type=linux
11010 > # This must be glibc/ELF.
11011 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11012 >  version_type=linux # correct to gnu/linux during the next big refactor
11013    need_lib_prefix=no
11014    need_version=no
11015    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10060 | Line 11017 | linux* | k*bsd*-gnu)
11017    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11018    shlibpath_var=LD_LIBRARY_PATH
11019    shlibpath_overrides_runpath=no
11020 +
11021    # Some binutils ld are patched to set DT_RUNPATH
11022 <  save_LDFLAGS=$LDFLAGS
11023 <  save_libdir=$libdir
11024 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11025 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11026 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11023 >  $as_echo_n "(cached) " >&6
11024 > else
11025 >  lt_cv_shlibpath_overrides_runpath=no
11026 >    save_LDFLAGS=$LDFLAGS
11027 >    save_libdir=$libdir
11028 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11029 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11030 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031   /* end confdefs.h.  */
11032  
11033   int
# Line 10078 | Line 11040 | main ()
11040   _ACEOF
11041   if ac_fn_c_try_link "$LINENO"; then :
11042    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11043 <  shlibpath_overrides_runpath=yes
11043 >  lt_cv_shlibpath_overrides_runpath=yes
11044   fi
11045   fi
11046   rm -f core conftest.err conftest.$ac_objext \
11047      conftest$ac_exeext conftest.$ac_ext
11048 <  LDFLAGS=$save_LDFLAGS
11049 <  libdir=$save_libdir
11048 >    LDFLAGS=$save_LDFLAGS
11049 >    libdir=$save_libdir
11050 >
11051 > fi
11052 >
11053 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11054  
11055    # This implies no fast_install, which is unacceptable.
11056    # Some rework will be needed to allow for fast_install
11057    # before this can be enabled.
11058    hardcode_into_libs=yes
11059  
10094  # find out which ABI we are using
10095  libsuff=
10096  case "$host_cpu" in
10097  x86_64*|s390x*|powerpc64*)
10098    echo '#line 10098 "configure"' > conftest.$ac_ext
10099    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10100  (eval $ac_compile) 2>&5
10101  ac_status=$?
10102  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10103  test $ac_status = 0; }; then
10104      case `/usr/bin/file conftest.$ac_objext` in
10105      *64-bit*)
10106        libsuff=64
10107        ;;
10108      esac
10109    fi
10110    rm -rf conftest*
10111    ;;
10112  esac
10113
10114  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10115
11060    # Append ld.so.conf contents to the search path
11061    if test -f /etc/ld.so.conf; then
11062 <    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11063 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11062 >    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11063 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11064    fi
11065  
11066    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10147 | Line 11091 | netbsd*)
11091    ;;
11092  
11093   newsos6)
11094 <  version_type=linux
11094 >  version_type=linux # correct to gnu/linux during the next big refactor
11095    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096    shlibpath_var=LD_LIBRARY_PATH
11097    shlibpath_overrides_runpath=yes
# Line 10216 | Line 11160 | rdos*)
11160    ;;
11161  
11162   solaris*)
11163 <  version_type=linux
11163 >  version_type=linux # correct to gnu/linux during the next big refactor
11164    need_lib_prefix=no
11165    need_version=no
11166    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10241 | Line 11185 | sunos4*)
11185    ;;
11186  
11187   sysv4 | sysv4.3*)
11188 <  version_type=linux
11188 >  version_type=linux # correct to gnu/linux during the next big refactor
11189    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190    soname_spec='${libname}${release}${shared_ext}$major'
11191    shlibpath_var=LD_LIBRARY_PATH
# Line 10265 | Line 11209 | sysv4 | sysv4.3*)
11209  
11210   sysv4*MP*)
11211    if test -d /usr/nec ;then
11212 <    version_type=linux
11212 >    version_type=linux # correct to gnu/linux during the next big refactor
11213      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11214      soname_spec='$libname${shared_ext}.$major'
11215      shlibpath_var=LD_LIBRARY_PATH
# Line 10296 | Line 11240 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11240  
11241   tpf*)
11242    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11243 <  version_type=linux
11243 >  version_type=linux # correct to gnu/linux during the next big refactor
11244    need_lib_prefix=no
11245    need_version=no
11246    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10306 | Line 11250 | tpf*)
11250    ;;
11251  
11252   uts4*)
11253 <  version_type=linux
11253 >  version_type=linux # correct to gnu/linux during the next big refactor
11254    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255    soname_spec='${libname}${release}${shared_ext}$major'
11256    shlibpath_var=LD_LIBRARY_PATH
# Line 10418 | Line 11362 | fi
11362  
11363  
11364  
11365 +
11366 +
11367 +
11368 +
11369 +
11370    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11371   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11372   hardcode_action=
# Line 10490 | Line 11439 | else
11439    # if libdl is installed we need to link against it
11440      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11441   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11442 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11442 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11443    $as_echo_n "(cached) " >&6
11444   else
11445    ac_check_lib_save_LIBS=$LIBS
# Line 10524 | Line 11473 | LIBS=$ac_check_lib_save_LIBS
11473   fi
11474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11476 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11477    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478   else
11479  
# Line 10538 | Line 11487 | fi
11487  
11488    *)
11489      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11490 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11490 > if test "x$ac_cv_func_shl_load" = xyes; then :
11491    lt_cv_dlopen="shl_load"
11492   else
11493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11494   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11495 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11495 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11496    $as_echo_n "(cached) " >&6
11497   else
11498    ac_check_lib_save_LIBS=$LIBS
# Line 10577 | Line 11526 | LIBS=$ac_check_lib_save_LIBS
11526   fi
11527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11528   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11529 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11529 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11530    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11531   else
11532    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11533 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11533 > if test "x$ac_cv_func_dlopen" = xyes; then :
11534    lt_cv_dlopen="dlopen"
11535   else
11536    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11537   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11538 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11538 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11539    $as_echo_n "(cached) " >&6
11540   else
11541    ac_check_lib_save_LIBS=$LIBS
# Line 10620 | Line 11569 | LIBS=$ac_check_lib_save_LIBS
11569   fi
11570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11571   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11572 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11572 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11573    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11574   else
11575    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11576   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11577 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11577 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11578    $as_echo_n "(cached) " >&6
11579   else
11580    ac_check_lib_save_LIBS=$LIBS
# Line 10659 | Line 11608 | LIBS=$ac_check_lib_save_LIBS
11608   fi
11609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11610   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11611 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11611 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11612    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11613   else
11614    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11615   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11616 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11616 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11617    $as_echo_n "(cached) " >&6
11618   else
11619    ac_check_lib_save_LIBS=$LIBS
# Line 10698 | Line 11647 | LIBS=$ac_check_lib_save_LIBS
11647   fi
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11649   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11650 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11650 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11651    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11652   fi
11653  
# Line 10739 | Line 11688 | fi
11688  
11689      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11690   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11691 < if test "${lt_cv_dlopen_self+set}" = set; then :
11691 > if ${lt_cv_dlopen_self+:} false; then :
11692    $as_echo_n "(cached) " >&6
11693   else
11694            if test "$cross_compiling" = yes; then :
# Line 10748 | Line 11697 | else
11697    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11698    lt_status=$lt_dlunknown
11699    cat > conftest.$ac_ext <<_LT_EOF
11700 < #line 10751 "configure"
11700 > #line $LINENO "configure"
11701   #include "confdefs.h"
11702  
11703   #if HAVE_DLFCN_H
# Line 10789 | Line 11738 | else
11738   #  endif
11739   #endif
11740  
11741 < void fnord() { int i=42;}
11741 > /* When -fvisbility=hidden is used, assume the code has been annotated
11742 >   correspondingly for the symbols needed.  */
11743 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11744 > int fnord () __attribute__((visibility("default")));
11745 > #endif
11746 >
11747 > int fnord () { return 42; }
11748   int main ()
11749   {
11750    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10798 | Line 11753 | int main ()
11753    if (self)
11754      {
11755        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11756 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11756 >      else
11757 >        {
11758 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11759 >          else puts (dlerror ());
11760 >        }
11761        /* dlclose (self); */
11762      }
11763    else
# Line 10835 | Line 11794 | $as_echo "$lt_cv_dlopen_self" >&6; }
11794        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11795        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11796   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11797 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11797 > if ${lt_cv_dlopen_self_static+:} false; then :
11798    $as_echo_n "(cached) " >&6
11799   else
11800            if test "$cross_compiling" = yes; then :
# Line 10844 | Line 11803 | else
11803    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11804    lt_status=$lt_dlunknown
11805    cat > conftest.$ac_ext <<_LT_EOF
11806 < #line 10847 "configure"
11806 > #line $LINENO "configure"
11807   #include "confdefs.h"
11808  
11809   #if HAVE_DLFCN_H
# Line 10885 | Line 11844 | else
11844   #  endif
11845   #endif
11846  
11847 < void fnord() { int i=42;}
11847 > /* When -fvisbility=hidden is used, assume the code has been annotated
11848 >   correspondingly for the symbols needed.  */
11849 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11850 > int fnord () __attribute__((visibility("default")));
11851 > #endif
11852 >
11853 > int fnord () { return 42; }
11854   int main ()
11855   {
11856    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10894 | Line 11859 | int main ()
11859    if (self)
11860      {
11861        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11862 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11862 >      else
11863 >        {
11864 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11865 >          else puts (dlerror ());
11866 >        }
11867        /* dlclose (self); */
11868      }
11869    else
# Line 11063 | Line 12032 | CC="$lt_save_CC"
12032  
12033  
12034  
12035 +
12036 +
12037          ac_config_commands="$ac_config_commands libtool"
12038  
12039  
# Line 11073 | Line 12044 | CC="$lt_save_CC"
12044  
12045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12046   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12047 < if test "${libltdl_cv_shlibext+set}" = set; then :
12047 > if ${libltdl_cv_shlibext+:} false; then :
12048    $as_echo_n "(cached) " >&6
12049   else
12050  
12051   module=yes
12052   eval libltdl_cv_shlibext=$shrext_cmds
12053 + module=no
12054 + eval libltdl_cv_shrext=$shrext_cmds
12055  
12056   fi
12057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11090 | Line 12063 | cat >>confdefs.h <<_ACEOF
12063   _ACEOF
12064  
12065   fi
12066 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12067 +
12068 + cat >>confdefs.h <<_ACEOF
12069 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12070 + _ACEOF
12071 +
12072 + fi
12073  
12074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12075   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12076 < if test "${lt_cv_module_path_var+set}" = set; then :
12076 > if ${lt_cv_module_path_var+:} false; then :
12077    $as_echo_n "(cached) " >&6
12078   else
12079    lt_cv_module_path_var="$shlibpath_var"
# Line 11110 | Line 12090 | fi
12090  
12091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12092   $as_echo_n "checking for the default library search path... " >&6; }
12093 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12093 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12094    $as_echo_n "(cached) " >&6
12095   else
12096    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11147 | Line 12127 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12127   LIBADD_DLOPEN=
12128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12129   $as_echo_n "checking for library containing dlopen... " >&6; }
12130 < if test "${ac_cv_search_dlopen+set}" = set; then :
12130 > if ${ac_cv_search_dlopen+:} false; then :
12131    $as_echo_n "(cached) " >&6
12132   else
12133    ac_func_search_save_LIBS=$LIBS
# Line 11181 | Line 12161 | for ac_lib in '' dl; do
12161   fi
12162   rm -f core conftest.err conftest.$ac_objext \
12163      conftest$ac_exeext
12164 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12164 >  if ${ac_cv_search_dlopen+:} false; then :
12165    break
12166   fi
12167   done
12168 < if test "${ac_cv_search_dlopen+set}" = set; then :
12168 > if ${ac_cv_search_dlopen+:} false; then :
12169  
12170   else
12171    ac_cv_search_dlopen=no
# Line 11230 | Line 12210 | $as_echo "#define HAVE_LIBDL 1" >>confde
12210   else
12211    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12212   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12213 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12213 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12214    $as_echo_n "(cached) " >&6
12215   else
12216    ac_check_lib_save_LIBS=$LIBS
# Line 11264 | Line 12244 | LIBS=$ac_check_lib_save_LIBS
12244   fi
12245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12246   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12247 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12247 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12248  
12249   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12250  
# Line 11284 | Line 12264 | then
12264    for ac_func in dlerror
12265   do :
12266    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12267 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12267 > if test "x$ac_cv_func_dlerror" = xyes; then :
12268    cat >>confdefs.h <<_ACEOF
12269   #define HAVE_DLERROR 1
12270   _ACEOF
# Line 11298 | Line 12278 | fi
12278  
12279   LIBADD_SHL_LOAD=
12280   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12281 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12281 > if test "x$ac_cv_func_shl_load" = xyes; then :
12282  
12283   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12284  
# Line 11306 | Line 12286 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12286   else
12287    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12288   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12289 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12289 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12290    $as_echo_n "(cached) " >&6
12291   else
12292    ac_check_lib_save_LIBS=$LIBS
# Line 11340 | Line 12320 | LIBS=$ac_check_lib_save_LIBS
12320   fi
12321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12322   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12323 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12323 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12324  
12325   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12326  
# Line 11356 | Line 12336 | case $host_os in
12336   darwin[1567].*)
12337   # We only want this for pre-Mac OS X 10.4.
12338    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12339 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12339 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12340  
12341   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12342  
# Line 11370 | Line 12350 | beos*)
12350   cygwin* | mingw* | os2* | pw32*)
12351    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12352   "
12353 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12353 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12354    ac_have_decl=1
12355   else
12356    ac_have_decl=0
# Line 11386 | Line 12366 | esac
12366  
12367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12368   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12369 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12369 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12370    $as_echo_n "(cached) " >&6
12371   else
12372    ac_check_lib_save_LIBS=$LIBS
# Line 11420 | Line 12400 | LIBS=$ac_check_lib_save_LIBS
12400   fi
12401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12402   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12403 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12403 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12404  
12405   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12406  
# Line 11454 | Line 12434 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12434  
12435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12436   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12437 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12437 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12438    $as_echo_n "(cached) " >&6
12439   else
12440    lt_cv_sys_symbol_underscore=no
# Line 11504 | Line 12484 | if test x"$lt_cv_sys_symbol_underscore"
12484       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12485          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12486   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12487 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12487 > if ${libltdl_cv_need_uscore+:} false; then :
12488    $as_echo_n "(cached) " >&6
12489   else
12490    libltdl_cv_need_uscore=unknown
# Line 11516 | Line 12496 | else
12496    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12497    lt_status=$lt_dlunknown
12498    cat > conftest.$ac_ext <<_LT_EOF
12499 < #line 11519 "configure"
12499 > #line $LINENO "configure"
12500   #include "confdefs.h"
12501  
12502   #if HAVE_DLFCN_H
# Line 11557 | Line 12537 | else
12537   #  endif
12538   #endif
12539  
12540 < void fnord() { int i=42;}
12540 > /* When -fvisbility=hidden is used, assume the code has been annotated
12541 >   correspondingly for the symbols needed.  */
12542 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12543 > int fnord () __attribute__((visibility("default")));
12544 > #endif
12545 >
12546 > int fnord () { return 42; }
12547   int main ()
12548   {
12549    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11566 | Line 12552 | int main ()
12552    if (self)
12553      {
12554        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12555 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12555 >      else
12556 >        {
12557 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12558 >          else puts (dlerror ());
12559 >        }
12560        /* dlclose (self); */
12561      }
12562    else
# Line 11610 | Line 12600 | fi
12600  
12601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12602   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12603 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12603 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12604    $as_echo_n "(cached) " >&6
12605   else
12606    # PORTME does your system automatically load deplibs for dlopen?
# Line 11642 | Line 12632 | else
12632    freebsd* | dragonfly*)
12633      lt_cv_sys_dlopen_deplibs=yes
12634      ;;
12635 <  gnu* | linux* | k*bsd*-gnu)
12635 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12636      # GNU and its variants, using gnu ld.so (Glibc)
12637      lt_cv_sys_dlopen_deplibs=yes
12638      ;;
# Line 11716 | Line 12706 | for ac_header in argz.h
12706   do :
12707    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12708   "
12709 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12709 > if test "x$ac_cv_header_argz_h" = xyes; then :
12710    cat >>confdefs.h <<_ACEOF
12711   #define HAVE_ARGZ_H 1
12712   _ACEOF
# Line 11730 | Line 12720 | ac_fn_c_check_type "$LINENO" "error_t" "
12720   #  include <argz.h>
12721   #endif
12722   "
12723 < if test "x$ac_cv_type_error_t" = x""yes; then :
12723 > if test "x$ac_cv_type_error_t" = xyes; then :
12724  
12725   cat >>confdefs.h <<_ACEOF
12726   #define HAVE_ERROR_T 1
# Line 11753 | Line 12743 | for ac_func in argz_add argz_append argz
12743   do :
12744    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12745   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12746 < eval as_val=\$$as_ac_var
11757 <   if test "x$as_val" = x""yes; then :
12746 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12747    cat >>confdefs.h <<_ACEOF
12748   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12749   _ACEOF
# Line 11771 | Line 12760 | done
12760   if test -z "$ARGZ_H"; then :
12761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12762   $as_echo_n "checking if argz actually works... " >&6; }
12763 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12763 > if ${lt_cv_sys_argz_works+:} false; then :
12764    $as_echo_n "(cached) " >&6
12765   else
12766    case $host_os in #(
# Line 11802 | Line 12791 | else
12791   fi
12792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12793   $as_echo "$lt_cv_sys_argz_works" >&6; }
12794 <     if test $lt_cv_sys_argz_works = yes; then :
12794 >     if test "$lt_cv_sys_argz_works" = yes; then :
12795  
12796   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12797  
# Line 11819 | Line 12808 | fi
12808  
12809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12810   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12811 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12811 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12812    $as_echo_n "(cached) " >&6
12813   else
12814    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11837 | Line 12826 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12826  
12827   fi
12828  
11840
11841
12829   # Set options
12830  
12831  
# Line 11851 | Line 12838 | fi
12838  
12839  
12840  
11854
12841   # Check whether --with-included_ltdl was given.
12842   if test "${with_included_ltdl+set}" = set; then :
12843    withval=$with_included_ltdl;
# Line 11864 | Line 12850 | if test "x$with_included_ltdl" != xyes;
12850    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12851  
12852   "
12853 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12853 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12854    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12855              #include <ltdl.h>
12856   "
12857 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12857 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12858    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12859   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12860 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12860 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12861    $as_echo_n "(cached) " >&6
12862   else
12863    ac_check_lib_save_LIBS=$LIBS
# Line 11905 | Line 12891 | LIBS=$ac_check_lib_save_LIBS
12891   fi
12892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12893   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12894 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12894 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12895    with_included_ltdl=no
12896   else
12897    with_included_ltdl=yes
# Line 11925 | Line 12911 | fi
12911  
12912  
12913  
11928
11929
11930
11931
11932
12914   # Check whether --with-ltdl_include was given.
12915   if test "${with_ltdl_include+set}" = set; then :
12916    withval=$with_ltdl_include;
# Line 11939 | Line 12920 | fi
12920   if test -n "$with_ltdl_include"; then
12921    if test -f "$with_ltdl_include/ltdl.h"; then :
12922    else
12923 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12923 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12924    fi
12925   else
12926    with_ltdl_include=no
# Line 11955 | Line 12936 | fi
12936   if test -n "$with_ltdl_lib"; then
12937    if test -f "$with_ltdl_lib/libltdl.la"; then :
12938    else
12939 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12939 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12940    fi
12941   else
12942    with_ltdl_lib=no
# Line 11964 | Line 12945 | fi
12945   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12946    ,yes,no,no,)
12947          case $enable_ltdl_convenience in
12948 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12948 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12949    "") enable_ltdl_convenience=yes
12950        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12951   esac
# Line 11992 | Line 12973 | $as_echo "#define HAVE_LTDL 1" >>confdef
12973          LTDLINCL=
12974          ;;
12975    ,no*,no,*)
12976 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12976 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12977          ;;
12978    *)    with_included_ltdl=no
12979          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12043 | Line 13024 | fi
13024  
13025  
13026  
12046    subdirs="$subdirs libltdl"
12047
12048
13027  
13028  
13029  
# Line 12062 | Line 13040 | do :
13040    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13041   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13042   "
13043 < eval as_val=\$$as_ac_Header
12066 <   if test "x$as_val" = x""yes; then :
13043 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13044    cat >>confdefs.h <<_ACEOF
13045   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13046   _ACEOF
# Line 12077 | Line 13054 | for ac_func in closedir opendir readdir
13054   do :
13055    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13056   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13057 < eval as_val=\$$as_ac_var
12081 <   if test "x$as_val" = x""yes; then :
13057 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13058    cat >>confdefs.h <<_ACEOF
13059   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13060   _ACEOF
# Line 12095 | Line 13071 | for ac_func in strlcat strlcpy
13071   do :
13072    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13073   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13074 < eval as_val=\$$as_ac_var
12099 <   if test "x$as_val" = x""yes; then :
13074 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13075    cat >>confdefs.h <<_ACEOF
13076   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13077   _ACEOF
# Line 12116 | Line 13091 | cat >>confdefs.h <<_ACEOF
13091   _ACEOF
13092  
13093  
13094 + name=
13095 + eval "lt_libprefix=\"$libname_spec\""
13096 +
13097 + cat >>confdefs.h <<_ACEOF
13098 + #define LT_LIBPREFIX "$lt_libprefix"
13099 + _ACEOF
13100 +
13101 +
13102   name=ltdl
13103 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13103 > eval "LTDLOPEN=\"$libname_spec\""
13104  
13105  
13106  
# Line 12131 | Line 13114 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13114  
13115   LIBTOOL="$LIBTOOL --silent"
13116  
12134
13117   # Checks for libraries.
13118  
13119 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13120 < $as_echo_n "checking for library containing socket... " >&6; }
13121 < if test "${ac_cv_search_socket+set}" = set; then :
13119 >
13120 >  if test "X$CC" != "X"; then
13121 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13122 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13123 > if ${ssp_cv_cc+:} false; then :
13124 >  $as_echo_n "(cached) " >&6
13125 > else
13126 >  ssp_old_cflags="$CFLAGS"
13127 >       CFLAGS="$CFLAGS -fstack-protector"
13128 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 > /* end confdefs.h.  */
13130 >
13131 > int
13132 > main ()
13133 > {
13134 >
13135 >  ;
13136 >  return 0;
13137 > }
13138 > _ACEOF
13139 > if ac_fn_c_try_compile "$LINENO"; then :
13140 >  ssp_cv_cc=yes
13141 > else
13142 >  ssp_cv_cc=no
13143 > fi
13144 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13145 >       CFLAGS="$ssp_old_cflags"
13146 >
13147 > fi
13148 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13149 > $as_echo "$ssp_cv_cc" >&6; }
13150 >    if test $ssp_cv_cc = yes; then
13151 >      CFLAGS="$CFLAGS -fstack-protector"
13152 >
13153 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13154 >
13155 >    fi
13156 >  fi
13157 >
13158 >
13159 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13160 > $as_echo_n "checking whether libssp exists... " >&6; }
13161 > if ${ssp_cv_lib+:} false; then :
13162 >  $as_echo_n "(cached) " >&6
13163 > else
13164 >  ssp_old_libs="$LIBS"
13165 >     LIBS="$LIBS -lssp"
13166 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167 > /* end confdefs.h.  */
13168 >
13169 > int
13170 > main ()
13171 > {
13172 >
13173 >  ;
13174 >  return 0;
13175 > }
13176 > _ACEOF
13177 > if ac_fn_c_try_link "$LINENO"; then :
13178 >  ssp_cv_lib=yes
13179 > else
13180 >  ssp_cv_lib=no
13181 > fi
13182 > rm -f core conftest.err conftest.$ac_objext \
13183 >    conftest$ac_exeext conftest.$ac_ext
13184 >     LIBS="$ssp_old_libs"
13185 >
13186 > fi
13187 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13188 > $as_echo "$ssp_cv_lib" >&6; }
13189 >  if test $ssp_cv_lib = yes; then
13190 >    LIBS="$LIBS -lssp"
13191 >  fi
13192 >
13193 >
13194 >
13195 >
13196 >
13197 >
13198 > for flag in -fno-strict-aliasing; do
13199 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13200 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13201 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13202 > if eval \${$as_CACHEVAR+:} false; then :
13203 >  $as_echo_n "(cached) " >&6
13204 > else
13205 >
13206 >  ax_check_save_flags=$CFLAGS
13207 >  CFLAGS="$CFLAGS  $flag"
13208 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 > /* end confdefs.h.  */
13210 >
13211 > int
13212 > main ()
13213 > {
13214 >
13215 >  ;
13216 >  return 0;
13217 > }
13218 > _ACEOF
13219 > if ac_fn_c_try_compile "$LINENO"; then :
13220 >  eval "$as_CACHEVAR=yes"
13221 > else
13222 >  eval "$as_CACHEVAR=no"
13223 > fi
13224 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13225 >  CFLAGS=$ax_check_save_flags
13226 > fi
13227 > eval ac_res=\$$as_CACHEVAR
13228 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13229 > $as_echo "$ac_res" >&6; }
13230 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13231 >  if ${CFLAGS+:} false; then :
13232 >  case " $CFLAGS " in
13233 >    *" $flag "*)
13234 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13235 >  (: CFLAGS already contains $flag) 2>&5
13236 >  ac_status=$?
13237 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13238 >  test $ac_status = 0; }
13239 >      ;;
13240 >    *)
13241 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13242 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13243 >  ac_status=$?
13244 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13245 >  test $ac_status = 0; }
13246 >      CFLAGS="$CFLAGS $flag"
13247 >      ;;
13248 >   esac
13249 > else
13250 >  CFLAGS="$flag"
13251 > fi
13252 >
13253 > else
13254 >  :
13255 > fi
13256 >
13257 > done
13258 >
13259 >
13260 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13261 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13262 >
13263 > else
13264 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13265 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13266 > if ${ac_cv_search_getaddrinfo+:} false; then :
13267    $as_echo_n "(cached) " >&6
13268   else
13269    ac_func_search_save_LIBS=$LIBS
# Line 12149 | Line 13276 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13276   #ifdef __cplusplus
13277   extern "C"
13278   #endif
13279 < char socket ();
13279 > char getaddrinfo ();
13280   int
13281   main ()
13282   {
13283 < return socket ();
13283 > return getaddrinfo ();
13284    ;
13285    return 0;
13286   }
13287   _ACEOF
13288 < for ac_lib in '' socket; do
13288 > for ac_lib in '' nsl; do
13289    if test -z "$ac_lib"; then
13290      ac_res="none required"
13291    else
# Line 12166 | Line 13293 | for ac_lib in '' socket; do
13293      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13294    fi
13295    if ac_fn_c_try_link "$LINENO"; then :
13296 <  ac_cv_search_socket=$ac_res
13296 >  ac_cv_search_getaddrinfo=$ac_res
13297   fi
13298   rm -f core conftest.err conftest.$ac_objext \
13299      conftest$ac_exeext
13300 <  if test "${ac_cv_search_socket+set}" = set; then :
13300 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13301    break
13302   fi
13303   done
13304 < if test "${ac_cv_search_socket+set}" = set; then :
13304 > if ${ac_cv_search_getaddrinfo+:} false; then :
13305  
13306   else
13307 <  ac_cv_search_socket=no
13307 >  ac_cv_search_getaddrinfo=no
13308   fi
13309   rm conftest.$ac_ext
13310   LIBS=$ac_func_search_save_LIBS
13311   fi
13312 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13313 < $as_echo "$ac_cv_search_socket" >&6; }
13314 < ac_res=$ac_cv_search_socket
13312 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13313 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13314 > ac_res=$ac_cv_search_getaddrinfo
13315   if test "$ac_res" != no; then :
13316    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13317  
12191 else
12192  as_fn_error "socket library not found" "$LINENO" 5
13318   fi
13319  
12195  for ac_func in inet_aton inet_ntop inet_pton
12196 do :
12197  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12199 eval as_val=\$$as_ac_var
12200   if test "x$as_val" = x""yes; then :
12201  cat >>confdefs.h <<_ACEOF
12202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12203 _ACEOF
12204
13320   fi
12206 done
13321  
13322 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13323 <   #include <sys/socket.h>
12210 <   #include <netdb.h>
13322 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13323 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13324  
13325 < "
13326 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13325 > else
13326 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13327 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13328 > if ${ac_cv_search_getnameinfo+:} false; then :
13329 >  $as_echo_n "(cached) " >&6
13330 > else
13331 >  ac_func_search_save_LIBS=$LIBS
13332 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 > /* end confdefs.h.  */
13334  
13335 < cat >>confdefs.h <<_ACEOF
13336 < #define HAVE_STRUCT_SOCKADDR_IN 1
13335 > /* Override any GCC internal prototype to avoid an error.
13336 >   Use char because int might match the return type of a GCC
13337 >   builtin and then its argument prototype would still apply.  */
13338 > #ifdef __cplusplus
13339 > extern "C"
13340 > #endif
13341 > char getnameinfo ();
13342 > int
13343 > main ()
13344 > {
13345 > return getnameinfo ();
13346 >  ;
13347 >  return 0;
13348 > }
13349   _ACEOF
13350 <
13351 <
13350 > for ac_lib in '' nsl; do
13351 >  if test -z "$ac_lib"; then
13352 >    ac_res="none required"
13353 >  else
13354 >    ac_res=-l$ac_lib
13355 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13356 >  fi
13357 >  if ac_fn_c_try_link "$LINENO"; then :
13358 >  ac_cv_search_getnameinfo=$ac_res
13359   fi
13360 < ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13361 <   #include <sys/socket.h>
13362 <   #include <netdb.h>
13363 <
12225 < "
12226 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12227 <
12228 < cat >>confdefs.h <<_ACEOF
12229 < #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12230 < _ACEOF
12231 <
12232 <
13360 > rm -f core conftest.err conftest.$ac_objext \
13361 >    conftest$ac_exeext
13362 >  if ${ac_cv_search_getnameinfo+:} false; then :
13363 >  break
13364   fi
13365 < ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13366 <   #include <sys/socket.h>
12236 <   #include <netdb.h>
12237 <
12238 < "
12239 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12240 <
12241 < cat >>confdefs.h <<_ACEOF
12242 < #define HAVE_STRUCT_ADDRINFO 1
12243 < _ACEOF
12244 <
13365 > done
13366 > if ${ac_cv_search_getnameinfo+:} false; then :
13367  
13368 + else
13369 +  ac_cv_search_getnameinfo=no
13370   fi
13371 <
13372 <  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12249 <  <sys/socket.h>
12250 < "
12251 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12252 <
12253 < cat >>confdefs.h <<_ACEOF
12254 < #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
12255 < _ACEOF
12256 <
12257 <
13371 > rm conftest.$ac_ext
13372 > LIBS=$ac_func_search_save_LIBS
13373   fi
13374 <
13375 <
13376 <
13377 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13378 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12264 <
12265 < cat >>confdefs.h <<_ACEOF
12266 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12267 < _ACEOF
12268 <
12269 <
12270 < else
12271 <
12272 < $as_echo "#define IPV6 1" >>confdefs.h
13374 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13375 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13376 > ac_res=$ac_cv_search_getnameinfo
13377 > if test "$ac_res" != no; then :
13378 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13379  
13380   fi
13381  
13382 + fi
13383  
13384 <
13385 <
13386 < # Checks for typedefs, structures, and compiler characteristics.
12280 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12281 < $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12282 < if test "${ac_cv_c_const+set}" = set; then :
13384 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13385 > $as_echo_n "checking for library containing socket... " >&6; }
13386 > if ${ac_cv_search_socket+:} false; then :
13387    $as_echo_n "(cached) " >&6
13388   else
13389 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 >  ac_func_search_save_LIBS=$LIBS
13390 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391   /* end confdefs.h.  */
13392  
13393 + /* Override any GCC internal prototype to avoid an error.
13394 +   Use char because int might match the return type of a GCC
13395 +   builtin and then its argument prototype would still apply.  */
13396 + #ifdef __cplusplus
13397 + extern "C"
13398 + #endif
13399 + char socket ();
13400   int
13401   main ()
13402   {
13403 < /* FIXME: Include the comments suggested by Paul. */
12292 < #ifndef __cplusplus
12293 <  /* Ultrix mips cc rejects this.  */
12294 <  typedef int charset[2];
12295 <  const charset cs;
12296 <  /* SunOS 4.1.1 cc rejects this.  */
12297 <  char const *const *pcpcc;
12298 <  char **ppc;
12299 <  /* NEC SVR4.0.2 mips cc rejects this.  */
12300 <  struct point {int x, y;};
12301 <  static struct point const zero = {0,0};
12302 <  /* AIX XL C 1.02.0.0 rejects this.
12303 <     It does not let you subtract one const X* pointer from another in
12304 <     an arm of an if-expression whose if-part is not a constant
12305 <     expression */
12306 <  const char *g = "string";
12307 <  pcpcc = &g + (g ? g-g : 0);
12308 <  /* HPUX 7.0 cc rejects these. */
12309 <  ++pcpcc;
12310 <  ppc = (char**) pcpcc;
12311 <  pcpcc = (char const *const *) ppc;
12312 <  { /* SCO 3.2v4 cc rejects this.  */
12313 <    char *t;
12314 <    char const *s = 0 ? (char *) 0 : (char const *) 0;
12315 <
12316 <    *t++ = 0;
12317 <    if (s) return 0;
12318 <  }
12319 <  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12320 <    int x[] = {25, 17};
12321 <    const int *foo = &x[0];
12322 <    ++foo;
12323 <  }
12324 <  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12325 <    typedef const int *iptr;
12326 <    iptr p = 0;
12327 <    ++p;
12328 <  }
12329 <  { /* AIX XL C 1.02.0.0 rejects this saying
12330 <       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12331 <    struct s { int j; const int *ap[3]; };
12332 <    struct s *b; b->j = 5;
12333 <  }
12334 <  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12335 <    const int foo = 10;
12336 <    if (!foo) return 0;
12337 <  }
12338 <  return !cs[0] && !zero.x;
12339 < #endif
12340 <
13403 > return socket ();
13404    ;
13405    return 0;
13406   }
13407   _ACEOF
13408 < if ac_fn_c_try_compile "$LINENO"; then :
13409 <  ac_cv_c_const=yes
13410 < else
13411 <  ac_cv_c_const=no
13408 > for ac_lib in '' socket; do
13409 >  if test -z "$ac_lib"; then
13410 >    ac_res="none required"
13411 >  else
13412 >    ac_res=-l$ac_lib
13413 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13414 >  fi
13415 >  if ac_fn_c_try_link "$LINENO"; then :
13416 >  ac_cv_search_socket=$ac_res
13417   fi
13418 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13418 > rm -f core conftest.err conftest.$ac_objext \
13419 >    conftest$ac_exeext
13420 >  if ${ac_cv_search_socket+:} false; then :
13421 >  break
13422   fi
13423 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13424 < $as_echo "$ac_cv_c_const" >&6; }
12354 < if test $ac_cv_c_const = no; then
12355 <
12356 < $as_echo "#define const /**/" >>confdefs.h
13423 > done
13424 > if ${ac_cv_search_socket+:} false; then :
13425  
13426 + else
13427 +  ac_cv_search_socket=no
13428   fi
13429 + rm conftest.$ac_ext
13430 + LIBS=$ac_func_search_save_LIBS
13431 + fi
13432 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13433 + $as_echo "$ac_cv_search_socket" >&6; }
13434 + ac_res=$ac_cv_search_socket
13435 + if test "$ac_res" != no; then :
13436 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13437  
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12361 $as_echo_n "checking for inline... " >&6; }
12362 if test "${ac_cv_c_inline+set}" = set; then :
12363  $as_echo_n "(cached) " >&6
13438   else
13439 <  ac_cv_c_inline=no
12366 < for ac_kw in inline __inline__ __inline; do
12367 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 < /* end confdefs.h.  */
12369 < #ifndef __cplusplus
12370 < typedef int foo_t;
12371 < static $ac_kw foo_t static_foo () {return 0; }
12372 < $ac_kw foo_t foo () {return 0; }
12373 < #endif
12374 <
12375 < _ACEOF
12376 < if ac_fn_c_try_compile "$LINENO"; then :
12377 <  ac_cv_c_inline=$ac_kw
13439 >  as_fn_error $? "socket library not found" "$LINENO" 5
13440   fi
12379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12380  test "$ac_cv_c_inline" != no && break
12381 done
13441  
12383 fi
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12385 $as_echo "$ac_cv_c_inline" >&6; }
13442  
12387 case $ac_cv_c_inline in
12388  inline | yes) ;;
12389  *)
12390    case $ac_cv_c_inline in
12391      no) ac_val=;;
12392      *) ac_val=$ac_cv_c_inline;;
12393    esac
12394    cat >>confdefs.h <<_ACEOF
12395 #ifndef __cplusplus
12396 #define inline $ac_val
12397 #endif
12398 _ACEOF
12399    ;;
12400 esac
13443  
13444 + # Checks for typedefs, structures, and compiler characteristics.
13445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13446   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13447 < if test "${ac_cv_c_bigendian+set}" = set; then :
13447 > if ${ac_cv_c_bigendian+:} false; then :
13448    $as_echo_n "(cached) " >&6
13449   else
13450    ac_cv_c_bigendian=unknown
# Line 12619 | Line 13662 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13662  
13663       ;; #(
13664     *)
13665 <     as_fn_error "unknown endianness
13665 >     as_fn_error $? "unknown endianness
13666   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13667   esac
13668  
13669  
12627 # The cast to long int works around a bug in the HP C Compiler
12628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12630 # This bug is HP SR number 8606223364.
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12632 $as_echo_n "checking size of int64_t... " >&6; }
12633 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12634  $as_echo_n "(cached) " >&6
12635 else
12636  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12637
12638 else
12639  if test "$ac_cv_type_int64_t" = yes; then
12640     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12642 { as_fn_set_status 77
12643 as_fn_error "cannot compute sizeof (int64_t)
12644 See \`config.log' for more details." "$LINENO" 5; }; }
12645   else
12646     ac_cv_sizeof_int64_t=0
12647   fi
12648 fi
12649
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12652 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12653
12654
12655
12656 cat >>confdefs.h <<_ACEOF
12657 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12658 _ACEOF
12659
12660
12661 # The cast to long int works around a bug in the HP C Compiler
12662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12664 # This bug is HP SR number 8606223364.
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12666 $as_echo_n "checking size of long long... " >&6; }
12667 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12668  $as_echo_n "(cached) " >&6
12669 else
12670  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12671
12672 else
12673  if test "$ac_cv_type_long_long" = yes; then
12674     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12676 { as_fn_set_status 77
12677 as_fn_error "cannot compute sizeof (long long)
12678 See \`config.log' for more details." "$LINENO" 5; }; }
12679   else
12680     ac_cv_sizeof_long_long=0
12681   fi
12682 fi
12683
12684 fi
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12686 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12687
12688
12689
12690 cat >>confdefs.h <<_ACEOF
12691 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12692 _ACEOF
12693
12694
12695
12696 if test "$ac_cv_sizeof_int64_t" = 8; then
12697  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12698 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12699
12700 fi
12701
12702  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_int64_t" = x""yes; then :
12704
12705 fi
12706
12707 elif test "$ac_cv_sizeof_long_long" = 8; then
12708  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12709 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12710
12711 else
12712
12713 cat >>confdefs.h <<_ACEOF
12714 #define uint64_t unsigned long long
12715 _ACEOF
12716
12717 fi
12718
12719  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12720 if test "x$ac_cv_type_int64_t" = x""yes; then :
12721
12722 else
12723
12724 cat >>confdefs.h <<_ACEOF
12725 #define int64_t long long
12726 _ACEOF
12727
12728 fi
12729
12730 else
12731  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12732 fi
12733
12734
13670   # Checks for library functions.
13671  
13672  
# Line 12740 | Line 13675 | fi
13675   do :
13676    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13677   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13678 < eval as_val=\$$as_ac_var
12744 <   if test "x$as_val" = x""yes; then :
13678 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13679    cat >>confdefs.h <<_ACEOF
13680   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13681   _ACEOF
# Line 12759 | Line 13693 | done
13693  
13694  
13695  
12762
12763
12764
12765
12766
12767
13696   # Checks for header files.
13697  
13698  
# Line 12774 | Line 13702 | do :
13702    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13703   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13704   "
13705 < eval as_val=\$$as_ac_Header
12778 <   if test "x$as_val" = x""yes; then :
13705 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13706    cat >>confdefs.h <<_ACEOF
13707   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13708   _ACEOF
# Line 12800 | Line 13727 | done
13727  
13728  
13729  
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12818 $as_echo_n "checking for /dev/null... " >&6; }
12819 if test -c /dev/null ; then
12820
12821 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12822
12823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12824 $as_echo "yes" >&6; }
12825 else
12826
12827 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12828
12829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12830 $as_echo "no - using devnull.log" >&6; }
12831 fi
12832
12833
13730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13731   $as_echo_n "checking for library containing crypt... " >&6; }
13732 < if test "${ac_cv_search_crypt+set}" = set; then :
13732 > if ${ac_cv_search_crypt+:} false; then :
13733    $as_echo_n "(cached) " >&6
13734   else
13735    ac_func_search_save_LIBS=$LIBS
# Line 12867 | Line 13763 | for ac_lib in '' crypt; do
13763   fi
13764   rm -f core conftest.err conftest.$ac_objext \
13765      conftest$ac_exeext
13766 <  if test "${ac_cv_search_crypt+set}" = set; then :
13766 >  if ${ac_cv_search_crypt+:} false; then :
13767    break
13768   fi
13769   done
13770 < if test "${ac_cv_search_crypt+set}" = set; then :
13770 > if ${ac_cv_search_crypt+:} false; then :
13771  
13772   else
13773    ac_cv_search_crypt=no
# Line 12888 | Line 13784 | if test "$ac_res" != no; then :
13784   fi
13785  
13786  
13787 <
13788 <
13789 < # Check whether --with-zlib-path was given.
13790 < if test "${with_zlib_path+set}" = set; then :
13791 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13792 < fi
13793 <
13794 <
13795 < # Check whether --enable-zlib was given.
12900 < if test "${enable_zlib+set}" = set; then :
12901 <  enableval=$enable_zlib; zlib=$enableval
12902 < else
12903 <  zlib=yes
12904 < fi
12905 <
12906 <
12907 < if test "$zlib" = yes; then
12908 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12909 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12910 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12911 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12912 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13787 > # Check whether --enable-libgeoip was given.
13788 > if test "${enable_libgeoip+set}" = set; then :
13789 >  enableval=$enable_libgeoip;
13790 > else
13791 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13792 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13793 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13794 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13795 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13796    $as_echo_n "(cached) " >&6
13797   else
13798 <  ac_check_lib_save_LIBS=$LIBS
12916 < LIBS="-lz  $LIBS"
12917 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 < /* end confdefs.h.  */
12919 <
12920 < /* Override any GCC internal prototype to avoid an error.
12921 <   Use char because int might match the return type of a GCC
12922 <   builtin and then its argument prototype would still apply.  */
12923 < #ifdef __cplusplus
12924 < extern "C"
12925 < #endif
12926 < char zlibVersion ();
12927 < int
12928 < main ()
12929 < {
12930 < return zlibVersion ();
12931 <  ;
12932 <  return 0;
12933 < }
12934 < _ACEOF
12935 < if ac_fn_c_try_link "$LINENO"; then :
12936 <  ac_cv_lib_z_zlibVersion=yes
12937 < else
12938 <  ac_cv_lib_z_zlibVersion=no
12939 < fi
12940 < rm -f core conftest.err conftest.$ac_objext \
12941 <    conftest$ac_exeext conftest.$ac_ext
12942 < LIBS=$ac_check_lib_save_LIBS
12943 < fi
12944 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12945 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12946 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12947 <
12948 <      LIBS="-lz $LIBS"
12949 <
12950 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12951 <
12952 <
12953 < else
12954 <  zlib=no
12955 < fi
12956 <
12957 <
12958 < else
12959 <  zlib=no
12960 < fi
12961 <
12962 <
12963 < fi
12964 <
12965 <
12966 < # Check whether --with-libpcre-path was given.
12967 < if test "${with_libpcre_path+set}" = set; then :
12968 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12969 < fi
12970 <
12971 <
12972 < # Check whether --enable-libpcre was given.
12973 < if test "${enable_libpcre+set}" = set; then :
12974 <  enableval=$enable_libpcre; libpcre=$enableval
12975 < else
12976 <  libpcre=yes
12977 < fi
12978 <
12979 <
12980 < if test "$libpcre" = yes; then
12981 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12982 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
12983 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12984 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12985 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12986 <  $as_echo_n "(cached) " >&6
12987 < else
12988 <  ac_check_lib_save_LIBS=$LIBS
12989 < LIBS="-lpcre  $LIBS"
13798 >  ac_func_search_save_LIBS=$LIBS
13799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800   /* end confdefs.h.  */
13801  
# Line 12996 | Line 13805 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13805   #ifdef __cplusplus
13806   extern "C"
13807   #endif
13808 < char pcre_study ();
13808 > char GeoIP_id_by_ipnum_v6_gl ();
13809   int
13810   main ()
13811   {
13812 < return pcre_study ();
13812 > return GeoIP_id_by_ipnum_v6_gl ();
13813    ;
13814    return 0;
13815   }
13816   _ACEOF
13817 < if ac_fn_c_try_link "$LINENO"; then :
13818 <  ac_cv_lib_pcre_pcre_study=yes
13819 < else
13820 <  ac_cv_lib_pcre_pcre_study=no
13817 > for ac_lib in '' GeoIP; do
13818 >  if test -z "$ac_lib"; then
13819 >    ac_res="none required"
13820 >  else
13821 >    ac_res=-l$ac_lib
13822 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13823 >  fi
13824 >  if ac_fn_c_try_link "$LINENO"; then :
13825 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13826   fi
13827   rm -f core conftest.err conftest.$ac_objext \
13828 <    conftest$ac_exeext conftest.$ac_ext
13829 < LIBS=$ac_check_lib_save_LIBS
13828 >    conftest$ac_exeext
13829 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13830 >  break
13831   fi
13832 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13833 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13019 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13020 <
13021 <      LIBS="-lpcre $LIBS"
13022 <
13023 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13024 <
13832 > done
13833 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13834  
13835   else
13836 <  libpcre=no
13836 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13837   fi
13838 <
13839 <
13031 < else
13032 <  libpcre=no
13838 > rm conftest.$ac_ext
13839 > LIBS=$ac_func_search_save_LIBS
13840   fi
13841 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13842 + $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13843 + ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13844 + if test "$ac_res" != no; then :
13845 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13846  
13847 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13848  
13849   fi
13037 if test "$libpcre" = yes; then
13038  ENABLE_PCRE_TRUE=
13039  ENABLE_PCRE_FALSE='#'
13040 else
13041  ENABLE_PCRE_TRUE='#'
13042  ENABLE_PCRE_FALSE=
13043 fi
13044
13045
13850  
13047 # Check whether --enable-openssl was given.
13048 if test "${enable_openssl+set}" = set; then :
13049  enableval=$enable_openssl;  cf_enable_openssl=$enableval
13050 else
13051   cf_enable_openssl="auto"
13851   fi
13852  
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
13055 $as_echo_n "checking for OpenSSL... " >&6; }
13056 if test "$cf_enable_openssl" != "no"; then
13057  cf_openssl_basedir=""
13058  if test "$cf_enable_openssl" != "auto" &&
13059     test "$cf_enable_openssl" != "yes"; then
13060          cf_openssl_basedir="${cf_enable_openssl}"
13061  else
13062        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
13063                /opt /opt/openssl /usr/local/openssl; do
13064      if test -f "${dirs}/include/openssl/opensslv.h"; then
13065        cf_openssl_basedir="${dirs}"
13066        break
13067      fi
13068    done
13069    unset dirs
13070  fi
13071
13072    if test ! -z "$cf_openssl_basedir"; then
13073    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
13074      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
13075      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
13076    else
13077                  cf_openssl_basedir=""
13078    fi
13079  else
13080                            if test -f "/usr/include/openssl/opensslv.h"; then
13081      cf_openssl_basedir="/usr"
13082    fi
13083  fi
13084
13085      if test ! -z "$cf_openssl_basedir"; then
13086    LIBS="-lcrypto -lssl $LIBS"
13087    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13088 $as_echo "$cf_openssl_basedir" >&6; }
13089    cf_enable_openssl="yes"
13090
13091 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13853  
13093  else
13094    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13095 $as_echo "not found.  Please check your path." >&6; }
13096    cf_enable_openssl="no"
13097  fi
13098  unset cf_openssl_basedir
13099 else
13100    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13101 $as_echo "disabled" >&6; }
13102 fi
13103 if test "$cf_enable_openssl" = yes; then
13104  ENABLE_SSL_TRUE=
13105  ENABLE_SSL_FALSE='#'
13106 else
13107  ENABLE_SSL_TRUE='#'
13108  ENABLE_SSL_FALSE=
13854   fi
13855  
13856  
13112
13857   # Check whether --enable-assert was given.
13858   if test "${enable_assert+set}" = set; then :
13859    enableval=$enable_assert; assert=$enableval
# Line 13117 | Line 13861 | else
13861    assert=no
13862   fi
13863  
13120 if test "$assert" = no; then
13121
13122 $as_echo "#define NDEBUG 1" >>confdefs.h
13864  
13865 < fi
13865 > if test "$assert" = "no"; then :
13866  
13867 + $as_echo "#define NDEBUG 1" >>confdefs.h
13868  
13127 # Check whether --enable-small-net was given.
13128 if test "${enable_small_net+set}" = set; then :
13129  enableval=$enable_small_net; small_net=$enableval
13130 else
13131  small_net=no
13869   fi
13870  
13871  
13872 < if test "$small_net" = yes; then
13136 <
13137 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13138 <
13872 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
13873  
13140 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13874  
13875 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
13876  
13143 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13877  
13878 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
13879  
13146 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13880  
13881 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
13882  
13149 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13883  
13884 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
13885  
13152 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13886  
13887 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
13888  
13155 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13889  
13890 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
13891  
13158 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13892  
13893 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
13894  
13161 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13895  
13896 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
13897  
13164 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13165
13166 else
13167
13168 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13898  
13899 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
13900  
13171 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13901  
13902 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
13903  
13174 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13904  
13905 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
13906  
13177 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13907  
13908 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
13909  
13180 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13910  
13911 <
13183 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13184 <
13185 <
13186 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13187 <
13188 <
13189 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13190 <
13191 <
13192 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13193 <
13194 <
13195 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13196 <
13197 < fi
13911 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
13912  
13913  
13914   # Argument processing.
13915  
13916 <    desired_iopoll_mechanism="none"
13917 <    # Check whether --enable-kqueue was given.
13916 >  desired_iopoll_mechanism="none"
13917 >
13918 >  # Check whether --enable-kqueue was given.
13919   if test "${enable_kqueue+set}" = set; then :
13920    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13921   fi
# Line 13215 | Line 13930 | if test "${enable_devpoll+set}" = set; t
13930    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13931   fi
13932  
13218  # Check whether --enable-rtsigio was given.
13219 if test "${enable_rtsigio+set}" = set; then :
13220  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13221 fi
13222
13933    # Check whether --enable-poll was given.
13934   if test "${enable_poll+set}" = set; then :
13935    enableval=$enable_poll; desired_iopoll_mechanism="poll"
13936   fi
13937  
13228  # Check whether --enable-select was given.
13229 if test "${enable_select+set}" = set; then :
13230  enableval=$enable_select; desired_iopoll_mechanism="select"
13231 fi
13938  
13939 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13939 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13940   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13941 +
13942    iopoll_mechanism_none=0
13943  
13944   cat >>confdefs.h <<_ACEOF
13945   #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13946   _ACEOF
13947  
13948 <      iopoll_mechanism_kqueue=1
13948 >
13949 >  iopoll_mechanism_kqueue=1
13950  
13951   cat >>confdefs.h <<_ACEOF
13952   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
# Line 13292 | Line 14000 | else
14000   fi
14001   rm -f core conftest.err conftest.$ac_objext \
14002      conftest$ac_exeext conftest.$ac_ext
14003 <      iopoll_mechanism_epoll=2
14003 >
14004 >  iopoll_mechanism_epoll=2
14005  
14006   cat >>confdefs.h <<_ACEOF
14007   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14008   _ACEOF
14009  
13301  if test "$cross_compiling" = yes; then :
13302  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13304 as_fn_error "cannot run test program while cross compiling
13305 See \`config.log' for more details." "$LINENO" 5; }
13306 else
14010    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011   /* end confdefs.h.  */
13309
14012   #include <sys/epoll.h>
14013 < #include <sys/syscall.h>
14014 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14015 < #if !defined(__NR_epoll_create)
14016 < #if defined(__ia64__)
14017 < #define __NR_epoll_create 1243
14018 < #elif defined(__x86_64__)
14019 < #define __NR_epoll_create 214
13318 < #elif defined(__sparc64__) || defined(__sparc__)
13319 < #define __NR_epoll_create 193
13320 < #elif defined(__s390__) || defined(__m68k__)
13321 < #define __NR_epoll_create 249
13322 < #elif defined(__ppc64__) || defined(__ppc__)
13323 < #define __NR_epoll_create 236
13324 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13325 < #define __NR_epoll_create 224
13326 < #elif defined(__alpha__)
13327 < #define __NR_epoll_create 407
13328 < #elif defined(__sh64__)
13329 < #define __NR_epoll_create 282
13330 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13331 < #define __NR_epoll_create 254
13332 < #else
13333 < #error No system call numbers defined for epoll family.
13334 < #endif
13335 < #endif
13336 < _syscall1(int, epoll_create, int, size)
13337 < #endif
13338 < main() { return epoll_create(256) == -1 ? 1 : 0; }
13339 <
14013 > int
14014 > main ()
14015 > {
14016 > epoll_create(256);
14017 >  ;
14018 >  return 0;
14019 > }
14020   _ACEOF
14021 < if ac_fn_c_try_run "$LINENO"; then :
14021 > if ac_fn_c_try_link "$LINENO"; then :
14022    is_epoll_mechanism_available="yes"
14023   else
14024    is_epoll_mechanism_available="no"
14025   fi
14026 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14027 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13348 < fi
14026 > rm -f core conftest.err conftest.$ac_objext \
14027 >    conftest$ac_exeext conftest.$ac_ext
14028  
14029 <      iopoll_mechanism_devpoll=3
14029 >  iopoll_mechanism_devpoll=3
14030  
14031   cat >>confdefs.h <<_ACEOF
14032   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
# Line 13397 | Line 14076 | rm -f core conftest.err conftest.$ac_obj
14076   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14077  
14078    fi
13400      iopoll_mechanism_rtsigio=4
13401
13402 cat >>confdefs.h <<_ACEOF
13403 #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13404 _ACEOF
14079  
14080 <  if test "$cross_compiling" = yes; then :
13407 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13408 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13409 < as_fn_error "cannot run test program while cross compiling
13410 < See \`config.log' for more details." "$LINENO" 5; }
13411 < else
13412 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 < /* end confdefs.h.  */
13414 <
13415 < #include <fcntl.h>
13416 < #ifdef F_SETSIG
13417 < main () { return 0; } /* F_SETSIG defined */
13418 < #else
13419 < main () { return 1; } /* F_SETSIG not defined */
13420 < #endif
13421 <
13422 < int
13423 < main ()
13424 < {
13425 <
13426 <  ;
13427 <  return 0;
13428 < }
13429 < _ACEOF
13430 < if ac_fn_c_try_run "$LINENO"; then :
13431 <  is_rtsigio_mechanism_available="yes"
13432 < else
13433 <  is_rtsigio_mechanism_available="no"
13434 < fi
13435 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13436 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13437 < fi
13438 <
13439 <      iopoll_mechanism_poll=5
14080 >  iopoll_mechanism_poll=4
14081  
14082   cat >>confdefs.h <<_ACEOF
14083   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13490 | Line 14131 | else
14131   fi
14132   rm -f core conftest.err conftest.$ac_objext \
14133      conftest$ac_exeext conftest.$ac_ext
13493      iopoll_mechanism_select=6
13494
13495 cat >>confdefs.h <<_ACEOF
13496 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
13497 _ACEOF
13498
13499  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13500 /* end confdefs.h.  */
13501 /* Define select to an innocuous variant, in case <limits.h> declares select.
13502   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13503 #define select innocuous_select
13504
13505 /* System header to define __stub macros and hopefully few prototypes,
13506    which can conflict with char select (); below.
13507    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13508    <limits.h> exists even on freestanding compilers.  */
14134  
14135 < #ifdef __STDC__
14136 < # include <limits.h>
13512 < #else
13513 < # include <assert.h>
13514 < #endif
13515 <
13516 < #undef select
13517 <
13518 < /* Override any GCC internal prototype to avoid an error.
13519 <   Use char because int might match the return type of a GCC
13520 <   builtin and then its argument prototype would still apply.  */
13521 < #ifdef __cplusplus
13522 < extern "C"
13523 < #endif
13524 < char select ();
13525 < /* The GNU C library defines this for functions which it implements
13526 <    to always fail with ENOSYS.  Some functions are actually named
13527 <    something starting with __ and the normal name is an alias.  */
13528 < #if defined __stub_select || defined __stub___select
13529 < choke me
13530 < #endif
13531 <
13532 < int
13533 < main ()
13534 < {
13535 < return select ();
13536 <  ;
13537 <  return 0;
13538 < }
13539 < _ACEOF
13540 < if ac_fn_c_try_link "$LINENO"; then :
13541 <  is_select_mechanism_available="yes"
13542 < else
13543 <  is_select_mechanism_available="no"
13544 < fi
13545 < rm -f core conftest.err conftest.$ac_objext \
13546 <    conftest$ac_exeext conftest.$ac_ext
13547 <      optimal_iopoll_mechanism="none"
13548 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14135 >  optimal_iopoll_mechanism="none"
14136 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14137      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14138      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14139        optimal_iopoll_mechanism="$mechanism"
14140        break
14141      fi
14142    done
14143 <      if test "$desired_iopoll_mechanism" = "none" ; then
14143 >
14144 >  if test "$desired_iopoll_mechanism" = "none" ; then
14145      if test "$optimal_iopoll_mechanism" = "none" ; then
14146        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14147   $as_echo "none" >&6; }
14148 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14148 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14149      else
14150        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14151        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13571 | Line 14160 | $as_echo "$selected_iopoll_mechanism" >&
14160      else
14161        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14162   $as_echo "none" >&6; }
14163 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14163 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14164      fi
14165    fi
14166 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14166 >
14167 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14168  
14169   cat >>confdefs.h <<_ACEOF
14170   #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
# Line 13582 | Line 14172 | _ACEOF
14172  
14173  
14174  
14175 +  # Check whether --enable-debugging was given.
14176 + if test "${enable_debugging+set}" = set; then :
14177 +  enableval=$enable_debugging; debugging="$enableval"
14178 + else
14179 +  debugging="no"
14180 + fi
14181  
14182 < # Check whether --with-nicklen was given.
14183 < if test "${with_nicklen+set}" = set; then :
14184 <  withval=$with_nicklen; nicklen="$withval"
14182 >  if test "$debugging" = "yes" ; then
14183 >    CFLAGS="-Wall -g -O0"
14184 >  fi
14185 >
14186 >
14187 >  # Check whether --enable-warnings was given.
14188 > if test "${enable_warnings+set}" = set; then :
14189 >  enableval=$enable_warnings; warnings="$enableval"
14190   else
14191 <  nicklen="9"
14191 >  warnings="no"
14192   fi
14193  
14194  
14195 < cat >>confdefs.h <<_ACEOF
14196 < #define NICKLEN ($nicklen+1)
14195 >  if test "$warnings" = "yes" ; then
14196 >
14197 >
14198 >
14199 >
14200 > for flag in -Wall; do
14201 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14202 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14203 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14204 > if eval \${$as_CACHEVAR+:} false; then :
14205 >  $as_echo_n "(cached) " >&6
14206 > else
14207 >
14208 >  ax_check_save_flags=$CFLAGS
14209 >  CFLAGS="$CFLAGS  $flag"
14210 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211 > /* end confdefs.h.  */
14212 >
14213 > int
14214 > main ()
14215 > {
14216 >
14217 >  ;
14218 >  return 0;
14219 > }
14220   _ACEOF
14221 + if ac_fn_c_try_compile "$LINENO"; then :
14222 +  eval "$as_CACHEVAR=yes"
14223 + else
14224 +  eval "$as_CACHEVAR=no"
14225 + fi
14226 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14227 +  CFLAGS=$ax_check_save_flags
14228 + fi
14229 + eval ac_res=\$$as_CACHEVAR
14230 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14231 + $as_echo "$ac_res" >&6; }
14232 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14233 +  if ${CFLAGS+:} false; then :
14234 +  case " $CFLAGS " in
14235 +    *" $flag "*)
14236 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14237 +  (: CFLAGS already contains $flag) 2>&5
14238 +  ac_status=$?
14239 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14240 +  test $ac_status = 0; }
14241 +      ;;
14242 +    *)
14243 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14244 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14245 +  ac_status=$?
14246 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14247 +  test $ac_status = 0; }
14248 +      CFLAGS="$CFLAGS $flag"
14249 +      ;;
14250 +   esac
14251 + else
14252 +  CFLAGS="$flag"
14253 + fi
14254 +
14255 + else
14256 +  :
14257 + fi
14258 +
14259 + done
14260 +
14261  
14262  
14263  
14264  
14265 < # Check whether --with-topiclen was given.
14266 < if test "${with_topiclen+set}" = set; then :
14267 <  withval=$with_topiclen; topiclen="$withval"
14265 > for flag in -Wextra; do
14266 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14267 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14268 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14269 > if eval \${$as_CACHEVAR+:} false; then :
14270 >  $as_echo_n "(cached) " >&6
14271 > else
14272 >
14273 >  ax_check_save_flags=$CFLAGS
14274 >  CFLAGS="$CFLAGS  $flag"
14275 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 > /* end confdefs.h.  */
14277 >
14278 > int
14279 > main ()
14280 > {
14281 >
14282 >  ;
14283 >  return 0;
14284 > }
14285 > _ACEOF
14286 > if ac_fn_c_try_compile "$LINENO"; then :
14287 >  eval "$as_CACHEVAR=yes"
14288 > else
14289 >  eval "$as_CACHEVAR=no"
14290 > fi
14291 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14292 >  CFLAGS=$ax_check_save_flags
14293 > fi
14294 > eval ac_res=\$$as_CACHEVAR
14295 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14296 > $as_echo "$ac_res" >&6; }
14297 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14298 >  if ${CFLAGS+:} false; then :
14299 >  case " $CFLAGS " in
14300 >    *" $flag "*)
14301 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14302 >  (: CFLAGS already contains $flag) 2>&5
14303 >  ac_status=$?
14304 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14305 >  test $ac_status = 0; }
14306 >      ;;
14307 >    *)
14308 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14309 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14310 >  ac_status=$?
14311 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14312 >  test $ac_status = 0; }
14313 >      CFLAGS="$CFLAGS $flag"
14314 >      ;;
14315 >   esac
14316 > else
14317 >  CFLAGS="$flag"
14318 > fi
14319 >
14320   else
14321 <  topiclen="160"
14321 >  :
14322   fi
14323  
14324 + done
14325  
14326 < cat >>confdefs.h <<_ACEOF
14327 < #define TOPICLEN ($topiclen+1)
14326 >
14327 >
14328 >
14329 >
14330 > for flag in -Wno-unused; do
14331 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14332 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14333 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14334 > if eval \${$as_CACHEVAR+:} false; then :
14335 >  $as_echo_n "(cached) " >&6
14336 > else
14337 >
14338 >  ax_check_save_flags=$CFLAGS
14339 >  CFLAGS="$CFLAGS  $flag"
14340 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 > /* end confdefs.h.  */
14342 >
14343 > int
14344 > main ()
14345 > {
14346 >
14347 >  ;
14348 >  return 0;
14349 > }
14350 > _ACEOF
14351 > if ac_fn_c_try_compile "$LINENO"; then :
14352 >  eval "$as_CACHEVAR=yes"
14353 > else
14354 >  eval "$as_CACHEVAR=no"
14355 > fi
14356 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357 >  CFLAGS=$ax_check_save_flags
14358 > fi
14359 > eval ac_res=\$$as_CACHEVAR
14360 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14361 > $as_echo "$ac_res" >&6; }
14362 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14363 >  if ${CFLAGS+:} false; then :
14364 >  case " $CFLAGS " in
14365 >    *" $flag "*)
14366 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14367 >  (: CFLAGS already contains $flag) 2>&5
14368 >  ac_status=$?
14369 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14370 >  test $ac_status = 0; }
14371 >      ;;
14372 >    *)
14373 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14374 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14375 >  ac_status=$?
14376 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377 >  test $ac_status = 0; }
14378 >      CFLAGS="$CFLAGS $flag"
14379 >      ;;
14380 >   esac
14381 > else
14382 >  CFLAGS="$flag"
14383 > fi
14384 >
14385 > else
14386 >  :
14387 > fi
14388 >
14389 > done
14390 >
14391 >
14392 >
14393 >
14394 >
14395 > for flag in -Wcast-qual; do
14396 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14397 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14398 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14399 > if eval \${$as_CACHEVAR+:} false; then :
14400 >  $as_echo_n "(cached) " >&6
14401 > else
14402 >
14403 >  ax_check_save_flags=$CFLAGS
14404 >  CFLAGS="$CFLAGS  $flag"
14405 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 > /* end confdefs.h.  */
14407 >
14408 > int
14409 > main ()
14410 > {
14411 >
14412 >  ;
14413 >  return 0;
14414 > }
14415   _ACEOF
14416 + if ac_fn_c_try_compile "$LINENO"; then :
14417 +  eval "$as_CACHEVAR=yes"
14418 + else
14419 +  eval "$as_CACHEVAR=no"
14420 + fi
14421 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14422 +  CFLAGS=$ax_check_save_flags
14423 + fi
14424 + eval ac_res=\$$as_CACHEVAR
14425 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14426 + $as_echo "$ac_res" >&6; }
14427 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14428 +  if ${CFLAGS+:} false; then :
14429 +  case " $CFLAGS " in
14430 +    *" $flag "*)
14431 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14432 +  (: CFLAGS already contains $flag) 2>&5
14433 +  ac_status=$?
14434 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14435 +  test $ac_status = 0; }
14436 +      ;;
14437 +    *)
14438 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14439 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14440 +  ac_status=$?
14441 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14442 +  test $ac_status = 0; }
14443 +      CFLAGS="$CFLAGS $flag"
14444 +      ;;
14445 +   esac
14446 + else
14447 +  CFLAGS="$flag"
14448 + fi
14449 +
14450 + else
14451 +  :
14452 + fi
14453 +
14454 + done
14455 +
14456  
14457  
14458  
14459  
14460 < # Check whether --with-syslog-facility was given.
14461 < if test "${with_syslog_facility+set}" = set; then :
14462 <  withval=$with_syslog_facility; syslog_facility="$withval"
14460 > for flag in -Wcast-align; do
14461 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14462 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14463 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14464 > if eval \${$as_CACHEVAR+:} false; then :
14465 >  $as_echo_n "(cached) " >&6
14466 > else
14467 >
14468 >  ax_check_save_flags=$CFLAGS
14469 >  CFLAGS="$CFLAGS  $flag"
14470 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 > /* end confdefs.h.  */
14472 >
14473 > int
14474 > main ()
14475 > {
14476 >
14477 >  ;
14478 >  return 0;
14479 > }
14480 > _ACEOF
14481 > if ac_fn_c_try_compile "$LINENO"; then :
14482 >  eval "$as_CACHEVAR=yes"
14483 > else
14484 >  eval "$as_CACHEVAR=no"
14485 > fi
14486 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14487 >  CFLAGS=$ax_check_save_flags
14488 > fi
14489 > eval ac_res=\$$as_CACHEVAR
14490 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14491 > $as_echo "$ac_res" >&6; }
14492 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14493 >  if ${CFLAGS+:} false; then :
14494 >  case " $CFLAGS " in
14495 >    *" $flag "*)
14496 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14497 >  (: CFLAGS already contains $flag) 2>&5
14498 >  ac_status=$?
14499 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14500 >  test $ac_status = 0; }
14501 >      ;;
14502 >    *)
14503 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14504 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14505 >  ac_status=$?
14506 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14507 >  test $ac_status = 0; }
14508 >      CFLAGS="$CFLAGS $flag"
14509 >      ;;
14510 >   esac
14511 > else
14512 >  CFLAGS="$flag"
14513 > fi
14514 >
14515   else
14516 <  syslog_facility="LOG_LOCAL4"
14516 >  :
14517   fi
14518  
14519 + done
14520  
14521 < cat >>confdefs.h <<_ACEOF
14522 < #define LOG_FACILITY $syslog_facility
14521 >
14522 >
14523 >
14524 >
14525 > for flag in -Wbad-function-cast; do
14526 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14527 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14528 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14529 > if eval \${$as_CACHEVAR+:} false; then :
14530 >  $as_echo_n "(cached) " >&6
14531 > else
14532 >
14533 >  ax_check_save_flags=$CFLAGS
14534 >  CFLAGS="$CFLAGS  $flag"
14535 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 > /* end confdefs.h.  */
14537 >
14538 > int
14539 > main ()
14540 > {
14541 >
14542 >  ;
14543 >  return 0;
14544 > }
14545   _ACEOF
14546 + if ac_fn_c_try_compile "$LINENO"; then :
14547 +  eval "$as_CACHEVAR=yes"
14548 + else
14549 +  eval "$as_CACHEVAR=no"
14550 + fi
14551 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14552 +  CFLAGS=$ax_check_save_flags
14553 + fi
14554 + eval ac_res=\$$as_CACHEVAR
14555 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14556 + $as_echo "$ac_res" >&6; }
14557 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14558 +  if ${CFLAGS+:} false; then :
14559 +  case " $CFLAGS " in
14560 +    *" $flag "*)
14561 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14562 +  (: CFLAGS already contains $flag) 2>&5
14563 +  ac_status=$?
14564 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14565 +  test $ac_status = 0; }
14566 +      ;;
14567 +    *)
14568 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14569 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14570 +  ac_status=$?
14571 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14572 +  test $ac_status = 0; }
14573 +      CFLAGS="$CFLAGS $flag"
14574 +      ;;
14575 +   esac
14576 + else
14577 +  CFLAGS="$flag"
14578 + fi
14579 +
14580 + else
14581 +  :
14582 + fi
14583 +
14584 + done
14585 +
14586 +
14587 +
14588 +
14589  
14590 + for flag in -Wlogical-op; do
14591 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14592 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14593 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14594 + if eval \${$as_CACHEVAR+:} false; then :
14595 +  $as_echo_n "(cached) " >&6
14596 + else
14597 +
14598 +  ax_check_save_flags=$CFLAGS
14599 +  CFLAGS="$CFLAGS  $flag"
14600 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 + /* end confdefs.h.  */
14602 +
14603 + int
14604 + main ()
14605 + {
14606  
14607 +  ;
14608 +  return 0;
14609 + }
14610 + _ACEOF
14611 + if ac_fn_c_try_compile "$LINENO"; then :
14612 +  eval "$as_CACHEVAR=yes"
14613 + else
14614 +  eval "$as_CACHEVAR=no"
14615 + fi
14616 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 +  CFLAGS=$ax_check_save_flags
14618 + fi
14619 + eval ac_res=\$$as_CACHEVAR
14620 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14621 + $as_echo "$ac_res" >&6; }
14622 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14623 +  if ${CFLAGS+:} false; then :
14624 +  case " $CFLAGS " in
14625 +    *" $flag "*)
14626 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14627 +  (: CFLAGS already contains $flag) 2>&5
14628 +  ac_status=$?
14629 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14630 +  test $ac_status = 0; }
14631 +      ;;
14632 +    *)
14633 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14634 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14635 +  ac_status=$?
14636 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14637 +  test $ac_status = 0; }
14638 +      CFLAGS="$CFLAGS $flag"
14639 +      ;;
14640 +   esac
14641 + else
14642 +  CFLAGS="$flag"
14643 + fi
14644  
13630  # Check whether --enable-efnet was given.
13631 if test "${enable_efnet+set}" = set; then :
13632  enableval=$enable_efnet; efnet="$enableval"
14645   else
14646 <  efnet="no"
14646 >  :
14647   fi
14648  
14649 <  if test "$efnet" = "yes" ; then
13638 <                use_efnet="yes"
14649 > done
14650  
13640 $as_echo "#define EFNET 1" >>confdefs.h
14651  
14652  
13643 $as_echo "#define TS5_ONLY 1" >>confdefs.h
14653  
13645        else
14654  
14655 < $as_echo "#define INVARIANTS 1" >>confdefs.h
14655 > for flag in -Wmissing-declarations; do
14656 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14657 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14658 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14659 > if eval \${$as_CACHEVAR+:} false; then :
14660 >  $as_echo_n "(cached) " >&6
14661 > else
14662  
14663 <                use_efnet="no"
14664 <  fi
14665 <   if test "$use_efnet" = "yes"; then
14666 <  EFNET_TRUE=
14667 <  EFNET_FALSE='#'
14663 >  ax_check_save_flags=$CFLAGS
14664 >  CFLAGS="$CFLAGS  $flag"
14665 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 > /* end confdefs.h.  */
14667 >
14668 > int
14669 > main ()
14670 > {
14671 >
14672 >  ;
14673 >  return 0;
14674 > }
14675 > _ACEOF
14676 > if ac_fn_c_try_compile "$LINENO"; then :
14677 >  eval "$as_CACHEVAR=yes"
14678 > else
14679 >  eval "$as_CACHEVAR=no"
14680 > fi
14681 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14682 >  CFLAGS=$ax_check_save_flags
14683 > fi
14684 > eval ac_res=\$$as_CACHEVAR
14685 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14686 > $as_echo "$ac_res" >&6; }
14687 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14688 >  if ${CFLAGS+:} false; then :
14689 >  case " $CFLAGS " in
14690 >    *" $flag "*)
14691 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14692 >  (: CFLAGS already contains $flag) 2>&5
14693 >  ac_status=$?
14694 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14695 >  test $ac_status = 0; }
14696 >      ;;
14697 >    *)
14698 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14699 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14700 >  ac_status=$?
14701 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14702 >  test $ac_status = 0; }
14703 >      CFLAGS="$CFLAGS $flag"
14704 >      ;;
14705 >   esac
14706   else
14707 <  EFNET_TRUE='#'
13656 <  EFNET_FALSE=
14707 >  CFLAGS="$flag"
14708   fi
14709  
14710 + else
14711 +  :
14712 + fi
14713  
14714 + done
14715  
14716 <  # Check whether --enable-halfops was given.
14717 < if test "${enable_halfops+set}" = set; then :
14718 <  enableval=$enable_halfops; halfops="$enableval"
14716 >
14717 >
14718 >
14719 >
14720 > for flag in -Wmissing-include-dirs; do
14721 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14722 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14723 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14724 > if eval \${$as_CACHEVAR+:} false; then :
14725 >  $as_echo_n "(cached) " >&6
14726   else
14727 <  halfops="no"
14727 >
14728 >  ax_check_save_flags=$CFLAGS
14729 >  CFLAGS="$CFLAGS  $flag"
14730 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 > /* end confdefs.h.  */
14732 >
14733 > int
14734 > main ()
14735 > {
14736 >
14737 >  ;
14738 >  return 0;
14739 > }
14740 > _ACEOF
14741 > if ac_fn_c_try_compile "$LINENO"; then :
14742 >  eval "$as_CACHEVAR=yes"
14743 > else
14744 >  eval "$as_CACHEVAR=no"
14745 > fi
14746 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14747 >  CFLAGS=$ax_check_save_flags
14748 > fi
14749 > eval ac_res=\$$as_CACHEVAR
14750 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14751 > $as_echo "$ac_res" >&6; }
14752 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14753 >  if ${CFLAGS+:} false; then :
14754 >  case " $CFLAGS " in
14755 >    *" $flag "*)
14756 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14757 >  (: CFLAGS already contains $flag) 2>&5
14758 >  ac_status=$?
14759 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14760 >  test $ac_status = 0; }
14761 >      ;;
14762 >    *)
14763 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14764 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14765 >  ac_status=$?
14766 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14767 >  test $ac_status = 0; }
14768 >      CFLAGS="$CFLAGS $flag"
14769 >      ;;
14770 >   esac
14771 > else
14772 >  CFLAGS="$flag"
14773   fi
14774  
14775 <  if test "$halfops" = "yes" ; then
14775 > else
14776 >  :
14777 > fi
14778  
14779 < $as_echo "#define HALFOPS 1" >>confdefs.h
14779 > done
14780  
13672  fi
14781  
14782  
14783 <  # Check whether --enable-debugging was given.
14784 < if test "${enable_debugging+set}" = set; then :
14785 <  enableval=$enable_debugging; debugging="$enableval"
14783 >
14784 >
14785 > for flag in -Wmissing-prototypes; do
14786 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14787 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14788 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14789 > if eval \${$as_CACHEVAR+:} false; then :
14790 >  $as_echo_n "(cached) " >&6
14791   else
14792 <  debugging="no"
14792 >
14793 >  ax_check_save_flags=$CFLAGS
14794 >  CFLAGS="$CFLAGS  $flag"
14795 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 > /* end confdefs.h.  */
14797 >
14798 > int
14799 > main ()
14800 > {
14801 >
14802 >  ;
14803 >  return 0;
14804 > }
14805 > _ACEOF
14806 > if ac_fn_c_try_compile "$LINENO"; then :
14807 >  eval "$as_CACHEVAR=yes"
14808 > else
14809 >  eval "$as_CACHEVAR=no"
14810 > fi
14811 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812 >  CFLAGS=$ax_check_save_flags
14813 > fi
14814 > eval ac_res=\$$as_CACHEVAR
14815 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14816 > $as_echo "$ac_res" >&6; }
14817 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14818 >  if ${CFLAGS+:} false; then :
14819 >  case " $CFLAGS " in
14820 >    *" $flag "*)
14821 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14822 >  (: CFLAGS already contains $flag) 2>&5
14823 >  ac_status=$?
14824 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825 >  test $ac_status = 0; }
14826 >      ;;
14827 >    *)
14828 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14829 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14830 >  ac_status=$?
14831 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14832 >  test $ac_status = 0; }
14833 >      CFLAGS="$CFLAGS $flag"
14834 >      ;;
14835 >   esac
14836 > else
14837 >  CFLAGS="$flag"
14838   fi
14839  
14840 <  if test "$debugging" = "yes" ; then
14840 > else
14841 >  :
14842 > fi
14843  
14844 < $as_echo "#define DEBUG 1" >>confdefs.h
14844 > done
14845  
13686    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13687  else
14846  
13689 $as_echo "#define NDEBUG 1" >>confdefs.h
14847  
13691  fi
14848  
14849  
14850 <  # Check whether --enable-warnings was given.
14851 < if test "${enable_warnings+set}" = set; then :
14852 <  enableval=$enable_warnings; warnings="$enableval"
14850 > for flag in -Wnested-externs; do
14851 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14852 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14853 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14854 > if eval \${$as_CACHEVAR+:} false; then :
14855 >  $as_echo_n "(cached) " >&6
14856   else
14857 <  warnings="no"
14857 >
14858 >  ax_check_save_flags=$CFLAGS
14859 >  CFLAGS="$CFLAGS  $flag"
14860 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 > /* end confdefs.h.  */
14862 >
14863 > int
14864 > main ()
14865 > {
14866 >
14867 >  ;
14868 >  return 0;
14869 > }
14870 > _ACEOF
14871 > if ac_fn_c_try_compile "$LINENO"; then :
14872 >  eval "$as_CACHEVAR=yes"
14873 > else
14874 >  eval "$as_CACHEVAR=no"
14875 > fi
14876 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14877 >  CFLAGS=$ax_check_save_flags
14878 > fi
14879 > eval ac_res=\$$as_CACHEVAR
14880 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14881 > $as_echo "$ac_res" >&6; }
14882 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14883 >  if ${CFLAGS+:} false; then :
14884 >  case " $CFLAGS " in
14885 >    *" $flag "*)
14886 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14887 >  (: CFLAGS already contains $flag) 2>&5
14888 >  ac_status=$?
14889 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14890 >  test $ac_status = 0; }
14891 >      ;;
14892 >    *)
14893 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14894 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14895 >  ac_status=$?
14896 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14897 >  test $ac_status = 0; }
14898 >      CFLAGS="$CFLAGS $flag"
14899 >      ;;
14900 >   esac
14901 > else
14902 >  CFLAGS="$flag"
14903   fi
14904  
14905 <  if test "$warnings" = "yes" ; then
14906 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef"
14907 <  fi
14905 > else
14906 >  :
14907 > fi
14908  
14909 + done
14910  
14911 <  for ac_header in syslog.h sys/syslog.h
14912 < do :
14913 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14914 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14915 < eval as_val=\$$as_ac_Header
14916 <   if test "x$as_val" = x""yes; then :
14917 <  cat >>confdefs.h <<_ACEOF
14918 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14911 >
14912 >
14913 >
14914 >
14915 > for flag in -Wpointer-arith; do
14916 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14917 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14918 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14919 > if eval \${$as_CACHEVAR+:} false; then :
14920 >  $as_echo_n "(cached) " >&6
14921 > else
14922 >
14923 >  ax_check_save_flags=$CFLAGS
14924 >  CFLAGS="$CFLAGS  $flag"
14925 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 > /* end confdefs.h.  */
14927 >
14928 > int
14929 > main ()
14930 > {
14931 >
14932 >  ;
14933 >  return 0;
14934 > }
14935   _ACEOF
14936 + if ac_fn_c_try_compile "$LINENO"; then :
14937 +  eval "$as_CACHEVAR=yes"
14938 + else
14939 +  eval "$as_CACHEVAR=no"
14940 + fi
14941 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14942 +  CFLAGS=$ax_check_save_flags
14943 + fi
14944 + eval ac_res=\$$as_CACHEVAR
14945 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14946 + $as_echo "$ac_res" >&6; }
14947 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14948 +  if ${CFLAGS+:} false; then :
14949 +  case " $CFLAGS " in
14950 +    *" $flag "*)
14951 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14952 +  (: CFLAGS already contains $flag) 2>&5
14953 +  ac_status=$?
14954 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14955 +  test $ac_status = 0; }
14956 +      ;;
14957 +    *)
14958 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14959 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14960 +  ac_status=$?
14961 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14962 +  test $ac_status = 0; }
14963 +      CFLAGS="$CFLAGS $flag"
14964 +      ;;
14965 +   esac
14966 + else
14967 +  CFLAGS="$flag"
14968 + fi
14969  
14970 + else
14971 +  :
14972   fi
14973  
14974   done
14975  
14976 <  # Check whether --enable-syslog was given.
14977 < if test "${enable_syslog+set}" = set; then :
14978 <  enableval=$enable_syslog; syslog="$enableval"
14979 < else
14980 <  syslog="no"
14976 >
14977 >
14978 >
14979 >
14980 > for flag in -Wredundant-decls; do
14981 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14982 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14983 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14984 > if eval \${$as_CACHEVAR+:} false; then :
14985 >  $as_echo_n "(cached) " >&6
14986 > else
14987 >
14988 >  ax_check_save_flags=$CFLAGS
14989 >  CFLAGS="$CFLAGS  $flag"
14990 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 > /* end confdefs.h.  */
14992 >
14993 > int
14994 > main ()
14995 > {
14996 >
14997 >  ;
14998 >  return 0;
14999 > }
15000 > _ACEOF
15001 > if ac_fn_c_try_compile "$LINENO"; then :
15002 >  eval "$as_CACHEVAR=yes"
15003 > else
15004 >  eval "$as_CACHEVAR=no"
15005 > fi
15006 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15007 >  CFLAGS=$ax_check_save_flags
15008 > fi
15009 > eval ac_res=\$$as_CACHEVAR
15010 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15011 > $as_echo "$ac_res" >&6; }
15012 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15013 >  if ${CFLAGS+:} false; then :
15014 >  case " $CFLAGS " in
15015 >    *" $flag "*)
15016 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15017 >  (: CFLAGS already contains $flag) 2>&5
15018 >  ac_status=$?
15019 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15020 >  test $ac_status = 0; }
15021 >      ;;
15022 >    *)
15023 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15024 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15025 >  ac_status=$?
15026 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15027 >  test $ac_status = 0; }
15028 >      CFLAGS="$CFLAGS $flag"
15029 >      ;;
15030 >   esac
15031 > else
15032 >  CFLAGS="$flag"
15033   fi
15034  
15035 <  if test "$enableval" != "no" ; then
15036 <    for option in $enableval ; do
15037 <      case "$option" in
15038 <        users)
15039 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
15040 < ;;
15041 <        oper)
15042 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
15043 < ;;
15044 <        yes) : ;;
15045 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
15046 <      esac
15035 > else
15036 >  :
15037 > fi
15038 >
15039 > done
15040 >
15041 >
15042 >
15043 >
15044 >
15045 > for flag in -Wshadow; do
15046 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15047 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15048 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15049 > if eval \${$as_CACHEVAR+:} false; then :
15050 >  $as_echo_n "(cached) " >&6
15051 > else
15052 >
15053 >  ax_check_save_flags=$CFLAGS
15054 >  CFLAGS="$CFLAGS  $flag"
15055 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 > /* end confdefs.h.  */
15057 >
15058 > int
15059 > main ()
15060 > {
15061 >
15062 >  ;
15063 >  return 0;
15064 > }
15065 > _ACEOF
15066 > if ac_fn_c_try_compile "$LINENO"; then :
15067 >  eval "$as_CACHEVAR=yes"
15068 > else
15069 >  eval "$as_CACHEVAR=no"
15070 > fi
15071 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 >  CFLAGS=$ax_check_save_flags
15073 > fi
15074 > eval ac_res=\$$as_CACHEVAR
15075 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15076 > $as_echo "$ac_res" >&6; }
15077 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15078 >  if ${CFLAGS+:} false; then :
15079 >  case " $CFLAGS " in
15080 >    *" $flag "*)
15081 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15082 >  (: CFLAGS already contains $flag) 2>&5
15083 >  ac_status=$?
15084 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15085 >  test $ac_status = 0; }
15086 >      ;;
15087 >    *)
15088 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15089 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15090 >  ac_status=$?
15091 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15092 >  test $ac_status = 0; }
15093 >      CFLAGS="$CFLAGS $flag"
15094 >      ;;
15095 >   esac
15096 > else
15097 >  CFLAGS="$flag"
15098 > fi
15099 >
15100 > else
15101 >  :
15102 > fi
15103 >
15104 > done
15105 >
15106 >
15107 >
15108 >
15109 >
15110 > for flag in -Wwrite-strings; do
15111 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15112 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15113 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15114 > if eval \${$as_CACHEVAR+:} false; then :
15115 >  $as_echo_n "(cached) " >&6
15116 > else
15117 >
15118 >  ax_check_save_flags=$CFLAGS
15119 >  CFLAGS="$CFLAGS  $flag"
15120 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 > /* end confdefs.h.  */
15122 >
15123 > int
15124 > main ()
15125 > {
15126 >
15127 >  ;
15128 >  return 0;
15129 > }
15130 > _ACEOF
15131 > if ac_fn_c_try_compile "$LINENO"; then :
15132 >  eval "$as_CACHEVAR=yes"
15133 > else
15134 >  eval "$as_CACHEVAR=no"
15135 > fi
15136 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15137 >  CFLAGS=$ax_check_save_flags
15138 > fi
15139 > eval ac_res=\$$as_CACHEVAR
15140 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15141 > $as_echo "$ac_res" >&6; }
15142 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15143 >  if ${CFLAGS+:} false; then :
15144 >  case " $CFLAGS " in
15145 >    *" $flag "*)
15146 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15147 >  (: CFLAGS already contains $flag) 2>&5
15148 >  ac_status=$?
15149 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15150 >  test $ac_status = 0; }
15151 >      ;;
15152 >    *)
15153 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15154 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15155 >  ac_status=$?
15156 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15157 >  test $ac_status = 0; }
15158 >      CFLAGS="$CFLAGS $flag"
15159 >      ;;
15160 >   esac
15161 > else
15162 >  CFLAGS="$flag"
15163 > fi
15164 >
15165 > else
15166 >  :
15167 > fi
15168 >
15169 > done
15170 >
15171 >
15172 >
15173 >
15174 >
15175 > for flag in -Wundef; do
15176 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15177 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15178 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15179 > if eval \${$as_CACHEVAR+:} false; then :
15180 >  $as_echo_n "(cached) " >&6
15181 > else
15182 >
15183 >  ax_check_save_flags=$CFLAGS
15184 >  CFLAGS="$CFLAGS  $flag"
15185 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 > /* end confdefs.h.  */
15187 >
15188 > int
15189 > main ()
15190 > {
15191 >
15192 >  ;
15193 >  return 0;
15194 > }
15195 > _ACEOF
15196 > if ac_fn_c_try_compile "$LINENO"; then :
15197 >  eval "$as_CACHEVAR=yes"
15198 > else
15199 >  eval "$as_CACHEVAR=no"
15200 > fi
15201 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15202 >  CFLAGS=$ax_check_save_flags
15203 > fi
15204 > eval ac_res=\$$as_CACHEVAR
15205 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15206 > $as_echo "$ac_res" >&6; }
15207 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15208 >  if ${CFLAGS+:} false; then :
15209 >  case " $CFLAGS " in
15210 >    *" $flag "*)
15211 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15212 >  (: CFLAGS already contains $flag) 2>&5
15213 >  ac_status=$?
15214 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15215 >  test $ac_status = 0; }
15216 >      ;;
15217 >    *)
15218 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15219 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15220 >  ac_status=$?
15221 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15222 >  test $ac_status = 0; }
15223 >      CFLAGS="$CFLAGS $flag"
15224 >      ;;
15225 >   esac
15226 > else
15227 >  CFLAGS="$flag"
15228 > fi
15229 >
15230 > else
15231 >  :
15232 > fi
15233 >
15234 > done
15235 >
15236 >  fi
15237 >
15238 >
15239 > # Check whether --enable-openssl was given.
15240 > if test "${enable_openssl+set}" = set; then :
15241 >  enableval=$enable_openssl;  cf_enable_openssl=$enableval
15242 > else
15243 >   cf_enable_openssl="auto"
15244 > fi
15245 >
15246 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
15247 > $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
15248 > if test "$cf_enable_openssl" != "no"; then
15249 >  cf_openssl_basedir=""
15250 >  if test "$cf_enable_openssl" != "auto" &&
15251 >     test "$cf_enable_openssl" != "yes"; then
15252 >          cf_openssl_basedir="${cf_enable_openssl}"
15253 >  else
15254 >        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
15255 >                /opt /opt/openssl /usr/local/openssl; do
15256 >      if test -f "${dirs}/include/openssl/opensslv.h"; then
15257 >        cf_openssl_basedir="${dirs}"
15258 >        break
15259 >      fi
15260      done
15261 +    unset dirs
15262 +  fi
15263  
15264 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15264 >    if test ! -z "$cf_openssl_basedir"; then
15265 >    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
15266 >      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
15267 >      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
15268 >    else
15269 >                  cf_openssl_basedir=""
15270 >    fi
15271 >  else
15272 >                            if test -f "/usr/include/openssl/opensslv.h"; then
15273 >      cf_openssl_basedir="/usr"
15274 >    fi
15275 >  fi
15276  
15277 +      if test ! -z "$cf_openssl_basedir"; then
15278 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
15279 + $as_echo "$cf_openssl_basedir" >&6; }
15280 +    cf_enable_openssl="yes"
15281 +  else
15282 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
15283 + $as_echo "not found. Please check your path." >&6; }
15284 +    cf_enable_openssl="no"
15285    fi
15286 +  unset cf_openssl_basedir
15287 + else
15288 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15289 + $as_echo "disabled" >&6; }
15290 + fi
15291 +
15292 + if test "$cf_enable_openssl" != "no"; then :
15293 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
15294 + $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
15295 +  if test "$cross_compiling" = yes; then :
15296 +  cf_openssl_version_ok=no
15297 + else
15298 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 + /* end confdefs.h.  */
15300 +
15301 +
15302 +    #include <openssl/opensslv.h>
15303 +    #include <stdlib.h>
15304 + int
15305 + main ()
15306 + {
15307 + exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
15308 +  ;
15309 +  return 0;
15310 + }
15311 + _ACEOF
15312 + if ac_fn_c_try_run "$LINENO"; then :
15313 +  cf_openssl_version_ok=yes
15314 + else
15315 +  cf_openssl_version_ok=no
15316 + fi
15317 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15318 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
15319 + fi
15320 +
15321 +
15322 +  if test "$cf_openssl_version_ok" = "yes"; then :
15323 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15324 + $as_echo "found" >&6; }
15325 +
15326 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
15327 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
15328 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
15329 +  $as_echo_n "(cached) " >&6
15330 + else
15331 +  ac_check_lib_save_LIBS=$LIBS
15332 + LIBS="-lcrypto  $LIBS"
15333 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 + /* end confdefs.h.  */
15335 +
15336 + /* Override any GCC internal prototype to avoid an error.
15337 +   Use char because int might match the return type of a GCC
15338 +   builtin and then its argument prototype would still apply.  */
15339 + #ifdef __cplusplus
15340 + extern "C"
15341 + #endif
15342 + char RSA_free ();
15343 + int
15344 + main ()
15345 + {
15346 + return RSA_free ();
15347 +  ;
15348 +  return 0;
15349 + }
15350 + _ACEOF
15351 + if ac_fn_c_try_link "$LINENO"; then :
15352 +  ac_cv_lib_crypto_RSA_free=yes
15353 + else
15354 +  ac_cv_lib_crypto_RSA_free=no
15355 + fi
15356 + rm -f core conftest.err conftest.$ac_objext \
15357 +    conftest$ac_exeext conftest.$ac_ext
15358 + LIBS=$ac_check_lib_save_LIBS
15359 + fi
15360 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
15361 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
15362 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
15363 +  cat >>confdefs.h <<_ACEOF
15364 + #define HAVE_LIBCRYPTO 1
15365 + _ACEOF
15366 +
15367 +  LIBS="-lcrypto $LIBS"
15368 +
15369 + fi
15370 +
15371 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
15372 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
15373 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
15374 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
15375 +  $as_echo_n "(cached) " >&6
15376 + else
15377 +  ac_check_lib_save_LIBS=$LIBS
15378 + LIBS="-lssl  $LIBS"
15379 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 + /* end confdefs.h.  */
15381 +
15382 + /* Override any GCC internal prototype to avoid an error.
15383 +   Use char because int might match the return type of a GCC
15384 +   builtin and then its argument prototype would still apply.  */
15385 + #ifdef __cplusplus
15386 + extern "C"
15387 + #endif
15388 + char SSL_connect ();
15389 + int
15390 + main ()
15391 + {
15392 + return SSL_connect ();
15393 +  ;
15394 +  return 0;
15395 + }
15396 + _ACEOF
15397 + if ac_fn_c_try_link "$LINENO"; then :
15398 +  ac_cv_lib_ssl_SSL_connect=yes
15399 + else
15400 +  ac_cv_lib_ssl_SSL_connect=no
15401 + fi
15402 + rm -f core conftest.err conftest.$ac_objext \
15403 +    conftest$ac_exeext conftest.$ac_ext
15404 + LIBS=$ac_check_lib_save_LIBS
15405 + fi
15406 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
15407 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
15408 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
15409 +  cat >>confdefs.h <<_ACEOF
15410 + #define HAVE_LIBSSL 1
15411 + _ACEOF
15412 +
15413 +  LIBS="-lssl $LIBS"
15414 +
15415 + fi
15416 +
15417 + fi
15418 +
15419 + else
15420 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
15421 + $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
15422 +    cf_enable_openssl="no"
15423 + fi
15424 + fi
15425 +
15426 + if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
15427 +  ENABLE_SSL_TRUE=
15428 +  ENABLE_SSL_FALSE='#'
15429 + else
15430 +  ENABLE_SSL_TRUE='#'
15431 +  ENABLE_SSL_FALSE=
15432 + fi
15433 +
15434  
15435  
15436  
# Line 13829 | Line 15519 | _ACEOF
15519    test "$exec_prefix_NONE" && exec_prefix=NONE
15520  
15521  
15522 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15522 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15523  
15524  
15525   cat >confcache <<\_ACEOF
# Line 13896 | Line 15586 | $as_echo "$as_me: WARNING: cache variabl
15586       :end' >>confcache
15587   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15588    if test -w "$cache_file"; then
15589 <    test "x$cache_file" != "x/dev/null" &&
15589 >    if test "x$cache_file" != "x/dev/null"; then
15590        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15591   $as_echo "$as_me: updating cache $cache_file" >&6;}
15592 <    cat confcache >$cache_file
15592 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15593 >        cat confcache >"$cache_file"
15594 >      else
15595 >        case $cache_file in #(
15596 >        */* | ?:*)
15597 >          mv -f confcache "$cache_file"$$ &&
15598 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15599 >        *)
15600 >          mv -f confcache "$cache_file" ;;
15601 >        esac
15602 >      fi
15603 >    fi
15604    else
15605      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15606   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13915 | Line 15616 | DEFS=-DHAVE_CONFIG_H
15616  
15617   ac_libobjs=
15618   ac_ltlibobjs=
15619 + U=
15620   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15621    # 1. Remove the extension, and $U if already installed.
15622    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13929 | Line 15631 | LIBOBJS=$ac_libobjs
15631   LTLIBOBJS=$ac_ltlibobjs
15632  
15633  
15634 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15635 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15636 +   if test -n "$am_sleep_pid"; then
15637 +     # Hide warnings about reused PIDs.
15638 +     wait $am_sleep_pid 2>/dev/null
15639 +   fi
15640 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15641 + $as_echo "done" >&6; }
15642   if test -n "$EXEEXT"; then
15643    am__EXEEXT_TRUE=
15644    am__EXEEXT_FALSE='#'
# Line 13938 | Line 15648 | else
15648   fi
15649  
15650   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15651 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15651 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15652   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15653   fi
15654   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15655 <  as_fn_error "conditional \"AMDEP\" was never defined.
15655 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15656   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15657   fi
15658   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15659 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15659 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15660   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15661   fi
15662   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15663 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15663 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15664   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15665   fi
15666   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15667 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15667 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15668   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15669   fi
15670   LT_CONFIG_H=config.h
# Line 13975 | Line 15685 | LT_CONFIG_H=config.h
15685  
15686  
15687  
13978 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13979  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13981 fi
15688   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15689 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13984 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13985 < fi
13986 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13987 <  as_fn_error "conditional \"EFNET\" was never defined.
15689 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15690   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15691   fi
15692  
15693 < : ${CONFIG_STATUS=./config.status}
15693 > : "${CONFIG_STATUS=./config.status}"
15694   ac_write_fail=0
15695   ac_clean_files_save=$ac_clean_files
15696   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 14089 | Line 15791 | fi
15791   IFS=" ""        $as_nl"
15792  
15793   # Find who we are.  Look in the path if we contain no directory separator.
15794 + as_myself=
15795   case $0 in #((
15796    *[\\/]* ) as_myself=$0 ;;
15797    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14134 | Line 15837 | export LANGUAGE
15837   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15838  
15839  
15840 < # as_fn_error ERROR [LINENO LOG_FD]
15841 < # ---------------------------------
15840 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15841 > # ----------------------------------------
15842   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15843   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15844 < # script with status $?, using 1 if that was 0.
15844 > # script with STATUS, using 1 if that was 0.
15845   as_fn_error ()
15846   {
15847 <  as_status=$?; test $as_status -eq 0 && as_status=1
15848 <  if test "$3"; then
15849 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15850 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15847 >  as_status=$1; test $as_status -eq 0 && as_status=1
15848 >  if test "$4"; then
15849 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15850 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15851    fi
15852 <  $as_echo "$as_me: error: $1" >&2
15852 >  $as_echo "$as_me: error: $2" >&2
15853    as_fn_exit $as_status
15854   } # as_fn_error
15855  
# Line 14284 | Line 15987 | if (echo >conf$$.file) 2>/dev/null; then
15987      # ... but there are two gotchas:
15988      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15989      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15990 <    # In both cases, we have to default to `cp -p'.
15990 >    # In both cases, we have to default to `cp -pR'.
15991      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15992 <      as_ln_s='cp -p'
15992 >      as_ln_s='cp -pR'
15993    elif ln conf$$.file conf$$ 2>/dev/null; then
15994      as_ln_s=ln
15995    else
15996 <    as_ln_s='cp -p'
15996 >    as_ln_s='cp -pR'
15997    fi
15998   else
15999 <  as_ln_s='cp -p'
15999 >  as_ln_s='cp -pR'
16000   fi
16001   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16002   rmdir conf$$.dir 2>/dev/null
# Line 14342 | Line 16045 | $as_echo X"$as_dir" |
16045        test -d "$as_dir" && break
16046      done
16047      test -z "$as_dirs" || eval "mkdir $as_dirs"
16048 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16048 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16049  
16050  
16051   } # as_fn_mkdir_p
# Line 14353 | Line 16056 | else
16056    as_mkdir_p=false
16057   fi
16058  
16059 < if test -x / >/dev/null 2>&1; then
16060 <  as_test_x='test -x'
16061 < else
16062 <  if ls -dL / >/dev/null 2>&1; then
16063 <    as_ls_L_option=L
16064 <  else
16065 <    as_ls_L_option=
16066 <  fi
16067 <  as_test_x='
16068 <    eval sh -c '\''
14366 <      if test -d "$1"; then
14367 <        test -d "$1/.";
14368 <      else
14369 <        case $1 in #(
14370 <        -*)set "./$1";;
14371 <        esac;
14372 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14373 <        ???[sx]*):;;*)false;;esac;fi
14374 <    '\'' sh
14375 <  '
14376 < fi
14377 < as_executable_p=$as_test_x
16059 >
16060 > # as_fn_executable_p FILE
16061 > # -----------------------
16062 > # Test if FILE is an executable regular file.
16063 > as_fn_executable_p ()
16064 > {
16065 >  test -f "$1" && test -x "$1"
16066 > } # as_fn_executable_p
16067 > as_test_x='test -x'
16068 > as_executable_p=as_fn_executable_p
16069  
16070   # Sed expression to map a string onto a valid CPP name.
16071   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14395 | Line 16086 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16086   # report actual input values of CONFIG_FILES etc. instead of their
16087   # values after options handling.
16088   ac_log="
16089 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
16090 < generated by GNU Autoconf 2.64.  Invocation command line was
16089 > This file was extended by ircd-hybrid $as_me 8.2.0rc2, which was
16090 > generated by GNU Autoconf 2.69.  Invocation command line was
16091  
16092    CONFIG_FILES    = $CONFIG_FILES
16093    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14436 | Line 16127 | Usage: $0 [OPTION]... [TAG]...
16127  
16128    -h, --help       print this help, then exit
16129    -V, --version    print version number and configuration settings, then exit
16130 +      --config     print configuration, then exit
16131    -q, --quiet, --silent
16132                     do not print progress messages
16133    -d, --debug      don't remove temporary files
# Line 14454 | Line 16146 | $config_headers
16146   Configuration commands:
16147   $config_commands
16148  
16149 < Report bugs to the package provider."
16149 > Report bugs to <bugs@ircd-hybrid.org>."
16150  
16151   _ACEOF
16152   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16153 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16154   ac_cs_version="\\
16155 < ircd-hybrid config.status 7.2.4
16156 < configured by $0, generated by GNU Autoconf 2.64,
16157 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16155 > ircd-hybrid config.status 8.2.0rc2
16156 > configured by $0, generated by GNU Autoconf 2.69,
16157 >  with options \\"\$ac_cs_config\\"
16158  
16159 < Copyright (C) 2009 Free Software Foundation, Inc.
16159 > Copyright (C) 2012 Free Software Foundation, Inc.
16160   This config.status script is free software; the Free Software Foundation
16161   gives unlimited permission to copy, distribute and modify it."
16162  
# Line 14481 | Line 16174 | ac_need_defaults=:
16174   while test $# != 0
16175   do
16176    case $1 in
16177 <  --*=*)
16177 >  --*=?*)
16178      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16179      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16180      ac_shift=:
16181      ;;
16182 +  --*=)
16183 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16184 +    ac_optarg=
16185 +    ac_shift=:
16186 +    ;;
16187    *)
16188      ac_option=$1
16189      ac_optarg=$2
# Line 14499 | Line 16197 | do
16197      ac_cs_recheck=: ;;
16198    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16199      $as_echo "$ac_cs_version"; exit ;;
16200 +  --config | --confi | --conf | --con | --co | --c )
16201 +    $as_echo "$ac_cs_config"; exit ;;
16202    --debug | --debu | --deb | --de | --d | -d )
16203      debug=: ;;
16204    --file | --fil | --fi | --f )
16205      $ac_shift
16206      case $ac_optarg in
16207      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16208 +    '') as_fn_error $? "missing file argument" ;;
16209      esac
16210      as_fn_append CONFIG_FILES " '$ac_optarg'"
16211      ac_need_defaults=false;;
# Line 14517 | Line 16218 | do
16218      ac_need_defaults=false;;
16219    --he | --h)
16220      # Conflict between --help and --header
16221 <    as_fn_error "ambiguous option: \`$1'
16221 >    as_fn_error $? "ambiguous option: \`$1'
16222   Try \`$0 --help' for more information.";;
16223    --help | --hel | -h )
16224      $as_echo "$ac_cs_usage"; exit ;;
# Line 14526 | Line 16227 | Try \`$0 --help' for more information.";
16227      ac_cs_silent=: ;;
16228  
16229    # This is an error.
16230 <  -*) as_fn_error "unrecognized option: \`$1'
16230 >  -*) as_fn_error $? "unrecognized option: \`$1'
16231   Try \`$0 --help' for more information." ;;
16232  
16233    *) as_fn_append ac_config_targets " $1"
# Line 14546 | Line 16247 | fi
16247   _ACEOF
16248   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16249   if \$ac_cs_recheck; then
16250 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16250 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16251    shift
16252    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16253    CONFIG_SHELL='$SHELL'
# Line 14580 | Line 16281 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16281   sed_quote_subst='$sed_quote_subst'
16282   double_quote_subst='$double_quote_subst'
16283   delay_variable_subst='$delay_variable_subst'
16284 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16285 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16286 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16287 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16288 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16289 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16290 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16291 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16292 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16293 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16294 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16295 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16296 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16297 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16298 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16299 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16300 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16301 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16302 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16303 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16304 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16305 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16306 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16307 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16308 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16309 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16310 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16311 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16312 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16313 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16314 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16315 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16316 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16317 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16318 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16319 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16320 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16321 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16322 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16323 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16324 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16325 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16326 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16327 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16328 < lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16329 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16330 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16331 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16332 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16333 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16334 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16335 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16336 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16337 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16338 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16339 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16340 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16341 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16342 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16343 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16344 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16345 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16346 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16347 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16348 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16349 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16350 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16351 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16352 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16353 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16354 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16355 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16356 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16357 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16358 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16359 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16360 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16361 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16362 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16363 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16364 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16365 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16366 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16367 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16368 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16369 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16370 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16371 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16372 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16373 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16374 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16375 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16376 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16377 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16378 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16379 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16380 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16381 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16382 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16383 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16384 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16385 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16386 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16387 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16388 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16389 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16390 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16391 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16392 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16393 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16394 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16395 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16396 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16397 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16398 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16399 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16400 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16401 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16284 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16285 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16286 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16287 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16288 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16289 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16290 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16291 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16292 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16293 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16294 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16295 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16296 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16297 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16298 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16299 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16300 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16301 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16302 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16303 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16304 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16305 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16306 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16307 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16308 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16309 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16310 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16311 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16312 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16313 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16314 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16315 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16316 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16317 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16318 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16319 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16320 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16321 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16322 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16323 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16324 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16325 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16326 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16327 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16328 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16329 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16330 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16331 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16332 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16333 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16334 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16335 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16336 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16337 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16338 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16339 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16340 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16341 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16342 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16343 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16344 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16345 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16346 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16347 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16348 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16349 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16350 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16351 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16352 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16353 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16354 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16355 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16356 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16357 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16358 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16359 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16360 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16361 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16362 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16363 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16364 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16365 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16366 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16367 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16368 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16369 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16370 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16371 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16372 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16373 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16374 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16375 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16376 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16377 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16378 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16379 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16380 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16381 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16382 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16383 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16384 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16385 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16386 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16387 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16388 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16389 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16390 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16391 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16392 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16393 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16394 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16395 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16396 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16397 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16398 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16399 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16400 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16401 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16402 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16403 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16404 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16405 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16406 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16407 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16408 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16409 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16410 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16411 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16412 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16413 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16414  
16415   LTCC='$LTCC'
16416   LTCFLAGS='$LTCFLAGS'
16417   compiler='$compiler_DEFAULT'
16418  
16419 + # A function that is used when there is no print builtin or printf.
16420 + func_fallback_echo ()
16421 + {
16422 +  eval 'cat <<_LTECHO_EOF
16423 + \$1
16424 + _LTECHO_EOF'
16425 + }
16426 +
16427   # Quote evaled strings.
16428 < for var in SED \
16428 > for var in SHELL \
16429 > ECHO \
16430 > PATH_SEPARATOR \
16431 > SED \
16432   GREP \
16433   EGREP \
16434   FGREP \
# Line 14717 | Line 16441 | reload_flag \
16441   OBJDUMP \
16442   deplibs_check_method \
16443   file_magic_cmd \
16444 + file_magic_glob \
16445 + want_nocaseglob \
16446 + DLLTOOL \
16447 + sharedlib_from_linklib_cmd \
16448   AR \
16449   AR_FLAGS \
16450 + archiver_list_spec \
16451   STRIP \
16452   RANLIB \
16453   CC \
# Line 14728 | Line 16457 | lt_cv_sys_global_symbol_pipe \
16457   lt_cv_sys_global_symbol_to_cdecl \
16458   lt_cv_sys_global_symbol_to_c_name_address \
16459   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16460 < SHELL \
14732 < ECHO \
16460 > nm_file_list_spec \
16461   lt_prog_compiler_no_builtin_flag \
14734 lt_prog_compiler_wl \
16462   lt_prog_compiler_pic \
16463 + lt_prog_compiler_wl \
16464   lt_prog_compiler_static \
16465   lt_cv_prog_compiler_c_o \
16466   need_locks \
16467 + MANIFEST_TOOL \
16468   DSYMUTIL \
16469   NMEDIT \
16470   LIPO \
# Line 14749 | Line 16478 | with_gnu_ld \
16478   allow_undefined_flag \
16479   no_undefined_flag \
16480   hardcode_libdir_flag_spec \
14752 hardcode_libdir_flag_spec_ld \
16481   hardcode_libdir_separator \
14754 fix_srcfile_path \
16482   exclude_expsyms \
16483   include_expsyms \
16484   file_list_spec \
# Line 14759 | Line 16486 | variables_saved_for_relink \
16486   libname_spec \
16487   library_names_spec \
16488   soname_spec \
16489 + install_override_mode \
16490   finish_eval \
16491   old_striplib \
16492   striplib; do
16493 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16493 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16494      *[\\\\\\\`\\"\\\$]*)
16495 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16495 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16496        ;;
16497      *)
16498        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14786 | Line 16514 | module_cmds \
16514   module_expsym_cmds \
16515   export_symbols_cmds \
16516   prelink_cmds \
16517 + postlink_cmds \
16518   postinstall_cmds \
16519   postuninstall_cmds \
16520   finish_cmds \
16521   sys_lib_search_path_spec \
16522   sys_lib_dlsearch_path_spec; do
16523 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16523 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16524      *[\\\\\\\`\\"\\\$]*)
16525 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16525 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16526        ;;
16527      *)
16528        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14801 | Line 16530 | sys_lib_dlsearch_path_spec; do
16530      esac
16531   done
16532  
14804 # Fix-up fallback echo if it was mangled by the above quoting rules.
14805 case \$lt_ECHO in
14806 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14807  ;;
14808 esac
14809
16533   ac_aux_dir='$ac_aux_dir'
16534   xsi_shell='$xsi_shell'
16535   lt_shell_append='$lt_shell_append'
# Line 14839 | Line 16562 | do
16562      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16563      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16564      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14842    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14843    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14844    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14845    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14846    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14847    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14848    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16565      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16566 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16566 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
16567      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16568      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16569      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16570      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14855    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14856    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16571      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16572  
16573 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16573 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16574    esac
16575   done
16576  
# Line 14879 | Line 16593 | fi
16593   # after its creation but before its name has been assigned to `$tmp'.
16594   $debug ||
16595   {
16596 <  tmp=
16596 >  tmp= ac_tmp=
16597    trap 'exit_status=$?
16598 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16598 >  : "${ac_tmp:=$tmp}"
16599 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16600   ' 0
16601    trap 'as_fn_exit 1' 1 2 13 15
16602   }
# Line 14889 | Line 16604 | $debug ||
16604  
16605   {
16606    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16607 <  test -n "$tmp" && test -d "$tmp"
16607 >  test -d "$tmp"
16608   }  ||
16609   {
16610    tmp=./conf$$-$RANDOM
16611    (umask 077 && mkdir "$tmp")
16612 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16612 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16613 > ac_tmp=$tmp
16614  
16615   # Set up the scripts for CONFIG_FILES section.
16616   # No need to generate them if there are no CONFIG_FILES.
# Line 14911 | Line 16627 | if test "x$ac_cr" = x; then
16627   fi
16628   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16629   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16630 <  ac_cs_awk_cr='\r'
16630 >  ac_cs_awk_cr='\\r'
16631   else
16632    ac_cs_awk_cr=$ac_cr
16633   fi
16634  
16635 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16635 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16636   _ACEOF
16637  
16638  
# Line 14925 | Line 16641 | _ACEOF
16641    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16642    echo "_ACEOF"
16643   } >conf$$subs.sh ||
16644 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16645 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16644 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16645 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16646   ac_delim='%!_!# '
16647   for ac_last_try in false false false false false :; do
16648    . ./conf$$subs.sh ||
16649 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16649 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16650  
16651    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16652    if test $ac_delim_n = $ac_delim_num; then
16653      break
16654    elif $ac_last_try; then
16655 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16655 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16656    else
16657      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16658    fi
# Line 14944 | Line 16660 | done
16660   rm -f conf$$subs.sh
16661  
16662   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16663 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16663 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16664   _ACEOF
16665   sed -n '
16666   h
# Line 14958 | Line 16674 | s/'"$ac_delim"'$//
16674   t delim
16675   :nl
16676   h
16677 < s/\(.\{148\}\).*/\1/
16677 > s/\(.\{148\}\)..*/\1/
16678   t more1
16679   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16680   p
# Line 14972 | Line 16688 | s/.\{148\}//
16688   t nl
16689   :delim
16690   h
16691 < s/\(.\{148\}\).*/\1/
16691 > s/\(.\{148\}\)..*/\1/
16692   t more2
16693   s/["\\]/\\&/g; s/^/"/; s/$/"/
16694   p
# Line 14992 | Line 16708 | t delim
16708   rm -f conf$$subs.awk
16709   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16710   _ACAWK
16711 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16711 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16712    for (key in S) S_is_set[key] = 1
16713    FS = ""
16714  
# Line 15024 | Line 16740 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16740    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16741   else
16742    cat
16743 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16744 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16743 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16744 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16745   _ACEOF
16746  
16747 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16748 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16747 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16748 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16749   # trailing colons and then remove the whole line if VPATH becomes empty
16750   # (actually we leave an empty line to preserve line numbers).
16751   if test "x$srcdir" = x.; then
16752 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16753 < s/:*\$(srcdir):*/:/
16754 < s/:*\${srcdir}:*/:/
16755 < s/:*@srcdir@:*/:/
16756 < s/^\([^=]*=[     ]*\):*/\1/
16752 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16753 > h
16754 > s///
16755 > s/^/:/
16756 > s/[      ]*$/:/
16757 > s/:\$(srcdir):/:/g
16758 > s/:\${srcdir}:/:/g
16759 > s/:@srcdir@:/:/g
16760 > s/^:*//
16761   s/:*$//
16762 + x
16763 + s/\(=[   ]*\).*/\1/
16764 + G
16765 + s/\n//
16766   s/^[^=]*=[       ]*$//
16767   }'
16768   fi
# Line 15050 | Line 16774 | fi # test -n "$CONFIG_FILES"
16774   # No need to generate them if there are no CONFIG_HEADERS.
16775   # This happens for instance with `./config.status Makefile'.
16776   if test -n "$CONFIG_HEADERS"; then
16777 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16777 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16778   BEGIN {
16779   _ACEOF
16780  
# Line 15062 | Line 16786 | _ACEOF
16786   # handling of long lines.
16787   ac_delim='%!_!# '
16788   for ac_last_try in false false :; do
16789 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16790 <  if test -z "$ac_t"; then
16789 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16790 >  if test -z "$ac_tt"; then
16791      break
16792    elif $ac_last_try; then
16793 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16793 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16794    else
16795      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16796    fi
# Line 15151 | Line 16875 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16875   _ACAWK
16876   _ACEOF
16877   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16878 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16878 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16879   fi # test -n "$CONFIG_HEADERS"
16880  
16881  
# Line 15164 | Line 16888 | do
16888    esac
16889    case $ac_mode$ac_tag in
16890    :[FHL]*:*);;
16891 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16891 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16892    :[FH]-) ac_tag=-:-;;
16893    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16894    esac
# Line 15183 | Line 16907 | do
16907      for ac_f
16908      do
16909        case $ac_f in
16910 <      -) ac_f="$tmp/stdin";;
16910 >      -) ac_f="$ac_tmp/stdin";;
16911        *) # Look for the file first in the build tree, then in the source tree
16912           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16913           # because $ac_f cannot contain `:'.
# Line 15192 | Line 16916 | do
16916             [\\/$]*) false;;
16917             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16918             esac ||
16919 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16919 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16920        esac
16921        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16922        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15218 | Line 16942 | $as_echo "$as_me: creating $ac_file" >&6
16942      esac
16943  
16944      case $ac_tag in
16945 <    *:-:* | *:-) cat >"$tmp/stdin" \
16946 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16945 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16946 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16947      esac
16948      ;;
16949    esac
# Line 15355 | Line 17079 | s&@INSTALL@&$ac_INSTALL&;t t
17079   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17080   $ac_datarootdir_hack
17081   "
17082 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17083 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17082 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17083 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17084  
17085   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17086 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17087 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17086 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17087 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17088 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17089    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17090 < which seems to be undefined.  Please make sure it is defined." >&5
17090 > which seems to be undefined.  Please make sure it is defined" >&5
17091   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17092 < which seems to be undefined.  Please make sure it is defined." >&2;}
17092 > which seems to be undefined.  Please make sure it is defined" >&2;}
17093  
17094 <  rm -f "$tmp/stdin"
17094 >  rm -f "$ac_tmp/stdin"
17095    case $ac_file in
17096 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17097 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17096 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17097 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17098    esac \
17099 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17099 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17100   ;;
17101    :H)
17102    #
# Line 15380 | Line 17105 | which seems to be undefined.  Please mak
17105    if test x"$ac_file" != x-; then
17106      {
17107        $as_echo "/* $configure_input  */" \
17108 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17109 <    } >"$tmp/config.h" \
17110 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17111 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17108 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17109 >    } >"$ac_tmp/config.h" \
17110 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17111 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17112        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17113   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17114      else
17115        rm -f "$ac_file"
17116 <      mv "$tmp/config.h" "$ac_file" \
17117 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17116 >      mv "$ac_tmp/config.h" "$ac_file" \
17117 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17118      fi
17119    else
17120      $as_echo "/* $configure_input  */" \
17121 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17122 <      || as_fn_error "could not create -" "$LINENO" 5
17121 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17122 >      || as_fn_error $? "could not create -" "$LINENO" 5
17123    fi
17124   # Compute "$ac_file"'s index in $config_headers.
17125   _am_arg="$ac_file"
# Line 15440 | Line 17165 | $as_echo "$as_me: executing $ac_file com
17165  
17166    case $ac_file$ac_mode in
17167      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17168 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17168 >  # Older Autoconf quotes --file arguments for eval, but not when files
17169    # are listed without --file.  Let's play safe and only enable the eval
17170    # if we detect the quoting.
17171    case $CONFIG_FILES in
# Line 15453 | Line 17178 | $as_echo "$as_me: executing $ac_file com
17178      # Strip MF so we end up with the name of the file.
17179      mf=`echo "$mf" | sed -e 's/:.*$//'`
17180      # Check whether this is an Automake generated Makefile or not.
17181 <    # We used to match only the files named `Makefile.in', but
17181 >    # We used to match only the files named 'Makefile.in', but
17182      # some people rename them; so instead we look at the file content.
17183      # Grep'ing the first line is not enough: some people post-process
17184      # each Makefile.in and add a new line on top of each file to say so.
# Line 15487 | Line 17212 | $as_echo X"$mf" |
17212        continue
17213      fi
17214      # Extract the definition of DEPDIR, am__include, and am__quote
17215 <    # from the Makefile without running `make'.
17215 >    # from the Makefile without running 'make'.
17216      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17217      test -z "$DEPDIR" && continue
17218      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17219 <    test -z "am__include" && continue
17219 >    test -z "$am__include" && continue
17220      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15496    # When using ansi2knr, U may be empty or an underscore; expand it
15497    U=`sed -n 's/^U = //p' < "$mf"`
17221      # Find all dependency output files, they are included files with
17222      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17223      # simplest approach to changing $(DEPDIR) to its actual value in the
17224      # expansion.
17225      for file in `sed -n "
17226        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17227 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17227 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17228        # Make sure the directory exists.
17229        test -f "$dirpart/$file" && continue
17230        fdir=`$as_dirname -- "$file" ||
# Line 15555 | Line 17278 | $as_echo X"$file" |
17278   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17279   #
17280   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17281 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17281 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17282 > #                 Foundation, Inc.
17283   #   Written by Gordon Matzigkeit, 1996
17284   #
17285   #   This file is part of GNU Libtool.
# Line 15603 | Line 17327 | pic_mode=$pic_mode
17327   # Whether or not to optimize for fast installation.
17328   fast_install=$enable_fast_install
17329  
17330 + # Shell to use when invoking shell scripts.
17331 + SHELL=$lt_SHELL
17332 +
17333 + # An echo program that protects backslashes.
17334 + ECHO=$lt_ECHO
17335 +
17336 + # The PATH separator for the build system.
17337 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17338 +
17339   # The host system.
17340   host_alias=$host_alias
17341   host=$host
# Line 15652 | Line 17385 | SP2NL=$lt_lt_SP2NL
17385   # turn newlines into spaces.
17386   NL2SP=$lt_lt_NL2SP
17387  
17388 < # How to create reloadable object files.
17389 < reload_flag=$lt_reload_flag
17390 < reload_cmds=$lt_reload_cmds
17388 > # convert \$build file names to \$host format.
17389 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17390 >
17391 > # convert \$build files to toolchain format.
17392 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17393  
17394   # An object symbol dumper.
17395   OBJDUMP=$lt_OBJDUMP
# Line 15662 | Line 17397 | OBJDUMP=$lt_OBJDUMP
17397   # Method to check whether dependent libraries are shared objects.
17398   deplibs_check_method=$lt_deplibs_check_method
17399  
17400 < # Command to use when deplibs_check_method == "file_magic".
17400 > # Command to use when deplibs_check_method = "file_magic".
17401   file_magic_cmd=$lt_file_magic_cmd
17402  
17403 + # How to find potential files when deplibs_check_method = "file_magic".
17404 + file_magic_glob=$lt_file_magic_glob
17405 +
17406 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17407 + want_nocaseglob=$lt_want_nocaseglob
17408 +
17409 + # DLL creation program.
17410 + DLLTOOL=$lt_DLLTOOL
17411 +
17412 + # Command to associate shared and link libraries.
17413 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17414 +
17415   # The archiver.
17416   AR=$lt_AR
17417 +
17418 + # Flags to create an archive.
17419   AR_FLAGS=$lt_AR_FLAGS
17420  
17421 + # How to feed a file listing to the archiver.
17422 + archiver_list_spec=$lt_archiver_list_spec
17423 +
17424   # A symbol stripping program.
17425   STRIP=$lt_STRIP
17426  
# Line 15677 | Line 17429 | RANLIB=$lt_RANLIB
17429   old_postinstall_cmds=$lt_old_postinstall_cmds
17430   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17431  
17432 + # Whether to use a lock for old archive extraction.
17433 + lock_old_archive_extraction=$lock_old_archive_extraction
17434 +
17435   # A C compiler.
17436   LTCC=$lt_CC
17437  
# Line 15695 | Line 17450 | global_symbol_to_c_name_address=$lt_lt_c
17450   # Transform the output of nm in a C name address pair when lib prefix is needed.
17451   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17452  
17453 < # The name of the directory that contains temporary libtool files.
17454 < objdir=$objdir
17453 > # Specify filename containing input files for \$NM.
17454 > nm_file_list_spec=$lt_nm_file_list_spec
17455  
17456 < # Shell to use when invoking shell scripts.
17457 < SHELL=$lt_SHELL
17456 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17457 > lt_sysroot=$lt_sysroot
17458  
17459 < # An echo program that does not interpret backslashes.
17460 < ECHO=$lt_ECHO
17459 > # The name of the directory that contains temporary libtool files.
17460 > objdir=$objdir
17461  
17462   # Used to examine libraries when file_magic_cmd begins with "file".
17463   MAGIC_CMD=$MAGIC_CMD
# Line 15710 | Line 17465 | MAGIC_CMD=$MAGIC_CMD
17465   # Must we lock files when doing compilation?
17466   need_locks=$lt_need_locks
17467  
17468 + # Manifest tool.
17469 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17470 +
17471   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17472   DSYMUTIL=$lt_DSYMUTIL
17473  
# Line 15766 | Line 17524 | library_names_spec=$lt_library_names_spe
17524   # The coded name of the library, if different from the real name.
17525   soname_spec=$lt_soname_spec
17526  
17527 + # Permission mode override for installation of shared libraries.
17528 + install_override_mode=$lt_install_override_mode
17529 +
17530   # Command to use after installation of a shared archive.
17531   postinstall_cmds=$lt_postinstall_cmds
17532  
# Line 15805 | Line 17566 | striplib=$lt_striplib
17566   # The linker used to build libraries.
17567   LD=$lt_LD
17568  
17569 + # How to create reloadable object files.
17570 + reload_flag=$lt_reload_flag
17571 + reload_cmds=$lt_reload_cmds
17572 +
17573   # Commands used to build an old-style archive.
17574   old_archive_cmds=$lt_old_archive_cmds
17575  
# Line 15817 | Line 17582 | with_gcc=$GCC
17582   # Compiler flag to turn off builtin functions.
17583   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17584  
15820 # How to pass a linker flag through the compiler.
15821 wl=$lt_lt_prog_compiler_wl
15822
17585   # Additional compiler flags for building library objects.
17586   pic_flag=$lt_lt_prog_compiler_pic
17587  
17588 + # How to pass a linker flag through the compiler.
17589 + wl=$lt_lt_prog_compiler_wl
17590 +
17591   # Compiler flag to prevent dynamic linking.
17592   link_static_flag=$lt_lt_prog_compiler_static
17593  
# Line 15872 | Line 17637 | no_undefined_flag=$lt_no_undefined_flag
17637   # This must work even if \$libdir does not exist
17638   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17639  
15875 # If ld is used when linking, flag to hardcode \$libdir into a binary
15876 # during linking.  This must work even if \$libdir does not exist.
15877 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15878
17640   # Whether we need a single "-rpath" flag with a separated argument.
17641   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17642  
# Line 15909 | Line 17670 | inherit_rpath=$inherit_rpath
17670   # Whether libtool must link a program against all its dependency libraries.
17671   link_all_deplibs=$link_all_deplibs
17672  
15912 # Fix the shell variable \$srcfile for the compiler.
15913 fix_srcfile_path=$lt_fix_srcfile_path
15914
17673   # Set to "yes" if exported symbols are required.
17674   always_export_symbols=$always_export_symbols
17675  
# Line 15927 | Line 17685 | include_expsyms=$lt_include_expsyms
17685   # Commands necessary for linking programs (against libraries) with templates.
17686   prelink_cmds=$lt_prelink_cmds
17687  
17688 + # Commands necessary for finishing linking programs.
17689 + postlink_cmds=$lt_postlink_cmds
17690 +
17691   # Specify filename containing input files.
17692   file_list_spec=$lt_file_list_spec
17693  
# Line 15959 | Line 17720 | ltmain="$ac_aux_dir/ltmain.sh"
17720    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17721    # text mode, it properly converts lines to CR/LF.  This bash problem
17722    # is reportedly fixed, but why not run on old versions too?
17723 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17724 <    || (rm -f "$cfgfile"; exit 1)
15964 <
15965 <  case $xsi_shell in
15966 <  yes)
15967 <    cat << \_LT_EOF >> "$cfgfile"
15968 <
15969 < # func_dirname file append nondir_replacement
15970 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15971 < # otherwise set result to NONDIR_REPLACEMENT.
15972 < func_dirname ()
15973 < {
15974 <  case ${1} in
15975 <    */*) func_dirname_result="${1%/*}${2}" ;;
15976 <    *  ) func_dirname_result="${3}" ;;
15977 <  esac
15978 < }
15979 <
15980 < # func_basename file
15981 < func_basename ()
15982 < {
15983 <  func_basename_result="${1##*/}"
15984 < }
15985 <
15986 < # func_dirname_and_basename file append nondir_replacement
15987 < # perform func_basename and func_dirname in a single function
15988 < # call:
15989 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15990 < #             add APPEND to the result, otherwise set result
15991 < #             to NONDIR_REPLACEMENT.
15992 < #             value returned in "$func_dirname_result"
15993 < #   basename: Compute filename of FILE.
15994 < #             value retuned in "$func_basename_result"
15995 < # Implementation must be kept synchronized with func_dirname
15996 < # and func_basename. For efficiency, we do not delegate to
15997 < # those functions but instead duplicate the functionality here.
15998 < func_dirname_and_basename ()
15999 < {
16000 <  case ${1} in
16001 <    */*) func_dirname_result="${1%/*}${2}" ;;
16002 <    *  ) func_dirname_result="${3}" ;;
16003 <  esac
16004 <  func_basename_result="${1##*/}"
16005 < }
16006 <
16007 < # func_stripname prefix suffix name
16008 < # strip PREFIX and SUFFIX off of NAME.
16009 < # PREFIX and SUFFIX must not contain globbing or regex special
16010 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16011 < # dot (in which case that matches only a dot).
16012 < func_stripname ()
16013 < {
16014 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16015 <  # positional parameters, so assign one to ordinary parameter first.
16016 <  func_stripname_result=${3}
16017 <  func_stripname_result=${func_stripname_result#"${1}"}
16018 <  func_stripname_result=${func_stripname_result%"${2}"}
16019 < }
16020 <
16021 < # func_opt_split
16022 < func_opt_split ()
16023 < {
16024 <  func_opt_split_opt=${1%%=*}
16025 <  func_opt_split_arg=${1#*=}
16026 < }
16027 <
16028 < # func_lo2o object
16029 < func_lo2o ()
16030 < {
16031 <  case ${1} in
16032 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16033 <    *)    func_lo2o_result=${1} ;;
16034 <  esac
16035 < }
16036 <
16037 < # func_xform libobj-or-source
16038 < func_xform ()
16039 < {
16040 <  func_xform_result=${1%.*}.lo
16041 < }
16042 <
16043 < # func_arith arithmetic-term...
16044 < func_arith ()
16045 < {
16046 <  func_arith_result=$(( $* ))
16047 < }
16048 <
16049 < # func_len string
16050 < # STRING may not start with a hyphen.
16051 < func_len ()
16052 < {
16053 <  func_len_result=${#1}
16054 < }
16055 <
16056 < _LT_EOF
16057 <    ;;
16058 <  *) # Bourne compatible functions.
16059 <    cat << \_LT_EOF >> "$cfgfile"
16060 <
16061 < # func_dirname file append nondir_replacement
16062 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16063 < # otherwise set result to NONDIR_REPLACEMENT.
16064 < func_dirname ()
16065 < {
16066 <  # Extract subdirectory from the argument.
16067 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16068 <  if test "X$func_dirname_result" = "X${1}"; then
16069 <    func_dirname_result="${3}"
16070 <  else
16071 <    func_dirname_result="$func_dirname_result${2}"
16072 <  fi
16073 < }
16074 <
16075 < # func_basename file
16076 < func_basename ()
16077 < {
16078 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16079 < }
16080 <
16081 <
16082 < # func_stripname prefix suffix name
16083 < # strip PREFIX and SUFFIX off of NAME.
16084 < # PREFIX and SUFFIX must not contain globbing or regex special
16085 < # characters, hashes, percent signs, but SUFFIX may contain a leading
16086 < # dot (in which case that matches only a dot).
16087 < # func_strip_suffix prefix name
16088 < func_stripname ()
16089 < {
16090 <  case ${2} in
16091 <    .*) func_stripname_result=`$ECHO "X${3}" \
16092 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16093 <    *)  func_stripname_result=`$ECHO "X${3}" \
16094 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16095 <  esac
16096 < }
16097 <
16098 < # sed scripts:
16099 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16100 < my_sed_long_arg='1s/^-[^=]*=//'
16101 <
16102 < # func_opt_split
16103 < func_opt_split ()
16104 < {
16105 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16106 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16107 < }
16108 <
16109 < # func_lo2o object
16110 < func_lo2o ()
16111 < {
16112 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16113 < }
16114 <
16115 < # func_xform libobj-or-source
16116 < func_xform ()
16117 < {
16118 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16119 < }
16120 <
16121 < # func_arith arithmetic-term...
16122 < func_arith ()
16123 < {
16124 <  func_arith_result=`expr "$@"`
16125 < }
16126 <
16127 < # func_len string
16128 < # STRING may not start with a hyphen.
16129 < func_len ()
16130 < {
16131 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16132 < }
16133 <
16134 < _LT_EOF
16135 < esac
16136 <
16137 < case $lt_shell_append in
16138 <  yes)
16139 <    cat << \_LT_EOF >> "$cfgfile"
16140 <
16141 < # func_append var value
16142 < # Append VALUE to the end of shell variable VAR.
16143 < func_append ()
16144 < {
16145 <  eval "$1+=\$2"
16146 < }
16147 < _LT_EOF
16148 <    ;;
16149 <  *)
16150 <    cat << \_LT_EOF >> "$cfgfile"
16151 <
16152 < # func_append var value
16153 < # Append VALUE to the end of shell variable VAR.
16154 < func_append ()
16155 < {
16156 <  eval "$1=\$$1\$2"
16157 < }
16158 <
16159 < _LT_EOF
16160 <    ;;
16161 <  esac
17723 >  sed '$q' "$ltmain" >> "$cfgfile" \
17724 >     || (rm -f "$cfgfile"; exit 1)
17725  
17726 +  if test x"$xsi_shell" = xyes; then
17727 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17728 + func_dirname ()\
17729 + {\
17730 + \    case ${1} in\
17731 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17732 + \      *  ) func_dirname_result="${3}" ;;\
17733 + \    esac\
17734 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17735 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17736 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17737 + test 0 -eq $? || _lt_function_replace_fail=:
17738 +
17739 +
17740 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17741 + func_basename ()\
17742 + {\
17743 + \    func_basename_result="${1##*/}"\
17744 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17745 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17746 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17747 + test 0 -eq $? || _lt_function_replace_fail=:
17748 +
17749 +
17750 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17751 + func_dirname_and_basename ()\
17752 + {\
17753 + \    case ${1} in\
17754 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17755 + \      *  ) func_dirname_result="${3}" ;;\
17756 + \    esac\
17757 + \    func_basename_result="${1##*/}"\
17758 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17759 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17760 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17761 + test 0 -eq $? || _lt_function_replace_fail=:
17762 +
17763 +
17764 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17765 + func_stripname ()\
17766 + {\
17767 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17768 + \    # positional parameters, so assign one to ordinary parameter first.\
17769 + \    func_stripname_result=${3}\
17770 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17771 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17772 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17773 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17774 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17775 + test 0 -eq $? || _lt_function_replace_fail=:
17776 +
17777 +
17778 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17779 + func_split_long_opt ()\
17780 + {\
17781 + \    func_split_long_opt_name=${1%%=*}\
17782 + \    func_split_long_opt_arg=${1#*=}\
17783 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17784 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17785 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17786 + test 0 -eq $? || _lt_function_replace_fail=:
17787 +
17788 +
17789 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17790 + func_split_short_opt ()\
17791 + {\
17792 + \    func_split_short_opt_arg=${1#??}\
17793 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17794 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17795 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17796 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17797 + test 0 -eq $? || _lt_function_replace_fail=:
17798 +
17799 +
17800 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17801 + func_lo2o ()\
17802 + {\
17803 + \    case ${1} in\
17804 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17805 + \      *)    func_lo2o_result=${1} ;;\
17806 + \    esac\
17807 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17808 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17809 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17810 + test 0 -eq $? || _lt_function_replace_fail=:
17811 +
17812 +
17813 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17814 + func_xform ()\
17815 + {\
17816 +    func_xform_result=${1%.*}.lo\
17817 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17818 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17819 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17820 + test 0 -eq $? || _lt_function_replace_fail=:
17821 +
17822 +
17823 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17824 + func_arith ()\
17825 + {\
17826 +    func_arith_result=$(( $* ))\
17827 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17828 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17829 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17830 + test 0 -eq $? || _lt_function_replace_fail=:
17831 +
17832 +
17833 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17834 + func_len ()\
17835 + {\
17836 +    func_len_result=${#1}\
17837 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17838 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17839 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17840 + test 0 -eq $? || _lt_function_replace_fail=:
17841 +
17842 + fi
17843 +
17844 + if test x"$lt_shell_append" = xyes; then
17845 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17846 + func_append ()\
17847 + {\
17848 +    eval "${1}+=\\${2}"\
17849 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17850 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17851 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17852 + test 0 -eq $? || _lt_function_replace_fail=:
17853 +
17854 +
17855 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17856 + func_append_quoted ()\
17857 + {\
17858 + \    func_quote_for_eval "${2}"\
17859 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17860 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17861 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17862 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17863 + test 0 -eq $? || _lt_function_replace_fail=:
17864 +
17865 +
17866 +  # Save a `func_append' function call where possible by direct use of '+='
17867 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17868 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17869 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17870 +  test 0 -eq $? || _lt_function_replace_fail=:
17871 + else
17872 +  # Save a `func_append' function call even when '+=' is not available
17873 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17874 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17875 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17876 +  test 0 -eq $? || _lt_function_replace_fail=:
17877 + fi
17878 +
17879 + if test x"$_lt_function_replace_fail" = x":"; then
17880 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17881 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17882 + fi
17883  
16164  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16165    || (rm -f "$cfgfile"; exit 1)
17884  
17885 <  mv -f "$cfgfile" "$ofile" ||
17885 >   mv -f "$cfgfile" "$ofile" ||
17886      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17887    chmod +x "$ofile"
17888  
# Line 16179 | Line 17897 | _ACEOF
17897   ac_clean_files=$ac_clean_files_save
17898  
17899   test $ac_write_fail = 0 ||
17900 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17900 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17901  
17902  
17903   # configure is writing to config.log, and then calls config.status.
# Line 16200 | Line 17918 | if test "$no_create" != yes; then
17918    exec 5>>config.log
17919    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17920    # would make configure fail if this is the last instruction.
17921 <  $ac_cs_success || as_fn_exit $?
16204 < fi
16205 <
16206 < #
16207 < # CONFIG_SUBDIRS section.
16208 < #
16209 < if test "$no_recursion" != yes; then
16210 <
16211 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16212 <  # so they do not pile up.
16213 <  ac_sub_configure_args=
16214 <  ac_prev=
16215 <  eval "set x $ac_configure_args"
16216 <  shift
16217 <  for ac_arg
16218 <  do
16219 <    if test -n "$ac_prev"; then
16220 <      ac_prev=
16221 <      continue
16222 <    fi
16223 <    case $ac_arg in
16224 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16225 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16226 <      ac_prev=cache_file ;;
16227 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16228 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16229 <    | --c=*)
16230 <      ;;
16231 <    --config-cache | -C)
16232 <      ;;
16233 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16234 <      ac_prev=srcdir ;;
16235 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16236 <      ;;
16237 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16238 <      ac_prev=prefix ;;
16239 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16240 <      ;;
16241 <    --disable-option-checking)
16242 <      ;;
16243 <    *)
16244 <      case $ac_arg in
16245 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16246 <      esac
16247 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16248 <    esac
16249 <  done
16250 <
16251 <  # Always prepend --prefix to ensure using the same prefix
16252 <  # in subdir configurations.
16253 <  ac_arg="--prefix=$prefix"
16254 <  case $ac_arg in
16255 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16256 <  esac
16257 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16258 <
16259 <  # Pass --silent
16260 <  if test "$silent" = yes; then
16261 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16262 <  fi
16263 <
16264 <  # Always prepend --disable-option-checking to silence warnings, since
16265 <  # different subdirs can have different --enable and --with options.
16266 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16267 <
16268 <  ac_popdir=`pwd`
16269 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16270 <
16271 <    # Do not complain, so a configure script can configure whichever
16272 <    # parts of a large source tree are present.
16273 <    test -d "$srcdir/$ac_dir" || continue
16274 <
16275 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16276 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16277 <    $as_echo "$ac_msg" >&6
16278 <    as_dir="$ac_dir"; as_fn_mkdir_p
16279 <    ac_builddir=.
16280 <
16281 < case "$ac_dir" in
16282 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16283 < *)
16284 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16285 <  # A ".." for each directory in $ac_dir_suffix.
16286 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16287 <  case $ac_top_builddir_sub in
16288 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16289 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16290 <  esac ;;
16291 < esac
16292 < ac_abs_top_builddir=$ac_pwd
16293 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16294 < # for backward compatibility:
16295 < ac_top_builddir=$ac_top_build_prefix
16296 <
16297 < case $srcdir in
16298 <  .)  # We are building in place.
16299 <    ac_srcdir=.
16300 <    ac_top_srcdir=$ac_top_builddir_sub
16301 <    ac_abs_top_srcdir=$ac_pwd ;;
16302 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16303 <    ac_srcdir=$srcdir$ac_dir_suffix;
16304 <    ac_top_srcdir=$srcdir
16305 <    ac_abs_top_srcdir=$srcdir ;;
16306 <  *) # Relative name.
16307 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16308 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16309 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16310 < esac
16311 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16312 <
16313 <
16314 <    cd "$ac_dir"
16315 <
16316 <    # Check for guested configure; otherwise get Cygnus style configure.
16317 <    if test -f "$ac_srcdir/configure.gnu"; then
16318 <      ac_sub_configure=$ac_srcdir/configure.gnu
16319 <    elif test -f "$ac_srcdir/configure"; then
16320 <      ac_sub_configure=$ac_srcdir/configure
16321 <    elif test -f "$ac_srcdir/configure.in"; then
16322 <      # This should be Cygnus configure.
16323 <      ac_sub_configure=$ac_aux_dir/configure
16324 <    else
16325 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16326 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16327 <      ac_sub_configure=
16328 <    fi
16329 <
16330 <    # The recursion is here.
16331 <    if test -n "$ac_sub_configure"; then
16332 <      # Make the cache file name correct relative to the subdirectory.
16333 <      case $cache_file in
16334 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16335 <      *) # Relative name.
16336 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16337 <      esac
16338 <
16339 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16340 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16341 <      # The eval makes quoting arguments work.
16342 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16343 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16344 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16345 <    fi
16346 <
16347 <    cd "$ac_popdir"
16348 <  done
17921 >  $ac_cs_success || as_fn_exit 1
17922   fi
17923   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17924    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.2/configure (property svn:eol-style), Revision 1009 by michael, Sun Sep 13 15:02:30 2009 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4414 by michael, Thu Aug 7 14:06:08 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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