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 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 8765 by michael, Tue Jan 1 15:13:17 2019 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z michael .
2 > # From configure.ac Id: configure.ac 8756 2019-01-01 14:38:27Z 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 TRUNK.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 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  
532 –
568   lt_ltdl_dir='libltdl'
569  
535 –
536 – # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
539 – case X$lt_ECHO in
540 – X*--fallback-echo)
541 –  # Remove one level of quotation (which was required for Make).
542 –  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
543 –  ;;
544 – esac
545 –
546 – ECHO=${lt_ECHO-echo}
547 – if test "X$1" = X--no-reexec; then
548 –  # Discard the --no-reexec flag, and continue.
549 –  shift
550 – elif test "X$1" = X--fallback-echo; then
551 –  # Avoid inline document here, it may be left over
552 –  :
553 – elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
554 –  # Yippee, $ECHO works!
555 –  :
556 – else
557 –  # Restart under the correct shell.
558 –  exec $SHELL "$0" --no-reexec ${1+"$@"}
559 – fi
560 –
561 – if test "X$1" = X--fallback-echo; then
562 –  # used as fallback echo
563 –  shift
564 –  cat <<_LT_EOF
565 – $*
566 – _LT_EOF
567 –  exit 0
568 – fi
569 –
570 – # The HP-UX ksh and POSIX shell print the target directory to stdout
571 – # if CDPATH is set.
572 – (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
573 –
574 – if test -z "$lt_ECHO"; then
575 –  if test "X${echo_test_string+set}" != Xset; then
576 –    # find a string as large as possible, as long as the shell can cope with it
577 –    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
578 –      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
579 –      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
580 –         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 –      then
582 –        break
583 –      fi
584 –    done
585 –  fi
586 –
587 –  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
588 –     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
589 –     test "X$echo_testing_string" = "X$echo_test_string"; then
590 –    :
591 –  else
592 –    # The Solaris, AIX, and Digital Unix default echo programs unquote
593 –    # backslashes.  This makes it impossible to quote backslashes using
594 –    #   echo "$something" | sed 's/\\/\\\\/g'
595 –    #
596 –    # So, first we look for a working echo in the user's PATH.
597 –
598 –    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
599 –    for dir in $PATH /usr/ucb; do
600 –      IFS="$lt_save_ifs"
601 –      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
602 –         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
603 –         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
604 –         test "X$echo_testing_string" = "X$echo_test_string"; then
605 –        ECHO="$dir/echo"
606 –        break
607 –      fi
608 –    done
609 –    IFS="$lt_save_ifs"
610 –
611 –    if test "X$ECHO" = Xecho; then
612 –      # We didn't find a better echo, so look for alternatives.
613 –      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
614 –         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
615 –         test "X$echo_testing_string" = "X$echo_test_string"; then
616 –        # This shell has a builtin print -r that does the trick.
617 –        ECHO='print -r'
618 –      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
619 –           test "X$CONFIG_SHELL" != X/bin/ksh; then
620 –        # If we have ksh, try running configure again with it.
621 –        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
622 –        export ORIGINAL_CONFIG_SHELL
623 –        CONFIG_SHELL=/bin/ksh
624 –        export CONFIG_SHELL
625 –        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 –      else
627 –        # Try using printf.
628 –        ECHO='printf %s\n'
629 –        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630 –           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631 –           test "X$echo_testing_string" = "X$echo_test_string"; then
632 –          # Cool, printf works
633 –          :
634 –        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
635 –             test "X$echo_testing_string" = 'X\t' &&
636 –             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
637 –             test "X$echo_testing_string" = "X$echo_test_string"; then
638 –          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
639 –          export CONFIG_SHELL
640 –          SHELL="$CONFIG_SHELL"
641 –          export SHELL
642 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 –        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
644 –             test "X$echo_testing_string" = 'X\t' &&
645 –             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
646 –             test "X$echo_testing_string" = "X$echo_test_string"; then
647 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
648 –        else
649 –          # maybe with a smaller string...
650 –          prev=:
651 –
652 –          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
653 –            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 –            then
655 –              break
656 –            fi
657 –            prev="$cmd"
658 –          done
659 –
660 –          if test "$prev" != 'sed 50q "$0"'; then
661 –            echo_test_string=`eval $prev`
662 –            export echo_test_string
663 –            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664 –          else
665 –            # Oops.  We lost completely, so just stick with echo.
666 –            ECHO=echo
667 –          fi
668 –        fi
669 –      fi
670 –    fi
671 –  fi
672 – fi
673 –
674 – # Copy echo and quote the copy suitably for passing to libtool from
675 – # the Makefile, instead of quoting the original, which is used later.
676 – lt_ECHO=$ECHO
677 – if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
678 –   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 – fi
680 –
681 –
682 –
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='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
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
767 – ENABLE_SSL_FALSE
768 – ENABLE_SSL_TRUE
769 – ENABLE_PCRE_FALSE
770 – ENABLE_PCRE_TRUE
651   LTDLOPEN
652   LT_CONFIG_H
773 – subdirs
653   CONVENIENCE_LTDL_FALSE
654   CONVENIENCE_LTDL_TRUE
655   INSTALL_LTDL_FALSE
656   INSTALL_LTDL_TRUE
657 < ARGZ_H
657 > LT_ARGZ_H
658   sys_symbol_underscore
659   LIBADD_DL
660   LT_DLPREOPEN
# Line 788 | Line 667 | LTDLINCL
667   LTDLDEPS
668   LIBLTDL
669   CPP
670 + LT_SYS_LIBRARY_PATH
671   OTOOL64
672   OTOOL
673   LIPO
674   NMEDIT
675   DSYMUTIL
676 < lt_ECHO
676 > MANIFEST_TOOL
677   RANLIB
678 + ac_ct_AR
679   AR
680 + DLLTOOL
681   OBJDUMP
682   LN_S
683   NM
# Line 823 | Line 705 | YACC
705   am__fastdepCC_FALSE
706   am__fastdepCC_TRUE
707   CCDEPMODE
708 + am__nodep
709   AMDEPBACKSLASH
710   AMDEP_FALSE
711   AMDEP_TRUE
829 – am__quote
712   am__include
713   DEPDIR
714   OBJEXT
# Line 839 | Line 721 | CC
721   MAINT
722   MAINTAINER_MODE_FALSE
723   MAINTAINER_MODE_TRUE
724 + AM_BACKSLASH
725 + AM_DEFAULT_VERBOSITY
726 + AM_DEFAULT_V
727 + AM_V
728   am__untar
729   am__tar
730   AMTAR
# Line 899 | Line 785 | PACKAGE_VERSION
785   PACKAGE_TARNAME
786   PACKAGE_NAME
787   PATH_SEPARATOR
788 < SHELL'
788 > SHELL
789 > am__quote'
790   ac_subst_files=''
791   ac_user_opts='
792   enable_option_checking
793 + enable_silent_rules
794   enable_maintainer_mode
795   enable_dependency_tracking
796   enable_static
797   enable_shared
798   with_pic
799   enable_fast_install
800 + with_aix_soname
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
918 – with_zlib_path
919 – enable_zlib
920 – with_libpcre_path
921 – enable_libpcre
922 – enable_openssl
923 – enable_assert
924 – enable_small_net
808   enable_kqueue
809   enable_epoll
810   enable_devpoll
928 – enable_rtsigio
811   enable_poll
812 < enable_select
931 < with_nicklen
932 < with_topiclen
933 < with_syslog_facility
934 < enable_efnet
935 < enable_halfops
812 > enable_assert
813   enable_debugging
814   enable_warnings
815 < enable_syslog
815 > enable_efence
816 > enable_openssl
817 > enable_gnutls
818   '
819        ac_precious_vars='build_alias
820   host_alias
# Line 947 | Line 826 | LIBS
826   CPPFLAGS
827   YACC
828   YFLAGS
829 + LT_SYS_LIBRARY_PATH
830   CPP'
831 < ac_subdirs_all='libltdl'
831 >
832  
833   # Initialize some variables set by options.
834   ac_init_help=
# Line 1010 | Line 890 | do
890    fi
891  
892    case $ac_option in
893 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 <  *)    ac_optarg=yes ;;
893 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 >  *=)   ac_optarg= ;;
895 >  *)    ac_optarg=yes ;;
896    esac
897  
898    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 937 | do
937      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938      # Reject names that are not valid shell variable names.
939      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 <      as_fn_error "invalid feature name: $ac_useropt"
940 >      as_fn_error $? "invalid feature name: $ac_useropt"
941      ac_useropt_orig=$ac_useropt
942      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943      case $ac_user_opts in
# Line 1082 | Line 963 | do
963      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964      # Reject names that are not valid shell variable names.
965      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 <      as_fn_error "invalid feature name: $ac_useropt"
966 >      as_fn_error $? "invalid feature name: $ac_useropt"
967      ac_useropt_orig=$ac_useropt
968      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969      case $ac_user_opts in
# Line 1286 | Line 1167 | do
1167      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168      # Reject names that are not valid shell variable names.
1169      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 <      as_fn_error "invalid package name: $ac_useropt"
1170 >      as_fn_error $? "invalid package name: $ac_useropt"
1171      ac_useropt_orig=$ac_useropt
1172      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173      case $ac_user_opts in
# Line 1302 | Line 1183 | do
1183      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184      # Reject names that are not valid shell variable names.
1185      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186 <      as_fn_error "invalid package name: $ac_useropt"
1186 >      as_fn_error $? "invalid package name: $ac_useropt"
1187      ac_useropt_orig=$ac_useropt
1188      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189      case $ac_user_opts in
# Line 1332 | Line 1213 | do
1213    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214      x_libraries=$ac_optarg ;;
1215  
1216 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1217 < Try \`$0 --help' for more information."
1216 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217 > Try \`$0 --help' for more information"
1218      ;;
1219  
1220    *=*)
# Line 1341 | Line 1222 | Try \`$0 --help' for more information."
1222      # Reject names that are not valid shell variable names.
1223      case $ac_envvar in #(
1224        '' | [0-9]* | *[!_$as_cr_alnum]* )
1225 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1225 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226      esac
1227      eval $ac_envvar=\$ac_optarg
1228      export $ac_envvar ;;
# Line 1351 | Line 1232 | Try \`$0 --help' for more information."
1232      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1235 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236      ;;
1237  
1238    esac
# Line 1359 | Line 1240 | done
1240  
1241   if test -n "$ac_prev"; then
1242    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243 <  as_fn_error "missing argument to $ac_option"
1243 >  as_fn_error $? "missing argument to $ac_option"
1244   fi
1245  
1246   if test -n "$ac_unrecognized_opts"; then
1247    case $enable_option_checking in
1248      no) ;;
1249 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1249 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251    esac
1252   fi
# Line 1388 | Line 1269 | do
1269      [\\/$]* | ?:[\\/]* )  continue;;
1270      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271    esac
1272 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1272 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273   done
1274  
1275   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1283 | target=$target_alias
1283   if test "x$host_alias" != x; then
1284    if test "x$build_alias" = x; then
1285      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
1286    elif test "x$build_alias" != "x$host_alias"; then
1287      cross_compiling=yes
1288    fi
# Line 1418 | Line 1297 | test "$silent" = yes && exec 6>/dev/null
1297   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298   ac_ls_di=`ls -di .` &&
1299   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 <  as_fn_error "working directory cannot be determined"
1300 >  as_fn_error $? "working directory cannot be determined"
1301   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 <  as_fn_error "pwd does not report name of working directory"
1302 >  as_fn_error $? "pwd does not report name of working directory"
1303  
1304  
1305   # Find the source files, if location was not specified.
# Line 1459 | Line 1338 | else
1338   fi
1339   if test ! -r "$srcdir/$ac_unique_file"; then
1340    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1341 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342   fi
1343   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344   ac_abs_confdir=`(
1345 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1345 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346          pwd)`
1347   # When building in place, set srcdir=.
1348   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1368 | if test "$ac_init_help" = "long"; then
1368    # Omit some internal or obsolete options to make the list less imposing.
1369    # This message is too long to be a string in the A/UX 3.1 sh.
1370    cat <<_ACEOF
1371 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1371 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1372  
1373   Usage: $0 [OPTION]... [VAR=VALUE]...
1374  
# Line 1503 | Line 1382 | Configuration:
1382        --help=short        display options specific to this package
1383        --help=recursive    display the short help of all the included packages
1384    -V, --version           display version information and exit
1385 <  -q, --quiet, --silent   do not print \`checking...' messages
1385 >  -q, --quiet, --silent   do not print \`checking ...' messages
1386        --cache-file=FILE   cache test results in FILE [disabled]
1387    -C, --config-cache      alias for \`--cache-file=config.cache'
1388    -n, --no-create         do not create output files
# Line 1559 | Line 1438 | fi
1438  
1439   if test -n "$ac_init_help"; then
1440    case $ac_init_help in
1441 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1441 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1442     esac
1443    cat <<\_ACEOF
1444  
# Line 1567 | Line 1446 | Optional Features:
1446    --disable-option-checking  ignore unrecognized --enable/--with options
1447    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1450 <                          (and sometimes confusing) to the casual installer
1451 <  --disable-dependency-tracking  speeds up one-time build
1452 <  --enable-dependency-tracking   do not reject slow dependency extractors
1449 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1450 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1451 >  --enable-maintainer-mode
1452 >                          enable make rules and dependencies not useful (and
1453 >                          sometimes confusing) to the casual installer
1454 >  --enable-dependency-tracking
1455 >                          do not reject slow dependency extractors
1456 >  --disable-dependency-tracking
1457 >                          speeds up one-time build
1458    --enable-static[=PKGS]  build static libraries [default=no]
1459    --enable-shared[=PKGS]  build shared libraries [default=yes]
1460    --enable-fast-install[=PKGS]
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1580 –  --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.
1584 –  --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.
1468 <  --enable-select         Force select usage.
1592 <  --enable-efnet          For IRCDs running on EFnet.
1593 <  --enable-halfops        Enable halfops support.
1468 >  --enable-assert         Enable assert() statements
1469    --enable-debugging      Enable debugging.
1470    --enable-warnings       Enable compiler warnings.
1471 <  --enable-syslog="EVENTS"
1472 <                          Enable syslog for events: users oper (space
1473 <                          separated in quotes; default: disabled).
1471 >  --enable-efence         Enable linking with Electric Fence 'efence' memory
1472 >                          debugger library.
1473 >  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1474 >  --disable-openssl            Disable LibreSSL/OpenSSL support.
1475 >  --enable-gnutls             Enable GnuTLS support.
1476 >  --disable-gnutls             Disable GnuTLS support.
1477  
1478   Optional Packages:
1479    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1480    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1481 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1481 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1482                            both]
1483 +  --with-aix-soname=aix|svr4|both
1484 +                          shared library versioning (aka "SONAME") variant to
1485 +                          provide on AIX, [default=aix].
1486    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1487 +  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1488 +                          compiler's sysroot if not specified).
1489    --with-included-ltdl    use the GNU ltdl sources included here
1490    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1491    --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)
1492  
1493   Some influential environment variables:
1494    CC          C compiler command
# Line 1622 | Line 1498 | Some influential environment variables:
1498    LIBS        libraries to pass to the linker, e.g. -l<library>
1499    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1500                you have headers in a nonstandard directory <include dir>
1501 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1502 <              the first program found out of: `bison -y', `byacc', `yacc'.
1501 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1502 >              Defaults to the first program found out of: `bison -y', `byacc',
1503 >              `yacc'.
1504    YFLAGS      The list of arguments that will be passed by default to $YACC.
1505                This script will default YFLAGS to the empty string to avoid a
1506                default value of `-d' given by some make applications.
1507 +  LT_SYS_LIBRARY_PATH
1508 +              User-defined run-time library search path.
1509    CPP         C preprocessor
1510  
1511   Use these variables to override the choices made by `configure' or to help
# Line 1695 | Line 1574 | fi
1574   test -n "$ac_init_help" && exit $ac_status
1575   if $ac_init_version; then
1576    cat <<\_ACEOF
1577 < ircd-hybrid configure 7.3-rc1
1578 < generated by GNU Autoconf 2.65
1577 > ircd-hybrid configure TRUNK
1578 > generated by GNU Autoconf 2.69
1579  
1580 < Copyright (C) 2009 Free Software Foundation, Inc.
1580 > Copyright (C) 2012 Free Software Foundation, Inc.
1581   This configure script is free software; the Free Software Foundation
1582   gives unlimited permission to copy, distribute and modify it.
1583   _ACEOF
# Line 1742 | Line 1621 | sed 's/^/| /' conftest.$ac_ext >&5
1621  
1622          ac_retval=1
1623   fi
1624 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1624 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625    as_fn_set_status $ac_retval
1626  
1627   } # ac_fn_c_try_compile
# Line 1774 | Line 1653 | $as_echo "$ac_try_echo"; } >&5
1653           test ! -s conftest.err
1654         } && test -s conftest$ac_exeext && {
1655           test "$cross_compiling" = yes ||
1656 <         $as_test_x conftest$ac_exeext
1656 >         test -x conftest$ac_exeext
1657         }; then :
1658    ac_retval=0
1659   else
# Line 1788 | Line 1667 | fi
1667    # interfere with the next link command; also delete a directory that is
1668    # left behind by Apple's compiler.  We do this before executing the actions.
1669    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1670 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671    as_fn_set_status $ac_retval
1672  
1673   } # ac_fn_c_try_link
# Line 1802 | Line 1681 | ac_fn_c_check_header_compile ()
1681    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683   $as_echo_n "checking for $2... " >&6; }
1684 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 > if eval \${$3+:} false; then :
1685    $as_echo_n "(cached) " >&6
1686   else
1687    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1699 | fi
1699   eval ac_res=\$$3
1700                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701   $as_echo "$ac_res" >&6; }
1702 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703  
1704   } # ac_fn_c_check_header_compile
1705  
# Line 1845 | Line 1724 | $as_echo "$ac_try_echo"; } >&5
1724      mv -f conftest.er1 conftest.err
1725    fi
1726    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 <  test $ac_status = 0; } >/dev/null && {
1727 >  test $ac_status = 0; } > conftest.i && {
1728           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1729           test ! -s conftest.err
1730         }; then :
# Line 1856 | Line 1735 | sed 's/^/| /' conftest.$ac_ext >&5
1735  
1736      ac_retval=1
1737   fi
1738 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1738 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739    as_fn_set_status $ac_retval
1740  
1741   } # ac_fn_c_try_cpp
# Line 1898 | Line 1777 | sed 's/^/| /' conftest.$ac_ext >&5
1777         ac_retval=$ac_status
1778   fi
1779    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1780 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781    as_fn_set_status $ac_retval
1782  
1783   } # ac_fn_c_try_run
# Line 1911 | Line 1790 | ac_fn_c_check_func ()
1790    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792   $as_echo_n "checking for $2... " >&6; }
1793 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1793 > if eval \${$3+:} false; then :
1794    $as_echo_n "(cached) " >&6
1795   else
1796    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1845 | fi
1845   eval ac_res=\$$3
1846                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847   $as_echo "$ac_res" >&6; }
1848 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1848 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849  
1850   } # ac_fn_c_check_func
1851  
1852 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1853 < # ------------------------------------
1854 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1852 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1853 > # ---------------------------------------------
1854 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1855 > # accordingly.
1856   ac_fn_c_check_decl ()
1857   {
1858    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1860 < $as_echo_n "checking whether $2 is declared... " >&6; }
1861 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1860 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1861 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1862 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1863 > if eval \${$3+:} false; then :
1864    $as_echo_n "(cached) " >&6
1865   else
1866    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1869 | $4
1869   int
1870   main ()
1871   {
1872 < #ifndef $2
1873 <  (void) $2;
1872 > #ifndef $as_decl_name
1873 > #ifdef __cplusplus
1874 >  (void) $as_decl_use;
1875 > #else
1876 >  (void) $as_decl_name;
1877 > #endif
1878   #endif
1879  
1880    ;
# Line 2005 | Line 1891 | fi
1891   eval ac_res=\$$3
1892                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893   $as_echo "$ac_res" >&6; }
1894 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895  
1896   } # ac_fn_c_check_decl
1897  
# Line 2018 | Line 1904 | ac_fn_c_check_type ()
1904    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906   $as_echo_n "checking for $2... " >&6; }
1907 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1907 > if eval \${$3+:} false; then :
1908    $as_echo_n "(cached) " >&6
1909   else
1910    eval "$3=no"
# Line 2059 | Line 1945 | fi
1945   eval ac_res=\$$3
1946                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947   $as_echo "$ac_res" >&6; }
1948 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949  
1950   } # ac_fn_c_check_type
1951  
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 –
1952   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1953   # -------------------------------------------------------
1954   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2128 | Line 1957 | $as_echo "$ac_res" >&6; }
1957   ac_fn_c_check_header_mongrel ()
1958   {
1959    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1960 >  if eval \${$3+:} false; then :
1961    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962   $as_echo_n "checking for $2... " >&6; }
1963 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1963 > if eval \${$3+:} false; then :
1964    $as_echo_n "(cached) " >&6
1965   fi
1966   eval ac_res=\$$3
# Line 2167 | Line 1996 | if ac_fn_c_try_cpp "$LINENO"; then :
1996   else
1997    ac_header_preproc=no
1998   fi
1999 < rm -f conftest.err conftest.$ac_ext
1999 > rm -f conftest.err conftest.i conftest.$ac_ext
2000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2001   $as_echo "$ac_header_preproc" >&6; }
2002  
# Line 2190 | Line 2019 | $as_echo "$as_me: WARNING: $2: see the A
2019   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2020      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2021   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2022 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2022 > ( $as_echo "## ----------------------------------- ##
2023   ## Report this to bugs@ircd-hybrid.org ##
2024 < ## ----------------------------------- ##
2197 < _ASBOX
2024 > ## ----------------------------------- ##"
2025       ) | sed "s/^/$as_me: WARNING:     /" >&2
2026      ;;
2027   esac
2028    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029   $as_echo_n "checking for $2... " >&6; }
2030 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2030 > if eval \${$3+:} false; then :
2031    $as_echo_n "(cached) " >&6
2032   else
2033    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2036 | eval ac_res=\$$3
2036                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037   $as_echo "$ac_res" >&6; }
2038   fi
2039 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2039 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040  
2041   } # ac_fn_c_check_header_mongrel
2042   cat >config.log <<_ACEOF
2043   This file contains any messages produced by compilers while
2044   running configure, to aid debugging if configure makes a mistake.
2045  
2046 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2047 < generated by GNU Autoconf 2.65.  Invocation command line was
2046 > It was created by ircd-hybrid $as_me TRUNK, which was
2047 > generated by GNU Autoconf 2.69.  Invocation command line was
2048  
2049    $ $0 $@
2050  
# Line 2327 | Line 2154 | trap 'exit_status=$?
2154    {
2155      echo
2156  
2157 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2157 >    $as_echo "## ---------------- ##
2158   ## Cache variables. ##
2159 < ## ---------------- ##
2334 < _ASBOX
2159 > ## ---------------- ##"
2160      echo
2161      # The following way of writing the cache mishandles newlines in values,
2162   (
# Line 2365 | Line 2190 | $as_echo "$as_me: WARNING: cache variabl
2190   )
2191      echo
2192  
2193 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2193 >    $as_echo "## ----------------- ##
2194   ## Output variables. ##
2195 < ## ----------------- ##
2372 < _ASBOX
2195 > ## ----------------- ##"
2196      echo
2197      for ac_var in $ac_subst_vars
2198      do
# Line 2382 | Line 2205 | _ASBOX
2205      echo
2206  
2207      if test -n "$ac_subst_files"; then
2208 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2208 >      $as_echo "## ------------------- ##
2209   ## File substitutions. ##
2210 < ## ------------------- ##
2389 < _ASBOX
2210 > ## ------------------- ##"
2211        echo
2212        for ac_var in $ac_subst_files
2213        do
# Line 2400 | Line 2221 | _ASBOX
2221      fi
2222  
2223      if test -s confdefs.h; then
2224 <      cat <<\_ASBOX
2404 < ## ----------- ##
2224 >      $as_echo "## ----------- ##
2225   ## confdefs.h. ##
2226 < ## ----------- ##
2407 < _ASBOX
2226 > ## ----------- ##"
2227        echo
2228        cat confdefs.h
2229        echo
# Line 2459 | Line 2278 | _ACEOF
2278   ac_site_file1=NONE
2279   ac_site_file2=NONE
2280   if test -n "$CONFIG_SITE"; then
2281 <  ac_site_file1=$CONFIG_SITE
2281 >  # We do not want a PATH search for config.site.
2282 >  case $CONFIG_SITE in #((
2283 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2284 >    */*) ac_site_file1=$CONFIG_SITE;;
2285 >    *)   ac_site_file1=./$CONFIG_SITE;;
2286 >  esac
2287   elif test "x$prefix" != xNONE; then
2288    ac_site_file1=$prefix/share/config.site
2289    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2298 | do
2298      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2299   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2300      sed 's/^/| /' "$ac_site_file" >&5
2301 <    . "$ac_site_file"
2301 >    . "$ac_site_file" \
2302 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304 > as_fn_error $? "failed to load site script $ac_site_file
2305 > See \`config.log' for more details" "$LINENO" 5; }
2306    fi
2307   done
2308  
# Line 2495 | Line 2323 | $as_echo "$as_me: creating cache $cache_
2323    >$cache_file
2324   fi
2325  
2498 – as_fn_append ac_func_list " mmap"
2326   as_fn_append ac_func_list " strtok_r"
2500 – as_fn_append ac_func_list " usleep"
2327   as_fn_append ac_func_list " strlcat"
2328   as_fn_append ac_func_list " strlcpy"
2329   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"
2506 – as_fn_append ac_header_list " sys/resource.h"
2330   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"
2331   as_fn_append ac_header_list " types.h"
2332   as_fn_append ac_header_list " socket.h"
2333   as_fn_append ac_header_list " sys/wait.h"
2513 – as_fn_append ac_header_list " wait.h"
2514 – as_fn_append ac_header_list " link.h"
2334   # Check that the precious variables saved in the cache have kept the same
2335   # value.
2336   ac_cache_corrupted=false
# Line 2567 | Line 2386 | if $ac_cache_corrupted; then
2386   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2387    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2388   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2389 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2389 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2390   fi
2391   ## -------------------- ##
2392   ## Main body of script. ##
# Line 2580 | Line 2399 | ac_link='$CC -o conftest$ac_exeext $CFLA
2399   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2400  
2401  
2402 < am__api_version='1.11'
2402 > am__api_version='1.16'
2403  
2404   ac_aux_dir=
2405   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2406 <  for ac_t in install-sh install.sh shtool; do
2407 <    if test -f "$ac_dir/$ac_t"; then
2408 <      ac_aux_dir=$ac_dir
2409 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2410 <      break 2
2411 <    fi
2412 <  done
2406 >  if test -f "$ac_dir/install-sh"; then
2407 >    ac_aux_dir=$ac_dir
2408 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2409 >    break
2410 >  elif test -f "$ac_dir/install.sh"; then
2411 >    ac_aux_dir=$ac_dir
2412 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2413 >    break
2414 >  elif test -f "$ac_dir/shtool"; then
2415 >    ac_aux_dir=$ac_dir
2416 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2417 >    break
2418 >  fi
2419   done
2420   if test -z "$ac_aux_dir"; then
2421 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2421 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2422   fi
2423  
2424   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2447 | ac_configure="$SHELL $ac_aux_dir/configu
2447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2448   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2449   if test -z "$INSTALL"; then
2450 < if test "${ac_cv_path_install+set}" = set; then :
2450 > if ${ac_cv_path_install+:} false; then :
2451    $as_echo_n "(cached) " >&6
2452   else
2453    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2642 | Line 2467 | case $as_dir/ in #((
2467      # by default.
2468      for ac_prog in ginstall scoinst install; do
2469        for ac_exec_ext in '' $ac_executable_extensions; do
2470 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2470 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2471            if test $ac_prog = install &&
2472              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2473              # AIX install.  It has an incompatible calling convention.
# Line 2700 | Line 2525 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2525  
2526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2527   $as_echo_n "checking whether build environment is sane... " >&6; }
2703 – # Just in case
2704 – sleep 1
2705 – echo timestamp > conftest.file
2528   # Reject unsafe characters in $srcdir or the absolute working directory
2529   # name.  Accept space and tab only in the latter.
2530   am_lf='
2531   '
2532   case `pwd` in
2533    *[\\\"\#\$\&\'\`$am_lf]*)
2534 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2534 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2535   esac
2536   case $srcdir in
2537    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2538 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2538 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2539   esac
2540  
2541 < # Do `set' in a subshell so we don't clobber the current shell's
2541 > # Do 'set' in a subshell so we don't clobber the current shell's
2542   # arguments.  Must try -L first in case configure is actually a
2543   # symlink; some systems play weird games with the mod time of symlinks
2544   # (eg FreeBSD returns the mod time of the symlink's containing
2545   # directory).
2546   if (
2547 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2548 <   if test "$*" = "X"; then
2549 <      # -L didn't work.
2550 <      set X `ls -t "$srcdir/configure" conftest.file`
2551 <   fi
2552 <   rm -f conftest.file
2553 <   if test "$*" != "X $srcdir/configure conftest.file" \
2554 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2555 <
2556 <      # 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
2547 >   am_has_slept=no
2548 >   for am_try in 1 2; do
2549 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2550 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2551 >     if test "$*" = "X"; then
2552 >        # -L didn't work.
2553 >        set X `ls -t "$srcdir/configure" conftest.file`
2554 >     fi
2555 >     if test "$*" != "X $srcdir/configure conftest.file" \
2556 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2557  
2558 +        # If neither matched, then we have a broken ls.  This can happen
2559 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2560 +        # broken ls alias from the environment.  This has actually
2561 +        # happened.  Such a system could not be considered "sane".
2562 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2563 +  alias in your environment" "$LINENO" 5
2564 +     fi
2565 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2566 +       break
2567 +     fi
2568 +     # Just in case.
2569 +     sleep 1
2570 +     am_has_slept=yes
2571 +   done
2572     test "$2" = conftest.file
2573     )
2574   then
2575     # Ok.
2576     :
2577   else
2578 <   as_fn_error "newly created file is older than distributed files!
2578 >   as_fn_error $? "newly created file is older than distributed files!
2579   Check your system clock" "$LINENO" 5
2580   fi
2581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2582   $as_echo "yes" >&6; }
2583 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2584 + # generated files are strictly newer.
2585 + am_sleep_pid=
2586 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2587 +  ( sleep 1 ) &
2588 +  am_sleep_pid=$!
2589 + fi
2590 +
2591 + rm -f conftest.file
2592 +
2593   test "$program_prefix" != NONE &&
2594    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2595   # Use a double $ so make ignores it.
# Line 2760 | Line 2600 | test "$program_suffix" != NONE &&
2600   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2601   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2602  
2603 < # expand $ac_aux_dir to an absolute path
2604 < am_aux_dir=`cd $ac_aux_dir && pwd`
2603 > # Expand $ac_aux_dir to an absolute path.
2604 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2605  
2606   if test x"${MISSING+set}" != xset; then
2607    case $am_aux_dir in
# Line 2772 | Line 2612 | if test x"${MISSING+set}" != xset; then
2612    esac
2613   fi
2614   # Use eval to expand $SHELL
2615 < if eval "$MISSING --run true"; then
2616 <  am_missing_run="$MISSING --run "
2615 > if eval "$MISSING --is-lightweight"; then
2616 >  am_missing_run="$MISSING "
2617   else
2618    am_missing_run=
2619 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2620 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2619 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2620 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2621   fi
2622  
2623 < if test x"${install_sh}" != xset; then
2623 > if test x"${install_sh+set}" != xset; then
2624    case $am_aux_dir in
2625    *\ * | *\     *)
2626      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2789 | Line 2629 | if test x"${install_sh}" != xset; then
2629    esac
2630   fi
2631  
2632 < # Installed binaries are usually stripped using `strip' when the user
2633 < # run `make install-strip'.  However `strip' might not be the right
2632 > # Installed binaries are usually stripped using 'strip' when the user
2633 > # run "make install-strip".  However 'strip' might not be the right
2634   # tool to use in cross-compilation environments, therefore Automake
2635 < # will honor the `STRIP' environment variable to overrule this program.
2635 > # will honor the 'STRIP' environment variable to overrule this program.
2636   if test "$cross_compiling" != no; then
2637    if test -n "$ac_tool_prefix"; then
2638    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2639   set dummy ${ac_tool_prefix}strip; ac_word=$2
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641   $as_echo_n "checking for $ac_word... " >&6; }
2642 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2642 > if ${ac_cv_prog_STRIP+:} false; then :
2643    $as_echo_n "(cached) " >&6
2644   else
2645    if test -n "$STRIP"; then
# Line 2811 | Line 2651 | do
2651    IFS=$as_save_IFS
2652    test -z "$as_dir" && as_dir=.
2653      for ac_exec_ext in '' $ac_executable_extensions; do
2654 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2654 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2655      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2656      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657      break 2
# Line 2839 | Line 2679 | if test -z "$ac_cv_prog_STRIP"; then
2679   set dummy strip; ac_word=$2
2680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681   $as_echo_n "checking for $ac_word... " >&6; }
2682 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2682 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2683    $as_echo_n "(cached) " >&6
2684   else
2685    if test -n "$ac_ct_STRIP"; then
# Line 2851 | Line 2691 | do
2691    IFS=$as_save_IFS
2692    test -z "$as_dir" && as_dir=.
2693      for ac_exec_ext in '' $ac_executable_extensions; do
2694 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695      ac_cv_prog_ac_ct_STRIP="strip"
2696      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697      break 2
# Line 2892 | Line 2732 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2733   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2734   if test -z "$MKDIR_P"; then
2735 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2735 >  if ${ac_cv_path_mkdir+:} false; then :
2736    $as_echo_n "(cached) " >&6
2737   else
2738    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2902 | Line 2742 | do
2742    test -z "$as_dir" && as_dir=.
2743      for ac_prog in mkdir gmkdir; do
2744           for ac_exec_ext in '' $ac_executable_extensions; do
2745 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2745 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2746             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2747               'mkdir (GNU coreutils) '* | \
2748               'mkdir (coreutils) '* | \
# Line 2931 | Line 2771 | fi
2771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2772   $as_echo "$MKDIR_P" >&6; }
2773  
2934 – mkdir_p="$MKDIR_P"
2935 – case $mkdir_p in
2936 –  [\\/$]* | ?:[\\/]*) ;;
2937 –  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 – esac
2939 –
2774   for ac_prog in gawk mawk nawk awk
2775   do
2776    # Extract the first word of "$ac_prog", so it can be a program name with args.
2777   set dummy $ac_prog; ac_word=$2
2778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779   $as_echo_n "checking for $ac_word... " >&6; }
2780 < if test "${ac_cv_prog_AWK+set}" = set; then :
2780 > if ${ac_cv_prog_AWK+:} false; then :
2781    $as_echo_n "(cached) " >&6
2782   else
2783    if test -n "$AWK"; then
# Line 2955 | Line 2789 | do
2789    IFS=$as_save_IFS
2790    test -z "$as_dir" && as_dir=.
2791      for ac_exec_ext in '' $ac_executable_extensions; do
2792 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2793      ac_cv_prog_AWK="$ac_prog"
2794      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795      break 2
# Line 2983 | Line 2817 | done
2817   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2818   set x ${MAKE-make}
2819   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2820 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2820 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2821    $as_echo_n "(cached) " >&6
2822   else
2823    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2825 | SHELL = /bin/sh
2825   all:
2826          @echo '@@@%%%=$(MAKE)=@@@%%%'
2827   _ACEOF
2828 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2828 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2829   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2830    *@@@%%%=?*=@@@%%%*)
2831      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3019 | Line 2853 | else
2853   fi
2854   rmdir .tst 2>/dev/null
2855  
2856 + # Check whether --enable-silent-rules was given.
2857 + if test "${enable_silent_rules+set}" = set; then :
2858 +  enableval=$enable_silent_rules;
2859 + fi
2860 +
2861 + case $enable_silent_rules in # (((
2862 +  yes) AM_DEFAULT_VERBOSITY=0;;
2863 +   no) AM_DEFAULT_VERBOSITY=1;;
2864 +    *) AM_DEFAULT_VERBOSITY=1;;
2865 + esac
2866 + am_make=${MAKE-make}
2867 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2868 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2869 + if ${am_cv_make_support_nested_variables+:} false; then :
2870 +  $as_echo_n "(cached) " >&6
2871 + else
2872 +  if $as_echo 'TRUE=$(BAR$(V))
2873 + BAR0=false
2874 + BAR1=true
2875 + V=1
2876 + am__doit:
2877 +        @$(TRUE)
2878 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2879 +  am_cv_make_support_nested_variables=yes
2880 + else
2881 +  am_cv_make_support_nested_variables=no
2882 + fi
2883 + fi
2884 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2885 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2886 + if test $am_cv_make_support_nested_variables = yes; then
2887 +    AM_V='$(V)'
2888 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2889 + else
2890 +  AM_V=$AM_DEFAULT_VERBOSITY
2891 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2892 + fi
2893 + AM_BACKSLASH='\'
2894 +
2895   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2896    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2897    # is not polluted with repeated "-I."
2898    am__isrc=' -I$(srcdir)'
2899    # test to see if srcdir already configured
2900    if test -f $srcdir/config.status; then
2901 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2901 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2902    fi
2903   fi
2904  
# Line 3041 | Line 2914 | fi
2914  
2915   # Define the identity of the package.
2916   PACKAGE='ircd-hybrid'
2917 < VERSION='7.3-rc1'
2917 > VERSION='TRUNK'
2918  
2919  
2920   cat >>confdefs.h <<_ACEOF
# Line 3069 | Line 2942 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2942  
2943   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2944  
2945 < # We need awk for the "check" target.  The system "awk" is bad on
2946 < # some platforms.
2947 < # Always define AMTAR for backward compatibility.
2945 > # For better backward compatibility.  To be removed once Automake 1.9.x
2946 > # dies out for good.  For more background, see:
2947 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2948 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2949 > mkdir_p='$(MKDIR_P)'
2950 >
2951 > # We need awk for the "check" target (and possibly the TAP driver).  The
2952 > # system "awk" is bad on some platforms.
2953 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2954 > # in the wild :-(  We should find a proper way to deprecate it ...
2955 > AMTAR='$${TAR-tar}'
2956 >
2957 >
2958 > # We'll loop over all known methods to create a tar archive until one works.
2959 > _am_tools='gnutar  pax cpio none'
2960  
2961 < AMTAR=${AMTAR-"${am_missing_run}tar"}
2961 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2962  
3078 – am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2963  
2964  
2965  
2966  
2967  
2968 + # POSIX will say in a future version that running "rm -f" with no argument
2969 + # is OK; and we want to be able to make that assumption in our Makefile
2970 + # recipes.  So use an aggressive probe to check that the usage we want is
2971 + # actually supported "in the wild" to an acceptable degree.
2972 + # See automake bug#10828.
2973 + # To make any issue more visible, cause the running configure to be aborted
2974 + # by default if the 'rm' program in use doesn't match our expectations; the
2975 + # user can still override this though.
2976 + if rm -f && rm -fr && rm -rf; then : OK; else
2977 +  cat >&2 <<'END'
2978 + Oops!
2979 +
2980 + Your 'rm' program seems unable to run without file operands specified
2981 + on the command line, even when the '-f' option is present.  This is contrary
2982 + to the behaviour of most rm programs out there, and not conforming with
2983 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2984 +
2985 + Please tell bug-automake@gnu.org about your system, including the value
2986 + of your $PATH and any error possibly output before this message.  This
2987 + can help us improve future automake versions.
2988 +
2989 + END
2990 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2991 +    echo 'Configuration will proceed anyway, since you have set the' >&2
2992 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2993 +    echo >&2
2994 +  else
2995 +    cat >&2 <<'END'
2996 + Aborting the configuration process, to ensure you take notice of the issue.
2997 +
2998 + You can download and install GNU coreutils to get an 'rm' implementation
2999 + that behaves properly: <https://www.gnu.org/software/coreutils/>.
3000 +
3001 + If you want to complete the configuration process using your problematic
3002 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3003 + to "yes", and re-run configure.
3004 +
3005 + END
3006 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3007 +  fi
3008 + fi
3009 +
3010  
3011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3012   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3104 | Line 3030 | fi
3030    MAINT=$MAINTAINER_MODE_TRUE
3031  
3032  
3033 +
3034   ac_config_headers="$ac_config_headers config.h"
3035  
3036  
# Line 3113 | Line 3040 | DEPDIR="${am__leading_dot}deps"
3040  
3041   ac_config_commands="$ac_config_commands depfiles"
3042  
3043 <
3044 < am_make=${MAKE-make}
3045 < cat > confinc << 'END'
3043 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3044 > $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3045 > cat > confinc.mk << 'END'
3046   am__doit:
3047 <        @echo this is the am__doit target
3047 >        @echo this is the am__doit target >confinc.out
3048   .PHONY: am__doit
3049   END
3123 – # If we don't find an include directive, just comment out the code.
3124 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3125 – $as_echo_n "checking for style of include used by $am_make... " >&6; }
3050   am__include="#"
3051   am__quote=
3052 < _am_result=none
3053 < # First try GNU make style include.
3054 < echo "include confinc" > confmf
3055 < # Ignore all kinds of additional output from `make'.
3056 < case `$am_make -s -f confmf 2> /dev/null` in #(
3057 < *the\ am__doit\ target*)
3058 <  am__include=include
3059 <  am__quote=
3060 <  _am_result=GNU
3061 <  ;;
3062 < esac
3063 < # Now try BSD make style include.
3064 < if test "$am__include" = "#"; then
3065 <   echo '.include "confinc"' > confmf
3066 <   case `$am_make -s -f confmf 2> /dev/null` in #(
3067 <   *the\ am__doit\ target*)
3068 <     am__include=.include
3069 <     am__quote="\""
3070 <     _am_result=BSD
3052 > # BSD make does it like this.
3053 > echo '.include "confinc.mk" # ignored' > confmf.BSD
3054 > # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3055 > echo 'include confinc.mk # ignored' > confmf.GNU
3056 > _am_result=no
3057 > for s in GNU BSD; do
3058 >  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3059 >   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3060 >   ac_status=$?
3061 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 >   (exit $ac_status); }
3063 >  case $?:`cat confinc.out 2>/dev/null` in #(
3064 >  '0:this is the am__doit target') :
3065 >    case $s in #(
3066 >  BSD) :
3067 >    am__include='.include' am__quote='"' ;; #(
3068 >  *) :
3069 >    am__include='include' am__quote='' ;;
3070 > esac ;; #(
3071 >  *) :
3072       ;;
3073 <   esac
3074 < fi
3075 <
3076 <
3077 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3078 < $as_echo "$_am_result" >&6; }
3079 < rm -f confinc confmf
3073 > esac
3074 >  if test "$am__include" != "#"; then
3075 >    _am_result="yes ($s style)"
3076 >    break
3077 >  fi
3078 > done
3079 > rm -f confinc.* confmf.*
3080 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3081 > $as_echo "${_am_result}" >&6; }
3082  
3083   # Check whether --enable-dependency-tracking was given.
3084   if test "${enable_dependency_tracking+set}" = set; then :
# Line 3161 | Line 3088 | fi
3088   if test "x$enable_dependency_tracking" != xno; then
3089    am_depcomp="$ac_aux_dir/depcomp"
3090    AMDEPBACKSLASH='\'
3091 +  am__nodep='_no'
3092   fi
3093   if test "x$enable_dependency_tracking" != xno; then
3094    AMDEP_TRUE=
# Line 3181 | Line 3109 | if test -n "$ac_tool_prefix"; then
3109   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111   $as_echo_n "checking for $ac_word... " >&6; }
3112 < if test "${ac_cv_prog_CC+set}" = set; then :
3112 > if ${ac_cv_prog_CC+:} false; then :
3113    $as_echo_n "(cached) " >&6
3114   else
3115    if test -n "$CC"; then
# Line 3193 | Line 3121 | do
3121    IFS=$as_save_IFS
3122    test -z "$as_dir" && as_dir=.
3123      for ac_exec_ext in '' $ac_executable_extensions; do
3124 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3124 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3126      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127      break 2
# Line 3221 | Line 3149 | if test -z "$ac_cv_prog_CC"; then
3149   set dummy gcc; ac_word=$2
3150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151   $as_echo_n "checking for $ac_word... " >&6; }
3152 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3152 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3153    $as_echo_n "(cached) " >&6
3154   else
3155    if test -n "$ac_ct_CC"; then
# Line 3233 | Line 3161 | do
3161    IFS=$as_save_IFS
3162    test -z "$as_dir" && as_dir=.
3163      for ac_exec_ext in '' $ac_executable_extensions; do
3164 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3165      ac_cv_prog_ac_ct_CC="gcc"
3166      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167      break 2
# Line 3274 | Line 3202 | if test -z "$CC"; then
3202   set dummy ${ac_tool_prefix}cc; ac_word=$2
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204   $as_echo_n "checking for $ac_word... " >&6; }
3205 < if test "${ac_cv_prog_CC+set}" = set; then :
3205 > if ${ac_cv_prog_CC+:} false; then :
3206    $as_echo_n "(cached) " >&6
3207   else
3208    if test -n "$CC"; then
# Line 3286 | Line 3214 | do
3214    IFS=$as_save_IFS
3215    test -z "$as_dir" && as_dir=.
3216      for ac_exec_ext in '' $ac_executable_extensions; do
3217 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3218      ac_cv_prog_CC="${ac_tool_prefix}cc"
3219      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220      break 2
# Line 3314 | Line 3242 | if test -z "$CC"; then
3242   set dummy cc; ac_word=$2
3243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3244   $as_echo_n "checking for $ac_word... " >&6; }
3245 < if test "${ac_cv_prog_CC+set}" = set; then :
3245 > if ${ac_cv_prog_CC+:} false; then :
3246    $as_echo_n "(cached) " >&6
3247   else
3248    if test -n "$CC"; then
# Line 3327 | Line 3255 | do
3255    IFS=$as_save_IFS
3256    test -z "$as_dir" && as_dir=.
3257      for ac_exec_ext in '' $ac_executable_extensions; do
3258 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3258 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3260         ac_prog_rejected=yes
3261         continue
# Line 3373 | Line 3301 | if test -z "$CC"; then
3301   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303   $as_echo_n "checking for $ac_word... " >&6; }
3304 < if test "${ac_cv_prog_CC+set}" = set; then :
3304 > if ${ac_cv_prog_CC+:} false; then :
3305    $as_echo_n "(cached) " >&6
3306   else
3307    if test -n "$CC"; then
# Line 3385 | Line 3313 | do
3313    IFS=$as_save_IFS
3314    test -z "$as_dir" && as_dir=.
3315      for ac_exec_ext in '' $ac_executable_extensions; do
3316 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3317      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3318      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319      break 2
# Line 3417 | Line 3345 | do
3345   set dummy $ac_prog; ac_word=$2
3346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347   $as_echo_n "checking for $ac_word... " >&6; }
3348 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3348 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3349    $as_echo_n "(cached) " >&6
3350   else
3351    if test -n "$ac_ct_CC"; then
# Line 3429 | Line 3357 | do
3357    IFS=$as_save_IFS
3358    test -z "$as_dir" && as_dir=.
3359      for ac_exec_ext in '' $ac_executable_extensions; do
3360 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3361      ac_cv_prog_ac_ct_CC="$ac_prog"
3362      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363      break 2
# Line 3471 | Line 3399 | fi
3399  
3400   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402 < as_fn_error "no acceptable C compiler found in \$PATH
3403 < See \`config.log' for more details." "$LINENO" 5; }
3402 > as_fn_error $? "no acceptable C compiler found in \$PATH
3403 > See \`config.log' for more details" "$LINENO" 5; }
3404  
3405   # Provide some information about the compiler.
3406   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3514 | sed 's/^/| /' conftest.$ac_ext >&5
3514  
3515   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3516   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3517 < { as_fn_set_status 77
3518 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3517 > as_fn_error 77 "C compiler cannot create executables
3518 > See \`config.log' for more details" "$LINENO" 5; }
3519   else
3520    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3521   $as_echo "yes" >&6; }
# Line 3630 | Line 3557 | done
3557   else
3558    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3561 < See \`config.log' for more details." "$LINENO" 5; }
3560 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3561 > See \`config.log' for more details" "$LINENO" 5; }
3562   fi
3563   rm -f conftest conftest$ac_cv_exeext
3564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3615 | $as_echo "$ac_try_echo"; } >&5
3615      else
3616          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3617   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3618 < as_fn_error "cannot run C compiled programs.
3618 > as_fn_error $? "cannot run C compiled programs.
3619   If you meant to cross compile, use \`--host'.
3620 < See \`config.log' for more details." "$LINENO" 5; }
3620 > See \`config.log' for more details" "$LINENO" 5; }
3621      fi
3622    fi
3623   fi
# Line 3701 | Line 3628 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3628   ac_clean_files=$ac_clean_files_save
3629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3630   $as_echo_n "checking for suffix of object files... " >&6; }
3631 < if test "${ac_cv_objext+set}" = set; then :
3631 > if ${ac_cv_objext+:} false; then :
3632    $as_echo_n "(cached) " >&6
3633   else
3634    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3668 | sed 's/^/| /' conftest.$ac_ext >&5
3668  
3669   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 < as_fn_error "cannot compute suffix of object files: cannot compile
3672 < See \`config.log' for more details." "$LINENO" 5; }
3671 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3672 > See \`config.log' for more details" "$LINENO" 5; }
3673   fi
3674   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3675   fi
# Line 3752 | Line 3679 | OBJEXT=$ac_cv_objext
3679   ac_objext=$OBJEXT
3680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3681   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3682 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3682 > if ${ac_cv_c_compiler_gnu+:} false; then :
3683    $as_echo_n "(cached) " >&6
3684   else
3685    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3716 | ac_test_CFLAGS=${CFLAGS+set}
3716   ac_save_CFLAGS=$CFLAGS
3717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3718   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3719 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3719 > if ${ac_cv_prog_cc_g+:} false; then :
3720    $as_echo_n "(cached) " >&6
3721   else
3722    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3794 | else
3794   fi
3795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3796   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3797 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3797 > if ${ac_cv_prog_cc_c89+:} false; then :
3798    $as_echo_n "(cached) " >&6
3799   else
3800    ac_cv_prog_cc_c89=no
# Line 3876 | Line 3803 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3803   /* end confdefs.h.  */
3804   #include <stdarg.h>
3805   #include <stdio.h>
3806 < #include <sys/types.h>
3880 < #include <sys/stat.h>
3806 > struct stat;
3807   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3808   struct buf { int x; };
3809   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3962 | Line 3888 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3888   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3890  
3891 + ac_ext=c
3892 + ac_cpp='$CPP $CPPFLAGS'
3893 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3897 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3898 + if ${am_cv_prog_cc_c_o+:} false; then :
3899 +  $as_echo_n "(cached) " >&6
3900 + else
3901 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 + /* end confdefs.h.  */
3903 +
3904 + int
3905 + main ()
3906 + {
3907 +
3908 +  ;
3909 +  return 0;
3910 + }
3911 + _ACEOF
3912 +  # Make sure it works both with $CC and with simple cc.
3913 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3914 +  # compilers refuse to overwrite an existing .o file with -o,
3915 +  # though they will create one.
3916 +  am_cv_prog_cc_c_o=yes
3917 +  for am_i in 1 2; do
3918 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3919 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3920 +   ac_status=$?
3921 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 +   (exit $ac_status); } \
3923 +         && test -f conftest2.$ac_objext; then
3924 +      : OK
3925 +    else
3926 +      am_cv_prog_cc_c_o=no
3927 +      break
3928 +    fi
3929 +  done
3930 +  rm -f core conftest*
3931 +  unset am_i
3932 + fi
3933 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3934 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3935 + if test "$am_cv_prog_cc_c_o" != yes; then
3936 +   # Losing compiler, so override with the script.
3937 +   # FIXME: It is wrong to rewrite CC.
3938 +   # But if we don't then we get into trouble of one sort or another.
3939 +   # A longer-term fix would be to have automake use am__CC in this case,
3940 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3941 +   CC="$am_aux_dir/compile $CC"
3942 + fi
3943 + ac_ext=c
3944 + ac_cpp='$CPP $CPPFLAGS'
3945 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3946 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3947 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3948 +
3949 +
3950   depcc="$CC"   am_compiler_list=
3951  
3952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3953   $as_echo_n "checking dependency style of $depcc... " >&6; }
3954 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3954 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3955    $as_echo_n "(cached) " >&6
3956   else
3957    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3958    # We make a subdir and do the tests there.  Otherwise we can end up
3959    # making bogus files that we don't know about and never remove.  For
3960    # instance it was reported that on HP-UX the gcc test will end up
3961 <  # making a dummy file named `D' -- because `-MD' means `put the output
3962 <  # in D'.
3961 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3962 >  # in D".
3963 >  rm -rf conftest.dir
3964    mkdir conftest.dir
3965    # Copy depcomp to subdir because otherwise we won't find it if we're
3966    # using a relative directory.
# Line 4008 | Line 3994 | else
3994      : > sub/conftest.c
3995      for i in 1 2 3 4 5 6; do
3996        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3997 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3998 <      # Solaris 8's {/usr,}/bin/sh.
3999 <      touch sub/conftst$i.h
3997 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3998 >      # Solaris 10 /bin/sh.
3999 >      echo '/* dummy */' > sub/conftst$i.h
4000      done
4001      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4002  
4003 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4003 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4004      # mode.  It turns out that the SunPro C++ compiler does not properly
4005 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4006 <    # versions had trouble with output in subdirs
4005 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4006 >    # versions had trouble with output in subdirs.
4007      am__obj=sub/conftest.${OBJEXT-o}
4008      am__minus_obj="-o $am__obj"
4009      case $depmode in
# Line 4026 | Line 4012 | else
4012        test "$am__universal" = false || continue
4013        ;;
4014      nosideeffect)
4015 <      # after this tag, mechanisms are not by side-effect, so they'll
4016 <      # only be used when explicitly requested
4015 >      # After this tag, mechanisms are not by side-effect, so they'll
4016 >      # only be used when explicitly requested.
4017        if test "x$enable_dependency_tracking" = xyes; then
4018          continue
4019        else
4020          break
4021        fi
4022        ;;
4023 <    msvisualcpp | msvcmsys)
4024 <      # This compiler won't grok `-c -o', but also, the minuso test has
4023 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4024 >      # This compiler won't grok '-c -o', but also, the minuso test has
4025        # not run yet.  These depmodes are late enough in the game, and
4026        # so weak that their functioning should not be impacted.
4027        am__obj=conftest.${OBJEXT-o}
# Line 4091 | Line 4077 | fi
4077  
4078     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4079   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4080 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4080 > if ${ac_cv_prog_cc_c99+:} false; then :
4081    $as_echo_n "(cached) " >&6
4082   else
4083    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4221 | main ()
4221    return 0;
4222   }
4223   _ACEOF
4224 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4224 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4225   do
4226    CC="$ac_save_CC $ac_arg"
4227    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4267 | Line 4253 | fi
4253  
4254  
4255   if test "$ac_cv_prog_cc_c99" = "no"; then :
4256 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4256 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4257   fi
4258   for ac_prog in 'bison -y' byacc
4259   do
# Line 4275 | Line 4261 | do
4261   set dummy $ac_prog; ac_word=$2
4262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263   $as_echo_n "checking for $ac_word... " >&6; }
4264 < if test "${ac_cv_prog_YACC+set}" = set; then :
4264 > if ${ac_cv_prog_YACC+:} false; then :
4265    $as_echo_n "(cached) " >&6
4266   else
4267    if test -n "$YACC"; then
# Line 4287 | Line 4273 | do
4273    IFS=$as_save_IFS
4274    test -z "$as_dir" && as_dir=.
4275      for ac_exec_ext in '' $ac_executable_extensions; do
4276 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4276 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4277      ac_cv_prog_YACC="$ac_prog"
4278      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279      break 2
# Line 4319 | Line 4305 | do
4305   set dummy $ac_prog; ac_word=$2
4306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4307   $as_echo_n "checking for $ac_word... " >&6; }
4308 < if test "${ac_cv_prog_LEX+set}" = set; then :
4308 > if ${ac_cv_prog_LEX+:} false; then :
4309    $as_echo_n "(cached) " >&6
4310   else
4311    if test -n "$LEX"; then
# Line 4331 | Line 4317 | do
4317    IFS=$as_save_IFS
4318    test -z "$as_dir" && as_dir=.
4319      for ac_exec_ext in '' $ac_executable_extensions; do
4320 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4321      ac_cv_prog_LEX="$ac_prog"
4322      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4323      break 2
# Line 4363 | Line 4349 | a { ECHO; }
4349   b { REJECT; }
4350   c { yymore (); }
4351   d { yyless (1); }
4352 < e { yyless (input () != 0); }
4352 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4353 >    yyless ((input () != 0)); }
4354   f { unput (yytext[0]); }
4355   . { BEGIN INITIAL; }
4356   %%
# Line 4389 | Line 4376 | $as_echo "$ac_try_echo"; } >&5
4376    test $ac_status = 0; }
4377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4378   $as_echo_n "checking lex output file root... " >&6; }
4379 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4379 > if ${ac_cv_prog_lex_root+:} false; then :
4380    $as_echo_n "(cached) " >&6
4381   else
4382  
# Line 4398 | Line 4385 | if test -f lex.yy.c; then
4385   elif test -f lexyy.c; then
4386    ac_cv_prog_lex_root=lexyy
4387   else
4388 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4388 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4389   fi
4390   fi
4391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4395 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4395   if test -z "${LEXLIB+set}"; then
4396    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4397   $as_echo_n "checking lex library... " >&6; }
4398 < if test "${ac_cv_lib_lex+set}" = set; then :
4398 > if ${ac_cv_lib_lex+:} false; then :
4399    $as_echo_n "(cached) " >&6
4400   else
4401  
# Line 4438 | Line 4425 | fi
4425  
4426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4427   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4428 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4428 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4429    $as_echo_n "(cached) " >&6
4430   else
4431    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4436 | ac_save_LIBS=$LIBS
4436   LIBS="$LEXLIB $ac_save_LIBS"
4437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438   /* end confdefs.h.  */
4439 < #define YYTEXT_POINTER 1
4439 >
4440 >  #define YYTEXT_POINTER 1
4441   `cat $LEX_OUTPUT_ROOT.c`
4442   _ACEOF
4443   if ac_fn_c_try_link "$LINENO"; then :
# Line 4483 | Line 4471 | fi
4471  
4472  
4473  
4486 –
4474   case `pwd` in
4475    *\ * | *\     *)
4476      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4492 | Line 4479 | esac
4479  
4480  
4481  
4482 < macro_version='2.2.6b'
4483 < macro_revision='1.3017'
4482 > macro_version='2.4.6'
4483 > macro_revision='2.4.6'
4484  
4485  
4486  
# Line 4507 | Line 4494 | macro_revision='1.3017'
4494  
4495  
4496  
4497 < ltmain="$ac_aux_dir/ltmain.sh"
4497 > ltmain=$ac_aux_dir/ltmain.sh
4498  
4499   # Make sure we can run config.sub.
4500   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4501 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4501 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4502  
4503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4504   $as_echo_n "checking build system type... " >&6; }
4505 < if test "${ac_cv_build+set}" = set; then :
4505 > if ${ac_cv_build+:} false; then :
4506    $as_echo_n "(cached) " >&6
4507   else
4508    ac_build_alias=$build_alias
4509   test "x$ac_build_alias" = x &&
4510    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4511   test "x$ac_build_alias" = x &&
4512 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4512 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4513   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4514 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4514 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4515  
4516   fi
4517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4518   $as_echo "$ac_cv_build" >&6; }
4519   case $ac_cv_build in
4520   *-*-*) ;;
4521 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4521 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4522   esac
4523   build=$ac_cv_build
4524   ac_save_IFS=$IFS; IFS='-'
# Line 4549 | Line 4536 | case $build_os in *\ *) build_os=`echo "
4536  
4537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4538   $as_echo_n "checking host system type... " >&6; }
4539 < if test "${ac_cv_host+set}" = set; then :
4539 > if ${ac_cv_host+:} false; then :
4540    $as_echo_n "(cached) " >&6
4541   else
4542    if test "x$host_alias" = x; then
4543    ac_cv_host=$ac_cv_build
4544   else
4545    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4546 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4546 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4547   fi
4548  
4549   fi
# Line 4564 | Line 4551 | fi
4551   $as_echo "$ac_cv_host" >&6; }
4552   case $ac_cv_host in
4553   *-*-*) ;;
4554 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4554 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4555   esac
4556   host=$ac_cv_host
4557   ac_save_IFS=$IFS; IFS='-'
# Line 4580 | Line 4567 | IFS=$ac_save_IFS
4567   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4568  
4569  
4570 + # Backslashify metacharacters that are still active within
4571 + # double-quoted strings.
4572 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4573 +
4574 + # Same as above, but do not quote variable references.
4575 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4576 +
4577 + # Sed substitution to delay expansion of an escaped shell variable in a
4578 + # double_quote_subst'ed string.
4579 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4580 +
4581 + # Sed substitution to delay expansion of an escaped single quote.
4582 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4583 +
4584 + # Sed substitution to avoid accidental globbing in evaled expressions
4585 + no_glob_subst='s/\*/\\\*/g'
4586 +
4587 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4588 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4589 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4590 +
4591 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4592 + $as_echo_n "checking how to print strings... " >&6; }
4593 + # Test print first, because it will be a builtin if present.
4594 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4595 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4596 +  ECHO='print -r --'
4597 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4598 +  ECHO='printf %s\n'
4599 + else
4600 +  # Use this function as a fallback that always works.
4601 +  func_fallback_echo ()
4602 +  {
4603 +    eval 'cat <<_LTECHO_EOF
4604 + $1
4605 + _LTECHO_EOF'
4606 +  }
4607 +  ECHO='func_fallback_echo'
4608 + fi
4609 +
4610 + # func_echo_all arg...
4611 + # Invoke $ECHO with all args, space-separated.
4612 + func_echo_all ()
4613 + {
4614 +    $ECHO ""
4615 + }
4616 +
4617 + case $ECHO in
4618 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4619 + $as_echo "printf" >&6; } ;;
4620 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4621 + $as_echo "print -r" >&6; } ;;
4622 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4623 + $as_echo "cat" >&6; } ;;
4624 + esac
4625 +
4626 +
4627 +
4628 +
4629 +
4630 +
4631 +
4632 +
4633 +
4634 +
4635 +
4636 +
4637 +
4638 +
4639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4640   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4641 < if test "${ac_cv_path_SED+set}" = set; then :
4641 > if ${ac_cv_path_SED+:} false; then :
4642    $as_echo_n "(cached) " >&6
4643   else
4644              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4602 | Line 4658 | do
4658      for ac_prog in sed gsed; do
4659      for ac_exec_ext in '' $ac_executable_extensions; do
4660        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4661 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4661 >      as_fn_executable_p "$ac_path_SED" || continue
4662   # Check for GNU ac_path_SED and select it if it is found.
4663    # Check for GNU $ac_path_SED
4664   case `"$ac_path_SED" --version 2>&1` in
# Line 4637 | Line 4693 | esac
4693    done
4694   IFS=$as_save_IFS
4695    if test -z "$ac_cv_path_SED"; then
4696 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4696 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4697    fi
4698   else
4699    ac_cv_path_SED=$SED
# Line 4664 | Line 4720 | Xsed="$SED -e 1s/^X//"
4720  
4721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4722   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4723 < if test "${ac_cv_path_GREP+set}" = set; then :
4723 > if ${ac_cv_path_GREP+:} false; then :
4724    $as_echo_n "(cached) " >&6
4725   else
4726    if test -z "$GREP"; then
# Line 4678 | Line 4734 | do
4734      for ac_prog in grep ggrep; do
4735      for ac_exec_ext in '' $ac_executable_extensions; do
4736        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4737 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4737 >      as_fn_executable_p "$ac_path_GREP" || continue
4738   # Check for GNU ac_path_GREP and select it if it is found.
4739    # Check for GNU $ac_path_GREP
4740   case `"$ac_path_GREP" --version 2>&1` in
# Line 4713 | Line 4769 | esac
4769    done
4770   IFS=$as_save_IFS
4771    if test -z "$ac_cv_path_GREP"; then
4772 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4772 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4773    fi
4774   else
4775    ac_cv_path_GREP=$GREP
# Line 4727 | Line 4783 | $as_echo "$ac_cv_path_GREP" >&6; }
4783  
4784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4785   $as_echo_n "checking for egrep... " >&6; }
4786 < if test "${ac_cv_path_EGREP+set}" = set; then :
4786 > if ${ac_cv_path_EGREP+:} false; then :
4787    $as_echo_n "(cached) " >&6
4788   else
4789    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4744 | Line 4800 | do
4800      for ac_prog in egrep; do
4801      for ac_exec_ext in '' $ac_executable_extensions; do
4802        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4803 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4803 >      as_fn_executable_p "$ac_path_EGREP" || continue
4804   # Check for GNU ac_path_EGREP and select it if it is found.
4805    # Check for GNU $ac_path_EGREP
4806   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4779 | Line 4835 | esac
4835    done
4836   IFS=$as_save_IFS
4837    if test -z "$ac_cv_path_EGREP"; then
4838 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4838 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4839    fi
4840   else
4841    ac_cv_path_EGREP=$EGREP
# Line 4794 | Line 4850 | $as_echo "$ac_cv_path_EGREP" >&6; }
4850  
4851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4852   $as_echo_n "checking for fgrep... " >&6; }
4853 < if test "${ac_cv_path_FGREP+set}" = set; then :
4853 > if ${ac_cv_path_FGREP+:} false; then :
4854    $as_echo_n "(cached) " >&6
4855   else
4856    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4811 | Line 4867 | do
4867      for ac_prog in fgrep; do
4868      for ac_exec_ext in '' $ac_executable_extensions; do
4869        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4870 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4870 >      as_fn_executable_p "$ac_path_FGREP" || continue
4871   # Check for GNU ac_path_FGREP and select it if it is found.
4872    # Check for GNU $ac_path_FGREP
4873   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4846 | Line 4902 | esac
4902    done
4903   IFS=$as_save_IFS
4904    if test -z "$ac_cv_path_FGREP"; then
4905 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4905 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4906    fi
4907   else
4908    ac_cv_path_FGREP=$FGREP
# Line 4881 | Line 4937 | test -z "$GREP" && GREP=grep
4937  
4938   # Check whether --with-gnu-ld was given.
4939   if test "${with_gnu_ld+set}" = set; then :
4940 <  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4940 >  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4941   else
4942    with_gnu_ld=no
4943   fi
4944  
4945   ac_prog=ld
4946 < if test "$GCC" = yes; then
4946 > if test yes = "$GCC"; then
4947    # Check if gcc -print-prog-name=ld gives a path.
4948    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4949   $as_echo_n "checking for ld used by $CC... " >&6; }
4950    case $host in
4951    *-*-mingw*)
4952 <    # gcc leaves a trailing carriage return which upsets mingw
4952 >    # gcc leaves a trailing carriage return, which upsets mingw
4953      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4954    *)
4955      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
# Line 4907 | Line 4963 | $as_echo_n "checking for ld used by $CC.
4963        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4964          ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4965        done
4966 <      test -z "$LD" && LD="$ac_prog"
4966 >      test -z "$LD" && LD=$ac_prog
4967        ;;
4968    "")
4969      # If it fails, then pretend we aren't using GCC.
# Line 4918 | Line 4974 | $as_echo_n "checking for ld used by $CC.
4974      with_gnu_ld=unknown
4975      ;;
4976    esac
4977 < elif test "$with_gnu_ld" = yes; then
4977 > elif test yes = "$with_gnu_ld"; then
4978    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4979   $as_echo_n "checking for GNU ld... " >&6; }
4980   else
4981    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4982   $as_echo_n "checking for non-GNU ld... " >&6; }
4983   fi
4984 < if test "${lt_cv_path_LD+set}" = set; then :
4984 > if ${lt_cv_path_LD+:} false; then :
4985    $as_echo_n "(cached) " >&6
4986   else
4987    if test -z "$LD"; then
4988 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4988 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4989    for ac_dir in $PATH; do
4990 <    IFS="$lt_save_ifs"
4990 >    IFS=$lt_save_ifs
4991      test -z "$ac_dir" && ac_dir=.
4992      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4993 <      lt_cv_path_LD="$ac_dir/$ac_prog"
4993 >      lt_cv_path_LD=$ac_dir/$ac_prog
4994        # Check to see if the program is GNU ld.  I'd rather use --version,
4995        # but apparently some variants of GNU ld only accept -v.
4996        # Break only if it was the GNU/non-GNU ld that we prefer.
4997        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4998        *GNU* | *'with BFD'*)
4999 <        test "$with_gnu_ld" != no && break
4999 >        test no != "$with_gnu_ld" && break
5000          ;;
5001        *)
5002 <        test "$with_gnu_ld" != yes && break
5002 >        test yes != "$with_gnu_ld" && break
5003          ;;
5004        esac
5005      fi
5006    done
5007 <  IFS="$lt_save_ifs"
5007 >  IFS=$lt_save_ifs
5008   else
5009 <  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5009 >  lt_cv_path_LD=$LD # Let the user override the test with a path.
5010   fi
5011   fi
5012  
5013 < LD="$lt_cv_path_LD"
5013 > LD=$lt_cv_path_LD
5014   if test -n "$LD"; then
5015    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5016   $as_echo "$LD" >&6; }
# Line 4962 | Line 5018 | else
5018    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019   $as_echo "no" >&6; }
5020   fi
5021 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5021 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5023   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5024 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5024 > if ${lt_cv_prog_gnu_ld+:} false; then :
5025    $as_echo_n "(cached) " >&6
5026   else
5027    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4992 | Line 5048 | with_gnu_ld=$lt_cv_prog_gnu_ld
5048  
5049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5050   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5051 < if test "${lt_cv_path_NM+set}" = set; then :
5051 > if ${lt_cv_path_NM+:} false; then :
5052    $as_echo_n "(cached) " >&6
5053   else
5054    if test -n "$NM"; then
5055    # Let the user override the test.
5056 <  lt_cv_path_NM="$NM"
5056 >  lt_cv_path_NM=$NM
5057   else
5058 <  lt_nm_to_check="${ac_tool_prefix}nm"
5058 >  lt_nm_to_check=${ac_tool_prefix}nm
5059    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5060      lt_nm_to_check="$lt_nm_to_check nm"
5061    fi
5062    for lt_tmp_nm in $lt_nm_to_check; do
5063 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5063 >    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5064      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5065 <      IFS="$lt_save_ifs"
5065 >      IFS=$lt_save_ifs
5066        test -z "$ac_dir" && ac_dir=.
5067 <      tmp_nm="$ac_dir/$lt_tmp_nm"
5068 <      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5067 >      tmp_nm=$ac_dir/$lt_tmp_nm
5068 >      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5069          # Check to see if the nm accepts a BSD-compat flag.
5070 <        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5070 >        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5071          #   nm: unknown option "B" ignored
5072          # Tru64's nm complains that /dev/null is an invalid object file
5073 <        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5074 <        */dev/null* | *'Invalid file or object type'*)
5073 >        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5074 >        case $build_os in
5075 >        mingw*) lt_bad_file=conftest.nm/nofile ;;
5076 >        *) lt_bad_file=/dev/null ;;
5077 >        esac
5078 >        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5079 >        *$lt_bad_file* | *'Invalid file or object type'*)
5080            lt_cv_path_NM="$tmp_nm -B"
5081 <          break
5081 >          break 2
5082            ;;
5083          *)
5084            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5085            */dev/null*)
5086              lt_cv_path_NM="$tmp_nm -p"
5087 <            break
5087 >            break 2
5088              ;;
5089            *)
5090              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
# Line 5034 | Line 5095 | else
5095          esac
5096        fi
5097      done
5098 <    IFS="$lt_save_ifs"
5098 >    IFS=$lt_save_ifs
5099    done
5100    : ${lt_cv_path_NM=no}
5101   fi
5102   fi
5103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5104   $as_echo "$lt_cv_path_NM" >&6; }
5105 < if test "$lt_cv_path_NM" != "no"; then
5106 <  NM="$lt_cv_path_NM"
5105 > if test no != "$lt_cv_path_NM"; then
5106 >  NM=$lt_cv_path_NM
5107   else
5108    # Didn't find any BSD compatible name lister, look for dumpbin.
5109 <  if test -n "$ac_tool_prefix"; then
5110 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5109 >  if test -n "$DUMPBIN"; then :
5110 >    # Let the user override the test.
5111 >  else
5112 >    if test -n "$ac_tool_prefix"; then
5113 >  for ac_prog in dumpbin "link -dump"
5114    do
5115      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5116   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118   $as_echo_n "checking for $ac_word... " >&6; }
5119 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5119 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5120    $as_echo_n "(cached) " >&6
5121   else
5122    if test -n "$DUMPBIN"; then
# Line 5064 | Line 5128 | do
5128    IFS=$as_save_IFS
5129    test -z "$as_dir" && as_dir=.
5130      for ac_exec_ext in '' $ac_executable_extensions; do
5131 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5132      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5133      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134      break 2
# Line 5090 | Line 5154 | fi
5154   fi
5155   if test -z "$DUMPBIN"; then
5156    ac_ct_DUMPBIN=$DUMPBIN
5157 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5157 >  for ac_prog in dumpbin "link -dump"
5158   do
5159    # Extract the first word of "$ac_prog", so it can be a program name with args.
5160   set dummy $ac_prog; ac_word=$2
5161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162   $as_echo_n "checking for $ac_word... " >&6; }
5163 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5163 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5164    $as_echo_n "(cached) " >&6
5165   else
5166    if test -n "$ac_ct_DUMPBIN"; then
# Line 5108 | Line 5172 | do
5172    IFS=$as_save_IFS
5173    test -z "$as_dir" && as_dir=.
5174      for ac_exec_ext in '' $ac_executable_extensions; do
5175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178      break 2
# Line 5145 | Line 5209 | esac
5209    fi
5210   fi
5211  
5212 +    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5213 +    *COFF*)
5214 +      DUMPBIN="$DUMPBIN -symbols -headers"
5215 +      ;;
5216 +    *)
5217 +      DUMPBIN=:
5218 +      ;;
5219 +    esac
5220 +  fi
5221  
5222 <  if test "$DUMPBIN" != ":"; then
5223 <    NM="$DUMPBIN"
5222 >  if test : != "$DUMPBIN"; then
5223 >    NM=$DUMPBIN
5224    fi
5225   fi
5226   test -z "$NM" && NM=nm
# Line 5159 | Line 5232 | test -z "$NM" && NM=nm
5232  
5233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5234   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5235 < if test "${lt_cv_nm_interface+set}" = set; then :
5235 > if ${lt_cv_nm_interface+:} false; then :
5236    $as_echo_n "(cached) " >&6
5237   else
5238    lt_cv_nm_interface="BSD nm"
5239    echo "int some_variable = 0;" > conftest.$ac_ext
5240 <  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5240 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5241    (eval "$ac_compile" 2>conftest.err)
5242    cat conftest.err >&5
5243 <  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5243 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5244    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5245    cat conftest.err >&5
5246 <  (eval echo "\"\$as_me:5173: output\"" >&5)
5246 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5247    cat conftest.out >&5
5248    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5249      lt_cv_nm_interface="MS dumpbin"
# Line 5194 | Line 5267 | fi
5267   # find the maximum length of command line arguments
5268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5269   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5270 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5270 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5271    $as_echo_n "(cached) " >&6
5272   else
5273      i=0
5274 <  teststring="ABCD"
5274 >  teststring=ABCD
5275  
5276    case $build_os in
5277    msdosdjgpp*)
# Line 5227 | Line 5300 | else
5300      lt_cv_sys_max_cmd_len=8192;
5301      ;;
5302  
5303 +  mint*)
5304 +    # On MiNT this can take a long time and run out of memory.
5305 +    lt_cv_sys_max_cmd_len=8192;
5306 +    ;;
5307 +
5308    amigaos*)
5309      # On AmigaOS with pdksh, this test takes hours, literally.
5310      # So we just punt and use a minimum line length of 8192.
5311      lt_cv_sys_max_cmd_len=8192;
5312      ;;
5313  
5314 <  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5314 >  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5315      # This has been around since 386BSD, at least.  Likely further.
5316      if test -x /sbin/sysctl; then
5317        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
# Line 5252 | Line 5330 | else
5330      lt_cv_sys_max_cmd_len=196608
5331      ;;
5332  
5333 +  os2*)
5334 +    # The test takes a long time on OS/2.
5335 +    lt_cv_sys_max_cmd_len=8192
5336 +    ;;
5337 +
5338    osf*)
5339      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5340      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5278 | Line 5361 | else
5361      ;;
5362    *)
5363      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5364 <    if test -n "$lt_cv_sys_max_cmd_len"; then
5364 >    if test -n "$lt_cv_sys_max_cmd_len" && \
5365 >       test undefined != "$lt_cv_sys_max_cmd_len"; then
5366        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5367        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5368      else
5369        # Make teststring a little bigger before we do anything with it.
5370        # a 1K string should be a reasonable start.
5371 <      for i in 1 2 3 4 5 6 7 8 ; do
5371 >      for i in 1 2 3 4 5 6 7 8; do
5372          teststring=$teststring$teststring
5373        done
5374        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5375        # If test is not a shell built-in, we'll probably end up computing a
5376        # maximum length that is only half of the actual maximum length, but
5377        # we can't tell.
5378 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5379 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5380 <              test $i != 17 # 1/2 MB should be enough
5378 >      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5379 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5380 >              test 17 != "$i" # 1/2 MB should be enough
5381        do
5382          i=`expr $i + 1`
5383          teststring=$teststring$teststring
# Line 5311 | Line 5395 | else
5395  
5396   fi
5397  
5398 < if test -n $lt_cv_sys_max_cmd_len ; then
5398 > if test -n "$lt_cv_sys_max_cmd_len"; then
5399    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5400   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5401   else
# Line 5329 | Line 5413 | max_cmd_len=$lt_cv_sys_max_cmd_len
5413   : ${MV="mv -f"}
5414   : ${RM="rm -f"}
5415  
5332 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5333 – $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5334 – # Try some XSI features
5335 – xsi_shell=no
5336 – ( _lt_dummy="a/b/c"
5337 –  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5338 –      = c,a/b,, \
5339 –    && eval 'test $(( 1 + 1 )) -eq 2 \
5340 –    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5341 –  && xsi_shell=yes
5342 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5343 – $as_echo "$xsi_shell" >&6; }
5344 –
5345 –
5346 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5347 – $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5348 – lt_shell_append=no
5349 – ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5350 –    >/dev/null 2>&1 \
5351 –  && lt_shell_append=yes
5352 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5353 – $as_echo "$lt_shell_append" >&6; }
5354 –
5355 –
5416   if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5417    lt_unset=unset
5418   else
# Line 5384 | Line 5444 | esac
5444  
5445  
5446  
5447 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5448 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5449 + if ${lt_cv_to_host_file_cmd+:} false; then :
5450 +  $as_echo_n "(cached) " >&6
5451 + else
5452 +  case $host in
5453 +  *-*-mingw* )
5454 +    case $build in
5455 +      *-*-mingw* ) # actually msys
5456 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5457 +        ;;
5458 +      *-*-cygwin* )
5459 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5460 +        ;;
5461 +      * ) # otherwise, assume *nix
5462 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5463 +        ;;
5464 +    esac
5465 +    ;;
5466 +  *-*-cygwin* )
5467 +    case $build in
5468 +      *-*-mingw* ) # actually msys
5469 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5470 +        ;;
5471 +      *-*-cygwin* )
5472 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5473 +        ;;
5474 +      * ) # otherwise, assume *nix
5475 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5476 +        ;;
5477 +    esac
5478 +    ;;
5479 +  * ) # unhandled hosts (and "normal" native builds)
5480 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5481 +    ;;
5482 + esac
5483 +
5484 + fi
5485 +
5486 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5487 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5488 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5489 +
5490 +
5491 +
5492 +
5493 +
5494 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5495 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5496 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5497 +  $as_echo_n "(cached) " >&6
5498 + else
5499 +  #assume ordinary cross tools, or native build.
5500 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5501 + case $host in
5502 +  *-*-mingw* )
5503 +    case $build in
5504 +      *-*-mingw* ) # actually msys
5505 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5506 +        ;;
5507 +    esac
5508 +    ;;
5509 + esac
5510 +
5511 + fi
5512 +
5513 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5514 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5515 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5516 +
5517 +
5518 +
5519 +
5520 +
5521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5522   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5523 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5523 > if ${lt_cv_ld_reload_flag+:} false; then :
5524    $as_echo_n "(cached) " >&6
5525   else
5526    lt_cv_ld_reload_flag='-r'
# Line 5400 | Line 5534 | case $reload_flag in
5534   esac
5535   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5536   case $host_os in
5537 +  cygwin* | mingw* | pw32* | cegcc*)
5538 +    if test yes != "$GCC"; then
5539 +      reload_cmds=false
5540 +    fi
5541 +    ;;
5542    darwin*)
5543 <    if test "$GCC" = yes; then
5544 <      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5543 >    if test yes = "$GCC"; then
5544 >      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5545      else
5546        reload_cmds='$LD$reload_flag -o $output$reload_objs'
5547      fi
# Line 5422 | Line 5561 | if test -n "$ac_tool_prefix"; then
5561   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563   $as_echo_n "checking for $ac_word... " >&6; }
5564 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5564 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5565    $as_echo_n "(cached) " >&6
5566   else
5567    if test -n "$OBJDUMP"; then
# Line 5434 | Line 5573 | do
5573    IFS=$as_save_IFS
5574    test -z "$as_dir" && as_dir=.
5575      for ac_exec_ext in '' $ac_executable_extensions; do
5576 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5576 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5578      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579      break 2
# Line 5462 | Line 5601 | if test -z "$ac_cv_prog_OBJDUMP"; then
5601   set dummy objdump; ac_word=$2
5602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603   $as_echo_n "checking for $ac_word... " >&6; }
5604 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5604 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5605    $as_echo_n "(cached) " >&6
5606   else
5607    if test -n "$ac_ct_OBJDUMP"; then
# Line 5474 | Line 5613 | do
5613    IFS=$as_save_IFS
5614    test -z "$as_dir" && as_dir=.
5615      for ac_exec_ext in '' $ac_executable_extensions; do
5616 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5616 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5618      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619      break 2
# Line 5521 | Line 5660 | test -z "$OBJDUMP" && OBJDUMP=objdump
5660  
5661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5662   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5663 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5663 > if ${lt_cv_deplibs_check_method+:} false; then :
5664    $as_echo_n "(cached) " >&6
5665   else
5666    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5530 | Line 5669 | lt_cv_deplibs_check_method='unknown'
5669   # Need to set the preceding variable on all platforms that support
5670   # interlibrary dependencies.
5671   # 'none' -- dependencies not supported.
5672 < # `unknown' -- same as none, but documents that we really don't know.
5672 > # 'unknown' -- same as none, but documents that we really don't know.
5673   # 'pass_all' -- all dependencies passed with no checks.
5674   # 'test_compile' -- check by making test program.
5675   # 'file_magic [[regex]]' -- check by looking for files in library path
5676 < # which responds to the $file_magic_cmd with a given extended regex.
5677 < # If you have `file' or equivalent on your system and you're not sure
5678 < # whether `pass_all' will *always* work, you probably want this one.
5676 > # that responds to the $file_magic_cmd with a given extended regex.
5677 > # If you have 'file' or equivalent on your system and you're not sure
5678 > # whether 'pass_all' will *always* work, you probably want this one.
5679  
5680   case $host_os in
5681   aix[4-9]*)
# Line 5567 | Line 5706 | mingw* | pw32*)
5706      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5707      lt_cv_file_magic_cmd='func_win32_libid'
5708    else
5709 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5709 >    # Keep this pattern in sync with the one in func_win32_libid.
5710 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5711      lt_cv_file_magic_cmd='$OBJDUMP -f'
5712    fi
5713    ;;
5714  
5715 < cegcc)
5715 > cegcc*)
5716    # use the weaker test based on 'objdump'. See mingw*.
5717    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5718    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5598 | Line 5738 | freebsd* | dragonfly*)
5738    fi
5739    ;;
5740  
5741 < gnu*)
5741 > haiku*)
5742    lt_cv_deplibs_check_method=pass_all
5743    ;;
5744  
# Line 5610 | Line 5750 | hpux10.20* | hpux11*)
5750      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5751      ;;
5752    hppa*64*)
5753 <    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]'
5753 >    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]'
5754      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5755      ;;
5756    *)
5757 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5757 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5758      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5759      ;;
5760    esac
# Line 5635 | Line 5775 | irix5* | irix6* | nonstopux*)
5775    lt_cv_deplibs_check_method=pass_all
5776    ;;
5777  
5778 < # This must be Linux ELF.
5779 < linux* | k*bsd*-gnu)
5778 > # This must be glibc/ELF.
5779 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5780    lt_cv_deplibs_check_method=pass_all
5781    ;;
5782  
# Line 5658 | Line 5798 | newos6*)
5798    lt_cv_deplibs_check_method=pass_all
5799    ;;
5800  
5801 < openbsd*)
5802 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5801 > openbsd* | bitrig*)
5802 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5803      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5804    else
5805      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
# Line 5712 | Line 5852 | sysv4 | sysv4.3*)
5852   tpf*)
5853    lt_cv_deplibs_check_method=pass_all
5854    ;;
5855 + os2*)
5856 +  lt_cv_deplibs_check_method=pass_all
5857 +  ;;
5858   esac
5859  
5860   fi
5861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5862   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5863 +
5864 + file_magic_glob=
5865 + want_nocaseglob=no
5866 + if test "$build" = "$host"; then
5867 +  case $host_os in
5868 +  mingw* | pw32*)
5869 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5870 +      want_nocaseglob=yes
5871 +    else
5872 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5873 +    fi
5874 +    ;;
5875 +  esac
5876 + fi
5877 +
5878   file_magic_cmd=$lt_cv_file_magic_cmd
5879   deplibs_check_method=$lt_cv_deplibs_check_method
5880   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5732 | Line 5890 | test -z "$deplibs_check_method" && depli
5890  
5891  
5892  
5893 +
5894 +
5895 +
5896 +
5897 +
5898 +
5899 +
5900 +
5901 +
5902 +
5903 + if test -n "$ac_tool_prefix"; then
5904 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5905 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5906 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 + $as_echo_n "checking for $ac_word... " >&6; }
5908 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5909 +  $as_echo_n "(cached) " >&6
5910 + else
5911 +  if test -n "$DLLTOOL"; then
5912 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5913 + else
5914 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 + for as_dir in $PATH
5916 + do
5917 +  IFS=$as_save_IFS
5918 +  test -z "$as_dir" && as_dir=.
5919 +    for ac_exec_ext in '' $ac_executable_extensions; do
5920 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5922 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 +    break 2
5924 +  fi
5925 + done
5926 +  done
5927 + IFS=$as_save_IFS
5928 +
5929 + fi
5930 + fi
5931 + DLLTOOL=$ac_cv_prog_DLLTOOL
5932 + if test -n "$DLLTOOL"; then
5933 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5934 + $as_echo "$DLLTOOL" >&6; }
5935 + else
5936 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 + $as_echo "no" >&6; }
5938 + fi
5939 +
5940 +
5941 + fi
5942 + if test -z "$ac_cv_prog_DLLTOOL"; then
5943 +  ac_ct_DLLTOOL=$DLLTOOL
5944 +  # Extract the first word of "dlltool", so it can be a program name with args.
5945 + set dummy dlltool; ac_word=$2
5946 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 + $as_echo_n "checking for $ac_word... " >&6; }
5948 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5949 +  $as_echo_n "(cached) " >&6
5950 + else
5951 +  if test -n "$ac_ct_DLLTOOL"; then
5952 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5953 + else
5954 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 + for as_dir in $PATH
5956 + do
5957 +  IFS=$as_save_IFS
5958 +  test -z "$as_dir" && as_dir=.
5959 +    for ac_exec_ext in '' $ac_executable_extensions; do
5960 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5962 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 +    break 2
5964 +  fi
5965 + done
5966 +  done
5967 + IFS=$as_save_IFS
5968 +
5969 + fi
5970 + fi
5971 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5972 + if test -n "$ac_ct_DLLTOOL"; then
5973 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5974 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5975 + else
5976 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 + $as_echo "no" >&6; }
5978 + fi
5979 +
5980 +  if test "x$ac_ct_DLLTOOL" = x; then
5981 +    DLLTOOL="false"
5982 +  else
5983 +    case $cross_compiling:$ac_tool_warned in
5984 + yes:)
5985 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5986 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5987 + ac_tool_warned=yes ;;
5988 + esac
5989 +    DLLTOOL=$ac_ct_DLLTOOL
5990 +  fi
5991 + else
5992 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5993 + fi
5994 +
5995 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5996 +
5997 +
5998 +
5999 +
6000 +
6001 +
6002 +
6003 +
6004 +
6005 +
6006 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6007 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6008 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6009 +  $as_echo_n "(cached) " >&6
6010 + else
6011 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6012 +
6013 + case $host_os in
6014 + cygwin* | mingw* | pw32* | cegcc*)
6015 +  # two different shell functions defined in ltmain.sh;
6016 +  # decide which one to use based on capabilities of $DLLTOOL
6017 +  case `$DLLTOOL --help 2>&1` in
6018 +  *--identify-strict*)
6019 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6020 +    ;;
6021 +  *)
6022 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6023 +    ;;
6024 +  esac
6025 +  ;;
6026 + *)
6027 +  # fallback: assume linklib IS sharedlib
6028 +  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6029 +  ;;
6030 + esac
6031 +
6032 + fi
6033 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6034 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6035 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6036 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6037 +
6038 +
6039 +
6040 +
6041 +
6042 +
6043 +
6044   if test -n "$ac_tool_prefix"; then
6045 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6046 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6045 >  for ac_prog in ar
6046 >  do
6047 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6048 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050   $as_echo_n "checking for $ac_word... " >&6; }
6051 < if test "${ac_cv_prog_AR+set}" = set; then :
6051 > if ${ac_cv_prog_AR+:} false; then :
6052    $as_echo_n "(cached) " >&6
6053   else
6054    if test -n "$AR"; then
# Line 5749 | Line 6060 | do
6060    IFS=$as_save_IFS
6061    test -z "$as_dir" && as_dir=.
6062      for ac_exec_ext in '' $ac_executable_extensions; do
6063 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6063 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6065      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066      break 2
6067    fi
# Line 5770 | Line 6081 | $as_echo "no" >&6; }
6081   fi
6082  
6083  
6084 +    test -n "$AR" && break
6085 +  done
6086   fi
6087 < if test -z "$ac_cv_prog_AR"; then
6087 > if test -z "$AR"; then
6088    ac_ct_AR=$AR
6089 <  # Extract the first word of "ar", so it can be a program name with args.
6090 < set dummy ar; ac_word=$2
6089 >  for ac_prog in ar
6090 > do
6091 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 > set dummy $ac_prog; ac_word=$2
6093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094   $as_echo_n "checking for $ac_word... " >&6; }
6095 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6095 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6096    $as_echo_n "(cached) " >&6
6097   else
6098    if test -n "$ac_ct_AR"; then
# Line 5789 | Line 6104 | do
6104    IFS=$as_save_IFS
6105    test -z "$as_dir" && as_dir=.
6106      for ac_exec_ext in '' $ac_executable_extensions; do
6107 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 <    ac_cv_prog_ac_ct_AR="ar"
6107 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6109      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110      break 2
6111    fi
# Line 5809 | Line 6124 | else
6124   $as_echo "no" >&6; }
6125   fi
6126  
6127 +
6128 +  test -n "$ac_ct_AR" && break
6129 + done
6130 +
6131    if test "x$ac_ct_AR" = x; then
6132      AR="false"
6133    else
# Line 5820 | Line 6139 | ac_tool_warned=yes ;;
6139   esac
6140      AR=$ac_ct_AR
6141    fi
5823 – else
5824 –  AR="$ac_cv_prog_AR"
6142   fi
6143  
6144 < test -z "$AR" && AR=ar
6145 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6144 > : ${AR=ar}
6145 > : ${AR_FLAGS=cru}
6146 >
6147  
6148  
6149  
# Line 5836 | Line 6154 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6154  
6155  
6156  
6157 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6158 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6159 + if ${lt_cv_ar_at_file+:} false; then :
6160 +  $as_echo_n "(cached) " >&6
6161 + else
6162 +  lt_cv_ar_at_file=no
6163 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6164 + /* end confdefs.h.  */
6165 +
6166 + int
6167 + main ()
6168 + {
6169 +
6170 +  ;
6171 +  return 0;
6172 + }
6173 + _ACEOF
6174 + if ac_fn_c_try_compile "$LINENO"; then :
6175 +  echo conftest.$ac_objext > conftest.lst
6176 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6177 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6178 +  (eval $lt_ar_try) 2>&5
6179 +  ac_status=$?
6180 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6181 +  test $ac_status = 0; }
6182 +      if test 0 -eq "$ac_status"; then
6183 +        # Ensure the archiver fails upon bogus file names.
6184 +        rm -f conftest.$ac_objext libconftest.a
6185 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6186 +  (eval $lt_ar_try) 2>&5
6187 +  ac_status=$?
6188 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6189 +  test $ac_status = 0; }
6190 +        if test 0 -ne "$ac_status"; then
6191 +          lt_cv_ar_at_file=@
6192 +        fi
6193 +      fi
6194 +      rm -f conftest.* libconftest.a
6195 +
6196 + fi
6197 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6198 +
6199 + fi
6200 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6201 + $as_echo "$lt_cv_ar_at_file" >&6; }
6202 +
6203 + if test no = "$lt_cv_ar_at_file"; then
6204 +  archiver_list_spec=
6205 + else
6206 +  archiver_list_spec=$lt_cv_ar_at_file
6207 + fi
6208 +
6209 +
6210 +
6211 +
6212 +
6213 +
6214  
6215   if test -n "$ac_tool_prefix"; then
6216    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6217   set dummy ${ac_tool_prefix}strip; ac_word=$2
6218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219   $as_echo_n "checking for $ac_word... " >&6; }
6220 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6220 > if ${ac_cv_prog_STRIP+:} false; then :
6221    $as_echo_n "(cached) " >&6
6222   else
6223    if test -n "$STRIP"; then
# Line 5854 | Line 6229 | do
6229    IFS=$as_save_IFS
6230    test -z "$as_dir" && as_dir=.
6231      for ac_exec_ext in '' $ac_executable_extensions; do
6232 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6232 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6234      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6235      break 2
# Line 5882 | Line 6257 | if test -z "$ac_cv_prog_STRIP"; then
6257   set dummy strip; ac_word=$2
6258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259   $as_echo_n "checking for $ac_word... " >&6; }
6260 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6260 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6261    $as_echo_n "(cached) " >&6
6262   else
6263    if test -n "$ac_ct_STRIP"; then
# Line 5894 | Line 6269 | do
6269    IFS=$as_save_IFS
6270    test -z "$as_dir" && as_dir=.
6271      for ac_exec_ext in '' $ac_executable_extensions; do
6272 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6273      ac_cv_prog_ac_ct_STRIP="strip"
6274      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275      break 2
# Line 5941 | Line 6316 | if test -n "$ac_tool_prefix"; then
6316   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318   $as_echo_n "checking for $ac_word... " >&6; }
6319 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6319 > if ${ac_cv_prog_RANLIB+:} false; then :
6320    $as_echo_n "(cached) " >&6
6321   else
6322    if test -n "$RANLIB"; then
# Line 5953 | Line 6328 | do
6328    IFS=$as_save_IFS
6329    test -z "$as_dir" && as_dir=.
6330      for ac_exec_ext in '' $ac_executable_extensions; do
6331 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6332      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6333      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334      break 2
# Line 5981 | Line 6356 | if test -z "$ac_cv_prog_RANLIB"; then
6356   set dummy ranlib; ac_word=$2
6357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358   $as_echo_n "checking for $ac_word... " >&6; }
6359 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6359 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6360    $as_echo_n "(cached) " >&6
6361   else
6362    if test -n "$ac_ct_RANLIB"; then
# Line 5993 | Line 6368 | do
6368    IFS=$as_save_IFS
6369    test -z "$as_dir" && as_dir=.
6370      for ac_exec_ext in '' $ac_executable_extensions; do
6371 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6372      ac_cv_prog_ac_ct_RANLIB="ranlib"
6373      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374      break 2
# Line 6042 | Line 6417 | old_postuninstall_cmds=
6417  
6418   if test -n "$RANLIB"; then
6419    case $host_os in
6420 <  openbsd*)
6421 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6420 >  bitrig* | openbsd*)
6421 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6422      ;;
6423    *)
6424 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6424 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6425      ;;
6426    esac
6427 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6427 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6428   fi
6429  
6430 + case $host_os in
6431 +  darwin*)
6432 +    lock_old_archive_extraction=yes ;;
6433 +  *)
6434 +    lock_old_archive_extraction=no ;;
6435 + esac
6436 +
6437 +
6438 +
6439 +
6440 +
6441 +
6442  
6443  
6444  
# Line 6098 | Line 6485 | compiler=$CC
6485   # Check for command to grab the raw symbol name followed by C symbol from nm.
6486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6487   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6488 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6488 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6489    $as_echo_n "(cached) " >&6
6490   else
6491  
# Line 6120 | Line 6507 | cygwin* | mingw* | pw32* | cegcc*)
6507    symcode='[ABCDGISTW]'
6508    ;;
6509   hpux*)
6510 <  if test "$host_cpu" = ia64; then
6510 >  if test ia64 = "$host_cpu"; then
6511      symcode='[ABCDEGRST]'
6512    fi
6513    ;;
# Line 6153 | Line 6540 | case `$NM -V 2>&1` in
6540    symcode='[ABCDGIRSTW]' ;;
6541   esac
6542  
6543 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6544 +  # Gets list of data symbols to import.
6545 +  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6546 +  # Adjust the below global symbol transforms to fixup imported variables.
6547 +  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6548 +  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6549 +  lt_c_name_lib_hook="\
6550 +  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6551 +  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6552 + else
6553 +  # Disable hooks by default.
6554 +  lt_cv_sys_global_symbol_to_import=
6555 +  lt_cdecl_hook=
6556 +  lt_c_name_hook=
6557 +  lt_c_name_lib_hook=
6558 + fi
6559 +
6560   # Transform an extracted symbol line into a proper C declaration.
6561   # Some systems (esp. on ia64) link data and code symbols differently,
6562   # so use this general approach.
6563 < lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6563 > lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6564 > $lt_cdecl_hook\
6565 > " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6566 > " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6567  
6568   # Transform an extracted symbol line into symbol name and symbol address
6569 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6570 < 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'"
6569 > lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6570 > $lt_c_name_hook\
6571 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6572 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6573 >
6574 > # Transform an extracted symbol line into symbol name with lib prefix and
6575 > # symbol address.
6576 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6577 > $lt_c_name_lib_hook\
6578 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6579 > " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6580 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6581  
6582   # Handle CRLF in mingw tool chain
6583   opt_cr=
# Line 6178 | Line 6595 | for ac_symprfx in "" "_"; do
6595  
6596    # Write the raw and C identifiers.
6597    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6598 <    # Fake it for dumpbin and say T for any non-static function
6599 <    # and D for any global variable.
6598 >    # Fake it for dumpbin and say T for any non-static function,
6599 >    # D for any global variable and I for any imported variable.
6600      # Also find C++ and __fastcall symbols from MSVC++,
6601      # which start with @ or ?.
6602      lt_cv_sys_global_symbol_pipe="$AWK '"\
6603   "     {last_section=section; section=\$ 3};"\
6604 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6605   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6606 + "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6607 + "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6608 + "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6609   "     \$ 0!~/External *\|/{next};"\
6610   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6611   "     {if(hide[section]) next};"\
6612 < "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6613 < "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6614 < "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6615 < "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6612 > "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6613 > "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6614 > "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6615 > "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6616   "     ' prfx=^$ac_symprfx"
6617    else
6618      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6619    fi
6620 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6621  
6622    # Check to see that the pipe works correctly.
6623    pipe_works=no
# Line 6221 | Line 6643 | _LT_EOF
6643    test $ac_status = 0; }; then
6644      # Now try to grab the symbols.
6645      nlist=conftest.nm
6646 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6647 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6646 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6647 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6648    ac_status=$?
6649    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6650    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6237 | Line 6659 | _LT_EOF
6659        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6660          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6661            cat <<_LT_EOF > conftest.$ac_ext
6662 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6663 + #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6664 + /* DATA imports from DLLs on WIN32 can't be const, because runtime
6665 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6666 + # define LT_DLSYM_CONST
6667 + #elif defined __osf__
6668 + /* This system does not cope well with relocations in const data.  */
6669 + # define LT_DLSYM_CONST
6670 + #else
6671 + # define LT_DLSYM_CONST const
6672 + #endif
6673 +
6674   #ifdef __cplusplus
6675   extern "C" {
6676   #endif
# Line 6248 | Line 6682 | _LT_EOF
6682            cat <<_LT_EOF >> conftest.$ac_ext
6683  
6684   /* The mapping between symbol names and symbols.  */
6685 < const struct {
6685 > LT_DLSYM_CONST struct {
6686    const char *name;
6687    void       *address;
6688   }
# Line 6256 | Line 6690 | lt__PROGRAM__LTX_preloaded_symbols[] =
6690   {
6691    { "@PROGRAM@", (void *) 0 },
6692   _LT_EOF
6693 <          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6693 >          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6694            cat <<\_LT_EOF >> conftest.$ac_ext
6695    {0, (void *) 0}
6696   };
# Line 6274 | Line 6708 | static const void *lt_preloaded_setup()
6708   _LT_EOF
6709            # Now try linking the two files.
6710            mv conftest.$ac_objext conftstm.$ac_objext
6711 <          lt_save_LIBS="$LIBS"
6712 <          lt_save_CFLAGS="$CFLAGS"
6713 <          LIBS="conftstm.$ac_objext"
6711 >          lt_globsym_save_LIBS=$LIBS
6712 >          lt_globsym_save_CFLAGS=$CFLAGS
6713 >          LIBS=conftstm.$ac_objext
6714            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6715            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6716    (eval $ac_link) 2>&5
6717    ac_status=$?
6718    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6719 <  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6719 >  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6720              pipe_works=yes
6721            fi
6722 <          LIBS="$lt_save_LIBS"
6723 <          CFLAGS="$lt_save_CFLAGS"
6722 >          LIBS=$lt_globsym_save_LIBS
6723 >          CFLAGS=$lt_globsym_save_CFLAGS
6724          else
6725            echo "cannot find nm_test_func in $nlist" >&5
6726          fi
# Line 6303 | Line 6737 | _LT_EOF
6737    rm -rf conftest* conftst*
6738  
6739    # Do not use the global_symbol_pipe unless it works.
6740 <  if test "$pipe_works" = yes; then
6740 >  if test yes = "$pipe_works"; then
6741      break
6742    else
6743      lt_cv_sys_global_symbol_pipe=
# Line 6323 | Line 6757 | else
6757   $as_echo "ok" >&6; }
6758   fi
6759  
6760 + # Response file support.
6761 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6762 +  nm_file_list_spec='@'
6763 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6764 +  nm_file_list_spec='@'
6765 + fi
6766 +
6767 +
6768 +
6769 +
6770 +
6771 +
6772 +
6773 +
6774 +
6775 +
6776  
6777  
6778  
# Line 6344 | Line 6794 | fi
6794  
6795  
6796  
6797 +
6798 +
6799 +
6800 +
6801 +
6802 +
6803 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6804 + $as_echo_n "checking for sysroot... " >&6; }
6805 +
6806 + # Check whether --with-sysroot was given.
6807 + if test "${with_sysroot+set}" = set; then :
6808 +  withval=$with_sysroot;
6809 + else
6810 +  with_sysroot=no
6811 + fi
6812 +
6813 +
6814 + lt_sysroot=
6815 + case $with_sysroot in #(
6816 + yes)
6817 +   if test yes = "$GCC"; then
6818 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6819 +   fi
6820 +   ;; #(
6821 + /*)
6822 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6823 +   ;; #(
6824 + no|'')
6825 +   ;; #(
6826 + *)
6827 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6828 + $as_echo "$with_sysroot" >&6; }
6829 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6830 +   ;;
6831 + esac
6832 +
6833 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6834 + $as_echo "${lt_sysroot:-no}" >&6; }
6835 +
6836 +
6837 +
6838 +
6839 +
6840 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6841 + $as_echo_n "checking for a working dd... " >&6; }
6842 + if ${ac_cv_path_lt_DD+:} false; then :
6843 +  $as_echo_n "(cached) " >&6
6844 + else
6845 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6846 + cat conftest.i conftest.i >conftest2.i
6847 + : ${lt_DD:=$DD}
6848 + if test -z "$lt_DD"; then
6849 +  ac_path_lt_DD_found=false
6850 +  # Loop through the user's path and test for each of PROGNAME-LIST
6851 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 + for as_dir in $PATH
6853 + do
6854 +  IFS=$as_save_IFS
6855 +  test -z "$as_dir" && as_dir=.
6856 +    for ac_prog in dd; do
6857 +    for ac_exec_ext in '' $ac_executable_extensions; do
6858 +      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6859 +      as_fn_executable_p "$ac_path_lt_DD" || continue
6860 + if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6861 +  cmp -s conftest.i conftest.out \
6862 +  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6863 + fi
6864 +      $ac_path_lt_DD_found && break 3
6865 +    done
6866 +  done
6867 +  done
6868 + IFS=$as_save_IFS
6869 +  if test -z "$ac_cv_path_lt_DD"; then
6870 +    :
6871 +  fi
6872 + else
6873 +  ac_cv_path_lt_DD=$lt_DD
6874 + fi
6875 +
6876 + rm -f conftest.i conftest2.i conftest.out
6877 + fi
6878 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6879 + $as_echo "$ac_cv_path_lt_DD" >&6; }
6880 +
6881 +
6882 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6883 + $as_echo_n "checking how to truncate binary pipes... " >&6; }
6884 + if ${lt_cv_truncate_bin+:} false; then :
6885 +  $as_echo_n "(cached) " >&6
6886 + else
6887 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6888 + cat conftest.i conftest.i >conftest2.i
6889 + lt_cv_truncate_bin=
6890 + if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6891 +  cmp -s conftest.i conftest.out \
6892 +  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6893 + fi
6894 + rm -f conftest.i conftest2.i conftest.out
6895 + test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6896 + fi
6897 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6898 + $as_echo "$lt_cv_truncate_bin" >&6; }
6899 +
6900 +
6901 +
6902 +
6903 +
6904 +
6905 +
6906 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6907 + func_cc_basename ()
6908 + {
6909 +    for cc_temp in $*""; do
6910 +      case $cc_temp in
6911 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6912 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6913 +        \-*) ;;
6914 +        *) break;;
6915 +      esac
6916 +    done
6917 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6918 + }
6919 +
6920   # Check whether --enable-libtool-lock was given.
6921   if test "${enable_libtool_lock+set}" = set; then :
6922    enableval=$enable_libtool_lock;
6923   fi
6924  
6925 < test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6925 > test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6926  
6927   # Some flags need to be propagated to the compiler or linker for good
6928   # libtool support.
6929   case $host in
6930   ia64-*-hpux*)
6931 <  # Find out which ABI we are using.
6931 >  # Find out what ABI is being produced by ac_compile, and set mode
6932 >  # options accordingly.
6933    echo 'int i;' > conftest.$ac_ext
6934    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6935    (eval $ac_compile) 2>&5
# Line 6364 | Line 6938 | ia64-*-hpux*)
6938    test $ac_status = 0; }; then
6939      case `/usr/bin/file conftest.$ac_objext` in
6940        *ELF-32*)
6941 <        HPUX_IA64_MODE="32"
6941 >        HPUX_IA64_MODE=32
6942          ;;
6943        *ELF-64*)
6944 <        HPUX_IA64_MODE="64"
6944 >        HPUX_IA64_MODE=64
6945          ;;
6946      esac
6947    fi
6948    rm -rf conftest*
6949    ;;
6950   *-*-irix6*)
6951 <  # Find out which ABI we are using.
6952 <  echo '#line 6378 "configure"' > conftest.$ac_ext
6951 >  # Find out what ABI is being produced by ac_compile, and set linker
6952 >  # options accordingly.
6953 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6954    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6955    (eval $ac_compile) 2>&5
6956    ac_status=$?
6957    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6958    test $ac_status = 0; }; then
6959 <    if test "$lt_cv_prog_gnu_ld" = yes; then
6959 >    if test yes = "$lt_cv_prog_gnu_ld"; then
6960        case `/usr/bin/file conftest.$ac_objext` in
6961          *32-bit*)
6962            LD="${LD-ld} -melf32bsmip"
# Line 6410 | Line 6985 | ia64-*-hpux*)
6985    rm -rf conftest*
6986    ;;
6987  
6988 < x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6988 > mips64*-*linux*)
6989 >  # Find out what ABI is being produced by ac_compile, and set linker
6990 >  # options accordingly.
6991 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6992 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6993 >  (eval $ac_compile) 2>&5
6994 >  ac_status=$?
6995 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6996 >  test $ac_status = 0; }; then
6997 >    emul=elf
6998 >    case `/usr/bin/file conftest.$ac_objext` in
6999 >      *32-bit*)
7000 >        emul="${emul}32"
7001 >        ;;
7002 >      *64-bit*)
7003 >        emul="${emul}64"
7004 >        ;;
7005 >    esac
7006 >    case `/usr/bin/file conftest.$ac_objext` in
7007 >      *MSB*)
7008 >        emul="${emul}btsmip"
7009 >        ;;
7010 >      *LSB*)
7011 >        emul="${emul}ltsmip"
7012 >        ;;
7013 >    esac
7014 >    case `/usr/bin/file conftest.$ac_objext` in
7015 >      *N32*)
7016 >        emul="${emul}n32"
7017 >        ;;
7018 >    esac
7019 >    LD="${LD-ld} -m $emul"
7020 >  fi
7021 >  rm -rf conftest*
7022 >  ;;
7023 >
7024 > x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7025   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7026 <  # Find out which ABI we are using.
7026 >  # Find out what ABI is being produced by ac_compile, and set linker
7027 >  # options accordingly.  Note that the listed cases only cover the
7028 >  # situations where additional linker options are needed (such as when
7029 >  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7030 >  # vice versa); the common cases where no linker options are needed do
7031 >  # not appear in the list.
7032    echo 'int i;' > conftest.$ac_ext
7033    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7034    (eval $ac_compile) 2>&5
# Line 6426 | Line 7042 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7042              LD="${LD-ld} -m elf_i386_fbsd"
7043              ;;
7044            x86_64-*linux*)
7045 <            LD="${LD-ld} -m elf_i386"
7045 >            case `/usr/bin/file conftest.o` in
7046 >              *x86-64*)
7047 >                LD="${LD-ld} -m elf32_x86_64"
7048 >                ;;
7049 >              *)
7050 >                LD="${LD-ld} -m elf_i386"
7051 >                ;;
7052 >            esac
7053 >            ;;
7054 >          powerpc64le-*linux*)
7055 >            LD="${LD-ld} -m elf32lppclinux"
7056              ;;
7057 <          ppc64-*linux*|powerpc64-*linux*)
7057 >          powerpc64-*linux*)
7058              LD="${LD-ld} -m elf32ppclinux"
7059              ;;
7060            s390x-*linux*)
# Line 6447 | Line 7073 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7073            x86_64-*linux*)
7074              LD="${LD-ld} -m elf_x86_64"
7075              ;;
7076 <          ppc*-*linux*|powerpc*-*linux*)
7076 >          powerpcle-*linux*)
7077 >            LD="${LD-ld} -m elf64lppc"
7078 >            ;;
7079 >          powerpc-*linux*)
7080              LD="${LD-ld} -m elf64ppc"
7081              ;;
7082            s390*-*linux*|s390*-*tpf*)
# Line 6465 | Line 7094 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7094  
7095   *-*-sco3.2v5*)
7096    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7097 <  SAVE_CFLAGS="$CFLAGS"
7097 >  SAVE_CFLAGS=$CFLAGS
7098    CFLAGS="$CFLAGS -belf"
7099    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7100   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7101 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
7101 > if ${lt_cv_cc_needs_belf+:} false; then :
7102    $as_echo_n "(cached) " >&6
7103   else
7104    ac_ext=c
# Line 6505 | Line 7134 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7134   fi
7135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7136   $as_echo "$lt_cv_cc_needs_belf" >&6; }
7137 <  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7137 >  if test yes != "$lt_cv_cc_needs_belf"; then
7138      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7139 <    CFLAGS="$SAVE_CFLAGS"
7139 >    CFLAGS=$SAVE_CFLAGS
7140    fi
7141    ;;
7142 < sparc*-*solaris*)
7143 <  # Find out which ABI we are using.
7142 > *-*solaris*)
7143 >  # Find out what ABI is being produced by ac_compile, and set linker
7144 >  # options accordingly.
7145    echo 'int i;' > conftest.$ac_ext
7146    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7147    (eval $ac_compile) 2>&5
# Line 6521 | Line 7151 | sparc*-*solaris*)
7151      case `/usr/bin/file conftest.o` in
7152      *64-bit*)
7153        case $lt_cv_prog_gnu_ld in
7154 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7154 >      yes*)
7155 >        case $host in
7156 >        i?86-*-solaris*|x86_64-*-solaris*)
7157 >          LD="${LD-ld} -m elf_x86_64"
7158 >          ;;
7159 >        sparc*-*-solaris*)
7160 >          LD="${LD-ld} -m elf64_sparc"
7161 >          ;;
7162 >        esac
7163 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7164 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7165 >          LD=${LD-ld}_sol2
7166 >        fi
7167 >        ;;
7168        *)
7169          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7170            LD="${LD-ld} -64"
# Line 6535 | Line 7178 | sparc*-*solaris*)
7178    ;;
7179   esac
7180  
7181 < need_locks="$enable_libtool_lock"
7181 > need_locks=$enable_libtool_lock
7182 >
7183 > if test -n "$ac_tool_prefix"; then
7184 >  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7185 > set dummy ${ac_tool_prefix}mt; ac_word=$2
7186 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 > $as_echo_n "checking for $ac_word... " >&6; }
7188 > if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7189 >  $as_echo_n "(cached) " >&6
7190 > else
7191 >  if test -n "$MANIFEST_TOOL"; then
7192 >  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7193 > else
7194 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 > for as_dir in $PATH
7196 > do
7197 >  IFS=$as_save_IFS
7198 >  test -z "$as_dir" && as_dir=.
7199 >    for ac_exec_ext in '' $ac_executable_extensions; do
7200 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7201 >    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7202 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203 >    break 2
7204 >  fi
7205 > done
7206 >  done
7207 > IFS=$as_save_IFS
7208 >
7209 > fi
7210 > fi
7211 > MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7212 > if test -n "$MANIFEST_TOOL"; then
7213 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7214 > $as_echo "$MANIFEST_TOOL" >&6; }
7215 > else
7216 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7217 > $as_echo "no" >&6; }
7218 > fi
7219 >
7220 >
7221 > fi
7222 > if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7223 >  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7224 >  # Extract the first word of "mt", so it can be a program name with args.
7225 > set dummy mt; ac_word=$2
7226 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 > $as_echo_n "checking for $ac_word... " >&6; }
7228 > if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7229 >  $as_echo_n "(cached) " >&6
7230 > else
7231 >  if test -n "$ac_ct_MANIFEST_TOOL"; then
7232 >  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7233 > else
7234 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 > for as_dir in $PATH
7236 > do
7237 >  IFS=$as_save_IFS
7238 >  test -z "$as_dir" && as_dir=.
7239 >    for ac_exec_ext in '' $ac_executable_extensions; do
7240 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241 >    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7242 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243 >    break 2
7244 >  fi
7245 > done
7246 >  done
7247 > IFS=$as_save_IFS
7248 >
7249 > fi
7250 > fi
7251 > ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7252 > if test -n "$ac_ct_MANIFEST_TOOL"; then
7253 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7254 > $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7255 > else
7256 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 > $as_echo "no" >&6; }
7258 > fi
7259 >
7260 >  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7261 >    MANIFEST_TOOL=":"
7262 >  else
7263 >    case $cross_compiling:$ac_tool_warned in
7264 > yes:)
7265 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7266 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7267 > ac_tool_warned=yes ;;
7268 > esac
7269 >    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7270 >  fi
7271 > else
7272 >  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7273 > fi
7274 >
7275 > test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7276 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7277 > $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7278 > if ${lt_cv_path_mainfest_tool+:} false; then :
7279 >  $as_echo_n "(cached) " >&6
7280 > else
7281 >  lt_cv_path_mainfest_tool=no
7282 >  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7283 >  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7284 >  cat conftest.err >&5
7285 >  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7286 >    lt_cv_path_mainfest_tool=yes
7287 >  fi
7288 >  rm -f conftest*
7289 > fi
7290 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7291 > $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7292 > if test yes != "$lt_cv_path_mainfest_tool"; then
7293 >  MANIFEST_TOOL=:
7294 > fi
7295 >
7296 >
7297 >
7298 >
7299  
7300  
7301    case $host_os in
# Line 6545 | Line 7305 | need_locks="$enable_libtool_lock"
7305   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307   $as_echo_n "checking for $ac_word... " >&6; }
7308 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7308 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7309    $as_echo_n "(cached) " >&6
7310   else
7311    if test -n "$DSYMUTIL"; then
# Line 6557 | Line 7317 | do
7317    IFS=$as_save_IFS
7318    test -z "$as_dir" && as_dir=.
7319      for ac_exec_ext in '' $ac_executable_extensions; do
7320 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7320 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7321      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7322      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323      break 2
# Line 6585 | Line 7345 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7345   set dummy dsymutil; ac_word=$2
7346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7347   $as_echo_n "checking for $ac_word... " >&6; }
7348 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7348 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7349    $as_echo_n "(cached) " >&6
7350   else
7351    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6597 | Line 7357 | do
7357    IFS=$as_save_IFS
7358    test -z "$as_dir" && as_dir=.
7359      for ac_exec_ext in '' $ac_executable_extensions; do
7360 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7360 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7361      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7362      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7363      break 2
# Line 6637 | Line 7397 | fi
7397   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399   $as_echo_n "checking for $ac_word... " >&6; }
7400 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7400 > if ${ac_cv_prog_NMEDIT+:} false; then :
7401    $as_echo_n "(cached) " >&6
7402   else
7403    if test -n "$NMEDIT"; then
# Line 6649 | Line 7409 | do
7409    IFS=$as_save_IFS
7410    test -z "$as_dir" && as_dir=.
7411      for ac_exec_ext in '' $ac_executable_extensions; do
7412 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7412 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7413      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7414      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415      break 2
# Line 6677 | Line 7437 | if test -z "$ac_cv_prog_NMEDIT"; then
7437   set dummy nmedit; ac_word=$2
7438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7439   $as_echo_n "checking for $ac_word... " >&6; }
7440 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7440 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7441    $as_echo_n "(cached) " >&6
7442   else
7443    if test -n "$ac_ct_NMEDIT"; then
# Line 6689 | Line 7449 | do
7449    IFS=$as_save_IFS
7450    test -z "$as_dir" && as_dir=.
7451      for ac_exec_ext in '' $ac_executable_extensions; do
7452 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7452 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7453      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7454      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7455      break 2
# Line 6729 | Line 7489 | fi
7489   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491   $as_echo_n "checking for $ac_word... " >&6; }
7492 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7492 > if ${ac_cv_prog_LIPO+:} false; then :
7493    $as_echo_n "(cached) " >&6
7494   else
7495    if test -n "$LIPO"; then
# Line 6741 | Line 7501 | do
7501    IFS=$as_save_IFS
7502    test -z "$as_dir" && as_dir=.
7503      for ac_exec_ext in '' $ac_executable_extensions; do
7504 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7504 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7505      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7506      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507      break 2
# Line 6769 | Line 7529 | if test -z "$ac_cv_prog_LIPO"; then
7529   set dummy lipo; ac_word=$2
7530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7531   $as_echo_n "checking for $ac_word... " >&6; }
7532 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7532 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7533    $as_echo_n "(cached) " >&6
7534   else
7535    if test -n "$ac_ct_LIPO"; then
# Line 6781 | Line 7541 | do
7541    IFS=$as_save_IFS
7542    test -z "$as_dir" && as_dir=.
7543      for ac_exec_ext in '' $ac_executable_extensions; do
7544 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7544 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7545      ac_cv_prog_ac_ct_LIPO="lipo"
7546      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7547      break 2
# Line 6821 | Line 7581 | fi
7581   set dummy ${ac_tool_prefix}otool; ac_word=$2
7582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583   $as_echo_n "checking for $ac_word... " >&6; }
7584 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7584 > if ${ac_cv_prog_OTOOL+:} false; then :
7585    $as_echo_n "(cached) " >&6
7586   else
7587    if test -n "$OTOOL"; then
# Line 6833 | Line 7593 | do
7593    IFS=$as_save_IFS
7594    test -z "$as_dir" && as_dir=.
7595      for ac_exec_ext in '' $ac_executable_extensions; do
7596 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7596 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7597      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7598      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599      break 2
# Line 6861 | Line 7621 | if test -z "$ac_cv_prog_OTOOL"; then
7621   set dummy otool; ac_word=$2
7622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7623   $as_echo_n "checking for $ac_word... " >&6; }
7624 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7624 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7625    $as_echo_n "(cached) " >&6
7626   else
7627    if test -n "$ac_ct_OTOOL"; then
# Line 6873 | Line 7633 | do
7633    IFS=$as_save_IFS
7634    test -z "$as_dir" && as_dir=.
7635      for ac_exec_ext in '' $ac_executable_extensions; do
7636 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7636 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7637      ac_cv_prog_ac_ct_OTOOL="otool"
7638      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639      break 2
# Line 6913 | Line 7673 | fi
7673   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7675   $as_echo_n "checking for $ac_word... " >&6; }
7676 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7676 > if ${ac_cv_prog_OTOOL64+:} false; then :
7677    $as_echo_n "(cached) " >&6
7678   else
7679    if test -n "$OTOOL64"; then
# Line 6925 | Line 7685 | do
7685    IFS=$as_save_IFS
7686    test -z "$as_dir" && as_dir=.
7687      for ac_exec_ext in '' $ac_executable_extensions; do
7688 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7688 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7689      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7690      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7691      break 2
# Line 6953 | Line 7713 | if test -z "$ac_cv_prog_OTOOL64"; then
7713   set dummy otool64; ac_word=$2
7714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7715   $as_echo_n "checking for $ac_word... " >&6; }
7716 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7716 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7717    $as_echo_n "(cached) " >&6
7718   else
7719    if test -n "$ac_ct_OTOOL64"; then
# Line 6965 | Line 7725 | do
7725    IFS=$as_save_IFS
7726    test -z "$as_dir" && as_dir=.
7727      for ac_exec_ext in '' $ac_executable_extensions; do
7728 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7728 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7729      ac_cv_prog_ac_ct_OTOOL64="otool64"
7730      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7731      break 2
# Line 7028 | Line 7788 | fi
7788  
7789      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7790   $as_echo_n "checking for -single_module linker flag... " >&6; }
7791 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7791 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7792    $as_echo_n "(cached) " >&6
7793   else
7794    lt_cv_apple_cc_single_mod=no
7795 <      if test -z "${LT_MULTI_MODULE}"; then
7795 >      if test -z "$LT_MULTI_MODULE"; then
7796          # By default we will add the -single_module flag. You can override
7797          # by either setting the environment variable LT_MULTI_MODULE
7798          # non-empty at configure time, or by adding -multi_module to the
# Line 7044 | Line 7804 | else
7804          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7805            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7806          _lt_result=$?
7807 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7807 >        # If there is a non-empty error log, and "single_module"
7808 >        # appears in it, assume the flag caused a linker warning
7809 >        if test -s conftest.err && $GREP single_module conftest.err; then
7810 >          cat conftest.err >&5
7811 >        # Otherwise, if the output was created with a 0 exit code from
7812 >        # the compiler, it worked.
7813 >        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7814            lt_cv_apple_cc_single_mod=yes
7815          else
7816            cat conftest.err >&5
# Line 7055 | Line 7821 | else
7821   fi
7822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7823   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7824 +
7825      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7826   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7827 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7827 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7828    $as_echo_n "(cached) " >&6
7829   else
7830    lt_cv_ld_exported_symbols_list=no
# Line 7082 | Line 7849 | else
7849   fi
7850   rm -f core conftest.err conftest.$ac_objext \
7851      conftest$ac_exeext conftest.$ac_ext
7852 <        LDFLAGS="$save_LDFLAGS"
7852 >        LDFLAGS=$save_LDFLAGS
7853  
7854   fi
7855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7856   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7857 +
7858 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7859 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7860 + if ${lt_cv_ld_force_load+:} false; then :
7861 +  $as_echo_n "(cached) " >&6
7862 + else
7863 +  lt_cv_ld_force_load=no
7864 +      cat > conftest.c << _LT_EOF
7865 + int forced_loaded() { return 2;}
7866 + _LT_EOF
7867 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7868 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7869 +      echo "$AR cru libconftest.a conftest.o" >&5
7870 +      $AR cru libconftest.a conftest.o 2>&5
7871 +      echo "$RANLIB libconftest.a" >&5
7872 +      $RANLIB libconftest.a 2>&5
7873 +      cat > conftest.c << _LT_EOF
7874 + int main() { return 0;}
7875 + _LT_EOF
7876 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7877 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7878 +      _lt_result=$?
7879 +      if test -s conftest.err && $GREP force_load conftest.err; then
7880 +        cat conftest.err >&5
7881 +      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7882 +        lt_cv_ld_force_load=yes
7883 +      else
7884 +        cat conftest.err >&5
7885 +      fi
7886 +        rm -f conftest.err libconftest.a conftest conftest.c
7887 +        rm -rf conftest.dSYM
7888 +
7889 + fi
7890 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7891 + $as_echo "$lt_cv_ld_force_load" >&6; }
7892      case $host_os in
7893      rhapsody* | darwin1.[012])
7894 <      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7894 >      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7895      darwin1.*)
7896 <      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7896 >      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7897      darwin*) # darwin 5.x on
7898        # if running on 10.5 or later, the deployment target defaults
7899        # to the OS version, if on x86, and 10.4, the deployment
7900        # target defaults to 10.4. Don't you love it?
7901        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7902          10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7903 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7904 <        10.[012]*)
7905 <          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7903 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7904 >        10.[012][,.]*)
7905 >          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7906          10.*)
7907 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7907 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7908        esac
7909      ;;
7910    esac
7911 <    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7911 >    if test yes = "$lt_cv_apple_cc_single_mod"; then
7912        _lt_dar_single_mod='$single_module'
7913      fi
7914 <    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7915 <      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7914 >    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7915 >      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7916      else
7917 <      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7917 >      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7918      fi
7919 <    if test "$DSYMUTIL" != ":"; then
7919 >    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7920        _lt_dsymutil='~$DSYMUTIL $lib || :'
7921      else
7922        _lt_dsymutil=
# Line 7122 | Line 7924 | $as_echo "$lt_cv_ld_exported_symbols_lis
7924      ;;
7925    esac
7926  
7927 + # func_munge_path_list VARIABLE PATH
7928 + # -----------------------------------
7929 + # VARIABLE is name of variable containing _space_ separated list of
7930 + # directories to be munged by the contents of PATH, which is string
7931 + # having a format:
7932 + # "DIR[:DIR]:"
7933 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7934 + # ":DIR[:DIR]"
7935 + #       string "DIR[ DIR]" will be appended to VARIABLE
7936 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7937 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7938 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7939 + # "DIR[:DIR]"
7940 + #       VARIABLE will be replaced by "DIR[ DIR]"
7941 + func_munge_path_list ()
7942 + {
7943 +    case x$2 in
7944 +    x)
7945 +        ;;
7946 +    *:)
7947 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7948 +        ;;
7949 +    x:*)
7950 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7951 +        ;;
7952 +    *::*)
7953 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7954 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7955 +        ;;
7956 +    *)
7957 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7958 +        ;;
7959 +    esac
7960 + }
7961 +
7962   ac_ext=c
7963   ac_cpp='$CPP $CPPFLAGS'
7964   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7134 | Line 7971 | if test -n "$CPP" && test -d "$CPP"; the
7971    CPP=
7972   fi
7973   if test -z "$CPP"; then
7974 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7974 >  if ${ac_cv_prog_CPP+:} false; then :
7975    $as_echo_n "(cached) " >&6
7976   else
7977        # Double quotes because CPP needs to be expanded
# Line 7164 | Line 8001 | else
8001    # Broken: fails on valid input.
8002   continue
8003   fi
8004 < rm -f conftest.err conftest.$ac_ext
8004 > rm -f conftest.err conftest.i conftest.$ac_ext
8005  
8006    # OK, works on sane cases.  Now check whether nonexistent headers
8007    # can be detected and how.
# Line 7180 | Line 8017 | else
8017   ac_preproc_ok=:
8018   break
8019   fi
8020 < rm -f conftest.err conftest.$ac_ext
8020 > rm -f conftest.err conftest.i conftest.$ac_ext
8021  
8022   done
8023   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8024 < rm -f conftest.err conftest.$ac_ext
8024 > rm -f conftest.i conftest.err conftest.$ac_ext
8025   if $ac_preproc_ok; then :
8026    break
8027   fi
# Line 7223 | Line 8060 | else
8060    # Broken: fails on valid input.
8061   continue
8062   fi
8063 < rm -f conftest.err conftest.$ac_ext
8063 > rm -f conftest.err conftest.i conftest.$ac_ext
8064  
8065    # OK, works on sane cases.  Now check whether nonexistent headers
8066    # can be detected and how.
# Line 7239 | Line 8076 | else
8076   ac_preproc_ok=:
8077   break
8078   fi
8079 < rm -f conftest.err conftest.$ac_ext
8079 > rm -f conftest.err conftest.i conftest.$ac_ext
8080  
8081   done
8082   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8083 < rm -f conftest.err conftest.$ac_ext
8083 > rm -f conftest.i conftest.err conftest.$ac_ext
8084   if $ac_preproc_ok; then :
8085  
8086   else
8087    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8088   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8089 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
8090 < See \`config.log' for more details." "$LINENO" 5; }
8089 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8090 > See \`config.log' for more details" "$LINENO" 5; }
8091   fi
8092  
8093   ac_ext=c
# Line 7262 | Line 8099 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8099  
8100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8101   $as_echo_n "checking for ANSI C header files... " >&6; }
8102 < if test "${ac_cv_header_stdc+set}" = set; then :
8102 > if ${ac_cv_header_stdc+:} false; then :
8103    $as_echo_n "(cached) " >&6
8104   else
8105    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7379 | Line 8216 | do :
8216    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8217   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8218   "
8219 < eval as_val=\$$as_ac_Header
7383 <   if test "x$as_val" = x""yes; then :
8219 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8220    cat >>confdefs.h <<_ACEOF
8221   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8222   _ACEOF
# Line 7394 | Line 8230 | for ac_header in dlfcn.h
8230   do :
8231    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8232   "
8233 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8233 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8234    cat >>confdefs.h <<_ACEOF
8235   #define HAVE_DLFCN_H 1
8236   _ACEOF
# Line 7405 | Line 8241 | done
8241  
8242  
8243  
8244 +
8245 +
8246   # Set options
8247   enable_dlopen=yes
8248   # Check whether --enable-static was given.
# Line 7416 | Line 8254 | if test "${enable_static+set}" = set; th
8254      *)
8255       enable_static=no
8256        # Look at the argument we got.  We use all the common list separators.
8257 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8257 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8258        for pkg in $enableval; do
8259 <        IFS="$lt_save_ifs"
8259 >        IFS=$lt_save_ifs
8260          if test "X$pkg" = "X$p"; then
8261            enable_static=yes
8262          fi
8263        done
8264 <      IFS="$lt_save_ifs"
8264 >      IFS=$lt_save_ifs
8265        ;;
8266      esac
8267   else
# Line 7452 | Line 8290 | if test "${enable_shared+set}" = set; th
8290      *)
8291        enable_shared=no
8292        # Look at the argument we got.  We use all the common list separators.
8293 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8293 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8294        for pkg in $enableval; do
8295 <        IFS="$lt_save_ifs"
8295 >        IFS=$lt_save_ifs
8296          if test "X$pkg" = "X$p"; then
8297            enable_shared=yes
8298          fi
8299        done
8300 <      IFS="$lt_save_ifs"
8300 >      IFS=$lt_save_ifs
8301        ;;
8302      esac
8303   else
# Line 7478 | Line 8316 | fi
8316  
8317   # Check whether --with-pic was given.
8318   if test "${with_pic+set}" = set; then :
8319 <  withval=$with_pic; pic_mode="$withval"
8319 >  withval=$with_pic; lt_p=${PACKAGE-default}
8320 >    case $withval in
8321 >    yes|no) pic_mode=$withval ;;
8322 >    *)
8323 >      pic_mode=default
8324 >      # Look at the argument we got.  We use all the common list separators.
8325 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8326 >      for lt_pkg in $withval; do
8327 >        IFS=$lt_save_ifs
8328 >        if test "X$lt_pkg" = "X$lt_p"; then
8329 >          pic_mode=yes
8330 >        fi
8331 >      done
8332 >      IFS=$lt_save_ifs
8333 >      ;;
8334 >    esac
8335   else
8336    pic_mode=default
8337   fi
8338  
8339  
7487 – test -z "$pic_mode" && pic_mode=default
7488 –
8340  
8341  
8342  
# Line 7501 | Line 8352 | if test "${enable_fast_install+set}" = s
8352      *)
8353        enable_fast_install=no
8354        # Look at the argument we got.  We use all the common list separators.
8355 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8355 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8356        for pkg in $enableval; do
8357 <        IFS="$lt_save_ifs"
8357 >        IFS=$lt_save_ifs
8358          if test "X$pkg" = "X$p"; then
8359            enable_fast_install=yes
8360          fi
8361        done
8362 <      IFS="$lt_save_ifs"
8362 >      IFS=$lt_save_ifs
8363        ;;
8364      esac
8365   else
# Line 7522 | Line 8373 | fi
8373  
8374  
8375  
8376 +  shared_archive_member_spec=
8377 + case $host,$enable_shared in
8378 + power*-*-aix[5-9]*,yes)
8379 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8380 + $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8381 +
8382 + # Check whether --with-aix-soname was given.
8383 + if test "${with_aix_soname+set}" = set; then :
8384 +  withval=$with_aix_soname; case $withval in
8385 +    aix|svr4|both)
8386 +      ;;
8387 +    *)
8388 +      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8389 +      ;;
8390 +    esac
8391 +    lt_cv_with_aix_soname=$with_aix_soname
8392 + else
8393 +  if ${lt_cv_with_aix_soname+:} false; then :
8394 +  $as_echo_n "(cached) " >&6
8395 + else
8396 +  lt_cv_with_aix_soname=aix
8397 + fi
8398 +
8399 +    with_aix_soname=$lt_cv_with_aix_soname
8400 + fi
8401 +
8402 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8403 + $as_echo "$with_aix_soname" >&6; }
8404 +  if test aix != "$with_aix_soname"; then
8405 +    # For the AIX way of multilib, we name the shared archive member
8406 +    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8407 +    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8408 +    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8409 +    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8410 +    if test 64 = "${OBJECT_MODE-32}"; then
8411 +      shared_archive_member_spec=shr_64
8412 +    else
8413 +      shared_archive_member_spec=shr
8414 +    fi
8415 +  fi
8416 +  ;;
8417 + *)
8418 +  with_aix_soname=aix
8419 +  ;;
8420 + esac
8421 +
8422 +
8423 +
8424 +
8425 +
8426 +
8427 +
8428  
8429  
8430  
8431   # This can be used to rebuild libtool when needed
8432 < LIBTOOL_DEPS="$ltmain"
8432 > LIBTOOL_DEPS=$ltmain
8433  
8434   # Always use our own libtool.
8435   LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Line 7555 | Line 8458 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8458  
8459  
8460  
8461 +
8462 +
8463 +
8464 +
8465 +
8466   test -z "$LN_S" && LN_S="ln -s"
8467  
8468  
# Line 7570 | Line 8478 | test -z "$LN_S" && LN_S="ln -s"
8478  
8479  
8480  
8481 < if test -n "${ZSH_VERSION+set}" ; then
8481 > if test -n "${ZSH_VERSION+set}"; then
8482     setopt NO_GLOB_SUBST
8483   fi
8484  
8485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8486   $as_echo_n "checking for objdir... " >&6; }
8487 < if test "${lt_cv_objdir+set}" = set; then :
8487 > if ${lt_cv_objdir+:} false; then :
8488    $as_echo_n "(cached) " >&6
8489   else
8490    rm -f .libs 2>/dev/null
# Line 7604 | Line 8512 | _ACEOF
8512  
8513  
8514  
7607 –
7608 –
7609 –
7610 –
7611 –
7612 –
7613 –
7614 –
7615 –
7616 –
7617 –
7618 –
7619 –
8515   case $host_os in
8516   aix3*)
8517    # AIX sometimes has problems with the GCC collect2 program.  For some
8518    # reason, if we set the COLLECT_NAMES environment variable, the problems
8519    # vanish in a puff of smoke.
8520 <  if test "X${COLLECT_NAMES+set}" != Xset; then
8520 >  if test set != "${COLLECT_NAMES+set}"; then
8521      COLLECT_NAMES=
8522      export COLLECT_NAMES
8523    fi
8524    ;;
8525   esac
8526  
7632 – # Sed substitution that helps us do robust quoting.  It backslashifies
7633 – # metacharacters that are still active within double-quoted strings.
7634 – sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7635 –
7636 – # Same as above, but do not quote variable references.
7637 – double_quote_subst='s/\(["`\\]\)/\\\1/g'
7638 –
7639 – # Sed substitution to delay expansion of an escaped shell variable in a
7640 – # double_quote_subst'ed string.
7641 – delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7642 –
7643 – # Sed substitution to delay expansion of an escaped single quote.
7644 – delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7645 –
7646 – # Sed substitution to avoid accidental globbing in evaled expressions
7647 – no_glob_subst='s/\*/\\\*/g'
7648 –
8527   # Global variables:
8528   ofile=libtool
8529   can_build_shared=yes
8530  
8531 < # All known linkers require a `.a' archive for static linking (except MSVC,
8531 > # All known linkers require a '.a' archive for static linking (except MSVC,
8532   # which needs '.lib').
8533   libext=a
8534  
8535 < with_gnu_ld="$lt_cv_prog_gnu_ld"
8535 > with_gnu_ld=$lt_cv_prog_gnu_ld
8536  
8537 < old_CC="$CC"
8538 < old_CFLAGS="$CFLAGS"
8537 > old_CC=$CC
8538 > old_CFLAGS=$CFLAGS
8539  
8540   # Set sane defaults for various variables
8541   test -z "$CC" && CC=cc
# Line 7666 | Line 8544 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8544   test -z "$LD" && LD=ld
8545   test -z "$ac_objext" && ac_objext=o
8546  
8547 < for cc_temp in $compiler""; do
8548 <  case $cc_temp in
7671 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7672 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7673 <    \-*) ;;
7674 <    *) break;;
7675 <  esac
7676 < done
7677 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8547 > func_cc_basename $compiler
8548 > cc_basename=$func_cc_basename_result
8549  
8550  
8551   # Only perform the check for file, if the check method requires it
# Line 7684 | Line 8555 | file_magic*)
8555    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8556      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8557   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8558 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8558 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8559    $as_echo_n "(cached) " >&6
8560   else
8561    case $MAGIC_CMD in
8562   [\\/*] |  ?:[\\/]*)
8563 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8563 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8564    ;;
8565   *)
8566 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8567 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8566 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8567 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8568    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8569    for ac_dir in $ac_dummy; do
8570 <    IFS="$lt_save_ifs"
8570 >    IFS=$lt_save_ifs
8571      test -z "$ac_dir" && ac_dir=.
8572 <    if test -f $ac_dir/${ac_tool_prefix}file; then
8573 <      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8572 >    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8573 >      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8574        if test -n "$file_magic_test_file"; then
8575          case $deplibs_check_method in
8576          "file_magic "*)
8577            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8578 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8578 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8579            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8580              $EGREP "$file_magic_regex" > /dev/null; then
8581              :
# Line 7727 | Line 8598 | _LT_EOF
8598        break
8599      fi
8600    done
8601 <  IFS="$lt_save_ifs"
8602 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8601 >  IFS=$lt_save_ifs
8602 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8603    ;;
8604   esac
8605   fi
8606  
8607 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8607 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8608   if test -n "$MAGIC_CMD"; then
8609    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8610   $as_echo "$MAGIC_CMD" >&6; }
# Line 7750 | Line 8621 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8621    if test -n "$ac_tool_prefix"; then
8622      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8623   $as_echo_n "checking for file... " >&6; }
8624 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8624 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8625    $as_echo_n "(cached) " >&6
8626   else
8627    case $MAGIC_CMD in
8628   [\\/*] |  ?:[\\/]*)
8629 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8629 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8630    ;;
8631   *)
8632 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8633 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8632 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8633 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8634    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8635    for ac_dir in $ac_dummy; do
8636 <    IFS="$lt_save_ifs"
8636 >    IFS=$lt_save_ifs
8637      test -z "$ac_dir" && ac_dir=.
8638 <    if test -f $ac_dir/file; then
8639 <      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8638 >    if test -f "$ac_dir/file"; then
8639 >      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8640        if test -n "$file_magic_test_file"; then
8641          case $deplibs_check_method in
8642          "file_magic "*)
8643            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8644 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8644 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8645            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8646              $EGREP "$file_magic_regex" > /dev/null; then
8647              :
# Line 7793 | Line 8664 | _LT_EOF
8664        break
8665      fi
8666    done
8667 <  IFS="$lt_save_ifs"
8668 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8667 >  IFS=$lt_save_ifs
8668 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8669    ;;
8670   esac
8671   fi
8672  
8673 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8673 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8674   if test -n "$MAGIC_CMD"; then
8675    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8676   $as_echo "$MAGIC_CMD" >&6; }
# Line 7820 | Line 8691 | esac
8691  
8692   # Use C for the default configuration in the libtool script
8693  
8694 < lt_save_CC="$CC"
8694 > lt_save_CC=$CC
8695   ac_ext=c
8696   ac_cpp='$CPP $CPPFLAGS'
8697   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7874 | Line 8745 | _lt_linker_boilerplate=`cat conftest.err
8745   $RM -r conftest*
8746  
8747  
8748 + ## CAVEAT EMPTOR:
8749 + ## There is no encapsulation within the following macros, do not change
8750 + ## the running order or otherwise move them around unless you know exactly
8751 + ## what you are doing...
8752   if test -n "$compiler"; then
8753  
8754   lt_prog_compiler_no_builtin_flag=
8755  
8756 < if test "$GCC" = yes; then
8757 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8756 > if test yes = "$GCC"; then
8757 >  case $cc_basename in
8758 >  nvcc*)
8759 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8760 >  *)
8761 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8762 >  esac
8763  
8764    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8765   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8766 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8766 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8767    $as_echo_n "(cached) " >&6
8768   else
8769    lt_cv_prog_compiler_rtti_exceptions=no
8770     ac_outfile=conftest.$ac_objext
8771     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8772 <   lt_compiler_flag="-fno-rtti -fno-exceptions"
8772 >   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8773     # Insert the option either (1) after the last *FLAGS variable, or
8774     # (2) before a word containing "conftest.", or (3) at the end.
8775     # Note that $ac_compile itself does not contain backslashes and begins
# Line 7899 | Line 8779 | else
8779     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8780     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8781     -e 's:$: $lt_compiler_flag:'`
8782 <   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
8782 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8783     (eval "$lt_compile" 2>conftest.err)
8784     ac_status=$?
8785     cat conftest.err >&5
8786 <   echo "$as_me:7906: \$? = $ac_status" >&5
8786 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787     if (exit $ac_status) && test -s "$ac_outfile"; then
8788       # The compiler can only warn and ignore the option if not recognized
8789       # So say no if there are warnings other than the usual output.
8790 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8790 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8791       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8792       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8793         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7919 | Line 8799 | fi
8799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8800   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8801  
8802 < if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8802 > if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8803      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8804   else
8805      :
# Line 7936 | Line 8816 | fi
8816   lt_prog_compiler_pic=
8817   lt_prog_compiler_static=
8818  
7939 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7940 – $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8819  
8820 <  if test "$GCC" = yes; then
8820 >  if test yes = "$GCC"; then
8821      lt_prog_compiler_wl='-Wl,'
8822      lt_prog_compiler_static='-static'
8823  
8824      case $host_os in
8825        aix*)
8826        # All AIX code is PIC.
8827 <      if test "$host_cpu" = ia64; then
8827 >      if test ia64 = "$host_cpu"; then
8828          # AIX 5 now supports IA64 processor
8829          lt_prog_compiler_static='-Bstatic'
8830        fi
8831 +      lt_prog_compiler_pic='-fPIC'
8832        ;;
8833  
8834      amigaos*)
# Line 7960 | Line 8839 | $as_echo_n "checking for $compiler optio
8839          ;;
8840        m68k)
8841              # FIXME: we need at least 68020 code to build shared libraries, but
8842 <            # adding the `-m68020' flag to GCC prevents building anything better,
8843 <            # like `-m68040'.
8842 >            # adding the '-m68020' flag to GCC prevents building anything better,
8843 >            # like '-m68040'.
8844              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8845          ;;
8846        esac
# Line 7977 | Line 8856 | $as_echo_n "checking for $compiler optio
8856        # Although the cygwin gcc ignores -fPIC, still need this for old-style
8857        # (--disable-auto-import) libraries
8858        lt_prog_compiler_pic='-DDLL_EXPORT'
8859 +      case $host_os in
8860 +      os2*)
8861 +        lt_prog_compiler_static='$wl-static'
8862 +        ;;
8863 +      esac
8864        ;;
8865  
8866      darwin* | rhapsody*)
# Line 7985 | Line 8869 | $as_echo_n "checking for $compiler optio
8869        lt_prog_compiler_pic='-fno-common'
8870        ;;
8871  
8872 +    haiku*)
8873 +      # PIC is the default for Haiku.
8874 +      # The "-static" flag exists, but is broken.
8875 +      lt_prog_compiler_static=
8876 +      ;;
8877 +
8878      hpux*)
8879        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8880        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8027 | Line 8917 | $as_echo_n "checking for $compiler optio
8917        lt_prog_compiler_pic='-fPIC'
8918        ;;
8919      esac
8920 +
8921 +    case $cc_basename in
8922 +    nvcc*) # Cuda Compiler Driver 2.2
8923 +      lt_prog_compiler_wl='-Xlinker '
8924 +      if test -n "$lt_prog_compiler_pic"; then
8925 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8926 +      fi
8927 +      ;;
8928 +    esac
8929    else
8930      # PORTME Check for flag to pass linker flags through the system compiler.
8931      case $host_os in
8932      aix*)
8933        lt_prog_compiler_wl='-Wl,'
8934 <      if test "$host_cpu" = ia64; then
8934 >      if test ia64 = "$host_cpu"; then
8935          # AIX 5 now supports IA64 processor
8936          lt_prog_compiler_static='-Bstatic'
8937        else
# Line 8040 | Line 8939 | $as_echo_n "checking for $compiler optio
8939        fi
8940        ;;
8941  
8942 +    darwin* | rhapsody*)
8943 +      # PIC is the default on this platform
8944 +      # Common symbols not allowed in MH_DYLIB files
8945 +      lt_prog_compiler_pic='-fno-common'
8946 +      case $cc_basename in
8947 +      nagfor*)
8948 +        # NAG Fortran compiler
8949 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8950 +        lt_prog_compiler_pic='-PIC'
8951 +        lt_prog_compiler_static='-Bstatic'
8952 +        ;;
8953 +      esac
8954 +      ;;
8955 +
8956      mingw* | cygwin* | pw32* | os2* | cegcc*)
8957        # This hack is so that the source file can tell whether it is being
8958        # built for inclusion in a dll (and should export symbols for example).
8959        lt_prog_compiler_pic='-DDLL_EXPORT'
8960 +      case $host_os in
8961 +      os2*)
8962 +        lt_prog_compiler_static='$wl-static'
8963 +        ;;
8964 +      esac
8965        ;;
8966  
8967      hpux9* | hpux10* | hpux11*)
# Line 8059 | Line 8977 | $as_echo_n "checking for $compiler optio
8977          ;;
8978        esac
8979        # Is there a better lt_prog_compiler_static that works with the bundled CC?
8980 <      lt_prog_compiler_static='${wl}-a ${wl}archive'
8980 >      lt_prog_compiler_static='$wl-a ${wl}archive'
8981        ;;
8982  
8983      irix5* | irix6* | nonstopux*)
# Line 8068 | Line 8986 | $as_echo_n "checking for $compiler optio
8986        lt_prog_compiler_static='-non_shared'
8987        ;;
8988  
8989 <    linux* | k*bsd*-gnu)
8989 >    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8990        case $cc_basename in
8991 <      # old Intel for x86_64 which still supported -KPIC.
8991 >      # old Intel for x86_64, which still supported -KPIC.
8992        ecc*)
8993          lt_prog_compiler_wl='-Wl,'
8994          lt_prog_compiler_pic='-KPIC'
# Line 8089 | Line 9007 | $as_echo_n "checking for $compiler optio
9007          lt_prog_compiler_pic='--shared'
9008          lt_prog_compiler_static='--static'
9009          ;;
9010 <      pgcc* | pgf77* | pgf90* | pgf95*)
9010 >      nagfor*)
9011 >        # NAG Fortran compiler
9012 >        lt_prog_compiler_wl='-Wl,-Wl,,'
9013 >        lt_prog_compiler_pic='-PIC'
9014 >        lt_prog_compiler_static='-Bstatic'
9015 >        ;;
9016 >      tcc*)
9017 >        # Fabrice Bellard et al's Tiny C Compiler
9018 >        lt_prog_compiler_wl='-Wl,'
9019 >        lt_prog_compiler_pic='-fPIC'
9020 >        lt_prog_compiler_static='-static'
9021 >        ;;
9022 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9023          # Portland Group compilers (*not* the Pentium gcc compiler,
9024          # which looks to be a dead project)
9025          lt_prog_compiler_wl='-Wl,'
# Line 8101 | Line 9031 | $as_echo_n "checking for $compiler optio
9031          # All Alpha code is PIC.
9032          lt_prog_compiler_static='-non_shared'
9033          ;;
9034 <      xl*)
9035 <        # IBM XL C 8.0/Fortran 10.1 on PPC
9034 >      xl* | bgxl* | bgf* | mpixl*)
9035 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9036          lt_prog_compiler_wl='-Wl,'
9037          lt_prog_compiler_pic='-qpic'
9038          lt_prog_compiler_static='-qstaticlink'
9039          ;;
9040        *)
9041          case `$CC -V 2>&1 | sed 5q` in
9042 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9043 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9044 +          lt_prog_compiler_pic='-KPIC'
9045 +          lt_prog_compiler_static='-Bstatic'
9046 +          lt_prog_compiler_wl=''
9047 +          ;;
9048 +        *Sun\ F* | *Sun*Fortran*)
9049 +          lt_prog_compiler_pic='-KPIC'
9050 +          lt_prog_compiler_static='-Bstatic'
9051 +          lt_prog_compiler_wl='-Qoption ld '
9052 +          ;;
9053          *Sun\ C*)
9054            # Sun C 5.9
9055            lt_prog_compiler_pic='-KPIC'
9056            lt_prog_compiler_static='-Bstatic'
9057            lt_prog_compiler_wl='-Wl,'
9058            ;;
9059 <        *Sun\ F*)
9060 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9061 <          lt_prog_compiler_pic='-KPIC'
9059 >        *Intel*\ [CF]*Compiler*)
9060 >          lt_prog_compiler_wl='-Wl,'
9061 >          lt_prog_compiler_pic='-fPIC'
9062 >          lt_prog_compiler_static='-static'
9063 >          ;;
9064 >        *Portland\ Group*)
9065 >          lt_prog_compiler_wl='-Wl,'
9066 >          lt_prog_compiler_pic='-fpic'
9067            lt_prog_compiler_static='-Bstatic'
8122 –          lt_prog_compiler_wl=''
9068            ;;
9069          esac
9070          ;;
# Line 8151 | Line 9096 | $as_echo_n "checking for $compiler optio
9096        lt_prog_compiler_pic='-KPIC'
9097        lt_prog_compiler_static='-Bstatic'
9098        case $cc_basename in
9099 <      f77* | f90* | f95*)
9099 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9100          lt_prog_compiler_wl='-Qoption ld ';;
9101        *)
9102          lt_prog_compiler_wl='-Wl,';;
# Line 8171 | Line 9116 | $as_echo_n "checking for $compiler optio
9116        ;;
9117  
9118      sysv4*MP*)
9119 <      if test -d /usr/nec ;then
9119 >      if test -d /usr/nec; then
9120          lt_prog_compiler_pic='-Kconform_pic'
9121          lt_prog_compiler_static='-Bstatic'
9122        fi
# Line 8200 | Line 9145 | $as_echo_n "checking for $compiler optio
9145    fi
9146  
9147   case $host_os in
9148 <  # For platforms which do not support PIC, -DPIC is meaningless:
9148 >  # For platforms that do not support PIC, -DPIC is meaningless:
9149    *djgpp*)
9150      lt_prog_compiler_pic=
9151      ;;
# Line 8208 | Line 9153 | case $host_os in
9153      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9154      ;;
9155   esac
8211 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8212 – $as_echo "$lt_prog_compiler_pic" >&6; }
8213 –
8214 –
8215 –
8216 –
9156  
9157 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9158 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9159 + if ${lt_cv_prog_compiler_pic+:} false; then :
9160 +  $as_echo_n "(cached) " >&6
9161 + else
9162 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9163 + fi
9164 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9165 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9166 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9167  
9168   #
9169   # Check to make sure the PIC flag actually works.
# Line 8222 | Line 9171 | $as_echo "$lt_prog_compiler_pic" >&6; }
9171   if test -n "$lt_prog_compiler_pic"; then
9172    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9173   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9174 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9174 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
9175    $as_echo_n "(cached) " >&6
9176   else
9177    lt_cv_prog_compiler_pic_works=no
9178     ac_outfile=conftest.$ac_objext
9179     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9180 <   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9180 >   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9181     # Insert the option either (1) after the last *FLAGS variable, or
9182     # (2) before a word containing "conftest.", or (3) at the end.
9183     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8238 | Line 9187 | else
9187     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9188     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9189     -e 's:$: $lt_compiler_flag:'`
9190 <   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
9190 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9191     (eval "$lt_compile" 2>conftest.err)
9192     ac_status=$?
9193     cat conftest.err >&5
9194 <   echo "$as_me:8245: \$? = $ac_status" >&5
9194 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195     if (exit $ac_status) && test -s "$ac_outfile"; then
9196       # The compiler can only warn and ignore the option if not recognized
9197       # So say no if there are warnings other than the usual output.
9198 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9198 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9199       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9200       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9201         lt_cv_prog_compiler_pic_works=yes
# Line 8258 | Line 9207 | fi
9207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9208   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9209  
9210 < if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9210 > if test yes = "$lt_cv_prog_compiler_pic_works"; then
9211      case $lt_prog_compiler_pic in
9212       "" | " "*) ;;
9213       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
# Line 8275 | Line 9224 | fi
9224  
9225  
9226  
9227 +
9228 +
9229 +
9230 +
9231 +
9232   #
9233   # Check to make sure the static flag actually works.
9234   #
9235   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9237   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9238 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9238 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9239    $as_echo_n "(cached) " >&6
9240   else
9241    lt_cv_prog_compiler_static_works=no
9242 <   save_LDFLAGS="$LDFLAGS"
9242 >   save_LDFLAGS=$LDFLAGS
9243     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9244     echo "$lt_simple_link_test_code" > conftest.$ac_ext
9245     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 8294 | Line 9248 | else
9248       if test -s conftest.err; then
9249         # Append any errors to the config.log.
9250         cat conftest.err 1>&5
9251 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9251 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9252         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9253         if diff conftest.exp conftest.er2 >/dev/null; then
9254           lt_cv_prog_compiler_static_works=yes
# Line 8304 | Line 9258 | else
9258       fi
9259     fi
9260     $RM -r conftest*
9261 <   LDFLAGS="$save_LDFLAGS"
9261 >   LDFLAGS=$save_LDFLAGS
9262  
9263   fi
9264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9265   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9266  
9267 < if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9267 > if test yes = "$lt_cv_prog_compiler_static_works"; then
9268      :
9269   else
9270      lt_prog_compiler_static=
# Line 8324 | Line 9278 | fi
9278  
9279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9280   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9281 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9281 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9282    $as_echo_n "(cached) " >&6
9283   else
9284    lt_cv_prog_compiler_c_o=no
# Line 8343 | Line 9297 | else
9297     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9298     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9299     -e 's:$: $lt_compiler_flag:'`
9300 <   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
9300 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9301     (eval "$lt_compile" 2>out/conftest.err)
9302     ac_status=$?
9303     cat out/conftest.err >&5
9304 <   echo "$as_me:8350: \$? = $ac_status" >&5
9304 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9306     then
9307       # The compiler can only warn and ignore the option if not recognized
9308       # So say no if there are warnings
9309 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9309 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9310       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9311       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9312         lt_cv_prog_compiler_c_o=yes
# Line 8379 | Line 9333 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9333  
9334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9335   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9336 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9336 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9337    $as_echo_n "(cached) " >&6
9338   else
9339    lt_cv_prog_compiler_c_o=no
# Line 8398 | Line 9352 | else
9352     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9353     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9354     -e 's:$: $lt_compiler_flag:'`
9355 <   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
9355 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9356     (eval "$lt_compile" 2>out/conftest.err)
9357     ac_status=$?
9358     cat out/conftest.err >&5
9359 <   echo "$as_me:8405: \$? = $ac_status" >&5
9359 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9361     then
9362       # The compiler can only warn and ignore the option if not recognized
9363       # So say no if there are warnings
9364 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9364 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9365       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9366       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9367         lt_cv_prog_compiler_c_o=yes
# Line 8430 | Line 9384 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9384  
9385  
9386  
9387 < hard_links="nottested"
9388 < if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9387 > hard_links=nottested
9388 > if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9389    # do not overwrite the value of need_locks provided by the user
9390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9391   $as_echo_n "checking if we can lock with hard links... " >&6; }
# Line 8443 | Line 9397 | $as_echo_n "checking if we can lock with
9397    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9398    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9399   $as_echo "$hard_links" >&6; }
9400 <  if test "$hard_links" = no; then
9401 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9402 < $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9400 >  if test no = "$hard_links"; then
9401 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9402 > $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9403      need_locks=warn
9404    fi
9405   else
# Line 8473 | Line 9427 | $as_echo_n "checking whether the $compil
9427    hardcode_direct=no
9428    hardcode_direct_absolute=no
9429    hardcode_libdir_flag_spec=
8476 –  hardcode_libdir_flag_spec_ld=
9430    hardcode_libdir_separator=
9431    hardcode_minus_L=no
9432    hardcode_shlibpath_var=unsupported
# Line 8489 | Line 9442 | $as_echo_n "checking whether the $compil
9442    # included in the symbol list
9443    include_expsyms=
9444    # exclude_expsyms can be an extended regexp of symbols to exclude
9445 <  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9446 <  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9447 <  # as well as any symbol that contains `d'.
9445 >  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9446 >  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9447 >  # as well as any symbol that contains 'd'.
9448    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9449    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9450    # platforms (ab)use it in PIC code, but their linkers get confused if
# Line 8506 | Line 9459 | $as_echo_n "checking whether the $compil
9459      # FIXME: the MSVC++ port hasn't been tested in a loooong time
9460      # When not using gcc, we currently assume that we are using
9461      # Microsoft Visual C++.
9462 <    if test "$GCC" != yes; then
9462 >    if test yes != "$GCC"; then
9463        with_gnu_ld=no
9464      fi
9465      ;;
# Line 8514 | Line 9467 | $as_echo_n "checking whether the $compil
9467      # we just hope/assume this is gcc and not c89 (= MSVC++)
9468      with_gnu_ld=yes
9469      ;;
9470 <  openbsd*)
9470 >  openbsd* | bitrig*)
9471      with_gnu_ld=no
9472      ;;
9473    esac
9474  
9475    ld_shlibs=yes
9476 <  if test "$with_gnu_ld" = yes; then
9476 >
9477 >  # On some targets, GNU ld is compatible enough with the native linker
9478 >  # that we're better off using the native interface for both.
9479 >  lt_use_gnu_ld_interface=no
9480 >  if test yes = "$with_gnu_ld"; then
9481 >    case $host_os in
9482 >      aix*)
9483 >        # The AIX port of GNU ld has always aspired to compatibility
9484 >        # with the native linker.  However, as the warning in the GNU ld
9485 >        # block says, versions before 2.19.5* couldn't really create working
9486 >        # shared libraries, regardless of the interface used.
9487 >        case `$LD -v 2>&1` in
9488 >          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9489 >          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9490 >          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9491 >          *)
9492 >            lt_use_gnu_ld_interface=yes
9493 >            ;;
9494 >        esac
9495 >        ;;
9496 >      *)
9497 >        lt_use_gnu_ld_interface=yes
9498 >        ;;
9499 >    esac
9500 >  fi
9501 >
9502 >  if test yes = "$lt_use_gnu_ld_interface"; then
9503      # If archive_cmds runs LD, not CC, wlarc should be empty
9504 <    wlarc='${wl}'
9504 >    wlarc='$wl'
9505  
9506      # Set some defaults for GNU ld with shared library support. These
9507      # are reset later if shared libraries are not supported. Putting them
9508      # here allows them to be overridden if necessary.
9509      runpath_var=LD_RUN_PATH
9510 <    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9511 <    export_dynamic_flag_spec='${wl}--export-dynamic'
9510 >    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9511 >    export_dynamic_flag_spec='$wl--export-dynamic'
9512      # ancient GNU ld didn't support --whole-archive et. al.
9513      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9514 <      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9514 >      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9515      else
9516        whole_archive_flag_spec=
9517      fi
9518      supports_anon_versioning=no
9519 <    case `$LD -v 2>&1` in
9519 >    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9520 >      *GNU\ gold*) supports_anon_versioning=yes ;;
9521        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9522        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9523        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8549 | Line 9529 | $as_echo_n "checking whether the $compil
9529      case $host_os in
9530      aix[3-9]*)
9531        # On AIX/PPC, the GNU linker is very broken
9532 <      if test "$host_cpu" != ia64; then
9532 >      if test ia64 != "$host_cpu"; then
9533          ld_shlibs=no
9534          cat <<_LT_EOF 1>&2
9535  
9536 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9536 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9537   *** to be unable to reliably create shared libraries on AIX.
9538   *** Therefore, libtool is disabling shared libraries support.  If you
9539 < *** really care for shared libraries, you may want to modify your PATH
9540 < *** so that a non-GNU linker is found, and then restart.
9539 > *** really care for shared libraries, you may want to install binutils
9540 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9541 > *** You will then need to restart the configuration process.
9542  
9543   _LT_EOF
9544        fi
# Line 8567 | Line 9548 | _LT_EOF
9548        case $host_cpu in
9549        powerpc)
9550              # see comment about AmigaOS4 .so support
9551 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9551 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9552              archive_expsym_cmds=''
9553          ;;
9554        m68k)
# Line 8583 | Line 9564 | _LT_EOF
9564          allow_undefined_flag=unsupported
9565          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9566          # support --undefined.  This deserves some investigation.  FIXME
9567 <        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9567 >        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9568        else
9569          ld_shlibs=no
9570        fi
# Line 8593 | Line 9574 | _LT_EOF
9574        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9575        # as there is no search path for DLLs.
9576        hardcode_libdir_flag_spec='-L$libdir'
9577 +      export_dynamic_flag_spec='$wl--export-all-symbols'
9578        allow_undefined_flag=unsupported
9579        always_export_symbols=no
9580        enable_shared_with_static_runtimes=yes
9581 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9581 >      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'
9582 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9583  
9584        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9585 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9586 <        # If the export-symbols file already is a .def file (1st line
9587 <        # is EXPORTS), use it as is; otherwise, prepend...
9588 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9589 <          cp $export_symbols $output_objdir/$soname.def;
9590 <        else
9591 <          echo EXPORTS > $output_objdir/$soname.def;
9592 <          cat $export_symbols >> $output_objdir/$soname.def;
9593 <        fi~
9594 <        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9585 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9586 >        # If the export-symbols file already is a .def file, use it as
9587 >        # is; otherwise, prepend EXPORTS...
9588 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9589 >          cp $export_symbols $output_objdir/$soname.def;
9590 >        else
9591 >          echo EXPORTS > $output_objdir/$soname.def;
9592 >          cat $export_symbols >> $output_objdir/$soname.def;
9593 >        fi~
9594 >        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9595        else
9596          ld_shlibs=no
9597        fi
9598        ;;
9599  
9600 +    haiku*)
9601 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9602 +      link_all_deplibs=yes
9603 +      ;;
9604 +
9605 +    os2*)
9606 +      hardcode_libdir_flag_spec='-L$libdir'
9607 +      hardcode_minus_L=yes
9608 +      allow_undefined_flag=unsupported
9609 +      shrext_cmds=.dll
9610 +      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9611 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9612 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9613 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9614 +        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9615 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9616 +        emximp -o $lib $output_objdir/$libname.def'
9617 +      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9618 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9619 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9620 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9621 +        prefix_cmds="$SED"~
9622 +        if test EXPORTS = "`$SED 1q $export_symbols`"; then
9623 +          prefix_cmds="$prefix_cmds -e 1d";
9624 +        fi~
9625 +        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9626 +        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9627 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9628 +        emximp -o $lib $output_objdir/$libname.def'
9629 +      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9630 +      enable_shared_with_static_runtimes=yes
9631 +      ;;
9632 +
9633      interix[3-9]*)
9634        hardcode_direct=no
9635        hardcode_shlibpath_var=no
9636 <      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9637 <      export_dynamic_flag_spec='${wl}-E'
9636 >      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9637 >      export_dynamic_flag_spec='$wl-E'
9638        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9639        # Instead, shared libraries are loaded at an image base (0x10000000 by
9640        # default) and relocated if they conflict, which is a slow very memory
9641        # consuming and fragmenting process.  To avoid this, we pick a random,
9642        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9643        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9644 <      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9645 <      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'
9644 >      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9645 >      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'
9646        ;;
9647  
9648 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9648 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9649        tmp_diet=no
9650 <      if test "$host_os" = linux-dietlibc; then
9650 >      if test linux-dietlibc = "$host_os"; then
9651          case $cc_basename in
9652            diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9653          esac
9654        fi
9655        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9656 <         && test "$tmp_diet" = no
9656 >         && test no = "$tmp_diet"
9657        then
9658 <        tmp_addflag=
9658 >        tmp_addflag=' $pic_flag'
9659          tmp_sharedflag='-shared'
9660          case $cc_basename,$host_cpu in
9661          pgcc*)                          # Portland Group C compiler
9662 <          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'
9662 >          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'
9663            tmp_addflag=' $pic_flag'
9664            ;;
9665 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9666 <          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'
9665 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9666 >                                        # Portland Group f77 and f90 compilers
9667 >          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'
9668            tmp_addflag=' $pic_flag -Mnomain' ;;
9669          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9670            tmp_addflag=' -i_dynamic' ;;
# Line 8658 | Line 9675 | _LT_EOF
9675          lf95*)                          # Lahey Fortran 8.1
9676            whole_archive_flag_spec=
9677            tmp_sharedflag='--shared' ;;
9678 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9678 >        nagfor*)                        # NAGFOR 5.3
9679 >          tmp_sharedflag='-Wl,-shared' ;;
9680 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9681            tmp_sharedflag='-qmkshrobj'
9682            tmp_addflag= ;;
9683 +        nvcc*)  # Cuda Compiler Driver 2.2
9684 +          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'
9685 +          compiler_needs_object=yes
9686 +          ;;
9687          esac
9688          case `$CC -V 2>&1 | sed 5q` in
9689          *Sun\ C*)                       # Sun C 5.9
9690 <          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'
9690 >          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'
9691            compiler_needs_object=yes
9692            tmp_sharedflag='-G' ;;
9693          *Sun\ F*)                       # Sun Fortran 8.3
9694            tmp_sharedflag='-G' ;;
9695          esac
9696 <        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9696 >        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9697  
9698 <        if test "x$supports_anon_versioning" = xyes; then
9698 >        if test yes = "$supports_anon_versioning"; then
9699            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9700 <            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9701 <            echo "local: *; };" >> $output_objdir/$libname.ver~
9702 <            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9700 >            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9701 >            echo "local: *; };" >> $output_objdir/$libname.ver~
9702 >            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9703          fi
9704  
9705          case $cc_basename in
9706 <        xlf*)
9706 >        tcc*)
9707 >          export_dynamic_flag_spec='-rdynamic'
9708 >          ;;
9709 >        xlf* | bgf* | bgxlf* | mpixlf*)
9710            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9711            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9712 <          hardcode_libdir_flag_spec=
9713 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9714 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8689 <          if test "x$supports_anon_versioning" = xyes; then
9712 >          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9713 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9714 >          if test yes = "$supports_anon_versioning"; then
9715              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9716 <              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9717 <              echo "local: *; };" >> $output_objdir/$libname.ver~
9718 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9716 >              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9717 >              echo "local: *; };" >> $output_objdir/$libname.ver~
9718 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9719            fi
9720            ;;
9721          esac
# Line 8704 | Line 9729 | _LT_EOF
9729          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9730          wlarc=
9731        else
9732 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9733 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9732 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9733 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9734        fi
9735        ;;
9736  
# Line 8723 | Line 9748 | _LT_EOF
9748  
9749   _LT_EOF
9750        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9751 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9752 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9751 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9752 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9753        else
9754          ld_shlibs=no
9755        fi
# Line 8736 | Line 9761 | _LT_EOF
9761          ld_shlibs=no
9762          cat <<_LT_EOF 1>&2
9763  
9764 < *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9764 > *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9765   *** reliably create shared libraries on SCO systems.  Therefore, libtool
9766   *** is disabling shared libraries support.  We urge you to upgrade GNU
9767   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
# Line 8751 | Line 9776 | _LT_EOF
9776            # DT_RUNPATH tag from executables and libraries.  But doing so
9777            # requires that you compile everything twice, which is a pain.
9778            if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9779 <            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9780 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9781 <            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9779 >            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9780 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9781 >            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9782            else
9783              ld_shlibs=no
9784            fi
# Line 8770 | Line 9795 | _LT_EOF
9795  
9796      *)
9797        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9798 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9799 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9798 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9799 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9800        else
9801          ld_shlibs=no
9802        fi
9803        ;;
9804      esac
9805  
9806 <    if test "$ld_shlibs" = no; then
9806 >    if test no = "$ld_shlibs"; then
9807        runpath_var=
9808        hardcode_libdir_flag_spec=
9809        export_dynamic_flag_spec=
# Line 8794 | Line 9819 | _LT_EOF
9819        # Note: this linker hardcodes the directories in LIBPATH if there
9820        # are no directories specified by -L.
9821        hardcode_minus_L=yes
9822 <      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9822 >      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9823          # Neither direct hardcoding nor static linking is supported with a
9824          # broken collect2.
9825          hardcode_direct=unsupported
# Line 8802 | Line 9827 | _LT_EOF
9827        ;;
9828  
9829      aix[4-9]*)
9830 <      if test "$host_cpu" = ia64; then
9830 >      if test ia64 = "$host_cpu"; then
9831          # On IA64, the linker does run time linking by default, so we don't
9832          # have to do anything special.
9833          aix_use_runtimelinking=no
9834          exp_sym_flag='-Bexport'
9835 <        no_entry_flag=""
9835 >        no_entry_flag=
9836        else
9837          # If we're using GNU nm, then we don't want the "-C" option.
9838 <        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9838 >        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9839 >        # Without the "-l" option, or with the "-B" option, AIX nm treats
9840 >        # weak defined symbols like other global defined symbols, whereas
9841 >        # GNU nm marks them as "W".
9842 >        # While the 'weak' keyword is ignored in the Export File, we need
9843 >        # it in the Import File for the 'aix-soname' feature, so we have
9844 >        # to replace the "-B" option with "-P" for AIX nm.
9845          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9846 <          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'
9846 >          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9847          else
9848 <          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'
9848 >          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9849          fi
9850          aix_use_runtimelinking=no
9851  
9852          # Test if we are trying to use run time linking or normal
9853          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9854 <        # need to do runtime linking.
9854 >        # have runtime linking enabled, and use it for executables.
9855 >        # For shared libraries, we enable/disable runtime linking
9856 >        # depending on the kind of the shared library created -
9857 >        # when "with_aix_soname,aix_use_runtimelinking" is:
9858 >        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9859 >        # "aix,yes"  lib.so          shared, rtl:yes, for executables
9860 >        #            lib.a           static archive
9861 >        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
9862 >        #            lib.a(lib.so.V) shared, rtl:no,  for executables
9863 >        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9864 >        #            lib.a(lib.so.V) shared, rtl:no
9865 >        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9866 >        #            lib.a           static archive
9867          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9868            for ld_flag in $LDFLAGS; do
9869 <          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9869 >          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9870              aix_use_runtimelinking=yes
9871              break
9872            fi
9873            done
9874 +          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9875 +            # With aix-soname=svr4, we create the lib.so.V shared archives only,
9876 +            # so we don't have lib.a shared libs to link our executables.
9877 +            # We have to force runtime linking in this case.
9878 +            aix_use_runtimelinking=yes
9879 +            LDFLAGS="$LDFLAGS -Wl,-brtl"
9880 +          fi
9881            ;;
9882          esac
9883  
# Line 8846 | Line 9896 | _LT_EOF
9896        hardcode_direct_absolute=yes
9897        hardcode_libdir_separator=':'
9898        link_all_deplibs=yes
9899 <      file_list_spec='${wl}-f,'
9899 >      file_list_spec='$wl-f,'
9900 >      case $with_aix_soname,$aix_use_runtimelinking in
9901 >      aix,*) ;; # traditional, no import file
9902 >      svr4,* | *,yes) # use import file
9903 >        # The Import File defines what to hardcode.
9904 >        hardcode_direct=no
9905 >        hardcode_direct_absolute=no
9906 >        ;;
9907 >      esac
9908  
9909 <      if test "$GCC" = yes; then
9909 >      if test yes = "$GCC"; then
9910          case $host_os in aix4.[012]|aix4.[012].*)
9911          # We only want to do this on AIX 4.2 and lower, the check
9912          # below for broken collect2 doesn't work under 4.3+
9913 <          collect2name=`${CC} -print-prog-name=collect2`
9913 >          collect2name=`$CC -print-prog-name=collect2`
9914            if test -f "$collect2name" &&
9915             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9916            then
# Line 8871 | Line 9929 | _LT_EOF
9929            ;;
9930          esac
9931          shared_flag='-shared'
9932 <        if test "$aix_use_runtimelinking" = yes; then
9933 <          shared_flag="$shared_flag "'${wl}-G'
9932 >        if test yes = "$aix_use_runtimelinking"; then
9933 >          shared_flag="$shared_flag "'$wl-G'
9934          fi
9935 +        # Need to ensure runtime linking is disabled for the traditional
9936 +        # shared library, or the linker may eventually find shared libraries
9937 +        # /with/ Import File - we do not want to mix them.
9938 +        shared_flag_aix='-shared'
9939 +        shared_flag_svr4='-shared $wl-G'
9940        else
9941          # not using gcc
9942 <        if test "$host_cpu" = ia64; then
9942 >        if test ia64 = "$host_cpu"; then
9943          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9944          # chokes on -Wl,-G. The following line is correct:
9945            shared_flag='-G'
9946          else
9947 <          if test "$aix_use_runtimelinking" = yes; then
9948 <            shared_flag='${wl}-G'
9947 >          if test yes = "$aix_use_runtimelinking"; then
9948 >            shared_flag='$wl-G'
9949            else
9950 <            shared_flag='${wl}-bM:SRE'
9950 >            shared_flag='$wl-bM:SRE'
9951            fi
9952 +          shared_flag_aix='$wl-bM:SRE'
9953 +          shared_flag_svr4='$wl-G'
9954          fi
9955        fi
9956  
9957 <      export_dynamic_flag_spec='${wl}-bexpall'
9957 >      export_dynamic_flag_spec='$wl-bexpall'
9958        # It seems that -bexpall does not export symbols beginning with
9959        # underscore (_), so it is better to generate a list of symbols to export.
9960        always_export_symbols=yes
9961 <      if test "$aix_use_runtimelinking" = yes; then
9961 >      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9962          # Warning - without using the other runtime loading flags (-brtl),
9963          # -berok will link without error, but may produce a broken library.
9964          allow_undefined_flag='-berok'
9965          # Determine the default libpath from the value encoded in an
9966          # empty executable.
9967 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 >        if test set = "${lt_cv_aix_libpath+set}"; then
9968 >  aix_libpath=$lt_cv_aix_libpath
9969 > else
9970 >  if ${lt_cv_aix_libpath_+:} false; then :
9971 >  $as_echo_n "(cached) " >&6
9972 > else
9973 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974   /* end confdefs.h.  */
9975  
9976   int
# Line 8912 | Line 9983 | main ()
9983   _ACEOF
9984   if ac_fn_c_try_link "$LINENO"; then :
9985  
9986 < lt_aix_libpath_sed='
9987 <    /Import File Strings/,/^$/ {
9988 <        /^0/ {
9989 <            s/^0  *\(.*\)$/\1/
9990 <            p
9991 <        }
9992 <    }'
9993 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9994 < # Check for a 64-bit object if we didn't find anything.
9995 < if test -z "$aix_libpath"; then
9996 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9997 < fi
9986 >  lt_aix_libpath_sed='
9987 >      /Import File Strings/,/^$/ {
9988 >          /^0/ {
9989 >              s/^0  *\([^ ]*\) *$/\1/
9990 >              p
9991 >          }
9992 >      }'
9993 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9994 >  # Check for a 64-bit object if we didn't find anything.
9995 >  if test -z "$lt_cv_aix_libpath_"; then
9996 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9997 >  fi
9998   fi
9999   rm -f core conftest.err conftest.$ac_objext \
10000      conftest$ac_exeext conftest.$ac_ext
10001 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10001 >  if test -z "$lt_cv_aix_libpath_"; then
10002 >    lt_cv_aix_libpath_=/usr/lib:/lib
10003 >  fi
10004  
10005 <        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10006 <        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"
10005 > fi
10006 >
10007 >  aix_libpath=$lt_cv_aix_libpath_
10008 > fi
10009 >
10010 >        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10011 >        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
10012        else
10013 <        if test "$host_cpu" = ia64; then
10014 <          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10013 >        if test ia64 = "$host_cpu"; then
10014 >          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10015            allow_undefined_flag="-z nodefs"
10016 <          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"
10016 >          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"
10017          else
10018           # Determine the default libpath from the value encoded in an
10019           # empty executable.
10020 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10020 >         if test set = "${lt_cv_aix_libpath+set}"; then
10021 >  aix_libpath=$lt_cv_aix_libpath
10022 > else
10023 >  if ${lt_cv_aix_libpath_+:} false; then :
10024 >  $as_echo_n "(cached) " >&6
10025 > else
10026 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027   /* end confdefs.h.  */
10028  
10029   int
# Line 8952 | Line 10036 | main ()
10036   _ACEOF
10037   if ac_fn_c_try_link "$LINENO"; then :
10038  
10039 < lt_aix_libpath_sed='
10040 <    /Import File Strings/,/^$/ {
10041 <        /^0/ {
10042 <            s/^0  *\(.*\)$/\1/
10043 <            p
10044 <        }
10045 <    }'
10046 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10047 < # Check for a 64-bit object if we didn't find anything.
10048 < if test -z "$aix_libpath"; then
10049 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10050 < fi
10039 >  lt_aix_libpath_sed='
10040 >      /Import File Strings/,/^$/ {
10041 >          /^0/ {
10042 >              s/^0  *\([^ ]*\) *$/\1/
10043 >              p
10044 >          }
10045 >      }'
10046 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10047 >  # Check for a 64-bit object if we didn't find anything.
10048 >  if test -z "$lt_cv_aix_libpath_"; then
10049 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10050 >  fi
10051   fi
10052   rm -f core conftest.err conftest.$ac_objext \
10053      conftest$ac_exeext conftest.$ac_ext
10054 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10054 >  if test -z "$lt_cv_aix_libpath_"; then
10055 >    lt_cv_aix_libpath_=/usr/lib:/lib
10056 >  fi
10057  
10058 <         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10058 > fi
10059 >
10060 >  aix_libpath=$lt_cv_aix_libpath_
10061 > fi
10062 >
10063 >         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10064            # Warning - without using the other run time loading flags,
10065            # -berok will link without error, but may produce a broken library.
10066 <          no_undefined_flag=' ${wl}-bernotok'
10067 <          allow_undefined_flag=' ${wl}-berok'
10068 <          # Exported symbols can be pulled into shared objects from archives
10069 <          whole_archive_flag_spec='$convenience'
10066 >          no_undefined_flag=' $wl-bernotok'
10067 >          allow_undefined_flag=' $wl-berok'
10068 >          if test yes = "$with_gnu_ld"; then
10069 >            # We only use this code for GNU lds that support --whole-archive.
10070 >            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10071 >          else
10072 >            # Exported symbols can be pulled into shared objects from archives
10073 >            whole_archive_flag_spec='$convenience'
10074 >          fi
10075            archive_cmds_need_lc=yes
10076 <          # This is similar to how AIX traditionally builds its shared libraries.
10077 <          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'
10076 >          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10077 >          # -brtl affects multiple linker settings, -berok does not and is overridden later
10078 >          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10079 >          if test svr4 != "$with_aix_soname"; then
10080 >            # This is similar to how AIX traditionally builds its shared libraries.
10081 >            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10082 >          fi
10083 >          if test aix != "$with_aix_soname"; then
10084 >            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10085 >          else
10086 >            # used by -dlpreopen to get the symbols
10087 >            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10088 >          fi
10089 >          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10090          fi
10091        fi
10092        ;;
# Line 8987 | Line 10095 | if test -z "$aix_libpath"; then aix_libp
10095        case $host_cpu in
10096        powerpc)
10097              # see comment about AmigaOS4 .so support
10098 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10098 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10099              archive_expsym_cmds=''
10100          ;;
10101        m68k)
# Line 9007 | Line 10115 | if test -z "$aix_libpath"; then aix_libp
10115        # Microsoft Visual C++.
10116        # hardcode_libdir_flag_spec is actually meaningless, as there is
10117        # no search path for DLLs.
10118 <      hardcode_libdir_flag_spec=' '
10119 <      allow_undefined_flag=unsupported
10120 <      # Tell ltmain to make .lib files, not .a files.
10121 <      libext=lib
10122 <      # Tell ltmain to make .dll files, not .so files.
10123 <      shrext_cmds=".dll"
10124 <      # FIXME: Setting linknames here is a bad hack.
10125 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10126 <      # The linker will automatically build a .lib file if we build a DLL.
10127 <      old_archive_from_new_cmds='true'
10128 <      # FIXME: Should let the user specify the lib program.
10129 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10130 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
10131 <      enable_shared_with_static_runtimes=yes
10118 >      case $cc_basename in
10119 >      cl*)
10120 >        # Native MSVC
10121 >        hardcode_libdir_flag_spec=' '
10122 >        allow_undefined_flag=unsupported
10123 >        always_export_symbols=yes
10124 >        file_list_spec='@'
10125 >        # Tell ltmain to make .lib files, not .a files.
10126 >        libext=lib
10127 >        # Tell ltmain to make .dll files, not .so files.
10128 >        shrext_cmds=.dll
10129 >        # FIXME: Setting linknames here is a bad hack.
10130 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10131 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10132 >            cp "$export_symbols" "$output_objdir/$soname.def";
10133 >            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10134 >          else
10135 >            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10136 >          fi~
10137 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10138 >          linknames='
10139 >        # The linker will not automatically build a static lib if we build a DLL.
10140 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10141 >        enable_shared_with_static_runtimes=yes
10142 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10143 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10144 >        # Don't use ranlib
10145 >        old_postinstall_cmds='chmod 644 $oldlib'
10146 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
10147 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
10148 >          case $lt_outputfile in
10149 >            *.exe|*.EXE) ;;
10150 >            *)
10151 >              lt_outputfile=$lt_outputfile.exe
10152 >              lt_tool_outputfile=$lt_tool_outputfile.exe
10153 >              ;;
10154 >          esac~
10155 >          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10156 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10157 >            $RM "$lt_outputfile.manifest";
10158 >          fi'
10159 >        ;;
10160 >      *)
10161 >        # Assume MSVC wrapper
10162 >        hardcode_libdir_flag_spec=' '
10163 >        allow_undefined_flag=unsupported
10164 >        # Tell ltmain to make .lib files, not .a files.
10165 >        libext=lib
10166 >        # Tell ltmain to make .dll files, not .so files.
10167 >        shrext_cmds=.dll
10168 >        # FIXME: Setting linknames here is a bad hack.
10169 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10170 >        # The linker will automatically build a .lib file if we build a DLL.
10171 >        old_archive_from_new_cmds='true'
10172 >        # FIXME: Should let the user specify the lib program.
10173 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10174 >        enable_shared_with_static_runtimes=yes
10175 >        ;;
10176 >      esac
10177        ;;
10178  
10179      darwin* | rhapsody*)
# Line 9030 | Line 10183 | if test -z "$aix_libpath"; then aix_libp
10183    hardcode_direct=no
10184    hardcode_automatic=yes
10185    hardcode_shlibpath_var=unsupported
10186 <  whole_archive_flag_spec=''
10186 >  if test yes = "$lt_cv_ld_force_load"; then
10187 >    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\"`'
10188 >
10189 >  else
10190 >    whole_archive_flag_spec=''
10191 >  fi
10192    link_all_deplibs=yes
10193 <  allow_undefined_flag="$_lt_dar_allow_undefined"
10193 >  allow_undefined_flag=$_lt_dar_allow_undefined
10194    case $cc_basename in
10195 <     ifort*) _lt_dar_can_shared=yes ;;
10195 >     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10196       *) _lt_dar_can_shared=$GCC ;;
10197    esac
10198 <  if test "$_lt_dar_can_shared" = "yes"; then
10199 <    output_verbose_link_cmd=echo
10200 <    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10201 <    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10202 <    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}"
10203 <    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}"
10198 >  if test yes = "$_lt_dar_can_shared"; then
10199 >    output_verbose_link_cmd=func_echo_all
10200 >    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10201 >    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10202 >    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"
10203 >    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"
10204  
10205    else
10206    ld_shlibs=no
# Line 9056 | Line 10214 | if test -z "$aix_libpath"; then aix_libp
10214        hardcode_shlibpath_var=no
10215        ;;
10216  
9059 –    freebsd1*)
9060 –      ld_shlibs=no
9061 –      ;;
9062 –
10217      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10218      # support.  Future versions do this automatically, but an explicit c++rt0.o
10219      # does not break anything, and helps significantly (at the cost of a little
# Line 9072 | Line 10226 | if test -z "$aix_libpath"; then aix_libp
10226        ;;
10227  
10228      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10229 <    freebsd2*)
10229 >    freebsd2.*)
10230        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10231        hardcode_direct=yes
10232        hardcode_minus_L=yes
# Line 9081 | Line 10235 | if test -z "$aix_libpath"; then aix_libp
10235  
10236      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10237      freebsd* | dragonfly*)
10238 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10238 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10239        hardcode_libdir_flag_spec='-R$libdir'
10240        hardcode_direct=yes
10241        hardcode_shlibpath_var=no
10242        ;;
10243  
10244      hpux9*)
10245 <      if test "$GCC" = yes; then
10246 <        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'
10245 >      if test yes = "$GCC"; then
10246 >        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'
10247        else
10248 <        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'
10248 >        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'
10249        fi
10250 <      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10250 >      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10251        hardcode_libdir_separator=:
10252        hardcode_direct=yes
10253  
10254        # hardcode_minus_L: Not really in the search PATH,
10255        # but as the default location of the library.
10256        hardcode_minus_L=yes
10257 <      export_dynamic_flag_spec='${wl}-E'
10257 >      export_dynamic_flag_spec='$wl-E'
10258        ;;
10259  
10260      hpux10*)
10261 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10262 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10261 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10262 >        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10263        else
10264          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10265        fi
10266 <      if test "$with_gnu_ld" = no; then
10267 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9114 <        hardcode_libdir_flag_spec_ld='+b $libdir'
10266 >      if test no = "$with_gnu_ld"; then
10267 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10268          hardcode_libdir_separator=:
10269          hardcode_direct=yes
10270          hardcode_direct_absolute=yes
10271 <        export_dynamic_flag_spec='${wl}-E'
10271 >        export_dynamic_flag_spec='$wl-E'
10272          # hardcode_minus_L: Not really in the search PATH,
10273          # but as the default location of the library.
10274          hardcode_minus_L=yes
# Line 9123 | Line 10276 | if test -z "$aix_libpath"; then aix_libp
10276        ;;
10277  
10278      hpux11*)
10279 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10279 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10280          case $host_cpu in
10281          hppa*64*)
10282 <          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10282 >          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10283            ;;
10284          ia64*)
10285 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10285 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10286            ;;
10287          *)
10288 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10288 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10289            ;;
10290          esac
10291        else
10292          case $host_cpu in
10293          hppa*64*)
10294 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10294 >          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10295            ;;
10296          ia64*)
10297 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10297 >          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10298            ;;
10299          *)
10300 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10300 >
10301 >          # Older versions of the 11.00 compiler do not understand -b yet
10302 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10303 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10304 > $as_echo_n "checking if $CC understands -b... " >&6; }
10305 > if ${lt_cv_prog_compiler__b+:} false; then :
10306 >  $as_echo_n "(cached) " >&6
10307 > else
10308 >  lt_cv_prog_compiler__b=no
10309 >   save_LDFLAGS=$LDFLAGS
10310 >   LDFLAGS="$LDFLAGS -b"
10311 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10312 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10313 >     # The linker can only warn and ignore the option if not recognized
10314 >     # So say no if there are warnings
10315 >     if test -s conftest.err; then
10316 >       # Append any errors to the config.log.
10317 >       cat conftest.err 1>&5
10318 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10319 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10320 >       if diff conftest.exp conftest.er2 >/dev/null; then
10321 >         lt_cv_prog_compiler__b=yes
10322 >       fi
10323 >     else
10324 >       lt_cv_prog_compiler__b=yes
10325 >     fi
10326 >   fi
10327 >   $RM -r conftest*
10328 >   LDFLAGS=$save_LDFLAGS
10329 >
10330 > fi
10331 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10332 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10333 >
10334 > if test yes = "$lt_cv_prog_compiler__b"; then
10335 >    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10336 > else
10337 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10338 > fi
10339 >
10340            ;;
10341          esac
10342        fi
10343 <      if test "$with_gnu_ld" = no; then
10344 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10343 >      if test no = "$with_gnu_ld"; then
10344 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10345          hardcode_libdir_separator=:
10346  
10347          case $host_cpu in
# Line 9160 | Line 10352 | if test -z "$aix_libpath"; then aix_libp
10352          *)
10353            hardcode_direct=yes
10354            hardcode_direct_absolute=yes
10355 <          export_dynamic_flag_spec='${wl}-E'
10355 >          export_dynamic_flag_spec='$wl-E'
10356  
10357            # hardcode_minus_L: Not really in the search PATH,
10358            # but as the default location of the library.
# Line 9171 | Line 10363 | if test -z "$aix_libpath"; then aix_libp
10363        ;;
10364  
10365      irix5* | irix6* | nonstopux*)
10366 <      if test "$GCC" = yes; then
10367 <        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'
10366 >      if test yes = "$GCC"; then
10367 >        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'
10368          # Try to use the -exported_symbol ld option, if it does not
10369          # work, assume that -exports_file does not work either and
10370          # implicitly export all symbols.
10371 <        save_LDFLAGS="$LDFLAGS"
10372 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10373 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 >        # This should be the same for all languages, so no per-tag cache variable.
10372 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10373 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10374 > if ${lt_cv_irix_exported_symbol+:} false; then :
10375 >  $as_echo_n "(cached) " >&6
10376 > else
10377 >  save_LDFLAGS=$LDFLAGS
10378 >           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10379 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380   /* end confdefs.h.  */
10381 < int foo(void) {}
10381 > int foo (void) { return 0; }
10382   _ACEOF
10383   if ac_fn_c_try_link "$LINENO"; then :
10384 <  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'
10385 <
10384 >  lt_cv_irix_exported_symbol=yes
10385 > else
10386 >  lt_cv_irix_exported_symbol=no
10387   fi
10388   rm -f core conftest.err conftest.$ac_objext \
10389      conftest$ac_exeext conftest.$ac_ext
10390 <        LDFLAGS="$save_LDFLAGS"
10390 >           LDFLAGS=$save_LDFLAGS
10391 > fi
10392 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10393 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10394 >        if test yes = "$lt_cv_irix_exported_symbol"; then
10395 >          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'
10396 >        fi
10397        else
10398 <        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'
10399 <        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'
10398 >        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'
10399 >        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'
10400        fi
10401        archive_cmds_need_lc='no'
10402 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10402 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10403        hardcode_libdir_separator=:
10404        inherit_rpath=yes
10405        link_all_deplibs=yes
10406        ;;
10407  
10408 +    linux*)
10409 +      case $cc_basename in
10410 +      tcc*)
10411 +        # Fabrice Bellard et al's Tiny C Compiler
10412 +        ld_shlibs=yes
10413 +        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10414 +        ;;
10415 +      esac
10416 +      ;;
10417 +
10418      netbsd*)
10419        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10420          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
# Line 9214 | Line 10429 | rm -f core conftest.err conftest.$ac_obj
10429      newsos6)
10430        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10431        hardcode_direct=yes
10432 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10432 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10433        hardcode_libdir_separator=:
10434        hardcode_shlibpath_var=no
10435        ;;
# Line 9222 | Line 10437 | rm -f core conftest.err conftest.$ac_obj
10437      *nto* | *qnx*)
10438        ;;
10439  
10440 <    openbsd*)
10440 >    openbsd* | bitrig*)
10441        if test -f /usr/libexec/ld.so; then
10442          hardcode_direct=yes
10443          hardcode_shlibpath_var=no
10444          hardcode_direct_absolute=yes
10445 <        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10445 >        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10446            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10447 <          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10448 <          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10449 <          export_dynamic_flag_spec='${wl}-E'
10447 >          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10448 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10449 >          export_dynamic_flag_spec='$wl-E'
10450          else
10451 <          case $host_os in
10452 <           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9238 <             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9239 <             hardcode_libdir_flag_spec='-R$libdir'
9240 <             ;;
9241 <           *)
9242 <             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9243 <             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9244 <             ;;
9245 <          esac
10451 >          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10452 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10453          fi
10454        else
10455          ld_shlibs=no
# Line 9253 | Line 10460 | rm -f core conftest.err conftest.$ac_obj
10460        hardcode_libdir_flag_spec='-L$libdir'
10461        hardcode_minus_L=yes
10462        allow_undefined_flag=unsupported
10463 <      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'
10464 <      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10463 >      shrext_cmds=.dll
10464 >      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10465 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10466 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10467 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10468 >        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10469 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10470 >        emximp -o $lib $output_objdir/$libname.def'
10471 >      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10472 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10473 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10474 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10475 >        prefix_cmds="$SED"~
10476 >        if test EXPORTS = "`$SED 1q $export_symbols`"; then
10477 >          prefix_cmds="$prefix_cmds -e 1d";
10478 >        fi~
10479 >        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10480 >        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10481 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10482 >        emximp -o $lib $output_objdir/$libname.def'
10483 >      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10484 >      enable_shared_with_static_runtimes=yes
10485        ;;
10486  
10487      osf3*)
10488 <      if test "$GCC" = yes; then
10489 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10490 <        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'
10488 >      if test yes = "$GCC"; then
10489 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10490 >        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'
10491        else
10492          allow_undefined_flag=' -expect_unresolved \*'
10493 <        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'
10493 >        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'
10494        fi
10495        archive_cmds_need_lc='no'
10496 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10496 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10497        hardcode_libdir_separator=:
10498        ;;
10499  
10500      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10501 <      if test "$GCC" = yes; then
10502 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10503 <        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'
10504 <        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10501 >      if test yes = "$GCC"; then
10502 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10503 >        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'
10504 >        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10505        else
10506          allow_undefined_flag=' -expect_unresolved \*'
10507 <        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'
10507 >        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'
10508          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~
10509 <        $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'
10509 >          $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'
10510  
10511          # Both c and cxx compiler support -rpath directly
10512          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9290 | Line 10517 | rm -f core conftest.err conftest.$ac_obj
10517  
10518      solaris*)
10519        no_undefined_flag=' -z defs'
10520 <      if test "$GCC" = yes; then
10521 <        wlarc='${wl}'
10522 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10520 >      if test yes = "$GCC"; then
10521 >        wlarc='$wl'
10522 >        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10523          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10524 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10524 >          $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'
10525        else
10526          case `$CC -V 2>&1` in
10527          *"Compilers 5.0"*)
10528            wlarc=''
10529 <          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10529 >          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10530            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10531 <          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10531 >            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10532            ;;
10533          *)
10534 <          wlarc='${wl}'
10535 <          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10534 >          wlarc='$wl'
10535 >          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10536            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10537 <          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10537 >            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10538            ;;
10539          esac
10540        fi
# Line 9317 | Line 10544 | rm -f core conftest.err conftest.$ac_obj
10544        solaris2.[0-5] | solaris2.[0-5].*) ;;
10545        *)
10546          # The compiler driver will combine and reorder linker options,
10547 <        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10547 >        # but understands '-z linker_flag'.  GCC discards it without '$wl',
10548          # but is careful enough not to reorder.
10549          # Supported since Solaris 2.6 (maybe 2.5.1?)
10550 <        if test "$GCC" = yes; then
10551 <          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10550 >        if test yes = "$GCC"; then
10551 >          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10552          else
10553            whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10554          fi
# Line 9331 | Line 10558 | rm -f core conftest.err conftest.$ac_obj
10558        ;;
10559  
10560      sunos4*)
10561 <      if test "x$host_vendor" = xsequent; then
10561 >      if test sequent = "$host_vendor"; then
10562          # Use $CC to link under sequent, because it throws in some extra .o
10563          # files that make .init and .fini sections work.
10564 <        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10564 >        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10565        else
10566          archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10567        fi
# Line 9383 | Line 10610 | rm -f core conftest.err conftest.$ac_obj
10610        ;;
10611  
10612      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10613 <      no_undefined_flag='${wl}-z,text'
10613 >      no_undefined_flag='$wl-z,text'
10614        archive_cmds_need_lc=no
10615        hardcode_shlibpath_var=no
10616        runpath_var='LD_RUN_PATH'
10617  
10618 <      if test "$GCC" = yes; then
10619 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10620 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10618 >      if test yes = "$GCC"; then
10619 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10620 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10621        else
10622 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10622 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10624        fi
10625        ;;
10626  
10627      sysv5* | sco3.2v5* | sco5v6*)
10628 <      # Note: We can NOT use -z defs as we might desire, because we do not
10628 >      # Note: We CANNOT use -z defs as we might desire, because we do not
10629        # link with -lc, and that would cause any symbols used from libc to
10630        # always be unresolved, which means just about no library would
10631        # ever link correctly.  If we're not using GNU ld we use -z text
10632        # though, which does catch some bad symbols but isn't as heavy-handed
10633        # as -z defs.
10634 <      no_undefined_flag='${wl}-z,text'
10635 <      allow_undefined_flag='${wl}-z,nodefs'
10634 >      no_undefined_flag='$wl-z,text'
10635 >      allow_undefined_flag='$wl-z,nodefs'
10636        archive_cmds_need_lc=no
10637        hardcode_shlibpath_var=no
10638 <      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10638 >      hardcode_libdir_flag_spec='$wl-R,$libdir'
10639        hardcode_libdir_separator=':'
10640        link_all_deplibs=yes
10641 <      export_dynamic_flag_spec='${wl}-Bexport'
10641 >      export_dynamic_flag_spec='$wl-Bexport'
10642        runpath_var='LD_RUN_PATH'
10643  
10644 <      if test "$GCC" = yes; then
10645 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10644 >      if test yes = "$GCC"; then
10645 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10647        else
10648 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10649 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10648 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10649 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10650        fi
10651        ;;
10652  
# Line 9434 | Line 10661 | rm -f core conftest.err conftest.$ac_obj
10661        ;;
10662      esac
10663  
10664 <    if test x$host_vendor = xsni; then
10664 >    if test sni = "$host_vendor"; then
10665        case $host in
10666        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10667 <        export_dynamic_flag_spec='${wl}-Blargedynsym'
10667 >        export_dynamic_flag_spec='$wl-Blargedynsym'
10668          ;;
10669        esac
10670      fi
# Line 9445 | Line 10672 | rm -f core conftest.err conftest.$ac_obj
10672  
10673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10674   $as_echo "$ld_shlibs" >&6; }
10675 < test "$ld_shlibs" = no && can_build_shared=no
10675 > test no = "$ld_shlibs" && can_build_shared=no
10676  
10677   with_gnu_ld=$with_gnu_ld
10678  
# Line 9471 | Line 10698 | x|xyes)
10698    # Assume -lc should be added
10699    archive_cmds_need_lc=yes
10700  
10701 <  if test "$enable_shared" = yes && test "$GCC" = yes; then
10701 >  if test yes,yes = "$GCC,$enable_shared"; then
10702      case $archive_cmds in
10703      *'~'*)
10704        # FIXME: we may have to deal with multi-command sequences.
# Line 9482 | Line 10709 | x|xyes)
10709        # to ld, don't add -lc before -lgcc.
10710        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10711   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10712 <      $RM conftest*
10713 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10712 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10713 >  $as_echo_n "(cached) " >&6
10714 > else
10715 >  $RM conftest*
10716 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10717  
10718 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10718 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10719    (eval $ac_compile) 2>&5
10720    ac_status=$?
10721    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10722    test $ac_status = 0; } 2>conftest.err; then
10723 <        soname=conftest
10724 <        lib=conftest
10725 <        libobjs=conftest.$ac_objext
10726 <        deplibs=
10727 <        wl=$lt_prog_compiler_wl
10728 <        pic_flag=$lt_prog_compiler_pic
10729 <        compiler_flags=-v
10730 <        linker_flags=-v
10731 <        verstring=
10732 <        output_objdir=.
10733 <        libname=conftest
10734 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10735 <        allow_undefined_flag=
10736 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10723 >          soname=conftest
10724 >          lib=conftest
10725 >          libobjs=conftest.$ac_objext
10726 >          deplibs=
10727 >          wl=$lt_prog_compiler_wl
10728 >          pic_flag=$lt_prog_compiler_pic
10729 >          compiler_flags=-v
10730 >          linker_flags=-v
10731 >          verstring=
10732 >          output_objdir=.
10733 >          libname=conftest
10734 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10735 >          allow_undefined_flag=
10736 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10737    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10738    ac_status=$?
10739    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10740    test $ac_status = 0; }
10741 <        then
10742 <          archive_cmds_need_lc=no
10743 <        else
10744 <          archive_cmds_need_lc=yes
10745 <        fi
10746 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10747 <      else
10748 <        cat conftest.err 1>&5
10749 <      fi
10750 <      $RM conftest*
10751 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10752 < $as_echo "$archive_cmds_need_lc" >&6; }
10741 >          then
10742 >            lt_cv_archive_cmds_need_lc=no
10743 >          else
10744 >            lt_cv_archive_cmds_need_lc=yes
10745 >          fi
10746 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10747 >        else
10748 >          cat conftest.err 1>&5
10749 >        fi
10750 >        $RM conftest*
10751 >
10752 > fi
10753 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10754 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10755 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10756        ;;
10757      esac
10758    fi
# Line 9677 | Line 10910 | esac
10910  
10911  
10912  
9680 –
9681 –
9682 –
9683 –
9684 –
10913    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10914   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10915  
10916 < if test "$GCC" = yes; then
10916 > if test yes = "$GCC"; then
10917 >  case $host_os in
10918 >    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10919 >    *) lt_awk_arg='/^libraries:/' ;;
10920 >  esac
10921    case $host_os in
10922 <    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10923 <    *) lt_awk_arg="/^libraries:/" ;;
10922 >    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10923 >    *) lt_sed_strip_eq='s|=/|/|g' ;;
10924    esac
10925 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10926 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10925 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10926 >  case $lt_search_path_spec in
10927 >  *\;*)
10928      # if the path contains ";" then we assume it to be the separator
10929      # otherwise default to the standard path separator (i.e. ":") - it is
10930      # assumed that no part of a normal pathname contains ";" but that should
10931      # okay in the real world where ";" in dirpaths is itself problematic.
10932 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10933 <  else
10934 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10935 <  fi
10932 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10933 >    ;;
10934 >  *)
10935 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10936 >    ;;
10937 >  esac
10938    # Ok, now we have the path, separated by spaces, we can step through it
10939 <  # and add multilib dir if necessary.
10939 >  # and add multilib dir if necessary...
10940    lt_tmp_lt_search_path_spec=
10941 <  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10941 >  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10942 >  # ...but if some path component already ends with the multilib dir we assume
10943 >  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10944 >  case "$lt_multi_os_dir; $lt_search_path_spec " in
10945 >  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10946 >    lt_multi_os_dir=
10947 >    ;;
10948 >  esac
10949    for lt_sys_path in $lt_search_path_spec; do
10950 <    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10951 <      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10952 <    else
10950 >    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10951 >      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10952 >    elif test -n "$lt_multi_os_dir"; then
10953        test -d "$lt_sys_path" && \
10954          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10955      fi
10956    done
10957 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10958 < BEGIN {RS=" "; FS="/|\n";} {
10959 <  lt_foo="";
10960 <  lt_count=0;
10957 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10958 > BEGIN {RS = " "; FS = "/|\n";} {
10959 >  lt_foo = "";
10960 >  lt_count = 0;
10961    for (lt_i = NF; lt_i > 0; lt_i--) {
10962      if ($lt_i != "" && $lt_i != ".") {
10963        if ($lt_i == "..") {
10964          lt_count++;
10965        } else {
10966          if (lt_count == 0) {
10967 <          lt_foo="/" $lt_i lt_foo;
10967 >          lt_foo = "/" $lt_i lt_foo;
10968          } else {
10969            lt_count--;
10970          }
# Line 9732 | Line 10974 | BEGIN {RS=" "; FS="/|\n";} {
10974    if (lt_foo != "") { lt_freq[lt_foo]++; }
10975    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10976   }'`
10977 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10977 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10978 >  # for these hosts.
10979 >  case $host_os in
10980 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10981 >      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10982 >  esac
10983 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10984   else
10985    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10986   fi
10987   library_names_spec=
10988   libname_spec='lib$name'
10989   soname_spec=
10990 < shrext_cmds=".so"
10990 > shrext_cmds=.so
10991   postinstall_cmds=
10992   postuninstall_cmds=
10993   finish_cmds=
# Line 9756 | Line 11004 | hardcode_into_libs=no
11004   # flags to be left without arguments
11005   need_version=unknown
11006  
11007 +
11008 +
11009   case $host_os in
11010   aix3*)
11011 <  version_type=linux
11012 <  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11011 >  version_type=linux # correct to gnu/linux during the next big refactor
11012 >  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11013    shlibpath_var=LIBPATH
11014  
11015    # AIX 3 has no versioning support, so we append a major version to the name.
11016 <  soname_spec='${libname}${release}${shared_ext}$major'
11016 >  soname_spec='$libname$release$shared_ext$major'
11017    ;;
11018  
11019   aix[4-9]*)
11020 <  version_type=linux
11020 >  version_type=linux # correct to gnu/linux during the next big refactor
11021    need_lib_prefix=no
11022    need_version=no
11023    hardcode_into_libs=yes
11024 <  if test "$host_cpu" = ia64; then
11024 >  if test ia64 = "$host_cpu"; then
11025      # AIX 5 supports IA64
11026 <    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11026 >    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11027      shlibpath_var=LD_LIBRARY_PATH
11028    else
11029      # With GCC up to 2.95.x, collect2 would create an import file
11030      # for dependence libraries.  The import file would start with
11031 <    # the line `#! .'.  This would cause the generated library to
11032 <    # depend on `.', always an invalid library.  This was fixed in
11031 >    # the line '#! .'.  This would cause the generated library to
11032 >    # depend on '.', always an invalid library.  This was fixed in
11033      # development snapshots of GCC prior to 3.0.
11034      case $host_os in
11035        aix4 | aix4.[01] | aix4.[01].*)
11036        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11037             echo ' yes '
11038 <           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11038 >           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11039          :
11040        else
11041          can_build_shared=no
11042        fi
11043        ;;
11044      esac
11045 <    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11045 >    # Using Import Files as archive members, it is possible to support
11046 >    # filename-based versioning of shared library archives on AIX. While
11047 >    # this would work for both with and without runtime linking, it will
11048 >    # prevent static linking of such archives. So we do filename-based
11049 >    # shared library versioning with .so extension only, which is used
11050 >    # when both runtime linking and shared linking is enabled.
11051 >    # Unfortunately, runtime linking may impact performance, so we do
11052 >    # not want this to be the default eventually. Also, we use the
11053 >    # versioned .so libs for executables only if there is the -brtl
11054 >    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11055 >    # To allow for filename-based versioning support, we need to create
11056 >    # libNAME.so.V as an archive file, containing:
11057 >    # *) an Import File, referring to the versioned filename of the
11058 >    #    archive as well as the shared archive member, telling the
11059 >    #    bitwidth (32 or 64) of that shared object, and providing the
11060 >    #    list of exported symbols of that shared object, eventually
11061 >    #    decorated with the 'weak' keyword
11062 >    # *) the shared object with the F_LOADONLY flag set, to really avoid
11063 >    #    it being seen by the linker.
11064 >    # At run time we better use the real file rather than another symlink,
11065 >    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11066 >
11067 >    case $with_aix_soname,$aix_use_runtimelinking in
11068 >    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11069      # soname into executable. Probably we can add versioning support to
11070      # collect2, so additional links can be useful in future.
11071 <    if test "$aix_use_runtimelinking" = yes; then
11071 >    aix,yes) # traditional libtool
11072 >      dynamic_linker='AIX unversionable lib.so'
11073        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11074        # instead of lib<name>.a to let people know that these are not
11075        # typical AIX shared libraries.
11076 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 <    else
11076 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11077 >      ;;
11078 >    aix,no) # traditional AIX only
11079 >      dynamic_linker='AIX lib.a(lib.so.V)'
11080        # We preserve .a as extension for shared libraries through AIX4.2
11081        # and later when we are not doing run time linking.
11082 <      library_names_spec='${libname}${release}.a $libname.a'
11083 <      soname_spec='${libname}${release}${shared_ext}$major'
11084 <    fi
11082 >      library_names_spec='$libname$release.a $libname.a'
11083 >      soname_spec='$libname$release$shared_ext$major'
11084 >      ;;
11085 >    svr4,*) # full svr4 only
11086 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11087 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11088 >      # We do not specify a path in Import Files, so LIBPATH fires.
11089 >      shlibpath_overrides_runpath=yes
11090 >      ;;
11091 >    *,yes) # both, prefer svr4
11092 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11093 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11094 >      # unpreferred sharedlib libNAME.a needs extra handling
11095 >      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11096 >      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11097 >      # We do not specify a path in Import Files, so LIBPATH fires.
11098 >      shlibpath_overrides_runpath=yes
11099 >      ;;
11100 >    *,no) # both, prefer aix
11101 >      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11102 >      library_names_spec='$libname$release.a $libname.a'
11103 >      soname_spec='$libname$release$shared_ext$major'
11104 >      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11105 >      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11106 >      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11107 >      ;;
11108 >    esac
11109      shlibpath_var=LIBPATH
11110    fi
11111    ;;
# Line 9815 | Line 11115 | amigaos*)
11115    powerpc)
11116      # Since July 2007 AmigaOS4 officially supports .so libraries.
11117      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11118 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11118 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11119      ;;
11120    m68k)
11121      library_names_spec='$libname.ixlibrary $libname.a'
11122      # Create ${libname}_ixlibrary.a entries in /sys/libs.
11123 <    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'
11123 >    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'
11124      ;;
11125    esac
11126    ;;
11127  
11128   beos*)
11129 <  library_names_spec='${libname}${shared_ext}'
11129 >  library_names_spec='$libname$shared_ext'
11130    dynamic_linker="$host_os ld.so"
11131    shlibpath_var=LIBRARY_PATH
11132    ;;
11133  
11134   bsdi[45]*)
11135 <  version_type=linux
11135 >  version_type=linux # correct to gnu/linux during the next big refactor
11136    need_version=no
11137 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11138 <  soname_spec='${libname}${release}${shared_ext}$major'
11137 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11138 >  soname_spec='$libname$release$shared_ext$major'
11139    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11140    shlibpath_var=LD_LIBRARY_PATH
11141    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
# Line 9847 | Line 11147 | bsdi[45]*)
11147  
11148   cygwin* | mingw* | pw32* | cegcc*)
11149    version_type=windows
11150 <  shrext_cmds=".dll"
11150 >  shrext_cmds=.dll
11151    need_version=no
11152    need_lib_prefix=no
11153  
11154 <  case $GCC,$host_os in
11155 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11154 >  case $GCC,$cc_basename in
11155 >  yes,*)
11156 >    # gcc
11157      library_names_spec='$libname.dll.a'
11158      # DLL is installed to $(libdir)/../bin by postinstall_cmds
11159 <    postinstall_cmds='base_file=`basename \${file}`~
11160 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11159 >    postinstall_cmds='base_file=`basename \$file`~
11160 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11161        dldir=$destdir/`dirname \$dlpath`~
11162        test -d \$dldir || mkdir -p \$dldir~
11163        $install_prog $dir/$dlname \$dldir/$dlname~
# Line 9872 | Line 11173 | cygwin* | mingw* | pw32* | cegcc*)
11173      case $host_os in
11174      cygwin*)
11175        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11176 <      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11177 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11176 >      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11177 >
11178 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11179        ;;
11180      mingw* | cegcc*)
11181        # MinGW DLLs use traditional 'lib' prefix
11182 <      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11183 <      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11182 >      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11183 >      ;;
11184 >    pw32*)
11185 >      # pw32 DLLs use 'pw' prefix rather than 'lib'
11186 >      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11187 >      ;;
11188 >    esac
11189 >    dynamic_linker='Win32 ld.exe'
11190 >    ;;
11191 >
11192 >  *,cl*)
11193 >    # Native MSVC
11194 >    libname_spec='$name'
11195 >    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11196 >    library_names_spec='$libname.dll.lib'
11197 >
11198 >    case $build_os in
11199 >    mingw*)
11200 >      sys_lib_search_path_spec=
11201 >      lt_save_ifs=$IFS
11202 >      IFS=';'
11203 >      for lt_path in $LIB
11204 >      do
11205 >        IFS=$lt_save_ifs
11206 >        # Let DOS variable expansion print the short 8.3 style file name.
11207 >        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11208 >        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11209 >      done
11210 >      IFS=$lt_save_ifs
11211 >      # Convert to MSYS style.
11212 >      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11213 >      ;;
11214 >    cygwin*)
11215 >      # Convert to unix form, then to dos form, then back to unix form
11216 >      # but this time dos style (no spaces!) so that the unix form looks
11217 >      # like /cygdrive/c/PROGRA~1:/cygdr...
11218 >      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11219 >      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11220 >      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11221 >      ;;
11222 >    *)
11223 >      sys_lib_search_path_spec=$LIB
11224        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11225 <        # It is most probably a Windows format PATH printed by
9884 <        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9885 <        # path with ; separators, and with drive letters. We can handle the
9886 <        # drive letters (cygwin fileutils understands them), so leave them,
9887 <        # especially as we might pass files found there to a mingw objdump,
9888 <        # which wouldn't understand a cygwinified path. Ahh.
11225 >        # It is most probably a Windows format PATH.
11226          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11227        else
11228 <        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11228 >        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11229        fi
11230 <      ;;
11231 <    pw32*)
9895 <      # pw32 DLLs use 'pw' prefix rather than 'lib'
9896 <      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11230 >      # FIXME: find the short name or the path components, as spaces are
11231 >      # common. (e.g. "Program Files" -> "PROGRA~1")
11232        ;;
11233      esac
11234 +
11235 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11236 +    postinstall_cmds='base_file=`basename \$file`~
11237 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11238 +      dldir=$destdir/`dirname \$dlpath`~
11239 +      test -d \$dldir || mkdir -p \$dldir~
11240 +      $install_prog $dir/$dlname \$dldir/$dlname'
11241 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11242 +      dlpath=$dir/\$dldll~
11243 +       $RM \$dlpath'
11244 +    shlibpath_overrides_runpath=yes
11245 +    dynamic_linker='Win32 link.exe'
11246      ;;
11247  
11248    *)
11249 <    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11249 >    # Assume MSVC wrapper
11250 >    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11251 >    dynamic_linker='Win32 ld.exe'
11252      ;;
11253    esac
9905 –  dynamic_linker='Win32 ld.exe'
11254    # FIXME: first we should search . and the directory the executable is in
11255    shlibpath_var=PATH
11256    ;;
# Line 9912 | Line 11260 | darwin* | rhapsody*)
11260    version_type=darwin
11261    need_lib_prefix=no
11262    need_version=no
11263 <  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11264 <  soname_spec='${libname}${release}${major}$shared_ext'
11263 >  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11264 >  soname_spec='$libname$release$major$shared_ext'
11265    shlibpath_overrides_runpath=yes
11266    shlibpath_var=DYLD_LIBRARY_PATH
11267    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
# Line 9923 | Line 11271 | darwin* | rhapsody*)
11271    ;;
11272  
11273   dgux*)
11274 <  version_type=linux
11274 >  version_type=linux # correct to gnu/linux during the next big refactor
11275    need_lib_prefix=no
11276    need_version=no
11277 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11278 <  soname_spec='${libname}${release}${shared_ext}$major'
11277 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11278 >  soname_spec='$libname$release$shared_ext$major'
11279    shlibpath_var=LD_LIBRARY_PATH
11280    ;;
11281  
9934 – freebsd1*)
9935 –  dynamic_linker=no
9936 –  ;;
9937 –
11282   freebsd* | dragonfly*)
11283    # DragonFly does not have aout.  When/if they implement a new
11284    # versioning mechanism, adjust this.
# Line 9942 | Line 11286 | freebsd* | dragonfly*)
11286      objformat=`/usr/bin/objformat`
11287    else
11288      case $host_os in
11289 <    freebsd[123]*) objformat=aout ;;
11289 >    freebsd[23].*) objformat=aout ;;
11290      *) objformat=elf ;;
11291      esac
11292    fi
11293    version_type=freebsd-$objformat
11294    case $version_type in
11295      freebsd-elf*)
11296 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11296 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11297 >      soname_spec='$libname$release$shared_ext$major'
11298        need_version=no
11299        need_lib_prefix=no
11300        ;;
11301      freebsd-*)
11302 <      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11302 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11303        need_version=yes
11304        ;;
11305    esac
11306    shlibpath_var=LD_LIBRARY_PATH
11307    case $host_os in
11308 <  freebsd2*)
11308 >  freebsd2.*)
11309      shlibpath_overrides_runpath=yes
11310      ;;
11311    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9979 | Line 11324 | freebsd* | dragonfly*)
11324    esac
11325    ;;
11326  
11327 < gnu*)
11328 <  version_type=linux
11327 > haiku*)
11328 >  version_type=linux # correct to gnu/linux during the next big refactor
11329    need_lib_prefix=no
11330    need_version=no
11331 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11332 <  soname_spec='${libname}${release}${shared_ext}$major'
11333 <  shlibpath_var=LD_LIBRARY_PATH
11331 >  dynamic_linker="$host_os runtime_loader"
11332 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11333 >  soname_spec='$libname$release$shared_ext$major'
11334 >  shlibpath_var=LIBRARY_PATH
11335 >  shlibpath_overrides_runpath=no
11336 >  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11337    hardcode_into_libs=yes
11338    ;;
11339  
# Line 10002 | Line 11350 | hpux9* | hpux10* | hpux11*)
11350      dynamic_linker="$host_os dld.so"
11351      shlibpath_var=LD_LIBRARY_PATH
11352      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11353 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 <    soname_spec='${libname}${release}${shared_ext}$major'
11355 <    if test "X$HPUX_IA64_MODE" = X32; then
11353 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11354 >    soname_spec='$libname$release$shared_ext$major'
11355 >    if test 32 = "$HPUX_IA64_MODE"; then
11356        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11357 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11358      else
11359        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11360 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11361      fi
10012 –    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11362      ;;
11363    hppa*64*)
11364      shrext_cmds='.sl'
# Line 10017 | Line 11366 | hpux9* | hpux10* | hpux11*)
11366      dynamic_linker="$host_os dld.sl"
11367      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11368      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11369 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 <    soname_spec='${libname}${release}${shared_ext}$major'
11369 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11370 >    soname_spec='$libname$release$shared_ext$major'
11371      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11372      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11373      ;;
# Line 10027 | Line 11376 | hpux9* | hpux10* | hpux11*)
11376      dynamic_linker="$host_os dld.sl"
11377      shlibpath_var=SHLIB_PATH
11378      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11379 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 <    soname_spec='${libname}${release}${shared_ext}$major'
11379 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11380 >    soname_spec='$libname$release$shared_ext$major'
11381      ;;
11382    esac
11383 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11383 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11384    postinstall_cmds='chmod 555 $lib'
11385 +  # or fails outright, so override atomically:
11386 +  install_override_mode=555
11387    ;;
11388  
11389   interix[3-9]*)
11390 <  version_type=linux
11390 >  version_type=linux # correct to gnu/linux during the next big refactor
11391    need_lib_prefix=no
11392    need_version=no
11393 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11394 <  soname_spec='${libname}${release}${shared_ext}$major'
11393 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11394 >  soname_spec='$libname$release$shared_ext$major'
11395    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11396    shlibpath_var=LD_LIBRARY_PATH
11397    shlibpath_overrides_runpath=no
# Line 10051 | Line 11402 | irix5* | irix6* | nonstopux*)
11402    case $host_os in
11403      nonstopux*) version_type=nonstopux ;;
11404      *)
11405 <        if test "$lt_cv_prog_gnu_ld" = yes; then
11406 <                version_type=linux
11405 >        if test yes = "$lt_cv_prog_gnu_ld"; then
11406 >                version_type=linux # correct to gnu/linux during the next big refactor
11407          else
11408                  version_type=irix
11409          fi ;;
11410    esac
11411    need_lib_prefix=no
11412    need_version=no
11413 <  soname_spec='${libname}${release}${shared_ext}$major'
11414 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11413 >  soname_spec='$libname$release$shared_ext$major'
11414 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11415    case $host_os in
11416    irix5* | nonstopux*)
11417      libsuff= shlibsuff=
# Line 10079 | Line 11430 | irix5* | irix6* | nonstopux*)
11430    esac
11431    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11432    shlibpath_overrides_runpath=no
11433 <  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11434 <  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11433 >  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11434 >  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11435    hardcode_into_libs=yes
11436    ;;
11437  
# Line 10089 | Line 11440 | linux*oldld* | linux*aout* | linux*coff*
11440    dynamic_linker=no
11441    ;;
11442  
11443 < # This must be Linux ELF.
11444 < linux* | k*bsd*-gnu)
11445 <  version_type=linux
11443 > linux*android*)
11444 >  version_type=none # Android doesn't support versioned libraries.
11445 >  need_lib_prefix=no
11446 >  need_version=no
11447 >  library_names_spec='$libname$release$shared_ext'
11448 >  soname_spec='$libname$release$shared_ext'
11449 >  finish_cmds=
11450 >  shlibpath_var=LD_LIBRARY_PATH
11451 >  shlibpath_overrides_runpath=yes
11452 >
11453 >  # This implies no fast_install, which is unacceptable.
11454 >  # Some rework will be needed to allow for fast_install
11455 >  # before this can be enabled.
11456 >  hardcode_into_libs=yes
11457 >
11458 >  dynamic_linker='Android linker'
11459 >  # Don't embed -rpath directories since the linker doesn't support them.
11460 >  hardcode_libdir_flag_spec='-L$libdir'
11461 >  ;;
11462 >
11463 > # This must be glibc/ELF.
11464 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11465 >  version_type=linux # correct to gnu/linux during the next big refactor
11466    need_lib_prefix=no
11467    need_version=no
11468 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11469 <  soname_spec='${libname}${release}${shared_ext}$major'
11468 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11469 >  soname_spec='$libname$release$shared_ext$major'
11470    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11471    shlibpath_var=LD_LIBRARY_PATH
11472    shlibpath_overrides_runpath=no
11473 +
11474    # Some binutils ld are patched to set DT_RUNPATH
11475 <  save_LDFLAGS=$LDFLAGS
11476 <  save_libdir=$libdir
11477 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11478 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11479 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11476 >  $as_echo_n "(cached) " >&6
11477 > else
11478 >  lt_cv_shlibpath_overrides_runpath=no
11479 >    save_LDFLAGS=$LDFLAGS
11480 >    save_libdir=$libdir
11481 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11482 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11483 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484   /* end confdefs.h.  */
11485  
11486   int
# Line 10117 | Line 11493 | main ()
11493   _ACEOF
11494   if ac_fn_c_try_link "$LINENO"; then :
11495    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11496 <  shlibpath_overrides_runpath=yes
11496 >  lt_cv_shlibpath_overrides_runpath=yes
11497   fi
11498   fi
11499   rm -f core conftest.err conftest.$ac_objext \
11500      conftest$ac_exeext conftest.$ac_ext
11501 <  LDFLAGS=$save_LDFLAGS
11502 <  libdir=$save_libdir
11501 >    LDFLAGS=$save_LDFLAGS
11502 >    libdir=$save_libdir
11503 >
11504 > fi
11505 >
11506 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11507  
11508    # This implies no fast_install, which is unacceptable.
11509    # Some rework will be needed to allow for fast_install
11510    # before this can be enabled.
11511    hardcode_into_libs=yes
11512  
11513 <  # Append ld.so.conf contents to the search path
11513 >  # Ideally, we could use ldconfig to report *all* directores which are
11514 >  # searched for libraries, however this is still not possible.  Aside from not
11515 >  # being certain /sbin/ldconfig is available, command
11516 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11517 >  # even though it is searched at run-time.  Try to do the best guess by
11518 >  # appending ld.so.conf contents (and includes) to the search path.
11519    if test -f /etc/ld.so.conf; then
11520 <    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' ' '`
11520 >    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' ' '`
11521      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11522    fi
11523  
# Line 10150 | Line 11535 | netbsd*)
11535    need_lib_prefix=no
11536    need_version=no
11537    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11538 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11538 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11539      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11540      dynamic_linker='NetBSD (a.out) ld.so'
11541    else
11542 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11543 <    soname_spec='${libname}${release}${shared_ext}$major'
11542 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11543 >    soname_spec='$libname$release$shared_ext$major'
11544      dynamic_linker='NetBSD ld.elf_so'
11545    fi
11546    shlibpath_var=LD_LIBRARY_PATH
# Line 10164 | Line 11549 | netbsd*)
11549    ;;
11550  
11551   newsos6)
11552 <  version_type=linux
11553 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 >  version_type=linux # correct to gnu/linux during the next big refactor
11553 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11554    shlibpath_var=LD_LIBRARY_PATH
11555    shlibpath_overrides_runpath=yes
11556    ;;
# Line 10174 | Line 11559 | newsos6)
11559    version_type=qnx
11560    need_lib_prefix=no
11561    need_version=no
11562 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11563 <  soname_spec='${libname}${release}${shared_ext}$major'
11562 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11563 >  soname_spec='$libname$release$shared_ext$major'
11564    shlibpath_var=LD_LIBRARY_PATH
11565    shlibpath_overrides_runpath=no
11566    hardcode_into_libs=yes
11567    dynamic_linker='ldqnx.so'
11568    ;;
11569  
11570 < openbsd*)
11570 > openbsd* | bitrig*)
11571    version_type=sunos
11572 <  sys_lib_dlsearch_path_spec="/usr/lib"
11572 >  sys_lib_dlsearch_path_spec=/usr/lib
11573    need_lib_prefix=no
11574 <  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11575 <  case $host_os in
10191 <    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10192 <    *)                          need_version=no  ;;
10193 <  esac
10194 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10195 <  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10196 <  shlibpath_var=LD_LIBRARY_PATH
10197 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10198 <    case $host_os in
10199 <      openbsd2.[89] | openbsd2.[89].*)
10200 <        shlibpath_overrides_runpath=no
10201 <        ;;
10202 <      *)
10203 <        shlibpath_overrides_runpath=yes
10204 <        ;;
10205 <      esac
11574 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11575 >    need_version=no
11576    else
11577 <    shlibpath_overrides_runpath=yes
11577 >    need_version=yes
11578    fi
11579 +  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11580 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11581 +  shlibpath_var=LD_LIBRARY_PATH
11582 +  shlibpath_overrides_runpath=yes
11583    ;;
11584  
11585   os2*)
11586    libname_spec='$name'
11587 <  shrext_cmds=".dll"
11587 >  version_type=windows
11588 >  shrext_cmds=.dll
11589 >  need_version=no
11590    need_lib_prefix=no
11591 <  library_names_spec='$libname${shared_ext} $libname.a'
11591 >  # OS/2 can only load a DLL with a base name of 8 characters or less.
11592 >  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11593 >    v=$($ECHO $release$versuffix | tr -d .-);
11594 >    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11595 >    $ECHO $n$v`$shared_ext'
11596 >  library_names_spec='${libname}_dll.$libext'
11597    dynamic_linker='OS/2 ld.exe'
11598 <  shlibpath_var=LIBPATH
11598 >  shlibpath_var=BEGINLIBPATH
11599 >  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11600 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11601 >  postinstall_cmds='base_file=`basename \$file`~
11602 >    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11603 >    dldir=$destdir/`dirname \$dlpath`~
11604 >    test -d \$dldir || mkdir -p \$dldir~
11605 >    $install_prog $dir/$dlname \$dldir/$dlname~
11606 >    chmod a+x \$dldir/$dlname~
11607 >    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11608 >      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11609 >    fi'
11610 >  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11611 >    dlpath=$dir/\$dldll~
11612 >    $RM \$dlpath'
11613    ;;
11614  
11615   osf3* | osf4* | osf5*)
11616    version_type=osf
11617    need_lib_prefix=no
11618    need_version=no
11619 <  soname_spec='${libname}${release}${shared_ext}$major'
11620 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11619 >  soname_spec='$libname$release$shared_ext$major'
11620 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11621    shlibpath_var=LD_LIBRARY_PATH
11622    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11623 <  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11623 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11624    ;;
11625  
11626   rdos*)
# Line 10233 | Line 11628 | rdos*)
11628    ;;
11629  
11630   solaris*)
11631 <  version_type=linux
11631 >  version_type=linux # correct to gnu/linux during the next big refactor
11632    need_lib_prefix=no
11633    need_version=no
11634 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11635 <  soname_spec='${libname}${release}${shared_ext}$major'
11634 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11635 >  soname_spec='$libname$release$shared_ext$major'
11636    shlibpath_var=LD_LIBRARY_PATH
11637    shlibpath_overrides_runpath=yes
11638    hardcode_into_libs=yes
# Line 10247 | Line 11642 | solaris*)
11642  
11643   sunos4*)
11644    version_type=sunos
11645 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11645 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11646    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11647    shlibpath_var=LD_LIBRARY_PATH
11648    shlibpath_overrides_runpath=yes
11649 <  if test "$with_gnu_ld" = yes; then
11649 >  if test yes = "$with_gnu_ld"; then
11650      need_lib_prefix=no
11651    fi
11652    need_version=yes
11653    ;;
11654  
11655   sysv4 | sysv4.3*)
11656 <  version_type=linux
11657 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11658 <  soname_spec='${libname}${release}${shared_ext}$major'
11656 >  version_type=linux # correct to gnu/linux during the next big refactor
11657 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11658 >  soname_spec='$libname$release$shared_ext$major'
11659    shlibpath_var=LD_LIBRARY_PATH
11660    case $host_vendor in
11661      sni)
# Line 10281 | Line 11676 | sysv4 | sysv4.3*)
11676    ;;
11677  
11678   sysv4*MP*)
11679 <  if test -d /usr/nec ;then
11680 <    version_type=linux
11681 <    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11682 <    soname_spec='$libname${shared_ext}.$major'
11679 >  if test -d /usr/nec; then
11680 >    version_type=linux # correct to gnu/linux during the next big refactor
11681 >    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11682 >    soname_spec='$libname$shared_ext.$major'
11683      shlibpath_var=LD_LIBRARY_PATH
11684    fi
11685    ;;
11686  
11687   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11688 <  version_type=freebsd-elf
11688 >  version_type=sco
11689    need_lib_prefix=no
11690    need_version=no
11691 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11692 <  soname_spec='${libname}${release}${shared_ext}$major'
11691 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11692 >  soname_spec='$libname$release$shared_ext$major'
11693    shlibpath_var=LD_LIBRARY_PATH
11694    shlibpath_overrides_runpath=yes
11695    hardcode_into_libs=yes
11696 <  if test "$with_gnu_ld" = yes; then
11696 >  if test yes = "$with_gnu_ld"; then
11697      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11698    else
11699      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
# Line 10313 | Line 11708 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11708  
11709   tpf*)
11710    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11711 <  version_type=linux
11711 >  version_type=linux # correct to gnu/linux during the next big refactor
11712    need_lib_prefix=no
11713    need_version=no
11714 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11714 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11715    shlibpath_var=LD_LIBRARY_PATH
11716    shlibpath_overrides_runpath=no
11717    hardcode_into_libs=yes
11718    ;;
11719  
11720   uts4*)
11721 <  version_type=linux
11722 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11723 <  soname_spec='${libname}${release}${shared_ext}$major'
11721 >  version_type=linux # correct to gnu/linux during the next big refactor
11722 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11723 >  soname_spec='$libname$release$shared_ext$major'
11724    shlibpath_var=LD_LIBRARY_PATH
11725    ;;
11726  
# Line 10335 | Line 11730 | uts4*)
11730   esac
11731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11732   $as_echo "$dynamic_linker" >&6; }
11733 < test "$dynamic_linker" = no && can_build_shared=no
11733 > test no = "$dynamic_linker" && can_build_shared=no
11734  
11735   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11736 < if test "$GCC" = yes; then
11736 > if test yes = "$GCC"; then
11737    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11738   fi
11739  
11740 < if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11741 <  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11740 > if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11741 >  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11742   fi
11743 < if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11744 <  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11743 >
11744 > if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11745 >  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11746   fi
11747  
11748 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11749 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11750 +
11751 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11752 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11753 +
11754 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11755 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11756 +
11757 +
11758 +
11759 +
11760 +
11761 +
11762 +
11763 +
11764 +
11765 +
11766 +
11767  
11768  
11769  
# Line 10440 | Line 11855 | $as_echo_n "checking how to hardcode lib
11855   hardcode_action=
11856   if test -n "$hardcode_libdir_flag_spec" ||
11857     test -n "$runpath_var" ||
11858 <   test "X$hardcode_automatic" = "Xyes" ; then
11858 >   test yes = "$hardcode_automatic"; then
11859  
11860    # We can hardcode non-existent directories.
11861 <  if test "$hardcode_direct" != no &&
11861 >  if test no != "$hardcode_direct" &&
11862       # If the only mechanism to avoid hardcoding is shlibpath_var, we
11863       # have to relink, otherwise we might link with an installed library
11864       # when we should be linking with a yet-to-be-installed one
11865 <     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11866 <     test "$hardcode_minus_L" != no; then
11865 >     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11866 >     test no != "$hardcode_minus_L"; then
11867      # Linking always hardcodes the temporary library directory.
11868      hardcode_action=relink
11869    else
# Line 10463 | Line 11878 | fi
11878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11879   $as_echo "$hardcode_action" >&6; }
11880  
11881 < if test "$hardcode_action" = relink ||
11882 <   test "$inherit_rpath" = yes; then
11881 > if test relink = "$hardcode_action" ||
11882 >   test yes = "$inherit_rpath"; then
11883    # Fast installation is not supported
11884    enable_fast_install=no
11885 < elif test "$shlibpath_overrides_runpath" = yes ||
11886 <     test "$enable_shared" = no; then
11885 > elif test yes = "$shlibpath_overrides_runpath" ||
11886 >     test no = "$enable_shared"; then
11887    # Fast installation is not necessary
11888    enable_fast_install=needless
11889   fi
# Line 10478 | Line 11893 | fi
11893  
11894  
11895  
11896 <  if test "x$enable_dlopen" != xyes; then
11896 >  if test yes != "$enable_dlopen"; then
11897    enable_dlopen=unknown
11898    enable_dlopen_self=unknown
11899    enable_dlopen_self_static=unknown
# Line 10488 | Line 11903 | else
11903  
11904    case $host_os in
11905    beos*)
11906 <    lt_cv_dlopen="load_add_on"
11906 >    lt_cv_dlopen=load_add_on
11907      lt_cv_dlopen_libs=
11908      lt_cv_dlopen_self=yes
11909      ;;
11910  
11911    mingw* | pw32* | cegcc*)
11912 <    lt_cv_dlopen="LoadLibrary"
11912 >    lt_cv_dlopen=LoadLibrary
11913      lt_cv_dlopen_libs=
11914      ;;
11915  
11916    cygwin*)
11917 <    lt_cv_dlopen="dlopen"
11917 >    lt_cv_dlopen=dlopen
11918      lt_cv_dlopen_libs=
11919      ;;
11920  
11921    darwin*)
11922 <  # if libdl is installed we need to link against it
11922 >    # if libdl is installed we need to link against it
11923      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11924   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11925 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11925 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11926    $as_echo_n "(cached) " >&6
11927   else
11928    ac_check_lib_save_LIBS=$LIBS
# Line 10541 | Line 11956 | LIBS=$ac_check_lib_save_LIBS
11956   fi
11957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11958   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11959 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11960 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11959 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11960 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11961   else
11962  
11963 <    lt_cv_dlopen="dyld"
11963 >    lt_cv_dlopen=dyld
11964      lt_cv_dlopen_libs=
11965      lt_cv_dlopen_self=yes
11966  
# Line 10553 | Line 11968 | fi
11968  
11969      ;;
11970  
11971 +  tpf*)
11972 +    # Don't try to run any link tests for TPF.  We know it's impossible
11973 +    # because TPF is a cross-compiler, and we know how we open DSOs.
11974 +    lt_cv_dlopen=dlopen
11975 +    lt_cv_dlopen_libs=
11976 +    lt_cv_dlopen_self=no
11977 +    ;;
11978 +
11979    *)
11980      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11981 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11982 <  lt_cv_dlopen="shl_load"
11981 > if test "x$ac_cv_func_shl_load" = xyes; then :
11982 >  lt_cv_dlopen=shl_load
11983   else
11984    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11985   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11986 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11986 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11987    $as_echo_n "(cached) " >&6
11988   else
11989    ac_check_lib_save_LIBS=$LIBS
# Line 10594 | Line 12017 | LIBS=$ac_check_lib_save_LIBS
12017   fi
12018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12019   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12020 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12021 <  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12020 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12021 >  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12022   else
12023    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12024 < if test "x$ac_cv_func_dlopen" = x""yes; then :
12025 <  lt_cv_dlopen="dlopen"
12024 > if test "x$ac_cv_func_dlopen" = xyes; then :
12025 >  lt_cv_dlopen=dlopen
12026   else
12027    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12028   $as_echo_n "checking for dlopen in -ldl... " >&6; }
12029 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12029 > if ${ac_cv_lib_dl_dlopen+:} false; then :
12030    $as_echo_n "(cached) " >&6
12031   else
12032    ac_check_lib_save_LIBS=$LIBS
# Line 10637 | Line 12060 | LIBS=$ac_check_lib_save_LIBS
12060   fi
12061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12062   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12063 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12064 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12063 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12064 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12065   else
12066    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12067   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12068 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12068 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12069    $as_echo_n "(cached) " >&6
12070   else
12071    ac_check_lib_save_LIBS=$LIBS
# Line 10676 | Line 12099 | LIBS=$ac_check_lib_save_LIBS
12099   fi
12100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12101   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12102 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12103 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12102 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12103 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12104   else
12105    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12106   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12107 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12107 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12108    $as_echo_n "(cached) " >&6
12109   else
12110    ac_check_lib_save_LIBS=$LIBS
# Line 10715 | Line 12138 | LIBS=$ac_check_lib_save_LIBS
12138   fi
12139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12140   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12141 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12142 <  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12141 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12142 >  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12143   fi
12144  
12145  
# Line 10737 | Line 12160 | fi
12160      ;;
12161    esac
12162  
12163 <  if test "x$lt_cv_dlopen" != xno; then
10741 <    enable_dlopen=yes
10742 <  else
12163 >  if test no = "$lt_cv_dlopen"; then
12164      enable_dlopen=no
12165 +  else
12166 +    enable_dlopen=yes
12167    fi
12168  
12169    case $lt_cv_dlopen in
12170    dlopen)
12171 <    save_CPPFLAGS="$CPPFLAGS"
12172 <    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12171 >    save_CPPFLAGS=$CPPFLAGS
12172 >    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12173  
12174 <    save_LDFLAGS="$LDFLAGS"
12174 >    save_LDFLAGS=$LDFLAGS
12175      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12176  
12177 <    save_LIBS="$LIBS"
12177 >    save_LIBS=$LIBS
12178      LIBS="$lt_cv_dlopen_libs $LIBS"
12179  
12180      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12181   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12182 < if test "${lt_cv_dlopen_self+set}" = set; then :
12182 > if ${lt_cv_dlopen_self+:} false; then :
12183    $as_echo_n "(cached) " >&6
12184   else
12185 <          if test "$cross_compiling" = yes; then :
12185 >          if test yes = "$cross_compiling"; then :
12186    lt_cv_dlopen_self=cross
12187   else
12188    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12189    lt_status=$lt_dlunknown
12190    cat > conftest.$ac_ext <<_LT_EOF
12191 < #line 10768 "configure"
12191 > #line $LINENO "configure"
12192   #include "confdefs.h"
12193  
12194   #if HAVE_DLFCN_H
# Line 10806 | Line 12229 | else
12229   #  endif
12230   #endif
12231  
12232 < void fnord() { int i=42;}
12232 > /* When -fvisibility=hidden is used, assume the code has been annotated
12233 >   correspondingly for the symbols needed.  */
12234 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12235 > int fnord () __attribute__((visibility("default")));
12236 > #endif
12237 >
12238 > int fnord () { return 42; }
12239   int main ()
12240   {
12241    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10815 | Line 12244 | int main ()
12244    if (self)
12245      {
12246        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12247 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12247 >      else
12248 >        {
12249 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12250 >          else puts (dlerror ());
12251 >        }
12252        /* dlclose (self); */
12253      }
12254    else
# Line 10828 | Line 12261 | _LT_EOF
12261    (eval $ac_link) 2>&5
12262    ac_status=$?
12263    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12264 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12264 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12265      (./conftest; exit; ) >&5 2>/dev/null
12266      lt_status=$?
12267      case x$lt_status in
# Line 10848 | Line 12281 | fi
12281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12282   $as_echo "$lt_cv_dlopen_self" >&6; }
12283  
12284 <    if test "x$lt_cv_dlopen_self" = xyes; then
12284 >    if test yes = "$lt_cv_dlopen_self"; then
12285        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12286        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12287   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12288 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
12288 > if ${lt_cv_dlopen_self_static+:} false; then :
12289    $as_echo_n "(cached) " >&6
12290   else
12291 <          if test "$cross_compiling" = yes; then :
12291 >          if test yes = "$cross_compiling"; then :
12292    lt_cv_dlopen_self_static=cross
12293   else
12294    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12295    lt_status=$lt_dlunknown
12296    cat > conftest.$ac_ext <<_LT_EOF
12297 < #line 10864 "configure"
12297 > #line $LINENO "configure"
12298   #include "confdefs.h"
12299  
12300   #if HAVE_DLFCN_H
# Line 10902 | Line 12335 | else
12335   #  endif
12336   #endif
12337  
12338 < void fnord() { int i=42;}
12338 > /* When -fvisibility=hidden is used, assume the code has been annotated
12339 >   correspondingly for the symbols needed.  */
12340 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12341 > int fnord () __attribute__((visibility("default")));
12342 > #endif
12343 >
12344 > int fnord () { return 42; }
12345   int main ()
12346   {
12347    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10911 | Line 12350 | int main ()
12350    if (self)
12351      {
12352        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12353 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12353 >      else
12354 >        {
12355 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12356 >          else puts (dlerror ());
12357 >        }
12358        /* dlclose (self); */
12359      }
12360    else
# Line 10924 | Line 12367 | _LT_EOF
12367    (eval $ac_link) 2>&5
12368    ac_status=$?
12369    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12370 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12370 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12371      (./conftest; exit; ) >&5 2>/dev/null
12372      lt_status=$?
12373      case x$lt_status in
# Line 10945 | Line 12388 | fi
12388   $as_echo "$lt_cv_dlopen_self_static" >&6; }
12389      fi
12390  
12391 <    CPPFLAGS="$save_CPPFLAGS"
12392 <    LDFLAGS="$save_LDFLAGS"
12393 <    LIBS="$save_LIBS"
12391 >    CPPFLAGS=$save_CPPFLAGS
12392 >    LDFLAGS=$save_LDFLAGS
12393 >    LIBS=$save_LIBS
12394      ;;
12395    esac
12396  
# Line 10991 | Line 12434 | else
12434   # FIXME - insert some real tests, host_os isn't really good enough
12435    case $host_os in
12436    darwin*)
12437 <    if test -n "$STRIP" ; then
12437 >    if test -n "$STRIP"; then
12438        striplib="$STRIP -x"
12439        old_striplib="$STRIP -S"
12440        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 11019 | Line 12462 | fi
12462  
12463  
12464  
12465 <  # Report which library types will actually be built
12465 >  # Report what library types will actually be built
12466    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12467   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12468    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
# Line 11027 | Line 12470 | $as_echo "$can_build_shared" >&6; }
12470  
12471    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12472   $as_echo_n "checking whether to build shared libraries... " >&6; }
12473 <  test "$can_build_shared" = "no" && enable_shared=no
12473 >  test no = "$can_build_shared" && enable_shared=no
12474  
12475    # On AIX, shared libraries and static libraries use the same namespace, and
12476    # are all built from PIC.
12477    case $host_os in
12478    aix3*)
12479 <    test "$enable_shared" = yes && enable_static=no
12479 >    test yes = "$enable_shared" && enable_static=no
12480      if test -n "$RANLIB"; then
12481        archive_cmds="$archive_cmds~\$RANLIB \$lib"
12482        postinstall_cmds='$RANLIB $lib'
# Line 11041 | Line 12484 | $as_echo_n "checking whether to build sh
12484      ;;
12485  
12486    aix[4-9]*)
12487 <    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12488 <      test "$enable_shared" = yes && enable_static=no
12487 >    if test ia64 != "$host_cpu"; then
12488 >      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12489 >      yes,aix,yes) ;;                   # shared object as lib.so file only
12490 >      yes,svr4,*) ;;                    # shared object as lib.so archive member only
12491 >      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12492 >      esac
12493      fi
12494      ;;
12495    esac
# Line 11052 | Line 12499 | $as_echo "$enable_shared" >&6; }
12499    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12500   $as_echo_n "checking whether to build static libraries... " >&6; }
12501    # Make sure either enable_shared or enable_static is yes.
12502 <  test "$enable_shared" = yes || enable_static=yes
12502 >  test yes = "$enable_shared" || enable_static=yes
12503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12504   $as_echo "$enable_static" >&6; }
12505  
# Line 11066 | Line 12513 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12513   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12514   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12515  
12516 < CC="$lt_save_CC"
12516 > CC=$lt_save_CC
12517 >
12518 >
12519  
12520  
12521  
# Line 11088 | Line 12537 | CC="$lt_save_CC"
12537   # Only expand once:
12538  
12539  
12540 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12541 < $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12542 < if test "${libltdl_cv_shlibext+set}" = set; then :
12540 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12541 > $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12542 > if ${libltdl_cv_shlibext+:} false; then :
12543    $as_echo_n "(cached) " >&6
12544   else
12545  
12546   module=yes
12547   eval libltdl_cv_shlibext=$shrext_cmds
12548 + module=no
12549 + eval libltdl_cv_shrext=$shrext_cmds
12550  
12551   fi
12552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11107 | Line 12558 | cat >>confdefs.h <<_ACEOF
12558   _ACEOF
12559  
12560   fi
12561 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12562 +
12563 + cat >>confdefs.h <<_ACEOF
12564 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12565 + _ACEOF
12566 +
12567 + fi
12568 + if test -n "$shared_archive_member_spec"; then
12569 +
12570 + cat >>confdefs.h <<_ACEOF
12571 + #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12572 + _ACEOF
12573 +
12574 + fi
12575  
12576 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12577 < $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12578 < if test "${lt_cv_module_path_var+set}" = set; then :
12576 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12577 > $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12578 > if ${lt_cv_module_path_var+:} false; then :
12579    $as_echo_n "(cached) " >&6
12580   else
12581 <  lt_cv_module_path_var="$shlibpath_var"
12581 >  lt_cv_module_path_var=$shlibpath_var
12582   fi
12583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12584   $as_echo "$lt_cv_module_path_var" >&6; }
# Line 11127 | Line 12592 | fi
12592  
12593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12594   $as_echo_n "checking for the default library search path... " >&6; }
12595 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12595 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12596    $as_echo_n "(cached) " >&6
12597   else
12598 <  lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12598 >  lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
12599   fi
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12601   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
# Line 11138 | Line 12603 | if test -n "$lt_cv_sys_dlsearch_path"; t
12603    sys_dlsearch_path=
12604    for dir in $lt_cv_sys_dlsearch_path; do
12605      if test -z "$sys_dlsearch_path"; then
12606 <      sys_dlsearch_path="$dir"
12606 >      sys_dlsearch_path=$dir
12607      else
12608 <      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12608 >      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
12609      fi
12610    done
12611  
# Line 11160 | Line 12625 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12625   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12626   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12627  
12628 + lt_dlload_save_LIBS=$LIBS
12629  
12630   LIBADD_DLOPEN=
12631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12632   $as_echo_n "checking for library containing dlopen... " >&6; }
12633 < if test "${ac_cv_search_dlopen+set}" = set; then :
12633 > if ${ac_cv_search_dlopen+:} false; then :
12634    $as_echo_n "(cached) " >&6
12635   else
12636    ac_func_search_save_LIBS=$LIBS
# Line 11198 | Line 12664 | for ac_lib in '' dl; do
12664   fi
12665   rm -f core conftest.err conftest.$ac_objext \
12666      conftest$ac_exeext
12667 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12667 >  if ${ac_cv_search_dlopen+:} false; then :
12668    break
12669   fi
12670   done
12671 < if test "${ac_cv_search_dlopen+set}" = set; then :
12671 > if ${ac_cv_search_dlopen+:} false; then :
12672  
12673   else
12674    ac_cv_search_dlopen=no
# Line 11218 | Line 12684 | if test "$ac_res" != no; then :
12684  
12685   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12686  
12687 <        if test "$ac_cv_search_dlopen" != "none required" ; then
12688 <          LIBADD_DLOPEN="-ldl"
12687 >        if test "$ac_cv_search_dlopen" != "none required"; then
12688 >          LIBADD_DLOPEN=-ldl
12689          fi
12690 <        libltdl_cv_lib_dl_dlopen="yes"
12690 >        libltdl_cv_lib_dl_dlopen=yes
12691          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12692   else
12693    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 11242 | Line 12708 | if ac_fn_c_try_link "$LINENO"; then :
12708  
12709   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12710  
12711 <            libltdl_cv_func_dlopen="yes"
12711 >            libltdl_cv_func_dlopen=yes
12712              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12713   else
12714    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12715   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12716 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12716 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12717    $as_echo_n "(cached) " >&6
12718   else
12719    ac_check_lib_save_LIBS=$LIBS
# Line 11281 | Line 12747 | LIBS=$ac_check_lib_save_LIBS
12747   fi
12748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12749   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12750 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12750 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12751  
12752   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12753  
12754 <                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12754 >                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
12755                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12756   fi
12757  
# Line 11294 | Line 12760 | rm -f core conftest.err conftest.$ac_obj
12760      conftest$ac_exeext conftest.$ac_ext
12761   fi
12762  
12763 < if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12763 > if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
12764   then
12765 <  lt_save_LIBS="$LIBS"
12765 >  lt_save_LIBS=$LIBS
12766    LIBS="$LIBS $LIBADD_DLOPEN"
12767    for ac_func in dlerror
12768   do :
12769    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12770 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12770 > if test "x$ac_cv_func_dlerror" = xyes; then :
12771    cat >>confdefs.h <<_ACEOF
12772   #define HAVE_DLERROR 1
12773   _ACEOF
# Line 11309 | Line 12775 | _ACEOF
12775   fi
12776   done
12777  
12778 <  LIBS="$lt_save_LIBS"
12778 >  LIBS=$lt_save_LIBS
12779   fi
12780  
12781  
12782   LIBADD_SHL_LOAD=
12783   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12784 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12784 > if test "x$ac_cv_func_shl_load" = xyes; then :
12785  
12786   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12787  
# Line 11323 | Line 12789 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12789   else
12790    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12791   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12792 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12792 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12793    $as_echo_n "(cached) " >&6
12794   else
12795    ac_check_lib_save_LIBS=$LIBS
# Line 11357 | Line 12823 | LIBS=$ac_check_lib_save_LIBS
12823   fi
12824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12825   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12826 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12826 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12827  
12828   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12829  
12830              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12831 <            LIBADD_SHL_LOAD="-ldld"
12831 >            LIBADD_SHL_LOAD=-ldld
12832   fi
12833  
12834   fi
# Line 11373 | Line 12839 | case $host_os in
12839   darwin[1567].*)
12840   # We only want this for pre-Mac OS X 10.4.
12841    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12842 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12842 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12843  
12844   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12845  
# Line 11384 | Line 12850 | fi
12850   beos*)
12851    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12852    ;;
12853 < cygwin* | mingw* | os2* | pw32*)
12853 > cygwin* | mingw* | pw32*)
12854    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12855   "
12856 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12856 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12857    ac_have_decl=1
12858   else
12859    ac_have_decl=0
# Line 11403 | Line 12869 | esac
12869  
12870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12871   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12872 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12872 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12873    $as_echo_n "(cached) " >&6
12874   else
12875    ac_check_lib_save_LIBS=$LIBS
# Line 11437 | Line 12903 | LIBS=$ac_check_lib_save_LIBS
12903   fi
12904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12905   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12906 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12906 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12907  
12908   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12909  
# Line 11462 | Line 12928 | fi
12928   LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12929  
12930  
12931 + LIBS=$lt_dlload_save_LIBS
12932   ac_ext=c
12933   ac_cpp='$CPP $CPPFLAGS'
12934   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 11471 | Line 12938 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12938  
12939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12940   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12941 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12941 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12942    $as_echo_n "(cached) " >&6
12943   else
12944    lt_cv_sys_symbol_underscore=no
# Line 11516 | Line 12983 | $as_echo "$lt_cv_sys_symbol_underscore"
12983    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12984  
12985  
12986 < if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12987 <  if test x"$libltdl_cv_func_dlopen" = xyes ||
12988 <     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11522 <        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12986 > if test yes = "$lt_cv_sys_symbol_underscore"; then
12987 >  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
12988 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12989   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12990 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12990 > if ${libltdl_cv_need_uscore+:} false; then :
12991    $as_echo_n "(cached) " >&6
12992   else
12993    libltdl_cv_need_uscore=unknown
12994 <          save_LIBS="$LIBS"
12995 <          LIBS="$LIBS $LIBADD_DLOPEN"
12996 <          if test "$cross_compiling" = yes; then :
12997 <  libltdl_cv_need_uscore=cross
12998 < else
11533 <  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11534 <  lt_status=$lt_dlunknown
11535 <  cat > conftest.$ac_ext <<_LT_EOF
11536 < #line 11536 "configure"
12994 >      dlsym_uscore_save_LIBS=$LIBS
12995 >      LIBS="$LIBS $LIBADD_DLOPEN"
12996 >      libname=conftmod # stay within 8.3 filename limits!
12997 >      cat >$libname.$ac_ext <<_LT_EOF
12998 > #line $LINENO "configure"
12999   #include "confdefs.h"
13000 + /* When -fvisibility=hidden is used, assume the code has been annotated
13001 +   correspondingly for the symbols needed.  */
13002 + #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13003 + int fnord () __attribute__((visibility("default")));
13004 + #endif
13005 + int fnord () { return 42; }
13006 + _LT_EOF
13007  
13008 +      # ltfn_module_cmds module_cmds
13009 +      # Execute tilde-delimited MODULE_CMDS with environment primed for
13010 +      # $module_cmds or $archive_cmds type content.
13011 +      ltfn_module_cmds ()
13012 +      {( # subshell avoids polluting parent global environment
13013 +          module_cmds_save_ifs=$IFS; IFS='~'
13014 +          for cmd in $1; do
13015 +            IFS=$module_cmds_save_ifs
13016 +            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
13017 +            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
13018 +            major=; versuffix=; verstring=; deplibs=
13019 +            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
13020 +            eval $cmd
13021 +          done
13022 +          IFS=$module_cmds_save_ifs
13023 +      )}
13024 +
13025 +      # Compile a loadable module using libtool macro expansion results.
13026 +      $CC $pic_flag -c $libname.$ac_ext
13027 +      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
13028 +
13029 +      # Try to fetch fnord with dlsym().
13030 +      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
13031 +      cat >conftest.$ac_ext <<_LT_EOF
13032 + #line $LINENO "configure"
13033 + #include "confdefs.h"
13034   #if HAVE_DLFCN_H
13035   #include <dlfcn.h>
13036   #endif
11542 –
13037   #include <stdio.h>
13038 <
11545 < #ifdef RTLD_GLOBAL
11546 < #  define LT_DLGLOBAL           RTLD_GLOBAL
11547 < #else
13038 > #ifndef RTLD_GLOBAL
13039   #  ifdef DL_GLOBAL
13040 < #    define LT_DLGLOBAL         DL_GLOBAL
13040 > #    define RTLD_GLOBAL DL_GLOBAL
13041   #  else
13042 < #    define LT_DLGLOBAL         0
13042 > #    define RTLD_GLOBAL 0
13043   #  endif
13044   #endif
13045 <
13046 < /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13047 <   find out it does not work in some platform. */
11557 < #ifndef LT_DLLAZY_OR_NOW
11558 < #  ifdef RTLD_LAZY
11559 < #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13045 > #ifndef RTLD_NOW
13046 > #  ifdef DL_NOW
13047 > #    define RTLD_NOW DL_NOW
13048   #  else
13049 < #    ifdef DL_LAZY
11562 < #      define LT_DLLAZY_OR_NOW          DL_LAZY
11563 < #    else
11564 < #      ifdef RTLD_NOW
11565 < #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11566 < #      else
11567 < #        ifdef DL_NOW
11568 < #          define LT_DLLAZY_OR_NOW      DL_NOW
11569 < #        else
11570 < #          define LT_DLLAZY_OR_NOW      0
11571 < #        endif
11572 < #      endif
11573 < #    endif
13049 > #    define RTLD_NOW 0
13050   #  endif
13051   #endif
13052 <
13053 < void fnord() { int i=42;}
13054 < int main ()
13055 < {
13056 <  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13057 <  int status = $lt_dlunknown;
13058 <
13059 <  if (self)
13060 <    {
13061 <      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13062 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11587 <      /* dlclose (self); */
13052 > int main () {
13053 >  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
13054 >  int status = $libltdl_dlunknown;
13055 >  if (handle) {
13056 >    if (dlsym (handle, "fnord"))
13057 >      status = $libltdl_dlnouscore;
13058 >    else {
13059 >      if (dlsym (handle, "_fnord"))
13060 >        status = $libltdl_dluscore;
13061 >      else
13062 >        puts (dlerror ());
13063      }
13064 <  else
13064 >    dlclose (handle);
13065 >  } else
13066      puts (dlerror ());
11591 –
13067    return status;
13068   }
13069   _LT_EOF
13070 <  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13070 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13071    (eval $ac_link) 2>&5
13072    ac_status=$?
13073    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13074 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13075 <    (./conftest; exit; ) >&5 2>/dev/null
13076 <    lt_status=$?
13077 <    case x$lt_status in
13078 <      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
13079 <      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
13080 <      x$lt_dlunknown|x*)  ;;
13081 <    esac
13082 <  else :
13083 <    # compilation failed
13084 <
11610 <  fi
11611 < fi
11612 < rm -fr conftest*
11613 <
11614 <          LIBS="$save_LIBS"
13074 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13075 >        (./conftest; exit; ) >&5 2>/dev/null
13076 >        libltdl_status=$?
13077 >        case x$libltdl_status in
13078 >          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
13079 >          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
13080 >          x*) libltdl_cv_need_uscore=unknown ;;
13081 >        esac
13082 >      fi
13083 >      rm -rf conftest* $libname*
13084 >      LIBS=$dlsym_uscore_save_LIBS
13085  
13086   fi
13087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
# Line 11619 | Line 13089 | $as_echo "$libltdl_cv_need_uscore" >&6;
13089    fi
13090   fi
13091  
13092 < if test x"$libltdl_cv_need_uscore" = xyes; then
13092 > if test yes = "$libltdl_cv_need_uscore"; then
13093  
13094   $as_echo "#define NEED_USCORE 1" >>confdefs.h
13095  
# Line 11627 | Line 13097 | fi
13097  
13098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
13099   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
13100 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
13100 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
13101    $as_echo_n "(cached) " >&6
13102   else
13103    # PORTME does your system automatically load deplibs for dlopen?
# Line 11638 | Line 13108 | else
13108    case $host_os in
13109    aix3*|aix4.1.*|aix4.2.*)
13110      # Unknown whether this is true for these versions of AIX, but
13111 <    # we want this `case' here to explicitly catch those versions.
13111 >    # we want this 'case' here to explicitly catch those versions.
13112      lt_cv_sys_dlopen_deplibs=unknown
13113      ;;
13114    aix[4-9]*)
# Line 11651 | Line 13121 | else
13121        ;;
13122      esac
13123      ;;
13124 +  bitrig*)
13125 +    lt_cv_sys_dlopen_deplibs=yes
13126 +    ;;
13127    darwin*)
13128      # Assuming the user has installed a libdl from somewhere, this is true
13129      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
# Line 11659 | Line 13132 | else
13132    freebsd* | dragonfly*)
13133      lt_cv_sys_dlopen_deplibs=yes
13134      ;;
13135 <  gnu* | linux* | k*bsd*-gnu)
13135 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
13136      # GNU and its variants, using gnu ld.so (Glibc)
13137      lt_cv_sys_dlopen_deplibs=yes
13138      ;;
# Line 11688 | Line 13161 | else
13161    osf[1234]*)
13162      # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
13163      # it did *not* use an RPATH in a shared library to find objects the
13164 <    # library depends on, so we explicitly say `no'.
13164 >    # library depends on, so we explicitly say 'no'.
13165      lt_cv_sys_dlopen_deplibs=no
13166      ;;
13167    osf5.0|osf5.0a|osf5.1)
# Line 11697 | Line 13170 | else
13170      # that the library depends on, but there's no easy way to know if that
13171      # patch is installed.  Since this is the case, all we can really
13172      # say is unknown -- it depends on the patch being installed.  If
13173 <    # it is, this changes to `yes'.  Without it, it would be `no'.
13173 >    # it is, this changes to 'yes'.  Without it, it would be 'no'.
13174      lt_cv_sys_dlopen_deplibs=unknown
13175      ;;
13176    osf*)
13177      # the two cases above should catch all versions of osf <= 5.1.  Read
13178      # the comments above for what we know about them.
13179      # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
13180 <    # is used to find them so we can finally say `yes'.
13180 >    # is used to find them so we can finally say 'yes'.
13181      lt_cv_sys_dlopen_deplibs=yes
13182      ;;
13183    qnx*)
# Line 11721 | Line 13194 | else
13194   fi
13195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13196   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13197 < if test "$lt_cv_sys_dlopen_deplibs" != yes; then
13197 > if test yes != "$lt_cv_sys_dlopen_deplibs"; then
13198  
13199   $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13200  
13201   fi
13202  
11730 – :
13203  
13204   for ac_header in argz.h
13205   do :
13206    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13207   "
13208 < if test "x$ac_cv_header_argz_h" = x""yes; then :
13208 > if test "x$ac_cv_header_argz_h" = xyes; then :
13209    cat >>confdefs.h <<_ACEOF
13210   #define HAVE_ARGZ_H 1
13211   _ACEOF
# Line 11747 | Line 13219 | ac_fn_c_check_type "$LINENO" "error_t" "
13219   #  include <argz.h>
13220   #endif
13221   "
13222 < if test "x$ac_cv_type_error_t" = x""yes; then :
13222 > if test "x$ac_cv_type_error_t" = xyes; then :
13223  
13224   cat >>confdefs.h <<_ACEOF
13225   #define HAVE_ERROR_T 1
# Line 11764 | Line 13236 | $as_echo "#define __error_t_defined 1" >
13236   fi
13237  
13238  
13239 < ARGZ_H=
13239 > LT_ARGZ_H=
13240   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13241          argz_next argz_stringify
13242   do :
13243    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13244   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13245 < eval as_val=\$$as_ac_var
11774 <   if test "x$as_val" = x""yes; then :
13245 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13246    cat >>confdefs.h <<_ACEOF
13247   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13248   _ACEOF
13249  
13250   else
13251 <  ARGZ_H=argz.h;
13251 >  LT_ARGZ_H=lt__argz.h;
13252  
13253 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13253 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13254  
13255   fi
13256   done
13257  
13258  
13259 < if test -z "$ARGZ_H"; then :
13259 > if test -z "$LT_ARGZ_H"; then :
13260    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13261   $as_echo_n "checking if argz actually works... " >&6; }
13262 < if test "${lt_cv_sys_argz_works+set}" = set; then :
13262 > if ${lt_cv_sys_argz_works+:} false; then :
13263    $as_echo_n "(cached) " >&6
13264   else
13265    case $host_os in #(
13266           *cygwin*)
13267             lt_cv_sys_argz_works=no
13268 <           if test "$cross_compiling" != no; then
13268 >           if test no != "$cross_compiling"; then
13269               lt_cv_sys_argz_works="guessing no"
13270             else
13271               lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
# Line 11805 | Line 13276 | else
13276               lt_os_major=${2-0}
13277               lt_os_minor=${3-0}
13278               lt_os_micro=${4-0}
13279 <             if test "$lt_os_major" -gt 1 \
13280 <                || { test "$lt_os_major" -eq 1 \
13281 <                  && { test "$lt_os_minor" -gt 5 \
13282 <                    || { test "$lt_os_minor" -eq 5 \
13283 <                      && test "$lt_os_micro" -gt 24; }; }; }; then
13279 >             if test 1 -lt "$lt_os_major" \
13280 >                || { test 1 -eq "$lt_os_major" \
13281 >                  && { test 5 -lt "$lt_os_minor" \
13282 >                    || { test 5 -eq "$lt_os_minor" \
13283 >                      && test 24 -lt "$lt_os_micro"; }; }; }; then
13284                 lt_cv_sys_argz_works=yes
13285               fi
13286             fi
# Line 11819 | Line 13290 | else
13290   fi
13291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13292   $as_echo "$lt_cv_sys_argz_works" >&6; }
13293 <     if test $lt_cv_sys_argz_works = yes; then :
13293 >     if test yes = "$lt_cv_sys_argz_works"; then :
13294  
13295   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13296  
13297   else
13298 <  ARGZ_H=argz.h
13298 >  LT_ARGZ_H=lt__argz.h
13299  
13300  
13301 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13301 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13302  
13303   fi
13304   fi
# Line 11836 | Line 13307 | fi
13307  
13308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13309   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13310 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
13310 > if ${libltdl_cv_preloaded_symbols+:} false; then :
13311    $as_echo_n "(cached) " >&6
13312   else
13313    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11848 | Line 13319 | else
13319   fi
13320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13321   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13322 < if test x"$libltdl_cv_preloaded_symbols" = xyes; then
13322 > if test yes = "$libltdl_cv_preloaded_symbols"; then
13323  
13324   $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13325  
13326   fi
13327  
11857 –
11858 –
13328   # Set options
13329  
13330  
# Line 11868 | Line 13337 | fi
13337  
13338  
13339  
11871 –
13340   # Check whether --with-included_ltdl was given.
13341   if test "${with_included_ltdl+set}" = set; then :
13342    withval=$with_included_ltdl;
13343   fi
13344  
13345  
13346 < if test "x$with_included_ltdl" != xyes; then
13346 > if test yes != "$with_included_ltdl"; then
13347    # We are not being forced to use the included libltdl sources, so
13348    # decide whether there is a useful installed version we can use.
13349    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13350  
13351   "
13352 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
13352 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
13353    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13354              #include <ltdl.h>
13355   "
13356 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
13356 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
13357    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13358   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13359 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
13359 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
13360    $as_echo_n "(cached) " >&6
13361   else
13362    ac_check_lib_save_LIBS=$LIBS
# Line 11922 | Line 13390 | LIBS=$ac_check_lib_save_LIBS
13390   fi
13391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13392   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13393 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
13393 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
13394    with_included_ltdl=no
13395   else
13396    with_included_ltdl=yes
# Line 11951 | Line 13419 | fi
13419   if test -n "$with_ltdl_include"; then
13420    if test -f "$with_ltdl_include/ltdl.h"; then :
13421    else
13422 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13422 >    as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
13423    fi
13424   else
13425    with_ltdl_include=no
# Line 11967 | Line 13435 | fi
13435   if test -n "$with_ltdl_lib"; then
13436    if test -f "$with_ltdl_lib/libltdl.la"; then :
13437    else
13438 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13438 >    as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
13439    fi
13440   else
13441    with_ltdl_lib=no
# Line 11976 | Line 13444 | fi
13444   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13445    ,yes,no,no,)
13446          case $enable_ltdl_convenience in
13447 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13447 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13448    "") enable_ltdl_convenience=yes
13449        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13450   esac
13451 < LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13451 > LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13452   LTDLDEPS=$LIBLTDL
13453 < LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13453 > LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13454  
13455  
13456  
13457  
13458  
13459   # For backwards non-gettext consistent compatibility...
13460 < INCLTDL="$LTDLINCL"
13460 > INCLTDL=$LTDLINCL
13461  
13462  
13463          ;;
# Line 12004 | Line 13472 | $as_echo "#define HAVE_LTDL 1" >>confdef
13472          LTDLINCL=
13473          ;;
13474    ,no*,no,*)
13475 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13475 >        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
13476          ;;
13477    *)    with_included_ltdl=no
13478          LIBLTDL="-L$with_ltdl_lib -lltdl"
13479          LTDLDEPS=
13480 <        LTDLINCL="-I$with_ltdl_include"
13480 >        LTDLINCL=-I$with_ltdl_include
13481          ;;
13482   esac
13483 < INCLTDL="$LTDLINCL"
13483 > INCLTDL=$LTDLINCL
13484  
13485   # Report our decision...
13486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
# Line 12032 | Line 13500 | if test "${enable_ltdl_install+set}" = s
13500   fi
13501  
13502  
13503 < case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13503 > case ,$enable_ltdl_install,$enable_ltdl_convenience in
13504    *yes*) ;;
13505    *) enable_ltdl_convenience=yes ;;
13506   esac
13507  
13508 < if test x"${enable_ltdl_install-no}" != xno; then
13508 > if test no != "${enable_ltdl_install-no}"; then
13509    INSTALL_LTDL_TRUE=
13510    INSTALL_LTDL_FALSE='#'
13511   else
# Line 12045 | Line 13513 | else
13513    INSTALL_LTDL_FALSE=
13514   fi
13515  
13516 <  if test x"${enable_ltdl_convenience-no}" != xno; then
13516 >  if test no != "${enable_ltdl_convenience-no}"; then
13517    CONVENIENCE_LTDL_TRUE=
13518    CONVENIENCE_LTDL_FALSE='#'
13519   else
# Line 12055 | Line 13523 | fi
13523  
13524  
13525  
12058 –    subdirs="$subdirs libltdl"
12059 –
12060 –
13526  
13527  
13528  
# Line 12074 | Line 13539 | do :
13539    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13540   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13541   "
13542 < eval as_val=\$$as_ac_Header
12078 <   if test "x$as_val" = x""yes; then :
13542 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13543    cat >>confdefs.h <<_ACEOF
13544   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13545   _ACEOF
# Line 12089 | Line 13553 | for ac_func in closedir opendir readdir
13553   do :
13554    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13555   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13556 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
13556 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13557    cat >>confdefs.h <<_ACEOF
13558   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13559   _ACEOF
# Line 12107 | Line 13570 | for ac_func in strlcat strlcpy
13570   do :
13571    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13572   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13573 < eval as_val=\$$as_ac_var
12111 <   if test "x$as_val" = x""yes; then :
13573 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13574    cat >>confdefs.h <<_ACEOF
13575   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13576   _ACEOF
# Line 12128 | Line 13590 | cat >>confdefs.h <<_ACEOF
13590   _ACEOF
13591  
13592  
13593 + name=
13594 + eval "lt_libprefix=\"$libname_spec\""
13595 +
13596 + cat >>confdefs.h <<_ACEOF
13597 + #define LT_LIBPREFIX "$lt_libprefix"
13598 + _ACEOF
13599 +
13600 +
13601   name=ltdl
13602 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13602 > eval "LTDLOPEN=\"$libname_spec\""
13603  
13604  
13605  
# Line 12145 | Line 13615 | LIBTOOL="$LIBTOOL --silent"
13615  
13616   # Checks for libraries.
13617  
13618 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13619 < $as_echo_n "checking for library containing socket... " >&6; }
13620 < if test "${ac_cv_search_socket+set}" = set; then :
13618 >
13619 >  if test "X$CC" != "X"; then
13620 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
13621 > $as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
13622 > if ${ssp_cv_cc+:} false; then :
13623 >  $as_echo_n "(cached) " >&6
13624 > else
13625 >  ssp_old_cflags="$CFLAGS"
13626 >       CFLAGS="$CFLAGS -fstack-protector-strong"
13627 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 > /* end confdefs.h.  */
13629 >
13630 > int
13631 > main ()
13632 > {
13633 >
13634 >  ;
13635 >  return 0;
13636 > }
13637 > _ACEOF
13638 > if ac_fn_c_try_compile "$LINENO"; then :
13639 >  ssp_cv_cc=yes
13640 > else
13641 >  ssp_cv_cc=no
13642 > fi
13643 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13644 >       CFLAGS="$ssp_old_cflags"
13645 >
13646 > fi
13647 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13648 > $as_echo "$ssp_cv_cc" >&6; }
13649 >    if test $ssp_cv_cc = yes; then
13650 >      CFLAGS="$CFLAGS -fstack-protector-strong"
13651 >
13652 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13653 >
13654 >    else
13655 >      unset ssp_cv_cc
13656 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13657 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13658 > if ${ssp_cv_cc+:} false; then :
13659 >  $as_echo_n "(cached) " >&6
13660 > else
13661 >  ssp_old_cflags="$CFLAGS"
13662 >         CFLAGS="$CFLAGS -fstack-protector"
13663 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13664 > /* end confdefs.h.  */
13665 >
13666 > int
13667 > main ()
13668 > {
13669 >
13670 >  ;
13671 >  return 0;
13672 > }
13673 > _ACEOF
13674 > if ac_fn_c_try_compile "$LINENO"; then :
13675 >  ssp_cv_cc=yes
13676 > else
13677 >  ssp_cv_cc=no
13678 > fi
13679 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13680 >         CFLAGS="$ssp_old_cflags"
13681 >
13682 > fi
13683 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13684 > $as_echo "$ssp_cv_cc" >&6; }
13685 >      if test $ssp_cv_cc = yes; then
13686 >        CFLAGS="$CFLAGS -fstack-protector"
13687 >
13688 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13689 >
13690 >      fi
13691 >    fi
13692 >  fi
13693 >
13694 >
13695 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13696 > $as_echo_n "checking whether libssp exists... " >&6; }
13697 > if ${ssp_cv_lib+:} false; then :
13698 >  $as_echo_n "(cached) " >&6
13699 > else
13700 >  ssp_old_libs="$LIBS"
13701 >     LIBS="$LIBS -lssp"
13702 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13703 > /* end confdefs.h.  */
13704 >
13705 > int
13706 > main ()
13707 > {
13708 >
13709 >  ;
13710 >  return 0;
13711 > }
13712 > _ACEOF
13713 > if ac_fn_c_try_link "$LINENO"; then :
13714 >  ssp_cv_lib=yes
13715 > else
13716 >  ssp_cv_lib=no
13717 > fi
13718 > rm -f core conftest.err conftest.$ac_objext \
13719 >    conftest$ac_exeext conftest.$ac_ext
13720 >     LIBS="$ssp_old_libs"
13721 >
13722 > fi
13723 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13724 > $as_echo "$ssp_cv_lib" >&6; }
13725 >  if test $ssp_cv_lib = yes; then
13726 >    LIBS="$LIBS -lssp"
13727 >  fi
13728 >
13729 >
13730 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13731 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13732 >
13733 > else
13734 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13735 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13736 > if ${ac_cv_search_getaddrinfo+:} false; then :
13737    $as_echo_n "(cached) " >&6
13738   else
13739    ac_func_search_save_LIBS=$LIBS
# Line 12160 | Line 13746 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13746   #ifdef __cplusplus
13747   extern "C"
13748   #endif
13749 < char socket ();
13749 > char getaddrinfo ();
13750   int
13751   main ()
13752   {
13753 < return socket ();
13753 > return getaddrinfo ();
13754    ;
13755    return 0;
13756   }
13757   _ACEOF
13758 < for ac_lib in '' socket; do
13758 > for ac_lib in '' nsl; do
13759    if test -z "$ac_lib"; then
13760      ac_res="none required"
13761    else
# Line 12177 | Line 13763 | for ac_lib in '' socket; do
13763      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13764    fi
13765    if ac_fn_c_try_link "$LINENO"; then :
13766 <  ac_cv_search_socket=$ac_res
13766 >  ac_cv_search_getaddrinfo=$ac_res
13767   fi
13768   rm -f core conftest.err conftest.$ac_objext \
13769      conftest$ac_exeext
13770 <  if test "${ac_cv_search_socket+set}" = set; then :
13770 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13771    break
13772   fi
13773   done
13774 < if test "${ac_cv_search_socket+set}" = set; then :
13774 > if ${ac_cv_search_getaddrinfo+:} false; then :
13775  
13776   else
13777 <  ac_cv_search_socket=no
13777 >  ac_cv_search_getaddrinfo=no
13778   fi
13779   rm conftest.$ac_ext
13780   LIBS=$ac_func_search_save_LIBS
13781   fi
13782 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13783 < $as_echo "$ac_cv_search_socket" >&6; }
13784 < ac_res=$ac_cv_search_socket
13782 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13783 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13784 > ac_res=$ac_cv_search_getaddrinfo
13785   if test "$ac_res" != no; then :
13786    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13787  
12202 – else
12203 –  as_fn_error "socket library not found" "$LINENO" 5
13788   fi
13789  
12206 –  for ac_func in inet_aton inet_ntop inet_pton
12207 – do :
12208 –  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 – ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12210 – eval as_val=\$$as_ac_var
12211 –   if test "x$as_val" = x""yes; then :
12212 –  cat >>confdefs.h <<_ACEOF
12213 – #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12214 – _ACEOF
12215 –
13790   fi
12217 – done
13791  
13792 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13793 <   #include <sys/socket.h>
12221 <   #include <netdb.h>
13792 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13793 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13794  
13795 < "
13796 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13795 > else
13796 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13797 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13798 > if ${ac_cv_search_getnameinfo+:} false; then :
13799 >  $as_echo_n "(cached) " >&6
13800 > else
13801 >  ac_func_search_save_LIBS=$LIBS
13802 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 > /* end confdefs.h.  */
13804  
13805 < cat >>confdefs.h <<_ACEOF
13806 < #define HAVE_STRUCT_SOCKADDR_IN 1
13805 > /* Override any GCC internal prototype to avoid an error.
13806 >   Use char because int might match the return type of a GCC
13807 >   builtin and then its argument prototype would still apply.  */
13808 > #ifdef __cplusplus
13809 > extern "C"
13810 > #endif
13811 > char getnameinfo ();
13812 > int
13813 > main ()
13814 > {
13815 > return getnameinfo ();
13816 >  ;
13817 >  return 0;
13818 > }
13819   _ACEOF
13820 <
13821 <
13820 > for ac_lib in '' nsl; do
13821 >  if test -z "$ac_lib"; then
13822 >    ac_res="none required"
13823 >  else
13824 >    ac_res=-l$ac_lib
13825 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13826 >  fi
13827 >  if ac_fn_c_try_link "$LINENO"; then :
13828 >  ac_cv_search_getnameinfo=$ac_res
13829   fi
13830 < ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13831 <   #include <sys/socket.h>
13832 <   #include <netdb.h>
13833 <
12236 < "
12237 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12238 <
12239 < cat >>confdefs.h <<_ACEOF
12240 < #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12241 < _ACEOF
12242 <
12243 <
13830 > rm -f core conftest.err conftest.$ac_objext \
13831 >    conftest$ac_exeext
13832 >  if ${ac_cv_search_getnameinfo+:} false; then :
13833 >  break
13834   fi
13835 < ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13836 <   #include <sys/socket.h>
12247 <   #include <netdb.h>
12248 <
12249 < "
12250 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12251 <
12252 < cat >>confdefs.h <<_ACEOF
12253 < #define HAVE_STRUCT_ADDRINFO 1
12254 < _ACEOF
12255 <
13835 > done
13836 > if ${ac_cv_search_getnameinfo+:} false; then :
13837  
13838 + else
13839 +  ac_cv_search_getnameinfo=no
13840   fi
13841 <
13842 <  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12260 <  <sys/socket.h>
12261 < "
12262 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12263 <
12264 < cat >>confdefs.h <<_ACEOF
12265 < #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
12266 < _ACEOF
12267 <
12268 <
13841 > rm conftest.$ac_ext
13842 > LIBS=$ac_func_search_save_LIBS
13843   fi
13844 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13845 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13846 + ac_res=$ac_cv_search_getnameinfo
13847 + if test "$ac_res" != no; then :
13848 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13849  
13850 + fi
13851  
13852 + fi
13853  
13854 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13855 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13854 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13855 > $as_echo_n "checking for library containing socket... " >&6; }
13856 > if ${ac_cv_search_socket+:} false; then :
13857 >  $as_echo_n "(cached) " >&6
13858 > else
13859 >  ac_func_search_save_LIBS=$LIBS
13860 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 > /* end confdefs.h.  */
13862  
13863 < cat >>confdefs.h <<_ACEOF
13864 < #define HAVE_STRUCT_SOCKADDR_IN6 1
13863 > /* Override any GCC internal prototype to avoid an error.
13864 >   Use char because int might match the return type of a GCC
13865 >   builtin and then its argument prototype would still apply.  */
13866 > #ifdef __cplusplus
13867 > extern "C"
13868 > #endif
13869 > char socket ();
13870 > int
13871 > main ()
13872 > {
13873 > return socket ();
13874 >  ;
13875 >  return 0;
13876 > }
13877   _ACEOF
13878 <
13878 > for ac_lib in '' socket; do
13879 >  if test -z "$ac_lib"; then
13880 >    ac_res="none required"
13881 >  else
13882 >    ac_res=-l$ac_lib
13883 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13884 >  fi
13885 >  if ac_fn_c_try_link "$LINENO"; then :
13886 >  ac_cv_search_socket=$ac_res
13887 > fi
13888 > rm -f core conftest.err conftest.$ac_objext \
13889 >    conftest$ac_exeext
13890 >  if ${ac_cv_search_socket+:} false; then :
13891 >  break
13892 > fi
13893 > done
13894 > if ${ac_cv_search_socket+:} false; then :
13895  
13896   else
13897 +  ac_cv_search_socket=no
13898 + fi
13899 + rm conftest.$ac_ext
13900 + LIBS=$ac_func_search_save_LIBS
13901 + fi
13902 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13903 + $as_echo "$ac_cv_search_socket" >&6; }
13904 + ac_res=$ac_cv_search_socket
13905 + if test "$ac_res" != no; then :
13906 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13907  
13908 < $as_echo "#define IPV6 1" >>confdefs.h
13909 <
13908 > else
13909 >  as_fn_error $? "socket library not found" "$LINENO" 5
13910   fi
13911  
13912  
# Line 12289 | Line 13914 | fi
13914   # Checks for typedefs, structures, and compiler characteristics.
13915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13916   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13917 < if test "${ac_cv_c_bigendian+set}" = set; then :
13917 > if ${ac_cv_c_bigendian+:} false; then :
13918    $as_echo_n "(cached) " >&6
13919   else
13920    ac_cv_c_bigendian=unknown
# Line 12507 | Line 14132 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14132  
14133       ;; #(
14134     *)
14135 <     as_fn_error "unknown endianness
14135 >     as_fn_error $? "unknown endianness
14136   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14137   esac
14138  
# Line 12520 | Line 14145 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14145   do :
14146    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14147   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14148 < eval as_val=\$$as_ac_var
12524 <   if test "x$as_val" = x""yes; then :
14148 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14149    cat >>confdefs.h <<_ACEOF
14150   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14151   _ACEOF
# Line 12537 | Line 14161 | done
14161  
14162  
14163  
12540 –
12541 –
12542 –
12543 –
14164   # Checks for header files.
14165  
14166  
# Line 12550 | Line 14170 | do :
14170    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14171   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14172   "
14173 < eval as_val=\$$as_ac_Header
12554 <   if test "x$as_val" = x""yes; then :
14173 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14174    cat >>confdefs.h <<_ACEOF
14175   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14176   _ACEOF
# Line 12572 | Line 14191 | done
14191  
14192  
14193  
12575 –
12576 –
12577 –
12578 –
12579 –
12580 –
12581 –
12582 –
12583 –
12584 –
12585 –
12586 –
12587 –
12588 –
12589 – # check for /dev/null so we can use it to hold evil fd's
12590 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591 – $as_echo_n "checking for /dev/null... " >&6; }
12592 – if test -c /dev/null; then :
12593 –
12594 –
12595 – $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596 –
12597 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 – $as_echo "yes" >&6; }
12599 – else
12600 –
12601 –
12602 – $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603 –
12604 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12605 – $as_echo "no - using devnull.log" >&6; }
12606 – fi
12607 –
12608 –
14194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14195   $as_echo_n "checking for library containing crypt... " >&6; }
14196 < if test "${ac_cv_search_crypt+set}" = set; then :
14196 > if ${ac_cv_search_crypt+:} false; then :
14197    $as_echo_n "(cached) " >&6
14198   else
14199    ac_func_search_save_LIBS=$LIBS
# Line 12642 | Line 14227 | for ac_lib in '' crypt; do
14227   fi
14228   rm -f core conftest.err conftest.$ac_objext \
14229      conftest$ac_exeext
14230 <  if test "${ac_cv_search_crypt+set}" = set; then :
14230 >  if ${ac_cv_search_crypt+:} false; then :
14231    break
14232   fi
14233   done
14234 < if test "${ac_cv_search_crypt+set}" = set; then :
14234 > if ${ac_cv_search_crypt+:} false; then :
14235  
14236   else
14237    ac_cv_search_crypt=no
# Line 12663 | Line 14248 | if test "$ac_res" != no; then :
14248   fi
14249  
14250  
14251 + # Disable -Wformat-truncation
14252  
14253  
12668 – # Check whether --with-zlib-path was given.
12669 – if test "${with_zlib_path+set}" = set; then :
12670 –  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12671 – fi
14254  
14255  
14256 < # Check whether --enable-zlib was given.
14257 < if test "${enable_zlib+set}" = set; then :
14258 <  enableval=$enable_zlib; zlib=$enableval
14256 > for flag in -Wno-format-truncation; do
14257 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14258 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14259 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14260 > if eval \${$as_CACHEVAR+:} false; then :
14261 >  $as_echo_n "(cached) " >&6
14262 > else
14263 >
14264 >  ax_check_save_flags=$CFLAGS
14265 >  CFLAGS="$CFLAGS  $flag"
14266 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14267 > /* end confdefs.h.  */
14268 >
14269 > int
14270 > main ()
14271 > {
14272 >
14273 >  ;
14274 >  return 0;
14275 > }
14276 > _ACEOF
14277 > if ac_fn_c_try_compile "$LINENO"; then :
14278 >  eval "$as_CACHEVAR=yes"
14279   else
14280 <  zlib=yes
14280 >  eval "$as_CACHEVAR=no"
14281 > fi
14282 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14283 >  CFLAGS=$ax_check_save_flags
14284   fi
14285 + eval ac_res=\$$as_CACHEVAR
14286 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14287 + $as_echo "$ac_res" >&6; }
14288 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14289  
14290 + if ${CFLAGS+:} false; then :
14291  
14292 < if test "$zlib" = "yes"; then :
14292 >  case " $CFLAGS " in #(
14293 >  *" $flag "*) :
14294 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14295 >  (: CFLAGS already contains $flag) 2>&5
14296 >  ac_status=$?
14297 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14298 >  test $ac_status = 0; } ;; #(
14299 >  *) :
14300 >
14301 >     as_fn_append CFLAGS " $flag"
14302 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14303 >  (: CFLAGS="$CFLAGS") 2>&5
14304 >  ac_status=$?
14305 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14306 >  test $ac_status = 0; }
14307 >     ;;
14308 > esac
14309  
12684 –  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685 – if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686 –  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12687 – $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12688 – if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12689 –  $as_echo_n "(cached) " >&6
14310   else
14311 <  ac_check_lib_save_LIBS=$LIBS
14312 < LIBS="-lz  $LIBS"
14313 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 >
14312 >  CFLAGS=$flag
14313 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14314 >  (: CFLAGS="$CFLAGS") 2>&5
14315 >  ac_status=$?
14316 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14317 >  test $ac_status = 0; }
14318 >
14319 > fi
14320 >
14321 > else
14322 >  :
14323 > fi
14324 >
14325 > done
14326 >
14327 >
14328 > # Argument processing.
14329 >
14330 >  desired_iopoll_mechanism="none"
14331 >
14332 >  # Check whether --enable-kqueue was given.
14333 > if test "${enable_kqueue+set}" = set; then :
14334 >  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14335 > fi
14336 >
14337 >  # Check whether --enable-epoll was given.
14338 > if test "${enable_epoll+set}" = set; then :
14339 >  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
14340 > fi
14341 >
14342 >  # Check whether --enable-devpoll was given.
14343 > if test "${enable_devpoll+set}" = set; then :
14344 >  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14345 > fi
14346 >
14347 >  # Check whether --enable-poll was given.
14348 > if test "${enable_poll+set}" = set; then :
14349 >  enableval=$enable_poll; desired_iopoll_mechanism="poll"
14350 > fi
14351 >
14352 >
14353 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14354 > $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14355 >
14356 >  iopoll_mechanism_none=0
14357 >
14358 > cat >>confdefs.h <<_ACEOF
14359 > #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14360 > _ACEOF
14361 >
14362 >
14363 >  iopoll_mechanism_kqueue=1
14364 >
14365 > cat >>confdefs.h <<_ACEOF
14366 > #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14367 > _ACEOF
14368 >
14369 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370   /* end confdefs.h.  */
14371 + /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
14372 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14373 + #define kevent innocuous_kevent
14374 +
14375 + /* System header to define __stub macros and hopefully few prototypes,
14376 +    which can conflict with char kevent (); below.
14377 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14378 +    <limits.h> exists even on freestanding compilers.  */
14379 +
14380 + #ifdef __STDC__
14381 + # include <limits.h>
14382 + #else
14383 + # include <assert.h>
14384 + #endif
14385 +
14386 + #undef kevent
14387  
14388   /* Override any GCC internal prototype to avoid an error.
14389     Use char because int might match the return type of a GCC
# Line 12699 | Line 14391 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14391   #ifdef __cplusplus
14392   extern "C"
14393   #endif
14394 < char zlibVersion ();
14394 > char kevent ();
14395 > /* The GNU C library defines this for functions which it implements
14396 >    to always fail with ENOSYS.  Some functions are actually named
14397 >    something starting with __ and the normal name is an alias.  */
14398 > #if defined __stub_kevent || defined __stub___kevent
14399 > choke me
14400 > #endif
14401 >
14402   int
14403   main ()
14404   {
14405 < return zlibVersion ();
14405 > return kevent ();
14406    ;
14407    return 0;
14408   }
14409   _ACEOF
14410   if ac_fn_c_try_link "$LINENO"; then :
14411 <  ac_cv_lib_z_zlibVersion=yes
14411 >  is_kqueue_mechanism_available="yes"
14412   else
14413 <  ac_cv_lib_z_zlibVersion=no
14413 >  is_kqueue_mechanism_available="no"
14414   fi
14415   rm -f core conftest.err conftest.$ac_objext \
14416      conftest$ac_exeext conftest.$ac_ext
12718 – LIBS=$ac_check_lib_save_LIBS
12719 – fi
12720 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12721 – $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12722 – if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
14417  
14418 <      LIBS="-lz $LIBS"
12725 <
12726 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
14418 >  iopoll_mechanism_epoll=2
14419  
14420 + cat >>confdefs.h <<_ACEOF
14421 + #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14422 + _ACEOF
14423  
14424 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 + /* end confdefs.h.  */
14426 + #include <sys/epoll.h>
14427 + int
14428 + main ()
14429 + {
14430 + epoll_create1(EPOLL_CLOEXEC);
14431 +  ;
14432 +  return 0;
14433 + }
14434 + _ACEOF
14435 + if ac_fn_c_try_link "$LINENO"; then :
14436 +  is_epoll_mechanism_available="yes"
14437   else
14438 <  zlib=no
14438 >  is_epoll_mechanism_available="no"
14439   fi
14440 + rm -f core conftest.err conftest.$ac_objext \
14441 +    conftest$ac_exeext conftest.$ac_ext
14442 +
14443 +  iopoll_mechanism_devpoll=3
14444 +
14445 + cat >>confdefs.h <<_ACEOF
14446 + #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14447 + _ACEOF
14448  
14449 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14450 + /* end confdefs.h.  */
14451 + #include <devpoll.h>
14452 + int
14453 + main ()
14454 + {
14455  
14456 +  ;
14457 +  return 0;
14458 + }
14459 + _ACEOF
14460 + if ac_fn_c_try_compile "$LINENO"; then :
14461 +  is_devpoll_mechanism_available="yes"
14462   else
14463 <  zlib=no
14463 >  is_devpoll_mechanism_available="no"
14464   fi
14465 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14466 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14467  
14468 + $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14469  
14470 +  fi
14471 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 + /* end confdefs.h.  */
14473 + #include <sys/devpoll.h>
14474 + int
14475 + main ()
14476 + {
14477  
14478 +  ;
14479 +  return 0;
14480 + }
14481 + _ACEOF
14482 + if ac_fn_c_try_compile "$LINENO"; then :
14483 +  is_devpoll_mechanism_available="yes"
14484 + else
14485 +  is_devpoll_mechanism_available="no"
14486   fi
14487 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14488 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14489  
14490 + $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14491  
14492 < # Check whether --with-libpcre-path was given.
12744 < if test "${with_libpcre_path+set}" = set; then :
12745 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12746 < fi
14492 >  fi
14493  
14494 +  iopoll_mechanism_poll=4
14495  
14496 < # Check whether --enable-libpcre was given.
14497 < if test "${enable_libpcre+set}" = set; then :
14498 <  enableval=$enable_libpcre; libpcre=$enableval
12752 < else
12753 <  libpcre=yes
12754 < fi
14496 > cat >>confdefs.h <<_ACEOF
14497 > #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14498 > _ACEOF
14499  
14500 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501 + /* end confdefs.h.  */
14502 + /* Define poll to an innocuous variant, in case <limits.h> declares poll.
14503 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14504 + #define poll innocuous_poll
14505  
14506 < if test "$libpcre" = "yes"; then :
14506 > /* System header to define __stub macros and hopefully few prototypes,
14507 >    which can conflict with char poll (); below.
14508 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14509 >    <limits.h> exists even on freestanding compilers.  */
14510  
14511 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
14512 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
14513 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
14514 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
14515 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
14516 <  $as_echo_n "(cached) " >&6
14517 < else
12766 <  ac_check_lib_save_LIBS=$LIBS
12767 < LIBS="-lpcre  $LIBS"
12768 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12769 < /* end confdefs.h.  */
14511 > #ifdef __STDC__
14512 > # include <limits.h>
14513 > #else
14514 > # include <assert.h>
14515 > #endif
14516 >
14517 > #undef poll
14518  
14519   /* Override any GCC internal prototype to avoid an error.
14520     Use char because int might match the return type of a GCC
# Line 12774 | Line 14522 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14522   #ifdef __cplusplus
14523   extern "C"
14524   #endif
14525 < char pcre_study ();
14525 > char poll ();
14526 > /* The GNU C library defines this for functions which it implements
14527 >    to always fail with ENOSYS.  Some functions are actually named
14528 >    something starting with __ and the normal name is an alias.  */
14529 > #if defined __stub_poll || defined __stub___poll
14530 > choke me
14531 > #endif
14532 >
14533   int
14534   main ()
14535   {
14536 < return pcre_study ();
14536 > return poll ();
14537    ;
14538    return 0;
14539   }
14540   _ACEOF
14541   if ac_fn_c_try_link "$LINENO"; then :
14542 <  ac_cv_lib_pcre_pcre_study=yes
14542 >  is_poll_mechanism_available="yes"
14543   else
14544 <  ac_cv_lib_pcre_pcre_study=no
14544 >  is_poll_mechanism_available="no"
14545   fi
14546   rm -f core conftest.err conftest.$ac_objext \
14547      conftest$ac_exeext conftest.$ac_ext
12793 – LIBS=$ac_check_lib_save_LIBS
12794 – fi
12795 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12796 – $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12797 – if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
14548  
14549 <      LIBS="-lpcre $LIBS"
14549 >  optimal_iopoll_mechanism="none"
14550 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14551 >    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14552 >    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14553 >      optimal_iopoll_mechanism="$mechanism"
14554 >      break
14555 >    fi
14556 >  done
14557 >
14558 >  if test "$desired_iopoll_mechanism" = "none" ; then
14559 >    if test "$optimal_iopoll_mechanism" = "none" ; then
14560 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14561 > $as_echo "none" >&6; }
14562 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14563 >    else
14564 >      selected_iopoll_mechanism=$optimal_iopoll_mechanism
14565 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14566 > $as_echo "$selected_iopoll_mechanism" >&6; }
14567 >    fi
14568 >  else
14569 >    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
14570 >    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
14571 >      selected_iopoll_mechanism=$desired_iopoll_mechanism
14572 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14573 > $as_echo "$selected_iopoll_mechanism" >&6; }
14574 >    else
14575 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14576 > $as_echo "none" >&6; }
14577 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14578 >    fi
14579 >  fi
14580 >
14581 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14582 >
14583 > cat >>confdefs.h <<_ACEOF
14584 > #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
14585 > _ACEOF
14586  
12801 – $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
14587  
14588  
14589 +  # Check whether --enable-assert was given.
14590 + if test "${enable_assert+set}" = set; then :
14591 +  enableval=$enable_assert; assert=$enableval
14592   else
14593 <  libpcre=no
14593 >  assert=no
14594   fi
14595  
14596  
14597 +  if test "$assert" = "no"; then :
14598 +
14599 + $as_echo "#define NDEBUG 1" >>confdefs.h
14600 +
14601 + fi
14602 +
14603 +
14604 +  # Check whether --enable-debugging was given.
14605 + if test "${enable_debugging+set}" = set; then :
14606 +  enableval=$enable_debugging; debugging="$enableval"
14607   else
14608 <  libpcre=no
14608 >  debugging="no"
14609   fi
14610  
14611  
14612 +  if test "$debugging" = "yes"; then :
14613 +
14614 +    CFLAGS="-Wall -g -O0"
14615  
14616   fi
14617 < if test "$libpcre" = yes; then
14618 <  ENABLE_PCRE_TRUE=
14619 <  ENABLE_PCRE_FALSE='#'
14617 >
14618 >
14619 >  # Check whether --enable-warnings was given.
14620 > if test "${enable_warnings+set}" = set; then :
14621 >  enableval=$enable_warnings; warnings="$enableval"
14622   else
14623 <  ENABLE_PCRE_TRUE='#'
12821 <  ENABLE_PCRE_FALSE=
14623 >  warnings="no"
14624   fi
14625  
14626  
14627 +  if test "$warnings" = "yes"; then :
14628  
14629 < # Check whether --enable-openssl was given.
14630 < if test "${enable_openssl+set}" = set; then :
14631 <  enableval=$enable_openssl;  cf_enable_openssl=$enableval
14629 >
14630 >
14631 >
14632 >
14633 > for flag in -Wall; do
14634 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14635 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14636 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14637 > if eval \${$as_CACHEVAR+:} false; then :
14638 >  $as_echo_n "(cached) " >&6
14639   else
14640 <   cf_enable_openssl="auto"
14640 >
14641 >  ax_check_save_flags=$CFLAGS
14642 >  CFLAGS="$CFLAGS  $flag"
14643 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 > /* end confdefs.h.  */
14645 >
14646 > int
14647 > main ()
14648 > {
14649 >
14650 >  ;
14651 >  return 0;
14652 > }
14653 > _ACEOF
14654 > if ac_fn_c_try_compile "$LINENO"; then :
14655 >  eval "$as_CACHEVAR=yes"
14656 > else
14657 >  eval "$as_CACHEVAR=no"
14658 > fi
14659 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14660 >  CFLAGS=$ax_check_save_flags
14661   fi
14662 + eval ac_res=\$$as_CACHEVAR
14663 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14664 + $as_echo "$ac_res" >&6; }
14665 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14666  
14667 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
12834 < $as_echo_n "checking for OpenSSL... " >&6; }
12835 < if test "$cf_enable_openssl" != "no"; then
12836 <  cf_openssl_basedir=""
12837 <  if test "$cf_enable_openssl" != "auto" &&
12838 <     test "$cf_enable_openssl" != "yes"; then
12839 <          cf_openssl_basedir="${cf_enable_openssl}"
12840 <  else
12841 <        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12842 <                /opt /opt/openssl /usr/local/openssl; do
12843 <      if test -f "${dirs}/include/openssl/opensslv.h"; then
12844 <        cf_openssl_basedir="${dirs}"
12845 <        break
12846 <      fi
12847 <    done
12848 <    unset dirs
12849 <  fi
14667 > if ${CFLAGS+:} false; then :
14668  
14669 <    if test ! -z "$cf_openssl_basedir"; then
14670 <    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
14671 <      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
14672 <      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
14673 <    else
14674 <                  cf_openssl_basedir=""
14675 <    fi
14676 <  else
12859 <                            if test -f "/usr/include/openssl/opensslv.h"; then
12860 <      cf_openssl_basedir="/usr"
12861 <    fi
12862 <  fi
14669 >  case " $CFLAGS " in #(
14670 >  *" $flag "*) :
14671 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14672 >  (: CFLAGS already contains $flag) 2>&5
14673 >  ac_status=$?
14674 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14675 >  test $ac_status = 0; } ;; #(
14676 >  *) :
14677  
14678 <      if test ! -z "$cf_openssl_basedir"; then
14679 <    LIBS="-lcrypto -lssl $LIBS"
14680 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14681 < $as_echo "$cf_openssl_basedir" >&6; }
14682 <    cf_enable_openssl="yes"
14678 >     as_fn_append CFLAGS " $flag"
14679 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14680 >  (: CFLAGS="$CFLAGS") 2>&5
14681 >  ac_status=$?
14682 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14683 >  test $ac_status = 0; }
14684 >     ;;
14685 > esac
14686  
14687 < $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
14687 > else
14688 >
14689 >  CFLAGS=$flag
14690 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14691 >  (: CFLAGS="$CFLAGS") 2>&5
14692 >  ac_status=$?
14693 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14694 >  test $ac_status = 0; }
14695 >
14696 > fi
14697  
12872 –  else
12873 –    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
12874 – $as_echo "not found. Please check your path." >&6; }
12875 –    cf_enable_openssl="no"
12876 –  fi
12877 –  unset cf_openssl_basedir
14698   else
14699 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12880 < $as_echo "disabled" >&6; }
14699 >  :
14700   fi
14701  
14702 < if test "$cf_enable_openssl" != "no"; then :
14703 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14704 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14705 <  if test "$cross_compiling" = yes; then :
14706 <  cf_openssl_version_ok=no
14702 > done
14703 >
14704 >
14705 >
14706 >
14707 >
14708 > for flag in -Wbad-function-cast; do
14709 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14710 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14711 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14712 > if eval \${$as_CACHEVAR+:} false; then :
14713 >  $as_echo_n "(cached) " >&6
14714   else
14715 +
14716 +  ax_check_save_flags=$CFLAGS
14717 +  CFLAGS="$CFLAGS  $flag"
14718    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14719   /* end confdefs.h.  */
14720  
12892 –    #include <openssl/opensslv.h>
12893 –    #include <stdlib.h>
14721   int
14722   main ()
14723   {
14724 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14724 >
14725    ;
14726    return 0;
14727   }
14728   _ACEOF
14729 < if ac_fn_c_try_run "$LINENO"; then :
14730 <  cf_openssl_version_ok=yes
14729 > if ac_fn_c_try_compile "$LINENO"; then :
14730 >  eval "$as_CACHEVAR=yes"
14731   else
14732 <  cf_openssl_version_ok=no
14732 >  eval "$as_CACHEVAR=no"
14733   fi
14734 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14735 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14734 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14735 >  CFLAGS=$ax_check_save_flags
14736   fi
14737 + eval ac_res=\$$as_CACHEVAR
14738 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14739 + $as_echo "$ac_res" >&6; }
14740 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14741  
14742 + if ${CFLAGS+:} false; then :
14743  
14744 <  if test "$cf_openssl_version_ok" = "yes"; then :
14745 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14746 < $as_echo "found" >&6; }
14744 >  case " $CFLAGS " in #(
14745 >  *" $flag "*) :
14746 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14747 >  (: CFLAGS already contains $flag) 2>&5
14748 >  ac_status=$?
14749 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14750 >  test $ac_status = 0; } ;; #(
14751 >  *) :
14752  
14753 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14754 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14755 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14753 >     as_fn_append CFLAGS " $flag"
14754 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14755 >  (: CFLAGS="$CFLAGS") 2>&5
14756 >  ac_status=$?
14757 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14758 >  test $ac_status = 0; }
14759 >     ;;
14760 > esac
14761 >
14762 > else
14763 >
14764 >  CFLAGS=$flag
14765 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14766 >  (: CFLAGS="$CFLAGS") 2>&5
14767 >  ac_status=$?
14768 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14769 >  test $ac_status = 0; }
14770 >
14771 > fi
14772 >
14773 > else
14774 >  :
14775 > fi
14776 >
14777 > done
14778 >
14779 >
14780 >
14781 >
14782 >
14783 > for flag in -Wcast-align; do
14784 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14785 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14786 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14787 > if eval \${$as_CACHEVAR+:} false; then :
14788    $as_echo_n "(cached) " >&6
14789   else
14790 <  ac_check_lib_save_LIBS=$LIBS
14791 < LIBS="-lcrypto  $LIBS"
14792 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 >
14791 >  ax_check_save_flags=$CFLAGS
14792 >  CFLAGS="$CFLAGS  $flag"
14793 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794   /* end confdefs.h.  */
14795  
12926 – /* Override any GCC internal prototype to avoid an error.
12927 –   Use char because int might match the return type of a GCC
12928 –   builtin and then its argument prototype would still apply.  */
12929 – #ifdef __cplusplus
12930 – extern "C"
12931 – #endif
12932 – char RSA_free ();
14796   int
14797   main ()
14798   {
14799 < return RSA_free ();
14799 >
14800    ;
14801    return 0;
14802   }
14803   _ACEOF
14804 < if ac_fn_c_try_link "$LINENO"; then :
14805 <  ac_cv_lib_crypto_RSA_free=yes
14804 > if ac_fn_c_try_compile "$LINENO"; then :
14805 >  eval "$as_CACHEVAR=yes"
14806   else
14807 <  ac_cv_lib_crypto_RSA_free=no
14807 >  eval "$as_CACHEVAR=no"
14808   fi
14809 < rm -f core conftest.err conftest.$ac_objext \
14810 <    conftest$ac_exeext conftest.$ac_ext
12948 < LIBS=$ac_check_lib_save_LIBS
14809 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14810 >  CFLAGS=$ax_check_save_flags
14811   fi
14812 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14813 < $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14814 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14815 <  cat >>confdefs.h <<_ACEOF
12954 < #define HAVE_LIBCRYPTO 1
12955 < _ACEOF
14812 > eval ac_res=\$$as_CACHEVAR
14813 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14814 > $as_echo "$ac_res" >&6; }
14815 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14816  
14817 <  LIBS="-lcrypto $LIBS"
14817 > if ${CFLAGS+:} false; then :
14818 >
14819 >  case " $CFLAGS " in #(
14820 >  *" $flag "*) :
14821 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14822 >  (: CFLAGS already contains $flag) 2>&5
14823 >  ac_status=$?
14824 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825 >  test $ac_status = 0; } ;; #(
14826 >  *) :
14827 >
14828 >     as_fn_append CFLAGS " $flag"
14829 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14830 >  (: CFLAGS="$CFLAGS") 2>&5
14831 >  ac_status=$?
14832 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14833 >  test $ac_status = 0; }
14834 >     ;;
14835 > esac
14836 >
14837 > else
14838 >
14839 >  CFLAGS=$flag
14840 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14841 >  (: CFLAGS="$CFLAGS") 2>&5
14842 >  ac_status=$?
14843 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14844 >  test $ac_status = 0; }
14845  
14846   fi
14847  
14848 <    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14849 <  for ac_func in EVP_bf_cfb           \
14850 <                      EVP_cast5_cfb        \
14851 <                      EVP_idea_cfb         \
14852 <                      EVP_rc5_32_12_16_cfb \
14853 <                      EVP_des_ede3_cfb     \
14854 <                      EVP_des_cfb
14855 < do :
14856 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14857 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14858 < eval as_val=\$$as_ac_var
14859 <   if test "x$as_val" = x""yes; then :
14860 <  cat >>confdefs.h <<_ACEOF
14861 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14848 > else
14849 >  :
14850 > fi
14851 >
14852 > done
14853 >
14854 >
14855 >
14856 >
14857 >
14858 > for flag in -Wcast-function-type; do
14859 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14860 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14861 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14862 > if eval \${$as_CACHEVAR+:} false; then :
14863 >  $as_echo_n "(cached) " >&6
14864 > else
14865 >
14866 >  ax_check_save_flags=$CFLAGS
14867 >  CFLAGS="$CFLAGS  $flag"
14868 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 > /* end confdefs.h.  */
14870 >
14871 > int
14872 > main ()
14873 > {
14874 >
14875 >  ;
14876 >  return 0;
14877 > }
14878   _ACEOF
14879 + if ac_fn_c_try_compile "$LINENO"; then :
14880 +  eval "$as_CACHEVAR=yes"
14881 + else
14882 +  eval "$as_CACHEVAR=no"
14883 + fi
14884 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14885 +  CFLAGS=$ax_check_save_flags
14886 + fi
14887 + eval ac_res=\$$as_CACHEVAR
14888 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14889 + $as_echo "$ac_res" >&6; }
14890 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14891 +
14892 + if ${CFLAGS+:} false; then :
14893 +
14894 +  case " $CFLAGS " in #(
14895 +  *" $flag "*) :
14896 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14897 +  (: CFLAGS already contains $flag) 2>&5
14898 +  ac_status=$?
14899 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14900 +  test $ac_status = 0; } ;; #(
14901 +  *) :
14902 +
14903 +     as_fn_append CFLAGS " $flag"
14904 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14905 +  (: CFLAGS="$CFLAGS") 2>&5
14906 +  ac_status=$?
14907 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14908 +  test $ac_status = 0; }
14909 +     ;;
14910 + esac
14911 +
14912 + else
14913 +
14914 +  CFLAGS=$flag
14915 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14916 +  (: CFLAGS="$CFLAGS") 2>&5
14917 +  ac_status=$?
14918 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14919 +  test $ac_status = 0; }
14920  
14921   fi
14922 +
14923 + else
14924 +  :
14925 + fi
14926 +
14927   done
14928  
14929 +
14930 +
14931 +
14932 +
14933 + for flag in -Wcast-qual; do
14934 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14935 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14936 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14937 + if eval \${$as_CACHEVAR+:} false; then :
14938 +  $as_echo_n "(cached) " >&6
14939 + else
14940 +
14941 +  ax_check_save_flags=$CFLAGS
14942 +  CFLAGS="$CFLAGS  $flag"
14943 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 + /* end confdefs.h.  */
14945 +
14946 + int
14947 + main ()
14948 + {
14949 +
14950 +  ;
14951 +  return 0;
14952 + }
14953 + _ACEOF
14954 + if ac_fn_c_try_compile "$LINENO"; then :
14955 +  eval "$as_CACHEVAR=yes"
14956 + else
14957 +  eval "$as_CACHEVAR=no"
14958   fi
14959 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14960 +  CFLAGS=$ax_check_save_flags
14961 + fi
14962 + eval ac_res=\$$as_CACHEVAR
14963 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14964 + $as_echo "$ac_res" >&6; }
14965 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14966 +
14967 + if ${CFLAGS+:} false; then :
14968 +
14969 +  case " $CFLAGS " in #(
14970 +  *" $flag "*) :
14971 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14972 +  (: CFLAGS already contains $flag) 2>&5
14973 +  ac_status=$?
14974 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14975 +  test $ac_status = 0; } ;; #(
14976 +  *) :
14977 +
14978 +     as_fn_append CFLAGS " $flag"
14979 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14980 +  (: CFLAGS="$CFLAGS") 2>&5
14981 +  ac_status=$?
14982 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14983 +  test $ac_status = 0; }
14984 +     ;;
14985 + esac
14986  
14987   else
14988 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14989 < $as_echo "no - OpenSSL support disabled" >&6; }
14990 <    cf_enable_openssl="no"
14988 >
14989 >  CFLAGS=$flag
14990 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14991 >  (: CFLAGS="$CFLAGS") 2>&5
14992 >  ac_status=$?
14993 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14994 >  test $ac_status = 0; }
14995 >
14996   fi
14997 +
14998 + else
14999 +  :
15000   fi
15001  
15002 < if test "$cf_enable_openssl" = yes; then
15003 <  ENABLE_SSL_TRUE=
15004 <  ENABLE_SSL_FALSE='#'
15002 > done
15003 >
15004 >
15005 >
15006 >
15007 >
15008 > for flag in -Wclobbered; do
15009 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15010 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15011 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15012 > if eval \${$as_CACHEVAR+:} false; then :
15013 >  $as_echo_n "(cached) " >&6
15014 > else
15015 >
15016 >  ax_check_save_flags=$CFLAGS
15017 >  CFLAGS="$CFLAGS  $flag"
15018 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 > /* end confdefs.h.  */
15020 >
15021 > int
15022 > main ()
15023 > {
15024 >
15025 >  ;
15026 >  return 0;
15027 > }
15028 > _ACEOF
15029 > if ac_fn_c_try_compile "$LINENO"; then :
15030 >  eval "$as_CACHEVAR=yes"
15031   else
15032 <  ENABLE_SSL_TRUE='#'
12994 <  ENABLE_SSL_FALSE=
15032 >  eval "$as_CACHEVAR=no"
15033   fi
15034 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15035 +  CFLAGS=$ax_check_save_flags
15036 + fi
15037 + eval ac_res=\$$as_CACHEVAR
15038 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15039 + $as_echo "$ac_res" >&6; }
15040 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15041  
15042 + if ${CFLAGS+:} false; then :
15043  
15044 +  case " $CFLAGS " in #(
15045 +  *" $flag "*) :
15046 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15047 +  (: CFLAGS already contains $flag) 2>&5
15048 +  ac_status=$?
15049 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15050 +  test $ac_status = 0; } ;; #(
15051 +  *) :
15052 +
15053 +     as_fn_append CFLAGS " $flag"
15054 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15055 +  (: CFLAGS="$CFLAGS") 2>&5
15056 +  ac_status=$?
15057 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15058 +  test $ac_status = 0; }
15059 +     ;;
15060 + esac
15061  
12999 – # Check whether --enable-assert was given.
13000 – if test "${enable_assert+set}" = set; then :
13001 –  enableval=$enable_assert; assert=$enableval
15062   else
15063 <  assert=no
15063 >
15064 >  CFLAGS=$flag
15065 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15066 >  (: CFLAGS="$CFLAGS") 2>&5
15067 >  ac_status=$?
15068 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15069 >  test $ac_status = 0; }
15070 >
15071 > fi
15072 >
15073 > else
15074 >  :
15075   fi
15076  
15077 + done
15078  
13007 – if test "$assert" = "no"; then :
15079  
13009 – $as_echo "#define NDEBUG 1" >>confdefs.h
15080  
15081 +
15082 +
15083 + for flag in -Wduplicated-cond; do
15084 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15085 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15086 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15087 + if eval \${$as_CACHEVAR+:} false; then :
15088 +  $as_echo_n "(cached) " >&6
15089 + else
15090 +
15091 +  ax_check_save_flags=$CFLAGS
15092 +  CFLAGS="$CFLAGS  $flag"
15093 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 + /* end confdefs.h.  */
15095 +
15096 + int
15097 + main ()
15098 + {
15099 +
15100 +  ;
15101 +  return 0;
15102 + }
15103 + _ACEOF
15104 + if ac_fn_c_try_compile "$LINENO"; then :
15105 +  eval "$as_CACHEVAR=yes"
15106 + else
15107 +  eval "$as_CACHEVAR=no"
15108 + fi
15109 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15110 +  CFLAGS=$ax_check_save_flags
15111   fi
15112 + eval ac_res=\$$as_CACHEVAR
15113 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15114 + $as_echo "$ac_res" >&6; }
15115 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15116 +
15117 + if ${CFLAGS+:} false; then :
15118 +
15119 +  case " $CFLAGS " in #(
15120 +  *" $flag "*) :
15121 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15122 +  (: CFLAGS already contains $flag) 2>&5
15123 +  ac_status=$?
15124 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15125 +  test $ac_status = 0; } ;; #(
15126 +  *) :
15127 +
15128 +     as_fn_append CFLAGS " $flag"
15129 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15130 +  (: CFLAGS="$CFLAGS") 2>&5
15131 +  ac_status=$?
15132 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15133 +  test $ac_status = 0; }
15134 +     ;;
15135 + esac
15136  
15137 + else
15138 +
15139 +  CFLAGS=$flag
15140 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15141 +  (: CFLAGS="$CFLAGS") 2>&5
15142 +  ac_status=$?
15143 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15144 +  test $ac_status = 0; }
15145 +
15146 + fi
15147  
13014 – # Check whether --enable-small-net was given.
13015 – if test "${enable_small_net+set}" = set; then :
13016 –  enableval=$enable_small_net; small_net=$enableval
15148   else
15149 <  small_net=no
15149 >  :
15150   fi
15151  
15152 + done
15153 +
15154  
13022 – if test "$small_net" = "yes"; then :
15155  
15156  
13025 – $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
15157  
15158 + for flag in -Wempty-body; do
15159 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15160 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15161 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15162 + if eval \${$as_CACHEVAR+:} false; then :
15163 +  $as_echo_n "(cached) " >&6
15164 + else
15165 +
15166 +  ax_check_save_flags=$CFLAGS
15167 +  CFLAGS="$CFLAGS  $flag"
15168 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 + /* end confdefs.h.  */
15170  
15171 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
15171 > int
15172 > main ()
15173 > {
15174  
15175 +  ;
15176 +  return 0;
15177 + }
15178 + _ACEOF
15179 + if ac_fn_c_try_compile "$LINENO"; then :
15180 +  eval "$as_CACHEVAR=yes"
15181 + else
15182 +  eval "$as_CACHEVAR=no"
15183 + fi
15184 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15185 +  CFLAGS=$ax_check_save_flags
15186 + fi
15187 + eval ac_res=\$$as_CACHEVAR
15188 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15189 + $as_echo "$ac_res" >&6; }
15190 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15191  
15192 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
15192 > if ${CFLAGS+:} false; then :
15193  
15194 +  case " $CFLAGS " in #(
15195 +  *" $flag "*) :
15196 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15197 +  (: CFLAGS already contains $flag) 2>&5
15198 +  ac_status=$?
15199 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15200 +  test $ac_status = 0; } ;; #(
15201 +  *) :
15202  
15203 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
15203 >     as_fn_append CFLAGS " $flag"
15204 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15205 >  (: CFLAGS="$CFLAGS") 2>&5
15206 >  ac_status=$?
15207 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15208 >  test $ac_status = 0; }
15209 >     ;;
15210 > esac
15211  
15212 + else
15213  
15214 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
15214 >  CFLAGS=$flag
15215 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15216 >  (: CFLAGS="$CFLAGS") 2>&5
15217 >  ac_status=$?
15218 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15219 >  test $ac_status = 0; }
15220  
15221 + fi
15222  
15223 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
15223 > else
15224 >  :
15225 > fi
15226  
15227 + done
15228  
13043 – $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
15229  
15230  
13046 – $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
15231  
15232  
15233 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
15233 > for flag in -Wignored-qualifiers; do
15234 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15235 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15236 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15237 > if eval \${$as_CACHEVAR+:} false; then :
15238 >  $as_echo_n "(cached) " >&6
15239 > else
15240  
15241 +  ax_check_save_flags=$CFLAGS
15242 +  CFLAGS="$CFLAGS  $flag"
15243 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 + /* end confdefs.h.  */
15245  
15246 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
15246 > int
15247 > main ()
15248 > {
15249  
15250 +  ;
15251 +  return 0;
15252 + }
15253 + _ACEOF
15254 + if ac_fn_c_try_compile "$LINENO"; then :
15255 +  eval "$as_CACHEVAR=yes"
15256   else
15257 +  eval "$as_CACHEVAR=no"
15258 + fi
15259 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15260 +  CFLAGS=$ax_check_save_flags
15261 + fi
15262 + eval ac_res=\$$as_CACHEVAR
15263 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15264 + $as_echo "$ac_res" >&6; }
15265 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15266  
15267 + if ${CFLAGS+:} false; then :
15268  
15269 +  case " $CFLAGS " in #(
15270 +  *" $flag "*) :
15271 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15272 +  (: CFLAGS already contains $flag) 2>&5
15273 +  ac_status=$?
15274 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15275 +  test $ac_status = 0; } ;; #(
15276 +  *) :
15277 +
15278 +     as_fn_append CFLAGS " $flag"
15279 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15280 +  (: CFLAGS="$CFLAGS") 2>&5
15281 +  ac_status=$?
15282 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15283 +  test $ac_status = 0; }
15284 +     ;;
15285 + esac
15286  
15287 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
15287 > else
15288  
15289 +  CFLAGS=$flag
15290 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15291 +  (: CFLAGS="$CFLAGS") 2>&5
15292 +  ac_status=$?
15293 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15294 +  test $ac_status = 0; }
15295  
15296 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
15296 > fi
15297  
15298 + else
15299 +  :
15300 + fi
15301  
15302 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
15302 > done
15303  
15304  
13067 – $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
15305  
15306  
13070 – $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
15307  
15308 + for flag in -Wlogical-op; do
15309 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15310 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15311 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15312 + if eval \${$as_CACHEVAR+:} false; then :
15313 +  $as_echo_n "(cached) " >&6
15314 + else
15315  
15316 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
15316 >  ax_check_save_flags=$CFLAGS
15317 >  CFLAGS="$CFLAGS  $flag"
15318 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 > /* end confdefs.h.  */
15320  
15321 + int
15322 + main ()
15323 + {
15324  
15325 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
15325 >  ;
15326 >  return 0;
15327 > }
15328 > _ACEOF
15329 > if ac_fn_c_try_compile "$LINENO"; then :
15330 >  eval "$as_CACHEVAR=yes"
15331 > else
15332 >  eval "$as_CACHEVAR=no"
15333 > fi
15334 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15335 >  CFLAGS=$ax_check_save_flags
15336 > fi
15337 > eval ac_res=\$$as_CACHEVAR
15338 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15339 > $as_echo "$ac_res" >&6; }
15340 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15341  
15342 + if ${CFLAGS+:} false; then :
15343  
15344 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
15344 >  case " $CFLAGS " in #(
15345 >  *" $flag "*) :
15346 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15347 >  (: CFLAGS already contains $flag) 2>&5
15348 >  ac_status=$?
15349 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15350 >  test $ac_status = 0; } ;; #(
15351 >  *) :
15352  
15353 +     as_fn_append CFLAGS " $flag"
15354 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15355 +  (: CFLAGS="$CFLAGS") 2>&5
15356 +  ac_status=$?
15357 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15358 +  test $ac_status = 0; }
15359 +     ;;
15360 + esac
15361  
15362 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
15362 > else
15363  
15364 +  CFLAGS=$flag
15365 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15366 +  (: CFLAGS="$CFLAGS") 2>&5
15367 +  ac_status=$?
15368 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15369 +  test $ac_status = 0; }
15370  
15371 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
15371 > fi
15372  
15373 + else
15374 +  :
15375   fi
15376  
15377 + done
15378  
13090 – # Argument processing.
15379  
15380 <    desired_iopoll_mechanism="none"
15381 <    # Check whether --enable-kqueue was given.
15382 < if test "${enable_kqueue+set}" = set; then :
15383 <  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
15380 >
15381 >
15382 >
15383 > for flag in -Wmissing-declarations; do
15384 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15385 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15386 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15387 > if eval \${$as_CACHEVAR+:} false; then :
15388 >  $as_echo_n "(cached) " >&6
15389 > else
15390 >
15391 >  ax_check_save_flags=$CFLAGS
15392 >  CFLAGS="$CFLAGS  $flag"
15393 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15394 > /* end confdefs.h.  */
15395 >
15396 > int
15397 > main ()
15398 > {
15399 >
15400 >  ;
15401 >  return 0;
15402 > }
15403 > _ACEOF
15404 > if ac_fn_c_try_compile "$LINENO"; then :
15405 >  eval "$as_CACHEVAR=yes"
15406 > else
15407 >  eval "$as_CACHEVAR=no"
15408   fi
15409 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15410 +  CFLAGS=$ax_check_save_flags
15411 + fi
15412 + eval ac_res=\$$as_CACHEVAR
15413 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15414 + $as_echo "$ac_res" >&6; }
15415 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15416 +
15417 + if ${CFLAGS+:} false; then :
15418 +
15419 +  case " $CFLAGS " in #(
15420 +  *" $flag "*) :
15421 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15422 +  (: CFLAGS already contains $flag) 2>&5
15423 +  ac_status=$?
15424 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15425 +  test $ac_status = 0; } ;; #(
15426 +  *) :
15427 +
15428 +     as_fn_append CFLAGS " $flag"
15429 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15430 +  (: CFLAGS="$CFLAGS") 2>&5
15431 +  ac_status=$?
15432 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15433 +  test $ac_status = 0; }
15434 +     ;;
15435 + esac
15436 +
15437 + else
15438 +
15439 +  CFLAGS=$flag
15440 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15441 +  (: CFLAGS="$CFLAGS") 2>&5
15442 +  ac_status=$?
15443 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444 +  test $ac_status = 0; }
15445  
13098 –  # Check whether --enable-epoll was given.
13099 – if test "${enable_epoll+set}" = set; then :
13100 –  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
15446   fi
15447  
15448 <  # Check whether --enable-devpoll was given.
15449 < if test "${enable_devpoll+set}" = set; then :
13105 <  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
15448 > else
15449 >  :
15450   fi
15451  
15452 <  # Check whether --enable-rtsigio was given.
15453 < if test "${enable_rtsigio+set}" = set; then :
15454 <  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
15452 > done
15453 >
15454 >
15455 >
15456 >
15457 >
15458 > for flag in -Wmissing-field-initializers; do
15459 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15460 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15461 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15462 > if eval \${$as_CACHEVAR+:} false; then :
15463 >  $as_echo_n "(cached) " >&6
15464 > else
15465 >
15466 >  ax_check_save_flags=$CFLAGS
15467 >  CFLAGS="$CFLAGS  $flag"
15468 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15469 > /* end confdefs.h.  */
15470 >
15471 > int
15472 > main ()
15473 > {
15474 >
15475 >  ;
15476 >  return 0;
15477 > }
15478 > _ACEOF
15479 > if ac_fn_c_try_compile "$LINENO"; then :
15480 >  eval "$as_CACHEVAR=yes"
15481 > else
15482 >  eval "$as_CACHEVAR=no"
15483 > fi
15484 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15485 >  CFLAGS=$ax_check_save_flags
15486   fi
15487 + eval ac_res=\$$as_CACHEVAR
15488 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15489 + $as_echo "$ac_res" >&6; }
15490 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15491 +
15492 + if ${CFLAGS+:} false; then :
15493 +
15494 +  case " $CFLAGS " in #(
15495 +  *" $flag "*) :
15496 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15497 +  (: CFLAGS already contains $flag) 2>&5
15498 +  ac_status=$?
15499 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15500 +  test $ac_status = 0; } ;; #(
15501 +  *) :
15502 +
15503 +     as_fn_append CFLAGS " $flag"
15504 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15505 +  (: CFLAGS="$CFLAGS") 2>&5
15506 +  ac_status=$?
15507 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15508 +  test $ac_status = 0; }
15509 +     ;;
15510 + esac
15511 +
15512 + else
15513 +
15514 +  CFLAGS=$flag
15515 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15516 +  (: CFLAGS="$CFLAGS") 2>&5
15517 +  ac_status=$?
15518 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15519 +  test $ac_status = 0; }
15520  
13113 –  # Check whether --enable-poll was given.
13114 – if test "${enable_poll+set}" = set; then :
13115 –  enableval=$enable_poll; desired_iopoll_mechanism="poll"
15521   fi
15522  
15523 <  # Check whether --enable-select was given.
15524 < if test "${enable_select+set}" = set; then :
13120 <  enableval=$enable_select; desired_iopoll_mechanism="select"
15523 > else
15524 >  :
15525   fi
15526  
15527 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
15528 < $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13125 <  iopoll_mechanism_none=0
15527 > done
15528 >
15529  
13127 – cat >>confdefs.h <<_ACEOF
13128 – #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13129 – _ACEOF
15530  
13131 –      iopoll_mechanism_kqueue=1
15531  
13133 – cat >>confdefs.h <<_ACEOF
13134 – #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13135 – _ACEOF
15532  
15533 + for flag in -Wmissing-include-dirs; do
15534 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15535 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15536 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15537 + if eval \${$as_CACHEVAR+:} false; then :
15538 +  $as_echo_n "(cached) " >&6
15539 + else
15540 +
15541 +  ax_check_save_flags=$CFLAGS
15542 +  CFLAGS="$CFLAGS  $flag"
15543    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544   /* end confdefs.h.  */
13139 – /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13140 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13141 – #define kevent innocuous_kevent
15545  
15546 < /* System header to define __stub macros and hopefully few prototypes,
15547 <    which can conflict with char kevent (); below.
15548 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15549 <    <limits.h> exists even on freestanding compilers.  */
15546 > int
15547 > main ()
15548 > {
15549 >
15550 >  ;
15551 >  return 0;
15552 > }
15553 > _ACEOF
15554 > if ac_fn_c_try_compile "$LINENO"; then :
15555 >  eval "$as_CACHEVAR=yes"
15556 > else
15557 >  eval "$as_CACHEVAR=no"
15558 > fi
15559 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15560 >  CFLAGS=$ax_check_save_flags
15561 > fi
15562 > eval ac_res=\$$as_CACHEVAR
15563 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15564 > $as_echo "$ac_res" >&6; }
15565 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15566 >
15567 > if ${CFLAGS+:} false; then :
15568 >
15569 >  case " $CFLAGS " in #(
15570 >  *" $flag "*) :
15571 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15572 >  (: CFLAGS already contains $flag) 2>&5
15573 >  ac_status=$?
15574 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15575 >  test $ac_status = 0; } ;; #(
15576 >  *) :
15577 >
15578 >     as_fn_append CFLAGS " $flag"
15579 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15580 >  (: CFLAGS="$CFLAGS") 2>&5
15581 >  ac_status=$?
15582 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15583 >  test $ac_status = 0; }
15584 >     ;;
15585 > esac
15586 >
15587 > else
15588 >
15589 >  CFLAGS=$flag
15590 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15591 >  (: CFLAGS="$CFLAGS") 2>&5
15592 >  ac_status=$?
15593 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15594 >  test $ac_status = 0; }
15595 >
15596 > fi
15597 >
15598 > else
15599 >  :
15600 > fi
15601 >
15602 > done
15603 >
15604  
13148 – #ifdef __STDC__
13149 – # include <limits.h>
13150 – #else
13151 – # include <assert.h>
13152 – #endif
15605  
13154 – #undef kevent
15606  
15607 < /* Override any GCC internal prototype to avoid an error.
15608 <   Use char because int might match the return type of a GCC
15609 <   builtin and then its argument prototype would still apply.  */
15610 < #ifdef __cplusplus
15611 < extern "C"
15612 < #endif
15613 < char kevent ();
15614 < /* The GNU C library defines this for functions which it implements
15615 <    to always fail with ENOSYS.  Some functions are actually named
15616 <    something starting with __ and the normal name is an alias.  */
15617 < #if defined __stub_kevent || defined __stub___kevent
15618 < choke me
15619 < #endif
15607 >
15608 > for flag in -Wmissing-parameter-type; do
15609 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15610 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15611 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15612 > if eval \${$as_CACHEVAR+:} false; then :
15613 >  $as_echo_n "(cached) " >&6
15614 > else
15615 >
15616 >  ax_check_save_flags=$CFLAGS
15617 >  CFLAGS="$CFLAGS  $flag"
15618 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15619 > /* end confdefs.h.  */
15620  
15621   int
15622   main ()
15623   {
15624 < return kevent ();
15624 >
15625    ;
15626    return 0;
15627   }
15628   _ACEOF
15629 < if ac_fn_c_try_link "$LINENO"; then :
15630 <  is_kqueue_mechanism_available="yes"
15629 > if ac_fn_c_try_compile "$LINENO"; then :
15630 >  eval "$as_CACHEVAR=yes"
15631   else
15632 <  is_kqueue_mechanism_available="no"
15632 >  eval "$as_CACHEVAR=no"
15633   fi
15634 < rm -f core conftest.err conftest.$ac_objext \
15635 <    conftest$ac_exeext conftest.$ac_ext
15636 <      iopoll_mechanism_epoll=2
15634 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15635 >  CFLAGS=$ax_check_save_flags
15636 > fi
15637 > eval ac_res=\$$as_CACHEVAR
15638 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15639 > $as_echo "$ac_res" >&6; }
15640 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15641  
15642 < cat >>confdefs.h <<_ACEOF
15643 < #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
15644 < _ACEOF
15642 > if ${CFLAGS+:} false; then :
15643 >
15644 >  case " $CFLAGS " in #(
15645 >  *" $flag "*) :
15646 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15647 >  (: CFLAGS already contains $flag) 2>&5
15648 >  ac_status=$?
15649 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15650 >  test $ac_status = 0; } ;; #(
15651 >  *) :
15652 >
15653 >     as_fn_append CFLAGS " $flag"
15654 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15655 >  (: CFLAGS="$CFLAGS") 2>&5
15656 >  ac_status=$?
15657 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15658 >  test $ac_status = 0; }
15659 >     ;;
15660 > esac
15661 >
15662 > else
15663 >
15664 >  CFLAGS=$flag
15665 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15666 >  (: CFLAGS="$CFLAGS") 2>&5
15667 >  ac_status=$?
15668 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15669 >  test $ac_status = 0; }
15670 >
15671 > fi
15672  
13191 –  if test "$cross_compiling" = yes; then :
13192 –  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13193 – $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13194 – as_fn_error "cannot run test program while cross compiling
13195 – See \`config.log' for more details." "$LINENO" 5; }
15673   else
15674 +  :
15675 + fi
15676 +
15677 + done
15678 +
15679 +
15680 +
15681 +
15682 +
15683 + for flag in -Wmissing-prototypes; do
15684 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15685 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15686 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15687 + if eval \${$as_CACHEVAR+:} false; then :
15688 +  $as_echo_n "(cached) " >&6
15689 + else
15690 +
15691 +  ax_check_save_flags=$CFLAGS
15692 +  CFLAGS="$CFLAGS  $flag"
15693    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694   /* end confdefs.h.  */
15695  
15696 < #include <sys/epoll.h>
15697 < #include <sys/syscall.h>
15698 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
13203 < #if !defined(__NR_epoll_create)
13204 < #if defined(__ia64__)
13205 < #define __NR_epoll_create 1243
13206 < #elif defined(__x86_64__)
13207 < #define __NR_epoll_create 214
13208 < #elif defined(__sparc64__) || defined(__sparc__)
13209 < #define __NR_epoll_create 193
13210 < #elif defined(__s390__) || defined(__m68k__)
13211 < #define __NR_epoll_create 249
13212 < #elif defined(__ppc64__) || defined(__ppc__)
13213 < #define __NR_epoll_create 236
13214 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13215 < #define __NR_epoll_create 224
13216 < #elif defined(__alpha__)
13217 < #define __NR_epoll_create 407
13218 < #elif defined(__sh64__)
13219 < #define __NR_epoll_create 282
13220 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13221 < #define __NR_epoll_create 254
13222 < #else
13223 < #error No system call numbers defined for epoll family.
13224 < #endif
13225 < #endif
13226 < _syscall1(int, epoll_create, int, size)
13227 < #endif
13228 < main() { return epoll_create(256) == -1 ? 1 : 0; }
15696 > int
15697 > main ()
15698 > {
15699  
15700 +  ;
15701 +  return 0;
15702 + }
15703   _ACEOF
15704 < if ac_fn_c_try_run "$LINENO"; then :
15705 <  is_epoll_mechanism_available="yes"
15704 > if ac_fn_c_try_compile "$LINENO"; then :
15705 >  eval "$as_CACHEVAR=yes"
15706   else
15707 <  is_epoll_mechanism_available="no"
15707 >  eval "$as_CACHEVAR=no"
15708   fi
15709 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15710 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
15709 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15710 >  CFLAGS=$ax_check_save_flags
15711   fi
15712 + eval ac_res=\$$as_CACHEVAR
15713 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15714 + $as_echo "$ac_res" >&6; }
15715 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15716  
15717 <      iopoll_mechanism_devpoll=3
15717 > if ${CFLAGS+:} false; then :
15718  
15719 < cat >>confdefs.h <<_ACEOF
15720 < #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
15721 < _ACEOF
15719 >  case " $CFLAGS " in #(
15720 >  *" $flag "*) :
15721 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15722 >  (: CFLAGS already contains $flag) 2>&5
15723 >  ac_status=$?
15724 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15725 >  test $ac_status = 0; } ;; #(
15726 >  *) :
15727 >
15728 >     as_fn_append CFLAGS " $flag"
15729 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15730 >  (: CFLAGS="$CFLAGS") 2>&5
15731 >  ac_status=$?
15732 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15733 >  test $ac_status = 0; }
15734 >     ;;
15735 > esac
15736 >
15737 > else
15738 >
15739 >  CFLAGS=$flag
15740 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15741 >  (: CFLAGS="$CFLAGS") 2>&5
15742 >  ac_status=$?
15743 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15744 >  test $ac_status = 0; }
15745 >
15746 > fi
15747 >
15748 > else
15749 >  :
15750 > fi
15751  
15752 + done
15753 +
15754 +
15755 +
15756 +
15757 +
15758 + for flag in -Wnested-externs; do
15759 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15760 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15761 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15762 + if eval \${$as_CACHEVAR+:} false; then :
15763 +  $as_echo_n "(cached) " >&6
15764 + else
15765 +
15766 +  ax_check_save_flags=$CFLAGS
15767 +  CFLAGS="$CFLAGS  $flag"
15768    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15769   /* end confdefs.h.  */
15770 < #include <devpoll.h>
15770 >
15771   int
15772   main ()
15773   {
# Line 13255 | Line 15777 | main ()
15777   }
15778   _ACEOF
15779   if ac_fn_c_try_compile "$LINENO"; then :
15780 <  is_devpoll_mechanism_available="yes"
15780 >  eval "$as_CACHEVAR=yes"
15781   else
15782 <  is_devpoll_mechanism_available="no"
15782 >  eval "$as_CACHEVAR=no"
15783   fi
15784   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15785 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15785 >  CFLAGS=$ax_check_save_flags
15786 > fi
15787 > eval ac_res=\$$as_CACHEVAR
15788 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15789 > $as_echo "$ac_res" >&6; }
15790 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15791  
15792 < $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
15792 > if ${CFLAGS+:} false; then :
15793  
15794 <  fi
15794 >  case " $CFLAGS " in #(
15795 >  *" $flag "*) :
15796 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15797 >  (: CFLAGS already contains $flag) 2>&5
15798 >  ac_status=$?
15799 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15800 >  test $ac_status = 0; } ;; #(
15801 >  *) :
15802 >
15803 >     as_fn_append CFLAGS " $flag"
15804 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15805 >  (: CFLAGS="$CFLAGS") 2>&5
15806 >  ac_status=$?
15807 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15808 >  test $ac_status = 0; }
15809 >     ;;
15810 > esac
15811 >
15812 > else
15813 >
15814 >  CFLAGS=$flag
15815 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15816 >  (: CFLAGS="$CFLAGS") 2>&5
15817 >  ac_status=$?
15818 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15819 >  test $ac_status = 0; }
15820 >
15821 > fi
15822 >
15823 > else
15824 >  :
15825 > fi
15826 >
15827 > done
15828 >
15829 >
15830 >
15831 >
15832 >
15833 > for flag in -Wold-style-declaration; do
15834 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15835 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15836 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15837 > if eval \${$as_CACHEVAR+:} false; then :
15838 >  $as_echo_n "(cached) " >&6
15839 > else
15840 >
15841 >  ax_check_save_flags=$CFLAGS
15842 >  CFLAGS="$CFLAGS  $flag"
15843    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844   /* end confdefs.h.  */
15845 < #include <sys/devpoll.h>
15845 >
15846   int
15847   main ()
15848   {
# Line 13277 | Line 15852 | main ()
15852   }
15853   _ACEOF
15854   if ac_fn_c_try_compile "$LINENO"; then :
15855 <  is_devpoll_mechanism_available="yes"
15855 >  eval "$as_CACHEVAR=yes"
15856   else
15857 <  is_devpoll_mechanism_available="no"
15857 >  eval "$as_CACHEVAR=no"
15858   fi
15859   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15860 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15860 >  CFLAGS=$ax_check_save_flags
15861 > fi
15862 > eval ac_res=\$$as_CACHEVAR
15863 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15864 > $as_echo "$ac_res" >&6; }
15865 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15866  
15867 < $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
15867 > if ${CFLAGS+:} false; then :
15868  
15869 <  fi
15870 <      iopoll_mechanism_rtsigio=4
15869 >  case " $CFLAGS " in #(
15870 >  *" $flag "*) :
15871 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15872 >  (: CFLAGS already contains $flag) 2>&5
15873 >  ac_status=$?
15874 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15875 >  test $ac_status = 0; } ;; #(
15876 >  *) :
15877  
15878 < cat >>confdefs.h <<_ACEOF
15879 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
15880 < _ACEOF
15878 >     as_fn_append CFLAGS " $flag"
15879 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15880 >  (: CFLAGS="$CFLAGS") 2>&5
15881 >  ac_status=$?
15882 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15883 >  test $ac_status = 0; }
15884 >     ;;
15885 > esac
15886  
13296 –  if test "$cross_compiling" = yes; then :
13297 –  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13298 – $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13299 – as_fn_error "cannot run test program while cross compiling
13300 – See \`config.log' for more details." "$LINENO" 5; }
15887   else
15888 +
15889 +  CFLAGS=$flag
15890 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15891 +  (: CFLAGS="$CFLAGS") 2>&5
15892 +  ac_status=$?
15893 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15894 +  test $ac_status = 0; }
15895 +
15896 + fi
15897 +
15898 + else
15899 +  :
15900 + fi
15901 +
15902 + done
15903 +
15904 +
15905 +
15906 +
15907 +
15908 + for flag in -Woverride-init; do
15909 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15910 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15911 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15912 + if eval \${$as_CACHEVAR+:} false; then :
15913 +  $as_echo_n "(cached) " >&6
15914 + else
15915 +
15916 +  ax_check_save_flags=$CFLAGS
15917 +  CFLAGS="$CFLAGS  $flag"
15918    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919   /* end confdefs.h.  */
15920  
13305 – #include <fcntl.h>
13306 – #ifdef F_SETSIG
13307 – main () { return 0; } /* F_SETSIG defined */
13308 – #else
13309 – main () { return 1; } /* F_SETSIG not defined */
13310 – #endif
13311 –
15921   int
15922   main ()
15923   {
# Line 13317 | Line 15926 | main ()
15926    return 0;
15927   }
15928   _ACEOF
15929 < if ac_fn_c_try_run "$LINENO"; then :
15930 <  is_rtsigio_mechanism_available="yes"
15929 > if ac_fn_c_try_compile "$LINENO"; then :
15930 >  eval "$as_CACHEVAR=yes"
15931   else
15932 <  is_rtsigio_mechanism_available="no"
15932 >  eval "$as_CACHEVAR=no"
15933   fi
15934 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15935 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
15934 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 >  CFLAGS=$ax_check_save_flags
15936   fi
15937 + eval ac_res=\$$as_CACHEVAR
15938 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15939 + $as_echo "$ac_res" >&6; }
15940 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15941 +
15942 + if ${CFLAGS+:} false; then :
15943 +
15944 +  case " $CFLAGS " in #(
15945 +  *" $flag "*) :
15946 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15947 +  (: CFLAGS already contains $flag) 2>&5
15948 +  ac_status=$?
15949 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15950 +  test $ac_status = 0; } ;; #(
15951 +  *) :
15952 +
15953 +     as_fn_append CFLAGS " $flag"
15954 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15955 +  (: CFLAGS="$CFLAGS") 2>&5
15956 +  ac_status=$?
15957 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15958 +  test $ac_status = 0; }
15959 +     ;;
15960 + esac
15961 +
15962 + else
15963 +
15964 +  CFLAGS=$flag
15965 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15966 +  (: CFLAGS="$CFLAGS") 2>&5
15967 +  ac_status=$?
15968 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15969 +  test $ac_status = 0; }
15970 +
15971 + fi
15972 +
15973 + else
15974 +  :
15975 + fi
15976 +
15977 + done
15978 +
15979 +
15980  
13329 –      iopoll_mechanism_poll=5
15981  
13331 – cat >>confdefs.h <<_ACEOF
13332 – #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13333 – _ACEOF
15982  
15983 + for flag in -Wpointer-arith; do
15984 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15985 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15986 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15987 + if eval \${$as_CACHEVAR+:} false; then :
15988 +  $as_echo_n "(cached) " >&6
15989 + else
15990 +
15991 +  ax_check_save_flags=$CFLAGS
15992 +  CFLAGS="$CFLAGS  $flag"
15993    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994   /* end confdefs.h.  */
13337 – /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13338 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13339 – #define poll innocuous_poll
15995  
15996 < /* System header to define __stub macros and hopefully few prototypes,
15997 <    which can conflict with char poll (); below.
15998 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15999 <    <limits.h> exists even on freestanding compilers.  */
15996 > int
15997 > main ()
15998 > {
15999 >
16000 >  ;
16001 >  return 0;
16002 > }
16003 > _ACEOF
16004 > if ac_fn_c_try_compile "$LINENO"; then :
16005 >  eval "$as_CACHEVAR=yes"
16006 > else
16007 >  eval "$as_CACHEVAR=no"
16008 > fi
16009 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16010 >  CFLAGS=$ax_check_save_flags
16011 > fi
16012 > eval ac_res=\$$as_CACHEVAR
16013 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16014 > $as_echo "$ac_res" >&6; }
16015 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16016 >
16017 > if ${CFLAGS+:} false; then :
16018 >
16019 >  case " $CFLAGS " in #(
16020 >  *" $flag "*) :
16021 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16022 >  (: CFLAGS already contains $flag) 2>&5
16023 >  ac_status=$?
16024 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16025 >  test $ac_status = 0; } ;; #(
16026 >  *) :
16027 >
16028 >     as_fn_append CFLAGS " $flag"
16029 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16030 >  (: CFLAGS="$CFLAGS") 2>&5
16031 >  ac_status=$?
16032 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16033 >  test $ac_status = 0; }
16034 >     ;;
16035 > esac
16036 >
16037 > else
16038 >
16039 >  CFLAGS=$flag
16040 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16041 >  (: CFLAGS="$CFLAGS") 2>&5
16042 >  ac_status=$?
16043 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16044 >  test $ac_status = 0; }
16045 >
16046 > fi
16047 >
16048 > else
16049 >  :
16050 > fi
16051 >
16052 > done
16053 >
16054  
13346 – #ifdef __STDC__
13347 – # include <limits.h>
13348 – #else
13349 – # include <assert.h>
13350 – #endif
16055  
13352 – #undef poll
16056  
16057 < /* Override any GCC internal prototype to avoid an error.
16058 <   Use char because int might match the return type of a GCC
16059 <   builtin and then its argument prototype would still apply.  */
16060 < #ifdef __cplusplus
16061 < extern "C"
16062 < #endif
16063 < char poll ();
16064 < /* The GNU C library defines this for functions which it implements
16065 <    to always fail with ENOSYS.  Some functions are actually named
16066 <    something starting with __ and the normal name is an alias.  */
16067 < #if defined __stub_poll || defined __stub___poll
16068 < choke me
16069 < #endif
16057 >
16058 > for flag in -Wredundant-decls; do
16059 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16060 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16061 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16062 > if eval \${$as_CACHEVAR+:} false; then :
16063 >  $as_echo_n "(cached) " >&6
16064 > else
16065 >
16066 >  ax_check_save_flags=$CFLAGS
16067 >  CFLAGS="$CFLAGS  $flag"
16068 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16069 > /* end confdefs.h.  */
16070  
16071   int
16072   main ()
16073   {
16074 < return poll ();
16074 >
16075    ;
16076    return 0;
16077   }
16078   _ACEOF
16079 < if ac_fn_c_try_link "$LINENO"; then :
16080 <  is_poll_mechanism_available="yes"
16079 > if ac_fn_c_try_compile "$LINENO"; then :
16080 >  eval "$as_CACHEVAR=yes"
16081   else
16082 <  is_poll_mechanism_available="no"
16082 >  eval "$as_CACHEVAR=no"
16083   fi
16084 < rm -f core conftest.err conftest.$ac_objext \
16085 <    conftest$ac_exeext conftest.$ac_ext
16086 <      iopoll_mechanism_select=6
16084 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16085 >  CFLAGS=$ax_check_save_flags
16086 > fi
16087 > eval ac_res=\$$as_CACHEVAR
16088 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16089 > $as_echo "$ac_res" >&6; }
16090 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16091  
16092 < cat >>confdefs.h <<_ACEOF
16093 < #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
16094 < _ACEOF
16092 > if ${CFLAGS+:} false; then :
16093 >
16094 >  case " $CFLAGS " in #(
16095 >  *" $flag "*) :
16096 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16097 >  (: CFLAGS already contains $flag) 2>&5
16098 >  ac_status=$?
16099 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16100 >  test $ac_status = 0; } ;; #(
16101 >  *) :
16102 >
16103 >     as_fn_append CFLAGS " $flag"
16104 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16105 >  (: CFLAGS="$CFLAGS") 2>&5
16106 >  ac_status=$?
16107 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16108 >  test $ac_status = 0; }
16109 >     ;;
16110 > esac
16111 >
16112 > else
16113  
16114 +  CFLAGS=$flag
16115 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16116 +  (: CFLAGS="$CFLAGS") 2>&5
16117 +  ac_status=$?
16118 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16119 +  test $ac_status = 0; }
16120 +
16121 + fi
16122 +
16123 + else
16124 +  :
16125 + fi
16126 +
16127 + done
16128 +
16129 +
16130 +
16131 +
16132 +
16133 + for flag in -Wshadow; do
16134 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16135 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16136 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16137 + if eval \${$as_CACHEVAR+:} false; then :
16138 +  $as_echo_n "(cached) " >&6
16139 + else
16140 +
16141 +  ax_check_save_flags=$CFLAGS
16142 +  CFLAGS="$CFLAGS  $flag"
16143    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144   /* end confdefs.h.  */
13391 – /* Define select to an innocuous variant, in case <limits.h> declares select.
13392 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13393 – #define select innocuous_select
16145  
16146 < /* System header to define __stub macros and hopefully few prototypes,
16147 <    which can conflict with char select (); below.
16148 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13398 <    <limits.h> exists even on freestanding compilers.  */
16146 > int
16147 > main ()
16148 > {
16149  
16150 < #ifdef __STDC__
16151 < # include <limits.h>
16152 < #else
16153 < # include <assert.h>
16154 < #endif
16150 >  ;
16151 >  return 0;
16152 > }
16153 > _ACEOF
16154 > if ac_fn_c_try_compile "$LINENO"; then :
16155 >  eval "$as_CACHEVAR=yes"
16156 > else
16157 >  eval "$as_CACHEVAR=no"
16158 > fi
16159 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16160 >  CFLAGS=$ax_check_save_flags
16161 > fi
16162 > eval ac_res=\$$as_CACHEVAR
16163 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16164 > $as_echo "$ac_res" >&6; }
16165 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16166  
16167 < #undef select
16167 > if ${CFLAGS+:} false; then :
16168  
16169 < /* Override any GCC internal prototype to avoid an error.
16170 <   Use char because int might match the return type of a GCC
16171 <   builtin and then its argument prototype would still apply.  */
16172 < #ifdef __cplusplus
16173 < extern "C"
16174 < #endif
16175 < char select ();
16176 < /* The GNU C library defines this for functions which it implements
16177 <    to always fail with ENOSYS.  Some functions are actually named
16178 <    something starting with __ and the normal name is an alias.  */
16179 < #if defined __stub_select || defined __stub___select
16180 < choke me
16181 < #endif
16169 >  case " $CFLAGS " in #(
16170 >  *" $flag "*) :
16171 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16172 >  (: CFLAGS already contains $flag) 2>&5
16173 >  ac_status=$?
16174 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16175 >  test $ac_status = 0; } ;; #(
16176 >  *) :
16177 >
16178 >     as_fn_append CFLAGS " $flag"
16179 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16180 >  (: CFLAGS="$CFLAGS") 2>&5
16181 >  ac_status=$?
16182 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16183 >  test $ac_status = 0; }
16184 >     ;;
16185 > esac
16186 >
16187 > else
16188 >
16189 >  CFLAGS=$flag
16190 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16191 >  (: CFLAGS="$CFLAGS") 2>&5
16192 >  ac_status=$?
16193 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16194 >  test $ac_status = 0; }
16195 >
16196 > fi
16197 >
16198 > else
16199 >  :
16200 > fi
16201 >
16202 > done
16203 >
16204 >
16205 >
16206 >
16207 >
16208 > for flag in -Wshift-negative-value; do
16209 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16210 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16211 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16212 > if eval \${$as_CACHEVAR+:} false; then :
16213 >  $as_echo_n "(cached) " >&6
16214 > else
16215 >
16216 >  ax_check_save_flags=$CFLAGS
16217 >  CFLAGS="$CFLAGS  $flag"
16218 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 > /* end confdefs.h.  */
16220  
16221   int
16222   main ()
16223   {
16224 < return select ();
16224 >
16225    ;
16226    return 0;
16227   }
16228   _ACEOF
16229 < if ac_fn_c_try_link "$LINENO"; then :
16230 <  is_select_mechanism_available="yes"
16229 > if ac_fn_c_try_compile "$LINENO"; then :
16230 >  eval "$as_CACHEVAR=yes"
16231   else
16232 <  is_select_mechanism_available="no"
16232 >  eval "$as_CACHEVAR=no"
16233   fi
16234 < rm -f core conftest.err conftest.$ac_objext \
16235 <    conftest$ac_exeext conftest.$ac_ext
16236 <      optimal_iopoll_mechanism="none"
16237 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
16238 <    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
16239 <    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
16240 <      optimal_iopoll_mechanism="$mechanism"
13442 <      break
13443 <    fi
13444 <  done
13445 <      if test "$desired_iopoll_mechanism" = "none" ; then
13446 <    if test "$optimal_iopoll_mechanism" = "none" ; then
13447 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13448 < $as_echo "none" >&6; }
13449 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13450 <    else
13451 <      selected_iopoll_mechanism=$optimal_iopoll_mechanism
13452 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13453 < $as_echo "$selected_iopoll_mechanism" >&6; }
13454 <    fi
13455 <  else
13456 <    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13457 <    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13458 <      selected_iopoll_mechanism=$desired_iopoll_mechanism
13459 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13460 < $as_echo "$selected_iopoll_mechanism" >&6; }
13461 <    else
13462 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13463 < $as_echo "none" >&6; }
13464 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13465 <    fi
13466 <  fi
13467 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
16234 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16235 >  CFLAGS=$ax_check_save_flags
16236 > fi
16237 > eval ac_res=\$$as_CACHEVAR
16238 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16239 > $as_echo "$ac_res" >&6; }
16240 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16241  
16242 < cat >>confdefs.h <<_ACEOF
16243 < #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
16242 > if ${CFLAGS+:} false; then :
16243 >
16244 >  case " $CFLAGS " in #(
16245 >  *" $flag "*) :
16246 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16247 >  (: CFLAGS already contains $flag) 2>&5
16248 >  ac_status=$?
16249 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16250 >  test $ac_status = 0; } ;; #(
16251 >  *) :
16252 >
16253 >     as_fn_append CFLAGS " $flag"
16254 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16255 >  (: CFLAGS="$CFLAGS") 2>&5
16256 >  ac_status=$?
16257 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16258 >  test $ac_status = 0; }
16259 >     ;;
16260 > esac
16261 >
16262 > else
16263 >
16264 >  CFLAGS=$flag
16265 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16266 >  (: CFLAGS="$CFLAGS") 2>&5
16267 >  ac_status=$?
16268 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16269 >  test $ac_status = 0; }
16270 >
16271 > fi
16272 >
16273 > else
16274 >  :
16275 > fi
16276 >
16277 > done
16278 >
16279 >
16280 >
16281 >
16282 >
16283 > for flag in -Wsign-compare; do
16284 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16285 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16286 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16287 > if eval \${$as_CACHEVAR+:} false; then :
16288 >  $as_echo_n "(cached) " >&6
16289 > else
16290 >
16291 >  ax_check_save_flags=$CFLAGS
16292 >  CFLAGS="$CFLAGS  $flag"
16293 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 > /* end confdefs.h.  */
16295 >
16296 > int
16297 > main ()
16298 > {
16299 >
16300 >  ;
16301 >  return 0;
16302 > }
16303   _ACEOF
16304 + if ac_fn_c_try_compile "$LINENO"; then :
16305 +  eval "$as_CACHEVAR=yes"
16306 + else
16307 +  eval "$as_CACHEVAR=no"
16308 + fi
16309 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16310 +  CFLAGS=$ax_check_save_flags
16311 + fi
16312 + eval ac_res=\$$as_CACHEVAR
16313 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16314 + $as_echo "$ac_res" >&6; }
16315 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16316 +
16317 + if ${CFLAGS+:} false; then :
16318 +
16319 +  case " $CFLAGS " in #(
16320 +  *" $flag "*) :
16321 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16322 +  (: CFLAGS already contains $flag) 2>&5
16323 +  ac_status=$?
16324 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16325 +  test $ac_status = 0; } ;; #(
16326 +  *) :
16327 +
16328 +     as_fn_append CFLAGS " $flag"
16329 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16330 +  (: CFLAGS="$CFLAGS") 2>&5
16331 +  ac_status=$?
16332 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16333 +  test $ac_status = 0; }
16334 +     ;;
16335 + esac
16336  
16337 + else
16338  
16339 +  CFLAGS=$flag
16340 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16341 +  (: CFLAGS="$CFLAGS") 2>&5
16342 +  ac_status=$?
16343 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16344 +  test $ac_status = 0; }
16345  
16346 + fi
16347  
13476 – # Check whether --with-nicklen was given.
13477 – if test "${with_nicklen+set}" = set; then :
13478 –  withval=$with_nicklen; nicklen="$withval"
16348   else
16349 <  nicklen="9"
16349 >  :
16350   fi
16351  
16352 + done
16353  
16354 < cat >>confdefs.h <<_ACEOF
16355 < #define NICKLEN ($nicklen+1)
16354 >
16355 >
16356 >
16357 >
16358 > for flag in -Wtype-limits; do
16359 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16360 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16361 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16362 > if eval \${$as_CACHEVAR+:} false; then :
16363 >  $as_echo_n "(cached) " >&6
16364 > else
16365 >
16366 >  ax_check_save_flags=$CFLAGS
16367 >  CFLAGS="$CFLAGS  $flag"
16368 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 > /* end confdefs.h.  */
16370 >
16371 > int
16372 > main ()
16373 > {
16374 >
16375 >  ;
16376 >  return 0;
16377 > }
16378   _ACEOF
16379 + if ac_fn_c_try_compile "$LINENO"; then :
16380 +  eval "$as_CACHEVAR=yes"
16381 + else
16382 +  eval "$as_CACHEVAR=no"
16383 + fi
16384 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16385 +  CFLAGS=$ax_check_save_flags
16386 + fi
16387 + eval ac_res=\$$as_CACHEVAR
16388 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16389 + $as_echo "$ac_res" >&6; }
16390 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16391 +
16392 + if ${CFLAGS+:} false; then :
16393 +
16394 +  case " $CFLAGS " in #(
16395 +  *" $flag "*) :
16396 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16397 +  (: CFLAGS already contains $flag) 2>&5
16398 +  ac_status=$?
16399 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16400 +  test $ac_status = 0; } ;; #(
16401 +  *) :
16402  
16403 +     as_fn_append CFLAGS " $flag"
16404 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16405 +  (: CFLAGS="$CFLAGS") 2>&5
16406 +  ac_status=$?
16407 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16408 +  test $ac_status = 0; }
16409 +     ;;
16410 + esac
16411 +
16412 + else
16413  
16414 +  CFLAGS=$flag
16415 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16416 +  (: CFLAGS="$CFLAGS") 2>&5
16417 +  ac_status=$?
16418 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16419 +  test $ac_status = 0; }
16420  
16421 + fi
16422  
13491 – # Check whether --with-topiclen was given.
13492 – if test "${with_topiclen+set}" = set; then :
13493 –  withval=$with_topiclen; topiclen="$withval"
16423   else
16424 <  topiclen="160"
16424 >  :
16425   fi
16426  
16427 + done
16428  
16429 < cat >>confdefs.h <<_ACEOF
16430 < #define TOPICLEN ($topiclen)
16429 >
16430 >
16431 >
16432 >
16433 > for flag in -Wundef; do
16434 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16435 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16436 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16437 > if eval \${$as_CACHEVAR+:} false; then :
16438 >  $as_echo_n "(cached) " >&6
16439 > else
16440 >
16441 >  ax_check_save_flags=$CFLAGS
16442 >  CFLAGS="$CFLAGS  $flag"
16443 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 > /* end confdefs.h.  */
16445 >
16446 > int
16447 > main ()
16448 > {
16449 >
16450 >  ;
16451 >  return 0;
16452 > }
16453   _ACEOF
16454 + if ac_fn_c_try_compile "$LINENO"; then :
16455 +  eval "$as_CACHEVAR=yes"
16456 + else
16457 +  eval "$as_CACHEVAR=no"
16458 + fi
16459 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16460 +  CFLAGS=$ax_check_save_flags
16461 + fi
16462 + eval ac_res=\$$as_CACHEVAR
16463 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16464 + $as_echo "$ac_res" >&6; }
16465 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16466 +
16467 + if ${CFLAGS+:} false; then :
16468 +
16469 +  case " $CFLAGS " in #(
16470 +  *" $flag "*) :
16471 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16472 +  (: CFLAGS already contains $flag) 2>&5
16473 +  ac_status=$?
16474 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16475 +  test $ac_status = 0; } ;; #(
16476 +  *) :
16477 +
16478 +     as_fn_append CFLAGS " $flag"
16479 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16480 +  (: CFLAGS="$CFLAGS") 2>&5
16481 +  ac_status=$?
16482 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16483 +  test $ac_status = 0; }
16484 +     ;;
16485 + esac
16486  
16487 + else
16488  
16489 +  CFLAGS=$flag
16490 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16491 +  (: CFLAGS="$CFLAGS") 2>&5
16492 +  ac_status=$?
16493 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16494 +  test $ac_status = 0; }
16495  
16496 + fi
16497  
13506 – # Check whether --with-syslog-facility was given.
13507 – if test "${with_syslog_facility+set}" = set; then :
13508 –  withval=$with_syslog_facility; syslog_facility="$withval"
16498   else
16499 <  syslog_facility="LOG_LOCAL4"
16499 >  :
16500   fi
16501  
16502 + done
16503 +
16504  
16505 < cat >>confdefs.h <<_ACEOF
16506 < #define LOG_FACILITY $syslog_facility
16505 >
16506 >
16507 >
16508 > for flag in -Wuninitialized; do
16509 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16510 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16511 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16512 > if eval \${$as_CACHEVAR+:} false; then :
16513 >  $as_echo_n "(cached) " >&6
16514 > else
16515 >
16516 >  ax_check_save_flags=$CFLAGS
16517 >  CFLAGS="$CFLAGS  $flag"
16518 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519 > /* end confdefs.h.  */
16520 >
16521 > int
16522 > main ()
16523 > {
16524 >
16525 >  ;
16526 >  return 0;
16527 > }
16528   _ACEOF
16529 + if ac_fn_c_try_compile "$LINENO"; then :
16530 +  eval "$as_CACHEVAR=yes"
16531 + else
16532 +  eval "$as_CACHEVAR=no"
16533 + fi
16534 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16535 +  CFLAGS=$ax_check_save_flags
16536 + fi
16537 + eval ac_res=\$$as_CACHEVAR
16538 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16539 + $as_echo "$ac_res" >&6; }
16540 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16541 +
16542 + if ${CFLAGS+:} false; then :
16543 +
16544 +  case " $CFLAGS " in #(
16545 +  *" $flag "*) :
16546 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16547 +  (: CFLAGS already contains $flag) 2>&5
16548 +  ac_status=$?
16549 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16550 +  test $ac_status = 0; } ;; #(
16551 +  *) :
16552 +
16553 +     as_fn_append CFLAGS " $flag"
16554 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16555 +  (: CFLAGS="$CFLAGS") 2>&5
16556 +  ac_status=$?
16557 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16558 +  test $ac_status = 0; }
16559 +     ;;
16560 + esac
16561  
16562 + else
16563  
16564 +  CFLAGS=$flag
16565 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16566 +  (: CFLAGS="$CFLAGS") 2>&5
16567 +  ac_status=$?
16568 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16569 +  test $ac_status = 0; }
16570 +
16571 + fi
16572  
13520 –  # Check whether --enable-efnet was given.
13521 – if test "${enable_efnet+set}" = set; then :
13522 –  enableval=$enable_efnet; efnet="$enableval"
16573   else
16574 <  efnet="no"
16574 >  :
16575   fi
16576  
16577 <  if test "$efnet" = "yes" ; then
13528 <                use_efnet="yes"
16577 > done
16578  
13530 – $as_echo "#define EFNET 1" >>confdefs.h
16579  
16580  
13533 – $as_echo "#define TS5_ONLY 1" >>confdefs.h
16581  
16582 <        else
16583 <                use_efnet="no"
16584 <  fi
16585 <   if test "$use_efnet" = "yes"; then
16586 <  EFNET_TRUE=
16587 <  EFNET_FALSE='#'
16582 >
16583 > for flag in -Wwrite-strings; do
16584 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16585 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16586 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16587 > if eval \${$as_CACHEVAR+:} false; then :
16588 >  $as_echo_n "(cached) " >&6
16589 > else
16590 >
16591 >  ax_check_save_flags=$CFLAGS
16592 >  CFLAGS="$CFLAGS  $flag"
16593 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16594 > /* end confdefs.h.  */
16595 >
16596 > int
16597 > main ()
16598 > {
16599 >
16600 >  ;
16601 >  return 0;
16602 > }
16603 > _ACEOF
16604 > if ac_fn_c_try_compile "$LINENO"; then :
16605 >  eval "$as_CACHEVAR=yes"
16606   else
16607 <  EFNET_TRUE='#'
16608 <  EFNET_FALSE=
16607 >  eval "$as_CACHEVAR=no"
16608 > fi
16609 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16610 >  CFLAGS=$ax_check_save_flags
16611   fi
16612 + eval ac_res=\$$as_CACHEVAR
16613 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16614 + $as_echo "$ac_res" >&6; }
16615 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16616 +
16617 + if ${CFLAGS+:} false; then :
16618 +
16619 +  case " $CFLAGS " in #(
16620 +  *" $flag "*) :
16621 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16622 +  (: CFLAGS already contains $flag) 2>&5
16623 +  ac_status=$?
16624 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16625 +  test $ac_status = 0; } ;; #(
16626 +  *) :
16627 +
16628 +     as_fn_append CFLAGS " $flag"
16629 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16630 +  (: CFLAGS="$CFLAGS") 2>&5
16631 +  ac_status=$?
16632 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16633 +  test $ac_status = 0; }
16634 +     ;;
16635 + esac
16636  
16637 + else
16638  
16639 +  CFLAGS=$flag
16640 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16641 +  (: CFLAGS="$CFLAGS") 2>&5
16642 +  ac_status=$?
16643 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16644 +  test $ac_status = 0; }
16645 +
16646 + fi
16647  
13548 –  # Check whether --enable-halfops was given.
13549 – if test "${enable_halfops+set}" = set; then :
13550 –  enableval=$enable_halfops; halfops="$enableval"
16648   else
16649 <  halfops="no"
16649 >  :
16650   fi
16651  
16652 <  if test "$halfops" = "yes" ; then
16652 > done
16653 >
16654 >
16655 > fi
16656  
13557 – $as_echo "#define HALFOPS 1" >>confdefs.h
16657  
16658 +  # Check whether --enable-efence was given.
16659 + if test "${enable_efence+set}" = set; then :
16660 +  enableval=$enable_efence; efence="$enableval"
16661 + else
16662 +  efence="no"
16663 + fi
16664 +
16665 +
16666 +  if test "$efence" = "yes"; then :
16667 +
16668 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
16669 + $as_echo_n "checking for library containing EF_Print... " >&6; }
16670 + if ${ac_cv_search_EF_Print+:} false; then :
16671 +  $as_echo_n "(cached) " >&6
16672 + else
16673 +  ac_func_search_save_LIBS=$LIBS
16674 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 + /* end confdefs.h.  */
16676 +
16677 + /* Override any GCC internal prototype to avoid an error.
16678 +   Use char because int might match the return type of a GCC
16679 +   builtin and then its argument prototype would still apply.  */
16680 + #ifdef __cplusplus
16681 + extern "C"
16682 + #endif
16683 + char EF_Print ();
16684 + int
16685 + main ()
16686 + {
16687 + return EF_Print ();
16688 +  ;
16689 +  return 0;
16690 + }
16691 + _ACEOF
16692 + for ac_lib in '' efence; do
16693 +  if test -z "$ac_lib"; then
16694 +    ac_res="none required"
16695 +  else
16696 +    ac_res=-l$ac_lib
16697 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16698    fi
16699 +  if ac_fn_c_try_link "$LINENO"; then :
16700 +  ac_cv_search_EF_Print=$ac_res
16701 + fi
16702 + rm -f core conftest.err conftest.$ac_objext \
16703 +    conftest$ac_exeext
16704 +  if ${ac_cv_search_EF_Print+:} false; then :
16705 +  break
16706 + fi
16707 + done
16708 + if ${ac_cv_search_EF_Print+:} false; then :
16709  
16710 + else
16711 +  ac_cv_search_EF_Print=no
16712 + fi
16713 + rm conftest.$ac_ext
16714 + LIBS=$ac_func_search_save_LIBS
16715 + fi
16716 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
16717 + $as_echo "$ac_cv_search_EF_Print" >&6; }
16718 + ac_res=$ac_cv_search_EF_Print
16719 + if test "$ac_res" != no; then :
16720 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16721  
13562 –  # Check whether --enable-debugging was given.
13563 – if test "${enable_debugging+set}" = set; then :
13564 –  enableval=$enable_debugging; debugging="$enableval"
16722   else
16723 <  debugging="no"
16723 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16724 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16725 > as_fn_error $? "Electric Fence 'efence' library not found
16726 > See \`config.log' for more details" "$LINENO" 5; }
16727   fi
16728  
13569 –  if test "$debugging" = "yes" ; then
16729  
16730 < $as_echo "#define DEBUG 1" >>confdefs.h
16730 > fi
16731  
16732 <    CFLAGS="-Wall -g -O0"
16732 >
16733 > # Check whether --enable-openssl was given.
16734 > if test "${enable_openssl+set}" = set; then :
16735 >  enableval=$enable_openssl;  cf_enable_openssl=$enableval
16736 > else
16737 >   cf_enable_openssl="auto"
16738 > fi
16739 >
16740 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
16741 > $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
16742 > if test "$cf_enable_openssl" != "no"; then
16743 >  cf_openssl_basedir=""
16744 >  if test "$cf_enable_openssl" != "auto" &&
16745 >     test "$cf_enable_openssl" != "yes"; then
16746 >          cf_openssl_basedir="${cf_enable_openssl}"
16747    else
16748 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
16749 +                /opt /opt/openssl /usr/local/openssl; do
16750 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
16751 +        cf_openssl_basedir="${dirs}"
16752 +        break
16753 +      fi
16754 +    done
16755 +    unset dirs
16756 +  fi
16757  
16758 < $as_echo "#define NDEBUG 1" >>confdefs.h
16758 >    if test ! -z "$cf_openssl_basedir"; then
16759 >    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
16760 >      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
16761 >      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
16762 >    else
16763 >                  cf_openssl_basedir=""
16764 >    fi
16765 >  else
16766 >                            if test -f "/usr/include/openssl/opensslv.h"; then
16767 >      cf_openssl_basedir="/usr"
16768 >    fi
16769 >  fi
16770  
16771 +      if test ! -z "$cf_openssl_basedir"; then
16772 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
16773 + $as_echo "$cf_openssl_basedir" >&6; }
16774 +    cf_enable_openssl="yes"
16775 +  else
16776 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
16777 + $as_echo "not found. Please check your path." >&6; }
16778 +    cf_enable_openssl="no"
16779    fi
16780 +  unset cf_openssl_basedir
16781 + else
16782 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16783 + $as_echo "disabled" >&6; }
16784 + fi
16785  
16786 + if test "$cf_enable_openssl" != "no"; then :
16787 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5
16788 + $as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; }
16789 +  if test "$cross_compiling" = yes; then :
16790 +  cf_openssl_version_ok=no
16791 + else
16792 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793 + /* end confdefs.h.  */
16794  
16795 <  # Check whether --enable-warnings was given.
16796 < if test "${enable_warnings+set}" = set; then :
16797 <  enableval=$enable_warnings; warnings="$enableval"
16795 >
16796 >    #include <openssl/opensslv.h>
16797 >    #include <stdlib.h>
16798 > int
16799 > main ()
16800 > {
16801 > exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL));
16802 >  ;
16803 >  return 0;
16804 > }
16805 > _ACEOF
16806 > if ac_fn_c_try_run "$LINENO"; then :
16807 >  cf_openssl_version_ok=yes
16808   else
16809 <  warnings="no"
16809 >  cf_openssl_version_ok=no
16810 > fi
16811 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16812 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
16813   fi
16814  
13588 –  if test "$warnings" = "yes" ; then
13589 –    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13590 –  fi
16815  
16816 +  if test "$cf_openssl_version_ok" = "yes"; then :
16817 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16818 + $as_echo "found" >&6; }
16819 +
16820 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16821 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16822 + if ${ac_cv_lib_crypto_RSA_free+:} false; then :
16823 +  $as_echo_n "(cached) " >&6
16824 + else
16825 +  ac_check_lib_save_LIBS=$LIBS
16826 + LIBS="-lcrypto  $LIBS"
16827 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 + /* end confdefs.h.  */
16829  
16830 <  for ac_header in syslog.h sys/syslog.h
16831 < do :
16832 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16833 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16834 < eval as_val=\$$as_ac_Header
16835 <   if test "x$as_val" = x""yes; then :
16830 > /* Override any GCC internal prototype to avoid an error.
16831 >   Use char because int might match the return type of a GCC
16832 >   builtin and then its argument prototype would still apply.  */
16833 > #ifdef __cplusplus
16834 > extern "C"
16835 > #endif
16836 > char RSA_free ();
16837 > int
16838 > main ()
16839 > {
16840 > return RSA_free ();
16841 >  ;
16842 >  return 0;
16843 > }
16844 > _ACEOF
16845 > if ac_fn_c_try_link "$LINENO"; then :
16846 >  ac_cv_lib_crypto_RSA_free=yes
16847 > else
16848 >  ac_cv_lib_crypto_RSA_free=no
16849 > fi
16850 > rm -f core conftest.err conftest.$ac_objext \
16851 >    conftest$ac_exeext conftest.$ac_ext
16852 > LIBS=$ac_check_lib_save_LIBS
16853 > fi
16854 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16855 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16856 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
16857    cat >>confdefs.h <<_ACEOF
16858 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16858 > #define HAVE_LIBCRYPTO 1
16859 > _ACEOF
16860 >
16861 >  LIBS="-lcrypto $LIBS"
16862 >
16863 > fi
16864 >
16865 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
16866 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
16867 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
16868 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
16869 >  $as_echo_n "(cached) " >&6
16870 > else
16871 >  ac_check_lib_save_LIBS=$LIBS
16872 > LIBS="-lssl  $LIBS"
16873 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 > /* end confdefs.h.  */
16875 >
16876 > /* Override any GCC internal prototype to avoid an error.
16877 >   Use char because int might match the return type of a GCC
16878 >   builtin and then its argument prototype would still apply.  */
16879 > #ifdef __cplusplus
16880 > extern "C"
16881 > #endif
16882 > char SSL_connect ();
16883 > int
16884 > main ()
16885 > {
16886 > return SSL_connect ();
16887 >  ;
16888 >  return 0;
16889 > }
16890 > _ACEOF
16891 > if ac_fn_c_try_link "$LINENO"; then :
16892 >  ac_cv_lib_ssl_SSL_connect=yes
16893 > else
16894 >  ac_cv_lib_ssl_SSL_connect=no
16895 > fi
16896 > rm -f core conftest.err conftest.$ac_objext \
16897 >    conftest$ac_exeext conftest.$ac_ext
16898 > LIBS=$ac_check_lib_save_LIBS
16899 > fi
16900 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
16901 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
16902 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
16903 >  cat >>confdefs.h <<_ACEOF
16904 > #define HAVE_LIBSSL 1
16905   _ACEOF
16906  
16907 +  LIBS="-lssl $LIBS"
16908 +
16909   fi
16910  
16911 < done
16911 > fi
16912 >
16913 > else
16914 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
16915 > $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
16916 >    cf_enable_openssl="no"
16917 > fi
16918 > fi
16919 >
16920 >
16921 > # Check whether --enable-gnutls was given.
16922 > if test "${enable_gnutls+set}" = set; then :
16923 >  enableval=$enable_gnutls;  cf_enable_gnutls=$enableval
16924 > else
16925 >   cf_enable_gnutls="auto"
16926 > fi
16927 >
16928 >
16929 > if test "$cf_enable_openssl" != "auto" &&
16930 >   test "$cf_enable_openssl" != "yes"; then
16931 >  if test "$cf_enable_gnutls" != "no"; then
16932 >
16933 >    ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16934 > if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
16935 >
16936 >      if test "$cross_compiling" = yes; then :
16937 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16938 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16939 > as_fn_error $? "cannot run test program while cross compiling
16940 > See \`config.log' for more details" "$LINENO" 5; }
16941 > else
16942 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 > /* end confdefs.h.  */
16944 >
16945 >
16946 >          #include <gnutls/gnutls.h>
16947 >          #include <stdlib.h>
16948 > int
16949 > main ()
16950 > {
16951 >
16952 >          exit(!(GNUTLS_VERSION_NUMBER >= 0x030308));
16953 >  ;
16954 >  return 0;
16955 > }
16956 > _ACEOF
16957 > if ac_fn_c_try_run "$LINENO"; then :
16958 >   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5
16959 > $as_echo_n "checking for gnutls_init in -lgnutls... " >&6; }
16960 > if ${ac_cv_lib_gnutls_gnutls_init+:} false; then :
16961 >  $as_echo_n "(cached) " >&6
16962 > else
16963 >  ac_check_lib_save_LIBS=$LIBS
16964 > LIBS="-lgnutls  $LIBS"
16965 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16966 > /* end confdefs.h.  */
16967 >
16968 > /* Override any GCC internal prototype to avoid an error.
16969 >   Use char because int might match the return type of a GCC
16970 >   builtin and then its argument prototype would still apply.  */
16971 > #ifdef __cplusplus
16972 > extern "C"
16973 > #endif
16974 > char gnutls_init ();
16975 > int
16976 > main ()
16977 > {
16978 > return gnutls_init ();
16979 >  ;
16980 >  return 0;
16981 > }
16982 > _ACEOF
16983 > if ac_fn_c_try_link "$LINENO"; then :
16984 >  ac_cv_lib_gnutls_gnutls_init=yes
16985 > else
16986 >  ac_cv_lib_gnutls_gnutls_init=no
16987 > fi
16988 > rm -f core conftest.err conftest.$ac_objext \
16989 >    conftest$ac_exeext conftest.$ac_ext
16990 > LIBS=$ac_check_lib_save_LIBS
16991 > fi
16992 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5
16993 > $as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; }
16994 > if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then :
16995 >  cat >>confdefs.h <<_ACEOF
16996 > #define HAVE_LIBGNUTLS 1
16997 > _ACEOF
16998 >
16999 >  LIBS="-lgnutls $LIBS"
17000 >
17001 > fi
17002 >
17003 > fi
17004 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17005 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
17006 > fi
17007  
13607 –  # Check whether --enable-syslog was given.
13608 – if test "${enable_syslog+set}" = set; then :
13609 –  enableval=$enable_syslog; syslog="$enableval"
13610 – else
13611 –  syslog="no"
17008   fi
17009  
13614 –  if test "$enableval" != "no" ; then
13615 –    for option in $enableval ; do
13616 –      case "$option" in
13617 –        users)
13618 – $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13619 – ;;
13620 –        oper)
13621 – $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13622 – ;;
13623 –        yes) : ;;
13624 –        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13625 –      esac
13626 –    done
17010  
17011 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
17011 >
17012 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.3.8 and above" >&5
17013 > $as_echo_n "checking for GnuTLS 3.3.8 and above... " >&6; }
17014 >    if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then :
17015 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
17016 > $as_echo "found" >&6; }
17017 > else
17018 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5
17019 > $as_echo "no - GnuTLS support disabled" >&6; }
17020 > fi
17021  
17022    fi
17023 + fi
17024  
17025  
17026  
# Line 13716 | Line 17109 | _ACEOF
17109    test "$exec_prefix_NONE" && exec_prefix=NONE
17110  
17111  
17112 < 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"
17112 > 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"
17113  
17114  
17115   cat >confcache <<\_ACEOF
# Line 13783 | Line 17176 | $as_echo "$as_me: WARNING: cache variabl
17176       :end' >>confcache
17177   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17178    if test -w "$cache_file"; then
17179 <    test "x$cache_file" != "x/dev/null" &&
17179 >    if test "x$cache_file" != "x/dev/null"; then
17180        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17181   $as_echo "$as_me: updating cache $cache_file" >&6;}
17182 <    cat confcache >$cache_file
17182 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
17183 >        cat confcache >"$cache_file"
17184 >      else
17185 >        case $cache_file in #(
17186 >        */* | ?:*)
17187 >          mv -f confcache "$cache_file"$$ &&
17188 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
17189 >        *)
17190 >          mv -f confcache "$cache_file" ;;
17191 >        esac
17192 >      fi
17193 >    fi
17194    else
17195      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17196   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13802 | Line 17206 | DEFS=-DHAVE_CONFIG_H
17206  
17207   ac_libobjs=
17208   ac_ltlibobjs=
17209 + U=
17210   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17211    # 1. Remove the extension, and $U if already installed.
17212    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13816 | Line 17221 | LIBOBJS=$ac_libobjs
17221   LTLIBOBJS=$ac_ltlibobjs
17222  
17223  
17224 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17225 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
17226 +   if test -n "$am_sleep_pid"; then
17227 +     # Hide warnings about reused PIDs.
17228 +     wait $am_sleep_pid 2>/dev/null
17229 +   fi
17230 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17231 + $as_echo "done" >&6; }
17232   if test -n "$EXEEXT"; then
17233    am__EXEEXT_TRUE=
17234    am__EXEEXT_FALSE='#'
# Line 13825 | Line 17238 | else
17238   fi
17239  
17240   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17241 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
17241 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17242   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17243   fi
17244   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17245 <  as_fn_error "conditional \"AMDEP\" was never defined.
17245 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
17246   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17247   fi
17248   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17249 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
17249 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17250   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17251   fi
17252   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
17253 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
17253 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
17254   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17255   fi
17256   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
17257 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
17257 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
17258   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17259   fi
17260   LT_CONFIG_H=config.h
# Line 13862 | Line 17275 | LT_CONFIG_H=config.h
17275  
17276  
17277  
13865 – if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13866 –  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13867 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868 – fi
13869 – if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13870 –  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13871 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872 – fi
13873 – if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13874 –  as_fn_error "conditional \"EFNET\" was never defined.
13875 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13876 – fi
17278  
17279 < : ${CONFIG_STATUS=./config.status}
17279 > : "${CONFIG_STATUS=./config.status}"
17280   ac_write_fail=0
17281   ac_clean_files_save=$ac_clean_files
17282   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13976 | Line 17377 | fi
17377   IFS=" ""        $as_nl"
17378  
17379   # Find who we are.  Look in the path if we contain no directory separator.
17380 + as_myself=
17381   case $0 in #((
17382    *[\\/]* ) as_myself=$0 ;;
17383    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14021 | Line 17423 | export LANGUAGE
17423   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17424  
17425  
17426 < # as_fn_error ERROR [LINENO LOG_FD]
17427 < # ---------------------------------
17426 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
17427 > # ----------------------------------------
17428   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17429   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17430 < # script with status $?, using 1 if that was 0.
17430 > # script with STATUS, using 1 if that was 0.
17431   as_fn_error ()
17432   {
17433 <  as_status=$?; test $as_status -eq 0 && as_status=1
17434 <  if test "$3"; then
17435 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17436 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17433 >  as_status=$1; test $as_status -eq 0 && as_status=1
17434 >  if test "$4"; then
17435 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17436 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17437    fi
17438 <  $as_echo "$as_me: error: $1" >&2
17438 >  $as_echo "$as_me: error: $2" >&2
17439    as_fn_exit $as_status
17440   } # as_fn_error
17441  
# Line 14171 | Line 17573 | if (echo >conf$$.file) 2>/dev/null; then
17573      # ... but there are two gotchas:
17574      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17575      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17576 <    # In both cases, we have to default to `cp -p'.
17576 >    # In both cases, we have to default to `cp -pR'.
17577      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17578 <      as_ln_s='cp -p'
17578 >      as_ln_s='cp -pR'
17579    elif ln conf$$.file conf$$ 2>/dev/null; then
17580      as_ln_s=ln
17581    else
17582 <    as_ln_s='cp -p'
17582 >    as_ln_s='cp -pR'
17583    fi
17584   else
17585 <  as_ln_s='cp -p'
17585 >  as_ln_s='cp -pR'
17586   fi
17587   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17588   rmdir conf$$.dir 2>/dev/null
# Line 14229 | Line 17631 | $as_echo X"$as_dir" |
17631        test -d "$as_dir" && break
17632      done
17633      test -z "$as_dirs" || eval "mkdir $as_dirs"
17634 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
17634 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17635  
17636  
17637   } # as_fn_mkdir_p
# Line 14240 | Line 17642 | else
17642    as_mkdir_p=false
17643   fi
17644  
17645 < if test -x / >/dev/null 2>&1; then
17646 <  as_test_x='test -x'
17647 < else
17648 <  if ls -dL / >/dev/null 2>&1; then
17649 <    as_ls_L_option=L
17650 <  else
17651 <    as_ls_L_option=
17652 <  fi
17653 <  as_test_x='
17654 <    eval sh -c '\''
14253 <      if test -d "$1"; then
14254 <        test -d "$1/.";
14255 <      else
14256 <        case $1 in #(
14257 <        -*)set "./$1";;
14258 <        esac;
14259 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14260 <        ???[sx]*):;;*)false;;esac;fi
14261 <    '\'' sh
14262 <  '
14263 < fi
14264 < as_executable_p=$as_test_x
17645 >
17646 > # as_fn_executable_p FILE
17647 > # -----------------------
17648 > # Test if FILE is an executable regular file.
17649 > as_fn_executable_p ()
17650 > {
17651 >  test -f "$1" && test -x "$1"
17652 > } # as_fn_executable_p
17653 > as_test_x='test -x'
17654 > as_executable_p=as_fn_executable_p
17655  
17656   # Sed expression to map a string onto a valid CPP name.
17657   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14282 | Line 17672 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
17672   # report actual input values of CONFIG_FILES etc. instead of their
17673   # values after options handling.
17674   ac_log="
17675 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
17676 < generated by GNU Autoconf 2.65.  Invocation command line was
17675 > This file was extended by ircd-hybrid $as_me TRUNK, which was
17676 > generated by GNU Autoconf 2.69.  Invocation command line was
17677  
17678    CONFIG_FILES    = $CONFIG_FILES
17679    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14348 | Line 17738 | _ACEOF
17738   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17739   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17740   ac_cs_version="\\
17741 < ircd-hybrid config.status 7.3-rc1
17742 < configured by $0, generated by GNU Autoconf 2.65,
17741 > ircd-hybrid config.status TRUNK
17742 > configured by $0, generated by GNU Autoconf 2.69,
17743    with options \\"\$ac_cs_config\\"
17744  
17745 < Copyright (C) 2009 Free Software Foundation, Inc.
17745 > Copyright (C) 2012 Free Software Foundation, Inc.
17746   This config.status script is free software; the Free Software Foundation
17747   gives unlimited permission to copy, distribute and modify it."
17748  
# Line 14370 | Line 17760 | ac_need_defaults=:
17760   while test $# != 0
17761   do
17762    case $1 in
17763 <  --*=*)
17763 >  --*=?*)
17764      ac_option=`expr "X$1" : 'X\([^=]*\)='`
17765      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17766      ac_shift=:
17767      ;;
17768 +  --*=)
17769 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17770 +    ac_optarg=
17771 +    ac_shift=:
17772 +    ;;
17773    *)
17774      ac_option=$1
17775      ac_optarg=$2
# Line 14396 | Line 17791 | do
17791      $ac_shift
17792      case $ac_optarg in
17793      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17794 +    '') as_fn_error $? "missing file argument" ;;
17795      esac
17796      as_fn_append CONFIG_FILES " '$ac_optarg'"
17797      ac_need_defaults=false;;
# Line 14408 | Line 17804 | do
17804      ac_need_defaults=false;;
17805    --he | --h)
17806      # Conflict between --help and --header
17807 <    as_fn_error "ambiguous option: \`$1'
17807 >    as_fn_error $? "ambiguous option: \`$1'
17808   Try \`$0 --help' for more information.";;
17809    --help | --hel | -h )
17810      $as_echo "$ac_cs_usage"; exit ;;
# Line 14417 | Line 17813 | Try \`$0 --help' for more information.";
17813      ac_cs_silent=: ;;
17814  
17815    # This is an error.
17816 <  -*) as_fn_error "unrecognized option: \`$1'
17816 >  -*) as_fn_error $? "unrecognized option: \`$1'
17817   Try \`$0 --help' for more information." ;;
17818  
17819    *) as_fn_append ac_config_targets " $1"
# Line 14437 | Line 17833 | fi
17833   _ACEOF
17834   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17835   if \$ac_cs_recheck; then
17836 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17836 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17837    shift
17838    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17839    CONFIG_SHELL='$SHELL'
# Line 14461 | Line 17857 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
17857   #
17858   # INIT-COMMANDS
17859   #
17860 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17860 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17861  
17862  
17863   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 14471 | Line 17867 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
17867   sed_quote_subst='$sed_quote_subst'
17868   double_quote_subst='$double_quote_subst'
17869   delay_variable_subst='$delay_variable_subst'
17870 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17871 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17872 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17873 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17874 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17875 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17876 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17877 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17878 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17879 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17880 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17881 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17882 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17883 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17884 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17885 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17886 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17887 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17888 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17889 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17890 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17891 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17892 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17893 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17894 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17895 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17896 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17897 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17898 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17899 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17900 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17901 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17902 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17903 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17904 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17905 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17906 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17907 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17908 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17909 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17910 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17911 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17912 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17913 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17914 < 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"`'
17915 < 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"`'
17916 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17917 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17918 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17919 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17920 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17921 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17922 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17923 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17924 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17925 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17926 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17927 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17928 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17929 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17930 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17931 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17932 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17933 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17934 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17935 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17936 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17937 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17938 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17939 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17940 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17941 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17942 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17943 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17944 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17945 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17946 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17947 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17948 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17949 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17950 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17951 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17952 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17953 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17954 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17955 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17956 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17957 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17958 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17959 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17960 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17961 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17962 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17963 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17964 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17965 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17966 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17967 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17968 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17969 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17970 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17971 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17972 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17973 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17974 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17975 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17976 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17977 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17978 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17979 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17980 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17981 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17982 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17983 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17984 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17985 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17986 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17987 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17870 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17871 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17872 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17873 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17874 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17875 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17876 > shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17877 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17878 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17879 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17880 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17881 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17882 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17883 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17884 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17885 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17886 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17887 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17888 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17889 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17890 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17891 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17892 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17893 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17894 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17895 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17896 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17897 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17898 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17899 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17900 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17901 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17902 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17903 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17904 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17905 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17906 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17907 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17908 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17909 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17910 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17911 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17912 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17913 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17914 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17915 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17916 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17917 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17918 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17919 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17920 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17921 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17922 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17923 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17924 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17925 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17926 > lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17927 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17928 > 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"`'
17929 > lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17930 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17931 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17932 > lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17933 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17934 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17935 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17936 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17937 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17938 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17939 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17940 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17941 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17942 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17943 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17944 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17945 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17946 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17947 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17948 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17949 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17950 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17951 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17952 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17953 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17954 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17955 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17956 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17957 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17958 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17959 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17960 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17961 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17962 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17963 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17964 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17965 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17966 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17967 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17968 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17969 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17970 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17971 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17972 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17973 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17974 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17975 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17976 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17977 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17978 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17979 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17980 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17981 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17982 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17983 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17984 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17985 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17986 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17987 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17988 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17989 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17990 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17991 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17992 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17993 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17994 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17995 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17996 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17997 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17998 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17999 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18000 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18001 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18002 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18003 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18004 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18005  
18006   LTCC='$LTCC'
18007   LTCFLAGS='$LTCFLAGS'
18008   compiler='$compiler_DEFAULT'
18009  
18010 + # A function that is used when there is no print builtin or printf.
18011 + func_fallback_echo ()
18012 + {
18013 +  eval 'cat <<_LTECHO_EOF
18014 + \$1
18015 + _LTECHO_EOF'
18016 + }
18017 +
18018   # Quote evaled strings.
18019 < for var in SED \
18019 > for var in SHELL \
18020 > ECHO \
18021 > PATH_SEPARATOR \
18022 > SED \
18023   GREP \
18024   EGREP \
18025   FGREP \
# Line 14608 | Line 18032 | reload_flag \
18032   OBJDUMP \
18033   deplibs_check_method \
18034   file_magic_cmd \
18035 + file_magic_glob \
18036 + want_nocaseglob \
18037 + DLLTOOL \
18038 + sharedlib_from_linklib_cmd \
18039   AR \
18040   AR_FLAGS \
18041 + archiver_list_spec \
18042   STRIP \
18043   RANLIB \
18044   CC \
# Line 14617 | Line 18046 | CFLAGS \
18046   compiler \
18047   lt_cv_sys_global_symbol_pipe \
18048   lt_cv_sys_global_symbol_to_cdecl \
18049 + lt_cv_sys_global_symbol_to_import \
18050   lt_cv_sys_global_symbol_to_c_name_address \
18051   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18052 < SHELL \
18053 < ECHO \
18052 > lt_cv_nm_interface \
18053 > nm_file_list_spec \
18054 > lt_cv_truncate_bin \
18055   lt_prog_compiler_no_builtin_flag \
14625 – lt_prog_compiler_wl \
18056   lt_prog_compiler_pic \
18057 + lt_prog_compiler_wl \
18058   lt_prog_compiler_static \
18059   lt_cv_prog_compiler_c_o \
18060   need_locks \
18061 + MANIFEST_TOOL \
18062   DSYMUTIL \
18063   NMEDIT \
18064   LIPO \
# Line 14640 | Line 18072 | with_gnu_ld \
18072   allow_undefined_flag \
18073   no_undefined_flag \
18074   hardcode_libdir_flag_spec \
14643 – hardcode_libdir_flag_spec_ld \
18075   hardcode_libdir_separator \
14645 – fix_srcfile_path \
18076   exclude_expsyms \
18077   include_expsyms \
18078   file_list_spec \
# Line 14650 | Line 18080 | variables_saved_for_relink \
18080   libname_spec \
18081   library_names_spec \
18082   soname_spec \
18083 + install_override_mode \
18084   finish_eval \
18085   old_striplib \
18086   striplib; do
18087 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18087 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18088      *[\\\\\\\`\\"\\\$]*)
18089 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18089 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18090        ;;
18091      *)
18092        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14677 | Line 18108 | module_cmds \
18108   module_expsym_cmds \
18109   export_symbols_cmds \
18110   prelink_cmds \
18111 + postlink_cmds \
18112   postinstall_cmds \
18113   postuninstall_cmds \
18114   finish_cmds \
18115   sys_lib_search_path_spec \
18116 < sys_lib_dlsearch_path_spec; do
18117 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18116 > configure_time_dlsearch_path \
18117 > configure_time_lt_sys_library_path; do
18118 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18119      *[\\\\\\\`\\"\\\$]*)
18120 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18120 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18121        ;;
18122      *)
18123        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14692 | Line 18125 | sys_lib_dlsearch_path_spec; do
18125      esac
18126   done
18127  
14695 – # Fix-up fallback echo if it was mangled by the above quoting rules.
14696 – case \$lt_ECHO in
14697 – *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14698 –  ;;
14699 – esac
14700 –
18128   ac_aux_dir='$ac_aux_dir'
14702 – xsi_shell='$xsi_shell'
14703 – lt_shell_append='$lt_shell_append'
18129  
18130 < # See if we are running on zsh, and set the options which allow our
18130 > # See if we are running on zsh, and set the options that allow our
18131   # commands through without removal of \ escapes INIT.
18132 < if test -n "\${ZSH_VERSION+set}" ; then
18132 > if test -n "\${ZSH_VERSION+set}"; then
18133     setopt NO_GLOB_SUBST
18134   fi
18135  
18136  
18137      PACKAGE='$PACKAGE'
18138      VERSION='$VERSION'
14714 –    TIMESTAMP='$TIMESTAMP'
18139      RM='$RM'
18140      ofile='$ofile'
18141  
# Line 14730 | Line 18154 | do
18154      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18155      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18156      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733 –    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14734 –    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14735 –    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14736 –    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
18157      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18158 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
18158 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
18159      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
18160      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
18161 +    "modules/extra/Makefile") CONFIG_FILES="$CONFIG_FILES modules/extra/Makefile" ;;
18162      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18163      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14743 –    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14744 –    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
18164      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18165  
18166 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18166 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18167    esac
18168   done
18169  
# Line 14767 | Line 18186 | fi
18186   # after its creation but before its name has been assigned to `$tmp'.
18187   $debug ||
18188   {
18189 <  tmp=
18189 >  tmp= ac_tmp=
18190    trap 'exit_status=$?
18191 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18191 >  : "${ac_tmp:=$tmp}"
18192 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18193   ' 0
18194    trap 'as_fn_exit 1' 1 2 13 15
18195   }
# Line 14777 | Line 18197 | $debug ||
18197  
18198   {
18199    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18200 <  test -n "$tmp" && test -d "$tmp"
18200 >  test -d "$tmp"
18201   }  ||
18202   {
18203    tmp=./conf$$-$RANDOM
18204    (umask 077 && mkdir "$tmp")
18205 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
18205 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18206 > ac_tmp=$tmp
18207  
18208   # Set up the scripts for CONFIG_FILES section.
18209   # No need to generate them if there are no CONFIG_FILES.
# Line 14799 | Line 18220 | if test "x$ac_cr" = x; then
18220   fi
18221   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18222   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18223 <  ac_cs_awk_cr='\r'
18223 >  ac_cs_awk_cr='\\r'
18224   else
18225    ac_cs_awk_cr=$ac_cr
18226   fi
18227  
18228 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
18228 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18229   _ACEOF
18230  
18231  
# Line 14813 | Line 18234 | _ACEOF
18234    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18235    echo "_ACEOF"
18236   } >conf$$subs.sh ||
18237 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18238 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18237 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18238 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18239   ac_delim='%!_!# '
18240   for ac_last_try in false false false false false :; do
18241    . ./conf$$subs.sh ||
18242 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18242 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18243  
18244    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18245    if test $ac_delim_n = $ac_delim_num; then
18246      break
18247    elif $ac_last_try; then
18248 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18248 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18249    else
18250      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18251    fi
# Line 14832 | Line 18253 | done
18253   rm -f conf$$subs.sh
18254  
18255   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18256 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18256 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18257   _ACEOF
18258   sed -n '
18259   h
# Line 14880 | Line 18301 | t delim
18301   rm -f conf$$subs.awk
18302   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18303   _ACAWK
18304 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18304 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18305    for (key in S) S_is_set[key] = 1
18306    FS = ""
18307  
# Line 14912 | Line 18333 | if sed "s/$ac_cr//" < /dev/null > /dev/n
18333    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18334   else
18335    cat
18336 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18337 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
18336 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18337 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18338   _ACEOF
18339  
18340 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
18341 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18340 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18341 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18342   # trailing colons and then remove the whole line if VPATH becomes empty
18343   # (actually we leave an empty line to preserve line numbers).
18344   if test "x$srcdir" = x.; then
18345 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
18346 < s/:*\$(srcdir):*/:/
18347 < s/:*\${srcdir}:*/:/
18348 < s/:*@srcdir@:*/:/
18349 < s/^\([^=]*=[     ]*\):*/\1/
18345 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18346 > h
18347 > s///
18348 > s/^/:/
18349 > s/[      ]*$/:/
18350 > s/:\$(srcdir):/:/g
18351 > s/:\${srcdir}:/:/g
18352 > s/:@srcdir@:/:/g
18353 > s/^:*//
18354   s/:*$//
18355 + x
18356 + s/\(=[   ]*\).*/\1/
18357 + G
18358 + s/\n//
18359   s/^[^=]*=[       ]*$//
18360   }'
18361   fi
# Line 14938 | Line 18367 | fi # test -n "$CONFIG_FILES"
18367   # No need to generate them if there are no CONFIG_HEADERS.
18368   # This happens for instance with `./config.status Makefile'.
18369   if test -n "$CONFIG_HEADERS"; then
18370 < cat >"$tmp/defines.awk" <<\_ACAWK ||
18370 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18371   BEGIN {
18372   _ACEOF
18373  
# Line 14950 | Line 18379 | _ACEOF
18379   # handling of long lines.
18380   ac_delim='%!_!# '
18381   for ac_last_try in false false :; do
18382 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18383 <  if test -z "$ac_t"; then
18382 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18383 >  if test -z "$ac_tt"; then
18384      break
18385    elif $ac_last_try; then
18386 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
18386 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18387    else
18388      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18389    fi
# Line 15039 | Line 18468 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
18468   _ACAWK
18469   _ACEOF
18470   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18471 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
18471 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18472   fi # test -n "$CONFIG_HEADERS"
18473  
18474  
# Line 15052 | Line 18481 | do
18481    esac
18482    case $ac_mode$ac_tag in
18483    :[FHL]*:*);;
18484 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
18484 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18485    :[FH]-) ac_tag=-:-;;
18486    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18487    esac
# Line 15071 | Line 18500 | do
18500      for ac_f
18501      do
18502        case $ac_f in
18503 <      -) ac_f="$tmp/stdin";;
18503 >      -) ac_f="$ac_tmp/stdin";;
18504        *) # Look for the file first in the build tree, then in the source tree
18505           # (if the path is not absolute).  The absolute path cannot be DOS-style,
18506           # because $ac_f cannot contain `:'.
# Line 15080 | Line 18509 | do
18509             [\\/$]*) false;;
18510             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18511             esac ||
18512 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18512 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18513        esac
18514        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18515        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15106 | Line 18535 | $as_echo "$as_me: creating $ac_file" >&6
18535      esac
18536  
18537      case $ac_tag in
18538 <    *:-:* | *:-) cat >"$tmp/stdin" \
18539 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
18538 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18539 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18540      esac
18541      ;;
18542    esac
# Line 15243 | Line 18672 | s&@INSTALL@&$ac_INSTALL&;t t
18672   s&@MKDIR_P@&$ac_MKDIR_P&;t t
18673   $ac_datarootdir_hack
18674   "
18675 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18676 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
18675 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18676 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18677  
18678   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18679 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18680 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18679 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18680 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18681 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18682    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18683 < which seems to be undefined.  Please make sure it is defined." >&5
18683 > which seems to be undefined.  Please make sure it is defined" >&5
18684   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18685 < which seems to be undefined.  Please make sure it is defined." >&2;}
18685 > which seems to be undefined.  Please make sure it is defined" >&2;}
18686  
18687 <  rm -f "$tmp/stdin"
18687 >  rm -f "$ac_tmp/stdin"
18688    case $ac_file in
18689 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
18690 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18689 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18690 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18691    esac \
18692 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
18692 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18693   ;;
18694    :H)
18695    #
# Line 15268 | Line 18698 | which seems to be undefined.  Please mak
18698    if test x"$ac_file" != x-; then
18699      {
18700        $as_echo "/* $configure_input  */" \
18701 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18702 <    } >"$tmp/config.h" \
18703 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
18704 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18701 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18702 >    } >"$ac_tmp/config.h" \
18703 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18704 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18705        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18706   $as_echo "$as_me: $ac_file is unchanged" >&6;}
18707      else
18708        rm -f "$ac_file"
18709 <      mv "$tmp/config.h" "$ac_file" \
18710 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
18709 >      mv "$ac_tmp/config.h" "$ac_file" \
18710 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18711      fi
18712    else
18713      $as_echo "/* $configure_input  */" \
18714 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18715 <      || as_fn_error "could not create -" "$LINENO" 5
18714 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18715 >      || as_fn_error $? "could not create -" "$LINENO" 5
18716    fi
18717   # Compute "$ac_file"'s index in $config_headers.
18718   _am_arg="$ac_file"
# Line 15328 | Line 18758 | $as_echo "$as_me: executing $ac_file com
18758  
18759    case $ac_file$ac_mode in
18760      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18761 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
18761 >  # Older Autoconf quotes --file arguments for eval, but not when files
18762    # are listed without --file.  Let's play safe and only enable the eval
18763    # if we detect the quoting.
18764 <  case $CONFIG_FILES in
18765 <  *\'*) eval set x "$CONFIG_FILES" ;;
18766 <  *)   set x $CONFIG_FILES ;;
18767 <  esac
18764 >  # TODO: see whether this extra hack can be removed once we start
18765 >  # requiring Autoconf 2.70 or later.
18766 >  case $CONFIG_FILES in #(
18767 >  *\'*) :
18768 >    eval set x "$CONFIG_FILES" ;; #(
18769 >  *) :
18770 >    set x $CONFIG_FILES ;; #(
18771 >  *) :
18772 >     ;;
18773 > esac
18774    shift
18775 <  for mf
18775 >  # Used to flag and report bootstrapping failures.
18776 >  am_rc=0
18777 >  for am_mf
18778    do
18779      # Strip MF so we end up with the name of the file.
18780 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
18781 <    # Check whether this is an Automake generated Makefile or not.
18782 <    # We used to match only the files named `Makefile.in', but
18783 <    # some people rename them; so instead we look at the file content.
15346 <    # Grep'ing the first line is not enough: some people post-process
15347 <    # each Makefile.in and add a new line on top of each file to say so.
15348 <    # Grep'ing the whole file is not good either: AIX grep has a line
18780 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18781 >    # Check whether this is an Automake generated Makefile which includes
18782 >    # dependency-tracking related rules and includes.
18783 >    # Grep'ing the whole file directly is not great: AIX grep has a line
18784      # limit of 2048, but all sed's we know have understand at least 4000.
18785 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18786 <      dirpart=`$as_dirname -- "$mf" ||
18787 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18788 <         X"$mf" : 'X\(//\)[^/]' \| \
18789 <         X"$mf" : 'X\(//\)$' \| \
18790 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18791 < $as_echo X"$mf" |
18785 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18786 >      || continue
18787 >    am_dirpart=`$as_dirname -- "$am_mf" ||
18788 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18789 >         X"$am_mf" : 'X\(//\)[^/]' \| \
18790 >         X"$am_mf" : 'X\(//\)$' \| \
18791 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18792 > $as_echo X"$am_mf" |
18793      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18794              s//\1/
18795              q
# Line 15371 | Line 18807 | $as_echo X"$mf" |
18807              q
18808            }
18809            s/.*/./; q'`
18810 <    else
18811 <      continue
18812 <    fi
18813 <    # Extract the definition of DEPDIR, am__include, and am__quote
18814 <    # from the Makefile without running `make'.
18815 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15380 <    test -z "$DEPDIR" && continue
15381 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15382 <    test -z "am__include" && continue
15383 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15384 <    # When using ansi2knr, U may be empty or an underscore; expand it
15385 <    U=`sed -n 's/^U = //p' < "$mf"`
15386 <    # Find all dependency output files, they are included files with
15387 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15388 <    # simplest approach to changing $(DEPDIR) to its actual value in the
15389 <    # expansion.
15390 <    for file in `sed -n "
15391 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15392 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15393 <      # Make sure the directory exists.
15394 <      test -f "$dirpart/$file" && continue
15395 <      fdir=`$as_dirname -- "$file" ||
15396 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15397 <         X"$file" : 'X\(//\)[^/]' \| \
15398 <         X"$file" : 'X\(//\)$' \| \
15399 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15400 < $as_echo X"$file" |
15401 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15402 <            s//\1/
15403 <            q
15404 <          }
15405 <          /^X\(\/\/\)[^/].*/{
18810 >    am_filepart=`$as_basename -- "$am_mf" ||
18811 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18812 >         X"$am_mf" : 'X\(//\)$' \| \
18813 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18814 > $as_echo X/"$am_mf" |
18815 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
18816              s//\1/
18817              q
18818            }
18819 <          /^X\(\/\/\)$/{
18819 >          /^X\/\(\/\/\)$/{
18820              s//\1/
18821              q
18822            }
18823 <          /^X\(\/\).*/{
18823 >          /^X\/\(\/\).*/{
18824              s//\1/
18825              q
18826            }
18827            s/.*/./; q'`
18828 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18829 <      # echo "creating $dirpart/$file"
18830 <      echo '# dummy' > "$dirpart/$file"
18831 <    done
18828 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18829 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18830 >        | $MAKE -f - am--depfiles" >&5
18831 >   (cd "$am_dirpart" \
18832 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18833 >        | $MAKE -f - am--depfiles) >&5 2>&5
18834 >   ac_status=$?
18835 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 >   (exit $ac_status); } || am_rc=$?
18837    done
18838 +  if test $am_rc -ne 0; then
18839 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18840 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18841 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
18842 +    for automatic dependency tracking.  Try re-running configure with the
18843 +    '--disable-dependency-tracking' option to at least be able to build
18844 +    the package (albeit without support for automatic dependency tracking).
18845 + See \`config.log' for more details" "$LINENO" 5; }
18846 +  fi
18847 +  { am_dirpart=; unset am_dirpart;}
18848 +  { am_filepart=; unset am_filepart;}
18849 +  { am_mf=; unset am_mf;}
18850 +  { am_rc=; unset am_rc;}
18851 +  rm -f conftest-deps.mk
18852   }
18853   ;;
18854      "libtool":C)
18855  
18856 <    # See if we are running on zsh, and set the options which allow our
18856 >    # See if we are running on zsh, and set the options that allow our
18857      # commands through without removal of \ escapes.
18858 <    if test -n "${ZSH_VERSION+set}" ; then
18858 >    if test -n "${ZSH_VERSION+set}"; then
18859        setopt NO_GLOB_SUBST
18860      fi
18861  
18862 <    cfgfile="${ofile}T"
18862 >    cfgfile=${ofile}T
18863      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18864      $RM "$cfgfile"
18865  
18866      cat <<_LT_EOF >> "$cfgfile"
18867   #! $SHELL
18868 <
15440 < # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15441 < # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18868 > # Generated automatically by $as_me ($PACKAGE) $VERSION
18869   # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18870   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18871 +
18872 + # Provide generalized library-building support services.
18873 + # Written by Gordon Matzigkeit, 1996
18874 +
18875 + # Copyright (C) 2014 Free Software Foundation, Inc.
18876 + # This is free software; see the source for copying conditions.  There is NO
18877 + # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18878 +
18879 + # GNU Libtool is free software; you can redistribute it and/or modify
18880 + # it under the terms of the GNU General Public License as published by
18881 + # the Free Software Foundation; either version 2 of of the License, or
18882 + # (at your option) any later version.
18883   #
18884 < #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18885 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
18886 < #   Written by Gordon Matzigkeit, 1996
18887 < #
15449 < #   This file is part of GNU Libtool.
15450 < #
15451 < # GNU Libtool is free software; you can redistribute it and/or
15452 < # modify it under the terms of the GNU General Public License as
15453 < # published by the Free Software Foundation; either version 2 of
15454 < # the License, or (at your option) any later version.
15455 < #
15456 < # As a special exception to the GNU General Public License,
15457 < # if you distribute this file as part of a program or library that
15458 < # is built using GNU Libtool, you may include this file under the
15459 < # same distribution terms that you use for the rest of that program.
18884 > # As a special exception to the GNU General Public License, if you
18885 > # distribute this file as part of a program or library that is built
18886 > # using GNU Libtool, you may include this file under the  same
18887 > # distribution terms that you use for the rest of that program.
18888   #
18889 < # GNU Libtool is distributed in the hope that it will be useful,
18890 < # but WITHOUT ANY WARRANTY; without even the implied warranty of
18889 > # GNU Libtool is distributed in the hope that it will be useful, but
18890 > # WITHOUT ANY WARRANTY; without even the implied warranty of
18891   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18892   # GNU General Public License for more details.
18893   #
18894   # You should have received a copy of the GNU General Public License
18895 < # along with GNU Libtool; see the file COPYING.  If not, a copy
15468 < # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15469 < # obtained by writing to the Free Software Foundation, Inc.,
15470 < # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18895 > # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18896  
18897  
18898   # The names of the tagged configurations supported by this script.
18899 < available_tags=""
18899 > available_tags=''
18900 >
18901 > # Configured defaults for sys_lib_dlsearch_path munging.
18902 > : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18903  
18904   # ### BEGIN LIBTOOL CONFIG
18905  
# Line 15491 | Line 18919 | pic_mode=$pic_mode
18919   # Whether or not to optimize for fast installation.
18920   fast_install=$enable_fast_install
18921  
18922 + # Shared archive member basename,for filename based shared library versioning on AIX.
18923 + shared_archive_member_spec=$shared_archive_member_spec
18924 +
18925 + # Shell to use when invoking shell scripts.
18926 + SHELL=$lt_SHELL
18927 +
18928 + # An echo program that protects backslashes.
18929 + ECHO=$lt_ECHO
18930 +
18931 + # The PATH separator for the build system.
18932 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
18933 +
18934   # The host system.
18935   host_alias=$host_alias
18936   host=$host
# Line 15540 | Line 18980 | SP2NL=$lt_lt_SP2NL
18980   # turn newlines into spaces.
18981   NL2SP=$lt_lt_NL2SP
18982  
18983 < # How to create reloadable object files.
18984 < reload_flag=$lt_reload_flag
18985 < reload_cmds=$lt_reload_cmds
18983 > # convert \$build file names to \$host format.
18984 > to_host_file_cmd=$lt_cv_to_host_file_cmd
18985 >
18986 > # convert \$build files to toolchain format.
18987 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18988  
18989   # An object symbol dumper.
18990   OBJDUMP=$lt_OBJDUMP
# Line 15550 | Line 18992 | OBJDUMP=$lt_OBJDUMP
18992   # Method to check whether dependent libraries are shared objects.
18993   deplibs_check_method=$lt_deplibs_check_method
18994  
18995 < # Command to use when deplibs_check_method == "file_magic".
18995 > # Command to use when deplibs_check_method = "file_magic".
18996   file_magic_cmd=$lt_file_magic_cmd
18997  
18998 + # How to find potential files when deplibs_check_method = "file_magic".
18999 + file_magic_glob=$lt_file_magic_glob
19000 +
19001 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19002 + want_nocaseglob=$lt_want_nocaseglob
19003 +
19004 + # DLL creation program.
19005 + DLLTOOL=$lt_DLLTOOL
19006 +
19007 + # Command to associate shared and link libraries.
19008 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19009 +
19010   # The archiver.
19011   AR=$lt_AR
19012 +
19013 + # Flags to create an archive.
19014   AR_FLAGS=$lt_AR_FLAGS
19015  
19016 + # How to feed a file listing to the archiver.
19017 + archiver_list_spec=$lt_archiver_list_spec
19018 +
19019   # A symbol stripping program.
19020   STRIP=$lt_STRIP
19021  
# Line 15565 | Line 19024 | RANLIB=$lt_RANLIB
19024   old_postinstall_cmds=$lt_old_postinstall_cmds
19025   old_postuninstall_cmds=$lt_old_postuninstall_cmds
19026  
19027 + # Whether to use a lock for old archive extraction.
19028 + lock_old_archive_extraction=$lock_old_archive_extraction
19029 +
19030   # A C compiler.
19031   LTCC=$lt_CC
19032  
# Line 15577 | Line 19039 | global_symbol_pipe=$lt_lt_cv_sys_global_
19039   # Transform the output of nm in a proper C declaration.
19040   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19041  
19042 + # Transform the output of nm into a list of symbols to manually relocate.
19043 + global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19044 +
19045   # Transform the output of nm in a C name address pair.
19046   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19047  
19048   # Transform the output of nm in a C name address pair when lib prefix is needed.
19049   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19050  
19051 < # The name of the directory that contains temporary libtool files.
19052 < objdir=$objdir
19051 > # The name lister interface.
19052 > nm_interface=$lt_lt_cv_nm_interface
19053  
19054 < # Shell to use when invoking shell scripts.
19055 < SHELL=$lt_SHELL
19054 > # Specify filename containing input files for \$NM.
19055 > nm_file_list_spec=$lt_nm_file_list_spec
19056  
19057 < # An echo program that does not interpret backslashes.
19058 < ECHO=$lt_ECHO
19057 > # The root where to search for dependent libraries,and where our libraries should be installed.
19058 > lt_sysroot=$lt_sysroot
19059 >
19060 > # Command to truncate a binary pipe.
19061 > lt_truncate_bin=$lt_lt_cv_truncate_bin
19062 >
19063 > # The name of the directory that contains temporary libtool files.
19064 > objdir=$objdir
19065  
19066   # Used to examine libraries when file_magic_cmd begins with "file".
19067   MAGIC_CMD=$MAGIC_CMD
# Line 15598 | Line 19069 | MAGIC_CMD=$MAGIC_CMD
19069   # Must we lock files when doing compilation?
19070   need_locks=$lt_need_locks
19071  
19072 + # Manifest tool.
19073 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
19074 +
19075   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19076   DSYMUTIL=$lt_DSYMUTIL
19077  
# Line 15654 | Line 19128 | library_names_spec=$lt_library_names_spe
19128   # The coded name of the library, if different from the real name.
19129   soname_spec=$lt_soname_spec
19130  
19131 + # Permission mode override for installation of shared libraries.
19132 + install_override_mode=$lt_install_override_mode
19133 +
19134   # Command to use after installation of a shared archive.
19135   postinstall_cmds=$lt_postinstall_cmds
19136  
# Line 15673 | Line 19150 | hardcode_into_libs=$hardcode_into_libs
19150   # Compile-time system search path for libraries.
19151   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19152  
19153 < # Run-time system search path for libraries.
19154 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19153 > # Detected run-time system search path for libraries.
19154 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19155 >
19156 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19157 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19158  
19159   # Whether dlopen is supported.
19160   dlopen_support=$enable_dlopen
# Line 15693 | Line 19173 | striplib=$lt_striplib
19173   # The linker used to build libraries.
19174   LD=$lt_LD
19175  
19176 + # How to create reloadable object files.
19177 + reload_flag=$lt_reload_flag
19178 + reload_cmds=$lt_reload_cmds
19179 +
19180   # Commands used to build an old-style archive.
19181   old_archive_cmds=$lt_old_archive_cmds
19182  
# Line 15705 | Line 19189 | with_gcc=$GCC
19189   # Compiler flag to turn off builtin functions.
19190   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19191  
15708 – # How to pass a linker flag through the compiler.
15709 – wl=$lt_lt_prog_compiler_wl
15710 –
19192   # Additional compiler flags for building library objects.
19193   pic_flag=$lt_lt_prog_compiler_pic
19194  
19195 + # How to pass a linker flag through the compiler.
19196 + wl=$lt_lt_prog_compiler_wl
19197 +
19198   # Compiler flag to prevent dynamic linking.
19199   link_static_flag=$lt_lt_prog_compiler_static
19200  
# Line 15760 | Line 19244 | no_undefined_flag=$lt_no_undefined_flag
19244   # This must work even if \$libdir does not exist
19245   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19246  
15763 – # If ld is used when linking, flag to hardcode \$libdir into a binary
15764 – # during linking.  This must work even if \$libdir does not exist.
15765 – hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15766 –
19247   # Whether we need a single "-rpath" flag with a separated argument.
19248   hardcode_libdir_separator=$lt_hardcode_libdir_separator
19249  
19250 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19250 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19251   # DIR into the resulting binary.
19252   hardcode_direct=$hardcode_direct
19253  
19254 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19254 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19255   # DIR into the resulting binary and the resulting library dependency is
19256 < # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19256 > # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19257   # library is relocated.
19258   hardcode_direct_absolute=$hardcode_direct_absolute
19259  
# Line 15797 | Line 19277 | inherit_rpath=$inherit_rpath
19277   # Whether libtool must link a program against all its dependency libraries.
19278   link_all_deplibs=$link_all_deplibs
19279  
15800 – # Fix the shell variable \$srcfile for the compiler.
15801 – fix_srcfile_path=$lt_fix_srcfile_path
15802 –
19280   # Set to "yes" if exported symbols are required.
19281   always_export_symbols=$always_export_symbols
19282  
# Line 15815 | Line 19292 | include_expsyms=$lt_include_expsyms
19292   # Commands necessary for linking programs (against libraries) with templates.
19293   prelink_cmds=$lt_prelink_cmds
19294  
19295 + # Commands necessary for finishing linking programs.
19296 + postlink_cmds=$lt_postlink_cmds
19297 +
19298   # Specify filename containing input files.
19299   file_list_spec=$lt_file_list_spec
19300  
# Line 15825 | Line 19305 | hardcode_action=$hardcode_action
19305  
19306   _LT_EOF
19307  
19308 +    cat <<'_LT_EOF' >> "$cfgfile"
19309 +
19310 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19311 +
19312 + # func_munge_path_list VARIABLE PATH
19313 + # -----------------------------------
19314 + # VARIABLE is name of variable containing _space_ separated list of
19315 + # directories to be munged by the contents of PATH, which is string
19316 + # having a format:
19317 + # "DIR[:DIR]:"
19318 + #       string "DIR[ DIR]" will be prepended to VARIABLE
19319 + # ":DIR[:DIR]"
19320 + #       string "DIR[ DIR]" will be appended to VARIABLE
19321 + # "DIRP[:DIRP]::[DIRA:]DIRA"
19322 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19323 + #       "DIRA[ DIRA]" will be appended to VARIABLE
19324 + # "DIR[:DIR]"
19325 + #       VARIABLE will be replaced by "DIR[ DIR]"
19326 + func_munge_path_list ()
19327 + {
19328 +    case x$2 in
19329 +    x)
19330 +        ;;
19331 +    *:)
19332 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19333 +        ;;
19334 +    x:*)
19335 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19336 +        ;;
19337 +    *::*)
19338 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19339 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19340 +        ;;
19341 +    *)
19342 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19343 +        ;;
19344 +    esac
19345 + }
19346 +
19347 +
19348 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19349 + func_cc_basename ()
19350 + {
19351 +    for cc_temp in $*""; do
19352 +      case $cc_temp in
19353 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19354 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19355 +        \-*) ;;
19356 +        *) break;;
19357 +      esac
19358 +    done
19359 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19360 + }
19361 +
19362 +
19363 + # ### END FUNCTIONS SHARED WITH CONFIGURE
19364 +
19365 + _LT_EOF
19366 +
19367    case $host_os in
19368    aix3*)
19369      cat <<\_LT_EOF >> "$cfgfile"
19370   # AIX sometimes has problems with the GCC collect2 program.  For some
19371   # reason, if we set the COLLECT_NAMES environment variable, the problems
19372   # vanish in a puff of smoke.
19373 < if test "X${COLLECT_NAMES+set}" != Xset; then
19373 > if test set != "${COLLECT_NAMES+set}"; then
19374    COLLECT_NAMES=
19375    export COLLECT_NAMES
19376   fi
# Line 15840 | Line 19379 | _LT_EOF
19379    esac
19380  
19381  
19382 < ltmain="$ac_aux_dir/ltmain.sh"
19382 > ltmain=$ac_aux_dir/ltmain.sh
19383  
19384  
19385    # We use sed instead of cat because bash on DJGPP gets confused if
19386    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19387    # text mode, it properly converts lines to CR/LF.  This bash problem
19388    # is reportedly fixed, but why not run on old versions too?
19389 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19390 <    || (rm -f "$cfgfile"; exit 1)
15852 <
15853 <  case $xsi_shell in
15854 <  yes)
15855 <    cat << \_LT_EOF >> "$cfgfile"
15856 <
15857 < # func_dirname file append nondir_replacement
15858 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15859 < # otherwise set result to NONDIR_REPLACEMENT.
15860 < func_dirname ()
15861 < {
15862 <  case ${1} in
15863 <    */*) func_dirname_result="${1%/*}${2}" ;;
15864 <    *  ) func_dirname_result="${3}" ;;
15865 <  esac
15866 < }
15867 <
15868 < # func_basename file
15869 < func_basename ()
15870 < {
15871 <  func_basename_result="${1##*/}"
15872 < }
15873 <
15874 < # func_dirname_and_basename file append nondir_replacement
15875 < # perform func_basename and func_dirname in a single function
15876 < # call:
15877 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15878 < #             add APPEND to the result, otherwise set result
15879 < #             to NONDIR_REPLACEMENT.
15880 < #             value returned in "$func_dirname_result"
15881 < #   basename: Compute filename of FILE.
15882 < #             value retuned in "$func_basename_result"
15883 < # Implementation must be kept synchronized with func_dirname
15884 < # and func_basename. For efficiency, we do not delegate to
15885 < # those functions but instead duplicate the functionality here.
15886 < func_dirname_and_basename ()
15887 < {
15888 <  case ${1} in
15889 <    */*) func_dirname_result="${1%/*}${2}" ;;
15890 <    *  ) func_dirname_result="${3}" ;;
15891 <  esac
15892 <  func_basename_result="${1##*/}"
15893 < }
15894 <
15895 < # func_stripname prefix suffix name
15896 < # strip PREFIX and SUFFIX off of NAME.
15897 < # PREFIX and SUFFIX must not contain globbing or regex special
15898 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15899 < # dot (in which case that matches only a dot).
15900 < func_stripname ()
15901 < {
15902 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15903 <  # positional parameters, so assign one to ordinary parameter first.
15904 <  func_stripname_result=${3}
15905 <  func_stripname_result=${func_stripname_result#"${1}"}
15906 <  func_stripname_result=${func_stripname_result%"${2}"}
15907 < }
15908 <
15909 < # func_opt_split
15910 < func_opt_split ()
15911 < {
15912 <  func_opt_split_opt=${1%%=*}
15913 <  func_opt_split_arg=${1#*=}
15914 < }
15915 <
15916 < # func_lo2o object
15917 < func_lo2o ()
15918 < {
15919 <  case ${1} in
15920 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15921 <    *)    func_lo2o_result=${1} ;;
15922 <  esac
15923 < }
15924 <
15925 < # func_xform libobj-or-source
15926 < func_xform ()
15927 < {
15928 <  func_xform_result=${1%.*}.lo
15929 < }
15930 <
15931 < # func_arith arithmetic-term...
15932 < func_arith ()
15933 < {
15934 <  func_arith_result=$(( $* ))
15935 < }
15936 <
15937 < # func_len string
15938 < # STRING may not start with a hyphen.
15939 < func_len ()
15940 < {
15941 <  func_len_result=${#1}
15942 < }
15943 <
15944 < _LT_EOF
15945 <    ;;
15946 <  *) # Bourne compatible functions.
15947 <    cat << \_LT_EOF >> "$cfgfile"
15948 <
15949 < # func_dirname file append nondir_replacement
15950 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15951 < # otherwise set result to NONDIR_REPLACEMENT.
15952 < func_dirname ()
15953 < {
15954 <  # Extract subdirectory from the argument.
15955 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15956 <  if test "X$func_dirname_result" = "X${1}"; then
15957 <    func_dirname_result="${3}"
15958 <  else
15959 <    func_dirname_result="$func_dirname_result${2}"
15960 <  fi
15961 < }
15962 <
15963 < # func_basename file
15964 < func_basename ()
15965 < {
15966 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15967 < }
19389 >  sed '$q' "$ltmain" >> "$cfgfile" \
19390 >     || (rm -f "$cfgfile"; exit 1)
19391  
19392 <
15970 < # func_stripname prefix suffix name
15971 < # strip PREFIX and SUFFIX off of NAME.
15972 < # PREFIX and SUFFIX must not contain globbing or regex special
15973 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15974 < # dot (in which case that matches only a dot).
15975 < # func_strip_suffix prefix name
15976 < func_stripname ()
15977 < {
15978 <  case ${2} in
15979 <    .*) func_stripname_result=`$ECHO "X${3}" \
15980 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15981 <    *)  func_stripname_result=`$ECHO "X${3}" \
15982 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15983 <  esac
15984 < }
15985 <
15986 < # sed scripts:
15987 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15988 < my_sed_long_arg='1s/^-[^=]*=//'
15989 <
15990 < # func_opt_split
15991 < func_opt_split ()
15992 < {
15993 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15994 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15995 < }
15996 <
15997 < # func_lo2o object
15998 < func_lo2o ()
15999 < {
16000 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16001 < }
16002 <
16003 < # func_xform libobj-or-source
16004 < func_xform ()
16005 < {
16006 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16007 < }
16008 <
16009 < # func_arith arithmetic-term...
16010 < func_arith ()
16011 < {
16012 <  func_arith_result=`expr "$@"`
16013 < }
16014 <
16015 < # func_len string
16016 < # STRING may not start with a hyphen.
16017 < func_len ()
16018 < {
16019 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16020 < }
16021 <
16022 < _LT_EOF
16023 < esac
16024 <
16025 < case $lt_shell_append in
16026 <  yes)
16027 <    cat << \_LT_EOF >> "$cfgfile"
16028 <
16029 < # func_append var value
16030 < # Append VALUE to the end of shell variable VAR.
16031 < func_append ()
16032 < {
16033 <  eval "$1+=\$2"
16034 < }
16035 < _LT_EOF
16036 <    ;;
16037 <  *)
16038 <    cat << \_LT_EOF >> "$cfgfile"
16039 <
16040 < # func_append var value
16041 < # Append VALUE to the end of shell variable VAR.
16042 < func_append ()
16043 < {
16044 <  eval "$1=\$$1\$2"
16045 < }
16046 <
16047 < _LT_EOF
16048 <    ;;
16049 <  esac
16050 <
16051 <
16052 <  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16053 <    || (rm -f "$cfgfile"; exit 1)
16054 <
16055 <  mv -f "$cfgfile" "$ofile" ||
19392 >   mv -f "$cfgfile" "$ofile" ||
19393      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19394    chmod +x "$ofile"
19395  
# Line 16067 | Line 19404 | _ACEOF
19404   ac_clean_files=$ac_clean_files_save
19405  
19406   test $ac_write_fail = 0 ||
19407 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
19407 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19408  
19409  
19410   # configure is writing to config.log, and then calls config.status.
# Line 16088 | Line 19425 | if test "$no_create" != yes; then
19425    exec 5>>config.log
19426    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19427    # would make configure fail if this is the last instruction.
19428 <  $ac_cs_success || as_fn_exit $?
16092 < fi
16093 <
16094 < #
16095 < # CONFIG_SUBDIRS section.
16096 < #
16097 < if test "$no_recursion" != yes; then
16098 <
16099 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16100 <  # so they do not pile up.
16101 <  ac_sub_configure_args=
16102 <  ac_prev=
16103 <  eval "set x $ac_configure_args"
16104 <  shift
16105 <  for ac_arg
16106 <  do
16107 <    if test -n "$ac_prev"; then
16108 <      ac_prev=
16109 <      continue
16110 <    fi
16111 <    case $ac_arg in
16112 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16113 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16114 <      ac_prev=cache_file ;;
16115 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16116 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16117 <    | --c=*)
16118 <      ;;
16119 <    --config-cache | -C)
16120 <      ;;
16121 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16122 <      ac_prev=srcdir ;;
16123 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16124 <      ;;
16125 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16126 <      ac_prev=prefix ;;
16127 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16128 <      ;;
16129 <    --disable-option-checking)
16130 <      ;;
16131 <    *)
16132 <      case $ac_arg in
16133 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 <      esac
16135 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16136 <    esac
16137 <  done
16138 <
16139 <  # Always prepend --prefix to ensure using the same prefix
16140 <  # in subdir configurations.
16141 <  ac_arg="--prefix=$prefix"
16142 <  case $ac_arg in
16143 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16144 <  esac
16145 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16146 <
16147 <  # Pass --silent
16148 <  if test "$silent" = yes; then
16149 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16150 <  fi
16151 <
16152 <  # Always prepend --disable-option-checking to silence warnings, since
16153 <  # different subdirs can have different --enable and --with options.
16154 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16155 <
16156 <  ac_popdir=`pwd`
16157 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16158 <
16159 <    # Do not complain, so a configure script can configure whichever
16160 <    # parts of a large source tree are present.
16161 <    test -d "$srcdir/$ac_dir" || continue
16162 <
16163 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16164 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16165 <    $as_echo "$ac_msg" >&6
16166 <    as_dir="$ac_dir"; as_fn_mkdir_p
16167 <    ac_builddir=.
16168 <
16169 < case "$ac_dir" in
16170 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16171 < *)
16172 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16173 <  # A ".." for each directory in $ac_dir_suffix.
16174 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16175 <  case $ac_top_builddir_sub in
16176 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16177 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16178 <  esac ;;
16179 < esac
16180 < ac_abs_top_builddir=$ac_pwd
16181 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16182 < # for backward compatibility:
16183 < ac_top_builddir=$ac_top_build_prefix
16184 <
16185 < case $srcdir in
16186 <  .)  # We are building in place.
16187 <    ac_srcdir=.
16188 <    ac_top_srcdir=$ac_top_builddir_sub
16189 <    ac_abs_top_srcdir=$ac_pwd ;;
16190 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16191 <    ac_srcdir=$srcdir$ac_dir_suffix;
16192 <    ac_top_srcdir=$srcdir
16193 <    ac_abs_top_srcdir=$srcdir ;;
16194 <  *) # Relative name.
16195 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16196 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16197 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16198 < esac
16199 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16200 <
16201 <
16202 <    cd "$ac_dir"
16203 <
16204 <    # Check for guested configure; otherwise get Cygnus style configure.
16205 <    if test -f "$ac_srcdir/configure.gnu"; then
16206 <      ac_sub_configure=$ac_srcdir/configure.gnu
16207 <    elif test -f "$ac_srcdir/configure"; then
16208 <      ac_sub_configure=$ac_srcdir/configure
16209 <    elif test -f "$ac_srcdir/configure.in"; then
16210 <      # This should be Cygnus configure.
16211 <      ac_sub_configure=$ac_aux_dir/configure
16212 <    else
16213 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16214 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16215 <      ac_sub_configure=
16216 <    fi
16217 <
16218 <    # The recursion is here.
16219 <    if test -n "$ac_sub_configure"; then
16220 <      # Make the cache file name correct relative to the subdirectory.
16221 <      case $cache_file in
16222 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16223 <      *) # Relative name.
16224 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16225 <      esac
16226 <
16227 <      { $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
16228 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16229 <      # The eval makes quoting arguments work.
16230 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16231 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16232 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16233 <    fi
16234 <
16235 <    cd "$ac_popdir"
16236 <  done
19428 >  $ac_cs_success || as_fn_exit 1
19429   fi
19430   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19431    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19432   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19433   fi
19434  
19435 +
19436 + echo "###############################################################################"
19437 + echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
19438 + echo
19439 + echo "ircd-hybrid will be installed in ${prefix}.  To change this, run:"
19440 + echo "   ./configure --prefix=DIRECTORY"
19441 + echo "###############################################################################"

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 8765 by michael, Tue Jan 1 15:13:17 2019 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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