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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1068 by michael, Tue Feb 16 23:01:26 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 4909 by michael, Sat Nov 22 21:56:15 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1053 2010-01-28 08:49:16Z michael .
2 > # From configure.ac Id: configure.ac 4906 2014-11-22 21:40:31Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 92 | 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 136 | 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 169 | 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 214 | 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 320 | 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 360 | 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 445 | 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 479 | 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 500 | 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'
505 < else
506 <  if ls -dL / >/dev/null 2>&1; then
507 <    as_ls_L_option=L
508 <  else
509 <    as_ls_L_option=
510 <  fi
511 <  as_test_x='
512 <    eval sh -c '\''
513 <      if test -d "$1"; then
514 <        test -d "$1/.";
515 <      else
516 <        case $1 in #(
517 <        -*)set "./$1";;
518 <        esac;
519 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 <        ???[sx]*):;;*)false;;esac;fi
521 <    '\'' sh
522 <  '
523 < fi
524 < 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 529 | 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  
533 –
534 – # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
537 – case X$lt_ECHO in
538 – X*--fallback-echo)
539 –  # Remove one level of quotation (which was required for Make).
540 –  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 –  ;;
542 – esac
543 –
544 – ECHO=${lt_ECHO-echo}
545 – if test "X$1" = X--no-reexec; then
546 –  # Discard the --no-reexec flag, and continue.
547 –  shift
548 – elif test "X$1" = X--fallback-echo; then
549 –  # Avoid inline document here, it may be left over
550 –  :
551 – elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 –  # Yippee, $ECHO works!
553 –  :
554 – else
555 –  # Restart under the correct shell.
556 –  exec $SHELL "$0" --no-reexec ${1+"$@"}
557 – fi
558 –
559 – if test "X$1" = X--fallback-echo; then
560 –  # used as fallback echo
561 –  shift
562 –  cat <<_LT_EOF
563 – $*
564 – _LT_EOF
565 –  exit 0
566 – fi
567 –
568 – # The HP-UX ksh and POSIX shell print the target directory to stdout
569 – # if CDPATH is set.
570 – (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 –
572 – if test -z "$lt_ECHO"; then
573 –  if test "X${echo_test_string+set}" != Xset; then
574 –    # find a string as large as possible, as long as the shell can cope with it
575 –    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 –      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 –      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 –         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579 –      then
580 –        break
581 –      fi
582 –    done
583 –  fi
584 –
585 –  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 –     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 –     test "X$echo_testing_string" = "X$echo_test_string"; then
588 –    :
589 –  else
590 –    # The Solaris, AIX, and Digital Unix default echo programs unquote
591 –    # backslashes.  This makes it impossible to quote backslashes using
592 –    #   echo "$something" | sed 's/\\/\\\\/g'
593 –    #
594 –    # So, first we look for a working echo in the user's PATH.
595 –
596 –    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 –    for dir in $PATH /usr/ucb; do
598 –      IFS="$lt_save_ifs"
599 –      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 –         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 –         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 –         test "X$echo_testing_string" = "X$echo_test_string"; then
603 –        ECHO="$dir/echo"
604 –        break
605 –      fi
606 –    done
607 –    IFS="$lt_save_ifs"
608 –
609 –    if test "X$ECHO" = Xecho; then
610 –      # We didn't find a better echo, so look for alternatives.
611 –      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 –         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 –         test "X$echo_testing_string" = "X$echo_test_string"; then
614 –        # This shell has a builtin print -r that does the trick.
615 –        ECHO='print -r'
616 –      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 –           test "X$CONFIG_SHELL" != X/bin/ksh; then
618 –        # If we have ksh, try running configure again with it.
619 –        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 –        export ORIGINAL_CONFIG_SHELL
621 –        CONFIG_SHELL=/bin/ksh
622 –        export CONFIG_SHELL
623 –        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624 –      else
625 –        # Try using printf.
626 –        ECHO='printf %s\n'
627 –        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 –           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 –           test "X$echo_testing_string" = "X$echo_test_string"; then
630 –          # Cool, printf works
631 –          :
632 –        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 –             test "X$echo_testing_string" = 'X\t' &&
634 –             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 –             test "X$echo_testing_string" = "X$echo_test_string"; then
636 –          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 –          export CONFIG_SHELL
638 –          SHELL="$CONFIG_SHELL"
639 –          export SHELL
640 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 –        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 –             test "X$echo_testing_string" = 'X\t' &&
643 –             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 –             test "X$echo_testing_string" = "X$echo_test_string"; then
645 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 –        else
647 –          # maybe with a smaller string...
648 –          prev=:
649 –
650 –          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 –            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652 –            then
653 –              break
654 –            fi
655 –            prev="$cmd"
656 –          done
657 –
658 –          if test "$prev" != 'sed 50q "$0"'; then
659 –            echo_test_string=`eval $prev`
660 –            export echo_test_string
661 –            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 –          else
663 –            # Oops.  We lost completely, so just stick with echo.
664 –            ECHO=echo
665 –          fi
666 –        fi
667 –      fi
668 –    fi
669 –  fi
670 – fi
671 –
672 – # Copy echo and quote the copy suitably for passing to libtool from
673 – # the Makefile, instead of quoting the original, which is used later.
674 – lt_ECHO=$ECHO
675 – if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 –   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 – fi
678 –
679 –
680 –
681 –
682 – lt_ltdl_dir='libltdl'
683 –
684 – lt_dlopen_dir="$lt_ltdl_dir"
572  
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 706 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='8.2.1'
597 > PACKAGE_STRING='ircd-hybrid 8.2.1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 748 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
751 – enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 762 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
765 – EFNET_FALSE
766 – EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
769 – ENABLE_PCRE_FALSE
770 – ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
773 – subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 793 | 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 823 | 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 839 | 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 903 | 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 910 | 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
919 < enable_zlib
920 < with_libpcre_path
921 < enable_libpcre
922 < enable_openssl
808 > enable_libgeoip
809   enable_assert
924 – enable_small_net
810   enable_kqueue
811   enable_epoll
812   enable_devpoll
928 – enable_rtsigio
813   enable_poll
930 – enable_select
931 – with_nicklen
932 – with_topiclen
933 – with_syslog_facility
934 – enable_efnet
935 – 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 948 | 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 1010 | 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 1056 | 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 1082 | 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 1286 | 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 1302 | 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 1332 | 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 1341 | 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 1351 | 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 1359 | 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 1388 | 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 1402 | 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
1405 –    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406 –    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 1418 | 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 1459 | 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 1489 | 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.3-rc1 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1503 | 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 1559 | 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.3-rc1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1567 | 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
1581 <  --disable-libpcre       Disable PCRE support
1582 <  --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1583 <  --disable-openssl            Disable OpenSSL support.
1462 >  --disable-libgeoip      Disable GeoIP support
1463    --enable-assert         Enable assert() statements
1585 –  --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.
1589 –  --enable-rtsigio        Force rtsigio usage.
1467    --enable-poll           Force poll usage.
1591 –  --enable-select         Force select usage.
1592 –  --enable-efnet          For IRCDs running on EFnet.
1593 –  --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
1598 <                          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 (or the
1480 +                          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
1609 –  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610 –  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611 –  --with-nicklen=<value>  Set nickname length (default 9).
1612 –  --with-topiclen=<value> Set topic length (default 160).
1613 –  --with-syslog-facility=LOG
1614 –                          Define the syslog facility to use (default:
1615 –                          LOG_LOCAL4)
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1622 | Line 1490 | Some influential environment variables:
1490    LIBS        libraries to pass to the linker, e.g. -l<library>
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 1695 | 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.3-rc1
1568 < generated by GNU Autoconf 2.65
1567 > ircd-hybrid configure 8.2.1
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 1742 | 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;}
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
# Line 1774 | 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 1788 | 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;}
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
# Line 1802 | 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 1820 | 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 1845 | 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 1856 | 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;}
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
# Line 1898 | 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;}
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
# Line 1911 | 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 1966 | 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 1987 | 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 2005 | 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 2018 | 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 2059 | 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  
2066 – # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2067 – # ----------------------------------------------------
2068 – # Tries to find if the field MEMBER exists in type AGGR, after including
2069 – # INCLUDES, setting cache variable VAR accordingly.
2070 – ac_fn_c_check_member ()
2071 – {
2072 –  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2073 –  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2074 – $as_echo_n "checking for $2.$3... " >&6; }
2075 – if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2076 –  $as_echo_n "(cached) " >&6
2077 – else
2078 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 – /* end confdefs.h.  */
2080 – $5
2081 – int
2082 – main ()
2083 – {
2084 – static $2 ac_aggr;
2085 – if (ac_aggr.$3)
2086 – return 0;
2087 –  ;
2088 –  return 0;
2089 – }
2090 – _ACEOF
2091 – if ac_fn_c_try_compile "$LINENO"; then :
2092 –  eval "$4=yes"
2093 – else
2094 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 – /* end confdefs.h.  */
2096 – $5
2097 – int
2098 – main ()
2099 – {
2100 – static $2 ac_aggr;
2101 – if (sizeof ac_aggr.$3)
2102 – return 0;
2103 –  ;
2104 –  return 0;
2105 – }
2106 – _ACEOF
2107 – if ac_fn_c_try_compile "$LINENO"; then :
2108 –  eval "$4=yes"
2109 – else
2110 –  eval "$4=no"
2111 – fi
2112 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 – fi
2114 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 – fi
2116 – eval ac_res=\$$4
2117 –               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 – $as_echo "$ac_res" >&6; }
2119 –  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120 –
2121 – } # ac_fn_c_check_member
2122 –
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 2128 | Line 1947 | $as_echo "$ac_res" >&6; }
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 2167 | 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 2190 | 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 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2012 > ( $as_echo "## ----------------------------------- ##
2013   ## Report this to bugs@ircd-hybrid.org ##
2014 < ## ----------------------------------- ##
2197 < _ASBOX
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 2209 | 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.3-rc1, which was
2037 < generated by GNU Autoconf 2.65.  Invocation command line was
2036 > It was created by ircd-hybrid $as_me 8.2.1, which was
2037 > generated by GNU Autoconf 2.69.  Invocation command line was
2038  
2039    $ $0 $@
2040  
# Line 2327 | Line 2144 | trap 'exit_status=$?
2144    {
2145      echo
2146  
2147 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2147 >    $as_echo "## ---------------- ##
2148   ## Cache variables. ##
2149 < ## ---------------- ##
2334 < _ASBOX
2149 > ## ---------------- ##"
2150      echo
2151      # The following way of writing the cache mishandles newlines in values,
2152   (
# Line 2365 | Line 2180 | $as_echo "$as_me: WARNING: cache variabl
2180   )
2181      echo
2182  
2183 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2183 >    $as_echo "## ----------------- ##
2184   ## Output variables. ##
2185 < ## ----------------- ##
2372 < _ASBOX
2185 > ## ----------------- ##"
2186      echo
2187      for ac_var in $ac_subst_vars
2188      do
# Line 2382 | Line 2195 | _ASBOX
2195      echo
2196  
2197      if test -n "$ac_subst_files"; then
2198 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2198 >      $as_echo "## ------------------- ##
2199   ## File substitutions. ##
2200 < ## ------------------- ##
2389 < _ASBOX
2200 > ## ------------------- ##"
2201        echo
2202        for ac_var in $ac_subst_files
2203        do
# Line 2400 | Line 2211 | _ASBOX
2211      fi
2212  
2213      if test -s confdefs.h; then
2214 <      cat <<\_ASBOX
2404 < ## ----------- ##
2214 >      $as_echo "## ----------- ##
2215   ## confdefs.h. ##
2216 < ## ----------- ##
2407 < _ASBOX
2216 > ## ----------- ##"
2217        echo
2218        cat confdefs.h
2219        echo
# Line 2459 | 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 2474 | Line 2288 | do
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  
# Line 2495 | Line 2313 | $as_echo "$as_me: creating cache $cache_
2313    >$cache_file
2314   fi
2315  
2498 – 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"
2504 – as_fn_append ac_header_list " inttypes.h"
2505 – 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"
2508 – as_fn_append ac_header_list " errno.h"
2509 – as_fn_append ac_header_list " sys/syslog.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"
2514 – 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 2567 | 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 2580 | 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 2622 | 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 2642 | 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 2700 | 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; }
2703 – # Just in case
2704 – sleep 1
2705 – 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
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   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 2772 | 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 2789 | 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 2811 | 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 2839 | 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 2851 | 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 2892 | 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 2902 | 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 2931 | Line 2764 | fi
2764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2765   $as_echo "$MKDIR_P" >&6; }
2766  
2934 – mkdir_p="$MKDIR_P"
2935 – case $mkdir_p in
2936 –  [\\/$]* | ?:[\\/]*) ;;
2937 –  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 – esac
2939 –
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 2955 | 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 2983 | 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 2991 | 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 3019 | 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 3041 | Line 2907 | fi
2907  
2908   # Define the identity of the package.
2909   PACKAGE='ircd-hybrid'
2910 < VERSION='7.3-rc1'
2910 > VERSION='8.2.1'
2911  
2912  
2913   cat >>confdefs.h <<_ACEOF
# Line 3069 | 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 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2955 >
2956 >
2957  
3076 – AMTAR=${AMTAR-"${am_missing_run}tar"}
2958  
3078 – am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
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 3104 | Line 3022 | fi
3022    MAINT=$MAINTAINER_MODE_TRUE
3023  
3024  
3025 +
3026   ac_config_headers="$ac_config_headers config.h"
3027  
3028  
# Line 3128 | Line 3047 | 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'.
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
# Line 3161 | Line 3080 | fi
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=
# Line 3181 | 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 3193 | 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 3221 | 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 3233 | 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 3274 | 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 3286 | 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 3314 | 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 3327 | 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 3373 | 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 3385 | 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 3417 | 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 3429 | 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 3471 | 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 3586 | Line 3506 | 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
3591 < 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; }
# Line 3630 | 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 conftest$ac_cv_exeext
3556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3607 | $as_echo "$ac_try_echo"; } >&5
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.
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; }
3612 > See \`config.log' for more details" "$LINENO" 5; }
3613      fi
3614    fi
3615   fi
# Line 3701 | Line 3620 | rm -f conftest.$ac_ext conftest$ac_cv_ex
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 3741 | 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 3752 | 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 3789 | 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 3867 | 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 3876 | 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>
3880 < #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 3962 | Line 3880 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
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
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 + int
3897 + main ()
3898 + {
3899 +
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 + { $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 + 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 4008 | 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 4026 | 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 4091 | Line 4069 | fi
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 test "${ac_cv_prog_cc_c99+set}" = set; then :
4072 > if ${ac_cv_prog_cc_c99+:} false; then :
4073    $as_echo_n "(cached) " >&6
4074   else
4075    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4213 | main ()
4213    return 0;
4214   }
4215   _ACEOF
4216 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
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 :
# Line 4267 | Line 4245 | fi
4245  
4246  
4247   if test "$ac_cv_prog_cc_c99" = "no"; then :
4248 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4248 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4249   fi
4250   for ac_prog in 'bison -y' byacc
4251   do
# Line 4275 | Line 4253 | do
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 4287 | 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 4319 | 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 4331 | 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 4363 | 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 4389 | 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 4398 | 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 4408 | 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 4438 | 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 4449 | 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 4476 | Line 4456 | fi
4456  
4457  
4458   # Initializing libtool.
4459 +
4460 +
4461 +
4462 +
4463 +
4464 +
4465 +
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 4484 | Line 4471 | esac
4471  
4472  
4473  
4474 < macro_version='2.2.6'
4475 < macro_revision='1.3012'
4474 > macro_version='2.4.2.458.26-92994'
4475 > macro_revision='2.4.3'
4476  
4477  
4478  
# Line 4499 | Line 4486 | macro_revision='1.3012'
4486  
4487  
4488  
4489 < ltmain="$ac_aux_dir/ltmain.sh"
4489 > 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 4541 | 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 4556 | 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 4572 | 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 4594 | 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 4629 | 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 4656 | 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 4670 | 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 4705 | 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 4719 | 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 4736 | 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 4771 | 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 4786 | 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 4803 | 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 4838 | 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 4873 | Line 4929 | test -z "$GREP" && GREP=grep
4929  
4930   # Check whether --with-gnu-ld was given.
4931   if test "${with_gnu_ld+set}" = set; then :
4932 <  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4932 >  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4933   else
4934    with_gnu_ld=no
4935   fi
4936  
4937   ac_prog=ld
4938 < if test "$GCC" = yes; then
4938 > if test yes = "$GCC"; then
4939    # Check if gcc -print-prog-name=ld gives a path.
4940    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4941   $as_echo_n "checking for ld used by $CC... " >&6; }
4942    case $host in
4943    *-*-mingw*)
4944 <    # gcc leaves a trailing carriage return which upsets mingw
4944 >    # gcc leaves a trailing carriage return, which upsets mingw
4945      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4946    *)
4947      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
# Line 4899 | Line 4955 | $as_echo_n "checking for ld used by $CC.
4955        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4956          ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4957        done
4958 <      test -z "$LD" && LD="$ac_prog"
4958 >      test -z "$LD" && LD=$ac_prog
4959        ;;
4960    "")
4961      # If it fails, then pretend we aren't using GCC.
# Line 4910 | Line 4966 | $as_echo_n "checking for ld used by $CC.
4966      with_gnu_ld=unknown
4967      ;;
4968    esac
4969 < elif test "$with_gnu_ld" = yes; then
4969 > elif test yes = "$with_gnu_ld"; then
4970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4971   $as_echo_n "checking for GNU ld... " >&6; }
4972   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
4980 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4980 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4981    for ac_dir in $PATH; do
4982 <    IFS="$lt_save_ifs"
4982 >    IFS=$lt_save_ifs
4983      test -z "$ac_dir" && ac_dir=.
4984      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4985 <      lt_cv_path_LD="$ac_dir/$ac_prog"
4985 >      lt_cv_path_LD=$ac_dir/$ac_prog
4986        # Check to see if the program is GNU ld.  I'd rather use --version,
4987        # but apparently some variants of GNU ld only accept -v.
4988        # Break only if it was the GNU/non-GNU ld that we prefer.
4989        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4990        *GNU* | *'with BFD'*)
4991 <        test "$with_gnu_ld" != no && break
4991 >        test no != "$with_gnu_ld" && break
4992          ;;
4993        *)
4994 <        test "$with_gnu_ld" != yes && break
4994 >        test yes != "$with_gnu_ld" && break
4995          ;;
4996        esac
4997      fi
4998    done
4999 <  IFS="$lt_save_ifs"
4999 >  IFS=$lt_save_ifs
5000   else
5001 <  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5001 >  lt_cv_path_LD=$LD # Let the user override the test with a path.
5002   fi
5003   fi
5004  
5005 < LD="$lt_cv_path_LD"
5005 > LD=$lt_cv_path_LD
5006   if test -n "$LD"; then
5007    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5008   $as_echo "$LD" >&6; }
# Line 4954 | 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 4984 | 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
5047    # Let the user override the test.
5048 <  lt_cv_path_NM="$NM"
5048 >  lt_cv_path_NM=$NM
5049   else
5050 <  lt_nm_to_check="${ac_tool_prefix}nm"
5050 >  lt_nm_to_check=${ac_tool_prefix}nm
5051    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5052      lt_nm_to_check="$lt_nm_to_check nm"
5053    fi
5054    for lt_tmp_nm in $lt_nm_to_check; do
5055 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5055 >    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5056      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5057 <      IFS="$lt_save_ifs"
5057 >      IFS=$lt_save_ifs
5058        test -z "$ac_dir" && ac_dir=.
5059 <      tmp_nm="$ac_dir/$lt_tmp_nm"
5060 <      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5059 >      tmp_nm=$ac_dir/$lt_tmp_nm
5060 >      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5061          # Check to see if the nm accepts a BSD-compat flag.
5062 <        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5062 >        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5063          #   nm: unknown option "B" ignored
5064          # Tru64's nm complains that /dev/null is an invalid object file
5065 <        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5066 <        */dev/null* | *'Invalid file or object type'*)
5065 >        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5066 >        case $build_os in
5067 >        mingw*) lt_bad_file=conftest.nm/nofile ;;
5068 >        *) lt_bad_file=/dev/null ;;
5069 >        esac
5070 >        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5071 >        *$lt_bad_file* | *'Invalid file or object type'*)
5072            lt_cv_path_NM="$tmp_nm -B"
5073 <          break
5073 >          break 2
5074            ;;
5075          *)
5076            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5077            */dev/null*)
5078              lt_cv_path_NM="$tmp_nm -p"
5079 <            break
5079 >            break 2
5080              ;;
5081            *)
5082              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
# Line 5026 | Line 5087 | else
5087          esac
5088        fi
5089      done
5090 <    IFS="$lt_save_ifs"
5090 >    IFS=$lt_save_ifs
5091    done
5092    : ${lt_cv_path_NM=no}
5093   fi
5094   fi
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5096   $as_echo "$lt_cv_path_NM" >&6; }
5097 < if test "$lt_cv_path_NM" != "no"; then
5098 <  NM="$lt_cv_path_NM"
5097 > if test no != "$lt_cv_path_NM"; then
5098 >  NM=$lt_cv_path_NM
5099   else
5100    # Didn't find any BSD compatible name lister, look for dumpbin.
5101 <  if test -n "$ac_tool_prefix"; then
5102 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5101 >  if test -n "$DUMPBIN"; then :
5102 >    # Let the user override the test.
5103 >  else
5104 >    if test -n "$ac_tool_prefix"; then
5105 >  for ac_prog in dumpbin "link -dump"
5106    do
5107      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5108   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110   $as_echo_n "checking for $ac_word... " >&6; }
5111 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5111 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5112    $as_echo_n "(cached) " >&6
5113   else
5114    if test -n "$DUMPBIN"; then
# Line 5056 | Line 5120 | do
5120    IFS=$as_save_IFS
5121    test -z "$as_dir" && as_dir=.
5122      for ac_exec_ext in '' $ac_executable_extensions; do
5123 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5124      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5125      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126      break 2
# Line 5082 | Line 5146 | fi
5146   fi
5147   if test -z "$DUMPBIN"; then
5148    ac_ct_DUMPBIN=$DUMPBIN
5149 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5149 >  for ac_prog in dumpbin "link -dump"
5150   do
5151    # Extract the first word of "$ac_prog", so it can be a program name with args.
5152   set dummy $ac_prog; ac_word=$2
5153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154   $as_echo_n "checking for $ac_word... " >&6; }
5155 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5155 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5156    $as_echo_n "(cached) " >&6
5157   else
5158    if test -n "$ac_ct_DUMPBIN"; then
# Line 5100 | Line 5164 | do
5164    IFS=$as_save_IFS
5165    test -z "$as_dir" && as_dir=.
5166      for ac_exec_ext in '' $ac_executable_extensions; do
5167 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5167 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5168      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5169      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170      break 2
# Line 5137 | Line 5201 | esac
5201    fi
5202   fi
5203  
5204 +    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5205 +    *COFF*)
5206 +      DUMPBIN="$DUMPBIN -symbols -headers"
5207 +      ;;
5208 +    *)
5209 +      DUMPBIN=:
5210 +      ;;
5211 +    esac
5212 +  fi
5213  
5214 <  if test "$DUMPBIN" != ":"; then
5215 <    NM="$DUMPBIN"
5214 >  if test : != "$DUMPBIN"; then
5215 >    NM=$DUMPBIN
5216    fi
5217   fi
5218   test -z "$NM" && NM=nm
# Line 5151 | Line 5224 | test -z "$NM" && NM=nm
5224  
5225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5226   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5227 < if test "${lt_cv_nm_interface+set}" = set; then :
5227 > if ${lt_cv_nm_interface+:} false; then :
5228    $as_echo_n "(cached) " >&6
5229   else
5230    lt_cv_nm_interface="BSD nm"
5231    echo "int some_variable = 0;" > conftest.$ac_ext
5232 <  (eval echo "\"\$as_me:5159: $ac_compile\"" >&5)
5232 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5233    (eval "$ac_compile" 2>conftest.err)
5234    cat conftest.err >&5
5235 <  (eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5235 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5236    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5237    cat conftest.err >&5
5238 <  (eval echo "\"\$as_me:5165: output\"" >&5)
5238 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5239    cat conftest.out >&5
5240    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5241      lt_cv_nm_interface="MS dumpbin"
# Line 5186 | Line 5259 | fi
5259   # find the maximum length of command line arguments
5260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5261   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5262 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5262 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5263    $as_echo_n "(cached) " >&6
5264   else
5265      i=0
5266 <  teststring="ABCD"
5266 >  teststring=ABCD
5267  
5268    case $build_os in
5269    msdosdjgpp*)
# Line 5219 | Line 5292 | else
5292      lt_cv_sys_max_cmd_len=8192;
5293      ;;
5294  
5295 +  mint*)
5296 +    # On MiNT this can take a long time and run out of memory.
5297 +    lt_cv_sys_max_cmd_len=8192;
5298 +    ;;
5299 +
5300    amigaos*)
5301      # On AmigaOS with pdksh, this test takes hours, literally.
5302      # So we just punt and use a minimum line length of 8192.
5303      lt_cv_sys_max_cmd_len=8192;
5304      ;;
5305  
5306 <  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5306 >  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5307      # This has been around since 386BSD, at least.  Likely further.
5308      if test -x /sbin/sysctl; then
5309        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
# Line 5244 | Line 5322 | else
5322      lt_cv_sys_max_cmd_len=196608
5323      ;;
5324  
5325 +  os2*)
5326 +    # The test takes a long time on OS/2.
5327 +    lt_cv_sys_max_cmd_len=8192
5328 +    ;;
5329 +
5330    osf*)
5331      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5332      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5270 | Line 5353 | else
5353      ;;
5354    *)
5355      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5356 <    if test -n "$lt_cv_sys_max_cmd_len"; then
5356 >    if test -n "$lt_cv_sys_max_cmd_len" && \
5357 >       test undefined != "$lt_cv_sys_max_cmd_len"; then
5358        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5359        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5360      else
5361        # Make teststring a little bigger before we do anything with it.
5362        # a 1K string should be a reasonable start.
5363 <      for i in 1 2 3 4 5 6 7 8 ; do
5363 >      for i in 1 2 3 4 5 6 7 8; do
5364          teststring=$teststring$teststring
5365        done
5366        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5367        # If test is not a shell built-in, we'll probably end up computing a
5368        # maximum length that is only half of the actual maximum length, but
5369        # we can't tell.
5370 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5371 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5372 <              test $i != 17 # 1/2 MB should be enough
5370 >      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5371 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5372 >              test 17 != "$i" # 1/2 MB should be enough
5373        do
5374          i=`expr $i + 1`
5375          teststring=$teststring$teststring
# Line 5303 | Line 5387 | else
5387  
5388   fi
5389  
5390 < if test -n $lt_cv_sys_max_cmd_len ; then
5390 > if test -n "$lt_cv_sys_max_cmd_len"; then
5391    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5392   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5393   else
# Line 5321 | Line 5405 | max_cmd_len=$lt_cv_sys_max_cmd_len
5405   : ${MV="mv -f"}
5406   : ${RM="rm -f"}
5407  
5324 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5325 – $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5326 – # Try some XSI features
5327 – xsi_shell=no
5328 – ( _lt_dummy="a/b/c"
5329 –  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5330 –      = c,a/b,, \
5331 –    && eval 'test $(( 1 + 1 )) -eq 2 \
5332 –    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5333 –  && xsi_shell=yes
5334 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5335 – $as_echo "$xsi_shell" >&6; }
5336 –
5337 –
5338 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5339 – $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5340 – lt_shell_append=no
5341 – ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5342 –    >/dev/null 2>&1 \
5343 –  && lt_shell_append=yes
5344 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5345 – $as_echo "$lt_shell_append" >&6; }
5346 –
5347 –
5408   if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5409    lt_unset=unset
5410   else
# Line 5376 | Line 5436 | esac
5436  
5437  
5438  
5439 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5440 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5441 + if ${lt_cv_to_host_file_cmd+:} false; then :
5442 +  $as_echo_n "(cached) " >&6
5443 + else
5444 +  case $host in
5445 +  *-*-mingw* )
5446 +    case $build in
5447 +      *-*-mingw* ) # actually msys
5448 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5449 +        ;;
5450 +      *-*-cygwin* )
5451 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5452 +        ;;
5453 +      * ) # otherwise, assume *nix
5454 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5455 +        ;;
5456 +    esac
5457 +    ;;
5458 +  *-*-cygwin* )
5459 +    case $build in
5460 +      *-*-mingw* ) # actually msys
5461 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5462 +        ;;
5463 +      *-*-cygwin* )
5464 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5465 +        ;;
5466 +      * ) # otherwise, assume *nix
5467 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5468 +        ;;
5469 +    esac
5470 +    ;;
5471 +  * ) # unhandled hosts (and "normal" native builds)
5472 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5473 +    ;;
5474 + esac
5475 +
5476 + fi
5477 +
5478 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5479 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5480 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5481 +
5482 +
5483 +
5484 +
5485 +
5486 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5487 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5488 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5489 +  $as_echo_n "(cached) " >&6
5490 + else
5491 +  #assume ordinary cross tools, or native build.
5492 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5493 + case $host in
5494 +  *-*-mingw* )
5495 +    case $build in
5496 +      *-*-mingw* ) # actually msys
5497 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5498 +        ;;
5499 +    esac
5500 +    ;;
5501 + esac
5502 +
5503 + fi
5504 +
5505 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5506 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5507 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5508 +
5509 +
5510 +
5511 +
5512 +
5513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5514   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5515 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5515 > if ${lt_cv_ld_reload_flag+:} false; then :
5516    $as_echo_n "(cached) " >&6
5517   else
5518    lt_cv_ld_reload_flag='-r'
# Line 5392 | Line 5526 | case $reload_flag in
5526   esac
5527   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5528   case $host_os in
5529 +  cygwin* | mingw* | pw32* | cegcc*)
5530 +    if test yes != "$GCC"; then
5531 +      reload_cmds=false
5532 +    fi
5533 +    ;;
5534    darwin*)
5535 <    if test "$GCC" = yes; then
5536 <      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5535 >    if test yes = "$GCC"; then
5536 >      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5537      else
5538        reload_cmds='$LD$reload_flag -o $output$reload_objs'
5539      fi
# Line 5414 | Line 5553 | if test -n "$ac_tool_prefix"; then
5553   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555   $as_echo_n "checking for $ac_word... " >&6; }
5556 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5556 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5557    $as_echo_n "(cached) " >&6
5558   else
5559    if test -n "$OBJDUMP"; then
# Line 5426 | Line 5565 | do
5565    IFS=$as_save_IFS
5566    test -z "$as_dir" && as_dir=.
5567      for ac_exec_ext in '' $ac_executable_extensions; do
5568 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5570      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571      break 2
# Line 5454 | Line 5593 | if test -z "$ac_cv_prog_OBJDUMP"; then
5593   set dummy objdump; ac_word=$2
5594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595   $as_echo_n "checking for $ac_word... " >&6; }
5596 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5596 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5597    $as_echo_n "(cached) " >&6
5598   else
5599    if test -n "$ac_ct_OBJDUMP"; then
# Line 5466 | Line 5605 | do
5605    IFS=$as_save_IFS
5606    test -z "$as_dir" && as_dir=.
5607      for ac_exec_ext in '' $ac_executable_extensions; do
5608 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5608 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5610      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611      break 2
# Line 5513 | Line 5652 | test -z "$OBJDUMP" && OBJDUMP=objdump
5652  
5653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5654   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5655 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5655 > if ${lt_cv_deplibs_check_method+:} false; then :
5656    $as_echo_n "(cached) " >&6
5657   else
5658    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5522 | Line 5661 | lt_cv_deplibs_check_method='unknown'
5661   # Need to set the preceding variable on all platforms that support
5662   # interlibrary dependencies.
5663   # 'none' -- dependencies not supported.
5664 < # `unknown' -- same as none, but documents that we really don't know.
5664 > # 'unknown' -- same as none, but documents that we really don't know.
5665   # 'pass_all' -- all dependencies passed with no checks.
5666   # 'test_compile' -- check by making test program.
5667   # 'file_magic [[regex]]' -- check by looking for files in library path
5668 < # which responds to the $file_magic_cmd with a given extended regex.
5669 < # If you have `file' or equivalent on your system and you're not sure
5670 < # whether `pass_all' will *always* work, you probably want this one.
5668 > # that responds to the $file_magic_cmd with a given extended regex.
5669 > # If you have 'file' or equivalent on your system and you're not sure
5670 > # whether 'pass_all' will *always* work, you probably want this one.
5671  
5672   case $host_os in
5673   aix[4-9]*)
# Line 5559 | Line 5698 | mingw* | pw32*)
5698      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5699      lt_cv_file_magic_cmd='func_win32_libid'
5700    else
5701 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5701 >    # Keep this pattern in sync with the one in func_win32_libid.
5702 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5703      lt_cv_file_magic_cmd='$OBJDUMP -f'
5704    fi
5705    ;;
5706  
5707 < cegcc)
5707 > cegcc*)
5708    # use the weaker test based on 'objdump'. See mingw*.
5709    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5710    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5590 | Line 5730 | freebsd* | dragonfly*)
5730    fi
5731    ;;
5732  
5733 < gnu*)
5733 > haiku*)
5734    lt_cv_deplibs_check_method=pass_all
5735    ;;
5736  
# Line 5602 | Line 5742 | hpux10.20* | hpux11*)
5742      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5743      ;;
5744    hppa*64*)
5745 <    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]'
5745 >    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]'
5746      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5747      ;;
5748    *)
5749 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5749 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5750      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5751      ;;
5752    esac
# Line 5627 | Line 5767 | irix5* | irix6* | nonstopux*)
5767    lt_cv_deplibs_check_method=pass_all
5768    ;;
5769  
5770 < # This must be Linux ELF.
5771 < linux* | k*bsd*-gnu)
5770 > # This must be glibc/ELF.
5771 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5772    lt_cv_deplibs_check_method=pass_all
5773    ;;
5774  
# Line 5650 | Line 5790 | newos6*)
5790    lt_cv_deplibs_check_method=pass_all
5791    ;;
5792  
5793 < openbsd*)
5794 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5793 > openbsd* | bitrig*)
5794 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5795      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5796    else
5797      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
# Line 5709 | Line 5849 | esac
5849   fi
5850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5851   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5852 +
5853 + file_magic_glob=
5854 + want_nocaseglob=no
5855 + if test "$build" = "$host"; then
5856 +  case $host_os in
5857 +  mingw* | pw32*)
5858 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5859 +      want_nocaseglob=yes
5860 +    else
5861 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5862 +    fi
5863 +    ;;
5864 +  esac
5865 + fi
5866 +
5867   file_magic_cmd=$lt_cv_file_magic_cmd
5868   deplibs_check_method=$lt_cv_deplibs_check_method
5869   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5724 | Line 5879 | test -z "$deplibs_check_method" && depli
5879  
5880  
5881  
5882 +
5883 +
5884 +
5885 +
5886 +
5887 +
5888 +
5889 +
5890 +
5891 +
5892   if test -n "$ac_tool_prefix"; then
5893 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5894 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5893 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5894 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896   $as_echo_n "checking for $ac_word... " >&6; }
5897 < if test "${ac_cv_prog_AR+set}" = set; then :
5897 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5898 >  $as_echo_n "(cached) " >&6
5899 > else
5900 >  if test -n "$DLLTOOL"; then
5901 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5902 > else
5903 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 > for as_dir in $PATH
5905 > do
5906 >  IFS=$as_save_IFS
5907 >  test -z "$as_dir" && as_dir=.
5908 >    for ac_exec_ext in '' $ac_executable_extensions; do
5909 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5911 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 >    break 2
5913 >  fi
5914 > done
5915 >  done
5916 > IFS=$as_save_IFS
5917 >
5918 > fi
5919 > fi
5920 > DLLTOOL=$ac_cv_prog_DLLTOOL
5921 > if test -n "$DLLTOOL"; then
5922 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5923 > $as_echo "$DLLTOOL" >&6; }
5924 > else
5925 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 > $as_echo "no" >&6; }
5927 > fi
5928 >
5929 >
5930 > fi
5931 > if test -z "$ac_cv_prog_DLLTOOL"; then
5932 >  ac_ct_DLLTOOL=$DLLTOOL
5933 >  # Extract the first word of "dlltool", so it can be a program name with args.
5934 > set dummy dlltool; ac_word=$2
5935 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 > $as_echo_n "checking for $ac_word... " >&6; }
5937 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5938 >  $as_echo_n "(cached) " >&6
5939 > else
5940 >  if test -n "$ac_ct_DLLTOOL"; then
5941 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5942 > else
5943 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 > for as_dir in $PATH
5945 > do
5946 >  IFS=$as_save_IFS
5947 >  test -z "$as_dir" && as_dir=.
5948 >    for ac_exec_ext in '' $ac_executable_extensions; do
5949 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5951 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 >    break 2
5953 >  fi
5954 > done
5955 >  done
5956 > IFS=$as_save_IFS
5957 >
5958 > fi
5959 > fi
5960 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5961 > if test -n "$ac_ct_DLLTOOL"; then
5962 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5963 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5964 > else
5965 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 > $as_echo "no" >&6; }
5967 > fi
5968 >
5969 >  if test "x$ac_ct_DLLTOOL" = x; then
5970 >    DLLTOOL="false"
5971 >  else
5972 >    case $cross_compiling:$ac_tool_warned in
5973 > yes:)
5974 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5975 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5976 > ac_tool_warned=yes ;;
5977 > esac
5978 >    DLLTOOL=$ac_ct_DLLTOOL
5979 >  fi
5980 > else
5981 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5982 > fi
5983 >
5984 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5985 >
5986 >
5987 >
5988 >
5989 >
5990 >
5991 >
5992 >
5993 >
5994 >
5995 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5996 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5997 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5998 >  $as_echo_n "(cached) " >&6
5999 > else
6000 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
6001 >
6002 > case $host_os in
6003 > cygwin* | mingw* | pw32* | cegcc*)
6004 >  # two different shell functions defined in ltmain.sh;
6005 >  # decide which one to use based on capabilities of $DLLTOOL
6006 >  case `$DLLTOOL --help 2>&1` in
6007 >  *--identify-strict*)
6008 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6009 >    ;;
6010 >  *)
6011 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6012 >    ;;
6013 >  esac
6014 >  ;;
6015 > *)
6016 >  # fallback: assume linklib IS sharedlib
6017 >  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6018 >  ;;
6019 > esac
6020 >
6021 > fi
6022 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6023 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6024 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6025 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6026 >
6027 >
6028 >
6029 >
6030 >
6031 >
6032 >
6033 > if test -n "$ac_tool_prefix"; then
6034 >  for ac_prog in ar
6035 >  do
6036 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6037 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6038 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 > $as_echo_n "checking for $ac_word... " >&6; }
6040 > if ${ac_cv_prog_AR+:} false; then :
6041    $as_echo_n "(cached) " >&6
6042   else
6043    if test -n "$AR"; then
# Line 5741 | Line 6049 | do
6049    IFS=$as_save_IFS
6050    test -z "$as_dir" && as_dir=.
6051      for ac_exec_ext in '' $ac_executable_extensions; do
6052 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6053 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6052 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6053 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6054      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055      break 2
6056    fi
# Line 5762 | Line 6070 | $as_echo "no" >&6; }
6070   fi
6071  
6072  
6073 +    test -n "$AR" && break
6074 +  done
6075   fi
6076 < if test -z "$ac_cv_prog_AR"; then
6076 > if test -z "$AR"; then
6077    ac_ct_AR=$AR
6078 <  # Extract the first word of "ar", so it can be a program name with args.
6079 < set dummy ar; ac_word=$2
6078 >  for ac_prog in ar
6079 > do
6080 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6081 > set dummy $ac_prog; ac_word=$2
6082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083   $as_echo_n "checking for $ac_word... " >&6; }
6084 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6084 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6085    $as_echo_n "(cached) " >&6
6086   else
6087    if test -n "$ac_ct_AR"; then
# Line 5781 | Line 6093 | do
6093    IFS=$as_save_IFS
6094    test -z "$as_dir" && as_dir=.
6095      for ac_exec_ext in '' $ac_executable_extensions; do
6096 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6097 <    ac_cv_prog_ac_ct_AR="ar"
6096 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6098      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099      break 2
6100    fi
# Line 5801 | Line 6113 | else
6113   $as_echo "no" >&6; }
6114   fi
6115  
6116 +
6117 +  test -n "$ac_ct_AR" && break
6118 + done
6119 +
6120    if test "x$ac_ct_AR" = x; then
6121      AR="false"
6122    else
# Line 5812 | Line 6128 | ac_tool_warned=yes ;;
6128   esac
6129      AR=$ac_ct_AR
6130    fi
5815 – else
5816 –  AR="$ac_cv_prog_AR"
6131   fi
6132  
6133 < test -z "$AR" && AR=ar
6134 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6133 > : ${AR=ar}
6134 > : ${AR_FLAGS=cru}
6135  
6136  
6137  
# Line 5829 | Line 6143 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6143  
6144  
6145  
6146 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6147 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6148 + if ${lt_cv_ar_at_file+:} false; then :
6149 +  $as_echo_n "(cached) " >&6
6150 + else
6151 +  lt_cv_ar_at_file=no
6152 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153 + /* end confdefs.h.  */
6154 +
6155 + int
6156 + main ()
6157 + {
6158 +
6159 +  ;
6160 +  return 0;
6161 + }
6162 + _ACEOF
6163 + if ac_fn_c_try_compile "$LINENO"; then :
6164 +  echo conftest.$ac_objext > conftest.lst
6165 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6166 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6167 +  (eval $lt_ar_try) 2>&5
6168 +  ac_status=$?
6169 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6170 +  test $ac_status = 0; }
6171 +      if test 0 -eq "$ac_status"; then
6172 +        # Ensure the archiver fails upon bogus file names.
6173 +        rm -f conftest.$ac_objext libconftest.a
6174 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6175 +  (eval $lt_ar_try) 2>&5
6176 +  ac_status=$?
6177 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6178 +  test $ac_status = 0; }
6179 +        if test 0 -ne "$ac_status"; then
6180 +          lt_cv_ar_at_file=@
6181 +        fi
6182 +      fi
6183 +      rm -f conftest.* libconftest.a
6184 +
6185 + fi
6186 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6187 +
6188 + fi
6189 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6190 + $as_echo "$lt_cv_ar_at_file" >&6; }
6191 +
6192 + if test no = "$lt_cv_ar_at_file"; then
6193 +  archiver_list_spec=
6194 + else
6195 +  archiver_list_spec=$lt_cv_ar_at_file
6196 + fi
6197 +
6198 +
6199 +
6200 +
6201 +
6202 +
6203 +
6204   if test -n "$ac_tool_prefix"; then
6205    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6206   set dummy ${ac_tool_prefix}strip; ac_word=$2
6207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6208   $as_echo_n "checking for $ac_word... " >&6; }
6209 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6209 > if ${ac_cv_prog_STRIP+:} false; then :
6210    $as_echo_n "(cached) " >&6
6211   else
6212    if test -n "$STRIP"; then
# Line 5846 | Line 6218 | do
6218    IFS=$as_save_IFS
6219    test -z "$as_dir" && as_dir=.
6220      for ac_exec_ext in '' $ac_executable_extensions; do
6221 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6222      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6223      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224      break 2
# Line 5874 | Line 6246 | if test -z "$ac_cv_prog_STRIP"; then
6246   set dummy strip; ac_word=$2
6247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6248   $as_echo_n "checking for $ac_word... " >&6; }
6249 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6249 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6250    $as_echo_n "(cached) " >&6
6251   else
6252    if test -n "$ac_ct_STRIP"; then
# Line 5886 | Line 6258 | do
6258    IFS=$as_save_IFS
6259    test -z "$as_dir" && as_dir=.
6260      for ac_exec_ext in '' $ac_executable_extensions; do
6261 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6261 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6262      ac_cv_prog_ac_ct_STRIP="strip"
6263      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6264      break 2
# Line 5933 | Line 6305 | if test -n "$ac_tool_prefix"; then
6305   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307   $as_echo_n "checking for $ac_word... " >&6; }
6308 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6308 > if ${ac_cv_prog_RANLIB+:} false; then :
6309    $as_echo_n "(cached) " >&6
6310   else
6311    if test -n "$RANLIB"; then
# Line 5945 | Line 6317 | do
6317    IFS=$as_save_IFS
6318    test -z "$as_dir" && as_dir=.
6319      for ac_exec_ext in '' $ac_executable_extensions; do
6320 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6321      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6322      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6323      break 2
# Line 5973 | Line 6345 | if test -z "$ac_cv_prog_RANLIB"; then
6345   set dummy ranlib; ac_word=$2
6346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6347   $as_echo_n "checking for $ac_word... " >&6; }
6348 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6348 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6349    $as_echo_n "(cached) " >&6
6350   else
6351    if test -n "$ac_ct_RANLIB"; then
# Line 5985 | Line 6357 | do
6357    IFS=$as_save_IFS
6358    test -z "$as_dir" && as_dir=.
6359      for ac_exec_ext in '' $ac_executable_extensions; do
6360 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6360 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6361      ac_cv_prog_ac_ct_RANLIB="ranlib"
6362      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6363      break 2
# Line 6034 | Line 6406 | old_postuninstall_cmds=
6406  
6407   if test -n "$RANLIB"; then
6408    case $host_os in
6409 <  openbsd*)
6410 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6409 >  bitrig* | openbsd*)
6410 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6411      ;;
6412    *)
6413 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6413 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6414      ;;
6415    esac
6416 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6416 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6417   fi
6418  
6419 + case $host_os in
6420 +  darwin*)
6421 +    lock_old_archive_extraction=yes ;;
6422 +  *)
6423 +    lock_old_archive_extraction=no ;;
6424 + esac
6425 +
6426 +
6427 +
6428 +
6429 +
6430 +
6431  
6432  
6433  
# Line 6090 | Line 6474 | compiler=$CC
6474   # Check for command to grab the raw symbol name followed by C symbol from nm.
6475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6476   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6477 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6477 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6478    $as_echo_n "(cached) " >&6
6479   else
6480  
# Line 6112 | Line 6496 | cygwin* | mingw* | pw32* | cegcc*)
6496    symcode='[ABCDGISTW]'
6497    ;;
6498   hpux*)
6499 <  if test "$host_cpu" = ia64; then
6499 >  if test ia64 = "$host_cpu"; then
6500      symcode='[ABCDEGRST]'
6501    fi
6502    ;;
# Line 6145 | Line 6529 | case `$NM -V 2>&1` in
6529    symcode='[ABCDGIRSTW]' ;;
6530   esac
6531  
6532 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6533 +  # Gets list of data symbols to import.
6534 +  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6535 +  # Adjust the below global symbol transforms to fixup imported variables.
6536 +  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6537 +  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6538 +  lt_c_name_lib_hook="\
6539 +  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6540 +  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6541 + else
6542 +  # Disable hooks by default.
6543 +  lt_cv_sys_global_symbol_to_import=
6544 +  lt_cdecl_hook=
6545 +  lt_c_name_hook=
6546 +  lt_c_name_lib_hook=
6547 + fi
6548 +
6549   # Transform an extracted symbol line into a proper C declaration.
6550   # Some systems (esp. on ia64) link data and code symbols differently,
6551   # so use this general approach.
6552 < lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6552 > lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6553 > $lt_cdecl_hook\
6554 > " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6555 > " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6556  
6557   # Transform an extracted symbol line into symbol name and symbol address
6558 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6559 < 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'"
6558 > lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6559 > $lt_c_name_hook\
6560 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6561 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6562 >
6563 > # Transform an extracted symbol line into symbol name with lib prefix and
6564 > # symbol address.
6565 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6566 > $lt_c_name_lib_hook\
6567 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6568 > " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6569 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6570  
6571   # Handle CRLF in mingw tool chain
6572   opt_cr=
# Line 6170 | Line 6584 | for ac_symprfx in "" "_"; do
6584  
6585    # Write the raw and C identifiers.
6586    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6587 <    # Fake it for dumpbin and say T for any non-static function
6588 <    # and D for any global variable.
6587 >    # Fake it for dumpbin and say T for any non-static function,
6588 >    # D for any global variable and I for any imported variable.
6589      # Also find C++ and __fastcall symbols from MSVC++,
6590      # which start with @ or ?.
6591      lt_cv_sys_global_symbol_pipe="$AWK '"\
6592   "     {last_section=section; section=\$ 3};"\
6593 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6594   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6595 + "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6596 + "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6597 + "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6598   "     \$ 0!~/External *\|/{next};"\
6599   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6600   "     {if(hide[section]) next};"\
6601 < "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6602 < "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6603 < "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6604 < "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6601 > "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6602 > "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6603 > "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6604 > "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6605   "     ' prfx=^$ac_symprfx"
6606    else
6607      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6608    fi
6609 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6610  
6611    # Check to see that the pipe works correctly.
6612    pipe_works=no
# Line 6213 | Line 6632 | _LT_EOF
6632    test $ac_status = 0; }; then
6633      # Now try to grab the symbols.
6634      nlist=conftest.nm
6635 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6636 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6635 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6636 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6637    ac_status=$?
6638    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6639    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6229 | Line 6648 | _LT_EOF
6648        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6649          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6650            cat <<_LT_EOF > conftest.$ac_ext
6651 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6652 + #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6653 + /* DATA imports from DLLs on WIN32 can't be const, because runtime
6654 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6655 + # define LT_DLSYM_CONST
6656 + #elif defined __osf__
6657 + /* This system does not cope well with relocations in const data.  */
6658 + # define LT_DLSYM_CONST
6659 + #else
6660 + # define LT_DLSYM_CONST const
6661 + #endif
6662 +
6663   #ifdef __cplusplus
6664   extern "C" {
6665   #endif
# Line 6240 | Line 6671 | _LT_EOF
6671            cat <<_LT_EOF >> conftest.$ac_ext
6672  
6673   /* The mapping between symbol names and symbols.  */
6674 < const struct {
6674 > LT_DLSYM_CONST struct {
6675    const char *name;
6676    void       *address;
6677   }
# Line 6248 | Line 6679 | lt__PROGRAM__LTX_preloaded_symbols[] =
6679   {
6680    { "@PROGRAM@", (void *) 0 },
6681   _LT_EOF
6682 <          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6682 >          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6683            cat <<\_LT_EOF >> conftest.$ac_ext
6684    {0, (void *) 0}
6685   };
# Line 6266 | Line 6697 | static const void *lt_preloaded_setup()
6697   _LT_EOF
6698            # Now try linking the two files.
6699            mv conftest.$ac_objext conftstm.$ac_objext
6700 <          lt_save_LIBS="$LIBS"
6701 <          lt_save_CFLAGS="$CFLAGS"
6702 <          LIBS="conftstm.$ac_objext"
6700 >          lt_globsym_save_LIBS=$LIBS
6701 >          lt_globsym_save_CFLAGS=$CFLAGS
6702 >          LIBS=conftstm.$ac_objext
6703            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6704            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6705    (eval $ac_link) 2>&5
6706    ac_status=$?
6707    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6708 <  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6708 >  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6709              pipe_works=yes
6710            fi
6711 <          LIBS="$lt_save_LIBS"
6712 <          CFLAGS="$lt_save_CFLAGS"
6711 >          LIBS=$lt_globsym_save_LIBS
6712 >          CFLAGS=$lt_globsym_save_CFLAGS
6713          else
6714            echo "cannot find nm_test_func in $nlist" >&5
6715          fi
# Line 6295 | Line 6726 | _LT_EOF
6726    rm -rf conftest* conftst*
6727  
6728    # Do not use the global_symbol_pipe unless it works.
6729 <  if test "$pipe_works" = yes; then
6729 >  if test yes = "$pipe_works"; then
6730      break
6731    else
6732      lt_cv_sys_global_symbol_pipe=
# Line 6315 | Line 6746 | else
6746   $as_echo "ok" >&6; }
6747   fi
6748  
6749 + # Response file support.
6750 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6751 +  nm_file_list_spec='@'
6752 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6753 +  nm_file_list_spec='@'
6754 + fi
6755 +
6756 +
6757 +
6758 +
6759 +
6760 +
6761 +
6762 +
6763 +
6764 +
6765 +
6766 +
6767 +
6768 +
6769 +
6770 +
6771 +
6772 +
6773  
6774  
6775  
# Line 6334 | Line 6789 | fi
6789  
6790  
6791  
6792 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6793 + $as_echo_n "checking for sysroot... " >&6; }
6794 +
6795 + # Check whether --with-sysroot was given.
6796 + if test "${with_sysroot+set}" = set; then :
6797 +  withval=$with_sysroot;
6798 + else
6799 +  with_sysroot=no
6800 + fi
6801 +
6802 +
6803 + lt_sysroot=
6804 + case $with_sysroot in #(
6805 + yes)
6806 +   if test yes = "$GCC"; then
6807 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6808 +   fi
6809 +   ;; #(
6810 + /*)
6811 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6812 +   ;; #(
6813 + no|'')
6814 +   ;; #(
6815 + *)
6816 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6817 + $as_echo "$with_sysroot" >&6; }
6818 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6819 +   ;;
6820 + esac
6821 +
6822 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6823 + $as_echo "${lt_sysroot:-no}" >&6; }
6824 +
6825 +
6826 +
6827 +
6828 +
6829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6830 + $as_echo_n "checking for a working dd... " >&6; }
6831 + if ${ac_cv_path_lt_DD+:} false; then :
6832 +  $as_echo_n "(cached) " >&6
6833 + else
6834 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6835 + cat conftest.i conftest.i >conftest2.i
6836 + : ${lt_DD:=$DD}
6837 + if test -z "$lt_DD"; then
6838 +  ac_path_lt_DD_found=false
6839 +  # Loop through the user's path and test for each of PROGNAME-LIST
6840 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 + for as_dir in $PATH
6842 + do
6843 +  IFS=$as_save_IFS
6844 +  test -z "$as_dir" && as_dir=.
6845 +    for ac_prog in dd; do
6846 +    for ac_exec_ext in '' $ac_executable_extensions; do
6847 +      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6848 +      as_fn_executable_p "$ac_path_lt_DD" || continue
6849 + if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6850 +  cmp -s conftest.i conftest.out \
6851 +  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6852 + fi
6853 +      $ac_path_lt_DD_found && break 3
6854 +    done
6855 +  done
6856 +  done
6857 + IFS=$as_save_IFS
6858 +  if test -z "$ac_cv_path_lt_DD"; then
6859 +    :
6860 +  fi
6861 + else
6862 +  ac_cv_path_lt_DD=$lt_DD
6863 + fi
6864 +
6865 + rm -f conftest.i conftest2.i conftest.out
6866 + fi
6867 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6868 + $as_echo "$ac_cv_path_lt_DD" >&6; }
6869 +
6870 +
6871 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6872 + $as_echo_n "checking how to truncate binary pipes... " >&6; }
6873 + if ${lt_cv_truncate_bin+:} false; then :
6874 +  $as_echo_n "(cached) " >&6
6875 + else
6876 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6877 + cat conftest.i conftest.i >conftest2.i
6878 + lt_cv_truncate_bin=
6879 + if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6880 +  cmp -s conftest.i conftest.out \
6881 +  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6882 + fi
6883 + rm -f conftest.i conftest2.i conftest.out
6884 + test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6885 + fi
6886 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6887 + $as_echo "$lt_cv_truncate_bin" >&6; }
6888 +
6889 +
6890 +
6891 +
6892  
6893  
6894   # Check whether --enable-libtool-lock was given.
# Line 6341 | Line 6896 | if test "${enable_libtool_lock+set}" = s
6896    enableval=$enable_libtool_lock;
6897   fi
6898  
6899 < test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6899 > test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6900  
6901   # Some flags need to be propagated to the compiler or linker for good
6902   # libtool support.
6903   case $host in
6904   ia64-*-hpux*)
6905 <  # Find out which ABI we are using.
6905 >  # Find out what ABI is being produced by ac_compile, and set mode
6906 >  # options accordingly.
6907    echo 'int i;' > conftest.$ac_ext
6908    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6909    (eval $ac_compile) 2>&5
# Line 6356 | Line 6912 | ia64-*-hpux*)
6912    test $ac_status = 0; }; then
6913      case `/usr/bin/file conftest.$ac_objext` in
6914        *ELF-32*)
6915 <        HPUX_IA64_MODE="32"
6915 >        HPUX_IA64_MODE=32
6916          ;;
6917        *ELF-64*)
6918 <        HPUX_IA64_MODE="64"
6918 >        HPUX_IA64_MODE=64
6919          ;;
6920      esac
6921    fi
6922    rm -rf conftest*
6923    ;;
6924   *-*-irix6*)
6925 <  # Find out which ABI we are using.
6926 <  echo '#line 6370 "configure"' > conftest.$ac_ext
6925 >  # Find out what ABI is being produced by ac_compile, and set linker
6926 >  # options accordingly.
6927 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6928    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6929    (eval $ac_compile) 2>&5
6930    ac_status=$?
6931    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6932    test $ac_status = 0; }; then
6933 <    if test "$lt_cv_prog_gnu_ld" = yes; then
6933 >    if test yes = "$lt_cv_prog_gnu_ld"; then
6934        case `/usr/bin/file conftest.$ac_objext` in
6935          *32-bit*)
6936            LD="${LD-ld} -melf32bsmip"
# Line 6402 | Line 6959 | ia64-*-hpux*)
6959    rm -rf conftest*
6960    ;;
6961  
6962 < x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6962 > mips64*-*linux*)
6963 >  # Find out what ABI is being produced by ac_compile, and set linker
6964 >  # options accordingly.
6965 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6966 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6967 >  (eval $ac_compile) 2>&5
6968 >  ac_status=$?
6969 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970 >  test $ac_status = 0; }; then
6971 >    emul=elf
6972 >    case `/usr/bin/file conftest.$ac_objext` in
6973 >      *32-bit*)
6974 >        emul="${emul}32"
6975 >        ;;
6976 >      *64-bit*)
6977 >        emul="${emul}64"
6978 >        ;;
6979 >    esac
6980 >    case `/usr/bin/file conftest.$ac_objext` in
6981 >      *MSB*)
6982 >        emul="${emul}btsmip"
6983 >        ;;
6984 >      *LSB*)
6985 >        emul="${emul}ltsmip"
6986 >        ;;
6987 >    esac
6988 >    case `/usr/bin/file conftest.$ac_objext` in
6989 >      *N32*)
6990 >        emul="${emul}n32"
6991 >        ;;
6992 >    esac
6993 >    LD="${LD-ld} -m $emul"
6994 >  fi
6995 >  rm -rf conftest*
6996 >  ;;
6997 >
6998 > x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6999   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7000 <  # Find out which ABI we are using.
7000 >  # Find out what ABI is being produced by ac_compile, and set linker
7001 >  # options accordingly.  Note that the listed cases only cover the
7002 >  # situations where additional linker options are needed (such as when
7003 >  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7004 >  # vice versa); the common cases where no linker options are needed do
7005 >  # not appear in the list.
7006    echo 'int i;' > conftest.$ac_ext
7007    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7008    (eval $ac_compile) 2>&5
# Line 6418 | Line 7016 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7016              LD="${LD-ld} -m elf_i386_fbsd"
7017              ;;
7018            x86_64-*linux*)
7019 <            LD="${LD-ld} -m elf_i386"
7019 >            case `/usr/bin/file conftest.o` in
7020 >              *x86-64*)
7021 >                LD="${LD-ld} -m elf32_x86_64"
7022 >                ;;
7023 >              *)
7024 >                LD="${LD-ld} -m elf_i386"
7025 >                ;;
7026 >            esac
7027              ;;
7028 <          ppc64-*linux*|powerpc64-*linux*)
7028 >          powerpc64le-*linux*)
7029 >            LD="${LD-ld} -m elf32lppclinux"
7030 >            ;;
7031 >          powerpc64-*linux*)
7032              LD="${LD-ld} -m elf32ppclinux"
7033              ;;
7034            s390x-*linux*)
# Line 6439 | Line 7047 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7047            x86_64-*linux*)
7048              LD="${LD-ld} -m elf_x86_64"
7049              ;;
7050 <          ppc*-*linux*|powerpc*-*linux*)
7050 >          powerpcle-*linux*)
7051 >            LD="${LD-ld} -m elf64lppc"
7052 >            ;;
7053 >          powerpc-*linux*)
7054              LD="${LD-ld} -m elf64ppc"
7055              ;;
7056            s390*-*linux*|s390*-*tpf*)
# Line 6457 | Line 7068 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7068  
7069   *-*-sco3.2v5*)
7070    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7071 <  SAVE_CFLAGS="$CFLAGS"
7071 >  SAVE_CFLAGS=$CFLAGS
7072    CFLAGS="$CFLAGS -belf"
7073    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7074   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7075 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
7075 > if ${lt_cv_cc_needs_belf+:} false; then :
7076    $as_echo_n "(cached) " >&6
7077   else
7078    ac_ext=c
# Line 6497 | Line 7108 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7108   fi
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7110   $as_echo "$lt_cv_cc_needs_belf" >&6; }
7111 <  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7111 >  if test yes != "$lt_cv_cc_needs_belf"; then
7112      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7113 <    CFLAGS="$SAVE_CFLAGS"
7113 >    CFLAGS=$SAVE_CFLAGS
7114    fi
7115    ;;
7116 < sparc*-*solaris*)
7117 <  # Find out which ABI we are using.
7116 > *-*solaris*)
7117 >  # Find out what ABI is being produced by ac_compile, and set linker
7118 >  # options accordingly.
7119    echo 'int i;' > conftest.$ac_ext
7120    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7121    (eval $ac_compile) 2>&5
# Line 6513 | Line 7125 | sparc*-*solaris*)
7125      case `/usr/bin/file conftest.o` in
7126      *64-bit*)
7127        case $lt_cv_prog_gnu_ld in
7128 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7128 >      yes*)
7129 >        case $host in
7130 >        i?86-*-solaris*|x86_64-*-solaris*)
7131 >          LD="${LD-ld} -m elf_x86_64"
7132 >          ;;
7133 >        sparc*-*-solaris*)
7134 >          LD="${LD-ld} -m elf64_sparc"
7135 >          ;;
7136 >        esac
7137 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7138 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7139 >          LD=${LD-ld}_sol2
7140 >        fi
7141 >        ;;
7142        *)
7143          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7144            LD="${LD-ld} -64"
# Line 6527 | Line 7152 | sparc*-*solaris*)
7152    ;;
7153   esac
7154  
7155 < need_locks="$enable_libtool_lock"
7155 > need_locks=$enable_libtool_lock
7156 >
7157 > if test -n "$ac_tool_prefix"; then
7158 >  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7159 > set dummy ${ac_tool_prefix}mt; ac_word=$2
7160 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 > $as_echo_n "checking for $ac_word... " >&6; }
7162 > if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7163 >  $as_echo_n "(cached) " >&6
7164 > else
7165 >  if test -n "$MANIFEST_TOOL"; then
7166 >  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7167 > else
7168 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 > for as_dir in $PATH
7170 > do
7171 >  IFS=$as_save_IFS
7172 >  test -z "$as_dir" && as_dir=.
7173 >    for ac_exec_ext in '' $ac_executable_extensions; do
7174 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7175 >    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7176 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 >    break 2
7178 >  fi
7179 > done
7180 >  done
7181 > IFS=$as_save_IFS
7182 >
7183 > fi
7184 > fi
7185 > MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7186 > if test -n "$MANIFEST_TOOL"; then
7187 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7188 > $as_echo "$MANIFEST_TOOL" >&6; }
7189 > else
7190 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 > $as_echo "no" >&6; }
7192 > fi
7193 >
7194 >
7195 > fi
7196 > if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7197 >  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7198 >  # Extract the first word of "mt", so it can be a program name with args.
7199 > set dummy mt; ac_word=$2
7200 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201 > $as_echo_n "checking for $ac_word... " >&6; }
7202 > if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7203 >  $as_echo_n "(cached) " >&6
7204 > else
7205 >  if test -n "$ac_ct_MANIFEST_TOOL"; then
7206 >  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7207 > else
7208 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 > for as_dir in $PATH
7210 > do
7211 >  IFS=$as_save_IFS
7212 >  test -z "$as_dir" && as_dir=.
7213 >    for ac_exec_ext in '' $ac_executable_extensions; do
7214 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7215 >    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7216 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7217 >    break 2
7218 >  fi
7219 > done
7220 >  done
7221 > IFS=$as_save_IFS
7222 >
7223 > fi
7224 > fi
7225 > ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7226 > if test -n "$ac_ct_MANIFEST_TOOL"; then
7227 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7228 > $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7229 > else
7230 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 > $as_echo "no" >&6; }
7232 > fi
7233 >
7234 >  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7235 >    MANIFEST_TOOL=":"
7236 >  else
7237 >    case $cross_compiling:$ac_tool_warned in
7238 > yes:)
7239 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7240 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7241 > ac_tool_warned=yes ;;
7242 > esac
7243 >    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7244 >  fi
7245 > else
7246 >  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7247 > fi
7248 >
7249 > test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7250 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7251 > $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7252 > if ${lt_cv_path_mainfest_tool+:} false; then :
7253 >  $as_echo_n "(cached) " >&6
7254 > else
7255 >  lt_cv_path_mainfest_tool=no
7256 >  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7257 >  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7258 >  cat conftest.err >&5
7259 >  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7260 >    lt_cv_path_mainfest_tool=yes
7261 >  fi
7262 >  rm -f conftest*
7263 > fi
7264 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7265 > $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7266 > if test yes != "$lt_cv_path_mainfest_tool"; then
7267 >  MANIFEST_TOOL=:
7268 > fi
7269 >
7270 >
7271 >
7272 >
7273  
7274  
7275    case $host_os in
# Line 6537 | Line 7279 | need_locks="$enable_libtool_lock"
7279   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281   $as_echo_n "checking for $ac_word... " >&6; }
7282 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7282 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7283    $as_echo_n "(cached) " >&6
7284   else
7285    if test -n "$DSYMUTIL"; then
# Line 6549 | Line 7291 | do
7291    IFS=$as_save_IFS
7292    test -z "$as_dir" && as_dir=.
7293      for ac_exec_ext in '' $ac_executable_extensions; do
7294 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7294 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7295      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7296      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297      break 2
# Line 6577 | Line 7319 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7319   set dummy dsymutil; ac_word=$2
7320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321   $as_echo_n "checking for $ac_word... " >&6; }
7322 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7322 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7323    $as_echo_n "(cached) " >&6
7324   else
7325    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6589 | Line 7331 | do
7331    IFS=$as_save_IFS
7332    test -z "$as_dir" && as_dir=.
7333      for ac_exec_ext in '' $ac_executable_extensions; do
7334 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7334 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7335      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7336      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7337      break 2
# Line 6629 | Line 7371 | fi
7371   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373   $as_echo_n "checking for $ac_word... " >&6; }
7374 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7374 > if ${ac_cv_prog_NMEDIT+:} false; then :
7375    $as_echo_n "(cached) " >&6
7376   else
7377    if test -n "$NMEDIT"; then
# Line 6641 | Line 7383 | do
7383    IFS=$as_save_IFS
7384    test -z "$as_dir" && as_dir=.
7385      for ac_exec_ext in '' $ac_executable_extensions; do
7386 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7387      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7388      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389      break 2
# Line 6669 | Line 7411 | if test -z "$ac_cv_prog_NMEDIT"; then
7411   set dummy nmedit; ac_word=$2
7412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413   $as_echo_n "checking for $ac_word... " >&6; }
7414 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7414 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7415    $as_echo_n "(cached) " >&6
7416   else
7417    if test -n "$ac_ct_NMEDIT"; then
# Line 6681 | Line 7423 | do
7423    IFS=$as_save_IFS
7424    test -z "$as_dir" && as_dir=.
7425      for ac_exec_ext in '' $ac_executable_extensions; do
7426 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7427      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7428      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7429      break 2
# Line 6721 | Line 7463 | fi
7463   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465   $as_echo_n "checking for $ac_word... " >&6; }
7466 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7466 > if ${ac_cv_prog_LIPO+:} false; then :
7467    $as_echo_n "(cached) " >&6
7468   else
7469    if test -n "$LIPO"; then
# Line 6733 | Line 7475 | do
7475    IFS=$as_save_IFS
7476    test -z "$as_dir" && as_dir=.
7477      for ac_exec_ext in '' $ac_executable_extensions; do
7478 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7478 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7479      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7480      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481      break 2
# Line 6761 | Line 7503 | if test -z "$ac_cv_prog_LIPO"; then
7503   set dummy lipo; ac_word=$2
7504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7505   $as_echo_n "checking for $ac_word... " >&6; }
7506 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7506 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7507    $as_echo_n "(cached) " >&6
7508   else
7509    if test -n "$ac_ct_LIPO"; then
# Line 6773 | Line 7515 | do
7515    IFS=$as_save_IFS
7516    test -z "$as_dir" && as_dir=.
7517      for ac_exec_ext in '' $ac_executable_extensions; do
7518 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7518 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7519      ac_cv_prog_ac_ct_LIPO="lipo"
7520      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7521      break 2
# Line 6813 | Line 7555 | fi
7555   set dummy ${ac_tool_prefix}otool; ac_word=$2
7556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557   $as_echo_n "checking for $ac_word... " >&6; }
7558 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7558 > if ${ac_cv_prog_OTOOL+:} false; then :
7559    $as_echo_n "(cached) " >&6
7560   else
7561    if test -n "$OTOOL"; then
# Line 6825 | Line 7567 | do
7567    IFS=$as_save_IFS
7568    test -z "$as_dir" && as_dir=.
7569      for ac_exec_ext in '' $ac_executable_extensions; do
7570 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7570 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7571      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7572      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573      break 2
# Line 6853 | Line 7595 | if test -z "$ac_cv_prog_OTOOL"; then
7595   set dummy otool; ac_word=$2
7596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597   $as_echo_n "checking for $ac_word... " >&6; }
7598 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7598 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7599    $as_echo_n "(cached) " >&6
7600   else
7601    if test -n "$ac_ct_OTOOL"; then
# Line 6865 | Line 7607 | do
7607    IFS=$as_save_IFS
7608    test -z "$as_dir" && as_dir=.
7609      for ac_exec_ext in '' $ac_executable_extensions; do
7610 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7611      ac_cv_prog_ac_ct_OTOOL="otool"
7612      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613      break 2
# Line 6905 | Line 7647 | fi
7647   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7649   $as_echo_n "checking for $ac_word... " >&6; }
7650 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7650 > if ${ac_cv_prog_OTOOL64+:} false; then :
7651    $as_echo_n "(cached) " >&6
7652   else
7653    if test -n "$OTOOL64"; then
# Line 6917 | Line 7659 | do
7659    IFS=$as_save_IFS
7660    test -z "$as_dir" && as_dir=.
7661      for ac_exec_ext in '' $ac_executable_extensions; do
7662 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7662 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7663      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7664      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665      break 2
# Line 6945 | Line 7687 | if test -z "$ac_cv_prog_OTOOL64"; then
7687   set dummy otool64; ac_word=$2
7688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689   $as_echo_n "checking for $ac_word... " >&6; }
7690 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7690 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7691    $as_echo_n "(cached) " >&6
7692   else
7693    if test -n "$ac_ct_OTOOL64"; then
# Line 6957 | Line 7699 | do
7699    IFS=$as_save_IFS
7700    test -z "$as_dir" && as_dir=.
7701      for ac_exec_ext in '' $ac_executable_extensions; do
7702 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7702 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7703      ac_cv_prog_ac_ct_OTOOL64="otool64"
7704      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7705      break 2
# Line 7020 | Line 7762 | fi
7762  
7763      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7764   $as_echo_n "checking for -single_module linker flag... " >&6; }
7765 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7765 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7766    $as_echo_n "(cached) " >&6
7767   else
7768    lt_cv_apple_cc_single_mod=no
7769 <      if test -z "${LT_MULTI_MODULE}"; then
7769 >      if test -z "$LT_MULTI_MODULE"; then
7770          # By default we will add the -single_module flag. You can override
7771          # by either setting the environment variable LT_MULTI_MODULE
7772          # non-empty at configure time, or by adding -multi_module to the
# Line 7036 | Line 7778 | else
7778          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7779            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7780          _lt_result=$?
7781 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7781 >        # If there is a non-empty error log, and "single_module"
7782 >        # appears in it, assume the flag caused a linker warning
7783 >        if test -s conftest.err && $GREP single_module conftest.err; then
7784 >          cat conftest.err >&5
7785 >        # Otherwise, if the output was created with a 0 exit code from
7786 >        # the compiler, it worked.
7787 >        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7788            lt_cv_apple_cc_single_mod=yes
7789          else
7790            cat conftest.err >&5
# Line 7047 | Line 7795 | else
7795   fi
7796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7797   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7798 +
7799      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7800   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7801 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7801 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7802    $as_echo_n "(cached) " >&6
7803   else
7804    lt_cv_ld_exported_symbols_list=no
# Line 7074 | Line 7823 | else
7823   fi
7824   rm -f core conftest.err conftest.$ac_objext \
7825      conftest$ac_exeext conftest.$ac_ext
7826 <        LDFLAGS="$save_LDFLAGS"
7826 >        LDFLAGS=$save_LDFLAGS
7827  
7828   fi
7829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7830   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7831 +
7832 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7833 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7834 + if ${lt_cv_ld_force_load+:} false; then :
7835 +  $as_echo_n "(cached) " >&6
7836 + else
7837 +  lt_cv_ld_force_load=no
7838 +      cat > conftest.c << _LT_EOF
7839 + int forced_loaded() { return 2;}
7840 + _LT_EOF
7841 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7842 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7843 +      echo "$AR cru libconftest.a conftest.o" >&5
7844 +      $AR cru libconftest.a conftest.o 2>&5
7845 +      echo "$RANLIB libconftest.a" >&5
7846 +      $RANLIB libconftest.a 2>&5
7847 +      cat > conftest.c << _LT_EOF
7848 + int main() { return 0;}
7849 + _LT_EOF
7850 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7851 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7852 +      _lt_result=$?
7853 +      if test -s conftest.err && $GREP force_load conftest.err; then
7854 +        cat conftest.err >&5
7855 +      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7856 +        lt_cv_ld_force_load=yes
7857 +      else
7858 +        cat conftest.err >&5
7859 +      fi
7860 +        rm -f conftest.err libconftest.a conftest conftest.c
7861 +        rm -rf conftest.dSYM
7862 +
7863 + fi
7864 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7865 + $as_echo "$lt_cv_ld_force_load" >&6; }
7866      case $host_os in
7867      rhapsody* | darwin1.[012])
7868 <      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7868 >      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7869      darwin1.*)
7870 <      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7870 >      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7871      darwin*) # darwin 5.x on
7872        # if running on 10.5 or later, the deployment target defaults
7873        # to the OS version, if on x86, and 10.4, the deployment
7874        # target defaults to 10.4. Don't you love it?
7875        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7876          10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7877 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7878 <        10.[012]*)
7879 <          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7877 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7878 >        10.[012][,.]*)
7879 >          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7880          10.*)
7881 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7881 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7882        esac
7883      ;;
7884    esac
7885 <    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7885 >    if test yes = "$lt_cv_apple_cc_single_mod"; then
7886        _lt_dar_single_mod='$single_module'
7887      fi
7888 <    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7889 <      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7888 >    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7889 >      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7890      else
7891 <      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7891 >      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7892      fi
7893 <    if test "$DSYMUTIL" != ":"; then
7893 >    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7894        _lt_dsymutil='~$DSYMUTIL $lib || :'
7895      else
7896        _lt_dsymutil=
# Line 7126 | Line 7910 | if test -n "$CPP" && test -d "$CPP"; the
7910    CPP=
7911   fi
7912   if test -z "$CPP"; then
7913 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7913 >  if ${ac_cv_prog_CPP+:} false; then :
7914    $as_echo_n "(cached) " >&6
7915   else
7916        # Double quotes because CPP needs to be expanded
# Line 7156 | Line 7940 | else
7940    # Broken: fails on valid input.
7941   continue
7942   fi
7943 < rm -f conftest.err conftest.$ac_ext
7943 > rm -f conftest.err conftest.i conftest.$ac_ext
7944  
7945    # OK, works on sane cases.  Now check whether nonexistent headers
7946    # can be detected and how.
# Line 7172 | Line 7956 | else
7956   ac_preproc_ok=:
7957   break
7958   fi
7959 < rm -f conftest.err conftest.$ac_ext
7959 > rm -f conftest.err conftest.i conftest.$ac_ext
7960  
7961   done
7962   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7963 < rm -f conftest.err conftest.$ac_ext
7963 > rm -f conftest.i conftest.err conftest.$ac_ext
7964   if $ac_preproc_ok; then :
7965    break
7966   fi
# Line 7215 | Line 7999 | else
7999    # Broken: fails on valid input.
8000   continue
8001   fi
8002 < rm -f conftest.err conftest.$ac_ext
8002 > rm -f conftest.err conftest.i conftest.$ac_ext
8003  
8004    # OK, works on sane cases.  Now check whether nonexistent headers
8005    # can be detected and how.
# Line 7231 | Line 8015 | else
8015   ac_preproc_ok=:
8016   break
8017   fi
8018 < rm -f conftest.err conftest.$ac_ext
8018 > rm -f conftest.err conftest.i conftest.$ac_ext
8019  
8020   done
8021   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8022 < rm -f conftest.err conftest.$ac_ext
8022 > rm -f conftest.i conftest.err conftest.$ac_ext
8023   if $ac_preproc_ok; then :
8024  
8025   else
8026    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8027   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8028 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
8029 < See \`config.log' for more details." "$LINENO" 5; }
8028 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8029 > See \`config.log' for more details" "$LINENO" 5; }
8030   fi
8031  
8032   ac_ext=c
# Line 7254 | Line 8038 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8038  
8039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8040   $as_echo_n "checking for ANSI C header files... " >&6; }
8041 < if test "${ac_cv_header_stdc+set}" = set; then :
8041 > if ${ac_cv_header_stdc+:} false; then :
8042    $as_echo_n "(cached) " >&6
8043   else
8044    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7371 | Line 8155 | do :
8155    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8156   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8157   "
8158 < eval as_val=\$$as_ac_Header
7375 <   if test "x$as_val" = x""yes; then :
8158 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8159    cat >>confdefs.h <<_ACEOF
8160   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8161   _ACEOF
# Line 7386 | Line 8169 | for ac_header in dlfcn.h
8169   do :
8170    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8171   "
8172 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8172 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8173    cat >>confdefs.h <<_ACEOF
8174   #define HAVE_DLFCN_H 1
8175   _ACEOF
# Line 7397 | Line 8180 | done
8180  
8181  
8182  
8183 +
8184 +
8185   # Set options
8186   enable_dlopen=yes
8187   # Check whether --enable-static was given.
# Line 7408 | Line 8193 | if test "${enable_static+set}" = set; th
8193      *)
8194       enable_static=no
8195        # Look at the argument we got.  We use all the common list separators.
8196 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8196 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8197        for pkg in $enableval; do
8198 <        IFS="$lt_save_ifs"
8198 >        IFS=$lt_save_ifs
8199          if test "X$pkg" = "X$p"; then
8200            enable_static=yes
8201          fi
8202        done
8203 <      IFS="$lt_save_ifs"
8203 >      IFS=$lt_save_ifs
8204        ;;
8205      esac
8206   else
# Line 7444 | Line 8229 | if test "${enable_shared+set}" = set; th
8229      *)
8230        enable_shared=no
8231        # Look at the argument we got.  We use all the common list separators.
8232 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8232 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8233        for pkg in $enableval; do
8234 <        IFS="$lt_save_ifs"
8234 >        IFS=$lt_save_ifs
8235          if test "X$pkg" = "X$p"; then
8236            enable_shared=yes
8237          fi
8238        done
8239 <      IFS="$lt_save_ifs"
8239 >      IFS=$lt_save_ifs
8240        ;;
8241      esac
8242   else
# Line 7470 | Line 8255 | fi
8255  
8256   # Check whether --with-pic was given.
8257   if test "${with_pic+set}" = set; then :
8258 <  withval=$with_pic; pic_mode="$withval"
8258 >  withval=$with_pic; lt_p=${PACKAGE-default}
8259 >    case $withval in
8260 >    yes|no) pic_mode=$withval ;;
8261 >    *)
8262 >      pic_mode=default
8263 >      # Look at the argument we got.  We use all the common list separators.
8264 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8265 >      for lt_pkg in $withval; do
8266 >        IFS=$lt_save_ifs
8267 >        if test "X$lt_pkg" = "X$lt_p"; then
8268 >          pic_mode=yes
8269 >        fi
8270 >      done
8271 >      IFS=$lt_save_ifs
8272 >      ;;
8273 >    esac
8274   else
8275    pic_mode=default
8276   fi
8277  
8278  
7479 – test -z "$pic_mode" && pic_mode=default
7480 –
8279  
8280  
8281  
# Line 7493 | Line 8291 | if test "${enable_fast_install+set}" = s
8291      *)
8292        enable_fast_install=no
8293        # Look at the argument we got.  We use all the common list separators.
8294 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8294 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8295        for pkg in $enableval; do
8296 <        IFS="$lt_save_ifs"
8296 >        IFS=$lt_save_ifs
8297          if test "X$pkg" = "X$p"; then
8298            enable_fast_install=yes
8299          fi
8300        done
8301 <      IFS="$lt_save_ifs"
8301 >      IFS=$lt_save_ifs
8302        ;;
8303      esac
8304   else
# Line 7518 | Line 8316 | fi
8316  
8317  
8318   # This can be used to rebuild libtool when needed
8319 < LIBTOOL_DEPS="$ltmain"
8319 > LIBTOOL_DEPS=$ltmain
8320  
8321   # Always use our own libtool.
8322   LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Line 7547 | Line 8345 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8345  
8346  
8347  
8348 +
8349 +
8350 +
8351 +
8352 +
8353   test -z "$LN_S" && LN_S="ln -s"
8354  
8355  
# Line 7562 | Line 8365 | test -z "$LN_S" && LN_S="ln -s"
8365  
8366  
8367  
8368 < if test -n "${ZSH_VERSION+set}" ; then
8368 > if test -n "${ZSH_VERSION+set}"; then
8369     setopt NO_GLOB_SUBST
8370   fi
8371  
8372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8373   $as_echo_n "checking for objdir... " >&6; }
8374 < if test "${lt_cv_objdir+set}" = set; then :
8374 > if ${lt_cv_objdir+:} false; then :
8375    $as_echo_n "(cached) " >&6
8376   else
8377    rm -f .libs 2>/dev/null
# Line 7596 | Line 8399 | _ACEOF
8399  
8400  
8401  
7599 –
7600 –
7601 –
7602 –
7603 –
7604 –
7605 –
7606 –
7607 –
7608 –
7609 –
7610 –
7611 –
8402   case $host_os in
8403   aix3*)
8404    # AIX sometimes has problems with the GCC collect2 program.  For some
8405    # reason, if we set the COLLECT_NAMES environment variable, the problems
8406    # vanish in a puff of smoke.
8407 <  if test "X${COLLECT_NAMES+set}" != Xset; then
8407 >  if test set != "${COLLECT_NAMES+set}"; then
8408      COLLECT_NAMES=
8409      export COLLECT_NAMES
8410    fi
8411    ;;
8412   esac
8413  
7624 – # Sed substitution that helps us do robust quoting.  It backslashifies
7625 – # metacharacters that are still active within double-quoted strings.
7626 – sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7627 –
7628 – # Same as above, but do not quote variable references.
7629 – double_quote_subst='s/\(["`\\]\)/\\\1/g'
7630 –
7631 – # Sed substitution to delay expansion of an escaped shell variable in a
7632 – # double_quote_subst'ed string.
7633 – delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7634 –
7635 – # Sed substitution to delay expansion of an escaped single quote.
7636 – delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7637 –
7638 – # Sed substitution to avoid accidental globbing in evaled expressions
7639 – no_glob_subst='s/\*/\\\*/g'
7640 –
8414   # Global variables:
8415   ofile=libtool
8416   can_build_shared=yes
8417  
8418 < # All known linkers require a `.a' archive for static linking (except MSVC,
8418 > # All known linkers require a '.a' archive for static linking (except MSVC,
8419   # which needs '.lib').
8420   libext=a
8421  
8422 < with_gnu_ld="$lt_cv_prog_gnu_ld"
8422 > with_gnu_ld=$lt_cv_prog_gnu_ld
8423  
8424 < old_CC="$CC"
8425 < old_CFLAGS="$CFLAGS"
8424 > old_CC=$CC
8425 > old_CFLAGS=$CFLAGS
8426  
8427   # Set sane defaults for various variables
8428   test -z "$CC" && CC=cc
# Line 7666 | Line 8439 | for cc_temp in $compiler""; do
8439      *) break;;
8440    esac
8441   done
8442 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8442 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8443  
8444  
8445   # Only perform the check for file, if the check method requires it
# Line 7676 | Line 8449 | file_magic*)
8449    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8450      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8451   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8452 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8452 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8453    $as_echo_n "(cached) " >&6
8454   else
8455    case $MAGIC_CMD in
8456   [\\/*] |  ?:[\\/]*)
8457 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8457 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8458    ;;
8459   *)
8460 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8461 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8460 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8461 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8462    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8463    for ac_dir in $ac_dummy; do
8464 <    IFS="$lt_save_ifs"
8464 >    IFS=$lt_save_ifs
8465      test -z "$ac_dir" && ac_dir=.
8466 <    if test -f $ac_dir/${ac_tool_prefix}file; then
8467 <      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8466 >    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8467 >      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8468        if test -n "$file_magic_test_file"; then
8469          case $deplibs_check_method in
8470          "file_magic "*)
8471            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8472 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8472 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8473            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8474              $EGREP "$file_magic_regex" > /dev/null; then
8475              :
# Line 7719 | Line 8492 | _LT_EOF
8492        break
8493      fi
8494    done
8495 <  IFS="$lt_save_ifs"
8496 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8495 >  IFS=$lt_save_ifs
8496 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8497    ;;
8498   esac
8499   fi
8500  
8501 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8501 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8502   if test -n "$MAGIC_CMD"; then
8503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8504   $as_echo "$MAGIC_CMD" >&6; }
# Line 7742 | Line 8515 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8515    if test -n "$ac_tool_prefix"; then
8516      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8517   $as_echo_n "checking for file... " >&6; }
8518 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8518 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8519    $as_echo_n "(cached) " >&6
8520   else
8521    case $MAGIC_CMD in
8522   [\\/*] |  ?:[\\/]*)
8523 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8523 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8524    ;;
8525   *)
8526 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8527 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8526 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8527 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8528    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8529    for ac_dir in $ac_dummy; do
8530 <    IFS="$lt_save_ifs"
8530 >    IFS=$lt_save_ifs
8531      test -z "$ac_dir" && ac_dir=.
8532 <    if test -f $ac_dir/file; then
8533 <      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8532 >    if test -f "$ac_dir/file"; then
8533 >      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8534        if test -n "$file_magic_test_file"; then
8535          case $deplibs_check_method in
8536          "file_magic "*)
8537            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8538 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8538 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8539            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8540              $EGREP "$file_magic_regex" > /dev/null; then
8541              :
# Line 7785 | Line 8558 | _LT_EOF
8558        break
8559      fi
8560    done
8561 <  IFS="$lt_save_ifs"
8562 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8561 >  IFS=$lt_save_ifs
8562 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8563    ;;
8564   esac
8565   fi
8566  
8567 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8567 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8568   if test -n "$MAGIC_CMD"; then
8569    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8570   $as_echo "$MAGIC_CMD" >&6; }
# Line 7812 | Line 8585 | esac
8585  
8586   # Use C for the default configuration in the libtool script
8587  
8588 < lt_save_CC="$CC"
8588 > lt_save_CC=$CC
8589   ac_ext=c
8590   ac_cpp='$CPP $CPPFLAGS'
8591   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7866 | Line 8639 | _lt_linker_boilerplate=`cat conftest.err
8639   $RM -r conftest*
8640  
8641  
8642 + ## CAVEAT EMPTOR:
8643 + ## There is no encapsulation within the following macros, do not change
8644 + ## the running order or otherwise move them around unless you know exactly
8645 + ## what you are doing...
8646   if test -n "$compiler"; then
8647  
8648   lt_prog_compiler_no_builtin_flag=
8649  
8650 < if test "$GCC" = yes; then
8651 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8650 > if test yes = "$GCC"; then
8651 >  case $cc_basename in
8652 >  nvcc*)
8653 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8654 >  *)
8655 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8656 >  esac
8657  
8658    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8659   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8660 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8660 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8661    $as_echo_n "(cached) " >&6
8662   else
8663    lt_cv_prog_compiler_rtti_exceptions=no
8664     ac_outfile=conftest.$ac_objext
8665     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8666 <   lt_compiler_flag="-fno-rtti -fno-exceptions"
8666 >   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8667     # Insert the option either (1) after the last *FLAGS variable, or
8668     # (2) before a word containing "conftest.", or (3) at the end.
8669     # Note that $ac_compile itself does not contain backslashes and begins
# Line 7891 | Line 8673 | else
8673     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8674     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8675     -e 's:$: $lt_compiler_flag:'`
8676 <   (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
8676 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8677     (eval "$lt_compile" 2>conftest.err)
8678     ac_status=$?
8679     cat conftest.err >&5
8680 <   echo "$as_me:7898: \$? = $ac_status" >&5
8680 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681     if (exit $ac_status) && test -s "$ac_outfile"; then
8682       # The compiler can only warn and ignore the option if not recognized
8683       # So say no if there are warnings other than the usual output.
8684 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8684 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8685       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8686       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8687         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7911 | Line 8693 | fi
8693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8694   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8695  
8696 < if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8696 > if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8697      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8698   else
8699      :
# Line 7928 | Line 8710 | fi
8710   lt_prog_compiler_pic=
8711   lt_prog_compiler_static=
8712  
7931 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7932 – $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8713  
8714 <  if test "$GCC" = yes; then
8714 >  if test yes = "$GCC"; then
8715      lt_prog_compiler_wl='-Wl,'
8716      lt_prog_compiler_static='-static'
8717  
8718      case $host_os in
8719        aix*)
8720        # All AIX code is PIC.
8721 <      if test "$host_cpu" = ia64; then
8721 >      if test ia64 = "$host_cpu"; then
8722          # AIX 5 now supports IA64 processor
8723          lt_prog_compiler_static='-Bstatic'
8724        fi
8725 +      lt_prog_compiler_pic='-fPIC'
8726        ;;
8727  
8728      amigaos*)
# Line 7952 | Line 8733 | $as_echo_n "checking for $compiler optio
8733          ;;
8734        m68k)
8735              # FIXME: we need at least 68020 code to build shared libraries, but
8736 <            # adding the `-m68020' flag to GCC prevents building anything better,
8737 <            # like `-m68040'.
8736 >            # adding the '-m68020' flag to GCC prevents building anything better,
8737 >            # like '-m68040'.
8738              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8739          ;;
8740        esac
# Line 7977 | Line 8758 | $as_echo_n "checking for $compiler optio
8758        lt_prog_compiler_pic='-fno-common'
8759        ;;
8760  
8761 +    haiku*)
8762 +      # PIC is the default for Haiku.
8763 +      # The "-static" flag exists, but is broken.
8764 +      lt_prog_compiler_static=
8765 +      ;;
8766 +
8767      hpux*)
8768        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8769        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8019 | Line 8806 | $as_echo_n "checking for $compiler optio
8806        lt_prog_compiler_pic='-fPIC'
8807        ;;
8808      esac
8809 +
8810 +    case $cc_basename in
8811 +    nvcc*) # Cuda Compiler Driver 2.2
8812 +      lt_prog_compiler_wl='-Xlinker '
8813 +      if test -n "$lt_prog_compiler_pic"; then
8814 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8815 +      fi
8816 +      ;;
8817 +    esac
8818    else
8819      # PORTME Check for flag to pass linker flags through the system compiler.
8820      case $host_os in
8821      aix*)
8822        lt_prog_compiler_wl='-Wl,'
8823 <      if test "$host_cpu" = ia64; then
8823 >      if test ia64 = "$host_cpu"; then
8824          # AIX 5 now supports IA64 processor
8825          lt_prog_compiler_static='-Bstatic'
8826        else
# Line 8032 | Line 8828 | $as_echo_n "checking for $compiler optio
8828        fi
8829        ;;
8830  
8831 +    darwin* | rhapsody*)
8832 +      # PIC is the default on this platform
8833 +      # Common symbols not allowed in MH_DYLIB files
8834 +      lt_prog_compiler_pic='-fno-common'
8835 +      case $cc_basename in
8836 +      nagfor*)
8837 +        # NAG Fortran compiler
8838 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8839 +        lt_prog_compiler_pic='-PIC'
8840 +        lt_prog_compiler_static='-Bstatic'
8841 +        ;;
8842 +      esac
8843 +      ;;
8844 +
8845      mingw* | cygwin* | pw32* | os2* | cegcc*)
8846        # This hack is so that the source file can tell whether it is being
8847        # built for inclusion in a dll (and should export symbols for example).
# Line 8051 | Line 8861 | $as_echo_n "checking for $compiler optio
8861          ;;
8862        esac
8863        # Is there a better lt_prog_compiler_static that works with the bundled CC?
8864 <      lt_prog_compiler_static='${wl}-a ${wl}archive'
8864 >      lt_prog_compiler_static='$wl-a ${wl}archive'
8865        ;;
8866  
8867      irix5* | irix6* | nonstopux*)
# Line 8060 | Line 8870 | $as_echo_n "checking for $compiler optio
8870        lt_prog_compiler_static='-non_shared'
8871        ;;
8872  
8873 <    linux* | k*bsd*-gnu)
8873 >    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8874        case $cc_basename in
8875 <      # old Intel for x86_64 which still supported -KPIC.
8875 >      # old Intel for x86_64, which still supported -KPIC.
8876        ecc*)
8877          lt_prog_compiler_wl='-Wl,'
8878          lt_prog_compiler_pic='-KPIC'
# Line 8081 | Line 8891 | $as_echo_n "checking for $compiler optio
8891          lt_prog_compiler_pic='--shared'
8892          lt_prog_compiler_static='--static'
8893          ;;
8894 <      pgcc* | pgf77* | pgf90* | pgf95*)
8894 >      nagfor*)
8895 >        # NAG Fortran compiler
8896 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8897 >        lt_prog_compiler_pic='-PIC'
8898 >        lt_prog_compiler_static='-Bstatic'
8899 >        ;;
8900 >      tcc*)
8901 >        # Fabrice Bellard et al's Tiny C Compiler
8902 >        lt_prog_compiler_wl='-Wl,'
8903 >        lt_prog_compiler_pic='-fPIC'
8904 >        lt_prog_compiler_static='-static'
8905 >        ;;
8906 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8907          # Portland Group compilers (*not* the Pentium gcc compiler,
8908          # which looks to be a dead project)
8909          lt_prog_compiler_wl='-Wl,'
# Line 8093 | Line 8915 | $as_echo_n "checking for $compiler optio
8915          # All Alpha code is PIC.
8916          lt_prog_compiler_static='-non_shared'
8917          ;;
8918 <      xl*)
8919 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8918 >      xl* | bgxl* | bgf* | mpixl*)
8919 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8920          lt_prog_compiler_wl='-Wl,'
8921          lt_prog_compiler_pic='-qpic'
8922          lt_prog_compiler_static='-qstaticlink'
8923          ;;
8924        *)
8925          case `$CC -V 2>&1 | sed 5q` in
8926 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8927 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8928 +          lt_prog_compiler_pic='-KPIC'
8929 +          lt_prog_compiler_static='-Bstatic'
8930 +          lt_prog_compiler_wl=''
8931 +          ;;
8932 +        *Sun\ F* | *Sun*Fortran*)
8933 +          lt_prog_compiler_pic='-KPIC'
8934 +          lt_prog_compiler_static='-Bstatic'
8935 +          lt_prog_compiler_wl='-Qoption ld '
8936 +          ;;
8937          *Sun\ C*)
8938            # Sun C 5.9
8939            lt_prog_compiler_pic='-KPIC'
8940            lt_prog_compiler_static='-Bstatic'
8941            lt_prog_compiler_wl='-Wl,'
8942            ;;
8943 <        *Sun\ F*)
8944 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8945 <          lt_prog_compiler_pic='-KPIC'
8943 >        *Intel*\ [CF]*Compiler*)
8944 >          lt_prog_compiler_wl='-Wl,'
8945 >          lt_prog_compiler_pic='-fPIC'
8946 >          lt_prog_compiler_static='-static'
8947 >          ;;
8948 >        *Portland\ Group*)
8949 >          lt_prog_compiler_wl='-Wl,'
8950 >          lt_prog_compiler_pic='-fpic'
8951            lt_prog_compiler_static='-Bstatic'
8114 –          lt_prog_compiler_wl=''
8952            ;;
8953          esac
8954          ;;
# Line 8143 | Line 8980 | $as_echo_n "checking for $compiler optio
8980        lt_prog_compiler_pic='-KPIC'
8981        lt_prog_compiler_static='-Bstatic'
8982        case $cc_basename in
8983 <      f77* | f90* | f95*)
8983 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8984          lt_prog_compiler_wl='-Qoption ld ';;
8985        *)
8986          lt_prog_compiler_wl='-Wl,';;
# Line 8163 | Line 9000 | $as_echo_n "checking for $compiler optio
9000        ;;
9001  
9002      sysv4*MP*)
9003 <      if test -d /usr/nec ;then
9003 >      if test -d /usr/nec; then
9004          lt_prog_compiler_pic='-Kconform_pic'
9005          lt_prog_compiler_static='-Bstatic'
9006        fi
# Line 8192 | Line 9029 | $as_echo_n "checking for $compiler optio
9029    fi
9030  
9031   case $host_os in
9032 <  # For platforms which do not support PIC, -DPIC is meaningless:
9032 >  # For platforms that do not support PIC, -DPIC is meaningless:
9033    *djgpp*)
9034      lt_prog_compiler_pic=
9035      ;;
# Line 8200 | Line 9037 | case $host_os in
9037      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9038      ;;
9039   esac
8203 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8204 – $as_echo "$lt_prog_compiler_pic" >&6; }
8205 –
8206 –
8207 –
8208 –
9040  
9041 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9042 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9043 + if ${lt_cv_prog_compiler_pic+:} false; then :
9044 +  $as_echo_n "(cached) " >&6
9045 + else
9046 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9047 + fi
9048 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9049 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9050 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9051  
9052   #
9053   # Check to make sure the PIC flag actually works.
# Line 8214 | Line 9055 | $as_echo "$lt_prog_compiler_pic" >&6; }
9055   if test -n "$lt_prog_compiler_pic"; then
9056    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9057   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9058 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9058 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
9059    $as_echo_n "(cached) " >&6
9060   else
9061    lt_cv_prog_compiler_pic_works=no
9062     ac_outfile=conftest.$ac_objext
9063     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9064 <   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9064 >   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9065     # Insert the option either (1) after the last *FLAGS variable, or
9066     # (2) before a word containing "conftest.", or (3) at the end.
9067     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8230 | Line 9071 | else
9071     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9072     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9073     -e 's:$: $lt_compiler_flag:'`
9074 <   (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
9074 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9075     (eval "$lt_compile" 2>conftest.err)
9076     ac_status=$?
9077     cat conftest.err >&5
9078 <   echo "$as_me:8237: \$? = $ac_status" >&5
9078 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079     if (exit $ac_status) && test -s "$ac_outfile"; then
9080       # The compiler can only warn and ignore the option if not recognized
9081       # So say no if there are warnings other than the usual output.
9082 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9082 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9083       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9084       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9085         lt_cv_prog_compiler_pic_works=yes
# Line 8250 | Line 9091 | fi
9091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9092   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9093  
9094 < if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9094 > if test yes = "$lt_cv_prog_compiler_pic_works"; then
9095      case $lt_prog_compiler_pic in
9096       "" | " "*) ;;
9097       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
# Line 8267 | Line 9108 | fi
9108  
9109  
9110  
9111 +
9112 +
9113 +
9114 +
9115 +
9116   #
9117   # Check to make sure the static flag actually works.
9118   #
9119   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9121   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9122 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9122 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9123    $as_echo_n "(cached) " >&6
9124   else
9125    lt_cv_prog_compiler_static_works=no
9126 <   save_LDFLAGS="$LDFLAGS"
9126 >   save_LDFLAGS=$LDFLAGS
9127     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9128     echo "$lt_simple_link_test_code" > conftest.$ac_ext
9129     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 8286 | Line 9132 | else
9132       if test -s conftest.err; then
9133         # Append any errors to the config.log.
9134         cat conftest.err 1>&5
9135 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9135 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9136         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9137         if diff conftest.exp conftest.er2 >/dev/null; then
9138           lt_cv_prog_compiler_static_works=yes
# Line 8296 | Line 9142 | else
9142       fi
9143     fi
9144     $RM -r conftest*
9145 <   LDFLAGS="$save_LDFLAGS"
9145 >   LDFLAGS=$save_LDFLAGS
9146  
9147   fi
9148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9149   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9150  
9151 < if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9151 > if test yes = "$lt_cv_prog_compiler_static_works"; then
9152      :
9153   else
9154      lt_prog_compiler_static=
# Line 8316 | Line 9162 | fi
9162  
9163    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9164   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9165 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9165 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9166    $as_echo_n "(cached) " >&6
9167   else
9168    lt_cv_prog_compiler_c_o=no
# Line 8335 | Line 9181 | else
9181     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9182     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9183     -e 's:$: $lt_compiler_flag:'`
9184 <   (eval echo "\"\$as_me:8338: $lt_compile\"" >&5)
9184 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9185     (eval "$lt_compile" 2>out/conftest.err)
9186     ac_status=$?
9187     cat out/conftest.err >&5
9188 <   echo "$as_me:8342: \$? = $ac_status" >&5
9188 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9190     then
9191       # The compiler can only warn and ignore the option if not recognized
9192       # So say no if there are warnings
9193 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9193 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9194       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9195       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9196         lt_cv_prog_compiler_c_o=yes
# Line 8371 | Line 9217 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9217  
9218    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9219   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9220 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9220 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9221    $as_echo_n "(cached) " >&6
9222   else
9223    lt_cv_prog_compiler_c_o=no
# Line 8390 | Line 9236 | else
9236     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9237     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9238     -e 's:$: $lt_compiler_flag:'`
9239 <   (eval echo "\"\$as_me:8393: $lt_compile\"" >&5)
9239 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9240     (eval "$lt_compile" 2>out/conftest.err)
9241     ac_status=$?
9242     cat out/conftest.err >&5
9243 <   echo "$as_me:8397: \$? = $ac_status" >&5
9243 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9245     then
9246       # The compiler can only warn and ignore the option if not recognized
9247       # So say no if there are warnings
9248 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9248 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9249       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9250       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9251         lt_cv_prog_compiler_c_o=yes
# Line 8422 | Line 9268 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9268  
9269  
9270  
9271 < hard_links="nottested"
9272 < if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9271 > hard_links=nottested
9272 > if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9273    # do not overwrite the value of need_locks provided by the user
9274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9275   $as_echo_n "checking if we can lock with hard links... " >&6; }
# Line 8435 | Line 9281 | $as_echo_n "checking if we can lock with
9281    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9282    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9283   $as_echo "$hard_links" >&6; }
9284 <  if test "$hard_links" = no; then
9285 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9286 < $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9284 >  if test no = "$hard_links"; then
9285 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9286 > $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9287      need_locks=warn
9288    fi
9289   else
# Line 8465 | Line 9311 | $as_echo_n "checking whether the $compil
9311    hardcode_direct=no
9312    hardcode_direct_absolute=no
9313    hardcode_libdir_flag_spec=
8468 –  hardcode_libdir_flag_spec_ld=
9314    hardcode_libdir_separator=
9315    hardcode_minus_L=no
9316    hardcode_shlibpath_var=unsupported
# Line 8481 | Line 9326 | $as_echo_n "checking whether the $compil
9326    # included in the symbol list
9327    include_expsyms=
9328    # exclude_expsyms can be an extended regexp of symbols to exclude
9329 <  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9330 <  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9331 <  # as well as any symbol that contains `d'.
9329 >  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9330 >  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9331 >  # as well as any symbol that contains 'd'.
9332    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9333    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9334    # platforms (ab)use it in PIC code, but their linkers get confused if
# Line 8498 | Line 9343 | $as_echo_n "checking whether the $compil
9343      # FIXME: the MSVC++ port hasn't been tested in a loooong time
9344      # When not using gcc, we currently assume that we are using
9345      # Microsoft Visual C++.
9346 <    if test "$GCC" != yes; then
9346 >    if test yes != "$GCC"; then
9347        with_gnu_ld=no
9348      fi
9349      ;;
# Line 8506 | Line 9351 | $as_echo_n "checking whether the $compil
9351      # we just hope/assume this is gcc and not c89 (= MSVC++)
9352      with_gnu_ld=yes
9353      ;;
9354 <  openbsd*)
9354 >  openbsd* | bitrig*)
9355      with_gnu_ld=no
9356      ;;
9357    esac
9358  
9359    ld_shlibs=yes
9360 <  if test "$with_gnu_ld" = yes; then
9360 >
9361 >  # On some targets, GNU ld is compatible enough with the native linker
9362 >  # that we're better off using the native interface for both.
9363 >  lt_use_gnu_ld_interface=no
9364 >  if test yes = "$with_gnu_ld"; then
9365 >    case $host_os in
9366 >      aix*)
9367 >        # The AIX port of GNU ld has always aspired to compatibility
9368 >        # with the native linker.  However, as the warning in the GNU ld
9369 >        # block says, versions before 2.19.5* couldn't really create working
9370 >        # shared libraries, regardless of the interface used.
9371 >        case `$LD -v 2>&1` in
9372 >          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9373 >          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9374 >          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9375 >          *)
9376 >            lt_use_gnu_ld_interface=yes
9377 >            ;;
9378 >        esac
9379 >        ;;
9380 >      *)
9381 >        lt_use_gnu_ld_interface=yes
9382 >        ;;
9383 >    esac
9384 >  fi
9385 >
9386 >  if test yes = "$lt_use_gnu_ld_interface"; then
9387      # If archive_cmds runs LD, not CC, wlarc should be empty
9388 <    wlarc='${wl}'
9388 >    wlarc='$wl'
9389  
9390      # Set some defaults for GNU ld with shared library support. These
9391      # are reset later if shared libraries are not supported. Putting them
9392      # here allows them to be overridden if necessary.
9393      runpath_var=LD_RUN_PATH
9394 <    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9395 <    export_dynamic_flag_spec='${wl}--export-dynamic'
9394 >    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9395 >    export_dynamic_flag_spec='$wl--export-dynamic'
9396      # ancient GNU ld didn't support --whole-archive et. al.
9397      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9398 <      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9398 >      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9399      else
9400        whole_archive_flag_spec=
9401      fi
9402      supports_anon_versioning=no
9403 <    case `$LD -v 2>&1` in
9403 >    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9404 >      *GNU\ gold*) supports_anon_versioning=yes ;;
9405        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9406        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9407        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8541 | Line 9413 | $as_echo_n "checking whether the $compil
9413      case $host_os in
9414      aix[3-9]*)
9415        # On AIX/PPC, the GNU linker is very broken
9416 <      if test "$host_cpu" != ia64; then
9416 >      if test ia64 != "$host_cpu"; then
9417          ld_shlibs=no
9418          cat <<_LT_EOF 1>&2
9419  
9420 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9420 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9421   *** to be unable to reliably create shared libraries on AIX.
9422   *** Therefore, libtool is disabling shared libraries support.  If you
9423 < *** really care for shared libraries, you may want to modify your PATH
9424 < *** so that a non-GNU linker is found, and then restart.
9423 > *** really care for shared libraries, you may want to install binutils
9424 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9425 > *** You will then need to restart the configuration process.
9426  
9427   _LT_EOF
9428        fi
# Line 8559 | Line 9432 | _LT_EOF
9432        case $host_cpu in
9433        powerpc)
9434              # see comment about AmigaOS4 .so support
9435 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9435 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9436              archive_expsym_cmds=''
9437          ;;
9438        m68k)
# Line 8575 | Line 9448 | _LT_EOF
9448          allow_undefined_flag=unsupported
9449          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9450          # support --undefined.  This deserves some investigation.  FIXME
9451 <        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9451 >        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9452        else
9453          ld_shlibs=no
9454        fi
# Line 8585 | Line 9458 | _LT_EOF
9458        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9459        # as there is no search path for DLLs.
9460        hardcode_libdir_flag_spec='-L$libdir'
9461 +      export_dynamic_flag_spec='$wl--export-all-symbols'
9462        allow_undefined_flag=unsupported
9463        always_export_symbols=no
9464        enable_shared_with_static_runtimes=yes
9465 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9465 >      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'
9466 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9467  
9468        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9469 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9470 <        # If the export-symbols file already is a .def file (1st line
9471 <        # is EXPORTS), use it as is; otherwise, prepend...
9472 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9473 <          cp $export_symbols $output_objdir/$soname.def;
9474 <        else
9475 <          echo EXPORTS > $output_objdir/$soname.def;
9476 <          cat $export_symbols >> $output_objdir/$soname.def;
9477 <        fi~
9478 <        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9469 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9470 >        # If the export-symbols file already is a .def file, use it as
9471 >        # is; otherwise, prepend EXPORTS...
9472 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9473 >          cp $export_symbols $output_objdir/$soname.def;
9474 >        else
9475 >          echo EXPORTS > $output_objdir/$soname.def;
9476 >          cat $export_symbols >> $output_objdir/$soname.def;
9477 >        fi~
9478 >        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9479        else
9480          ld_shlibs=no
9481        fi
9482        ;;
9483  
9484 +    haiku*)
9485 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9486 +      link_all_deplibs=yes
9487 +      ;;
9488 +
9489      interix[3-9]*)
9490        hardcode_direct=no
9491        hardcode_shlibpath_var=no
9492 <      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9493 <      export_dynamic_flag_spec='${wl}-E'
9492 >      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9493 >      export_dynamic_flag_spec='$wl-E'
9494        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9495        # Instead, shared libraries are loaded at an image base (0x10000000 by
9496        # default) and relocated if they conflict, which is a slow very memory
9497        # consuming and fragmenting process.  To avoid this, we pick a random,
9498        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9499        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9500 <      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9501 <      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'
9500 >      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9501 >      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'
9502        ;;
9503  
9504 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9504 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9505        tmp_diet=no
9506 <      if test "$host_os" = linux-dietlibc; then
9506 >      if test linux-dietlibc = "$host_os"; then
9507          case $cc_basename in
9508            diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9509          esac
9510        fi
9511        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9512 <         && test "$tmp_diet" = no
9512 >         && test no = "$tmp_diet"
9513        then
9514 <        tmp_addflag=
9514 >        tmp_addflag=' $pic_flag'
9515          tmp_sharedflag='-shared'
9516          case $cc_basename,$host_cpu in
9517          pgcc*)                          # Portland Group C compiler
9518 <          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'
9518 >          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'
9519            tmp_addflag=' $pic_flag'
9520            ;;
9521 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9522 <          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'
9521 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9522 >                                        # Portland Group f77 and f90 compilers
9523 >          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'
9524            tmp_addflag=' $pic_flag -Mnomain' ;;
9525          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9526            tmp_addflag=' -i_dynamic' ;;
# Line 8650 | Line 9531 | _LT_EOF
9531          lf95*)                          # Lahey Fortran 8.1
9532            whole_archive_flag_spec=
9533            tmp_sharedflag='--shared' ;;
9534 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9534 >        nagfor*)                        # NAGFOR 5.3
9535 >          tmp_sharedflag='-Wl,-shared' ;;
9536 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9537            tmp_sharedflag='-qmkshrobj'
9538            tmp_addflag= ;;
9539 +        nvcc*)  # Cuda Compiler Driver 2.2
9540 +          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'
9541 +          compiler_needs_object=yes
9542 +          ;;
9543          esac
9544          case `$CC -V 2>&1 | sed 5q` in
9545          *Sun\ C*)                       # Sun C 5.9
9546 <          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'
9546 >          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'
9547            compiler_needs_object=yes
9548            tmp_sharedflag='-G' ;;
9549          *Sun\ F*)                       # Sun Fortran 8.3
9550            tmp_sharedflag='-G' ;;
9551          esac
9552 <        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552 >        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9553  
9554 <        if test "x$supports_anon_versioning" = xyes; then
9554 >        if test yes = "$supports_anon_versioning"; then
9555            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9556 <            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9557 <            echo "local: *; };" >> $output_objdir/$libname.ver~
9558 <            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9556 >            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9557 >            echo "local: *; };" >> $output_objdir/$libname.ver~
9558 >            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9559          fi
9560  
9561          case $cc_basename in
9562 <        xlf*)
9562 >        xlf* | bgf* | bgxlf* | mpixlf*)
9563            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9564            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9565 <          hardcode_libdir_flag_spec=
9566 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9567 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8681 <          if test "x$supports_anon_versioning" = xyes; then
9565 >          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9566 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9567 >          if test yes = "$supports_anon_versioning"; then
9568              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9569 <              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9570 <              echo "local: *; };" >> $output_objdir/$libname.ver~
9571 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9569 >              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9570 >              echo "local: *; };" >> $output_objdir/$libname.ver~
9571 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9572            fi
9573            ;;
9574          esac
# Line 8696 | Line 9582 | _LT_EOF
9582          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9583          wlarc=
9584        else
9585 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9586 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9585 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9586 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9587        fi
9588        ;;
9589  
# Line 8715 | Line 9601 | _LT_EOF
9601  
9602   _LT_EOF
9603        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9604 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9605 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9604 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9605 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9606        else
9607          ld_shlibs=no
9608        fi
# Line 8728 | Line 9614 | _LT_EOF
9614          ld_shlibs=no
9615          cat <<_LT_EOF 1>&2
9616  
9617 < *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9617 > *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9618   *** reliably create shared libraries on SCO systems.  Therefore, libtool
9619   *** is disabling shared libraries support.  We urge you to upgrade GNU
9620   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
# Line 8743 | Line 9629 | _LT_EOF
9629            # DT_RUNPATH tag from executables and libraries.  But doing so
9630            # requires that you compile everything twice, which is a pain.
9631            if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9632 <            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9633 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634 <            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9632 >            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9633 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9634 >            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9635            else
9636              ld_shlibs=no
9637            fi
# Line 8762 | Line 9648 | _LT_EOF
9648  
9649      *)
9650        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9651 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9652 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9651 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9652 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9653        else
9654          ld_shlibs=no
9655        fi
9656        ;;
9657      esac
9658  
9659 <    if test "$ld_shlibs" = no; then
9659 >    if test no = "$ld_shlibs"; then
9660        runpath_var=
9661        hardcode_libdir_flag_spec=
9662        export_dynamic_flag_spec=
# Line 8786 | Line 9672 | _LT_EOF
9672        # Note: this linker hardcodes the directories in LIBPATH if there
9673        # are no directories specified by -L.
9674        hardcode_minus_L=yes
9675 <      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9675 >      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9676          # Neither direct hardcoding nor static linking is supported with a
9677          # broken collect2.
9678          hardcode_direct=unsupported
# Line 8794 | Line 9680 | _LT_EOF
9680        ;;
9681  
9682      aix[4-9]*)
9683 <      if test "$host_cpu" = ia64; then
9683 >      if test ia64 = "$host_cpu"; then
9684          # On IA64, the linker does run time linking by default, so we don't
9685          # have to do anything special.
9686          aix_use_runtimelinking=no
9687          exp_sym_flag='-Bexport'
9688 <        no_entry_flag=""
9688 >        no_entry_flag=
9689        else
9690          # If we're using GNU nm, then we don't want the "-C" option.
9691          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9692 +        # Also, AIX nm treats weak defined symbols like other global
9693 +        # defined symbols, whereas GNU nm marks them as "W".
9694          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9695 <          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'
9695 >          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'
9696          else
9697            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'
9698          fi
# Line 8815 | Line 9703 | _LT_EOF
9703          # need to do runtime linking.
9704          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9705            for ld_flag in $LDFLAGS; do
9706 <          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9706 >          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9707              aix_use_runtimelinking=yes
9708              break
9709            fi
# Line 8838 | Line 9726 | _LT_EOF
9726        hardcode_direct_absolute=yes
9727        hardcode_libdir_separator=':'
9728        link_all_deplibs=yes
9729 <      file_list_spec='${wl}-f,'
9729 >      file_list_spec='$wl-f,'
9730  
9731 <      if test "$GCC" = yes; then
9731 >      if test yes = "$GCC"; then
9732          case $host_os in aix4.[012]|aix4.[012].*)
9733          # We only want to do this on AIX 4.2 and lower, the check
9734          # below for broken collect2 doesn't work under 4.3+
9735 <          collect2name=`${CC} -print-prog-name=collect2`
9735 >          collect2name=`$CC -print-prog-name=collect2`
9736            if test -f "$collect2name" &&
9737             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9738            then
# Line 8863 | Line 9751 | _LT_EOF
9751            ;;
9752          esac
9753          shared_flag='-shared'
9754 <        if test "$aix_use_runtimelinking" = yes; then
9755 <          shared_flag="$shared_flag "'${wl}-G'
9754 >        if test yes = "$aix_use_runtimelinking"; then
9755 >          shared_flag="$shared_flag "'$wl-G'
9756          fi
8869 –        link_all_deplibs=no
9757        else
9758          # not using gcc
9759 <        if test "$host_cpu" = ia64; then
9759 >        if test ia64 = "$host_cpu"; then
9760          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9761          # chokes on -Wl,-G. The following line is correct:
9762            shared_flag='-G'
9763          else
9764 <          if test "$aix_use_runtimelinking" = yes; then
9765 <            shared_flag='${wl}-G'
9764 >          if test yes = "$aix_use_runtimelinking"; then
9765 >            shared_flag='$wl-G'
9766            else
9767 <            shared_flag='${wl}-bM:SRE'
9767 >            shared_flag='$wl-bM:SRE'
9768            fi
9769          fi
9770        fi
9771  
9772 <      export_dynamic_flag_spec='${wl}-bexpall'
9772 >      export_dynamic_flag_spec='$wl-bexpall'
9773        # It seems that -bexpall does not export symbols beginning with
9774        # underscore (_), so it is better to generate a list of symbols to export.
9775        always_export_symbols=yes
9776 <      if test "$aix_use_runtimelinking" = yes; then
9776 >      if test yes = "$aix_use_runtimelinking"; then
9777          # Warning - without using the other runtime loading flags (-brtl),
9778          # -berok will link without error, but may produce a broken library.
9779          allow_undefined_flag='-berok'
9780          # Determine the default libpath from the value encoded in an
9781          # empty executable.
9782 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 >        if test set = "${lt_cv_aix_libpath+set}"; then
9783 >  aix_libpath=$lt_cv_aix_libpath
9784 > else
9785 >  if ${lt_cv_aix_libpath_+:} false; then :
9786 >  $as_echo_n "(cached) " >&6
9787 > else
9788 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9789   /* end confdefs.h.  */
9790  
9791   int
# Line 8905 | Line 9798 | main ()
9798   _ACEOF
9799   if ac_fn_c_try_link "$LINENO"; then :
9800  
9801 < lt_aix_libpath_sed='
9802 <    /Import File Strings/,/^$/ {
9803 <        /^0/ {
9804 <            s/^0  *\(.*\)$/\1/
9805 <            p
9806 <        }
9807 <    }'
9808 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9809 < # Check for a 64-bit object if we didn't find anything.
9810 < if test -z "$aix_libpath"; then
9811 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9812 < fi
9801 >  lt_aix_libpath_sed='
9802 >      /Import File Strings/,/^$/ {
9803 >          /^0/ {
9804 >              s/^0  *\([^ ]*\) *$/\1/
9805 >              p
9806 >          }
9807 >      }'
9808 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9809 >  # Check for a 64-bit object if we didn't find anything.
9810 >  if test -z "$lt_cv_aix_libpath_"; then
9811 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9812 >  fi
9813   fi
9814   rm -f core conftest.err conftest.$ac_objext \
9815      conftest$ac_exeext conftest.$ac_ext
9816 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9816 >  if test -z "$lt_cv_aix_libpath_"; then
9817 >    lt_cv_aix_libpath_=/usr/lib:/lib
9818 >  fi
9819 >
9820 > fi
9821 >
9822 >  aix_libpath=$lt_cv_aix_libpath_
9823 > fi
9824  
9825 <        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9826 <        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"
9825 >        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9826 >        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9827        else
9828 <        if test "$host_cpu" = ia64; then
9829 <          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9828 >        if test ia64 = "$host_cpu"; then
9829 >          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9830            allow_undefined_flag="-z nodefs"
9831 <          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9831 >          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
9832          else
9833           # Determine the default libpath from the value encoded in an
9834           # empty executable.
9835 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 >         if test set = "${lt_cv_aix_libpath+set}"; then
9836 >  aix_libpath=$lt_cv_aix_libpath
9837 > else
9838 >  if ${lt_cv_aix_libpath_+:} false; then :
9839 >  $as_echo_n "(cached) " >&6
9840 > else
9841 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842   /* end confdefs.h.  */
9843  
9844   int
# Line 8945 | Line 9851 | main ()
9851   _ACEOF
9852   if ac_fn_c_try_link "$LINENO"; then :
9853  
9854 < lt_aix_libpath_sed='
9855 <    /Import File Strings/,/^$/ {
9856 <        /^0/ {
9857 <            s/^0  *\(.*\)$/\1/
9858 <            p
9859 <        }
9860 <    }'
9861 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9862 < # Check for a 64-bit object if we didn't find anything.
9863 < if test -z "$aix_libpath"; then
9864 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9865 < fi
9854 >  lt_aix_libpath_sed='
9855 >      /Import File Strings/,/^$/ {
9856 >          /^0/ {
9857 >              s/^0  *\([^ ]*\) *$/\1/
9858 >              p
9859 >          }
9860 >      }'
9861 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9862 >  # Check for a 64-bit object if we didn't find anything.
9863 >  if test -z "$lt_cv_aix_libpath_"; then
9864 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9865 >  fi
9866   fi
9867   rm -f core conftest.err conftest.$ac_objext \
9868      conftest$ac_exeext conftest.$ac_ext
9869 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9869 >  if test -z "$lt_cv_aix_libpath_"; then
9870 >    lt_cv_aix_libpath_=/usr/lib:/lib
9871 >  fi
9872 >
9873 > fi
9874  
9875 <         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9875 >  aix_libpath=$lt_cv_aix_libpath_
9876 > fi
9877 >
9878 >         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9879            # Warning - without using the other run time loading flags,
9880            # -berok will link without error, but may produce a broken library.
9881 <          no_undefined_flag=' ${wl}-bernotok'
9882 <          allow_undefined_flag=' ${wl}-berok'
9883 <          # Exported symbols can be pulled into shared objects from archives
9884 <          whole_archive_flag_spec='$convenience'
9881 >          no_undefined_flag=' $wl-bernotok'
9882 >          allow_undefined_flag=' $wl-berok'
9883 >          if test yes = "$with_gnu_ld"; then
9884 >            # We only use this code for GNU lds that support --whole-archive.
9885 >            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9886 >          else
9887 >            # Exported symbols can be pulled into shared objects from archives
9888 >            whole_archive_flag_spec='$convenience'
9889 >          fi
9890            archive_cmds_need_lc=yes
9891            # This is similar to how AIX traditionally builds its shared libraries.
9892 <          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'
9892 >          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'
9893          fi
9894        fi
9895        ;;
# Line 8980 | Line 9898 | if test -z "$aix_libpath"; then aix_libp
9898        case $host_cpu in
9899        powerpc)
9900              # see comment about AmigaOS4 .so support
9901 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9901 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9902              archive_expsym_cmds=''
9903          ;;
9904        m68k)
# Line 9000 | Line 9918 | if test -z "$aix_libpath"; then aix_libp
9918        # Microsoft Visual C++.
9919        # hardcode_libdir_flag_spec is actually meaningless, as there is
9920        # no search path for DLLs.
9921 <      hardcode_libdir_flag_spec=' '
9922 <      allow_undefined_flag=unsupported
9923 <      # Tell ltmain to make .lib files, not .a files.
9924 <      libext=lib
9925 <      # Tell ltmain to make .dll files, not .so files.
9926 <      shrext_cmds=".dll"
9927 <      # FIXME: Setting linknames here is a bad hack.
9928 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9929 <      # The linker will automatically build a .lib file if we build a DLL.
9930 <      old_archive_from_new_cmds='true'
9931 <      # FIXME: Should let the user specify the lib program.
9932 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9933 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9934 <      enable_shared_with_static_runtimes=yes
9921 >      case $cc_basename in
9922 >      cl*)
9923 >        # Native MSVC
9924 >        hardcode_libdir_flag_spec=' '
9925 >        allow_undefined_flag=unsupported
9926 >        always_export_symbols=yes
9927 >        file_list_spec='@'
9928 >        # Tell ltmain to make .lib files, not .a files.
9929 >        libext=lib
9930 >        # Tell ltmain to make .dll files, not .so files.
9931 >        shrext_cmds=.dll
9932 >        # FIXME: Setting linknames here is a bad hack.
9933 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9934 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9935 >            cp "$export_symbols" "$output_objdir/$soname.def";
9936 >            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9937 >          else
9938 >            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9939 >          fi~
9940 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9941 >          linknames='
9942 >        # The linker will not automatically build a static lib if we build a DLL.
9943 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9944 >        enable_shared_with_static_runtimes=yes
9945 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9946 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9947 >        # Don't use ranlib
9948 >        old_postinstall_cmds='chmod 644 $oldlib'
9949 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9950 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9951 >          case $lt_outputfile in
9952 >            *.exe|*.EXE) ;;
9953 >            *)
9954 >              lt_outputfile=$lt_outputfile.exe
9955 >              lt_tool_outputfile=$lt_tool_outputfile.exe
9956 >              ;;
9957 >          esac~
9958 >          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9959 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9960 >            $RM "$lt_outputfile.manifest";
9961 >          fi'
9962 >        ;;
9963 >      *)
9964 >        # Assume MSVC wrapper
9965 >        hardcode_libdir_flag_spec=' '
9966 >        allow_undefined_flag=unsupported
9967 >        # Tell ltmain to make .lib files, not .a files.
9968 >        libext=lib
9969 >        # Tell ltmain to make .dll files, not .so files.
9970 >        shrext_cmds=.dll
9971 >        # FIXME: Setting linknames here is a bad hack.
9972 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9973 >        # The linker will automatically build a .lib file if we build a DLL.
9974 >        old_archive_from_new_cmds='true'
9975 >        # FIXME: Should let the user specify the lib program.
9976 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9977 >        enable_shared_with_static_runtimes=yes
9978 >        ;;
9979 >      esac
9980        ;;
9981  
9982      darwin* | rhapsody*)
# Line 9023 | Line 9986 | if test -z "$aix_libpath"; then aix_libp
9986    hardcode_direct=no
9987    hardcode_automatic=yes
9988    hardcode_shlibpath_var=unsupported
9989 <  whole_archive_flag_spec=''
9989 >  if test yes = "$lt_cv_ld_force_load"; then
9990 >    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\"`'
9991 >
9992 >  else
9993 >    whole_archive_flag_spec=''
9994 >  fi
9995    link_all_deplibs=yes
9996 <  allow_undefined_flag="$_lt_dar_allow_undefined"
9996 >  allow_undefined_flag=$_lt_dar_allow_undefined
9997    case $cc_basename in
9998 <     ifort*) _lt_dar_can_shared=yes ;;
9998 >     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9999       *) _lt_dar_can_shared=$GCC ;;
10000    esac
10001 <  if test "$_lt_dar_can_shared" = "yes"; then
10002 <    output_verbose_link_cmd=echo
10003 <    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10004 <    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10005 <    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}"
10006 <    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10001 >  if test yes = "$_lt_dar_can_shared"; then
10002 >    output_verbose_link_cmd=func_echo_all
10003 >    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10004 >    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10005 >    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"
10006 >    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10007  
10008    else
10009    ld_shlibs=no
# Line 9049 | Line 10017 | if test -z "$aix_libpath"; then aix_libp
10017        hardcode_shlibpath_var=no
10018        ;;
10019  
9052 –    freebsd1*)
9053 –      ld_shlibs=no
9054 –      ;;
9055 –
10020      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10021      # support.  Future versions do this automatically, but an explicit c++rt0.o
10022      # does not break anything, and helps significantly (at the cost of a little
# Line 9065 | Line 10029 | if test -z "$aix_libpath"; then aix_libp
10029        ;;
10030  
10031      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10032 <    freebsd2*)
10032 >    freebsd2.*)
10033        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10034        hardcode_direct=yes
10035        hardcode_minus_L=yes
# Line 9074 | Line 10038 | if test -z "$aix_libpath"; then aix_libp
10038  
10039      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10040      freebsd* | dragonfly*)
10041 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10041 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10042        hardcode_libdir_flag_spec='-R$libdir'
10043        hardcode_direct=yes
10044        hardcode_shlibpath_var=no
10045        ;;
10046  
10047      hpux9*)
10048 <      if test "$GCC" = yes; then
10049 <        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'
10048 >      if test yes = "$GCC"; then
10049 >        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10050        else
10051 <        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'
10051 >        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10052        fi
10053 <      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10053 >      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10054        hardcode_libdir_separator=:
10055        hardcode_direct=yes
10056  
10057        # hardcode_minus_L: Not really in the search PATH,
10058        # but as the default location of the library.
10059        hardcode_minus_L=yes
10060 <      export_dynamic_flag_spec='${wl}-E'
10060 >      export_dynamic_flag_spec='$wl-E'
10061        ;;
10062  
10063      hpux10*)
10064 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10065 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10064 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10065 >        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10066        else
10067          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10068        fi
10069 <      if test "$with_gnu_ld" = no; then
10070 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9107 <        hardcode_libdir_flag_spec_ld='+b $libdir'
10069 >      if test no = "$with_gnu_ld"; then
10070 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10071          hardcode_libdir_separator=:
10072          hardcode_direct=yes
10073          hardcode_direct_absolute=yes
10074 <        export_dynamic_flag_spec='${wl}-E'
10074 >        export_dynamic_flag_spec='$wl-E'
10075          # hardcode_minus_L: Not really in the search PATH,
10076          # but as the default location of the library.
10077          hardcode_minus_L=yes
# Line 9116 | Line 10079 | if test -z "$aix_libpath"; then aix_libp
10079        ;;
10080  
10081      hpux11*)
10082 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10082 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10083          case $host_cpu in
10084          hppa*64*)
10085 <          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 >          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10086            ;;
10087          ia64*)
10088 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10088 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10089            ;;
10090          *)
10091 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10091 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10092            ;;
10093          esac
10094        else
10095          case $host_cpu in
10096          hppa*64*)
10097 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 >          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10098            ;;
10099          ia64*)
10100 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10100 >          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10101            ;;
10102          *)
10103 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10103 >
10104 >          # Older versions of the 11.00 compiler do not understand -b yet
10105 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10106 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10107 > $as_echo_n "checking if $CC understands -b... " >&6; }
10108 > if ${lt_cv_prog_compiler__b+:} false; then :
10109 >  $as_echo_n "(cached) " >&6
10110 > else
10111 >  lt_cv_prog_compiler__b=no
10112 >   save_LDFLAGS=$LDFLAGS
10113 >   LDFLAGS="$LDFLAGS -b"
10114 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10115 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10116 >     # The linker can only warn and ignore the option if not recognized
10117 >     # So say no if there are warnings
10118 >     if test -s conftest.err; then
10119 >       # Append any errors to the config.log.
10120 >       cat conftest.err 1>&5
10121 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10122 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10123 >       if diff conftest.exp conftest.er2 >/dev/null; then
10124 >         lt_cv_prog_compiler__b=yes
10125 >       fi
10126 >     else
10127 >       lt_cv_prog_compiler__b=yes
10128 >     fi
10129 >   fi
10130 >   $RM -r conftest*
10131 >   LDFLAGS=$save_LDFLAGS
10132 >
10133 > fi
10134 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10135 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10136 >
10137 > if test yes = "$lt_cv_prog_compiler__b"; then
10138 >    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10139 > else
10140 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10141 > fi
10142 >
10143            ;;
10144          esac
10145        fi
10146 <      if test "$with_gnu_ld" = no; then
10147 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10146 >      if test no = "$with_gnu_ld"; then
10147 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10148          hardcode_libdir_separator=:
10149  
10150          case $host_cpu in
# Line 9153 | Line 10155 | if test -z "$aix_libpath"; then aix_libp
10155          *)
10156            hardcode_direct=yes
10157            hardcode_direct_absolute=yes
10158 <          export_dynamic_flag_spec='${wl}-E'
10158 >          export_dynamic_flag_spec='$wl-E'
10159  
10160            # hardcode_minus_L: Not really in the search PATH,
10161            # but as the default location of the library.
# Line 9164 | Line 10166 | if test -z "$aix_libpath"; then aix_libp
10166        ;;
10167  
10168      irix5* | irix6* | nonstopux*)
10169 <      if test "$GCC" = yes; then
10170 <        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'
10169 >      if test yes = "$GCC"; then
10170 >        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'
10171          # Try to use the -exported_symbol ld option, if it does not
10172          # work, assume that -exports_file does not work either and
10173          # implicitly export all symbols.
10174 <        save_LDFLAGS="$LDFLAGS"
10175 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10176 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 >        # This should be the same for all languages, so no per-tag cache variable.
10175 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10176 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10177 > if ${lt_cv_irix_exported_symbol+:} false; then :
10178 >  $as_echo_n "(cached) " >&6
10179 > else
10180 >  save_LDFLAGS=$LDFLAGS
10181 >           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10182 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183   /* end confdefs.h.  */
10184 < int foo(void) {}
10184 > int foo (void) { return 0; }
10185   _ACEOF
10186   if ac_fn_c_try_link "$LINENO"; then :
10187 <  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'
10188 <
10187 >  lt_cv_irix_exported_symbol=yes
10188 > else
10189 >  lt_cv_irix_exported_symbol=no
10190   fi
10191   rm -f core conftest.err conftest.$ac_objext \
10192      conftest$ac_exeext conftest.$ac_ext
10193 <        LDFLAGS="$save_LDFLAGS"
10193 >           LDFLAGS=$save_LDFLAGS
10194 > fi
10195 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10196 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10197 >        if test yes = "$lt_cv_irix_exported_symbol"; then
10198 >          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'
10199 >        fi
10200        else
10201 <        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'
10202 <        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'
10201 >        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'
10202 >        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'
10203        fi
10204        archive_cmds_need_lc='no'
10205 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10205 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10206        hardcode_libdir_separator=:
10207        inherit_rpath=yes
10208        link_all_deplibs=yes
# Line 9207 | Line 10222 | rm -f core conftest.err conftest.$ac_obj
10222      newsos6)
10223        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10224        hardcode_direct=yes
10225 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10225 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10226        hardcode_libdir_separator=:
10227        hardcode_shlibpath_var=no
10228        ;;
# Line 9215 | Line 10230 | rm -f core conftest.err conftest.$ac_obj
10230      *nto* | *qnx*)
10231        ;;
10232  
10233 <    openbsd*)
10233 >    openbsd* | bitrig*)
10234        if test -f /usr/libexec/ld.so; then
10235          hardcode_direct=yes
10236          hardcode_shlibpath_var=no
10237          hardcode_direct_absolute=yes
10238 <        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10238 >        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10239            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10240 <          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10241 <          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10242 <          export_dynamic_flag_spec='${wl}-E'
10240 >          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10241 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10242 >          export_dynamic_flag_spec='$wl-E'
10243          else
10244 <          case $host_os in
10245 <           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9231 <             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9232 <             hardcode_libdir_flag_spec='-R$libdir'
9233 <             ;;
9234 <           *)
9235 <             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9236 <             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9237 <             ;;
9238 <          esac
10244 >          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10245 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10246          fi
10247        else
10248          ld_shlibs=no
# Line 9246 | Line 10253 | rm -f core conftest.err conftest.$ac_obj
10253        hardcode_libdir_flag_spec='-L$libdir'
10254        hardcode_minus_L=yes
10255        allow_undefined_flag=unsupported
10256 <      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'
10256 >      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'
10257        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10258        ;;
10259  
10260      osf3*)
10261 <      if test "$GCC" = yes; then
10262 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10263 <        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'
10261 >      if test yes = "$GCC"; then
10262 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10263 >        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'
10264        else
10265          allow_undefined_flag=' -expect_unresolved \*'
10266 <        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'
10266 >        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'
10267        fi
10268        archive_cmds_need_lc='no'
10269 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10269 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10270        hardcode_libdir_separator=:
10271        ;;
10272  
10273      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10274 <      if test "$GCC" = yes; then
10275 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10276 <        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'
10277 <        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10274 >      if test yes = "$GCC"; then
10275 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10276 >        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'
10277 >        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10278        else
10279          allow_undefined_flag=' -expect_unresolved \*'
10280 <        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'
10280 >        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'
10281          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~
10282 <        $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'
10282 >          $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'
10283  
10284          # Both c and cxx compiler support -rpath directly
10285          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9283 | Line 10290 | rm -f core conftest.err conftest.$ac_obj
10290  
10291      solaris*)
10292        no_undefined_flag=' -z defs'
10293 <      if test "$GCC" = yes; then
10294 <        wlarc='${wl}'
10295 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10293 >      if test yes = "$GCC"; then
10294 >        wlarc='$wl'
10295 >        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10296          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10297 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10297 >          $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'
10298        else
10299          case `$CC -V 2>&1` in
10300          *"Compilers 5.0"*)
10301            wlarc=''
10302 <          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10302 >          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10303            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10304 <          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10304 >            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10305            ;;
10306          *)
10307 <          wlarc='${wl}'
10308 <          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10307 >          wlarc='$wl'
10308 >          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10309            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10310 <          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10310 >            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10311            ;;
10312          esac
10313        fi
# Line 9310 | Line 10317 | rm -f core conftest.err conftest.$ac_obj
10317        solaris2.[0-5] | solaris2.[0-5].*) ;;
10318        *)
10319          # The compiler driver will combine and reorder linker options,
10320 <        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10320 >        # but understands '-z linker_flag'.  GCC discards it without '$wl',
10321          # but is careful enough not to reorder.
10322          # Supported since Solaris 2.6 (maybe 2.5.1?)
10323 <        if test "$GCC" = yes; then
10324 <          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10323 >        if test yes = "$GCC"; then
10324 >          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10325          else
10326            whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10327          fi
# Line 9324 | Line 10331 | rm -f core conftest.err conftest.$ac_obj
10331        ;;
10332  
10333      sunos4*)
10334 <      if test "x$host_vendor" = xsequent; then
10334 >      if test sequent = "$host_vendor"; then
10335          # Use $CC to link under sequent, because it throws in some extra .o
10336          # files that make .init and .fini sections work.
10337 <        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10337 >        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10338        else
10339          archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10340        fi
# Line 9376 | Line 10383 | rm -f core conftest.err conftest.$ac_obj
10383        ;;
10384  
10385      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10386 <      no_undefined_flag='${wl}-z,text'
10386 >      no_undefined_flag='$wl-z,text'
10387        archive_cmds_need_lc=no
10388        hardcode_shlibpath_var=no
10389        runpath_var='LD_RUN_PATH'
10390  
10391 <      if test "$GCC" = yes; then
10392 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10393 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10391 >      if test yes = "$GCC"; then
10392 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10393 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10394        else
10395 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10397        fi
10398        ;;
10399  
10400      sysv5* | sco3.2v5* | sco5v6*)
10401 <      # Note: We can NOT use -z defs as we might desire, because we do not
10401 >      # Note: We CANNOT use -z defs as we might desire, because we do not
10402        # link with -lc, and that would cause any symbols used from libc to
10403        # always be unresolved, which means just about no library would
10404        # ever link correctly.  If we're not using GNU ld we use -z text
10405        # though, which does catch some bad symbols but isn't as heavy-handed
10406        # as -z defs.
10407 <      no_undefined_flag='${wl}-z,text'
10408 <      allow_undefined_flag='${wl}-z,nodefs'
10407 >      no_undefined_flag='$wl-z,text'
10408 >      allow_undefined_flag='$wl-z,nodefs'
10409        archive_cmds_need_lc=no
10410        hardcode_shlibpath_var=no
10411 <      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10411 >      hardcode_libdir_flag_spec='$wl-R,$libdir'
10412        hardcode_libdir_separator=':'
10413        link_all_deplibs=yes
10414 <      export_dynamic_flag_spec='${wl}-Bexport'
10414 >      export_dynamic_flag_spec='$wl-Bexport'
10415        runpath_var='LD_RUN_PATH'
10416  
10417 <      if test "$GCC" = yes; then
10418 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10419 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 >      if test yes = "$GCC"; then
10418 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10419 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10420        else
10421 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10421 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10423        fi
10424        ;;
10425  
# Line 9427 | Line 10434 | rm -f core conftest.err conftest.$ac_obj
10434        ;;
10435      esac
10436  
10437 <    if test x$host_vendor = xsni; then
10437 >    if test sni = "$host_vendor"; then
10438        case $host in
10439        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10440 <        export_dynamic_flag_spec='${wl}-Blargedynsym'
10440 >        export_dynamic_flag_spec='$wl-Blargedynsym'
10441          ;;
10442        esac
10443      fi
# Line 9438 | Line 10445 | rm -f core conftest.err conftest.$ac_obj
10445  
10446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10447   $as_echo "$ld_shlibs" >&6; }
10448 < test "$ld_shlibs" = no && can_build_shared=no
10448 > test no = "$ld_shlibs" && can_build_shared=no
10449  
10450   with_gnu_ld=$with_gnu_ld
10451  
# Line 9464 | Line 10471 | x|xyes)
10471    # Assume -lc should be added
10472    archive_cmds_need_lc=yes
10473  
10474 <  if test "$enable_shared" = yes && test "$GCC" = yes; then
10474 >  if test yes,yes = "$GCC,$enable_shared"; then
10475      case $archive_cmds in
10476      *'~'*)
10477        # FIXME: we may have to deal with multi-command sequences.
# Line 9475 | Line 10482 | x|xyes)
10482        # to ld, don't add -lc before -lgcc.
10483        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10484   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10485 <      $RM conftest*
10486 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10485 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10486 >  $as_echo_n "(cached) " >&6
10487 > else
10488 >  $RM conftest*
10489 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10490  
10491 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10491 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10492    (eval $ac_compile) 2>&5
10493    ac_status=$?
10494    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10495    test $ac_status = 0; } 2>conftest.err; then
10496 <        soname=conftest
10497 <        lib=conftest
10498 <        libobjs=conftest.$ac_objext
10499 <        deplibs=
10500 <        wl=$lt_prog_compiler_wl
10501 <        pic_flag=$lt_prog_compiler_pic
10502 <        compiler_flags=-v
10503 <        linker_flags=-v
10504 <        verstring=
10505 <        output_objdir=.
10506 <        libname=conftest
10507 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10508 <        allow_undefined_flag=
10509 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10496 >          soname=conftest
10497 >          lib=conftest
10498 >          libobjs=conftest.$ac_objext
10499 >          deplibs=
10500 >          wl=$lt_prog_compiler_wl
10501 >          pic_flag=$lt_prog_compiler_pic
10502 >          compiler_flags=-v
10503 >          linker_flags=-v
10504 >          verstring=
10505 >          output_objdir=.
10506 >          libname=conftest
10507 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10508 >          allow_undefined_flag=
10509 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10510    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10511    ac_status=$?
10512    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10513    test $ac_status = 0; }
10514 <        then
10515 <          archive_cmds_need_lc=no
10516 <        else
10517 <          archive_cmds_need_lc=yes
10518 <        fi
10519 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10520 <      else
10521 <        cat conftest.err 1>&5
10522 <      fi
10523 <      $RM conftest*
10524 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10525 < $as_echo "$archive_cmds_need_lc" >&6; }
10514 >          then
10515 >            lt_cv_archive_cmds_need_lc=no
10516 >          else
10517 >            lt_cv_archive_cmds_need_lc=yes
10518 >          fi
10519 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10520 >        else
10521 >          cat conftest.err 1>&5
10522 >        fi
10523 >        $RM conftest*
10524 >
10525 > fi
10526 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10527 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10528 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10529        ;;
10530      esac
10531    fi
# Line 9670 | Line 10683 | esac
10683  
10684  
10685  
9673 –
9674 –
9675 –
9676 –
9677 –
10686    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10687   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10688  
10689 < if test "$GCC" = yes; then
10689 > if test yes = "$GCC"; then
10690    case $host_os in
10691 <    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10692 <    *) lt_awk_arg="/^libraries:/" ;;
10691 >    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10692 >    *) lt_awk_arg='/^libraries:/' ;;
10693    esac
10694 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10695 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10694 >  case $host_os in
10695 >    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10696 >    *) lt_sed_strip_eq='s|=/|/|g' ;;
10697 >  esac
10698 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10699 >  case $lt_search_path_spec in
10700 >  *\;*)
10701      # if the path contains ";" then we assume it to be the separator
10702      # otherwise default to the standard path separator (i.e. ":") - it is
10703      # assumed that no part of a normal pathname contains ";" but that should
10704      # okay in the real world where ";" in dirpaths is itself problematic.
10705 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10706 <  else
10707 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10708 <  fi
10705 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10706 >    ;;
10707 >  *)
10708 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10709 >    ;;
10710 >  esac
10711    # Ok, now we have the path, separated by spaces, we can step through it
10712 <  # and add multilib dir if necessary.
10712 >  # and add multilib dir if necessary...
10713    lt_tmp_lt_search_path_spec=
10714 <  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10714 >  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10715 >  # ...but if some path component already ends with the multilib dir we assume
10716 >  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10717 >  case "$lt_multi_os_dir; $lt_search_path_spec " in
10718 >  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10719 >    lt_multi_os_dir=
10720 >    ;;
10721 >  esac
10722    for lt_sys_path in $lt_search_path_spec; do
10723 <    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10724 <      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10725 <    else
10723 >    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10724 >      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10725 >    elif test -n "$lt_multi_os_dir"; then
10726        test -d "$lt_sys_path" && \
10727          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10728      fi
10729    done
10730 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10731 < BEGIN {RS=" "; FS="/|\n";} {
10732 <  lt_foo="";
10733 <  lt_count=0;
10730 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10731 > BEGIN {RS = " "; FS = "/|\n";} {
10732 >  lt_foo = "";
10733 >  lt_count = 0;
10734    for (lt_i = NF; lt_i > 0; lt_i--) {
10735      if ($lt_i != "" && $lt_i != ".") {
10736        if ($lt_i == "..") {
10737          lt_count++;
10738        } else {
10739          if (lt_count == 0) {
10740 <          lt_foo="/" $lt_i lt_foo;
10740 >          lt_foo = "/" $lt_i lt_foo;
10741          } else {
10742            lt_count--;
10743          }
# Line 9725 | Line 10747 | BEGIN {RS=" "; FS="/|\n";} {
10747    if (lt_foo != "") { lt_freq[lt_foo]++; }
10748    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10749   }'`
10750 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10750 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10751 >  # for these hosts.
10752 >  case $host_os in
10753 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10754 >      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10755 >  esac
10756 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10757   else
10758    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10759   fi
10760   library_names_spec=
10761   libname_spec='lib$name'
10762   soname_spec=
10763 < shrext_cmds=".so"
10763 > shrext_cmds=.so
10764   postinstall_cmds=
10765   postuninstall_cmds=
10766   finish_cmds=
# Line 9751 | Line 10779 | need_version=unknown
10779  
10780   case $host_os in
10781   aix3*)
10782 <  version_type=linux
10783 <  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10782 >  version_type=linux # correct to gnu/linux during the next big refactor
10783 >  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10784    shlibpath_var=LIBPATH
10785  
10786    # AIX 3 has no versioning support, so we append a major version to the name.
10787 <  soname_spec='${libname}${release}${shared_ext}$major'
10787 >  soname_spec='$libname$release$shared_ext$major'
10788    ;;
10789  
10790   aix[4-9]*)
10791 <  version_type=linux
10791 >  version_type=linux # correct to gnu/linux during the next big refactor
10792    need_lib_prefix=no
10793    need_version=no
10794    hardcode_into_libs=yes
10795 <  if test "$host_cpu" = ia64; then
10795 >  if test ia64 = "$host_cpu"; then
10796      # AIX 5 supports IA64
10797 <    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10797 >    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10798      shlibpath_var=LD_LIBRARY_PATH
10799    else
10800      # With GCC up to 2.95.x, collect2 would create an import file
10801      # for dependence libraries.  The import file would start with
10802 <    # the line `#! .'.  This would cause the generated library to
10803 <    # depend on `.', always an invalid library.  This was fixed in
10802 >    # the line '#! .'.  This would cause the generated library to
10803 >    # depend on '.', always an invalid library.  This was fixed in
10804      # development snapshots of GCC prior to 3.0.
10805      case $host_os in
10806        aix4 | aix4.[01] | aix4.[01].*)
10807        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10808             echo ' yes '
10809 <           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10809 >           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10810          :
10811        else
10812          can_build_shared=no
10813        fi
10814        ;;
10815      esac
10816 <    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10816 >    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10817      # soname into executable. Probably we can add versioning support to
10818      # collect2, so additional links can be useful in future.
10819 <    if test "$aix_use_runtimelinking" = yes; then
10819 >    if test yes = "$aix_use_runtimelinking"; then
10820        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10821        # instead of lib<name>.a to let people know that these are not
10822        # typical AIX shared libraries.
10823 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10823 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10824      else
10825        # We preserve .a as extension for shared libraries through AIX4.2
10826        # and later when we are not doing run time linking.
10827 <      library_names_spec='${libname}${release}.a $libname.a'
10828 <      soname_spec='${libname}${release}${shared_ext}$major'
10827 >      library_names_spec='$libname$release.a $libname.a'
10828 >      soname_spec='$libname$release$shared_ext$major'
10829      fi
10830      shlibpath_var=LIBPATH
10831    fi
# Line 9808 | Line 10836 | amigaos*)
10836    powerpc)
10837      # Since July 2007 AmigaOS4 officially supports .so libraries.
10838      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10839 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10840      ;;
10841    m68k)
10842      library_names_spec='$libname.ixlibrary $libname.a'
10843      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10844 <    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'
10844 >    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10845      ;;
10846    esac
10847    ;;
10848  
10849   beos*)
10850 <  library_names_spec='${libname}${shared_ext}'
10850 >  library_names_spec='$libname$shared_ext'
10851    dynamic_linker="$host_os ld.so"
10852    shlibpath_var=LIBRARY_PATH
10853    ;;
10854  
10855   bsdi[45]*)
10856 <  version_type=linux
10856 >  version_type=linux # correct to gnu/linux during the next big refactor
10857    need_version=no
10858 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10859 <  soname_spec='${libname}${release}${shared_ext}$major'
10858 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10859 >  soname_spec='$libname$release$shared_ext$major'
10860    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10861    shlibpath_var=LD_LIBRARY_PATH
10862    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
# Line 9840 | Line 10868 | bsdi[45]*)
10868  
10869   cygwin* | mingw* | pw32* | cegcc*)
10870    version_type=windows
10871 <  shrext_cmds=".dll"
10871 >  shrext_cmds=.dll
10872    need_version=no
10873    need_lib_prefix=no
10874  
10875 <  case $GCC,$host_os in
10876 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10875 >  case $GCC,$cc_basename in
10876 >  yes,*)
10877 >    # gcc
10878      library_names_spec='$libname.dll.a'
10879      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10880 <    postinstall_cmds='base_file=`basename \${file}`~
10881 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10880 >    postinstall_cmds='base_file=`basename \$file`~
10881 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10882        dldir=$destdir/`dirname \$dlpath`~
10883        test -d \$dldir || mkdir -p \$dldir~
10884        $install_prog $dir/$dlname \$dldir/$dlname~
# Line 9865 | Line 10894 | cygwin* | mingw* | pw32* | cegcc*)
10894      case $host_os in
10895      cygwin*)
10896        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10897 <      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10898 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10897 >      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10898 >
10899 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10900        ;;
10901      mingw* | cegcc*)
10902        # MinGW DLLs use traditional 'lib' prefix
10903 <      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10904 <      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10903 >      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10904 >      ;;
10905 >    pw32*)
10906 >      # pw32 DLLs use 'pw' prefix rather than 'lib'
10907 >      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10908 >      ;;
10909 >    esac
10910 >    dynamic_linker='Win32 ld.exe'
10911 >    ;;
10912 >
10913 >  *,cl*)
10914 >    # Native MSVC
10915 >    libname_spec='$name'
10916 >    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10917 >    library_names_spec='$libname.dll.lib'
10918 >
10919 >    case $build_os in
10920 >    mingw*)
10921 >      sys_lib_search_path_spec=
10922 >      lt_save_ifs=$IFS
10923 >      IFS=';'
10924 >      for lt_path in $LIB
10925 >      do
10926 >        IFS=$lt_save_ifs
10927 >        # Let DOS variable expansion print the short 8.3 style file name.
10928 >        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10929 >        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10930 >      done
10931 >      IFS=$lt_save_ifs
10932 >      # Convert to MSYS style.
10933 >      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10934 >      ;;
10935 >    cygwin*)
10936 >      # Convert to unix form, then to dos form, then back to unix form
10937 >      # but this time dos style (no spaces!) so that the unix form looks
10938 >      # like /cygdrive/c/PROGRA~1:/cygdr...
10939 >      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10940 >      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10941 >      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10942 >      ;;
10943 >    *)
10944 >      sys_lib_search_path_spec=$LIB
10945        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10946 <        # It is most probably a Windows format PATH printed by
9877 <        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9878 <        # path with ; separators, and with drive letters. We can handle the
9879 <        # drive letters (cygwin fileutils understands them), so leave them,
9880 <        # especially as we might pass files found there to a mingw objdump,
9881 <        # which wouldn't understand a cygwinified path. Ahh.
10946 >        # It is most probably a Windows format PATH.
10947          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10948        else
10949 <        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10949 >        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10950        fi
10951 <      ;;
10952 <    pw32*)
9888 <      # pw32 DLLs use 'pw' prefix rather than 'lib'
9889 <      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10951 >      # FIXME: find the short name or the path components, as spaces are
10952 >      # common. (e.g. "Program Files" -> "PROGRA~1")
10953        ;;
10954      esac
10955 +
10956 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10957 +    postinstall_cmds='base_file=`basename \$file`~
10958 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10959 +      dldir=$destdir/`dirname \$dlpath`~
10960 +      test -d \$dldir || mkdir -p \$dldir~
10961 +      $install_prog $dir/$dlname \$dldir/$dlname'
10962 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10963 +      dlpath=$dir/\$dldll~
10964 +       $RM \$dlpath'
10965 +    shlibpath_overrides_runpath=yes
10966 +    dynamic_linker='Win32 link.exe'
10967      ;;
10968  
10969    *)
10970 <    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10970 >    # Assume MSVC wrapper
10971 >    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10972 >    dynamic_linker='Win32 ld.exe'
10973      ;;
10974    esac
9898 –  dynamic_linker='Win32 ld.exe'
10975    # FIXME: first we should search . and the directory the executable is in
10976    shlibpath_var=PATH
10977    ;;
# Line 9905 | Line 10981 | darwin* | rhapsody*)
10981    version_type=darwin
10982    need_lib_prefix=no
10983    need_version=no
10984 <  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10985 <  soname_spec='${libname}${release}${major}$shared_ext'
10984 >  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10985 >  soname_spec='$libname$release$major$shared_ext'
10986    shlibpath_overrides_runpath=yes
10987    shlibpath_var=DYLD_LIBRARY_PATH
10988    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
# Line 9916 | Line 10992 | darwin* | rhapsody*)
10992    ;;
10993  
10994   dgux*)
10995 <  version_type=linux
10995 >  version_type=linux # correct to gnu/linux during the next big refactor
10996    need_lib_prefix=no
10997    need_version=no
10998 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10999 <  soname_spec='${libname}${release}${shared_ext}$major'
10998 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10999 >  soname_spec='$libname$release$shared_ext$major'
11000    shlibpath_var=LD_LIBRARY_PATH
11001    ;;
11002  
9927 – freebsd1*)
9928 –  dynamic_linker=no
9929 –  ;;
9930 –
11003   freebsd* | dragonfly*)
11004    # DragonFly does not have aout.  When/if they implement a new
11005    # versioning mechanism, adjust this.
# Line 9935 | Line 11007 | freebsd* | dragonfly*)
11007      objformat=`/usr/bin/objformat`
11008    else
11009      case $host_os in
11010 <    freebsd[123]*) objformat=aout ;;
11010 >    freebsd[23].*) objformat=aout ;;
11011      *) objformat=elf ;;
11012      esac
11013    fi
11014    version_type=freebsd-$objformat
11015    case $version_type in
11016      freebsd-elf*)
11017 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11017 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11018        need_version=no
11019        need_lib_prefix=no
11020        ;;
11021      freebsd-*)
11022 <      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11022 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11023        need_version=yes
11024        ;;
11025    esac
11026    shlibpath_var=LD_LIBRARY_PATH
11027    case $host_os in
11028 <  freebsd2*)
11028 >  freebsd2.*)
11029      shlibpath_overrides_runpath=yes
11030      ;;
11031    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9972 | Line 11044 | freebsd* | dragonfly*)
11044    esac
11045    ;;
11046  
11047 < gnu*)
11048 <  version_type=linux
11047 > haiku*)
11048 >  version_type=linux # correct to gnu/linux during the next big refactor
11049    need_lib_prefix=no
11050    need_version=no
11051 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11052 <  soname_spec='${libname}${release}${shared_ext}$major'
11053 <  shlibpath_var=LD_LIBRARY_PATH
11051 >  dynamic_linker="$host_os runtime_loader"
11052 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11053 >  soname_spec='$libname$release$shared_ext$major'
11054 >  shlibpath_var=LIBRARY_PATH
11055 >  shlibpath_overrides_runpath=no
11056 >  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11057    hardcode_into_libs=yes
11058    ;;
11059  
# Line 9995 | Line 11070 | hpux9* | hpux10* | hpux11*)
11070      dynamic_linker="$host_os dld.so"
11071      shlibpath_var=LD_LIBRARY_PATH
11072      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11073 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 <    soname_spec='${libname}${release}${shared_ext}$major'
11075 <    if test "X$HPUX_IA64_MODE" = X32; then
11073 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11074 >    soname_spec='$libname$release$shared_ext$major'
11075 >    if test 32 = "$HPUX_IA64_MODE"; then
11076        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11077      else
11078        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
# Line 10010 | Line 11085 | hpux9* | hpux10* | hpux11*)
11085      dynamic_linker="$host_os dld.sl"
11086      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11087      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11088 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089 <    soname_spec='${libname}${release}${shared_ext}$major'
11088 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11089 >    soname_spec='$libname$release$shared_ext$major'
11090      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11091      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11092      ;;
# Line 10020 | Line 11095 | hpux9* | hpux10* | hpux11*)
11095      dynamic_linker="$host_os dld.sl"
11096      shlibpath_var=SHLIB_PATH
11097      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11098 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11099 <    soname_spec='${libname}${release}${shared_ext}$major'
11098 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11099 >    soname_spec='$libname$release$shared_ext$major'
11100      ;;
11101    esac
11102 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11102 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11103    postinstall_cmds='chmod 555 $lib'
11104 +  # or fails outright, so override atomically:
11105 +  install_override_mode=555
11106    ;;
11107  
11108   interix[3-9]*)
11109 <  version_type=linux
11109 >  version_type=linux # correct to gnu/linux during the next big refactor
11110    need_lib_prefix=no
11111    need_version=no
11112 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11113 <  soname_spec='${libname}${release}${shared_ext}$major'
11112 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11113 >  soname_spec='$libname$release$shared_ext$major'
11114    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11115    shlibpath_var=LD_LIBRARY_PATH
11116    shlibpath_overrides_runpath=no
# Line 10044 | Line 11121 | irix5* | irix6* | nonstopux*)
11121    case $host_os in
11122      nonstopux*) version_type=nonstopux ;;
11123      *)
11124 <        if test "$lt_cv_prog_gnu_ld" = yes; then
11125 <                version_type=linux
11124 >        if test yes = "$lt_cv_prog_gnu_ld"; then
11125 >                version_type=linux # correct to gnu/linux during the next big refactor
11126          else
11127                  version_type=irix
11128          fi ;;
11129    esac
11130    need_lib_prefix=no
11131    need_version=no
11132 <  soname_spec='${libname}${release}${shared_ext}$major'
11133 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11132 >  soname_spec='$libname$release$shared_ext$major'
11133 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11134    case $host_os in
11135    irix5* | nonstopux*)
11136      libsuff= shlibsuff=
# Line 10072 | Line 11149 | irix5* | irix6* | nonstopux*)
11149    esac
11150    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11151    shlibpath_overrides_runpath=no
11152 <  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11153 <  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11152 >  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11153 >  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11154    hardcode_into_libs=yes
11155    ;;
11156  
# Line 10082 | Line 11159 | linux*oldld* | linux*aout* | linux*coff*
11159    dynamic_linker=no
11160    ;;
11161  
11162 < # This must be Linux ELF.
11163 < linux* | k*bsd*-gnu)
10087 <  version_type=linux
11162 > linux*android*)
11163 >  version_type=none # Android doesn't support versioned libraries.
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}'
11167 <  soname_spec='${libname}${release}${shared_ext}$major'
11166 >  library_names_spec='$libname$release$shared_ext'
11167 >  soname_spec='$libname$release$shared_ext'
11168 >  finish_cmds=
11169 >  shlibpath_var=LD_LIBRARY_PATH
11170 >  shlibpath_overrides_runpath=yes
11171 >
11172 >  # This implies no fast_install, which is unacceptable.
11173 >  # Some rework will be needed to allow for fast_install
11174 >  # before this can be enabled.
11175 >  hardcode_into_libs=yes
11176 >
11177 >  dynamic_linker='Android linker'
11178 >  # Don't embed -rpath directories since the linker doesn't support them.
11179 >  hardcode_libdir_flag_spec='-L$libdir'
11180 >  ;;
11181 >
11182 > # This must be glibc/ELF.
11183 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11184 >  version_type=linux # correct to gnu/linux during the next big refactor
11185 >  need_lib_prefix=no
11186 >  need_version=no
11187 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11188 >  soname_spec='$libname$release$shared_ext$major'
11189    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11190    shlibpath_var=LD_LIBRARY_PATH
11191    shlibpath_overrides_runpath=no
11192 +
11193    # Some binutils ld are patched to set DT_RUNPATH
11194 <  save_LDFLAGS=$LDFLAGS
11195 <  save_libdir=$libdir
11196 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11197 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11198 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11195 >  $as_echo_n "(cached) " >&6
11196 > else
11197 >  lt_cv_shlibpath_overrides_runpath=no
11198 >    save_LDFLAGS=$LDFLAGS
11199 >    save_libdir=$libdir
11200 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11201 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11202 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203   /* end confdefs.h.  */
11204  
11205   int
# Line 10110 | Line 11212 | main ()
11212   _ACEOF
11213   if ac_fn_c_try_link "$LINENO"; then :
11214    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11215 <  shlibpath_overrides_runpath=yes
11215 >  lt_cv_shlibpath_overrides_runpath=yes
11216   fi
11217   fi
11218   rm -f core conftest.err conftest.$ac_objext \
11219      conftest$ac_exeext conftest.$ac_ext
11220 <  LDFLAGS=$save_LDFLAGS
11221 <  libdir=$save_libdir
11220 >    LDFLAGS=$save_LDFLAGS
11221 >    libdir=$save_libdir
11222 >
11223 > fi
11224 >
11225 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11226  
11227    # This implies no fast_install, which is unacceptable.
11228    # Some rework will be needed to allow for fast_install
11229    # before this can be enabled.
11230    hardcode_into_libs=yes
11231  
10126 –  # find out which ABI we are using
10127 –  libsuff=
10128 –  case "$host_cpu" in
10129 –  x86_64*|s390x*|powerpc64*)
10130 –    echo '#line 10130 "configure"' > conftest.$ac_ext
10131 –    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10132 –  (eval $ac_compile) 2>&5
10133 –  ac_status=$?
10134 –  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135 –  test $ac_status = 0; }; then
10136 –      case `/usr/bin/file conftest.$ac_objext` in
10137 –      *64-bit*)
10138 –        libsuff=64
10139 –        ;;
10140 –      esac
10141 –    fi
10142 –    rm -rf conftest*
10143 –    ;;
10144 –  esac
10145 –
10146 –  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10147 –
11232    # Append ld.so.conf contents to the search path
11233    if test -f /etc/ld.so.conf; then
11234 <    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' ' '`
11235 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11234 >    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' ' '`
11235 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11236    fi
11237  
11238    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10165 | Line 11249 | netbsd*)
11249    need_lib_prefix=no
11250    need_version=no
11251    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11252 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11252 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11253      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11254      dynamic_linker='NetBSD (a.out) ld.so'
11255    else
11256 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11257 <    soname_spec='${libname}${release}${shared_ext}$major'
11256 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11257 >    soname_spec='$libname$release$shared_ext$major'
11258      dynamic_linker='NetBSD ld.elf_so'
11259    fi
11260    shlibpath_var=LD_LIBRARY_PATH
# Line 10179 | Line 11263 | netbsd*)
11263    ;;
11264  
11265   newsos6)
11266 <  version_type=linux
11267 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266 >  version_type=linux # correct to gnu/linux during the next big refactor
11267 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11268    shlibpath_var=LD_LIBRARY_PATH
11269    shlibpath_overrides_runpath=yes
11270    ;;
# Line 10189 | Line 11273 | newsos6)
11273    version_type=qnx
11274    need_lib_prefix=no
11275    need_version=no
11276 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11277 <  soname_spec='${libname}${release}${shared_ext}$major'
11276 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11277 >  soname_spec='$libname$release$shared_ext$major'
11278    shlibpath_var=LD_LIBRARY_PATH
11279    shlibpath_overrides_runpath=no
11280    hardcode_into_libs=yes
11281    dynamic_linker='ldqnx.so'
11282    ;;
11283  
11284 < openbsd*)
11284 > openbsd* | bitrig*)
11285    version_type=sunos
11286 <  sys_lib_dlsearch_path_spec="/usr/lib"
11286 >  sys_lib_dlsearch_path_spec=/usr/lib
11287    need_lib_prefix=no
11288 <  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11289 <  case $host_os in
10206 <    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10207 <    *)                          need_version=no  ;;
10208 <  esac
10209 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10210 <  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10211 <  shlibpath_var=LD_LIBRARY_PATH
10212 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10213 <    case $host_os in
10214 <      openbsd2.[89] | openbsd2.[89].*)
10215 <        shlibpath_overrides_runpath=no
10216 <        ;;
10217 <      *)
10218 <        shlibpath_overrides_runpath=yes
10219 <        ;;
10220 <      esac
11288 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11289 >    need_version=no
11290    else
11291 <    shlibpath_overrides_runpath=yes
11291 >    need_version=yes
11292    fi
11293 +  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11294 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11295 +  shlibpath_var=LD_LIBRARY_PATH
11296 +  shlibpath_overrides_runpath=yes
11297    ;;
11298  
11299   os2*)
11300    libname_spec='$name'
11301 <  shrext_cmds=".dll"
11301 >  shrext_cmds=.dll
11302    need_lib_prefix=no
11303 <  library_names_spec='$libname${shared_ext} $libname.a'
11303 >  library_names_spec='$libname$shared_ext $libname.a'
11304    dynamic_linker='OS/2 ld.exe'
11305    shlibpath_var=LIBPATH
11306    ;;
# Line 10236 | Line 11309 | osf3* | osf4* | osf5*)
11309    version_type=osf
11310    need_lib_prefix=no
11311    need_version=no
11312 <  soname_spec='${libname}${release}${shared_ext}$major'
11313 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11312 >  soname_spec='$libname$release$shared_ext$major'
11313 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11314    shlibpath_var=LD_LIBRARY_PATH
11315    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11316 <  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11316 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11317    ;;
11318  
11319   rdos*)
# Line 10248 | Line 11321 | rdos*)
11321    ;;
11322  
11323   solaris*)
11324 <  version_type=linux
11324 >  version_type=linux # correct to gnu/linux during the next big refactor
11325    need_lib_prefix=no
11326    need_version=no
11327 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328 <  soname_spec='${libname}${release}${shared_ext}$major'
11327 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11328 >  soname_spec='$libname$release$shared_ext$major'
11329    shlibpath_var=LD_LIBRARY_PATH
11330    shlibpath_overrides_runpath=yes
11331    hardcode_into_libs=yes
# Line 10262 | Line 11335 | solaris*)
11335  
11336   sunos4*)
11337    version_type=sunos
11338 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11338 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11339    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11340    shlibpath_var=LD_LIBRARY_PATH
11341    shlibpath_overrides_runpath=yes
11342 <  if test "$with_gnu_ld" = yes; then
11342 >  if test yes = "$with_gnu_ld"; then
11343      need_lib_prefix=no
11344    fi
11345    need_version=yes
11346    ;;
11347  
11348   sysv4 | sysv4.3*)
11349 <  version_type=linux
11350 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 <  soname_spec='${libname}${release}${shared_ext}$major'
11349 >  version_type=linux # correct to gnu/linux during the next big refactor
11350 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11351 >  soname_spec='$libname$release$shared_ext$major'
11352    shlibpath_var=LD_LIBRARY_PATH
11353    case $host_vendor in
11354      sni)
# Line 10296 | Line 11369 | sysv4 | sysv4.3*)
11369    ;;
11370  
11371   sysv4*MP*)
11372 <  if test -d /usr/nec ;then
11373 <    version_type=linux
11374 <    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11375 <    soname_spec='$libname${shared_ext}.$major'
11372 >  if test -d /usr/nec; then
11373 >    version_type=linux # correct to gnu/linux during the next big refactor
11374 >    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11375 >    soname_spec='$libname$shared_ext.$major'
11376      shlibpath_var=LD_LIBRARY_PATH
11377    fi
11378    ;;
# Line 10308 | Line 11381 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11381    version_type=freebsd-elf
11382    need_lib_prefix=no
11383    need_version=no
11384 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11385 <  soname_spec='${libname}${release}${shared_ext}$major'
11384 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11385 >  soname_spec='$libname$release$shared_ext$major'
11386    shlibpath_var=LD_LIBRARY_PATH
11387    shlibpath_overrides_runpath=yes
11388    hardcode_into_libs=yes
11389 <  if test "$with_gnu_ld" = yes; then
11389 >  if test yes = "$with_gnu_ld"; then
11390      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11391    else
11392      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
# Line 10328 | Line 11401 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11401  
11402   tpf*)
11403    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11404 <  version_type=linux
11404 >  version_type=linux # correct to gnu/linux during the next big refactor
11405    need_lib_prefix=no
11406    need_version=no
11407 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11407 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11408    shlibpath_var=LD_LIBRARY_PATH
11409    shlibpath_overrides_runpath=no
11410    hardcode_into_libs=yes
11411    ;;
11412  
11413   uts4*)
11414 <  version_type=linux
11415 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11416 <  soname_spec='${libname}${release}${shared_ext}$major'
11414 >  version_type=linux # correct to gnu/linux during the next big refactor
11415 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11416 >  soname_spec='$libname$release$shared_ext$major'
11417    shlibpath_var=LD_LIBRARY_PATH
11418    ;;
11419  
# Line 10350 | Line 11423 | uts4*)
11423   esac
11424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11425   $as_echo "$dynamic_linker" >&6; }
11426 < test "$dynamic_linker" = no && can_build_shared=no
11426 > test no = "$dynamic_linker" && can_build_shared=no
11427  
11428   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11429 < if test "$GCC" = yes; then
11429 > if test yes = "$GCC"; then
11430    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11431   fi
11432  
11433 < if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11434 <  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11433 > if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11434 >  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11435   fi
11436 < if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11437 <  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11436 > if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11437 >  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11438   fi
11439  
11440  
# Line 10450 | Line 11523 | fi
11523  
11524  
11525  
11526 +
11527 +
11528 +
11529 +
11530 +
11531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11532   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11533   hardcode_action=
11534   if test -n "$hardcode_libdir_flag_spec" ||
11535     test -n "$runpath_var" ||
11536 <   test "X$hardcode_automatic" = "Xyes" ; then
11536 >   test yes = "$hardcode_automatic"; then
11537  
11538    # We can hardcode non-existent directories.
11539 <  if test "$hardcode_direct" != no &&
11539 >  if test no != "$hardcode_direct" &&
11540       # If the only mechanism to avoid hardcoding is shlibpath_var, we
11541       # have to relink, otherwise we might link with an installed library
11542       # when we should be linking with a yet-to-be-installed one
11543 <     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11544 <     test "$hardcode_minus_L" != no; then
11543 >     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11544 >     test no != "$hardcode_minus_L"; then
11545      # Linking always hardcodes the temporary library directory.
11546      hardcode_action=relink
11547    else
# Line 10478 | Line 11556 | fi
11556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11557   $as_echo "$hardcode_action" >&6; }
11558  
11559 < if test "$hardcode_action" = relink ||
11560 <   test "$inherit_rpath" = yes; then
11559 > if test relink = "$hardcode_action" ||
11560 >   test yes = "$inherit_rpath"; then
11561    # Fast installation is not supported
11562    enable_fast_install=no
11563 < elif test "$shlibpath_overrides_runpath" = yes ||
11564 <     test "$enable_shared" = no; then
11563 > elif test yes = "$shlibpath_overrides_runpath" ||
11564 >     test no = "$enable_shared"; then
11565    # Fast installation is not necessary
11566    enable_fast_install=needless
11567   fi
# Line 10493 | Line 11571 | fi
11571  
11572  
11573  
11574 <  if test "x$enable_dlopen" != xyes; then
11574 >  if test yes != "$enable_dlopen"; then
11575    enable_dlopen=unknown
11576    enable_dlopen_self=unknown
11577    enable_dlopen_self_static=unknown
# Line 10503 | Line 11581 | else
11581  
11582    case $host_os in
11583    beos*)
11584 <    lt_cv_dlopen="load_add_on"
11584 >    lt_cv_dlopen=load_add_on
11585      lt_cv_dlopen_libs=
11586      lt_cv_dlopen_self=yes
11587      ;;
11588  
11589    mingw* | pw32* | cegcc*)
11590 <    lt_cv_dlopen="LoadLibrary"
11590 >    lt_cv_dlopen=LoadLibrary
11591      lt_cv_dlopen_libs=
11592      ;;
11593  
11594    cygwin*)
11595 <    lt_cv_dlopen="dlopen"
11595 >    lt_cv_dlopen=dlopen
11596      lt_cv_dlopen_libs=
11597      ;;
11598  
11599    darwin*)
11600 <  # if libdl is installed we need to link against it
11600 >    # if libdl is installed we need to link against it
11601      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11602   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11603 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11603 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11604    $as_echo_n "(cached) " >&6
11605   else
11606    ac_check_lib_save_LIBS=$LIBS
# Line 10556 | Line 11634 | LIBS=$ac_check_lib_save_LIBS
11634   fi
11635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11636   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11637 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11638 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11637 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11638 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11639   else
11640  
11641 <    lt_cv_dlopen="dyld"
11641 >    lt_cv_dlopen=dyld
11642      lt_cv_dlopen_libs=
11643      lt_cv_dlopen_self=yes
11644  
# Line 10568 | Line 11646 | fi
11646  
11647      ;;
11648  
11649 +  tpf*)
11650 +    # Don't try to run any link tests for TPF.  We know it's impossible
11651 +    # because TPF is a cross-compiler, and we know how we open DSOs.
11652 +    lt_cv_dlopen=dlopen
11653 +    lt_cv_dlopen_libs=
11654 +    lt_cv_dlopen_self=no
11655 +    ;;
11656 +
11657    *)
11658      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11659 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11660 <  lt_cv_dlopen="shl_load"
11659 > if test "x$ac_cv_func_shl_load" = xyes; then :
11660 >  lt_cv_dlopen=shl_load
11661   else
11662    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11663   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11664 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11664 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11665    $as_echo_n "(cached) " >&6
11666   else
11667    ac_check_lib_save_LIBS=$LIBS
# Line 10609 | Line 11695 | LIBS=$ac_check_lib_save_LIBS
11695   fi
11696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11697   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11698 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11699 <  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11698 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11699 >  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11700   else
11701    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11702 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11703 <  lt_cv_dlopen="dlopen"
11702 > if test "x$ac_cv_func_dlopen" = xyes; then :
11703 >  lt_cv_dlopen=dlopen
11704   else
11705    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11706   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11707 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11707 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11708    $as_echo_n "(cached) " >&6
11709   else
11710    ac_check_lib_save_LIBS=$LIBS
# Line 10652 | Line 11738 | LIBS=$ac_check_lib_save_LIBS
11738   fi
11739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11740   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11741 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11742 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11741 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11742 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11743   else
11744    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11745   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11746 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11746 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11747    $as_echo_n "(cached) " >&6
11748   else
11749    ac_check_lib_save_LIBS=$LIBS
# Line 10691 | Line 11777 | LIBS=$ac_check_lib_save_LIBS
11777   fi
11778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11779   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11780 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11781 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11780 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11781 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11782   else
11783    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11784   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11785 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11785 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11786    $as_echo_n "(cached) " >&6
11787   else
11788    ac_check_lib_save_LIBS=$LIBS
# Line 10730 | Line 11816 | LIBS=$ac_check_lib_save_LIBS
11816   fi
11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11818   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11819 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11820 <  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11819 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11820 >  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11821   fi
11822  
11823  
# Line 10752 | Line 11838 | fi
11838      ;;
11839    esac
11840  
11841 <  if test "x$lt_cv_dlopen" != xno; then
10756 <    enable_dlopen=yes
10757 <  else
11841 >  if test no = "$lt_cv_dlopen"; then
11842      enable_dlopen=no
11843 +  else
11844 +    enable_dlopen=yes
11845    fi
11846  
11847    case $lt_cv_dlopen in
11848    dlopen)
11849 <    save_CPPFLAGS="$CPPFLAGS"
11850 <    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11849 >    save_CPPFLAGS=$CPPFLAGS
11850 >    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11851  
11852 <    save_LDFLAGS="$LDFLAGS"
11852 >    save_LDFLAGS=$LDFLAGS
11853      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11854  
11855 <    save_LIBS="$LIBS"
11855 >    save_LIBS=$LIBS
11856      LIBS="$lt_cv_dlopen_libs $LIBS"
11857  
11858      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11859   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11860 < if test "${lt_cv_dlopen_self+set}" = set; then :
11860 > if ${lt_cv_dlopen_self+:} false; then :
11861    $as_echo_n "(cached) " >&6
11862   else
11863 <          if test "$cross_compiling" = yes; then :
11863 >          if test yes = "$cross_compiling"; then :
11864    lt_cv_dlopen_self=cross
11865   else
11866    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11867    lt_status=$lt_dlunknown
11868    cat > conftest.$ac_ext <<_LT_EOF
11869 < #line 10783 "configure"
11869 > #line $LINENO "configure"
11870   #include "confdefs.h"
11871  
11872   #if HAVE_DLFCN_H
# Line 10821 | Line 11907 | else
11907   #  endif
11908   #endif
11909  
11910 < void fnord() { int i=42;}
11910 > /* When -fvisbility=hidden is used, assume the code has been annotated
11911 >   correspondingly for the symbols needed.  */
11912 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11913 > int fnord () __attribute__((visibility("default")));
11914 > #endif
11915 >
11916 > int fnord () { return 42; }
11917   int main ()
11918   {
11919    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10830 | Line 11922 | int main ()
11922    if (self)
11923      {
11924        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11925 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11925 >      else
11926 >        {
11927 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11928 >          else puts (dlerror ());
11929 >        }
11930        /* dlclose (self); */
11931      }
11932    else
# Line 10843 | Line 11939 | _LT_EOF
11939    (eval $ac_link) 2>&5
11940    ac_status=$?
11941    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11942 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11942 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11943      (./conftest; exit; ) >&5 2>/dev/null
11944      lt_status=$?
11945      case x$lt_status in
# Line 10863 | Line 11959 | fi
11959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11960   $as_echo "$lt_cv_dlopen_self" >&6; }
11961  
11962 <    if test "x$lt_cv_dlopen_self" = xyes; then
11962 >    if test yes = "$lt_cv_dlopen_self"; then
11963        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11964        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11965   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11966 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11966 > if ${lt_cv_dlopen_self_static+:} false; then :
11967    $as_echo_n "(cached) " >&6
11968   else
11969 <          if test "$cross_compiling" = yes; then :
11969 >          if test yes = "$cross_compiling"; then :
11970    lt_cv_dlopen_self_static=cross
11971   else
11972    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11973    lt_status=$lt_dlunknown
11974    cat > conftest.$ac_ext <<_LT_EOF
11975 < #line 10879 "configure"
11975 > #line $LINENO "configure"
11976   #include "confdefs.h"
11977  
11978   #if HAVE_DLFCN_H
# Line 10917 | Line 12013 | else
12013   #  endif
12014   #endif
12015  
12016 < void fnord() { int i=42;}
12016 > /* When -fvisbility=hidden is used, assume the code has been annotated
12017 >   correspondingly for the symbols needed.  */
12018 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12019 > int fnord () __attribute__((visibility("default")));
12020 > #endif
12021 >
12022 > int fnord () { return 42; }
12023   int main ()
12024   {
12025    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10926 | Line 12028 | int main ()
12028    if (self)
12029      {
12030        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12031 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12031 >      else
12032 >        {
12033 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12034 >          else puts (dlerror ());
12035 >        }
12036        /* dlclose (self); */
12037      }
12038    else
# Line 10939 | Line 12045 | _LT_EOF
12045    (eval $ac_link) 2>&5
12046    ac_status=$?
12047    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12048 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12048 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12049      (./conftest; exit; ) >&5 2>/dev/null
12050      lt_status=$?
12051      case x$lt_status in
# Line 10960 | Line 12066 | fi
12066   $as_echo "$lt_cv_dlopen_self_static" >&6; }
12067      fi
12068  
12069 <    CPPFLAGS="$save_CPPFLAGS"
12070 <    LDFLAGS="$save_LDFLAGS"
12071 <    LIBS="$save_LIBS"
12069 >    CPPFLAGS=$save_CPPFLAGS
12070 >    LDFLAGS=$save_LDFLAGS
12071 >    LIBS=$save_LIBS
12072      ;;
12073    esac
12074  
# Line 11006 | Line 12112 | else
12112   # FIXME - insert some real tests, host_os isn't really good enough
12113    case $host_os in
12114    darwin*)
12115 <    if test -n "$STRIP" ; then
12115 >    if test -n "$STRIP"; then
12116        striplib="$STRIP -x"
12117        old_striplib="$STRIP -S"
12118        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 11034 | Line 12140 | fi
12140  
12141  
12142  
12143 <  # Report which library types will actually be built
12143 >  # Report what library types will actually be built
12144    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12145   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12146    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
# Line 11042 | Line 12148 | $as_echo "$can_build_shared" >&6; }
12148  
12149    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12150   $as_echo_n "checking whether to build shared libraries... " >&6; }
12151 <  test "$can_build_shared" = "no" && enable_shared=no
12151 >  test no = "$can_build_shared" && enable_shared=no
12152  
12153    # On AIX, shared libraries and static libraries use the same namespace, and
12154    # are all built from PIC.
12155    case $host_os in
12156    aix3*)
12157 <    test "$enable_shared" = yes && enable_static=no
12157 >    test yes = "$enable_shared" && enable_static=no
12158      if test -n "$RANLIB"; then
12159        archive_cmds="$archive_cmds~\$RANLIB \$lib"
12160        postinstall_cmds='$RANLIB $lib'
# Line 11056 | Line 12162 | $as_echo_n "checking whether to build sh
12162      ;;
12163  
12164    aix[4-9]*)
12165 <    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12166 <      test "$enable_shared" = yes && enable_static=no
12165 >    if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
12166 >      test yes = "$enable_shared" && enable_static=no
12167      fi
12168      ;;
12169    esac
# Line 11067 | Line 12173 | $as_echo "$enable_shared" >&6; }
12173    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12174   $as_echo_n "checking whether to build static libraries... " >&6; }
12175    # Make sure either enable_shared or enable_static is yes.
12176 <  test "$enable_shared" = yes || enable_static=yes
12176 >  test yes = "$enable_shared" || enable_static=yes
12177    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12178   $as_echo "$enable_static" >&6; }
12179  
# Line 11081 | Line 12187 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12187   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12188   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12189  
12190 < CC="$lt_save_CC"
12190 > CC=$lt_save_CC
12191 >
12192 >
12193  
12194  
12195  
# Line 11103 | Line 12211 | CC="$lt_save_CC"
12211   # Only expand once:
12212  
12213  
12214 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12215 < $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12216 < if test "${libltdl_cv_shlibext+set}" = set; then :
12214 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12215 > $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12216 > if ${libltdl_cv_shlibext+:} false; then :
12217    $as_echo_n "(cached) " >&6
12218   else
12219  
12220   module=yes
12221   eval libltdl_cv_shlibext=$shrext_cmds
12222 + module=no
12223 + eval libltdl_cv_shrext=$shrext_cmds
12224  
12225   fi
12226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11122 | Line 12232 | cat >>confdefs.h <<_ACEOF
12232   _ACEOF
12233  
12234   fi
12235 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12236 +
12237 + cat >>confdefs.h <<_ACEOF
12238 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12239 + _ACEOF
12240 +
12241 + fi
12242  
12243 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12244 < $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12245 < if test "${lt_cv_module_path_var+set}" = set; then :
12243 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12244 > $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12245 > if ${lt_cv_module_path_var+:} false; then :
12246    $as_echo_n "(cached) " >&6
12247   else
12248 <  lt_cv_module_path_var="$shlibpath_var"
12248 >  lt_cv_module_path_var=$shlibpath_var
12249   fi
12250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12251   $as_echo "$lt_cv_module_path_var" >&6; }
# Line 11142 | Line 12259 | fi
12259  
12260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12261   $as_echo_n "checking for the default library search path... " >&6; }
12262 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12262 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12263    $as_echo_n "(cached) " >&6
12264   else
12265 <  lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12265 >  lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
12266   fi
12267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12268   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
# Line 11153 | Line 12270 | if test -n "$lt_cv_sys_dlsearch_path"; t
12270    sys_dlsearch_path=
12271    for dir in $lt_cv_sys_dlsearch_path; do
12272      if test -z "$sys_dlsearch_path"; then
12273 <      sys_dlsearch_path="$dir"
12273 >      sys_dlsearch_path=$dir
12274      else
12275 <      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12275 >      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
12276      fi
12277    done
12278  
# Line 11179 | Line 12296 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12296   LIBADD_DLOPEN=
12297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12298   $as_echo_n "checking for library containing dlopen... " >&6; }
12299 < if test "${ac_cv_search_dlopen+set}" = set; then :
12299 > if ${ac_cv_search_dlopen+:} false; then :
12300    $as_echo_n "(cached) " >&6
12301   else
12302    ac_func_search_save_LIBS=$LIBS
# Line 11213 | Line 12330 | for ac_lib in '' dl; do
12330   fi
12331   rm -f core conftest.err conftest.$ac_objext \
12332      conftest$ac_exeext
12333 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12333 >  if ${ac_cv_search_dlopen+:} false; then :
12334    break
12335   fi
12336   done
12337 < if test "${ac_cv_search_dlopen+set}" = set; then :
12337 > if ${ac_cv_search_dlopen+:} false; then :
12338  
12339   else
12340    ac_cv_search_dlopen=no
# Line 11233 | Line 12350 | if test "$ac_res" != no; then :
12350  
12351   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12352  
12353 <        if test "$ac_cv_search_dlopen" != "none required" ; then
12354 <          LIBADD_DLOPEN="-ldl"
12353 >        if test "$ac_cv_search_dlopen" != "none required"; then
12354 >          LIBADD_DLOPEN=-ldl
12355          fi
12356 <        libltdl_cv_lib_dl_dlopen="yes"
12356 >        libltdl_cv_lib_dl_dlopen=yes
12357          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12358   else
12359    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 11257 | Line 12374 | if ac_fn_c_try_link "$LINENO"; then :
12374  
12375   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12376  
12377 <            libltdl_cv_func_dlopen="yes"
12377 >            libltdl_cv_func_dlopen=yes
12378              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12379   else
12380    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12381   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12382 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12382 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12383    $as_echo_n "(cached) " >&6
12384   else
12385    ac_check_lib_save_LIBS=$LIBS
# Line 11296 | Line 12413 | LIBS=$ac_check_lib_save_LIBS
12413   fi
12414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12415   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12416 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12416 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12417  
12418   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12419  
12420 <                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12420 >                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
12421                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12422   fi
12423  
# Line 11309 | Line 12426 | rm -f core conftest.err conftest.$ac_obj
12426      conftest$ac_exeext conftest.$ac_ext
12427   fi
12428  
12429 < if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12429 > if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
12430   then
12431 <  lt_save_LIBS="$LIBS"
12431 >  lt_save_LIBS=$LIBS
12432    LIBS="$LIBS $LIBADD_DLOPEN"
12433    for ac_func in dlerror
12434   do :
12435    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12436 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12436 > if test "x$ac_cv_func_dlerror" = xyes; then :
12437    cat >>confdefs.h <<_ACEOF
12438   #define HAVE_DLERROR 1
12439   _ACEOF
# Line 11324 | Line 12441 | _ACEOF
12441   fi
12442   done
12443  
12444 <  LIBS="$lt_save_LIBS"
12444 >  LIBS=$lt_save_LIBS
12445   fi
12446  
12447  
12448   LIBADD_SHL_LOAD=
12449   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12450 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12450 > if test "x$ac_cv_func_shl_load" = xyes; then :
12451  
12452   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12453  
# Line 11338 | Line 12455 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12455   else
12456    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12457   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12458 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12458 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12459    $as_echo_n "(cached) " >&6
12460   else
12461    ac_check_lib_save_LIBS=$LIBS
# Line 11372 | Line 12489 | LIBS=$ac_check_lib_save_LIBS
12489   fi
12490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12491   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12492 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12492 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12493  
12494   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12495  
12496              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12497 <            LIBADD_SHL_LOAD="-ldld"
12497 >            LIBADD_SHL_LOAD=-ldld
12498   fi
12499  
12500   fi
# Line 11388 | Line 12505 | case $host_os in
12505   darwin[1567].*)
12506   # We only want this for pre-Mac OS X 10.4.
12507    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12508 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12508 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12509  
12510   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12511  
# Line 11402 | Line 12519 | beos*)
12519   cygwin* | mingw* | os2* | pw32*)
12520    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12521   "
12522 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12522 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12523    ac_have_decl=1
12524   else
12525    ac_have_decl=0
# Line 11418 | Line 12535 | esac
12535  
12536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12537   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12538 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12538 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12539    $as_echo_n "(cached) " >&6
12540   else
12541    ac_check_lib_save_LIBS=$LIBS
# Line 11452 | Line 12569 | LIBS=$ac_check_lib_save_LIBS
12569   fi
12570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12571   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12572 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12572 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12573  
12574   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12575  
# Line 11486 | Line 12603 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12603  
12604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12605   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12606 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12606 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12607    $as_echo_n "(cached) " >&6
12608   else
12609    lt_cv_sys_symbol_underscore=no
# Line 11531 | Line 12648 | $as_echo "$lt_cv_sys_symbol_underscore"
12648    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12649  
12650  
12651 < if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12652 <  if test x"$libltdl_cv_func_dlopen" = xyes ||
12653 <     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12651 > if test yes = "$lt_cv_sys_symbol_underscore"; then
12652 >  if test yes = "$libltdl_cv_func_dlopen" ||
12653 >     test yes = "$libltdl_cv_lib_dl_dlopen"; then
12654          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12655   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12656 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12656 > if ${libltdl_cv_need_uscore+:} false; then :
12657    $as_echo_n "(cached) " >&6
12658   else
12659    libltdl_cv_need_uscore=unknown
12660 <          save_LIBS="$LIBS"
12660 >          save_LIBS=$LIBS
12661            LIBS="$LIBS $LIBADD_DLOPEN"
12662 <          if test "$cross_compiling" = yes; then :
12662 >          if test yes = "$cross_compiling"; then :
12663    libltdl_cv_need_uscore=cross
12664   else
12665    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12666    lt_status=$lt_dlunknown
12667    cat > conftest.$ac_ext <<_LT_EOF
12668 < #line 11551 "configure"
12668 > #line $LINENO "configure"
12669   #include "confdefs.h"
12670  
12671   #if HAVE_DLFCN_H
# Line 11589 | Line 12706 | else
12706   #  endif
12707   #endif
12708  
12709 < void fnord() { int i=42;}
12709 > /* When -fvisbility=hidden is used, assume the code has been annotated
12710 >   correspondingly for the symbols needed.  */
12711 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12712 > int fnord () __attribute__((visibility("default")));
12713 > #endif
12714 >
12715 > int fnord () { return 42; }
12716   int main ()
12717   {
12718    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11598 | Line 12721 | int main ()
12721    if (self)
12722      {
12723        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12724 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12724 >      else
12725 >        {
12726 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12727 >          else puts (dlerror ());
12728 >        }
12729        /* dlclose (self); */
12730      }
12731    else
# Line 11611 | Line 12738 | _LT_EOF
12738    (eval $ac_link) 2>&5
12739    ac_status=$?
12740    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12741 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12741 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12742      (./conftest; exit; ) >&5 2>/dev/null
12743      lt_status=$?
12744      case x$lt_status in
# Line 11626 | Line 12753 | _LT_EOF
12753   fi
12754   rm -fr conftest*
12755  
12756 <          LIBS="$save_LIBS"
12756 >          LIBS=$save_LIBS
12757  
12758   fi
12759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
# Line 11634 | Line 12761 | $as_echo "$libltdl_cv_need_uscore" >&6;
12761    fi
12762   fi
12763  
12764 < if test x"$libltdl_cv_need_uscore" = xyes; then
12764 > if test yes = "$libltdl_cv_need_uscore"; then
12765  
12766   $as_echo "#define NEED_USCORE 1" >>confdefs.h
12767  
# Line 11642 | Line 12769 | fi
12769  
12770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12771   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12772 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12772 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12773    $as_echo_n "(cached) " >&6
12774   else
12775    # PORTME does your system automatically load deplibs for dlopen?
# Line 11653 | Line 12780 | else
12780    case $host_os in
12781    aix3*|aix4.1.*|aix4.2.*)
12782      # Unknown whether this is true for these versions of AIX, but
12783 <    # we want this `case' here to explicitly catch those versions.
12783 >    # we want this 'case' here to explicitly catch those versions.
12784      lt_cv_sys_dlopen_deplibs=unknown
12785      ;;
12786    aix[4-9]*)
# Line 11666 | Line 12793 | else
12793        ;;
12794      esac
12795      ;;
12796 +  bitrig*)
12797 +    lt_cv_sys_dlopen_deplibs=yes
12798 +    ;;
12799    darwin*)
12800      # Assuming the user has installed a libdl from somewhere, this is true
12801      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
# Line 11674 | Line 12804 | else
12804    freebsd* | dragonfly*)
12805      lt_cv_sys_dlopen_deplibs=yes
12806      ;;
12807 <  gnu* | linux* | k*bsd*-gnu)
12807 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12808      # GNU and its variants, using gnu ld.so (Glibc)
12809      lt_cv_sys_dlopen_deplibs=yes
12810      ;;
# Line 11703 | Line 12833 | else
12833    osf[1234]*)
12834      # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12835      # it did *not* use an RPATH in a shared library to find objects the
12836 <    # library depends on, so we explicitly say `no'.
12836 >    # library depends on, so we explicitly say 'no'.
12837      lt_cv_sys_dlopen_deplibs=no
12838      ;;
12839    osf5.0|osf5.0a|osf5.1)
# Line 11712 | Line 12842 | else
12842      # that the library depends on, but there's no easy way to know if that
12843      # patch is installed.  Since this is the case, all we can really
12844      # say is unknown -- it depends on the patch being installed.  If
12845 <    # it is, this changes to `yes'.  Without it, it would be `no'.
12845 >    # it is, this changes to 'yes'.  Without it, it would be 'no'.
12846      lt_cv_sys_dlopen_deplibs=unknown
12847      ;;
12848    osf*)
12849      # the two cases above should catch all versions of osf <= 5.1.  Read
12850      # the comments above for what we know about them.
12851      # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12852 <    # is used to find them so we can finally say `yes'.
12852 >    # is used to find them so we can finally say 'yes'.
12853      lt_cv_sys_dlopen_deplibs=yes
12854      ;;
12855    qnx*)
# Line 11736 | Line 12866 | else
12866   fi
12867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12868   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12869 < if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12869 > if test yes != "$lt_cv_sys_dlopen_deplibs"; then
12870  
12871   $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12872  
# Line 11748 | Line 12878 | for ac_header in argz.h
12878   do :
12879    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12880   "
12881 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12881 > if test "x$ac_cv_header_argz_h" = xyes; then :
12882    cat >>confdefs.h <<_ACEOF
12883   #define HAVE_ARGZ_H 1
12884   _ACEOF
# Line 11762 | Line 12892 | ac_fn_c_check_type "$LINENO" "error_t" "
12892   #  include <argz.h>
12893   #endif
12894   "
12895 < if test "x$ac_cv_type_error_t" = x""yes; then :
12895 > if test "x$ac_cv_type_error_t" = xyes; then :
12896  
12897   cat >>confdefs.h <<_ACEOF
12898   #define HAVE_ERROR_T 1
# Line 11785 | Line 12915 | for ac_func in argz_add argz_append argz
12915   do :
12916    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12917   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12918 < eval as_val=\$$as_ac_var
11789 <   if test "x$as_val" = x""yes; then :
12918 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12919    cat >>confdefs.h <<_ACEOF
12920   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12921   _ACEOF
# Line 11803 | Line 12932 | done
12932   if test -z "$ARGZ_H"; then :
12933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12934   $as_echo_n "checking if argz actually works... " >&6; }
12935 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12935 > if ${lt_cv_sys_argz_works+:} false; then :
12936    $as_echo_n "(cached) " >&6
12937   else
12938    case $host_os in #(
12939           *cygwin*)
12940             lt_cv_sys_argz_works=no
12941 <           if test "$cross_compiling" != no; then
12941 >           if test no != "$cross_compiling"; then
12942               lt_cv_sys_argz_works="guessing no"
12943             else
12944               lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
# Line 11820 | Line 12949 | else
12949               lt_os_major=${2-0}
12950               lt_os_minor=${3-0}
12951               lt_os_micro=${4-0}
12952 <             if test "$lt_os_major" -gt 1 \
12953 <                || { test "$lt_os_major" -eq 1 \
12954 <                  && { test "$lt_os_minor" -gt 5 \
12955 <                    || { test "$lt_os_minor" -eq 5 \
12956 <                      && test "$lt_os_micro" -gt 24; }; }; }; then
12952 >             if test 1 -lt "$lt_os_major" \
12953 >                || { test 1 -eq "$lt_os_major" \
12954 >                  && { test 5 -lt "$lt_os_minor" \
12955 >                    || { test 5 -eq "$lt_os_minor" \
12956 >                      && test 24 -lt "$lt_os_micro"; }; }; }; then
12957                 lt_cv_sys_argz_works=yes
12958               fi
12959             fi
# Line 11834 | Line 12963 | else
12963   fi
12964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12965   $as_echo "$lt_cv_sys_argz_works" >&6; }
12966 <     if test $lt_cv_sys_argz_works = yes; then :
12966 >     if test yes = "$lt_cv_sys_argz_works"; then :
12967  
12968   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12969  
# Line 11851 | Line 12980 | fi
12980  
12981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12982   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12983 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12983 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12984    $as_echo_n "(cached) " >&6
12985   else
12986    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11863 | Line 12992 | else
12992   fi
12993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
12994   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12995 < if test x"$libltdl_cv_preloaded_symbols" = xyes; then
12995 > if test yes = "$libltdl_cv_preloaded_symbols"; then
12996  
12997   $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
12998  
12999   fi
13000  
11872 –
11873 –
13001   # Set options
13002  
13003  
# Line 11883 | Line 13010 | fi
13010  
13011  
13012  
11886 –
13013   # Check whether --with-included_ltdl was given.
13014   if test "${with_included_ltdl+set}" = set; then :
13015    withval=$with_included_ltdl;
13016   fi
13017  
13018  
13019 < if test "x$with_included_ltdl" != xyes; then
13019 > if test yes != "$with_included_ltdl"; then
13020    # We are not being forced to use the included libltdl sources, so
13021    # decide whether there is a useful installed version we can use.
13022    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13023  
13024   "
13025 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
13025 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
13026    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13027              #include <ltdl.h>
13028   "
13029 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
13029 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
13030    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13031   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13032 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
13032 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
13033    $as_echo_n "(cached) " >&6
13034   else
13035    ac_check_lib_save_LIBS=$LIBS
# Line 11937 | Line 13063 | LIBS=$ac_check_lib_save_LIBS
13063   fi
13064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13065   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13066 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
13066 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
13067    with_included_ltdl=no
13068   else
13069    with_included_ltdl=yes
# Line 11957 | Line 13083 | fi
13083  
13084  
13085  
11960 –
11961 –
11962 –
11963 –
11964 –
13086   # Check whether --with-ltdl_include was given.
13087   if test "${with_ltdl_include+set}" = set; then :
13088    withval=$with_ltdl_include;
# Line 11971 | Line 13092 | fi
13092   if test -n "$with_ltdl_include"; then
13093    if test -f "$with_ltdl_include/ltdl.h"; then :
13094    else
13095 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13095 >    as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
13096    fi
13097   else
13098    with_ltdl_include=no
# Line 11987 | Line 13108 | fi
13108   if test -n "$with_ltdl_lib"; then
13109    if test -f "$with_ltdl_lib/libltdl.la"; then :
13110    else
13111 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13111 >    as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
13112    fi
13113   else
13114    with_ltdl_lib=no
# Line 11996 | Line 13117 | fi
13117   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13118    ,yes,no,no,)
13119          case $enable_ltdl_convenience in
13120 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13120 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13121    "") enable_ltdl_convenience=yes
13122        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13123   esac
13124 < LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13124 > LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13125   LTDLDEPS=$LIBLTDL
13126 < LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13126 > LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13127  
13128  
13129  
13130  
13131  
13132   # For backwards non-gettext consistent compatibility...
13133 < INCLTDL="$LTDLINCL"
13133 > INCLTDL=$LTDLINCL
13134  
13135  
13136          ;;
# Line 12024 | Line 13145 | $as_echo "#define HAVE_LTDL 1" >>confdef
13145          LTDLINCL=
13146          ;;
13147    ,no*,no,*)
13148 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13148 >        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
13149          ;;
13150    *)    with_included_ltdl=no
13151          LIBLTDL="-L$with_ltdl_lib -lltdl"
13152          LTDLDEPS=
13153 <        LTDLINCL="-I$with_ltdl_include"
13153 >        LTDLINCL=-I$with_ltdl_include
13154          ;;
13155   esac
13156 < INCLTDL="$LTDLINCL"
13156 > INCLTDL=$LTDLINCL
13157  
13158   # Report our decision...
13159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
# Line 12052 | Line 13173 | if test "${enable_ltdl_install+set}" = s
13173   fi
13174  
13175  
13176 < case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13176 > case ,$enable_ltdl_install,$enable_ltdl_convenience in
13177    *yes*) ;;
13178    *) enable_ltdl_convenience=yes ;;
13179   esac
13180  
13181 < if test x"${enable_ltdl_install-no}" != xno; then
13181 > if test no != "${enable_ltdl_install-no}"; then
13182    INSTALL_LTDL_TRUE=
13183    INSTALL_LTDL_FALSE='#'
13184   else
# Line 12065 | Line 13186 | else
13186    INSTALL_LTDL_FALSE=
13187   fi
13188  
13189 <  if test x"${enable_ltdl_convenience-no}" != xno; then
13189 >  if test no != "${enable_ltdl_convenience-no}"; then
13190    CONVENIENCE_LTDL_TRUE=
13191    CONVENIENCE_LTDL_FALSE='#'
13192   else
# Line 12075 | Line 13196 | fi
13196  
13197  
13198  
12078 –    subdirs="$subdirs libltdl"
12079 –
12080 –
13199  
13200  
13201  
# Line 12094 | Line 13212 | do :
13212    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13213   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13214   "
13215 < eval as_val=\$$as_ac_Header
12098 <   if test "x$as_val" = x""yes; then :
13215 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13216    cat >>confdefs.h <<_ACEOF
13217   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13218   _ACEOF
# Line 12109 | Line 13226 | for ac_func in closedir opendir readdir
13226   do :
13227    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13228   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13229 < eval as_val=\$$as_ac_var
12113 <   if test "x$as_val" = x""yes; then :
13229 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13230    cat >>confdefs.h <<_ACEOF
13231   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13232   _ACEOF
# Line 12127 | Line 13243 | for ac_func in strlcat strlcpy
13243   do :
13244    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13245   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13246 < eval as_val=\$$as_ac_var
12131 <   if test "x$as_val" = x""yes; then :
13246 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13247    cat >>confdefs.h <<_ACEOF
13248   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13249   _ACEOF
# Line 12148 | Line 13263 | cat >>confdefs.h <<_ACEOF
13263   _ACEOF
13264  
13265  
13266 + name=
13267 + eval "lt_libprefix=\"$libname_spec\""
13268 +
13269 + cat >>confdefs.h <<_ACEOF
13270 + #define LT_LIBPREFIX "$lt_libprefix"
13271 + _ACEOF
13272 +
13273 +
13274   name=ltdl
13275 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13275 > eval "LTDLOPEN=\"$libname_spec\""
13276  
13277  
13278  
# Line 12165 | Line 13288 | LIBTOOL="$LIBTOOL --silent"
13288  
13289   # Checks for libraries.
13290  
13291 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13292 < $as_echo_n "checking for library containing socket... " >&6; }
13293 < if test "${ac_cv_search_socket+set}" = set; then :
13291 >
13292 >  if test "X$CC" != "X"; then
13293 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13294 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13295 > if ${ssp_cv_cc+:} false; then :
13296 >  $as_echo_n "(cached) " >&6
13297 > else
13298 >  ssp_old_cflags="$CFLAGS"
13299 >       CFLAGS="$CFLAGS -fstack-protector"
13300 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13301 > /* end confdefs.h.  */
13302 >
13303 > int
13304 > main ()
13305 > {
13306 >
13307 >  ;
13308 >  return 0;
13309 > }
13310 > _ACEOF
13311 > if ac_fn_c_try_compile "$LINENO"; then :
13312 >  ssp_cv_cc=yes
13313 > else
13314 >  ssp_cv_cc=no
13315 > fi
13316 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13317 >       CFLAGS="$ssp_old_cflags"
13318 >
13319 > fi
13320 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13321 > $as_echo "$ssp_cv_cc" >&6; }
13322 >    if test $ssp_cv_cc = yes; then
13323 >      CFLAGS="$CFLAGS -fstack-protector"
13324 >
13325 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13326 >
13327 >    fi
13328 >  fi
13329 >
13330 >
13331 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13332 > $as_echo_n "checking whether libssp exists... " >&6; }
13333 > if ${ssp_cv_lib+:} false; then :
13334 >  $as_echo_n "(cached) " >&6
13335 > else
13336 >  ssp_old_libs="$LIBS"
13337 >     LIBS="$LIBS -lssp"
13338 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 > /* end confdefs.h.  */
13340 >
13341 > int
13342 > main ()
13343 > {
13344 >
13345 >  ;
13346 >  return 0;
13347 > }
13348 > _ACEOF
13349 > if ac_fn_c_try_link "$LINENO"; then :
13350 >  ssp_cv_lib=yes
13351 > else
13352 >  ssp_cv_lib=no
13353 > fi
13354 > rm -f core conftest.err conftest.$ac_objext \
13355 >    conftest$ac_exeext conftest.$ac_ext
13356 >     LIBS="$ssp_old_libs"
13357 >
13358 > fi
13359 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13360 > $as_echo "$ssp_cv_lib" >&6; }
13361 >  if test $ssp_cv_lib = yes; then
13362 >    LIBS="$LIBS -lssp"
13363 >  fi
13364 >
13365 >
13366 >
13367 >
13368 >
13369 >
13370 > for flag in -fno-strict-aliasing; do
13371 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13372 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13373 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13374 > if eval \${$as_CACHEVAR+:} false; then :
13375 >  $as_echo_n "(cached) " >&6
13376 > else
13377 >
13378 >  ax_check_save_flags=$CFLAGS
13379 >  CFLAGS="$CFLAGS  $flag"
13380 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13381 > /* end confdefs.h.  */
13382 >
13383 > int
13384 > main ()
13385 > {
13386 >
13387 >  ;
13388 >  return 0;
13389 > }
13390 > _ACEOF
13391 > if ac_fn_c_try_compile "$LINENO"; then :
13392 >  eval "$as_CACHEVAR=yes"
13393 > else
13394 >  eval "$as_CACHEVAR=no"
13395 > fi
13396 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397 >  CFLAGS=$ax_check_save_flags
13398 > fi
13399 > eval ac_res=\$$as_CACHEVAR
13400 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13401 > $as_echo "$ac_res" >&6; }
13402 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13403 >  if ${CFLAGS+:} false; then :
13404 >  case " $CFLAGS " in
13405 >    *" $flag "*)
13406 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13407 >  (: CFLAGS already contains $flag) 2>&5
13408 >  ac_status=$?
13409 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13410 >  test $ac_status = 0; }
13411 >      ;;
13412 >    *)
13413 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13414 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13415 >  ac_status=$?
13416 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13417 >  test $ac_status = 0; }
13418 >      CFLAGS="$CFLAGS $flag"
13419 >      ;;
13420 >   esac
13421 > else
13422 >  CFLAGS="$flag"
13423 > fi
13424 >
13425 > else
13426 >  :
13427 > fi
13428 >
13429 > done
13430 >
13431 >
13432 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13433 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13434 >
13435 > else
13436 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13437 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13438 > if ${ac_cv_search_getaddrinfo+:} false; then :
13439    $as_echo_n "(cached) " >&6
13440   else
13441    ac_func_search_save_LIBS=$LIBS
# Line 12180 | Line 13448 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13448   #ifdef __cplusplus
13449   extern "C"
13450   #endif
13451 < char socket ();
13451 > char getaddrinfo ();
13452   int
13453   main ()
13454   {
13455 < return socket ();
13455 > return getaddrinfo ();
13456    ;
13457    return 0;
13458   }
13459   _ACEOF
13460 < for ac_lib in '' socket; do
13460 > for ac_lib in '' nsl; do
13461    if test -z "$ac_lib"; then
13462      ac_res="none required"
13463    else
# Line 12197 | Line 13465 | for ac_lib in '' socket; do
13465      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13466    fi
13467    if ac_fn_c_try_link "$LINENO"; then :
13468 <  ac_cv_search_socket=$ac_res
13468 >  ac_cv_search_getaddrinfo=$ac_res
13469   fi
13470   rm -f core conftest.err conftest.$ac_objext \
13471      conftest$ac_exeext
13472 <  if test "${ac_cv_search_socket+set}" = set; then :
13472 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13473    break
13474   fi
13475   done
13476 < if test "${ac_cv_search_socket+set}" = set; then :
13476 > if ${ac_cv_search_getaddrinfo+:} false; then :
13477  
13478   else
13479 <  ac_cv_search_socket=no
13479 >  ac_cv_search_getaddrinfo=no
13480   fi
13481   rm conftest.$ac_ext
13482   LIBS=$ac_func_search_save_LIBS
13483   fi
13484 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13485 < $as_echo "$ac_cv_search_socket" >&6; }
13486 < ac_res=$ac_cv_search_socket
13484 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13485 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13486 > ac_res=$ac_cv_search_getaddrinfo
13487   if test "$ac_res" != no; then :
13488    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13489  
12222 – else
12223 –  as_fn_error "socket library not found" "$LINENO" 5
13490   fi
13491  
12226 –  for ac_func in inet_aton inet_ntop inet_pton
12227 – do :
12228 –  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12229 – ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12230 – eval as_val=\$$as_ac_var
12231 –   if test "x$as_val" = x""yes; then :
12232 –  cat >>confdefs.h <<_ACEOF
12233 – #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12234 – _ACEOF
12235 –
13492   fi
12237 – done
13493  
13494 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13495 <   #include <sys/socket.h>
12241 <   #include <netdb.h>
13494 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13495 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13496  
13497 < "
13498 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13497 > else
13498 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13499 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13500 > if ${ac_cv_search_getnameinfo+:} false; then :
13501 >  $as_echo_n "(cached) " >&6
13502 > else
13503 >  ac_func_search_save_LIBS=$LIBS
13504 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13505 > /* end confdefs.h.  */
13506  
13507 < cat >>confdefs.h <<_ACEOF
13508 < #define HAVE_STRUCT_SOCKADDR_IN 1
13507 > /* Override any GCC internal prototype to avoid an error.
13508 >   Use char because int might match the return type of a GCC
13509 >   builtin and then its argument prototype would still apply.  */
13510 > #ifdef __cplusplus
13511 > extern "C"
13512 > #endif
13513 > char getnameinfo ();
13514 > int
13515 > main ()
13516 > {
13517 > return getnameinfo ();
13518 >  ;
13519 >  return 0;
13520 > }
13521   _ACEOF
13522 <
13523 <
13522 > for ac_lib in '' nsl; do
13523 >  if test -z "$ac_lib"; then
13524 >    ac_res="none required"
13525 >  else
13526 >    ac_res=-l$ac_lib
13527 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13528 >  fi
13529 >  if ac_fn_c_try_link "$LINENO"; then :
13530 >  ac_cv_search_getnameinfo=$ac_res
13531   fi
13532 < ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13533 <   #include <sys/socket.h>
13534 <   #include <netdb.h>
13535 <
12256 < "
12257 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12258 <
12259 < cat >>confdefs.h <<_ACEOF
12260 < #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12261 < _ACEOF
12262 <
12263 <
13532 > rm -f core conftest.err conftest.$ac_objext \
13533 >    conftest$ac_exeext
13534 >  if ${ac_cv_search_getnameinfo+:} false; then :
13535 >  break
13536   fi
13537 < ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13538 <   #include <sys/socket.h>
12267 <   #include <netdb.h>
12268 <
12269 < "
12270 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12271 <
12272 < cat >>confdefs.h <<_ACEOF
12273 < #define HAVE_STRUCT_ADDRINFO 1
12274 < _ACEOF
12275 <
13537 > done
13538 > if ${ac_cv_search_getnameinfo+:} false; then :
13539  
13540 + else
13541 +  ac_cv_search_getnameinfo=no
13542   fi
13543 <
13544 <  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12280 <  <sys/socket.h>
12281 < "
12282 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12283 <
12284 < cat >>confdefs.h <<_ACEOF
12285 < #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
12286 < _ACEOF
12287 <
12288 <
13543 > rm conftest.$ac_ext
13544 > LIBS=$ac_func_search_save_LIBS
13545   fi
13546 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13547 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13548 + ac_res=$ac_cv_search_getnameinfo
13549 + if test "$ac_res" != no; then :
13550 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13551  
13552 + fi
13553  
13554 + fi
13555  
13556 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13557 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13556 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13557 > $as_echo_n "checking for library containing socket... " >&6; }
13558 > if ${ac_cv_search_socket+:} false; then :
13559 >  $as_echo_n "(cached) " >&6
13560 > else
13561 >  ac_func_search_save_LIBS=$LIBS
13562 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 > /* end confdefs.h.  */
13564  
13565 < cat >>confdefs.h <<_ACEOF
13566 < #define HAVE_STRUCT_SOCKADDR_IN6 1
13565 > /* Override any GCC internal prototype to avoid an error.
13566 >   Use char because int might match the return type of a GCC
13567 >   builtin and then its argument prototype would still apply.  */
13568 > #ifdef __cplusplus
13569 > extern "C"
13570 > #endif
13571 > char socket ();
13572 > int
13573 > main ()
13574 > {
13575 > return socket ();
13576 >  ;
13577 >  return 0;
13578 > }
13579   _ACEOF
13580 <
13580 > for ac_lib in '' socket; do
13581 >  if test -z "$ac_lib"; then
13582 >    ac_res="none required"
13583 >  else
13584 >    ac_res=-l$ac_lib
13585 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13586 >  fi
13587 >  if ac_fn_c_try_link "$LINENO"; then :
13588 >  ac_cv_search_socket=$ac_res
13589 > fi
13590 > rm -f core conftest.err conftest.$ac_objext \
13591 >    conftest$ac_exeext
13592 >  if ${ac_cv_search_socket+:} false; then :
13593 >  break
13594 > fi
13595 > done
13596 > if ${ac_cv_search_socket+:} false; then :
13597  
13598   else
13599 +  ac_cv_search_socket=no
13600 + fi
13601 + rm conftest.$ac_ext
13602 + LIBS=$ac_func_search_save_LIBS
13603 + fi
13604 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13605 + $as_echo "$ac_cv_search_socket" >&6; }
13606 + ac_res=$ac_cv_search_socket
13607 + if test "$ac_res" != no; then :
13608 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13609  
13610 < $as_echo "#define IPV6 1" >>confdefs.h
13611 <
13610 > else
13611 >  as_fn_error $? "socket library not found" "$LINENO" 5
13612   fi
13613  
13614  
# Line 12309 | Line 13616 | fi
13616   # Checks for typedefs, structures, and compiler characteristics.
13617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13618   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13619 < if test "${ac_cv_c_bigendian+set}" = set; then :
13619 > if ${ac_cv_c_bigendian+:} false; then :
13620    $as_echo_n "(cached) " >&6
13621   else
13622    ac_cv_c_bigendian=unknown
# Line 12527 | Line 13834 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13834  
13835       ;; #(
13836     *)
13837 <     as_fn_error "unknown endianness
13837 >     as_fn_error $? "unknown endianness
13838   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13839   esac
13840  
# Line 12540 | Line 13847 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13847   do :
13848    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13849   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13850 < eval as_val=\$$as_ac_var
12544 <   if test "x$as_val" = x""yes; then :
13850 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13851    cat >>confdefs.h <<_ACEOF
13852   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13853   _ACEOF
# Line 12559 | Line 13865 | done
13865  
13866  
13867  
12562 –
12563 –
13868   # Checks for header files.
13869  
13870  
# Line 12570 | Line 13874 | do :
13874    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13875   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13876   "
13877 < eval as_val=\$$as_ac_Header
12574 <   if test "x$as_val" = x""yes; then :
13877 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13878    cat >>confdefs.h <<_ACEOF
13879   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13880   _ACEOF
# Line 12596 | Line 13899 | done
13899  
13900  
13901  
12599 –
12600 –
12601 –
12602 –
12603 –
12604 –
12605 –
12606 –
12607 –
12608 –
12609 – # check for /dev/null so we can use it to hold evil fd's
12610 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12611 – $as_echo_n "checking for /dev/null... " >&6; }
12612 – if test -c /dev/null; then :
12613 –
12614 –
12615 – $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12616 –
12617 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12618 – $as_echo "yes" >&6; }
12619 – else
12620 –
12621 –
12622 – $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12623 –
12624 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12625 – $as_echo "no - using devnull.log" >&6; }
12626 – fi
12627 –
12628 –
13902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13903   $as_echo_n "checking for library containing crypt... " >&6; }
13904 < if test "${ac_cv_search_crypt+set}" = set; then :
13904 > if ${ac_cv_search_crypt+:} false; then :
13905    $as_echo_n "(cached) " >&6
13906   else
13907    ac_func_search_save_LIBS=$LIBS
# Line 12662 | Line 13935 | for ac_lib in '' crypt; do
13935   fi
13936   rm -f core conftest.err conftest.$ac_objext \
13937      conftest$ac_exeext
13938 <  if test "${ac_cv_search_crypt+set}" = set; then :
13938 >  if ${ac_cv_search_crypt+:} false; then :
13939    break
13940   fi
13941   done
13942 < if test "${ac_cv_search_crypt+set}" = set; then :
13942 > if ${ac_cv_search_crypt+:} false; then :
13943  
13944   else
13945    ac_cv_search_crypt=no
# Line 12683 | Line 13956 | if test "$ac_res" != no; then :
13956   fi
13957  
13958  
13959 <
13960 <
13961 < # Check whether --with-zlib-path was given.
13962 < if test "${with_zlib_path+set}" = set; then :
13963 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13964 < fi
13965 <
13966 <
13967 < # Check whether --enable-zlib was given.
12695 < if test "${enable_zlib+set}" = set; then :
12696 <  enableval=$enable_zlib; zlib=$enableval
12697 < else
12698 <  zlib=yes
12699 < fi
12700 <
12701 <
12702 < if test "$zlib" = "yes"; then :
12703 <
12704 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12705 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12706 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12707 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12708 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13959 > # Check whether --enable-libgeoip was given.
13960 > if test "${enable_libgeoip+set}" = set; then :
13961 >  enableval=$enable_libgeoip;
13962 > else
13963 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13964 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13965 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13966 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13967 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13968    $as_echo_n "(cached) " >&6
13969   else
13970 <  ac_check_lib_save_LIBS=$LIBS
12712 < LIBS="-lz  $LIBS"
13970 >  ac_func_search_save_LIBS=$LIBS
13971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972   /* end confdefs.h.  */
13973  
# Line 12719 | Line 13977 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13977   #ifdef __cplusplus
13978   extern "C"
13979   #endif
13980 < char zlibVersion ();
13980 > char GeoIP_id_by_ipnum_v6_gl ();
13981   int
13982   main ()
13983   {
13984 < return zlibVersion ();
13984 > return GeoIP_id_by_ipnum_v6_gl ();
13985    ;
13986    return 0;
13987   }
13988   _ACEOF
13989 < if ac_fn_c_try_link "$LINENO"; then :
13990 <  ac_cv_lib_z_zlibVersion=yes
13991 < else
13992 <  ac_cv_lib_z_zlibVersion=no
13989 > for ac_lib in '' GeoIP; do
13990 >  if test -z "$ac_lib"; then
13991 >    ac_res="none required"
13992 >  else
13993 >    ac_res=-l$ac_lib
13994 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13995 >  fi
13996 >  if ac_fn_c_try_link "$LINENO"; then :
13997 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13998   fi
13999   rm -f core conftest.err conftest.$ac_objext \
14000 <    conftest$ac_exeext conftest.$ac_ext
14001 < LIBS=$ac_check_lib_save_LIBS
14000 >    conftest$ac_exeext
14001 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14002 >  break
14003 > fi
14004 > done
14005 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14006 >
14007 > else
14008 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
14009 > fi
14010 > rm conftest.$ac_ext
14011 > LIBS=$ac_func_search_save_LIBS
14012   fi
14013 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
14014 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
14015 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
14013 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
14014 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
14015 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
14016 > if test "$ac_res" != no; then :
14017 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14018 >
14019 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
14020  
14021 <      LIBS="-lz $LIBS"
14021 > fi
14022  
14023 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
14023 > fi
14024  
14025  
12749 – else
12750 –  zlib=no
14026   fi
14027  
14028  
14029 + # Check whether --enable-assert was given.
14030 + if test "${enable_assert+set}" = set; then :
14031 +  enableval=$enable_assert; assert=$enableval
14032   else
14033 <  zlib=no
14033 >  assert=no
14034   fi
14035  
14036  
14037 + if test "$assert" = "no"; then :
14038 +
14039 + $as_echo "#define NDEBUG 1" >>confdefs.h
14040  
14041   fi
14042  
14043  
14044 < # Check whether --with-libpcre-path was given.
14045 < if test "${with_libpcre_path+set}" = set; then :
14046 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
14044 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14045 >
14046 >
14047 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14048 >
14049 >
14050 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14051 >
14052 >
14053 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14054 >
14055 >
14056 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14057 >
14058 >
14059 > $as_echo "#define MP_CHUNK_SIZE_CONNECTION 512*1024" >>confdefs.h
14060 >
14061 >
14062 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14063 >
14064 >
14065 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14066 >
14067 >
14068 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14069 >
14070 >
14071 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14072 >
14073 >
14074 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14075 >
14076 >
14077 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14078 >
14079 >
14080 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14081 >
14082 >
14083 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14084 >
14085 >
14086 > # Argument processing.
14087 >
14088 >  desired_iopoll_mechanism="none"
14089 >
14090 >  # Check whether --enable-kqueue was given.
14091 > if test "${enable_kqueue+set}" = set; then :
14092 >  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14093   fi
14094  
14095 +  # Check whether --enable-epoll was given.
14096 + if test "${enable_epoll+set}" = set; then :
14097 +  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
14098 + fi
14099  
14100 < # Check whether --enable-libpcre was given.
14101 < if test "${enable_libpcre+set}" = set; then :
14102 <  enableval=$enable_libpcre; libpcre=$enableval
12772 < else
12773 <  libpcre=yes
14100 >  # Check whether --enable-devpoll was given.
14101 > if test "${enable_devpoll+set}" = set; then :
14102 >  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14103   fi
14104  
14105 +  # Check whether --enable-poll was given.
14106 + if test "${enable_poll+set}" = set; then :
14107 +  enableval=$enable_poll; desired_iopoll_mechanism="poll"
14108 + fi
14109  
12777 – if test "$libpcre" = "yes"; then :
14110  
14111 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
14112 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
14113 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
14114 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
14115 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
14116 <  $as_echo_n "(cached) " >&6
14117 < else
14118 <  ac_check_lib_save_LIBS=$LIBS
14119 < LIBS="-lpcre  $LIBS"
14120 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14112 > $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14113 >
14114 >  iopoll_mechanism_none=0
14115 >
14116 > cat >>confdefs.h <<_ACEOF
14117 > #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14118 > _ACEOF
14119 >
14120 >
14121 >  iopoll_mechanism_kqueue=1
14122 >
14123 > cat >>confdefs.h <<_ACEOF
14124 > #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14125 > _ACEOF
14126 >
14127 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128   /* end confdefs.h.  */
14129 + /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
14130 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14131 + #define kevent innocuous_kevent
14132 +
14133 + /* System header to define __stub macros and hopefully few prototypes,
14134 +    which can conflict with char kevent (); below.
14135 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14136 +    <limits.h> exists even on freestanding compilers.  */
14137 +
14138 + #ifdef __STDC__
14139 + # include <limits.h>
14140 + #else
14141 + # include <assert.h>
14142 + #endif
14143 +
14144 + #undef kevent
14145  
14146   /* Override any GCC internal prototype to avoid an error.
14147     Use char because int might match the return type of a GCC
# Line 12794 | Line 14149 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14149   #ifdef __cplusplus
14150   extern "C"
14151   #endif
14152 < char pcre_study ();
14152 > char kevent ();
14153 > /* The GNU C library defines this for functions which it implements
14154 >    to always fail with ENOSYS.  Some functions are actually named
14155 >    something starting with __ and the normal name is an alias.  */
14156 > #if defined __stub_kevent || defined __stub___kevent
14157 > choke me
14158 > #endif
14159 >
14160   int
14161   main ()
14162   {
14163 < return pcre_study ();
14163 > return kevent ();
14164    ;
14165    return 0;
14166   }
14167   _ACEOF
14168   if ac_fn_c_try_link "$LINENO"; then :
14169 <  ac_cv_lib_pcre_pcre_study=yes
14169 >  is_kqueue_mechanism_available="yes"
14170   else
14171 <  ac_cv_lib_pcre_pcre_study=no
14171 >  is_kqueue_mechanism_available="no"
14172   fi
14173   rm -f core conftest.err conftest.$ac_objext \
14174      conftest$ac_exeext conftest.$ac_ext
12813 – LIBS=$ac_check_lib_save_LIBS
12814 – fi
12815 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12816 – $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12817 – if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12818 –
12819 –      LIBS="-lpcre $LIBS"
14175  
14176 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
14176 >  iopoll_mechanism_epoll=2
14177  
14178 + cat >>confdefs.h <<_ACEOF
14179 + #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14180 + _ACEOF
14181  
14182 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 + /* end confdefs.h.  */
14184 + #include <sys/epoll.h>
14185 + int
14186 + main ()
14187 + {
14188 + epoll_create(256);
14189 +  ;
14190 +  return 0;
14191 + }
14192 + _ACEOF
14193 + if ac_fn_c_try_link "$LINENO"; then :
14194 +  is_epoll_mechanism_available="yes"
14195   else
14196 <  libpcre=no
14196 >  is_epoll_mechanism_available="no"
14197   fi
14198 + rm -f core conftest.err conftest.$ac_objext \
14199 +    conftest$ac_exeext conftest.$ac_ext
14200  
14201 +  iopoll_mechanism_devpoll=3
14202  
14203 + cat >>confdefs.h <<_ACEOF
14204 + #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14205 + _ACEOF
14206 +
14207 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 + /* end confdefs.h.  */
14209 + #include <devpoll.h>
14210 + int
14211 + main ()
14212 + {
14213 +
14214 +  ;
14215 +  return 0;
14216 + }
14217 + _ACEOF
14218 + if ac_fn_c_try_compile "$LINENO"; then :
14219 +  is_devpoll_mechanism_available="yes"
14220   else
14221 <  libpcre=no
14221 >  is_devpoll_mechanism_available="no"
14222   fi
14223 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14224 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14225  
14226 + $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14227  
14228 +  fi
14229 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 + /* end confdefs.h.  */
14231 + #include <sys/devpoll.h>
14232 + int
14233 + main ()
14234 + {
14235  
14236 < fi
14237 < if test "$libpcre" = yes; then
14238 <  ENABLE_PCRE_TRUE=
14239 <  ENABLE_PCRE_FALSE='#'
14236 >  ;
14237 >  return 0;
14238 > }
14239 > _ACEOF
14240 > if ac_fn_c_try_compile "$LINENO"; then :
14241 >  is_devpoll_mechanism_available="yes"
14242   else
14243 <  ENABLE_PCRE_TRUE='#'
12841 <  ENABLE_PCRE_FALSE=
14243 >  is_devpoll_mechanism_available="no"
14244   fi
14245 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14246 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14247  
14248 + $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14249  
14250 +  fi
14251  
14252 < # Check whether --enable-openssl was given.
14253 < if test "${enable_openssl+set}" = set; then :
14254 <  enableval=$enable_openssl;  cf_enable_openssl=$enableval
14252 >  iopoll_mechanism_poll=4
14253 >
14254 > cat >>confdefs.h <<_ACEOF
14255 > #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14256 > _ACEOF
14257 >
14258 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 > /* end confdefs.h.  */
14260 > /* Define poll to an innocuous variant, in case <limits.h> declares poll.
14261 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14262 > #define poll innocuous_poll
14263 >
14264 > /* System header to define __stub macros and hopefully few prototypes,
14265 >    which can conflict with char poll (); below.
14266 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14267 >    <limits.h> exists even on freestanding compilers.  */
14268 >
14269 > #ifdef __STDC__
14270 > # include <limits.h>
14271 > #else
14272 > # include <assert.h>
14273 > #endif
14274 >
14275 > #undef poll
14276 >
14277 > /* Override any GCC internal prototype to avoid an error.
14278 >   Use char because int might match the return type of a GCC
14279 >   builtin and then its argument prototype would still apply.  */
14280 > #ifdef __cplusplus
14281 > extern "C"
14282 > #endif
14283 > char poll ();
14284 > /* The GNU C library defines this for functions which it implements
14285 >    to always fail with ENOSYS.  Some functions are actually named
14286 >    something starting with __ and the normal name is an alias.  */
14287 > #if defined __stub_poll || defined __stub___poll
14288 > choke me
14289 > #endif
14290 >
14291 > int
14292 > main ()
14293 > {
14294 > return poll ();
14295 >  ;
14296 >  return 0;
14297 > }
14298 > _ACEOF
14299 > if ac_fn_c_try_link "$LINENO"; then :
14300 >  is_poll_mechanism_available="yes"
14301   else
14302 <   cf_enable_openssl="auto"
14302 >  is_poll_mechanism_available="no"
14303   fi
14304 + rm -f core conftest.err conftest.$ac_objext \
14305 +    conftest$ac_exeext conftest.$ac_ext
14306  
14307 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14308 < $as_echo_n "checking for OpenSSL... " >&6; }
14309 < if test "$cf_enable_openssl" != "no"; then
14310 <  cf_openssl_basedir=""
14311 <  if test "$cf_enable_openssl" != "auto" &&
14312 <     test "$cf_enable_openssl" != "yes"; then
14313 <          cf_openssl_basedir="${cf_enable_openssl}"
14314 <  else
12861 <        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12862 <                /opt /opt/openssl /usr/local/openssl; do
12863 <      if test -f "${dirs}/include/openssl/opensslv.h"; then
12864 <        cf_openssl_basedir="${dirs}"
12865 <        break
12866 <      fi
12867 <    done
12868 <    unset dirs
12869 <  fi
14307 >  optimal_iopoll_mechanism="none"
14308 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14309 >    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14310 >    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14311 >      optimal_iopoll_mechanism="$mechanism"
14312 >      break
14313 >    fi
14314 >  done
14315  
14316 <    if test ! -z "$cf_openssl_basedir"; then
14317 <    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
14318 <      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
14319 <      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
14316 >  if test "$desired_iopoll_mechanism" = "none" ; then
14317 >    if test "$optimal_iopoll_mechanism" = "none" ; then
14318 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14319 > $as_echo "none" >&6; }
14320 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14321      else
14322 <                  cf_openssl_basedir=""
14322 >      selected_iopoll_mechanism=$optimal_iopoll_mechanism
14323 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14324 > $as_echo "$selected_iopoll_mechanism" >&6; }
14325      fi
14326    else
14327 <                            if test -f "/usr/include/openssl/opensslv.h"; then
14328 <      cf_openssl_basedir="/usr"
14327 >    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
14328 >    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
14329 >      selected_iopoll_mechanism=$desired_iopoll_mechanism
14330 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14331 > $as_echo "$selected_iopoll_mechanism" >&6; }
14332 >    else
14333 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14334 > $as_echo "none" >&6; }
14335 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14336      fi
14337    fi
14338  
14339 <      if test ! -z "$cf_openssl_basedir"; then
12885 <    LIBS="-lcrypto -lssl $LIBS"
12886 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
12887 < $as_echo "$cf_openssl_basedir" >&6; }
12888 <    cf_enable_openssl="yes"
14339 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14340  
14341 < $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
14341 > cat >>confdefs.h <<_ACEOF
14342 > #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
14343 > _ACEOF
14344  
14345 <  else
14346 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14347 < $as_echo "not found. Please check your path." >&6; }
14348 <    cf_enable_openssl="no"
14345 >
14346 >
14347 >  # Check whether --enable-debugging was given.
14348 > if test "${enable_debugging+set}" = set; then :
14349 >  enableval=$enable_debugging; debugging="$enableval"
14350 > else
14351 >  debugging="no"
14352 > fi
14353 >
14354 >  if test "$debugging" = "yes" ; then
14355 >    CFLAGS="-Wall -g -O0"
14356    fi
14357 <  unset cf_openssl_basedir
14357 >
14358 >
14359 >  # Check whether --enable-warnings was given.
14360 > if test "${enable_warnings+set}" = set; then :
14361 >  enableval=$enable_warnings; warnings="$enableval"
14362   else
14363 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12900 < $as_echo "disabled" >&6; }
14363 >  warnings="no"
14364   fi
14365  
14366 < if test "$cf_enable_openssl" != "no"; then :
14367 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14368 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14369 <  if test "$cross_compiling" = yes; then :
14370 <  cf_openssl_version_ok=no
14366 >
14367 >  if test "$warnings" = "yes" ; then
14368 >
14369 >
14370 >
14371 >
14372 > for flag in -Wall; do
14373 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14374 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14375 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14376 > if eval \${$as_CACHEVAR+:} false; then :
14377 >  $as_echo_n "(cached) " >&6
14378   else
14379 +
14380 +  ax_check_save_flags=$CFLAGS
14381 +  CFLAGS="$CFLAGS  $flag"
14382    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383   /* end confdefs.h.  */
14384  
12912 –    #include <openssl/opensslv.h>
12913 –    #include <stdlib.h>
14385   int
14386   main ()
14387   {
14388 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14388 >
14389    ;
14390    return 0;
14391   }
14392   _ACEOF
14393 < if ac_fn_c_try_run "$LINENO"; then :
14394 <  cf_openssl_version_ok=yes
14393 > if ac_fn_c_try_compile "$LINENO"; then :
14394 >  eval "$as_CACHEVAR=yes"
14395   else
14396 <  cf_openssl_version_ok=no
14396 >  eval "$as_CACHEVAR=no"
14397   fi
14398 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14399 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14398 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14399 >  CFLAGS=$ax_check_save_flags
14400 > fi
14401 > eval ac_res=\$$as_CACHEVAR
14402 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14403 > $as_echo "$ac_res" >&6; }
14404 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14405 >  if ${CFLAGS+:} false; then :
14406 >  case " $CFLAGS " in
14407 >    *" $flag "*)
14408 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14409 >  (: CFLAGS already contains $flag) 2>&5
14410 >  ac_status=$?
14411 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14412 >  test $ac_status = 0; }
14413 >      ;;
14414 >    *)
14415 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14416 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14417 >  ac_status=$?
14418 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14419 >  test $ac_status = 0; }
14420 >      CFLAGS="$CFLAGS $flag"
14421 >      ;;
14422 >   esac
14423 > else
14424 >  CFLAGS="$flag"
14425 > fi
14426 >
14427 > else
14428 >  :
14429   fi
14430  
14431 + done
14432  
12932 –  if test "$cf_openssl_version_ok" = "yes"; then :
12933 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12934 – $as_echo "found" >&6; }
14433  
14434 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14435 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14436 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14434 >
14435 >
14436 >
14437 > for flag in -Wbad-function-cast; do
14438 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14439 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14440 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14441 > if eval \${$as_CACHEVAR+:} false; then :
14442    $as_echo_n "(cached) " >&6
14443   else
14444 <  ac_check_lib_save_LIBS=$LIBS
14445 < LIBS="-lcrypto  $LIBS"
14446 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 >
14445 >  ax_check_save_flags=$CFLAGS
14446 >  CFLAGS="$CFLAGS  $flag"
14447 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448   /* end confdefs.h.  */
14449  
12946 – /* Override any GCC internal prototype to avoid an error.
12947 –   Use char because int might match the return type of a GCC
12948 –   builtin and then its argument prototype would still apply.  */
12949 – #ifdef __cplusplus
12950 – extern "C"
12951 – #endif
12952 – char RSA_free ();
14450   int
14451   main ()
14452   {
14453 < return RSA_free ();
14453 >
14454    ;
14455    return 0;
14456   }
14457   _ACEOF
14458 < if ac_fn_c_try_link "$LINENO"; then :
14459 <  ac_cv_lib_crypto_RSA_free=yes
14458 > if ac_fn_c_try_compile "$LINENO"; then :
14459 >  eval "$as_CACHEVAR=yes"
14460   else
14461 <  ac_cv_lib_crypto_RSA_free=no
14461 >  eval "$as_CACHEVAR=no"
14462   fi
14463 < rm -f core conftest.err conftest.$ac_objext \
14464 <    conftest$ac_exeext conftest.$ac_ext
14465 < LIBS=$ac_check_lib_save_LIBS
14463 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 >  CFLAGS=$ax_check_save_flags
14465 > fi
14466 > eval ac_res=\$$as_CACHEVAR
14467 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14468 > $as_echo "$ac_res" >&6; }
14469 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14470 >  if ${CFLAGS+:} false; then :
14471 >  case " $CFLAGS " in
14472 >    *" $flag "*)
14473 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14474 >  (: CFLAGS already contains $flag) 2>&5
14475 >  ac_status=$?
14476 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14477 >  test $ac_status = 0; }
14478 >      ;;
14479 >    *)
14480 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14481 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14482 >  ac_status=$?
14483 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14484 >  test $ac_status = 0; }
14485 >      CFLAGS="$CFLAGS $flag"
14486 >      ;;
14487 >   esac
14488 > else
14489 >  CFLAGS="$flag"
14490   fi
12970 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12971 – $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12972 – if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
12973 –  cat >>confdefs.h <<_ACEOF
12974 – #define HAVE_LIBCRYPTO 1
12975 – _ACEOF
12976 –
12977 –  LIBS="-lcrypto $LIBS"
14491  
14492 + else
14493 +  :
14494   fi
14495  
14496 <    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14497 <  for ac_func in EVP_bf_cfb           \
14498 <                      EVP_cast5_cfb        \
14499 <                      EVP_idea_cfb         \
14500 <                      EVP_rc5_32_12_16_cfb \
14501 <                      EVP_des_ede3_cfb     \
14502 <                      EVP_des_cfb
14503 < do :
14504 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14505 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14506 < eval as_val=\$$as_ac_var
14507 <   if test "x$as_val" = x""yes; then :
14508 <  cat >>confdefs.h <<_ACEOF
14509 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14496 > done
14497 >
14498 >
14499 >
14500 >
14501 >
14502 > for flag in -Wcast-align; do
14503 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14504 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14505 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14506 > if eval \${$as_CACHEVAR+:} false; then :
14507 >  $as_echo_n "(cached) " >&6
14508 > else
14509 >
14510 >  ax_check_save_flags=$CFLAGS
14511 >  CFLAGS="$CFLAGS  $flag"
14512 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 > /* end confdefs.h.  */
14514 >
14515 > int
14516 > main ()
14517 > {
14518 >
14519 >  ;
14520 >  return 0;
14521 > }
14522   _ACEOF
14523 + if ac_fn_c_try_compile "$LINENO"; then :
14524 +  eval "$as_CACHEVAR=yes"
14525 + else
14526 +  eval "$as_CACHEVAR=no"
14527 + fi
14528 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14529 +  CFLAGS=$ax_check_save_flags
14530 + fi
14531 + eval ac_res=\$$as_CACHEVAR
14532 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14533 + $as_echo "$ac_res" >&6; }
14534 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14535 +  if ${CFLAGS+:} false; then :
14536 +  case " $CFLAGS " in
14537 +    *" $flag "*)
14538 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14539 +  (: CFLAGS already contains $flag) 2>&5
14540 +  ac_status=$?
14541 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14542 +  test $ac_status = 0; }
14543 +      ;;
14544 +    *)
14545 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14546 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14547 +  ac_status=$?
14548 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14549 +  test $ac_status = 0; }
14550 +      CFLAGS="$CFLAGS $flag"
14551 +      ;;
14552 +   esac
14553 + else
14554 +  CFLAGS="$flag"
14555 + fi
14556  
14557 + else
14558 +  :
14559   fi
14560 +
14561   done
14562  
13000 – fi
14563  
14564 +
14565 +
14566 +
14567 + for flag in -Wcast-qual; do
14568 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14569 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14570 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14571 + if eval \${$as_CACHEVAR+:} false; then :
14572 +  $as_echo_n "(cached) " >&6
14573 + else
14574 +
14575 +  ax_check_save_flags=$CFLAGS
14576 +  CFLAGS="$CFLAGS  $flag"
14577 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 + /* end confdefs.h.  */
14579 +
14580 + int
14581 + main ()
14582 + {
14583 +
14584 +  ;
14585 +  return 0;
14586 + }
14587 + _ACEOF
14588 + if ac_fn_c_try_compile "$LINENO"; then :
14589 +  eval "$as_CACHEVAR=yes"
14590   else
14591 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13004 < $as_echo "no - OpenSSL support disabled" >&6; }
13005 <    cf_enable_openssl="no"
14591 >  eval "$as_CACHEVAR=no"
14592   fi
14593 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14594 +  CFLAGS=$ax_check_save_flags
14595 + fi
14596 + eval ac_res=\$$as_CACHEVAR
14597 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14598 + $as_echo "$ac_res" >&6; }
14599 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14600 +  if ${CFLAGS+:} false; then :
14601 +  case " $CFLAGS " in
14602 +    *" $flag "*)
14603 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14604 +  (: CFLAGS already contains $flag) 2>&5
14605 +  ac_status=$?
14606 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14607 +  test $ac_status = 0; }
14608 +      ;;
14609 +    *)
14610 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14611 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14612 +  ac_status=$?
14613 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14614 +  test $ac_status = 0; }
14615 +      CFLAGS="$CFLAGS $flag"
14616 +      ;;
14617 +   esac
14618 + else
14619 +  CFLAGS="$flag"
14620   fi
14621  
13009 – if test "$cf_enable_openssl" = yes; then
13010 –  ENABLE_SSL_TRUE=
13011 –  ENABLE_SSL_FALSE='#'
14622   else
14623 <  ENABLE_SSL_TRUE='#'
13014 <  ENABLE_SSL_FALSE=
14623 >  :
14624   fi
14625  
14626 + done
14627  
14628  
13019 – # Check whether --enable-assert was given.
13020 – if test "${enable_assert+set}" = set; then :
13021 –  enableval=$enable_assert; assert=$enableval
13022 – else
13023 –  assert=no
13024 – fi
14629  
14630  
13027 – if test "$assert" = "no"; then :
14631  
14632 < $as_echo "#define NDEBUG 1" >>confdefs.h
14632 > for flag in -Wclobbered; do
14633 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14634 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14635 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14636 > if eval \${$as_CACHEVAR+:} false; then :
14637 >  $as_echo_n "(cached) " >&6
14638 > else
14639  
14640 < fi
14640 >  ax_check_save_flags=$CFLAGS
14641 >  CFLAGS="$CFLAGS  $flag"
14642 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 > /* end confdefs.h.  */
14644  
14645 + int
14646 + main ()
14647 + {
14648  
14649 < # Check whether --enable-small-net was given.
14650 < if test "${enable_small_net+set}" = set; then :
14651 <  enableval=$enable_small_net; small_net=$enableval
14649 >  ;
14650 >  return 0;
14651 > }
14652 > _ACEOF
14653 > if ac_fn_c_try_compile "$LINENO"; then :
14654 >  eval "$as_CACHEVAR=yes"
14655 > else
14656 >  eval "$as_CACHEVAR=no"
14657 > fi
14658 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14659 >  CFLAGS=$ax_check_save_flags
14660 > fi
14661 > eval ac_res=\$$as_CACHEVAR
14662 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14663 > $as_echo "$ac_res" >&6; }
14664 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14665 >  if ${CFLAGS+:} false; then :
14666 >  case " $CFLAGS " in
14667 >    *" $flag "*)
14668 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14669 >  (: CFLAGS already contains $flag) 2>&5
14670 >  ac_status=$?
14671 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14672 >  test $ac_status = 0; }
14673 >      ;;
14674 >    *)
14675 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14676 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14677 >  ac_status=$?
14678 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14679 >  test $ac_status = 0; }
14680 >      CFLAGS="$CFLAGS $flag"
14681 >      ;;
14682 >   esac
14683   else
14684 <  small_net=no
14684 >  CFLAGS="$flag"
14685   fi
14686  
14687 + else
14688 +  :
14689 + fi
14690  
14691 < if test "$small_net" = "yes"; then :
14691 > done
14692  
14693  
13045 – $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14694  
14695  
13048 – $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14696  
14697 + for flag in -Wempty-body; do
14698 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14699 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14700 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14701 + if eval \${$as_CACHEVAR+:} false; then :
14702 +  $as_echo_n "(cached) " >&6
14703 + else
14704  
14705 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14705 >  ax_check_save_flags=$CFLAGS
14706 >  CFLAGS="$CFLAGS  $flag"
14707 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 > /* end confdefs.h.  */
14709  
14710 + int
14711 + main ()
14712 + {
14713  
14714 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14714 >  ;
14715 >  return 0;
14716 > }
14717 > _ACEOF
14718 > if ac_fn_c_try_compile "$LINENO"; then :
14719 >  eval "$as_CACHEVAR=yes"
14720 > else
14721 >  eval "$as_CACHEVAR=no"
14722 > fi
14723 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14724 >  CFLAGS=$ax_check_save_flags
14725 > fi
14726 > eval ac_res=\$$as_CACHEVAR
14727 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14728 > $as_echo "$ac_res" >&6; }
14729 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14730 >  if ${CFLAGS+:} false; then :
14731 >  case " $CFLAGS " in
14732 >    *" $flag "*)
14733 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14734 >  (: CFLAGS already contains $flag) 2>&5
14735 >  ac_status=$?
14736 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14737 >  test $ac_status = 0; }
14738 >      ;;
14739 >    *)
14740 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14741 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14742 >  ac_status=$?
14743 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14744 >  test $ac_status = 0; }
14745 >      CFLAGS="$CFLAGS $flag"
14746 >      ;;
14747 >   esac
14748 > else
14749 >  CFLAGS="$flag"
14750 > fi
14751  
14752 + else
14753 +  :
14754 + fi
14755  
14756 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14756 > done
14757  
14758  
13060 – $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14759  
14760  
13063 – $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14761  
14762 + for flag in -Wignored-qualifiers; do
14763 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14764 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14765 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14766 + if eval \${$as_CACHEVAR+:} false; then :
14767 +  $as_echo_n "(cached) " >&6
14768 + else
14769  
14770 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14770 >  ax_check_save_flags=$CFLAGS
14771 >  CFLAGS="$CFLAGS  $flag"
14772 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 > /* end confdefs.h.  */
14774  
14775 + int
14776 + main ()
14777 + {
14778  
14779 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14779 >  ;
14780 >  return 0;
14781 > }
14782 > _ACEOF
14783 > if ac_fn_c_try_compile "$LINENO"; then :
14784 >  eval "$as_CACHEVAR=yes"
14785 > else
14786 >  eval "$as_CACHEVAR=no"
14787 > fi
14788 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14789 >  CFLAGS=$ax_check_save_flags
14790 > fi
14791 > eval ac_res=\$$as_CACHEVAR
14792 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14793 > $as_echo "$ac_res" >&6; }
14794 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14795 >  if ${CFLAGS+:} false; then :
14796 >  case " $CFLAGS " in
14797 >    *" $flag "*)
14798 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14799 >  (: CFLAGS already contains $flag) 2>&5
14800 >  ac_status=$?
14801 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14802 >  test $ac_status = 0; }
14803 >      ;;
14804 >    *)
14805 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14806 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14807 >  ac_status=$?
14808 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14809 >  test $ac_status = 0; }
14810 >      CFLAGS="$CFLAGS $flag"
14811 >      ;;
14812 >   esac
14813 > else
14814 >  CFLAGS="$flag"
14815 > fi
14816  
14817 + else
14818 +  :
14819 + fi
14820  
14821 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14821 > done
14822  
13074 – else
14823  
14824  
14825  
13078 – $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14826  
14827 + for flag in -Wlogical-op; do
14828 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14830 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14831 + if eval \${$as_CACHEVAR+:} false; then :
14832 +  $as_echo_n "(cached) " >&6
14833 + else
14834  
14835 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14835 >  ax_check_save_flags=$CFLAGS
14836 >  CFLAGS="$CFLAGS  $flag"
14837 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14838 > /* end confdefs.h.  */
14839  
14840 + int
14841 + main ()
14842 + {
14843  
14844 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14844 >  ;
14845 >  return 0;
14846 > }
14847 > _ACEOF
14848 > if ac_fn_c_try_compile "$LINENO"; then :
14849 >  eval "$as_CACHEVAR=yes"
14850 > else
14851 >  eval "$as_CACHEVAR=no"
14852 > fi
14853 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14854 >  CFLAGS=$ax_check_save_flags
14855 > fi
14856 > eval ac_res=\$$as_CACHEVAR
14857 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14858 > $as_echo "$ac_res" >&6; }
14859 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14860 >  if ${CFLAGS+:} false; then :
14861 >  case " $CFLAGS " in
14862 >    *" $flag "*)
14863 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14864 >  (: CFLAGS already contains $flag) 2>&5
14865 >  ac_status=$?
14866 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14867 >  test $ac_status = 0; }
14868 >      ;;
14869 >    *)
14870 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14871 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14872 >  ac_status=$?
14873 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14874 >  test $ac_status = 0; }
14875 >      CFLAGS="$CFLAGS $flag"
14876 >      ;;
14877 >   esac
14878 > else
14879 >  CFLAGS="$flag"
14880 > fi
14881  
14882 + else
14883 +  :
14884 + fi
14885  
14886 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14886 > done
14887  
14888  
13090 – $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14889  
14890  
13093 – $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14891  
14892 + for flag in -Wmissing-declarations; do
14893 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14894 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14895 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14896 + if eval \${$as_CACHEVAR+:} false; then :
14897 +  $as_echo_n "(cached) " >&6
14898 + else
14899  
14900 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14900 >  ax_check_save_flags=$CFLAGS
14901 >  CFLAGS="$CFLAGS  $flag"
14902 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 > /* end confdefs.h.  */
14904  
14905 + int
14906 + main ()
14907 + {
14908  
14909 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14909 >  ;
14910 >  return 0;
14911 > }
14912 > _ACEOF
14913 > if ac_fn_c_try_compile "$LINENO"; then :
14914 >  eval "$as_CACHEVAR=yes"
14915 > else
14916 >  eval "$as_CACHEVAR=no"
14917 > fi
14918 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14919 >  CFLAGS=$ax_check_save_flags
14920 > fi
14921 > eval ac_res=\$$as_CACHEVAR
14922 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14923 > $as_echo "$ac_res" >&6; }
14924 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14925 >  if ${CFLAGS+:} false; then :
14926 >  case " $CFLAGS " in
14927 >    *" $flag "*)
14928 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14929 >  (: CFLAGS already contains $flag) 2>&5
14930 >  ac_status=$?
14931 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14932 >  test $ac_status = 0; }
14933 >      ;;
14934 >    *)
14935 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14936 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14937 >  ac_status=$?
14938 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14939 >  test $ac_status = 0; }
14940 >      CFLAGS="$CFLAGS $flag"
14941 >      ;;
14942 >   esac
14943 > else
14944 >  CFLAGS="$flag"
14945 > fi
14946  
14947 + else
14948 +  :
14949 + fi
14950  
14951 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14951 > done
14952  
14953  
13105 – $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14954  
13107 – fi
14955  
14956  
14957 < # Argument processing.
14957 > for flag in -Wmissing-field-initializers; do
14958 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14959 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14960 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14961 > if eval \${$as_CACHEVAR+:} false; then :
14962 >  $as_echo_n "(cached) " >&6
14963 > else
14964  
14965 <    desired_iopoll_mechanism="none"
14966 <    # Check whether --enable-kqueue was given.
14967 < if test "${enable_kqueue+set}" = set; then :
14968 <  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13116 < fi
14965 >  ax_check_save_flags=$CFLAGS
14966 >  CFLAGS="$CFLAGS  $flag"
14967 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 > /* end confdefs.h.  */
14969  
14970 <  # Check whether --enable-epoll was given.
14971 < if test "${enable_epoll+set}" = set; then :
14972 <  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13121 < fi
14970 > int
14971 > main ()
14972 > {
14973  
14974 <  # Check whether --enable-devpoll was given.
14975 < if test "${enable_devpoll+set}" = set; then :
14976 <  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14974 >  ;
14975 >  return 0;
14976 > }
14977 > _ACEOF
14978 > if ac_fn_c_try_compile "$LINENO"; then :
14979 >  eval "$as_CACHEVAR=yes"
14980 > else
14981 >  eval "$as_CACHEVAR=no"
14982   fi
14983 <
14984 <  # Check whether --enable-rtsigio was given.
13129 < if test "${enable_rtsigio+set}" = set; then :
13130 <  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14983 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14984 >  CFLAGS=$ax_check_save_flags
14985   fi
14986 <
14987 <  # Check whether --enable-poll was given.
14988 < if test "${enable_poll+set}" = set; then :
14989 <  enableval=$enable_poll; desired_iopoll_mechanism="poll"
14986 > eval ac_res=\$$as_CACHEVAR
14987 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14988 > $as_echo "$ac_res" >&6; }
14989 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14990 >  if ${CFLAGS+:} false; then :
14991 >  case " $CFLAGS " in
14992 >    *" $flag "*)
14993 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14994 >  (: CFLAGS already contains $flag) 2>&5
14995 >  ac_status=$?
14996 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14997 >  test $ac_status = 0; }
14998 >      ;;
14999 >    *)
15000 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15001 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15002 >  ac_status=$?
15003 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 >  test $ac_status = 0; }
15005 >      CFLAGS="$CFLAGS $flag"
15006 >      ;;
15007 >   esac
15008 > else
15009 >  CFLAGS="$flag"
15010   fi
15011  
15012 <  # Check whether --enable-select was given.
15013 < if test "${enable_select+set}" = set; then :
13140 <  enableval=$enable_select; desired_iopoll_mechanism="select"
15012 > else
15013 >  :
15014   fi
15015  
15016 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13144 < $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13145 <  iopoll_mechanism_none=0
15016 > done
15017  
13147 – cat >>confdefs.h <<_ACEOF
13148 – #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13149 – _ACEOF
15018  
13151 –      iopoll_mechanism_kqueue=1
15019  
13153 – cat >>confdefs.h <<_ACEOF
13154 – #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13155 – _ACEOF
15020  
15021 +
15022 + for flag in -Wmissing-include-dirs; do
15023 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15024 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15025 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15026 + if eval \${$as_CACHEVAR+:} false; then :
15027 +  $as_echo_n "(cached) " >&6
15028 + else
15029 +
15030 +  ax_check_save_flags=$CFLAGS
15031 +  CFLAGS="$CFLAGS  $flag"
15032    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033   /* end confdefs.h.  */
13159 – /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13160 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13161 – #define kevent innocuous_kevent
15034  
15035 < /* System header to define __stub macros and hopefully few prototypes,
15036 <    which can conflict with char kevent (); below.
15037 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15038 <    <limits.h> exists even on freestanding compilers.  */
15035 > int
15036 > main ()
15037 > {
15038 >
15039 >  ;
15040 >  return 0;
15041 > }
15042 > _ACEOF
15043 > if ac_fn_c_try_compile "$LINENO"; then :
15044 >  eval "$as_CACHEVAR=yes"
15045 > else
15046 >  eval "$as_CACHEVAR=no"
15047 > fi
15048 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15049 >  CFLAGS=$ax_check_save_flags
15050 > fi
15051 > eval ac_res=\$$as_CACHEVAR
15052 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15053 > $as_echo "$ac_res" >&6; }
15054 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15055 >  if ${CFLAGS+:} false; then :
15056 >  case " $CFLAGS " in
15057 >    *" $flag "*)
15058 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15059 >  (: CFLAGS already contains $flag) 2>&5
15060 >  ac_status=$?
15061 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15062 >  test $ac_status = 0; }
15063 >      ;;
15064 >    *)
15065 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15066 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15067 >  ac_status=$?
15068 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15069 >  test $ac_status = 0; }
15070 >      CFLAGS="$CFLAGS $flag"
15071 >      ;;
15072 >   esac
15073 > else
15074 >  CFLAGS="$flag"
15075 > fi
15076 >
15077 > else
15078 >  :
15079 > fi
15080 >
15081 > done
15082 >
15083  
13168 – #ifdef __STDC__
13169 – # include <limits.h>
13170 – #else
13171 – # include <assert.h>
13172 – #endif
15084  
13174 – #undef kevent
15085  
15086 < /* Override any GCC internal prototype to avoid an error.
15087 <   Use char because int might match the return type of a GCC
15088 <   builtin and then its argument prototype would still apply.  */
15089 < #ifdef __cplusplus
15090 < extern "C"
15091 < #endif
15092 < char kevent ();
15093 < /* The GNU C library defines this for functions which it implements
15094 <    to always fail with ENOSYS.  Some functions are actually named
15095 <    something starting with __ and the normal name is an alias.  */
15096 < #if defined __stub_kevent || defined __stub___kevent
15097 < choke me
15098 < #endif
15086 >
15087 > for flag in -Wmissing-parameter-type; do
15088 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15089 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15090 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15091 > if eval \${$as_CACHEVAR+:} false; then :
15092 >  $as_echo_n "(cached) " >&6
15093 > else
15094 >
15095 >  ax_check_save_flags=$CFLAGS
15096 >  CFLAGS="$CFLAGS  $flag"
15097 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098 > /* end confdefs.h.  */
15099  
15100   int
15101   main ()
15102   {
15103 < return kevent ();
15103 >
15104    ;
15105    return 0;
15106   }
15107   _ACEOF
15108 < if ac_fn_c_try_link "$LINENO"; then :
15109 <  is_kqueue_mechanism_available="yes"
15108 > if ac_fn_c_try_compile "$LINENO"; then :
15109 >  eval "$as_CACHEVAR=yes"
15110   else
15111 <  is_kqueue_mechanism_available="no"
15111 >  eval "$as_CACHEVAR=no"
15112 > fi
15113 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15114 >  CFLAGS=$ax_check_save_flags
15115 > fi
15116 > eval ac_res=\$$as_CACHEVAR
15117 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15118 > $as_echo "$ac_res" >&6; }
15119 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15120 >  if ${CFLAGS+:} false; then :
15121 >  case " $CFLAGS " in
15122 >    *" $flag "*)
15123 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15124 >  (: CFLAGS already contains $flag) 2>&5
15125 >  ac_status=$?
15126 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15127 >  test $ac_status = 0; }
15128 >      ;;
15129 >    *)
15130 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15131 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15132 >  ac_status=$?
15133 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15134 >  test $ac_status = 0; }
15135 >      CFLAGS="$CFLAGS $flag"
15136 >      ;;
15137 >   esac
15138 > else
15139 >  CFLAGS="$flag"
15140   fi
13203 – rm -f core conftest.err conftest.$ac_objext \
13204 –    conftest$ac_exeext conftest.$ac_ext
13205 –      iopoll_mechanism_epoll=2
15141  
15142 < cat >>confdefs.h <<_ACEOF
15143 < #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
15144 < _ACEOF
15142 > else
15143 >  :
15144 > fi
15145  
15146 <  if test "$cross_compiling" = yes; then :
15147 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15148 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15149 < as_fn_error "cannot run test program while cross compiling
15150 < See \`config.log' for more details." "$LINENO" 5; }
15146 > done
15147 >
15148 >
15149 >
15150 >
15151 >
15152 > for flag in -Wmissing-prototypes; do
15153 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15154 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15155 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15156 > if eval \${$as_CACHEVAR+:} false; then :
15157 >  $as_echo_n "(cached) " >&6
15158   else
15159 +
15160 +  ax_check_save_flags=$CFLAGS
15161 +  CFLAGS="$CFLAGS  $flag"
15162    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163   /* end confdefs.h.  */
15164  
15165 < #include <sys/epoll.h>
15166 < #include <sys/syscall.h>
15167 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
13223 < #if !defined(__NR_epoll_create)
13224 < #if defined(__ia64__)
13225 < #define __NR_epoll_create 1243
13226 < #elif defined(__x86_64__)
13227 < #define __NR_epoll_create 214
13228 < #elif defined(__sparc64__) || defined(__sparc__)
13229 < #define __NR_epoll_create 193
13230 < #elif defined(__s390__) || defined(__m68k__)
13231 < #define __NR_epoll_create 249
13232 < #elif defined(__ppc64__) || defined(__ppc__)
13233 < #define __NR_epoll_create 236
13234 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13235 < #define __NR_epoll_create 224
13236 < #elif defined(__alpha__)
13237 < #define __NR_epoll_create 407
13238 < #elif defined(__sh64__)
13239 < #define __NR_epoll_create 282
13240 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13241 < #define __NR_epoll_create 254
13242 < #else
13243 < #error No system call numbers defined for epoll family.
13244 < #endif
13245 < #endif
13246 < _syscall1(int, epoll_create, int, size)
13247 < #endif
13248 < main() { return epoll_create(256) == -1 ? 1 : 0; }
15165 > int
15166 > main ()
15167 > {
15168  
15169 +  ;
15170 +  return 0;
15171 + }
15172   _ACEOF
15173 < if ac_fn_c_try_run "$LINENO"; then :
15174 <  is_epoll_mechanism_available="yes"
15173 > if ac_fn_c_try_compile "$LINENO"; then :
15174 >  eval "$as_CACHEVAR=yes"
15175   else
15176 <  is_epoll_mechanism_available="no"
15176 >  eval "$as_CACHEVAR=no"
15177   fi
15178 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15179 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
15178 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15179 >  CFLAGS=$ax_check_save_flags
15180 > fi
15181 > eval ac_res=\$$as_CACHEVAR
15182 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15183 > $as_echo "$ac_res" >&6; }
15184 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15185 >  if ${CFLAGS+:} false; then :
15186 >  case " $CFLAGS " in
15187 >    *" $flag "*)
15188 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15189 >  (: CFLAGS already contains $flag) 2>&5
15190 >  ac_status=$?
15191 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15192 >  test $ac_status = 0; }
15193 >      ;;
15194 >    *)
15195 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15196 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15197 >  ac_status=$?
15198 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 >  test $ac_status = 0; }
15200 >      CFLAGS="$CFLAGS $flag"
15201 >      ;;
15202 >   esac
15203 > else
15204 >  CFLAGS="$flag"
15205   fi
15206  
15207 <      iopoll_mechanism_devpoll=3
15207 > else
15208 >  :
15209 > fi
15210 >
15211 > done
15212 >
15213 >
15214  
13262 – cat >>confdefs.h <<_ACEOF
13263 – #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
13264 – _ACEOF
15215  
15216 +
15217 + for flag in -Wnested-externs; do
15218 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15219 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15220 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15221 + if eval \${$as_CACHEVAR+:} false; then :
15222 +  $as_echo_n "(cached) " >&6
15223 + else
15224 +
15225 +  ax_check_save_flags=$CFLAGS
15226 +  CFLAGS="$CFLAGS  $flag"
15227    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228   /* end confdefs.h.  */
15229 < #include <devpoll.h>
15229 >
15230   int
15231   main ()
15232   {
# Line 13275 | Line 15236 | main ()
15236   }
15237   _ACEOF
15238   if ac_fn_c_try_compile "$LINENO"; then :
15239 <  is_devpoll_mechanism_available="yes"
15239 >  eval "$as_CACHEVAR=yes"
15240   else
15241 <  is_devpoll_mechanism_available="no"
15241 >  eval "$as_CACHEVAR=no"
15242   fi
15243   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15244 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15244 >  CFLAGS=$ax_check_save_flags
15245 > fi
15246 > eval ac_res=\$$as_CACHEVAR
15247 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15248 > $as_echo "$ac_res" >&6; }
15249 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15250 >  if ${CFLAGS+:} false; then :
15251 >  case " $CFLAGS " in
15252 >    *" $flag "*)
15253 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15254 >  (: CFLAGS already contains $flag) 2>&5
15255 >  ac_status=$?
15256 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15257 >  test $ac_status = 0; }
15258 >      ;;
15259 >    *)
15260 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15261 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15262 >  ac_status=$?
15263 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15264 >  test $ac_status = 0; }
15265 >      CFLAGS="$CFLAGS $flag"
15266 >      ;;
15267 >   esac
15268 > else
15269 >  CFLAGS="$flag"
15270 > fi
15271  
15272 < $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
15272 > else
15273 >  :
15274 > fi
15275  
15276 <  fi
15276 > done
15277 >
15278 >
15279 >
15280 >
15281 >
15282 > for flag in -Wold-style-declaration; do
15283 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15284 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15285 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15286 > if eval \${$as_CACHEVAR+:} false; then :
15287 >  $as_echo_n "(cached) " >&6
15288 > else
15289 >
15290 >  ax_check_save_flags=$CFLAGS
15291 >  CFLAGS="$CFLAGS  $flag"
15292    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293   /* end confdefs.h.  */
15294 < #include <sys/devpoll.h>
15294 >
15295   int
15296   main ()
15297   {
# Line 13297 | Line 15301 | main ()
15301   }
15302   _ACEOF
15303   if ac_fn_c_try_compile "$LINENO"; then :
15304 <  is_devpoll_mechanism_available="yes"
15304 >  eval "$as_CACHEVAR=yes"
15305   else
15306 <  is_devpoll_mechanism_available="no"
15306 >  eval "$as_CACHEVAR=no"
15307   fi
15308   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15309 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15309 >  CFLAGS=$ax_check_save_flags
15310 > fi
15311 > eval ac_res=\$$as_CACHEVAR
15312 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15313 > $as_echo "$ac_res" >&6; }
15314 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15315 >  if ${CFLAGS+:} false; then :
15316 >  case " $CFLAGS " in
15317 >    *" $flag "*)
15318 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15319 >  (: CFLAGS already contains $flag) 2>&5
15320 >  ac_status=$?
15321 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15322 >  test $ac_status = 0; }
15323 >      ;;
15324 >    *)
15325 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15326 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15327 >  ac_status=$?
15328 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 >  test $ac_status = 0; }
15330 >      CFLAGS="$CFLAGS $flag"
15331 >      ;;
15332 >   esac
15333 > else
15334 >  CFLAGS="$flag"
15335 > fi
15336  
15337 < $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
15337 > else
15338 >  :
15339 > fi
15340  
15341 <  fi
13310 <      iopoll_mechanism_rtsigio=4
15341 > done
15342  
13312 – cat >>confdefs.h <<_ACEOF
13313 – #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13314 – _ACEOF
15343  
15344 <  if test "$cross_compiling" = yes; then :
15345 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15346 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15347 < as_fn_error "cannot run test program while cross compiling
15348 < See \`config.log' for more details." "$LINENO" 5; }
15344 >
15345 >
15346 >
15347 > for flag in -Woverride-init; do
15348 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15349 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15350 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15351 > if eval \${$as_CACHEVAR+:} false; then :
15352 >  $as_echo_n "(cached) " >&6
15353   else
15354 +
15355 +  ax_check_save_flags=$CFLAGS
15356 +  CFLAGS="$CFLAGS  $flag"
15357    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358   /* end confdefs.h.  */
15359  
13325 – #include <fcntl.h>
13326 – #ifdef F_SETSIG
13327 – main () { return 0; } /* F_SETSIG defined */
13328 – #else
13329 – main () { return 1; } /* F_SETSIG not defined */
13330 – #endif
13331 –
15360   int
15361   main ()
15362   {
# Line 13337 | Line 15365 | main ()
15365    return 0;
15366   }
15367   _ACEOF
15368 < if ac_fn_c_try_run "$LINENO"; then :
15369 <  is_rtsigio_mechanism_available="yes"
15368 > if ac_fn_c_try_compile "$LINENO"; then :
15369 >  eval "$as_CACHEVAR=yes"
15370   else
15371 <  is_rtsigio_mechanism_available="no"
15371 >  eval "$as_CACHEVAR=no"
15372   fi
15373 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15374 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
15373 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15374 >  CFLAGS=$ax_check_save_flags
15375 > fi
15376 > eval ac_res=\$$as_CACHEVAR
15377 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15378 > $as_echo "$ac_res" >&6; }
15379 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15380 >  if ${CFLAGS+:} false; then :
15381 >  case " $CFLAGS " in
15382 >    *" $flag "*)
15383 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15384 >  (: CFLAGS already contains $flag) 2>&5
15385 >  ac_status=$?
15386 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15387 >  test $ac_status = 0; }
15388 >      ;;
15389 >    *)
15390 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15391 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15392 >  ac_status=$?
15393 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 >  test $ac_status = 0; }
15395 >      CFLAGS="$CFLAGS $flag"
15396 >      ;;
15397 >   esac
15398 > else
15399 >  CFLAGS="$flag"
15400   fi
15401  
15402 <      iopoll_mechanism_poll=5
15402 > else
15403 >  :
15404 > fi
15405  
15406 < cat >>confdefs.h <<_ACEOF
13352 < #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13353 < _ACEOF
15406 > done
15407  
13355 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 – /* end confdefs.h.  */
13357 – /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13358 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13359 – #define poll innocuous_poll
15408  
13361 – /* System header to define __stub macros and hopefully few prototypes,
13362 –    which can conflict with char poll (); below.
13363 –    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13364 –    <limits.h> exists even on freestanding compilers.  */
15409  
13366 – #ifdef __STDC__
13367 – # include <limits.h>
13368 – #else
13369 – # include <assert.h>
13370 – #endif
15410  
13372 – #undef poll
15411  
15412 < /* Override any GCC internal prototype to avoid an error.
15413 <   Use char because int might match the return type of a GCC
15414 <   builtin and then its argument prototype would still apply.  */
15415 < #ifdef __cplusplus
15416 < extern "C"
15417 < #endif
15418 < char poll ();
15419 < /* The GNU C library defines this for functions which it implements
15420 <    to always fail with ENOSYS.  Some functions are actually named
15421 <    something starting with __ and the normal name is an alias.  */
15422 < #if defined __stub_poll || defined __stub___poll
15423 < choke me
13386 < #endif
15412 > for flag in -Wpointer-arith; do
15413 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15414 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15415 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15416 > if eval \${$as_CACHEVAR+:} false; then :
15417 >  $as_echo_n "(cached) " >&6
15418 > else
15419 >
15420 >  ax_check_save_flags=$CFLAGS
15421 >  CFLAGS="$CFLAGS  $flag"
15422 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 > /* end confdefs.h.  */
15424  
15425   int
15426   main ()
15427   {
15428 < return poll ();
15428 >
15429    ;
15430    return 0;
15431   }
15432   _ACEOF
15433 < if ac_fn_c_try_link "$LINENO"; then :
15434 <  is_poll_mechanism_available="yes"
15433 > if ac_fn_c_try_compile "$LINENO"; then :
15434 >  eval "$as_CACHEVAR=yes"
15435   else
15436 <  is_poll_mechanism_available="no"
15436 >  eval "$as_CACHEVAR=no"
15437 > fi
15438 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15439 >  CFLAGS=$ax_check_save_flags
15440 > fi
15441 > eval ac_res=\$$as_CACHEVAR
15442 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15443 > $as_echo "$ac_res" >&6; }
15444 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15445 >  if ${CFLAGS+:} false; then :
15446 >  case " $CFLAGS " in
15447 >    *" $flag "*)
15448 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15449 >  (: CFLAGS already contains $flag) 2>&5
15450 >  ac_status=$?
15451 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15452 >  test $ac_status = 0; }
15453 >      ;;
15454 >    *)
15455 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15456 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15457 >  ac_status=$?
15458 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15459 >  test $ac_status = 0; }
15460 >      CFLAGS="$CFLAGS $flag"
15461 >      ;;
15462 >   esac
15463 > else
15464 >  CFLAGS="$flag"
15465   fi
13401 – rm -f core conftest.err conftest.$ac_objext \
13402 –    conftest$ac_exeext conftest.$ac_ext
13403 –      iopoll_mechanism_select=6
15466  
15467 < cat >>confdefs.h <<_ACEOF
15468 < #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
15469 < _ACEOF
15467 > else
15468 >  :
15469 > fi
15470 >
15471 > done
15472 >
15473 >
15474 >
15475 >
15476  
15477 + for flag in -Wredundant-decls; do
15478 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15479 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15480 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15481 + if eval \${$as_CACHEVAR+:} false; then :
15482 +  $as_echo_n "(cached) " >&6
15483 + else
15484 +
15485 +  ax_check_save_flags=$CFLAGS
15486 +  CFLAGS="$CFLAGS  $flag"
15487    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488   /* end confdefs.h.  */
13411 – /* Define select to an innocuous variant, in case <limits.h> declares select.
13412 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13413 – #define select innocuous_select
15489  
15490 < /* System header to define __stub macros and hopefully few prototypes,
15491 <    which can conflict with char select (); below.
15492 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13418 <    <limits.h> exists even on freestanding compilers.  */
15490 > int
15491 > main ()
15492 > {
15493  
15494 < #ifdef __STDC__
15495 < # include <limits.h>
15496 < #else
15497 < # include <assert.h>
15498 < #endif
15494 >  ;
15495 >  return 0;
15496 > }
15497 > _ACEOF
15498 > if ac_fn_c_try_compile "$LINENO"; then :
15499 >  eval "$as_CACHEVAR=yes"
15500 > else
15501 >  eval "$as_CACHEVAR=no"
15502 > fi
15503 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15504 >  CFLAGS=$ax_check_save_flags
15505 > fi
15506 > eval ac_res=\$$as_CACHEVAR
15507 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15508 > $as_echo "$ac_res" >&6; }
15509 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15510 >  if ${CFLAGS+:} false; then :
15511 >  case " $CFLAGS " in
15512 >    *" $flag "*)
15513 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15514 >  (: CFLAGS already contains $flag) 2>&5
15515 >  ac_status=$?
15516 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15517 >  test $ac_status = 0; }
15518 >      ;;
15519 >    *)
15520 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15521 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15522 >  ac_status=$?
15523 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 >  test $ac_status = 0; }
15525 >      CFLAGS="$CFLAGS $flag"
15526 >      ;;
15527 >   esac
15528 > else
15529 >  CFLAGS="$flag"
15530 > fi
15531  
15532 < #undef select
15532 > else
15533 >  :
15534 > fi
15535  
15536 < /* Override any GCC internal prototype to avoid an error.
15537 <   Use char because int might match the return type of a GCC
15538 <   builtin and then its argument prototype would still apply.  */
15539 < #ifdef __cplusplus
15540 < extern "C"
15541 < #endif
15542 < char select ();
15543 < /* The GNU C library defines this for functions which it implements
15544 <    to always fail with ENOSYS.  Some functions are actually named
15545 <    something starting with __ and the normal name is an alias.  */
15546 < #if defined __stub_select || defined __stub___select
15547 < choke me
15548 < #endif
15536 > done
15537 >
15538 >
15539 >
15540 >
15541 >
15542 > for flag in -Wshadow; do
15543 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15544 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15545 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15546 > if eval \${$as_CACHEVAR+:} false; then :
15547 >  $as_echo_n "(cached) " >&6
15548 > else
15549 >
15550 >  ax_check_save_flags=$CFLAGS
15551 >  CFLAGS="$CFLAGS  $flag"
15552 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15553 > /* end confdefs.h.  */
15554  
15555   int
15556   main ()
15557   {
15558 < return select ();
15558 >
15559    ;
15560    return 0;
15561   }
15562   _ACEOF
15563 < if ac_fn_c_try_link "$LINENO"; then :
15564 <  is_select_mechanism_available="yes"
15563 > if ac_fn_c_try_compile "$LINENO"; then :
15564 >  eval "$as_CACHEVAR=yes"
15565   else
15566 <  is_select_mechanism_available="no"
15566 >  eval "$as_CACHEVAR=no"
15567 > fi
15568 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15569 >  CFLAGS=$ax_check_save_flags
15570 > fi
15571 > eval ac_res=\$$as_CACHEVAR
15572 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15573 > $as_echo "$ac_res" >&6; }
15574 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15575 >  if ${CFLAGS+:} false; then :
15576 >  case " $CFLAGS " in
15577 >    *" $flag "*)
15578 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15579 >  (: CFLAGS already contains $flag) 2>&5
15580 >  ac_status=$?
15581 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15582 >  test $ac_status = 0; }
15583 >      ;;
15584 >    *)
15585 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15586 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15587 >  ac_status=$?
15588 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15589 >  test $ac_status = 0; }
15590 >      CFLAGS="$CFLAGS $flag"
15591 >      ;;
15592 >   esac
15593 > else
15594 >  CFLAGS="$flag"
15595   fi
13455 – rm -f core conftest.err conftest.$ac_objext \
13456 –    conftest$ac_exeext conftest.$ac_ext
13457 –      optimal_iopoll_mechanism="none"
13458 –  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
13459 –    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
13460 –    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
13461 –      optimal_iopoll_mechanism="$mechanism"
13462 –      break
13463 –    fi
13464 –  done
13465 –      if test "$desired_iopoll_mechanism" = "none" ; then
13466 –    if test "$optimal_iopoll_mechanism" = "none" ; then
13467 –      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13468 – $as_echo "none" >&6; }
13469 –      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13470 –    else
13471 –      selected_iopoll_mechanism=$optimal_iopoll_mechanism
13472 –      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13473 – $as_echo "$selected_iopoll_mechanism" >&6; }
13474 –    fi
13475 –  else
13476 –    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13477 –    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13478 –      selected_iopoll_mechanism=$desired_iopoll_mechanism
13479 –      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13480 – $as_echo "$selected_iopoll_mechanism" >&6; }
13481 –    else
13482 –      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13483 – $as_echo "none" >&6; }
13484 –      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13485 –    fi
13486 –  fi
13487 –      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
15596  
15597 < cat >>confdefs.h <<_ACEOF
15598 < #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
15599 < _ACEOF
15597 > else
15598 >  :
15599 > fi
15600 >
15601 > done
15602 >
15603  
15604  
15605  
15606  
15607 < # Check whether --with-nicklen was given.
15608 < if test "${with_nicklen+set}" = set; then :
15609 <  withval=$with_nicklen; nicklen="$withval"
15607 > for flag in -Wsign-compare; do
15608 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15609 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15610 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15611 > if eval \${$as_CACHEVAR+:} false; then :
15612 >  $as_echo_n "(cached) " >&6
15613   else
13500 –  nicklen="9"
13501 – fi
15614  
15615 +  ax_check_save_flags=$CFLAGS
15616 +  CFLAGS="$CFLAGS  $flag"
15617 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15618 + /* end confdefs.h.  */
15619  
15620 < cat >>confdefs.h <<_ACEOF
15621 < #define NICKLEN ($nicklen+1)
15620 > int
15621 > main ()
15622 > {
15623 >
15624 >  ;
15625 >  return 0;
15626 > }
15627   _ACEOF
15628 + if ac_fn_c_try_compile "$LINENO"; then :
15629 +  eval "$as_CACHEVAR=yes"
15630 + else
15631 +  eval "$as_CACHEVAR=no"
15632 + fi
15633 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15634 +  CFLAGS=$ax_check_save_flags
15635 + fi
15636 + eval ac_res=\$$as_CACHEVAR
15637 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15638 + $as_echo "$ac_res" >&6; }
15639 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15640 +  if ${CFLAGS+:} false; then :
15641 +  case " $CFLAGS " in
15642 +    *" $flag "*)
15643 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15644 +  (: CFLAGS already contains $flag) 2>&5
15645 +  ac_status=$?
15646 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15647 +  test $ac_status = 0; }
15648 +      ;;
15649 +    *)
15650 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15651 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15652 +  ac_status=$?
15653 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15654 +  test $ac_status = 0; }
15655 +      CFLAGS="$CFLAGS $flag"
15656 +      ;;
15657 +   esac
15658 + else
15659 +  CFLAGS="$flag"
15660 + fi
15661 +
15662 + else
15663 +  :
15664 + fi
15665 +
15666 + done
15667 +
15668  
15669  
15670  
15671  
15672 < # Check whether --with-topiclen was given.
15673 < if test "${with_topiclen+set}" = set; then :
15674 <  withval=$with_topiclen; topiclen="$withval"
15672 > for flag in -Wtype-limits; do
15673 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15674 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15675 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15676 > if eval \${$as_CACHEVAR+:} false; then :
15677 >  $as_echo_n "(cached) " >&6
15678   else
13515 –  topiclen="160"
13516 – fi
15679  
15680 +  ax_check_save_flags=$CFLAGS
15681 +  CFLAGS="$CFLAGS  $flag"
15682 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 + /* end confdefs.h.  */
15684 +
15685 + int
15686 + main ()
15687 + {
15688  
15689 < cat >>confdefs.h <<_ACEOF
15690 < #define TOPICLEN ($topiclen)
15689 >  ;
15690 >  return 0;
15691 > }
15692   _ACEOF
15693 + if ac_fn_c_try_compile "$LINENO"; then :
15694 +  eval "$as_CACHEVAR=yes"
15695 + else
15696 +  eval "$as_CACHEVAR=no"
15697 + fi
15698 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15699 +  CFLAGS=$ax_check_save_flags
15700 + fi
15701 + eval ac_res=\$$as_CACHEVAR
15702 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15703 + $as_echo "$ac_res" >&6; }
15704 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15705 +  if ${CFLAGS+:} false; then :
15706 +  case " $CFLAGS " in
15707 +    *" $flag "*)
15708 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15709 +  (: CFLAGS already contains $flag) 2>&5
15710 +  ac_status=$?
15711 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15712 +  test $ac_status = 0; }
15713 +      ;;
15714 +    *)
15715 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15716 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15717 +  ac_status=$?
15718 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15719 +  test $ac_status = 0; }
15720 +      CFLAGS="$CFLAGS $flag"
15721 +      ;;
15722 +   esac
15723 + else
15724 +  CFLAGS="$flag"
15725 + fi
15726 +
15727 + else
15728 +  :
15729 + fi
15730 +
15731 + done
15732  
15733  
15734  
15735  
15736 < # Check whether --with-syslog-facility was given.
15737 < if test "${with_syslog_facility+set}" = set; then :
15738 <  withval=$with_syslog_facility; syslog_facility="$withval"
15736 >
15737 > for flag in -Wundef; do
15738 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15739 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15740 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15741 > if eval \${$as_CACHEVAR+:} false; then :
15742 >  $as_echo_n "(cached) " >&6
15743   else
13530 –  syslog_facility="LOG_LOCAL4"
13531 – fi
15744  
15745 +  ax_check_save_flags=$CFLAGS
15746 +  CFLAGS="$CFLAGS  $flag"
15747 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 + /* end confdefs.h.  */
15749  
15750 < cat >>confdefs.h <<_ACEOF
15751 < #define LOG_FACILITY $syslog_facility
15750 > int
15751 > main ()
15752 > {
15753 >
15754 >  ;
15755 >  return 0;
15756 > }
15757   _ACEOF
15758 + if ac_fn_c_try_compile "$LINENO"; then :
15759 +  eval "$as_CACHEVAR=yes"
15760 + else
15761 +  eval "$as_CACHEVAR=no"
15762 + fi
15763 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15764 +  CFLAGS=$ax_check_save_flags
15765 + fi
15766 + eval ac_res=\$$as_CACHEVAR
15767 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15768 + $as_echo "$ac_res" >&6; }
15769 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15770 +  if ${CFLAGS+:} false; then :
15771 +  case " $CFLAGS " in
15772 +    *" $flag "*)
15773 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15774 +  (: CFLAGS already contains $flag) 2>&5
15775 +  ac_status=$?
15776 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15777 +  test $ac_status = 0; }
15778 +      ;;
15779 +    *)
15780 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15781 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15782 +  ac_status=$?
15783 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15784 +  test $ac_status = 0; }
15785 +      CFLAGS="$CFLAGS $flag"
15786 +      ;;
15787 +   esac
15788 + else
15789 +  CFLAGS="$flag"
15790 + fi
15791 +
15792 + else
15793 +  :
15794 + fi
15795 +
15796 + done
15797 +
15798  
15799  
15800  
15801 <  # Check whether --enable-efnet was given.
15802 < if test "${enable_efnet+set}" = set; then :
15803 <  enableval=$enable_efnet; efnet="$enableval"
15801 >
15802 > for flag in -Wuninitialized; do
15803 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15804 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15805 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15806 > if eval \${$as_CACHEVAR+:} false; then :
15807 >  $as_echo_n "(cached) " >&6
15808   else
15809 <  efnet="no"
15809 >
15810 >  ax_check_save_flags=$CFLAGS
15811 >  CFLAGS="$CFLAGS  $flag"
15812 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15813 > /* end confdefs.h.  */
15814 >
15815 > int
15816 > main ()
15817 > {
15818 >
15819 >  ;
15820 >  return 0;
15821 > }
15822 > _ACEOF
15823 > if ac_fn_c_try_compile "$LINENO"; then :
15824 >  eval "$as_CACHEVAR=yes"
15825 > else
15826 >  eval "$as_CACHEVAR=no"
15827 > fi
15828 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15829 >  CFLAGS=$ax_check_save_flags
15830 > fi
15831 > eval ac_res=\$$as_CACHEVAR
15832 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15833 > $as_echo "$ac_res" >&6; }
15834 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15835 >  if ${CFLAGS+:} false; then :
15836 >  case " $CFLAGS " in
15837 >    *" $flag "*)
15838 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15839 >  (: CFLAGS already contains $flag) 2>&5
15840 >  ac_status=$?
15841 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15842 >  test $ac_status = 0; }
15843 >      ;;
15844 >    *)
15845 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15846 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15847 >  ac_status=$?
15848 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15849 >  test $ac_status = 0; }
15850 >      CFLAGS="$CFLAGS $flag"
15851 >      ;;
15852 >   esac
15853 > else
15854 >  CFLAGS="$flag"
15855 > fi
15856 >
15857 > else
15858 >  :
15859   fi
15860  
15861 <  if test "$efnet" = "yes" ; then
13548 <                use_efnet="yes"
15861 > done
15862  
13550 – $as_echo "#define EFNET 1" >>confdefs.h
15863  
15864  
13553 – $as_echo "#define TS5_ONLY 1" >>confdefs.h
15865  
15866 <        else
15867 <                use_efnet="no"
15868 <  fi
15869 <   if test "$use_efnet" = "yes"; then
15870 <  EFNET_TRUE=
15871 <  EFNET_FALSE='#'
15866 >
15867 > for flag in -Wwrite-strings; do
15868 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15869 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15870 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15871 > if eval \${$as_CACHEVAR+:} false; then :
15872 >  $as_echo_n "(cached) " >&6
15873   else
13562 –  EFNET_TRUE='#'
13563 –  EFNET_FALSE=
13564 – fi
15874  
15875 +  ax_check_save_flags=$CFLAGS
15876 +  CFLAGS="$CFLAGS  $flag"
15877 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15878 + /* end confdefs.h.  */
15879  
15880 + int
15881 + main ()
15882 + {
15883  
15884 <  # Check whether --enable-halfops was given.
15885 < if test "${enable_halfops+set}" = set; then :
15886 <  enableval=$enable_halfops; halfops="$enableval"
15884 >  ;
15885 >  return 0;
15886 > }
15887 > _ACEOF
15888 > if ac_fn_c_try_compile "$LINENO"; then :
15889 >  eval "$as_CACHEVAR=yes"
15890   else
15891 <  halfops="no"
15891 >  eval "$as_CACHEVAR=no"
15892 > fi
15893 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15894 >  CFLAGS=$ax_check_save_flags
15895 > fi
15896 > eval ac_res=\$$as_CACHEVAR
15897 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15898 > $as_echo "$ac_res" >&6; }
15899 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15900 >  if ${CFLAGS+:} false; then :
15901 >  case " $CFLAGS " in
15902 >    *" $flag "*)
15903 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15904 >  (: CFLAGS already contains $flag) 2>&5
15905 >  ac_status=$?
15906 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15907 >  test $ac_status = 0; }
15908 >      ;;
15909 >    *)
15910 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15911 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15912 >  ac_status=$?
15913 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15914 >  test $ac_status = 0; }
15915 >      CFLAGS="$CFLAGS $flag"
15916 >      ;;
15917 >   esac
15918 > else
15919 >  CFLAGS="$flag"
15920   fi
15921  
15922 <  if test "$halfops" = "yes" ; then
15922 > else
15923 >  :
15924 > fi
15925  
15926 < $as_echo "#define HALFOPS 1" >>confdefs.h
15926 > done
15927  
15928    fi
15929  
15930  
15931 <  # Check whether --enable-debugging was given.
15932 < if test "${enable_debugging+set}" = set; then :
15933 <  enableval=$enable_debugging; debugging="$enableval"
15931 > # Check whether --enable-openssl was given.
15932 > if test "${enable_openssl+set}" = set; then :
15933 >  enableval=$enable_openssl;  cf_enable_openssl=$enableval
15934   else
15935 <  debugging="no"
15935 >   cf_enable_openssl="auto"
15936   fi
15937  
15938 <  if test "$debugging" = "yes" ; then
15939 <
15940 < $as_echo "#define DEBUG 1" >>confdefs.h
15941 <
15942 <    CFLAGS="-Wall -g -O0"
15938 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
15939 > $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
15940 > if test "$cf_enable_openssl" != "no"; then
15941 >  cf_openssl_basedir=""
15942 >  if test "$cf_enable_openssl" != "auto" &&
15943 >     test "$cf_enable_openssl" != "yes"; then
15944 >          cf_openssl_basedir="${cf_enable_openssl}"
15945    else
15946 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
15947 +                /opt /opt/openssl /usr/local/openssl; do
15948 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
15949 +        cf_openssl_basedir="${dirs}"
15950 +        break
15951 +      fi
15952 +    done
15953 +    unset dirs
15954 +  fi
15955  
15956 < $as_echo "#define NDEBUG 1" >>confdefs.h
15956 >    if test ! -z "$cf_openssl_basedir"; then
15957 >    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
15958 >      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
15959 >      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
15960 >    else
15961 >                  cf_openssl_basedir=""
15962 >    fi
15963 >  else
15964 >                            if test -f "/usr/include/openssl/opensslv.h"; then
15965 >      cf_openssl_basedir="/usr"
15966 >    fi
15967 >  fi
15968  
15969 +      if test ! -z "$cf_openssl_basedir"; then
15970 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
15971 + $as_echo "$cf_openssl_basedir" >&6; }
15972 +    cf_enable_openssl="yes"
15973 +  else
15974 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
15975 + $as_echo "not found. Please check your path." >&6; }
15976 +    cf_enable_openssl="no"
15977    fi
15978 +  unset cf_openssl_basedir
15979 + else
15980 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15981 + $as_echo "disabled" >&6; }
15982 + fi
15983 +
15984 + if test "$cf_enable_openssl" != "no"; then :
15985 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
15986 + $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
15987 +  if test "$cross_compiling" = yes; then :
15988 +  cf_openssl_version_ok=no
15989 + else
15990 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 + /* end confdefs.h.  */
15992  
15993  
15994 <  # Check whether --enable-warnings was given.
15995 < if test "${enable_warnings+set}" = set; then :
15996 <  enableval=$enable_warnings; warnings="$enableval"
15994 >    #include <openssl/opensslv.h>
15995 >    #include <stdlib.h>
15996 > int
15997 > main ()
15998 > {
15999 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
16000 >  ;
16001 >  return 0;
16002 > }
16003 > _ACEOF
16004 > if ac_fn_c_try_run "$LINENO"; then :
16005 >  cf_openssl_version_ok=yes
16006   else
16007 <  warnings="no"
16007 >  cf_openssl_version_ok=no
16008 > fi
16009 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16010 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
16011   fi
16012  
13608 –  if test "$warnings" = "yes" ; then
13609 –    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13610 –  fi
16013  
16014 +  if test "$cf_openssl_version_ok" = "yes"; then :
16015 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16016 + $as_echo "found" >&6; }
16017  
16018 <  for ac_header in syslog.h sys/syslog.h
16019 < do :
16020 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16021 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16022 < eval as_val=\$$as_ac_Header
16023 <   if test "x$as_val" = x""yes; then :
16018 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16019 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16020 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
16021 >  $as_echo_n "(cached) " >&6
16022 > else
16023 >  ac_check_lib_save_LIBS=$LIBS
16024 > LIBS="-lcrypto  $LIBS"
16025 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 > /* end confdefs.h.  */
16027 >
16028 > /* Override any GCC internal prototype to avoid an error.
16029 >   Use char because int might match the return type of a GCC
16030 >   builtin and then its argument prototype would still apply.  */
16031 > #ifdef __cplusplus
16032 > extern "C"
16033 > #endif
16034 > char RSA_free ();
16035 > int
16036 > main ()
16037 > {
16038 > return RSA_free ();
16039 >  ;
16040 >  return 0;
16041 > }
16042 > _ACEOF
16043 > if ac_fn_c_try_link "$LINENO"; then :
16044 >  ac_cv_lib_crypto_RSA_free=yes
16045 > else
16046 >  ac_cv_lib_crypto_RSA_free=no
16047 > fi
16048 > rm -f core conftest.err conftest.$ac_objext \
16049 >    conftest$ac_exeext conftest.$ac_ext
16050 > LIBS=$ac_check_lib_save_LIBS
16051 > fi
16052 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16053 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16054 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
16055    cat >>confdefs.h <<_ACEOF
16056 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16056 > #define HAVE_LIBCRYPTO 1
16057   _ACEOF
16058  
16059 +  LIBS="-lcrypto $LIBS"
16060 +
16061   fi
16062  
16063 < done
16063 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
16064 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
16065 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
16066 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
16067 >  $as_echo_n "(cached) " >&6
16068 > else
16069 >  ac_check_lib_save_LIBS=$LIBS
16070 > LIBS="-lssl  $LIBS"
16071 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 > /* end confdefs.h.  */
16073  
16074 <  # Check whether --enable-syslog was given.
16075 < if test "${enable_syslog+set}" = set; then :
16076 <  enableval=$enable_syslog; syslog="$enableval"
16077 < else
16078 <  syslog="no"
16074 > /* Override any GCC internal prototype to avoid an error.
16075 >   Use char because int might match the return type of a GCC
16076 >   builtin and then its argument prototype would still apply.  */
16077 > #ifdef __cplusplus
16078 > extern "C"
16079 > #endif
16080 > char SSL_connect ();
16081 > int
16082 > main ()
16083 > {
16084 > return SSL_connect ();
16085 >  ;
16086 >  return 0;
16087 > }
16088 > _ACEOF
16089 > if ac_fn_c_try_link "$LINENO"; then :
16090 >  ac_cv_lib_ssl_SSL_connect=yes
16091 > else
16092 >  ac_cv_lib_ssl_SSL_connect=no
16093   fi
16094 + rm -f core conftest.err conftest.$ac_objext \
16095 +    conftest$ac_exeext conftest.$ac_ext
16096 + LIBS=$ac_check_lib_save_LIBS
16097 + fi
16098 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
16099 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
16100 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
16101 +  cat >>confdefs.h <<_ACEOF
16102 + #define HAVE_LIBSSL 1
16103 + _ACEOF
16104  
16105 <  if test "$enableval" != "no" ; then
13635 <    for option in $enableval ; do
13636 <      case "$option" in
13637 <        users)
13638 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13639 < ;;
13640 <        oper)
13641 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13642 < ;;
13643 <        yes) : ;;
13644 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13645 <      esac
13646 <    done
16105 >  LIBS="-lssl $LIBS"
16106  
16107 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
16107 > fi
16108 >
16109 > fi
16110 >
16111 > else
16112 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
16113 > $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
16114 >    cf_enable_openssl="no"
16115 > fi
16116 > fi
16117 >
16118 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
16119 >  ENABLE_SSL_TRUE=
16120 >  ENABLE_SSL_FALSE='#'
16121 > else
16122 >  ENABLE_SSL_TRUE='#'
16123 >  ENABLE_SSL_FALSE=
16124 > fi
16125  
13650 –  fi
16126  
16127  
16128  
# Line 13736 | Line 16211 | _ACEOF
16211    test "$exec_prefix_NONE" && exec_prefix=NONE
16212  
16213  
16214 < ac_config_files="$ac_config_files Makefile etc/Makefile 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"
16214 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile modules/extra/Makefile doc/Makefile help/Makefile tools/Makefile"
16215  
16216  
16217   cat >confcache <<\_ACEOF
# Line 13803 | Line 16278 | $as_echo "$as_me: WARNING: cache variabl
16278       :end' >>confcache
16279   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16280    if test -w "$cache_file"; then
16281 <    test "x$cache_file" != "x/dev/null" &&
16281 >    if test "x$cache_file" != "x/dev/null"; then
16282        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16283   $as_echo "$as_me: updating cache $cache_file" >&6;}
16284 <    cat confcache >$cache_file
16284 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
16285 >        cat confcache >"$cache_file"
16286 >      else
16287 >        case $cache_file in #(
16288 >        */* | ?:*)
16289 >          mv -f confcache "$cache_file"$$ &&
16290 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
16291 >        *)
16292 >          mv -f confcache "$cache_file" ;;
16293 >        esac
16294 >      fi
16295 >    fi
16296    else
16297      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16298   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13822 | Line 16308 | DEFS=-DHAVE_CONFIG_H
16308  
16309   ac_libobjs=
16310   ac_ltlibobjs=
16311 + U=
16312   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16313    # 1. Remove the extension, and $U if already installed.
16314    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13836 | Line 16323 | LIBOBJS=$ac_libobjs
16323   LTLIBOBJS=$ac_ltlibobjs
16324  
16325  
16326 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16327 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
16328 +   if test -n "$am_sleep_pid"; then
16329 +     # Hide warnings about reused PIDs.
16330 +     wait $am_sleep_pid 2>/dev/null
16331 +   fi
16332 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16333 + $as_echo "done" >&6; }
16334   if test -n "$EXEEXT"; then
16335    am__EXEEXT_TRUE=
16336    am__EXEEXT_FALSE='#'
# Line 13845 | Line 16340 | else
16340   fi
16341  
16342   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16343 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
16343 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16344   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16345   fi
16346   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16347 <  as_fn_error "conditional \"AMDEP\" was never defined.
16347 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
16348   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16349   fi
16350   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16351 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
16351 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16352   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16353   fi
16354   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
16355 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
16355 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
16356   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16357   fi
16358   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
16359 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
16359 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
16360   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16361   fi
16362   LT_CONFIG_H=config.h
# Line 13882 | Line 16377 | LT_CONFIG_H=config.h
16377  
16378  
16379  
13885 – if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13886 –  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13887 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13888 – fi
16380   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
16381 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13891 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13892 < fi
13893 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13894 <  as_fn_error "conditional \"EFNET\" was never defined.
16381 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
16382   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16383   fi
16384  
16385 < : ${CONFIG_STATUS=./config.status}
16385 > : "${CONFIG_STATUS=./config.status}"
16386   ac_write_fail=0
16387   ac_clean_files_save=$ac_clean_files
16388   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13996 | Line 16483 | fi
16483   IFS=" ""        $as_nl"
16484  
16485   # Find who we are.  Look in the path if we contain no directory separator.
16486 + as_myself=
16487   case $0 in #((
16488    *[\\/]* ) as_myself=$0 ;;
16489    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14041 | Line 16529 | export LANGUAGE
16529   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16530  
16531  
16532 < # as_fn_error ERROR [LINENO LOG_FD]
16533 < # ---------------------------------
16532 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
16533 > # ----------------------------------------
16534   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16535   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16536 < # script with status $?, using 1 if that was 0.
16536 > # script with STATUS, using 1 if that was 0.
16537   as_fn_error ()
16538   {
16539 <  as_status=$?; test $as_status -eq 0 && as_status=1
16540 <  if test "$3"; then
16541 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16542 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16539 >  as_status=$1; test $as_status -eq 0 && as_status=1
16540 >  if test "$4"; then
16541 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16542 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16543    fi
16544 <  $as_echo "$as_me: error: $1" >&2
16544 >  $as_echo "$as_me: error: $2" >&2
16545    as_fn_exit $as_status
16546   } # as_fn_error
16547  
# Line 14191 | Line 16679 | if (echo >conf$$.file) 2>/dev/null; then
16679      # ... but there are two gotchas:
16680      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16681      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16682 <    # In both cases, we have to default to `cp -p'.
16682 >    # In both cases, we have to default to `cp -pR'.
16683      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16684 <      as_ln_s='cp -p'
16684 >      as_ln_s='cp -pR'
16685    elif ln conf$$.file conf$$ 2>/dev/null; then
16686      as_ln_s=ln
16687    else
16688 <    as_ln_s='cp -p'
16688 >    as_ln_s='cp -pR'
16689    fi
16690   else
16691 <  as_ln_s='cp -p'
16691 >  as_ln_s='cp -pR'
16692   fi
16693   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16694   rmdir conf$$.dir 2>/dev/null
# Line 14249 | Line 16737 | $as_echo X"$as_dir" |
16737        test -d "$as_dir" && break
16738      done
16739      test -z "$as_dirs" || eval "mkdir $as_dirs"
16740 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16740 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16741  
16742  
16743   } # as_fn_mkdir_p
# Line 14260 | Line 16748 | else
16748    as_mkdir_p=false
16749   fi
16750  
16751 < if test -x / >/dev/null 2>&1; then
16752 <  as_test_x='test -x'
16753 < else
16754 <  if ls -dL / >/dev/null 2>&1; then
16755 <    as_ls_L_option=L
16756 <  else
16757 <    as_ls_L_option=
16758 <  fi
16759 <  as_test_x='
16760 <    eval sh -c '\''
14273 <      if test -d "$1"; then
14274 <        test -d "$1/.";
14275 <      else
14276 <        case $1 in #(
14277 <        -*)set "./$1";;
14278 <        esac;
14279 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14280 <        ???[sx]*):;;*)false;;esac;fi
14281 <    '\'' sh
14282 <  '
14283 < fi
14284 < as_executable_p=$as_test_x
16751 >
16752 > # as_fn_executable_p FILE
16753 > # -----------------------
16754 > # Test if FILE is an executable regular file.
16755 > as_fn_executable_p ()
16756 > {
16757 >  test -f "$1" && test -x "$1"
16758 > } # as_fn_executable_p
16759 > as_test_x='test -x'
16760 > as_executable_p=as_fn_executable_p
16761  
16762   # Sed expression to map a string onto a valid CPP name.
16763   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14302 | Line 16778 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16778   # report actual input values of CONFIG_FILES etc. instead of their
16779   # values after options handling.
16780   ac_log="
16781 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16782 < generated by GNU Autoconf 2.65.  Invocation command line was
16781 > This file was extended by ircd-hybrid $as_me 8.2.1, which was
16782 > generated by GNU Autoconf 2.69.  Invocation command line was
16783  
16784    CONFIG_FILES    = $CONFIG_FILES
16785    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14368 | Line 16844 | _ACEOF
16844   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16845   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16846   ac_cs_version="\\
16847 < ircd-hybrid config.status 7.3-rc1
16848 < configured by $0, generated by GNU Autoconf 2.65,
16847 > ircd-hybrid config.status 8.2.1
16848 > configured by $0, generated by GNU Autoconf 2.69,
16849    with options \\"\$ac_cs_config\\"
16850  
16851 < Copyright (C) 2009 Free Software Foundation, Inc.
16851 > Copyright (C) 2012 Free Software Foundation, Inc.
16852   This config.status script is free software; the Free Software Foundation
16853   gives unlimited permission to copy, distribute and modify it."
16854  
# Line 14390 | Line 16866 | ac_need_defaults=:
16866   while test $# != 0
16867   do
16868    case $1 in
16869 <  --*=*)
16869 >  --*=?*)
16870      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16871      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16872      ac_shift=:
16873      ;;
16874 +  --*=)
16875 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16876 +    ac_optarg=
16877 +    ac_shift=:
16878 +    ;;
16879    *)
16880      ac_option=$1
16881      ac_optarg=$2
# Line 14416 | Line 16897 | do
16897      $ac_shift
16898      case $ac_optarg in
16899      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16900 +    '') as_fn_error $? "missing file argument" ;;
16901      esac
16902      as_fn_append CONFIG_FILES " '$ac_optarg'"
16903      ac_need_defaults=false;;
# Line 14428 | Line 16910 | do
16910      ac_need_defaults=false;;
16911    --he | --h)
16912      # Conflict between --help and --header
16913 <    as_fn_error "ambiguous option: \`$1'
16913 >    as_fn_error $? "ambiguous option: \`$1'
16914   Try \`$0 --help' for more information.";;
16915    --help | --hel | -h )
16916      $as_echo "$ac_cs_usage"; exit ;;
# Line 14437 | Line 16919 | Try \`$0 --help' for more information.";
16919      ac_cs_silent=: ;;
16920  
16921    # This is an error.
16922 <  -*) as_fn_error "unrecognized option: \`$1'
16922 >  -*) as_fn_error $? "unrecognized option: \`$1'
16923   Try \`$0 --help' for more information." ;;
16924  
16925    *) as_fn_append ac_config_targets " $1"
# Line 14457 | Line 16939 | fi
16939   _ACEOF
16940   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16941   if \$ac_cs_recheck; then
16942 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16942 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16943    shift
16944    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16945    CONFIG_SHELL='$SHELL'
# Line 14491 | Line 16973 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16973   sed_quote_subst='$sed_quote_subst'
16974   double_quote_subst='$double_quote_subst'
16975   delay_variable_subst='$delay_variable_subst'
16976 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16977 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16978 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16979 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16980 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16981 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16982 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16983 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16984 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16985 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16986 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16987 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16988 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16989 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16990 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16991 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16992 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16993 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16994 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16995 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16996 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16997 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16998 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16999 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17000 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17001 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17002 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17003 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17004 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17005 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17006 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17007 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17008 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17009 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17010 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17011 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17012 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17013 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17014 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17015 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17016 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17017 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17018 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17019 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17020 < 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"`'
17021 < 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"`'
17022 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17023 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17024 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17025 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17026 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17027 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17028 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17029 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17030 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17031 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17032 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17033 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17034 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17035 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17036 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17037 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17038 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17039 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17040 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17041 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17042 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17043 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17044 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17045 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17046 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17047 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17048 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17049 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17050 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17051 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17052 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17053 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17054 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17055 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17056 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17057 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17058 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17059 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17060 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17061 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17062 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17063 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17064 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17065 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17066 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17067 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17068 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17069 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17070 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17071 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17072 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17073 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17074 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17075 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17076 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17077 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17078 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17079 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17080 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17081 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17082 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17083 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17084 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17085 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17086 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17087 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17088 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17089 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17090 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17091 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17092 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17093 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16976 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16977 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16978 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16979 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16980 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16981 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16982 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16983 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16984 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16985 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16986 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16987 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16988 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16989 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16990 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16991 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16992 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16993 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16994 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16995 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16996 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16997 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16998 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16999 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17000 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17001 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17002 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17003 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17004 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17005 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17006 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17007 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17008 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17009 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17010 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17011 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17012 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17013 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17014 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17015 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17016 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17017 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17018 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17019 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17020 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17021 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17022 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17023 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17024 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17025 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17026 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17027 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17028 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17029 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17030 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17031 > lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17032 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17033 > 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"`'
17034 > lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17035 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17036 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17037 > lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17038 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17039 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17040 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17041 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17042 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17043 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17044 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17045 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17046 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17047 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17048 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17049 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17050 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17051 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17052 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17053 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17054 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17055 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17056 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17057 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17058 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17059 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17060 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17061 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17062 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17063 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17064 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17065 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17066 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17067 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17068 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17069 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17070 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17071 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17072 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17073 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17074 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17075 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17076 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17077 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17078 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17079 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17080 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17081 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17082 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17083 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17084 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17085 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17086 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17087 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17088 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17089 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17090 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17091 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17092 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17093 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17094 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17095 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17096 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17097 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17098 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17099 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17100 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17101 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17102 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17103 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17104 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17105 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17106 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17107 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17108 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17109  
17110   LTCC='$LTCC'
17111   LTCFLAGS='$LTCFLAGS'
17112   compiler='$compiler_DEFAULT'
17113  
17114 + # A function that is used when there is no print builtin or printf.
17115 + func_fallback_echo ()
17116 + {
17117 +  eval 'cat <<_LTECHO_EOF
17118 + \$1
17119 + _LTECHO_EOF'
17120 + }
17121 +
17122   # Quote evaled strings.
17123 < for var in SED \
17123 > for var in SHELL \
17124 > ECHO \
17125 > PATH_SEPARATOR \
17126 > SED \
17127   GREP \
17128   EGREP \
17129   FGREP \
# Line 14628 | Line 17136 | reload_flag \
17136   OBJDUMP \
17137   deplibs_check_method \
17138   file_magic_cmd \
17139 + file_magic_glob \
17140 + want_nocaseglob \
17141 + DLLTOOL \
17142 + sharedlib_from_linklib_cmd \
17143   AR \
17144   AR_FLAGS \
17145 + archiver_list_spec \
17146   STRIP \
17147   RANLIB \
17148   CC \
# Line 14637 | Line 17150 | CFLAGS \
17150   compiler \
17151   lt_cv_sys_global_symbol_pipe \
17152   lt_cv_sys_global_symbol_to_cdecl \
17153 + lt_cv_sys_global_symbol_to_import \
17154   lt_cv_sys_global_symbol_to_c_name_address \
17155   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17156 < SHELL \
17157 < ECHO \
17156 > lt_cv_nm_interface \
17157 > nm_file_list_spec \
17158 > lt_cv_truncate_bin \
17159   lt_prog_compiler_no_builtin_flag \
14645 – lt_prog_compiler_wl \
17160   lt_prog_compiler_pic \
17161 + lt_prog_compiler_wl \
17162   lt_prog_compiler_static \
17163   lt_cv_prog_compiler_c_o \
17164   need_locks \
17165 + MANIFEST_TOOL \
17166   DSYMUTIL \
17167   NMEDIT \
17168   LIPO \
# Line 14660 | Line 17176 | with_gnu_ld \
17176   allow_undefined_flag \
17177   no_undefined_flag \
17178   hardcode_libdir_flag_spec \
14663 – hardcode_libdir_flag_spec_ld \
17179   hardcode_libdir_separator \
14665 – fix_srcfile_path \
17180   exclude_expsyms \
17181   include_expsyms \
17182   file_list_spec \
# Line 14670 | Line 17184 | variables_saved_for_relink \
17184   libname_spec \
17185   library_names_spec \
17186   soname_spec \
17187 + install_override_mode \
17188   finish_eval \
17189   old_striplib \
17190   striplib; do
17191 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17191 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17192      *[\\\\\\\`\\"\\\$]*)
17193 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17193 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17194        ;;
17195      *)
17196        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14697 | Line 17212 | module_cmds \
17212   module_expsym_cmds \
17213   export_symbols_cmds \
17214   prelink_cmds \
17215 + postlink_cmds \
17216   postinstall_cmds \
17217   postuninstall_cmds \
17218   finish_cmds \
17219   sys_lib_search_path_spec \
17220   sys_lib_dlsearch_path_spec; do
17221 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17221 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17222      *[\\\\\\\`\\"\\\$]*)
17223 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17223 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17224        ;;
17225      *)
17226        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14712 | Line 17228 | sys_lib_dlsearch_path_spec; do
17228      esac
17229   done
17230  
14715 – # Fix-up fallback echo if it was mangled by the above quoting rules.
14716 – case \$lt_ECHO in
14717 – *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14718 –  ;;
14719 – esac
14720 –
17231   ac_aux_dir='$ac_aux_dir'
14722 – xsi_shell='$xsi_shell'
14723 – lt_shell_append='$lt_shell_append'
17232  
17233 < # See if we are running on zsh, and set the options which allow our
17233 > # See if we are running on zsh, and set the options that allow our
17234   # commands through without removal of \ escapes INIT.
17235 < if test -n "\${ZSH_VERSION+set}" ; then
17235 > if test -n "\${ZSH_VERSION+set}"; then
17236     setopt NO_GLOB_SUBST
17237   fi
17238  
17239  
17240      PACKAGE='$PACKAGE'
17241      VERSION='$VERSION'
14734 –    TIMESTAMP='$TIMESTAMP'
17242      RM='$RM'
17243      ofile='$ofile'
17244  
# Line 14750 | Line 17257 | do
17257      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17258      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17259      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14753 –    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14754 –    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14755 –    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14756 –    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
17260      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17261 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
17261 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
17262      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
17263      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
17264 +    "modules/extra/Makefile") CONFIG_FILES="$CONFIG_FILES modules/extra/Makefile" ;;
17265      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17266      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14763 –    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14764 –    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
17267      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17268  
17269 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17269 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17270    esac
17271   done
17272  
# Line 14787 | Line 17289 | fi
17289   # after its creation but before its name has been assigned to `$tmp'.
17290   $debug ||
17291   {
17292 <  tmp=
17292 >  tmp= ac_tmp=
17293    trap 'exit_status=$?
17294 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17294 >  : "${ac_tmp:=$tmp}"
17295 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17296   ' 0
17297    trap 'as_fn_exit 1' 1 2 13 15
17298   }
# Line 14797 | Line 17300 | $debug ||
17300  
17301   {
17302    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17303 <  test -n "$tmp" && test -d "$tmp"
17303 >  test -d "$tmp"
17304   }  ||
17305   {
17306    tmp=./conf$$-$RANDOM
17307    (umask 077 && mkdir "$tmp")
17308 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17308 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17309 > ac_tmp=$tmp
17310  
17311   # Set up the scripts for CONFIG_FILES section.
17312   # No need to generate them if there are no CONFIG_FILES.
# Line 14819 | Line 17323 | if test "x$ac_cr" = x; then
17323   fi
17324   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17325   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17326 <  ac_cs_awk_cr='\r'
17326 >  ac_cs_awk_cr='\\r'
17327   else
17328    ac_cs_awk_cr=$ac_cr
17329   fi
17330  
17331 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
17331 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17332   _ACEOF
17333  
17334  
# Line 14833 | Line 17337 | _ACEOF
17337    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17338    echo "_ACEOF"
17339   } >conf$$subs.sh ||
17340 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17341 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17340 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17341 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17342   ac_delim='%!_!# '
17343   for ac_last_try in false false false false false :; do
17344    . ./conf$$subs.sh ||
17345 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17345 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17346  
17347    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17348    if test $ac_delim_n = $ac_delim_num; then
17349      break
17350    elif $ac_last_try; then
17351 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17351 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17352    else
17353      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17354    fi
# Line 14852 | Line 17356 | done
17356   rm -f conf$$subs.sh
17357  
17358   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17359 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17359 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17360   _ACEOF
17361   sed -n '
17362   h
# Line 14900 | Line 17404 | t delim
17404   rm -f conf$$subs.awk
17405   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17406   _ACAWK
17407 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17407 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17408    for (key in S) S_is_set[key] = 1
17409    FS = ""
17410  
# Line 14932 | Line 17436 | if sed "s/$ac_cr//" < /dev/null > /dev/n
17436    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17437   else
17438    cat
17439 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17440 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
17439 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17440 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17441   _ACEOF
17442  
17443 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
17444 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17443 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17444 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17445   # trailing colons and then remove the whole line if VPATH becomes empty
17446   # (actually we leave an empty line to preserve line numbers).
17447   if test "x$srcdir" = x.; then
17448 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
17449 < s/:*\$(srcdir):*/:/
17450 < s/:*\${srcdir}:*/:/
17451 < s/:*@srcdir@:*/:/
17452 < s/^\([^=]*=[     ]*\):*/\1/
17448 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17449 > h
17450 > s///
17451 > s/^/:/
17452 > s/[      ]*$/:/
17453 > s/:\$(srcdir):/:/g
17454 > s/:\${srcdir}:/:/g
17455 > s/:@srcdir@:/:/g
17456 > s/^:*//
17457   s/:*$//
17458 + x
17459 + s/\(=[   ]*\).*/\1/
17460 + G
17461 + s/\n//
17462   s/^[^=]*=[       ]*$//
17463   }'
17464   fi
# Line 14958 | Line 17470 | fi # test -n "$CONFIG_FILES"
17470   # No need to generate them if there are no CONFIG_HEADERS.
17471   # This happens for instance with `./config.status Makefile'.
17472   if test -n "$CONFIG_HEADERS"; then
17473 < cat >"$tmp/defines.awk" <<\_ACAWK ||
17473 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17474   BEGIN {
17475   _ACEOF
17476  
# Line 14970 | Line 17482 | _ACEOF
17482   # handling of long lines.
17483   ac_delim='%!_!# '
17484   for ac_last_try in false false :; do
17485 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17486 <  if test -z "$ac_t"; then
17485 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17486 >  if test -z "$ac_tt"; then
17487      break
17488    elif $ac_last_try; then
17489 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17489 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17490    else
17491      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17492    fi
# Line 15059 | Line 17571 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
17571   _ACAWK
17572   _ACEOF
17573   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17574 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
17574 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17575   fi # test -n "$CONFIG_HEADERS"
17576  
17577  
# Line 15072 | Line 17584 | do
17584    esac
17585    case $ac_mode$ac_tag in
17586    :[FHL]*:*);;
17587 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17587 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17588    :[FH]-) ac_tag=-:-;;
17589    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17590    esac
# Line 15091 | Line 17603 | do
17603      for ac_f
17604      do
17605        case $ac_f in
17606 <      -) ac_f="$tmp/stdin";;
17606 >      -) ac_f="$ac_tmp/stdin";;
17607        *) # Look for the file first in the build tree, then in the source tree
17608           # (if the path is not absolute).  The absolute path cannot be DOS-style,
17609           # because $ac_f cannot contain `:'.
# Line 15100 | Line 17612 | do
17612             [\\/$]*) false;;
17613             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17614             esac ||
17615 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17615 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17616        esac
17617        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17618        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15126 | Line 17638 | $as_echo "$as_me: creating $ac_file" >&6
17638      esac
17639  
17640      case $ac_tag in
17641 <    *:-:* | *:-) cat >"$tmp/stdin" \
17642 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17641 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17642 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17643      esac
17644      ;;
17645    esac
# Line 15263 | Line 17775 | s&@INSTALL@&$ac_INSTALL&;t t
17775   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17776   $ac_datarootdir_hack
17777   "
17778 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17779 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17778 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17779 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17780  
17781   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17782 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17783 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17782 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17783 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17784 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17785    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17786 < which seems to be undefined.  Please make sure it is defined." >&5
17786 > which seems to be undefined.  Please make sure it is defined" >&5
17787   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17788 < which seems to be undefined.  Please make sure it is defined." >&2;}
17788 > which seems to be undefined.  Please make sure it is defined" >&2;}
17789  
17790 <  rm -f "$tmp/stdin"
17790 >  rm -f "$ac_tmp/stdin"
17791    case $ac_file in
17792 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17793 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17792 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17793 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17794    esac \
17795 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17795 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17796   ;;
17797    :H)
17798    #
# Line 15288 | Line 17801 | which seems to be undefined.  Please mak
17801    if test x"$ac_file" != x-; then
17802      {
17803        $as_echo "/* $configure_input  */" \
17804 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17805 <    } >"$tmp/config.h" \
17806 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17807 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17804 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17805 >    } >"$ac_tmp/config.h" \
17806 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17807 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17808        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17809   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17810      else
17811        rm -f "$ac_file"
17812 <      mv "$tmp/config.h" "$ac_file" \
17813 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17812 >      mv "$ac_tmp/config.h" "$ac_file" \
17813 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17814      fi
17815    else
17816      $as_echo "/* $configure_input  */" \
17817 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17818 <      || as_fn_error "could not create -" "$LINENO" 5
17817 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17818 >      || as_fn_error $? "could not create -" "$LINENO" 5
17819    fi
17820   # Compute "$ac_file"'s index in $config_headers.
17821   _am_arg="$ac_file"
# Line 15348 | Line 17861 | $as_echo "$as_me: executing $ac_file com
17861  
17862    case $ac_file$ac_mode in
17863      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17864 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17864 >  # Older Autoconf quotes --file arguments for eval, but not when files
17865    # are listed without --file.  Let's play safe and only enable the eval
17866    # if we detect the quoting.
17867    case $CONFIG_FILES in
# Line 15361 | Line 17874 | $as_echo "$as_me: executing $ac_file com
17874      # Strip MF so we end up with the name of the file.
17875      mf=`echo "$mf" | sed -e 's/:.*$//'`
17876      # Check whether this is an Automake generated Makefile or not.
17877 <    # We used to match only the files named `Makefile.in', but
17877 >    # We used to match only the files named 'Makefile.in', but
17878      # some people rename them; so instead we look at the file content.
17879      # Grep'ing the first line is not enough: some people post-process
17880      # each Makefile.in and add a new line on top of each file to say so.
# Line 15395 | Line 17908 | $as_echo X"$mf" |
17908        continue
17909      fi
17910      # Extract the definition of DEPDIR, am__include, and am__quote
17911 <    # from the Makefile without running `make'.
17911 >    # from the Makefile without running 'make'.
17912      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17913      test -z "$DEPDIR" && continue
17914      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17915 <    test -z "am__include" && continue
17915 >    test -z "$am__include" && continue
17916      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15404 –    # When using ansi2knr, U may be empty or an underscore; expand it
15405 –    U=`sed -n 's/^U = //p' < "$mf"`
17917      # Find all dependency output files, they are included files with
17918      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17919      # simplest approach to changing $(DEPDIR) to its actual value in the
17920      # expansion.
17921      for file in `sed -n "
17922        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17923 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17923 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17924        # Make sure the directory exists.
17925        test -f "$dirpart/$file" && continue
17926        fdir=`$as_dirname -- "$file" ||
# Line 15444 | Line 17955 | $as_echo X"$file" |
17955   ;;
17956      "libtool":C)
17957  
17958 <    # See if we are running on zsh, and set the options which allow our
17958 >    # See if we are running on zsh, and set the options that allow our
17959      # commands through without removal of \ escapes.
17960 <    if test -n "${ZSH_VERSION+set}" ; then
17960 >    if test -n "${ZSH_VERSION+set}"; then
17961        setopt NO_GLOB_SUBST
17962      fi
17963  
17964 <    cfgfile="${ofile}T"
17964 >    cfgfile=${ofile}T
17965      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17966      $RM "$cfgfile"
17967  
17968      cat <<_LT_EOF >> "$cfgfile"
17969   #! $SHELL
17970 <
15460 < # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15461 < # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17970 > # Generated automatically by $as_me ($PACKAGE) $VERSION
17971   # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17972   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17973 +
17974 + # Provide generalized library-building support services.
17975 + # Written by Gordon Matzigkeit, 1996
17976 +
17977 + # Copyright (C) 2014 Free Software Foundation, Inc.
17978 + # This is free software; see the source for copying conditions.  There is NO
17979 + # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17980 +
17981 + # GNU Libtool is free software; you can redistribute it and/or modify
17982 + # it under the terms of the GNU General Public License as published by
17983 + # the Free Software Foundation; either version 2 of of the License, or
17984 + # (at your option) any later version.
17985   #
17986 < #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17987 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17988 < #   Written by Gordon Matzigkeit, 1996
17989 < #
15469 < #   This file is part of GNU Libtool.
15470 < #
15471 < # GNU Libtool is free software; you can redistribute it and/or
15472 < # modify it under the terms of the GNU General Public License as
15473 < # published by the Free Software Foundation; either version 2 of
15474 < # the License, or (at your option) any later version.
15475 < #
15476 < # As a special exception to the GNU General Public License,
15477 < # if you distribute this file as part of a program or library that
15478 < # is built using GNU Libtool, you may include this file under the
15479 < # same distribution terms that you use for the rest of that program.
17986 > # As a special exception to the GNU General Public License, if you
17987 > # distribute this file as part of a program or library that is built
17988 > # using GNU Libtool, you may include this file under the  same
17989 > # distribution terms that you use for the rest of that program.
17990   #
17991 < # GNU Libtool is distributed in the hope that it will be useful,
17992 < # but WITHOUT ANY WARRANTY; without even the implied warranty of
17991 > # GNU Libtool is distributed in the hope that it will be useful, but
17992 > # WITHOUT ANY WARRANTY; without even the implied warranty of
17993   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17994   # GNU General Public License for more details.
17995   #
17996   # You should have received a copy of the GNU General Public License
17997 < # along with GNU Libtool; see the file COPYING.  If not, a copy
15488 < # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15489 < # obtained by writing to the Free Software Foundation, Inc.,
15490 < # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17997 > # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17998  
17999  
18000   # The names of the tagged configurations supported by this script.
18001 < available_tags=""
18001 > available_tags=''
18002  
18003   # ### BEGIN LIBTOOL CONFIG
18004  
# Line 15511 | Line 18018 | pic_mode=$pic_mode
18018   # Whether or not to optimize for fast installation.
18019   fast_install=$enable_fast_install
18020  
18021 + # Shell to use when invoking shell scripts.
18022 + SHELL=$lt_SHELL
18023 +
18024 + # An echo program that protects backslashes.
18025 + ECHO=$lt_ECHO
18026 +
18027 + # The PATH separator for the build system.
18028 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
18029 +
18030   # The host system.
18031   host_alias=$host_alias
18032   host=$host
# Line 15560 | Line 18076 | SP2NL=$lt_lt_SP2NL
18076   # turn newlines into spaces.
18077   NL2SP=$lt_lt_NL2SP
18078  
18079 < # How to create reloadable object files.
18080 < reload_flag=$lt_reload_flag
18081 < reload_cmds=$lt_reload_cmds
18079 > # convert \$build file names to \$host format.
18080 > to_host_file_cmd=$lt_cv_to_host_file_cmd
18081 >
18082 > # convert \$build files to toolchain format.
18083 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18084  
18085   # An object symbol dumper.
18086   OBJDUMP=$lt_OBJDUMP
# Line 15570 | Line 18088 | OBJDUMP=$lt_OBJDUMP
18088   # Method to check whether dependent libraries are shared objects.
18089   deplibs_check_method=$lt_deplibs_check_method
18090  
18091 < # Command to use when deplibs_check_method == "file_magic".
18091 > # Command to use when deplibs_check_method = "file_magic".
18092   file_magic_cmd=$lt_file_magic_cmd
18093  
18094 + # How to find potential files when deplibs_check_method = "file_magic".
18095 + file_magic_glob=$lt_file_magic_glob
18096 +
18097 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18098 + want_nocaseglob=$lt_want_nocaseglob
18099 +
18100 + # DLL creation program.
18101 + DLLTOOL=$lt_DLLTOOL
18102 +
18103 + # Command to associate shared and link libraries.
18104 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18105 +
18106   # The archiver.
18107   AR=$lt_AR
18108 +
18109 + # Flags to create an archive.
18110   AR_FLAGS=$lt_AR_FLAGS
18111  
18112 + # How to feed a file listing to the archiver.
18113 + archiver_list_spec=$lt_archiver_list_spec
18114 +
18115   # A symbol stripping program.
18116   STRIP=$lt_STRIP
18117  
# Line 15585 | Line 18120 | RANLIB=$lt_RANLIB
18120   old_postinstall_cmds=$lt_old_postinstall_cmds
18121   old_postuninstall_cmds=$lt_old_postuninstall_cmds
18122  
18123 + # Whether to use a lock for old archive extraction.
18124 + lock_old_archive_extraction=$lock_old_archive_extraction
18125 +
18126   # A C compiler.
18127   LTCC=$lt_CC
18128  
# Line 15597 | Line 18135 | global_symbol_pipe=$lt_lt_cv_sys_global_
18135   # Transform the output of nm in a proper C declaration.
18136   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18137  
18138 + # Transform the output of nm into a list of symbols to manually relocate.
18139 + global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18140 +
18141   # Transform the output of nm in a C name address pair.
18142   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18143  
18144   # Transform the output of nm in a C name address pair when lib prefix is needed.
18145   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18146  
18147 < # The name of the directory that contains temporary libtool files.
18148 < objdir=$objdir
18147 > # The name lister interface.
18148 > nm_interface=$lt_lt_cv_nm_interface
18149  
18150 < # Shell to use when invoking shell scripts.
18151 < SHELL=$lt_SHELL
18150 > # Specify filename containing input files for \$NM.
18151 > nm_file_list_spec=$lt_nm_file_list_spec
18152  
18153 < # An echo program that does not interpret backslashes.
18154 < ECHO=$lt_ECHO
18153 > # The root where to search for dependent libraries,and where our libraries should be installed.
18154 > lt_sysroot=$lt_sysroot
18155 >
18156 > # Command to truncate a binary pipe.
18157 > lt_truncate_bin=$lt_lt_cv_truncate_bin
18158 >
18159 > # The name of the directory that contains temporary libtool files.
18160 > objdir=$objdir
18161  
18162   # Used to examine libraries when file_magic_cmd begins with "file".
18163   MAGIC_CMD=$MAGIC_CMD
# Line 15618 | Line 18165 | MAGIC_CMD=$MAGIC_CMD
18165   # Must we lock files when doing compilation?
18166   need_locks=$lt_need_locks
18167  
18168 + # Manifest tool.
18169 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
18170 +
18171   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18172   DSYMUTIL=$lt_DSYMUTIL
18173  
# Line 15674 | Line 18224 | library_names_spec=$lt_library_names_spe
18224   # The coded name of the library, if different from the real name.
18225   soname_spec=$lt_soname_spec
18226  
18227 + # Permission mode override for installation of shared libraries.
18228 + install_override_mode=$lt_install_override_mode
18229 +
18230   # Command to use after installation of a shared archive.
18231   postinstall_cmds=$lt_postinstall_cmds
18232  
# Line 15713 | Line 18266 | striplib=$lt_striplib
18266   # The linker used to build libraries.
18267   LD=$lt_LD
18268  
18269 + # How to create reloadable object files.
18270 + reload_flag=$lt_reload_flag
18271 + reload_cmds=$lt_reload_cmds
18272 +
18273   # Commands used to build an old-style archive.
18274   old_archive_cmds=$lt_old_archive_cmds
18275  
# Line 15725 | Line 18282 | with_gcc=$GCC
18282   # Compiler flag to turn off builtin functions.
18283   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18284  
15728 – # How to pass a linker flag through the compiler.
15729 – wl=$lt_lt_prog_compiler_wl
15730 –
18285   # Additional compiler flags for building library objects.
18286   pic_flag=$lt_lt_prog_compiler_pic
18287  
18288 + # How to pass a linker flag through the compiler.
18289 + wl=$lt_lt_prog_compiler_wl
18290 +
18291   # Compiler flag to prevent dynamic linking.
18292   link_static_flag=$lt_lt_prog_compiler_static
18293  
# Line 15780 | Line 18337 | no_undefined_flag=$lt_no_undefined_flag
18337   # This must work even if \$libdir does not exist
18338   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18339  
15783 – # If ld is used when linking, flag to hardcode \$libdir into a binary
15784 – # during linking.  This must work even if \$libdir does not exist.
15785 – hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15786 –
18340   # Whether we need a single "-rpath" flag with a separated argument.
18341   hardcode_libdir_separator=$lt_hardcode_libdir_separator
18342  
18343 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18343 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18344   # DIR into the resulting binary.
18345   hardcode_direct=$hardcode_direct
18346  
18347 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18347 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18348   # DIR into the resulting binary and the resulting library dependency is
18349 < # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18349 > # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18350   # library is relocated.
18351   hardcode_direct_absolute=$hardcode_direct_absolute
18352  
# Line 15817 | Line 18370 | inherit_rpath=$inherit_rpath
18370   # Whether libtool must link a program against all its dependency libraries.
18371   link_all_deplibs=$link_all_deplibs
18372  
15820 – # Fix the shell variable \$srcfile for the compiler.
15821 – fix_srcfile_path=$lt_fix_srcfile_path
15822 –
18373   # Set to "yes" if exported symbols are required.
18374   always_export_symbols=$always_export_symbols
18375  
# Line 15835 | Line 18385 | include_expsyms=$lt_include_expsyms
18385   # Commands necessary for linking programs (against libraries) with templates.
18386   prelink_cmds=$lt_prelink_cmds
18387  
18388 + # Commands necessary for finishing linking programs.
18389 + postlink_cmds=$lt_postlink_cmds
18390 +
18391   # Specify filename containing input files.
18392   file_list_spec=$lt_file_list_spec
18393  
# Line 15851 | Line 18404 | _LT_EOF
18404   # AIX sometimes has problems with the GCC collect2 program.  For some
18405   # reason, if we set the COLLECT_NAMES environment variable, the problems
18406   # vanish in a puff of smoke.
18407 < if test "X${COLLECT_NAMES+set}" != Xset; then
18407 > if test set != "${COLLECT_NAMES+set}"; then
18408    COLLECT_NAMES=
18409    export COLLECT_NAMES
18410   fi
# Line 15860 | Line 18413 | _LT_EOF
18413    esac
18414  
18415  
18416 < ltmain="$ac_aux_dir/ltmain.sh"
18416 > ltmain=$ac_aux_dir/ltmain.sh
18417  
18418  
18419    # We use sed instead of cat because bash on DJGPP gets confused if
18420    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18421    # text mode, it properly converts lines to CR/LF.  This bash problem
18422    # is reportedly fixed, but why not run on old versions too?
18423 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18424 <    || (rm -f "$cfgfile"; exit 1)
15872 <
15873 <  case $xsi_shell in
15874 <  yes)
15875 <    cat << \_LT_EOF >> "$cfgfile"
15876 <
15877 < # func_dirname file append nondir_replacement
15878 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15879 < # otherwise set result to NONDIR_REPLACEMENT.
15880 < func_dirname ()
15881 < {
15882 <  case ${1} in
15883 <    */*) func_dirname_result="${1%/*}${2}" ;;
15884 <    *  ) func_dirname_result="${3}" ;;
15885 <  esac
15886 < }
15887 <
15888 < # func_basename file
15889 < func_basename ()
15890 < {
15891 <  func_basename_result="${1##*/}"
15892 < }
18423 >  sed '$q' "$ltmain" >> "$cfgfile" \
18424 >     || (rm -f "$cfgfile"; exit 1)
18425  
18426 < # func_dirname_and_basename file append nondir_replacement
15895 < # perform func_basename and func_dirname in a single function
15896 < # call:
15897 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15898 < #             add APPEND to the result, otherwise set result
15899 < #             to NONDIR_REPLACEMENT.
15900 < #             value returned in "$func_dirname_result"
15901 < #   basename: Compute filename of FILE.
15902 < #             value retuned in "$func_basename_result"
15903 < # Implementation must be kept synchronized with func_dirname
15904 < # and func_basename. For efficiency, we do not delegate to
15905 < # those functions but instead duplicate the functionality here.
15906 < func_dirname_and_basename ()
15907 < {
15908 <  case ${1} in
15909 <    */*) func_dirname_result="${1%/*}${2}" ;;
15910 <    *  ) func_dirname_result="${3}" ;;
15911 <  esac
15912 <  func_basename_result="${1##*/}"
15913 < }
15914 <
15915 < # func_stripname prefix suffix name
15916 < # strip PREFIX and SUFFIX off of NAME.
15917 < # PREFIX and SUFFIX must not contain globbing or regex special
15918 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15919 < # dot (in which case that matches only a dot).
15920 < func_stripname ()
15921 < {
15922 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15923 <  # positional parameters, so assign one to ordinary parameter first.
15924 <  func_stripname_result=${3}
15925 <  func_stripname_result=${func_stripname_result#"${1}"}
15926 <  func_stripname_result=${func_stripname_result%"${2}"}
15927 < }
15928 <
15929 < # func_opt_split
15930 < func_opt_split ()
15931 < {
15932 <  func_opt_split_opt=${1%%=*}
15933 <  func_opt_split_arg=${1#*=}
15934 < }
15935 <
15936 < # func_lo2o object
15937 < func_lo2o ()
15938 < {
15939 <  case ${1} in
15940 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15941 <    *)    func_lo2o_result=${1} ;;
15942 <  esac
15943 < }
15944 <
15945 < # func_xform libobj-or-source
15946 < func_xform ()
15947 < {
15948 <  func_xform_result=${1%.*}.lo
15949 < }
15950 <
15951 < # func_arith arithmetic-term...
15952 < func_arith ()
15953 < {
15954 <  func_arith_result=$(( $* ))
15955 < }
15956 <
15957 < # func_len string
15958 < # STRING may not start with a hyphen.
15959 < func_len ()
15960 < {
15961 <  func_len_result=${#1}
15962 < }
15963 <
15964 < _LT_EOF
15965 <    ;;
15966 <  *) # Bourne compatible functions.
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 <  # Extract subdirectory from the argument.
15975 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15976 <  if test "X$func_dirname_result" = "X${1}"; then
15977 <    func_dirname_result="${3}"
15978 <  else
15979 <    func_dirname_result="$func_dirname_result${2}"
15980 <  fi
15981 < }
15982 <
15983 < # func_basename file
15984 < func_basename ()
15985 < {
15986 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15987 < }
15988 <
15989 <
15990 < # func_stripname prefix suffix name
15991 < # strip PREFIX and SUFFIX off of NAME.
15992 < # PREFIX and SUFFIX must not contain globbing or regex special
15993 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15994 < # dot (in which case that matches only a dot).
15995 < # func_strip_suffix prefix name
15996 < func_stripname ()
15997 < {
15998 <  case ${2} in
15999 <    .*) func_stripname_result=`$ECHO "X${3}" \
16000 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16001 <    *)  func_stripname_result=`$ECHO "X${3}" \
16002 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16003 <  esac
16004 < }
16005 <
16006 < # sed scripts:
16007 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16008 < my_sed_long_arg='1s/^-[^=]*=//'
16009 <
16010 < # func_opt_split
16011 < func_opt_split ()
16012 < {
16013 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16014 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16015 < }
16016 <
16017 < # func_lo2o object
16018 < func_lo2o ()
16019 < {
16020 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16021 < }
16022 <
16023 < # func_xform libobj-or-source
16024 < func_xform ()
16025 < {
16026 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16027 < }
16028 <
16029 < # func_arith arithmetic-term...
16030 < func_arith ()
16031 < {
16032 <  func_arith_result=`expr "$@"`
16033 < }
16034 <
16035 < # func_len string
16036 < # STRING may not start with a hyphen.
16037 < func_len ()
16038 < {
16039 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16040 < }
16041 <
16042 < _LT_EOF
16043 < esac
16044 <
16045 < case $lt_shell_append in
16046 <  yes)
16047 <    cat << \_LT_EOF >> "$cfgfile"
16048 <
16049 < # func_append var value
16050 < # Append VALUE to the end of shell variable VAR.
16051 < func_append ()
16052 < {
16053 <  eval "$1+=\$2"
16054 < }
16055 < _LT_EOF
16056 <    ;;
16057 <  *)
16058 <    cat << \_LT_EOF >> "$cfgfile"
16059 <
16060 < # func_append var value
16061 < # Append VALUE to the end of shell variable VAR.
16062 < func_append ()
16063 < {
16064 <  eval "$1=\$$1\$2"
16065 < }
16066 <
16067 < _LT_EOF
16068 <    ;;
16069 <  esac
16070 <
16071 <
16072 <  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16073 <    || (rm -f "$cfgfile"; exit 1)
16074 <
16075 <  mv -f "$cfgfile" "$ofile" ||
18426 >   mv -f "$cfgfile" "$ofile" ||
18427      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18428    chmod +x "$ofile"
18429  
# Line 16087 | Line 18438 | _ACEOF
18438   ac_clean_files=$ac_clean_files_save
18439  
18440   test $ac_write_fail = 0 ||
18441 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18441 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18442  
18443  
18444   # configure is writing to config.log, and then calls config.status.
# Line 16108 | Line 18459 | if test "$no_create" != yes; then
18459    exec 5>>config.log
18460    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18461    # would make configure fail if this is the last instruction.
18462 <  $ac_cs_success || as_fn_exit $?
16112 < fi
16113 <
16114 < #
16115 < # CONFIG_SUBDIRS section.
16116 < #
16117 < if test "$no_recursion" != yes; then
16118 <
16119 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16120 <  # so they do not pile up.
16121 <  ac_sub_configure_args=
16122 <  ac_prev=
16123 <  eval "set x $ac_configure_args"
16124 <  shift
16125 <  for ac_arg
16126 <  do
16127 <    if test -n "$ac_prev"; then
16128 <      ac_prev=
16129 <      continue
16130 <    fi
16131 <    case $ac_arg in
16132 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16133 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16134 <      ac_prev=cache_file ;;
16135 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16136 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16137 <    | --c=*)
16138 <      ;;
16139 <    --config-cache | -C)
16140 <      ;;
16141 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16142 <      ac_prev=srcdir ;;
16143 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16144 <      ;;
16145 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16146 <      ac_prev=prefix ;;
16147 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16148 <      ;;
16149 <    --disable-option-checking)
16150 <      ;;
16151 <    *)
16152 <      case $ac_arg in
16153 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16154 <      esac
16155 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16156 <    esac
16157 <  done
16158 <
16159 <  # Always prepend --prefix to ensure using the same prefix
16160 <  # in subdir configurations.
16161 <  ac_arg="--prefix=$prefix"
16162 <  case $ac_arg in
16163 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16164 <  esac
16165 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16166 <
16167 <  # Pass --silent
16168 <  if test "$silent" = yes; then
16169 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16170 <  fi
16171 <
16172 <  # Always prepend --disable-option-checking to silence warnings, since
16173 <  # different subdirs can have different --enable and --with options.
16174 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16175 <
16176 <  ac_popdir=`pwd`
16177 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16178 <
16179 <    # Do not complain, so a configure script can configure whichever
16180 <    # parts of a large source tree are present.
16181 <    test -d "$srcdir/$ac_dir" || continue
16182 <
16183 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16184 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16185 <    $as_echo "$ac_msg" >&6
16186 <    as_dir="$ac_dir"; as_fn_mkdir_p
16187 <    ac_builddir=.
16188 <
16189 < case "$ac_dir" in
16190 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16191 < *)
16192 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16193 <  # A ".." for each directory in $ac_dir_suffix.
16194 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16195 <  case $ac_top_builddir_sub in
16196 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16197 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16198 <  esac ;;
16199 < esac
16200 < ac_abs_top_builddir=$ac_pwd
16201 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16202 < # for backward compatibility:
16203 < ac_top_builddir=$ac_top_build_prefix
16204 <
16205 < case $srcdir in
16206 <  .)  # We are building in place.
16207 <    ac_srcdir=.
16208 <    ac_top_srcdir=$ac_top_builddir_sub
16209 <    ac_abs_top_srcdir=$ac_pwd ;;
16210 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16211 <    ac_srcdir=$srcdir$ac_dir_suffix;
16212 <    ac_top_srcdir=$srcdir
16213 <    ac_abs_top_srcdir=$srcdir ;;
16214 <  *) # Relative name.
16215 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16216 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16217 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16218 < esac
16219 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16220 <
16221 <
16222 <    cd "$ac_dir"
16223 <
16224 <    # Check for guested configure; otherwise get Cygnus style configure.
16225 <    if test -f "$ac_srcdir/configure.gnu"; then
16226 <      ac_sub_configure=$ac_srcdir/configure.gnu
16227 <    elif test -f "$ac_srcdir/configure"; then
16228 <      ac_sub_configure=$ac_srcdir/configure
16229 <    elif test -f "$ac_srcdir/configure.in"; then
16230 <      # This should be Cygnus configure.
16231 <      ac_sub_configure=$ac_aux_dir/configure
16232 <    else
16233 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16234 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16235 <      ac_sub_configure=
16236 <    fi
16237 <
16238 <    # The recursion is here.
16239 <    if test -n "$ac_sub_configure"; then
16240 <      # Make the cache file name correct relative to the subdirectory.
16241 <      case $cache_file in
16242 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16243 <      *) # Relative name.
16244 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16245 <      esac
16246 <
16247 <      { $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
16248 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16249 <      # The eval makes quoting arguments work.
16250 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16251 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16252 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16253 <    fi
16254 <
16255 <    cd "$ac_popdir"
16256 <  done
18462 >  $ac_cs_success || as_fn_exit 1
18463   fi
18464   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18465    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1068 by michael, Tue Feb 16 23:01:26 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 4909 by michael, Sat Nov 22 21:56:15 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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