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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 998 by michael, Sun Aug 23 12:43:17 2009 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 9169 by michael, Sat Jan 18 19:08:44 2020 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 982 2009-08-13 22:15:08Z michael .
2 > # From configure.ac Id: configure.ac 9166 2020-01-18 19:06:14Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8 > #
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
6 – # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 – # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
8 – # Foundation, Inc.
11   #
12   # This configure script is free software; the Free Software Foundation
13   # gives unlimited permission to copy, distribute and modify it.
# Line 88 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 132 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 165 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 210 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 227 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 315 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 355 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 440 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 474 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 495 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
500 < else
501 <  if ls -dL / >/dev/null 2>&1; then
502 <    as_ls_L_option=L
503 <  else
504 <    as_ls_L_option=
505 <  fi
506 <  as_test_x='
507 <    eval sh -c '\''
508 <      if test -d "$1"; then
509 <        test -d "$1/.";
510 <      else
511 <        case $1 in #(
512 <        -*)set "./$1";;
513 <        esac;
514 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 <        ???[sx]*):;;*)false;;esac;fi
516 <    '\'' sh
517 <  '
518 < fi
519 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 524 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
568 + lt_ltdl_dir='libltdl'
569  
528 –
529 – # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
532 – case X$lt_ECHO in
533 – X*--fallback-echo)
534 –  # Remove one level of quotation (which was required for Make).
535 –  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536 –  ;;
537 – esac
538 –
539 – ECHO=${lt_ECHO-echo}
540 – if test "X$1" = X--no-reexec; then
541 –  # Discard the --no-reexec flag, and continue.
542 –  shift
543 – elif test "X$1" = X--fallback-echo; then
544 –  # Avoid inline document here, it may be left over
545 –  :
546 – elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547 –  # Yippee, $ECHO works!
548 –  :
549 – else
550 –  # Restart under the correct shell.
551 –  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 – fi
553 –
554 – if test "X$1" = X--fallback-echo; then
555 –  # used as fallback echo
556 –  shift
557 –  cat <<_LT_EOF
558 – $*
559 – _LT_EOF
560 –  exit 0
561 – fi
562 –
563 – # The HP-UX ksh and POSIX shell print the target directory to stdout
564 – # if CDPATH is set.
565 – (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 –
567 – if test -z "$lt_ECHO"; then
568 –  if test "X${echo_test_string+set}" != Xset; then
569 –    # find a string as large as possible, as long as the shell can cope with it
570 –    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571 –      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572 –      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573 –         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574 –      then
575 –        break
576 –      fi
577 –    done
578 –  fi
579 –
580 –  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581 –     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582 –     test "X$echo_testing_string" = "X$echo_test_string"; then
583 –    :
584 –  else
585 –    # The Solaris, AIX, and Digital Unix default echo programs unquote
586 –    # backslashes.  This makes it impossible to quote backslashes using
587 –    #   echo "$something" | sed 's/\\/\\\\/g'
588 –    #
589 –    # So, first we look for a working echo in the user's PATH.
590 –
591 –    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592 –    for dir in $PATH /usr/ucb; do
593 –      IFS="$lt_save_ifs"
594 –      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595 –         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596 –         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597 –         test "X$echo_testing_string" = "X$echo_test_string"; then
598 –        ECHO="$dir/echo"
599 –        break
600 –      fi
601 –    done
602 –    IFS="$lt_save_ifs"
603 –
604 –    if test "X$ECHO" = Xecho; then
605 –      # We didn't find a better echo, so look for alternatives.
606 –      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607 –         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608 –         test "X$echo_testing_string" = "X$echo_test_string"; then
609 –        # This shell has a builtin print -r that does the trick.
610 –        ECHO='print -r'
611 –      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612 –           test "X$CONFIG_SHELL" != X/bin/ksh; then
613 –        # If we have ksh, try running configure again with it.
614 –        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615 –        export ORIGINAL_CONFIG_SHELL
616 –        CONFIG_SHELL=/bin/ksh
617 –        export CONFIG_SHELL
618 –        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619 –      else
620 –        # Try using printf.
621 –        ECHO='printf %s\n'
622 –        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623 –           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624 –           test "X$echo_testing_string" = "X$echo_test_string"; then
625 –          # Cool, printf works
626 –          :
627 –        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628 –             test "X$echo_testing_string" = 'X\t' &&
629 –             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630 –             test "X$echo_testing_string" = "X$echo_test_string"; then
631 –          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 –          export CONFIG_SHELL
633 –          SHELL="$CONFIG_SHELL"
634 –          export SHELL
635 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636 –        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 –             test "X$echo_testing_string" = 'X\t' &&
638 –             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 –             test "X$echo_testing_string" = "X$echo_test_string"; then
640 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 –        else
642 –          # maybe with a smaller string...
643 –          prev=:
644 –
645 –          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646 –            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647 –            then
648 –              break
649 –            fi
650 –            prev="$cmd"
651 –          done
652 –
653 –          if test "$prev" != 'sed 50q "$0"'; then
654 –            echo_test_string=`eval $prev`
655 –            export echo_test_string
656 –            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 –          else
658 –            # Oops.  We lost completely, so just stick with echo.
659 –            ECHO=echo
660 –          fi
661 –        fi
662 –      fi
663 –    fi
664 –  fi
665 – fi
666 –
667 – # Copy echo and quote the copy suitably for passing to libtool from
668 – # the Makefile, instead of quoting the original, which is used later.
669 – lt_ECHO=$ECHO
670 – if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671 –   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 – fi
673 –
674 –
675 –
676 –
677 – lt_ltdl_dir='libltdl'
678 –
679 – lt_dlopen_dir="$lt_ltdl_dir"
572  
573 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
601   ac_unique_file="src/ircd.c"
# Line 742 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
745 – enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 756 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
759 – EFNET_FALSE
760 – EFNET_TRUE
761 – ENABLE_SSL_FALSE
762 – ENABLE_SSL_TRUE
651   LTDLOPEN
652   LT_CONFIG_H
765 – 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 780 | 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 815 | Line 705 | YACC
705   am__fastdepCC_FALSE
706   am__fastdepCC_TRUE
707   CCDEPMODE
708 + am__nodep
709   AMDEPBACKSLASH
710   AMDEP_FALSE
711   AMDEP_TRUE
821 – am__quote
712   am__include
713   DEPDIR
714   OBJEXT
# Line 831 | 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 873 | Line 767 | infodir
767   docdir
768   oldincludedir
769   includedir
770 + runstatedir
771   localstatedir
772   sharedstatedir
773   sysconfdir
# Line 891 | Line 786 | PACKAGE_VERSION
786   PACKAGE_TARNAME
787   PACKAGE_NAME
788   PATH_SEPARATOR
789 < SHELL'
789 > SHELL
790 > am__quote'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
798   enable_shared
799   with_pic
800   enable_fast_install
801 + with_aix_soname
802   with_gnu_ld
803 + with_sysroot
804   enable_libtool_lock
805   with_included_ltdl
806   with_ltdl_include
807   with_ltdl_lib
808   enable_ltdl_install
910 – with_zlib_path
911 – enable_zlib
912 – enable_openssl
913 – enable_assert
914 – enable_small_net
809   enable_kqueue
810   enable_epoll
811   enable_devpoll
918 – enable_rtsigio
812   enable_poll
813 < enable_select
921 < with_nicklen
922 < with_topiclen
923 < with_syslog_facility
924 < enable_efnet
925 < enable_halfops
813 > enable_assert
814   enable_debugging
815   enable_warnings
816 < enable_syslog
816 > enable_efence
817 > enable_openssl
818 > enable_gnutls
819 > enable_wolfssl
820   '
821        ac_precious_vars='build_alias
822   host_alias
# Line 937 | Line 828 | LIBS
828   CPPFLAGS
829   YACC
830   YFLAGS
831 + LT_SYS_LIBRARY_PATH
832   CPP'
833 < ac_subdirs_all='libltdl'
833 >
834  
835   # Initialize some variables set by options.
836   ac_init_help=
# Line 976 | Line 868 | datadir='${datarootdir}'
868   sysconfdir='${prefix}/etc'
869   sharedstatedir='${prefix}/com'
870   localstatedir='${prefix}/var'
871 + runstatedir='${localstatedir}/run'
872   includedir='${prefix}/include'
873   oldincludedir='/usr/include'
874   docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# Line 1000 | Line 893 | do
893    fi
894  
895    case $ac_option in
896 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 <  *)    ac_optarg=yes ;;
896 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 >  *=)   ac_optarg= ;;
898 >  *)    ac_optarg=yes ;;
899    esac
900  
901    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1046 | Line 940 | do
940      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941      # Reject names that are not valid shell variable names.
942      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943 <      as_fn_error "invalid feature name: $ac_useropt"
943 >      as_fn_error $? "invalid feature name: $ac_useropt"
944      ac_useropt_orig=$ac_useropt
945      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946      case $ac_user_opts in
# Line 1072 | Line 966 | do
966      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967      # Reject names that are not valid shell variable names.
968      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969 <      as_fn_error "invalid feature name: $ac_useropt"
969 >      as_fn_error $? "invalid feature name: $ac_useropt"
970      ac_useropt_orig=$ac_useropt
971      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972      case $ac_user_opts in
# Line 1227 | Line 1121 | do
1121    | -silent | --silent | --silen | --sile | --sil)
1122      silent=yes ;;
1123  
1124 +  -runstatedir | --runstatedir | --runstatedi | --runstated \
1125 +  | --runstate | --runstat | --runsta | --runst | --runs \
1126 +  | --run | --ru | --r)
1127 +    ac_prev=runstatedir ;;
1128 +  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1129 +  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1130 +  | --run=* | --ru=* | --r=*)
1131 +    runstatedir=$ac_optarg ;;
1132 +
1133    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1134      ac_prev=sbindir ;;
1135    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
# Line 1276 | Line 1179 | do
1179      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180      # Reject names that are not valid shell variable names.
1181      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1182 <      as_fn_error "invalid package name: $ac_useropt"
1182 >      as_fn_error $? "invalid package name: $ac_useropt"
1183      ac_useropt_orig=$ac_useropt
1184      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185      case $ac_user_opts in
# Line 1292 | Line 1195 | do
1195      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196      # Reject names that are not valid shell variable names.
1197      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1198 <      as_fn_error "invalid package name: $ac_useropt"
1198 >      as_fn_error $? "invalid package name: $ac_useropt"
1199      ac_useropt_orig=$ac_useropt
1200      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201      case $ac_user_opts in
# Line 1322 | Line 1225 | do
1225    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1226      x_libraries=$ac_optarg ;;
1227  
1228 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1229 < Try \`$0 --help' for more information."
1228 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1229 > Try \`$0 --help' for more information"
1230      ;;
1231  
1232    *=*)
# Line 1331 | Line 1234 | Try \`$0 --help' for more information."
1234      # Reject names that are not valid shell variable names.
1235      case $ac_envvar in #(
1236        '' | [0-9]* | *[!_$as_cr_alnum]* )
1237 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1237 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1238      esac
1239      eval $ac_envvar=\$ac_optarg
1240      export $ac_envvar ;;
# Line 1341 | Line 1244 | Try \`$0 --help' for more information."
1244      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1246        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1247 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1248      ;;
1249  
1250    esac
# Line 1349 | Line 1252 | done
1252  
1253   if test -n "$ac_prev"; then
1254    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1255 <  as_fn_error "missing argument to $ac_option"
1255 >  as_fn_error $? "missing argument to $ac_option"
1256   fi
1257  
1258   if test -n "$ac_unrecognized_opts"; then
1259    case $enable_option_checking in
1260      no) ;;
1261 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1261 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1262      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263    esac
1264   fi
# Line 1364 | Line 1267 | fi
1267   for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268                  datadir sysconfdir sharedstatedir localstatedir includedir \
1269                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270 <                libdir localedir mandir
1270 >                libdir localedir mandir runstatedir
1271   do
1272    eval ac_val=\$$ac_var
1273    # Remove trailing slashes.
# Line 1378 | Line 1281 | do
1281      [\\/$]* | ?:[\\/]* )  continue;;
1282      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1283    esac
1284 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1284 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1285   done
1286  
1287   # There might be people who depend on the old broken behavior: `$host'
# Line 1392 | Line 1295 | target=$target_alias
1295   if test "x$host_alias" != x; then
1296    if test "x$build_alias" = x; then
1297      cross_compiling=maybe
1395 –    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396 –    If a cross compiler is detected then cross compile mode will be used." >&2
1298    elif test "x$build_alias" != "x$host_alias"; then
1299      cross_compiling=yes
1300    fi
# Line 1408 | Line 1309 | test "$silent" = yes && exec 6>/dev/null
1309   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1310   ac_ls_di=`ls -di .` &&
1311   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1312 <  as_fn_error "working directory cannot be determined"
1312 >  as_fn_error $? "working directory cannot be determined"
1313   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 <  as_fn_error "pwd does not report name of working directory"
1314 >  as_fn_error $? "pwd does not report name of working directory"
1315  
1316  
1317   # Find the source files, if location was not specified.
# Line 1449 | Line 1350 | else
1350   fi
1351   if test ! -r "$srcdir/$ac_unique_file"; then
1352    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1353 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1353 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354   fi
1355   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1356   ac_abs_confdir=`(
1357 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1357 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358          pwd)`
1359   # When building in place, set srcdir=.
1360   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1479 | Line 1380 | if test "$ac_init_help" = "long"; then
1380    # Omit some internal or obsolete options to make the list less imposing.
1381    # This message is too long to be a string in the A/UX 3.1 sh.
1382    cat <<_ACEOF
1383 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1383 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1384  
1385   Usage: $0 [OPTION]... [VAR=VALUE]...
1386  
# Line 1493 | Line 1394 | Configuration:
1394        --help=short        display options specific to this package
1395        --help=recursive    display the short help of all the included packages
1396    -V, --version           display version information and exit
1397 <  -q, --quiet, --silent   do not print \`checking...' messages
1397 >  -q, --quiet, --silent   do not print \`checking ...' messages
1398        --cache-file=FILE   cache test results in FILE [disabled]
1399    -C, --config-cache      alias for \`--cache-file=config.cache'
1400    -n, --no-create         do not create output files
# Line 1519 | Line 1420 | Fine tuning of the installation director
1420    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1421    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1422    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1423 +  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1424    --libdir=DIR            object code libraries [EPREFIX/lib]
1425    --includedir=DIR        C header files [PREFIX/include]
1426    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
# Line 1549 | Line 1451 | fi
1451  
1452   if test -n "$ac_init_help"; then
1453    case $ac_init_help in
1454 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1454 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1455     esac
1456    cat <<\_ACEOF
1457  
# Line 1557 | Line 1459 | Optional Features:
1459    --disable-option-checking  ignore unrecognized --enable/--with options
1460    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1461    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1462 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1463 <                          (and sometimes confusing) to the casual installer
1464 <  --disable-dependency-tracking  speeds up one-time build
1465 <  --enable-dependency-tracking   do not reject slow dependency extractors
1462 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1463 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1464 >  --enable-maintainer-mode
1465 >                          enable make rules and dependencies not useful (and
1466 >                          sometimes confusing) to the casual installer
1467 >  --enable-dependency-tracking
1468 >                          do not reject slow dependency extractors
1469 >  --disable-dependency-tracking
1470 >                          speeds up one-time build
1471    --enable-static[=PKGS]  build static libraries [default=no]
1472    --enable-shared[=PKGS]  build shared libraries [default=yes]
1473    --enable-fast-install[=PKGS]
1474                            optimize for fast installation [default=yes]
1475    --disable-libtool-lock  avoid locking (might break parallel builds)
1476    --enable-ltdl-install   install libltdl
1570 –  --disable-zlib          Disable ziplinks support
1571 –  --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1572 –  --disable-openssl            Disable OpenSSL support.
1573 –  --enable-assert         Enable assert() statements
1574 –  --enable-small-net      Enable small network support.
1477    --enable-kqueue         Force kqueue usage.
1478    --enable-epoll          Force epoll usage.
1479    --enable-devpoll        Force devpoll usage.
1578 –  --enable-rtsigio        Force rtsigio usage.
1480    --enable-poll           Force poll usage.
1481 <  --enable-select         Force select usage.
1581 <  --enable-efnet          For IRCDs running on EFnet.
1582 <  --enable-halfops        Enable halfops support.
1481 >  --enable-assert         Enable assert() statements
1482    --enable-debugging      Enable debugging.
1483    --enable-warnings       Enable compiler warnings.
1484 <  --enable-syslog="EVENTS"
1485 <                          Enable syslog for events: users oper (space
1486 <                          separated in quotes; default: disabled).
1484 >  --enable-efence         Enable linking with Electric Fence 'efence' memory
1485 >                          debugger library.
1486 >  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1487 >  --disable-openssl            Disable LibreSSL/OpenSSL support.
1488 >  --enable-gnutls             Enable GnuTLS support.
1489 >  --disable-gnutls             Disable GnuTLS support.
1490 >  --enable-wolfssl             Enable wolfSSL support.
1491 >  --disable-wolfssl             Disable wolfSSL support.
1492  
1493   Optional Packages:
1494    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1495    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1496 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1496 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1497                            both]
1498 +  --with-aix-soname=aix|svr4|both
1499 +                          shared library versioning (aka "SONAME") variant to
1500 +                          provide on AIX, [default=aix].
1501    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1502 +  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1503 +                          compiler's sysroot if not specified).
1504    --with-included-ltdl    use the GNU ltdl sources included here
1505    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1506    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1598 –  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1599 –  --with-nicklen=<value>  Set nickname length (default 9).
1600 –  --with-topiclen=<value> Set topic length (default 160).
1601 –  --with-syslog-facility=LOG
1602 –                          Define the syslog facility to use (default:
1603 –                          LOG_LOCAL4)
1507  
1508   Some influential environment variables:
1509    CC          C compiler command
# Line 1608 | Line 1511 | Some influential environment variables:
1511    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1512                nonstandard directory <lib dir>
1513    LIBS        libraries to pass to the linker, e.g. -l<library>
1514 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1514 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1515                you have headers in a nonstandard directory <include dir>
1516 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1517 <              the first program found out of: `bison -y', `byacc', `yacc'.
1516 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1517 >              Defaults to the first program found out of: `bison -y', `byacc',
1518 >              `yacc'.
1519    YFLAGS      The list of arguments that will be passed by default to $YACC.
1520                This script will default YFLAGS to the empty string to avoid a
1521                default value of `-d' given by some make applications.
1522 +  LT_SYS_LIBRARY_PATH
1523 +              User-defined run-time library search path.
1524    CPP         C preprocessor
1525  
1526   Use these variables to override the choices made by `configure' or to help
1527   it to find libraries and programs with nonstandard names/locations.
1528  
1529 < Report bugs to the package provider.
1529 > Report bugs to <bugs@ircd-hybrid.org>.
1530   _ACEOF
1531   ac_status=$?
1532   fi
# Line 1683 | Line 1589 | fi
1589   test -n "$ac_init_help" && exit $ac_status
1590   if $ac_init_version; then
1591    cat <<\_ACEOF
1592 < ircd-hybrid configure 7.2.4
1593 < generated by GNU Autoconf 2.64
1592 > ircd-hybrid configure TRUNK
1593 > generated by GNU Autoconf 2.69
1594  
1595 < Copyright (C) 2009 Free Software Foundation, Inc.
1595 > Copyright (C) 2012 Free Software Foundation, Inc.
1596   This configure script is free software; the Free Software Foundation
1597   gives unlimited permission to copy, distribute and modify it.
1598   _ACEOF
# Line 1730 | Line 1636 | sed 's/^/| /' conftest.$ac_ext >&5
1636  
1637          ac_retval=1
1638   fi
1639 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1640 <  return $ac_retval
1639 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 >  as_fn_set_status $ac_retval
1641  
1642   } # ac_fn_c_try_compile
1643  
# Line 1762 | Line 1668 | $as_echo "$ac_try_echo"; } >&5
1668           test ! -s conftest.err
1669         } && test -s conftest$ac_exeext && {
1670           test "$cross_compiling" = yes ||
1671 <         $as_test_x conftest$ac_exeext
1671 >         test -x conftest$ac_exeext
1672         }; then :
1673    ac_retval=0
1674   else
# Line 1776 | Line 1682 | fi
1682    # interfere with the next link command; also delete a directory that is
1683    # left behind by Apple's compiler.  We do this before executing the actions.
1684    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1686 <  return $ac_retval
1685 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 >  as_fn_set_status $ac_retval
1687  
1688   } # ac_fn_c_try_link
1689  
# Line 1790 | Line 1696 | ac_fn_c_check_header_compile ()
1696    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698   $as_echo_n "checking for $2... " >&6; }
1699 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1699 > if eval \${$3+:} false; then :
1700    $as_echo_n "(cached) " >&6
1701   else
1702    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1808 | Line 1714 | fi
1714   eval ac_res=\$$3
1715                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1716   $as_echo "$ac_res" >&6; }
1717 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718  
1719   } # ac_fn_c_check_header_compile
1720  
# Line 1833 | Line 1739 | $as_echo "$ac_try_echo"; } >&5
1739      mv -f conftest.er1 conftest.err
1740    fi
1741    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 <  test $ac_status = 0; } >/dev/null && {
1742 >  test $ac_status = 0; } > conftest.i && {
1743           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1744           test ! -s conftest.err
1745         }; then :
# Line 1844 | Line 1750 | sed 's/^/| /' conftest.$ac_ext >&5
1750  
1751      ac_retval=1
1752   fi
1753 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1754 <  return $ac_retval
1753 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 >  as_fn_set_status $ac_retval
1755  
1756   } # ac_fn_c_try_cpp
1757  
# Line 1886 | Line 1792 | sed 's/^/| /' conftest.$ac_ext >&5
1792         ac_retval=$ac_status
1793   fi
1794    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 <  return $ac_retval
1795 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 >  as_fn_set_status $ac_retval
1797  
1798   } # ac_fn_c_try_run
1799  
# Line 1899 | Line 1805 | ac_fn_c_check_func ()
1805    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807   $as_echo_n "checking for $2... " >&6; }
1808 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1808 > if eval \${$3+:} false; then :
1809    $as_echo_n "(cached) " >&6
1810   else
1811    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1954 | Line 1860 | fi
1860   eval ac_res=\$$3
1861                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862   $as_echo "$ac_res" >&6; }
1863 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864  
1865   } # ac_fn_c_check_func
1866  
1867 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1868 < # ------------------------------------
1869 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1867 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1868 > # ---------------------------------------------
1869 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1870 > # accordingly.
1871   ac_fn_c_check_decl ()
1872   {
1873    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1875 < $as_echo_n "checking whether $2 is declared... " >&6; }
1876 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1874 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1875 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1876 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1877 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1878 > if eval \${$3+:} false; then :
1879    $as_echo_n "(cached) " >&6
1880   else
1881    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1975 | Line 1884 | $4
1884   int
1885   main ()
1886   {
1887 < #ifndef $2
1888 <  (void) $2;
1887 > #ifndef $as_decl_name
1888 > #ifdef __cplusplus
1889 >  (void) $as_decl_use;
1890 > #else
1891 >  (void) $as_decl_name;
1892 > #endif
1893   #endif
1894  
1895    ;
# Line 1993 | Line 1906 | fi
1906   eval ac_res=\$$3
1907                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908   $as_echo "$ac_res" >&6; }
1909 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1909 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910  
1911   } # ac_fn_c_check_decl
1912  
# Line 2006 | Line 1919 | ac_fn_c_check_type ()
1919    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921   $as_echo_n "checking for $2... " >&6; }
1922 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1922 > if eval \${$3+:} false; then :
1923    $as_echo_n "(cached) " >&6
1924   else
1925    eval "$3=no"
# Line 2047 | Line 1960 | fi
1960   eval ac_res=\$$3
1961                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962   $as_echo "$ac_res" >&6; }
1963 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1963 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964  
1965   } # ac_fn_c_check_type
1966  
2054 – # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2055 – # ----------------------------------------------------
2056 – # Tries to find if the field MEMBER exists in type AGGR, after including
2057 – # INCLUDES, setting cache variable VAR accordingly.
2058 – ac_fn_c_check_member ()
2059 – {
2060 –  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 –  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2062 – $as_echo_n "checking for $2.$3... " >&6; }
2063 – if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2064 –  $as_echo_n "(cached) " >&6
2065 – else
2066 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 – /* end confdefs.h.  */
2068 – $5
2069 – int
2070 – main ()
2071 – {
2072 – static $2 ac_aggr;
2073 – if (ac_aggr.$3)
2074 – return 0;
2075 –  ;
2076 –  return 0;
2077 – }
2078 – _ACEOF
2079 – if ac_fn_c_try_compile "$LINENO"; then :
2080 –  eval "$4=yes"
2081 – else
2082 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 – /* end confdefs.h.  */
2084 – $5
2085 – int
2086 – main ()
2087 – {
2088 – static $2 ac_aggr;
2089 – if (sizeof ac_aggr.$3)
2090 – return 0;
2091 –  ;
2092 –  return 0;
2093 – }
2094 – _ACEOF
2095 – if ac_fn_c_try_compile "$LINENO"; then :
2096 –  eval "$4=yes"
2097 – else
2098 –  eval "$4=no"
2099 – fi
2100 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 – fi
2102 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 – fi
2104 – eval ac_res=\$$4
2105 –               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 – $as_echo "$ac_res" >&6; }
2107 –  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2108 –
2109 – } # ac_fn_c_check_member
2110 –
2111 – # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2112 – # --------------------------------------------
2113 – # Tries to find the compile-time value of EXPR in a program that includes
2114 – # INCLUDES, setting VAR accordingly. Returns whether the value could be
2115 – # computed
2116 – ac_fn_c_compute_int ()
2117 – {
2118 –  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 –  if test "$cross_compiling" = yes; then
2120 –    # Depending upon the size, compute the lo and hi bounds.
2121 – cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 – /* end confdefs.h.  */
2123 – $4
2124 – int
2125 – main ()
2126 – {
2127 – static int test_array [1 - 2 * !(($2) >= 0)];
2128 – test_array [0] = 0
2129 –
2130 –  ;
2131 –  return 0;
2132 – }
2133 – _ACEOF
2134 – if ac_fn_c_try_compile "$LINENO"; then :
2135 –  ac_lo=0 ac_mid=0
2136 –  while :; do
2137 –    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 – /* end confdefs.h.  */
2139 – $4
2140 – int
2141 – main ()
2142 – {
2143 – static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2144 – test_array [0] = 0
2145 –
2146 –  ;
2147 –  return 0;
2148 – }
2149 – _ACEOF
2150 – if ac_fn_c_try_compile "$LINENO"; then :
2151 –  ac_hi=$ac_mid; break
2152 – else
2153 –  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2154 –                        if test $ac_lo -le $ac_mid; then
2155 –                          ac_lo= ac_hi=
2156 –                          break
2157 –                        fi
2158 –                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2159 – fi
2160 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161 –  done
2162 – else
2163 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 – /* end confdefs.h.  */
2165 – $4
2166 – int
2167 – main ()
2168 – {
2169 – static int test_array [1 - 2 * !(($2) < 0)];
2170 – test_array [0] = 0
2171 –
2172 –  ;
2173 –  return 0;
2174 – }
2175 – _ACEOF
2176 – if ac_fn_c_try_compile "$LINENO"; then :
2177 –  ac_hi=-1 ac_mid=-1
2178 –  while :; do
2179 –    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 – /* end confdefs.h.  */
2181 – $4
2182 – int
2183 – main ()
2184 – {
2185 – static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2186 – test_array [0] = 0
2187 –
2188 –  ;
2189 –  return 0;
2190 – }
2191 – _ACEOF
2192 – if ac_fn_c_try_compile "$LINENO"; then :
2193 –  ac_lo=$ac_mid; break
2194 – else
2195 –  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2196 –                        if test $ac_mid -le $ac_hi; then
2197 –                          ac_lo= ac_hi=
2198 –                          break
2199 –                        fi
2200 –                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2201 – fi
2202 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203 –  done
2204 – else
2205 –  ac_lo= ac_hi=
2206 – fi
2207 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 – fi
2209 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 – # Binary search between lo and hi bounds.
2211 – while test "x$ac_lo" != "x$ac_hi"; do
2212 –  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2213 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 – /* end confdefs.h.  */
2215 – $4
2216 – int
2217 – main ()
2218 – {
2219 – static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2220 – test_array [0] = 0
2221 –
2222 –  ;
2223 –  return 0;
2224 – }
2225 – _ACEOF
2226 – if ac_fn_c_try_compile "$LINENO"; then :
2227 –  ac_hi=$ac_mid
2228 – else
2229 –  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2230 – fi
2231 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 – done
2233 – case $ac_lo in #((
2234 – ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2235 – '') ac_retval=1 ;;
2236 – esac
2237 –  else
2238 –    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 – /* end confdefs.h.  */
2240 – $4
2241 – static long int longval () { return $2; }
2242 – static unsigned long int ulongval () { return $2; }
2243 – #include <stdio.h>
2244 – #include <stdlib.h>
2245 – int
2246 – main ()
2247 – {
2248 –
2249 –  FILE *f = fopen ("conftest.val", "w");
2250 –  if (! f)
2251 –    return 1;
2252 –  if (($2) < 0)
2253 –    {
2254 –      long int i = longval ();
2255 –      if (i != ($2))
2256 –        return 1;
2257 –      fprintf (f, "%ld", i);
2258 –    }
2259 –  else
2260 –    {
2261 –      unsigned long int i = ulongval ();
2262 –      if (i != ($2))
2263 –        return 1;
2264 –      fprintf (f, "%lu", i);
2265 –    }
2266 –  /* Do not output a trailing newline, as this causes \r\n confusion
2267 –     on some platforms.  */
2268 –  return ferror (f) || fclose (f) != 0;
2269 –
2270 –  ;
2271 –  return 0;
2272 – }
2273 – _ACEOF
2274 – if ac_fn_c_try_run "$LINENO"; then :
2275 –  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2276 – else
2277 –  ac_retval=1
2278 – fi
2279 – rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2280 –  conftest.$ac_objext conftest.beam conftest.$ac_ext
2281 – rm -f conftest.val
2282 –
2283 –  fi
2284 –  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2285 –  return $ac_retval
2286 –
2287 – } # ac_fn_c_compute_int
2288 –
1967   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1968   # -------------------------------------------------------
1969   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2294 | Line 1972 | rm -f conftest.val
1972   ac_fn_c_check_header_mongrel ()
1973   {
1974    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1975 >  if eval \${$3+:} false; then :
1976    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977   $as_echo_n "checking for $2... " >&6; }
1978 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1978 > if eval \${$3+:} false; then :
1979    $as_echo_n "(cached) " >&6
1980   fi
1981   eval ac_res=\$$3
# Line 2333 | Line 2011 | if ac_fn_c_try_cpp "$LINENO"; then :
2011   else
2012    ac_header_preproc=no
2013   fi
2014 < rm -f conftest.err conftest.$ac_ext
2014 > rm -f conftest.err conftest.i conftest.$ac_ext
2015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2016   $as_echo "$ac_header_preproc" >&6; }
2017  
# Line 2356 | Line 2034 | $as_echo "$as_me: WARNING: $2: see the A
2034   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2035      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2036   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2037 + ( $as_echo "## ----------------------------------- ##
2038 + ## Report this to bugs@ircd-hybrid.org ##
2039 + ## ----------------------------------- ##"
2040 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2041      ;;
2042   esac
2043    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2044   $as_echo_n "checking for $2... " >&6; }
2045 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2045 > if eval \${$3+:} false; then :
2046    $as_echo_n "(cached) " >&6
2047   else
2048    eval "$3=\$ac_header_compiler"
# Line 2369 | Line 2051 | eval ac_res=\$$3
2051                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052   $as_echo "$ac_res" >&6; }
2053   fi
2054 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055  
2056   } # ac_fn_c_check_header_mongrel
2057   cat >config.log <<_ACEOF
2058   This file contains any messages produced by compilers while
2059   running configure, to aid debugging if configure makes a mistake.
2060  
2061 < It was created by ircd-hybrid $as_me 7.2.4, which was
2062 < generated by GNU Autoconf 2.64.  Invocation command line was
2061 > It was created by ircd-hybrid $as_me TRUNK, which was
2062 > generated by GNU Autoconf 2.69.  Invocation command line was
2063  
2064    $ $0 $@
2065  
# Line 2487 | Line 2169 | trap 'exit_status=$?
2169    {
2170      echo
2171  
2172 <    cat <<\_ASBOX
2491 < ## ---------------- ##
2172 >    $as_echo "## ---------------- ##
2173   ## Cache variables. ##
2174 < ## ---------------- ##
2494 < _ASBOX
2174 > ## ---------------- ##"
2175      echo
2176      # The following way of writing the cache mishandles newlines in values,
2177   (
# Line 2525 | Line 2205 | $as_echo "$as_me: WARNING: cache variabl
2205   )
2206      echo
2207  
2208 <    cat <<\_ASBOX
2529 < ## ----------------- ##
2208 >    $as_echo "## ----------------- ##
2209   ## Output variables. ##
2210 < ## ----------------- ##
2532 < _ASBOX
2210 > ## ----------------- ##"
2211      echo
2212      for ac_var in $ac_subst_vars
2213      do
# Line 2542 | Line 2220 | _ASBOX
2220      echo
2221  
2222      if test -n "$ac_subst_files"; then
2223 <      cat <<\_ASBOX
2546 < ## ------------------- ##
2223 >      $as_echo "## ------------------- ##
2224   ## File substitutions. ##
2225 < ## ------------------- ##
2549 < _ASBOX
2225 > ## ------------------- ##"
2226        echo
2227        for ac_var in $ac_subst_files
2228        do
# Line 2560 | Line 2236 | _ASBOX
2236      fi
2237  
2238      if test -s confdefs.h; then
2239 <      cat <<\_ASBOX
2564 < ## ----------- ##
2239 >      $as_echo "## ----------- ##
2240   ## confdefs.h. ##
2241 < ## ----------- ##
2567 < _ASBOX
2241 > ## ----------- ##"
2242        echo
2243        cat confdefs.h
2244        echo
# Line 2619 | Line 2293 | _ACEOF
2293   ac_site_file1=NONE
2294   ac_site_file2=NONE
2295   if test -n "$CONFIG_SITE"; then
2296 <  ac_site_file1=$CONFIG_SITE
2296 >  # We do not want a PATH search for config.site.
2297 >  case $CONFIG_SITE in #((
2298 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2299 >    */*) ac_site_file1=$CONFIG_SITE;;
2300 >    *)   ac_site_file1=./$CONFIG_SITE;;
2301 >  esac
2302   elif test "x$prefix" != xNONE; then
2303    ac_site_file1=$prefix/share/config.site
2304    ac_site_file2=$prefix/etc/config.site
# Line 2630 | Line 2309 | fi
2309   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2310   do
2311    test "x$ac_site_file" = xNONE && continue
2312 <  if test -r "$ac_site_file"; then
2312 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2313      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2314   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2315      sed 's/^/| /' "$ac_site_file" >&5
2316 <    . "$ac_site_file"
2316 >    . "$ac_site_file" \
2317 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2318 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2319 > as_fn_error $? "failed to load site script $ac_site_file
2320 > See \`config.log' for more details" "$LINENO" 5; }
2321    fi
2322   done
2323  
2324   if test -r "$cache_file"; then
2325 <  # Some versions of bash will fail to source /dev/null (special
2326 <  # files actually), so we avoid doing that.
2327 <  if test -f "$cache_file"; then
2325 >  # Some versions of bash will fail to source /dev/null (special files
2326 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2327 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2328      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2329   $as_echo "$as_me: loading cache $cache_file" >&6;}
2330      case $cache_file in
# Line 2655 | Line 2338 | $as_echo "$as_me: creating cache $cache_
2338    >$cache_file
2339   fi
2340  
2341 < as_fn_append ac_func_list " snprintf"
2659 < as_fn_append ac_func_list " vsnprintf"
2660 < as_fn_append ac_func_list " mmap"
2341 > as_fn_append ac_func_list " accept4"
2342   as_fn_append ac_func_list " strtok_r"
2662 – as_fn_append ac_func_list " usleep"
2343   as_fn_append ac_func_list " strlcat"
2344   as_fn_append ac_func_list " strlcpy"
2345   as_fn_append ac_header_list " crypt.h"
2666 – as_fn_append ac_header_list " inttypes.h"
2667 – as_fn_append ac_header_list " stdint.h"
2668 – as_fn_append ac_header_list " sys/resource.h"
2346   as_fn_append ac_header_list " sys/param.h"
2670 – as_fn_append ac_header_list " errno.h"
2671 – as_fn_append ac_header_list " sys/syslog.h"
2672 – as_fn_append ac_header_list " stddef.h"
2673 – as_fn_append ac_header_list " libgen.h"
2347   as_fn_append ac_header_list " types.h"
2348   as_fn_append ac_header_list " socket.h"
2349   as_fn_append ac_header_list " sys/wait.h"
2677 – as_fn_append ac_header_list " wait.h"
2678 – as_fn_append ac_header_list " link.h"
2350   # Check that the precious variables saved in the cache have kept the same
2351   # value.
2352   ac_cache_corrupted=false
# Line 2731 | Line 2402 | if $ac_cache_corrupted; then
2402   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2403    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2404   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2405 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2405 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2406   fi
2407   ## -------------------- ##
2408   ## Main body of script. ##
# Line 2744 | Line 2415 | ac_link='$CC -o conftest$ac_exeext $CFLA
2415   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2416  
2417  
2418 < am__api_version='1.11'
2418 > am__api_version='1.16'
2419  
2420   ac_aux_dir=
2421   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2422 <  for ac_t in install-sh install.sh shtool; do
2423 <    if test -f "$ac_dir/$ac_t"; then
2424 <      ac_aux_dir=$ac_dir
2425 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2426 <      break 2
2427 <    fi
2428 <  done
2422 >  if test -f "$ac_dir/install-sh"; then
2423 >    ac_aux_dir=$ac_dir
2424 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2425 >    break
2426 >  elif test -f "$ac_dir/install.sh"; then
2427 >    ac_aux_dir=$ac_dir
2428 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2429 >    break
2430 >  elif test -f "$ac_dir/shtool"; then
2431 >    ac_aux_dir=$ac_dir
2432 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2433 >    break
2434 >  fi
2435   done
2436   if test -z "$ac_aux_dir"; then
2437 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2437 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2438   fi
2439  
2440   # These three variables are undocumented and unsupported,
# Line 2786 | Line 2463 | ac_configure="$SHELL $ac_aux_dir/configu
2463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2464   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2465   if test -z "$INSTALL"; then
2466 < if test "${ac_cv_path_install+set}" = set; then :
2466 > if ${ac_cv_path_install+:} false; then :
2467    $as_echo_n "(cached) " >&6
2468   else
2469    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2806 | Line 2483 | case $as_dir/ in #((
2483      # by default.
2484      for ac_prog in ginstall scoinst install; do
2485        for ac_exec_ext in '' $ac_executable_extensions; do
2486 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2486 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2487            if test $ac_prog = install &&
2488              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2489              # AIX install.  It has an incompatible calling convention.
# Line 2864 | Line 2541 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2541  
2542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2543   $as_echo_n "checking whether build environment is sane... " >&6; }
2867 – # Just in case
2868 – sleep 1
2869 – echo timestamp > conftest.file
2544   # Reject unsafe characters in $srcdir or the absolute working directory
2545   # name.  Accept space and tab only in the latter.
2546   am_lf='
2547   '
2548   case `pwd` in
2549    *[\\\"\#\$\&\'\`$am_lf]*)
2550 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2550 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2551   esac
2552   case $srcdir in
2553    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2554 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2554 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2555   esac
2556  
2557 < # Do `set' in a subshell so we don't clobber the current shell's
2557 > # Do 'set' in a subshell so we don't clobber the current shell's
2558   # arguments.  Must try -L first in case configure is actually a
2559   # symlink; some systems play weird games with the mod time of symlinks
2560   # (eg FreeBSD returns the mod time of the symlink's containing
2561   # directory).
2562   if (
2563 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2564 <   if test "$*" = "X"; then
2565 <      # -L didn't work.
2566 <      set X `ls -t "$srcdir/configure" conftest.file`
2567 <   fi
2568 <   rm -f conftest.file
2569 <   if test "$*" != "X $srcdir/configure conftest.file" \
2570 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2571 <
2572 <      # If neither matched, then we have a broken ls.  This can happen
2899 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2900 <      # broken ls alias from the environment.  This has actually
2901 <      # happened.  Such a system could not be considered "sane".
2902 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2903 < alias in your environment" "$LINENO" 5
2904 <   fi
2563 >   am_has_slept=no
2564 >   for am_try in 1 2; do
2565 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2566 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2567 >     if test "$*" = "X"; then
2568 >        # -L didn't work.
2569 >        set X `ls -t "$srcdir/configure" conftest.file`
2570 >     fi
2571 >     if test "$*" != "X $srcdir/configure conftest.file" \
2572 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2573  
2574 +        # If neither matched, then we have a broken ls.  This can happen
2575 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2576 +        # broken ls alias from the environment.  This has actually
2577 +        # happened.  Such a system could not be considered "sane".
2578 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2579 +  alias in your environment" "$LINENO" 5
2580 +     fi
2581 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2582 +       break
2583 +     fi
2584 +     # Just in case.
2585 +     sleep 1
2586 +     am_has_slept=yes
2587 +   done
2588     test "$2" = conftest.file
2589     )
2590   then
2591     # Ok.
2592     :
2593   else
2594 <   as_fn_error "newly created file is older than distributed files!
2594 >   as_fn_error $? "newly created file is older than distributed files!
2595   Check your system clock" "$LINENO" 5
2596   fi
2597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2598   $as_echo "yes" >&6; }
2599 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2600 + # generated files are strictly newer.
2601 + am_sleep_pid=
2602 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2603 +  ( sleep 1 ) &
2604 +  am_sleep_pid=$!
2605 + fi
2606 +
2607 + rm -f conftest.file
2608 +
2609   test "$program_prefix" != NONE &&
2610    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2611   # Use a double $ so make ignores it.
# Line 2924 | Line 2616 | test "$program_suffix" != NONE &&
2616   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2617   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2618  
2619 < # expand $ac_aux_dir to an absolute path
2620 < am_aux_dir=`cd $ac_aux_dir && pwd`
2619 > # Expand $ac_aux_dir to an absolute path.
2620 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2621  
2622   if test x"${MISSING+set}" != xset; then
2623    case $am_aux_dir in
# Line 2936 | Line 2628 | if test x"${MISSING+set}" != xset; then
2628    esac
2629   fi
2630   # Use eval to expand $SHELL
2631 < if eval "$MISSING --run true"; then
2632 <  am_missing_run="$MISSING --run "
2631 > if eval "$MISSING --is-lightweight"; then
2632 >  am_missing_run="$MISSING "
2633   else
2634    am_missing_run=
2635 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2636 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2635 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2636 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2637   fi
2638  
2639 < if test x"${install_sh}" != xset; then
2639 > if test x"${install_sh+set}" != xset; then
2640    case $am_aux_dir in
2641    *\ * | *\     *)
2642      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2953 | Line 2645 | if test x"${install_sh}" != xset; then
2645    esac
2646   fi
2647  
2648 < # Installed binaries are usually stripped using `strip' when the user
2649 < # run `make install-strip'.  However `strip' might not be the right
2648 > # Installed binaries are usually stripped using 'strip' when the user
2649 > # run "make install-strip".  However 'strip' might not be the right
2650   # tool to use in cross-compilation environments, therefore Automake
2651 < # will honor the `STRIP' environment variable to overrule this program.
2651 > # will honor the 'STRIP' environment variable to overrule this program.
2652   if test "$cross_compiling" != no; then
2653    if test -n "$ac_tool_prefix"; then
2654    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2655   set dummy ${ac_tool_prefix}strip; ac_word=$2
2656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657   $as_echo_n "checking for $ac_word... " >&6; }
2658 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2658 > if ${ac_cv_prog_STRIP+:} false; then :
2659    $as_echo_n "(cached) " >&6
2660   else
2661    if test -n "$STRIP"; then
# Line 2975 | Line 2667 | do
2667    IFS=$as_save_IFS
2668    test -z "$as_dir" && as_dir=.
2669      for ac_exec_ext in '' $ac_executable_extensions; do
2670 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2671      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2672      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673      break 2
# Line 3003 | Line 2695 | if test -z "$ac_cv_prog_STRIP"; then
2695   set dummy strip; ac_word=$2
2696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697   $as_echo_n "checking for $ac_word... " >&6; }
2698 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2698 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2699    $as_echo_n "(cached) " >&6
2700   else
2701    if test -n "$ac_ct_STRIP"; then
# Line 3015 | Line 2707 | do
2707    IFS=$as_save_IFS
2708    test -z "$as_dir" && as_dir=.
2709      for ac_exec_ext in '' $ac_executable_extensions; do
2710 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711      ac_cv_prog_ac_ct_STRIP="strip"
2712      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713      break 2
# Line 3056 | Line 2748 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2749   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2750   if test -z "$MKDIR_P"; then
2751 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2751 >  if ${ac_cv_path_mkdir+:} false; then :
2752    $as_echo_n "(cached) " >&6
2753   else
2754    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3066 | Line 2758 | do
2758    test -z "$as_dir" && as_dir=.
2759      for ac_prog in mkdir gmkdir; do
2760           for ac_exec_ext in '' $ac_executable_extensions; do
2761 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2761 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2762             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2763               'mkdir (GNU coreutils) '* | \
2764               'mkdir (coreutils) '* | \
# Line 3081 | Line 2773 | IFS=$as_save_IFS
2773  
2774   fi
2775  
2776 +  test -d ./--version && rmdir ./--version
2777    if test "${ac_cv_path_mkdir+set}" = set; then
2778      MKDIR_P="$ac_cv_path_mkdir -p"
2779    else
# Line 3088 | Line 2781 | fi
2781      # value for MKDIR_P within a source directory, because that will
2782      # break other packages using the cache if that directory is
2783      # removed, or if the value is a relative name.
3091 –    test -d ./--version && rmdir ./--version
2784      MKDIR_P="$ac_install_sh -d"
2785    fi
2786   fi
2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2788   $as_echo "$MKDIR_P" >&6; }
2789  
3098 – mkdir_p="$MKDIR_P"
3099 – case $mkdir_p in
3100 –  [\\/$]* | ?:[\\/]*) ;;
3101 –  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3102 – esac
3103 –
2790   for ac_prog in gawk mawk nawk awk
2791   do
2792    # Extract the first word of "$ac_prog", so it can be a program name with args.
2793   set dummy $ac_prog; ac_word=$2
2794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795   $as_echo_n "checking for $ac_word... " >&6; }
2796 < if test "${ac_cv_prog_AWK+set}" = set; then :
2796 > if ${ac_cv_prog_AWK+:} false; then :
2797    $as_echo_n "(cached) " >&6
2798   else
2799    if test -n "$AWK"; then
# Line 3119 | Line 2805 | do
2805    IFS=$as_save_IFS
2806    test -z "$as_dir" && as_dir=.
2807      for ac_exec_ext in '' $ac_executable_extensions; do
2808 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809      ac_cv_prog_AWK="$ac_prog"
2810      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811      break 2
# Line 3147 | Line 2833 | done
2833   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2834   set x ${MAKE-make}
2835   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2836 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2836 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2837    $as_echo_n "(cached) " >&6
2838   else
2839    cat >conftest.make <<\_ACEOF
# Line 3155 | Line 2841 | SHELL = /bin/sh
2841   all:
2842          @echo '@@@%%%=$(MAKE)=@@@%%%'
2843   _ACEOF
2844 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2844 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2845   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2846    *@@@%%%=?*=@@@%%%*)
2847      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3183 | Line 2869 | else
2869   fi
2870   rmdir .tst 2>/dev/null
2871  
2872 + # Check whether --enable-silent-rules was given.
2873 + if test "${enable_silent_rules+set}" = set; then :
2874 +  enableval=$enable_silent_rules;
2875 + fi
2876 +
2877 + case $enable_silent_rules in # (((
2878 +  yes) AM_DEFAULT_VERBOSITY=0;;
2879 +   no) AM_DEFAULT_VERBOSITY=1;;
2880 +    *) AM_DEFAULT_VERBOSITY=1;;
2881 + esac
2882 + am_make=${MAKE-make}
2883 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2884 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2885 + if ${am_cv_make_support_nested_variables+:} false; then :
2886 +  $as_echo_n "(cached) " >&6
2887 + else
2888 +  if $as_echo 'TRUE=$(BAR$(V))
2889 + BAR0=false
2890 + BAR1=true
2891 + V=1
2892 + am__doit:
2893 +        @$(TRUE)
2894 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2895 +  am_cv_make_support_nested_variables=yes
2896 + else
2897 +  am_cv_make_support_nested_variables=no
2898 + fi
2899 + fi
2900 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2901 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2902 + if test $am_cv_make_support_nested_variables = yes; then
2903 +    AM_V='$(V)'
2904 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2905 + else
2906 +  AM_V=$AM_DEFAULT_VERBOSITY
2907 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2908 + fi
2909 + AM_BACKSLASH='\'
2910 +
2911   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2912    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2913    # is not polluted with repeated "-I."
2914    am__isrc=' -I$(srcdir)'
2915    # test to see if srcdir already configured
2916    if test -f $srcdir/config.status; then
2917 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2918    fi
2919   fi
2920  
# Line 3205 | Line 2930 | fi
2930  
2931   # Define the identity of the package.
2932   PACKAGE='ircd-hybrid'
2933 < VERSION='7.2.4'
2933 > VERSION='TRUNK'
2934  
2935  
2936   cat >>confdefs.h <<_ACEOF
# Line 3233 | Line 2958 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2958  
2959   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2960  
2961 < # We need awk for the "check" target.  The system "awk" is bad on
2962 < # some platforms.
2963 < # Always define AMTAR for backward compatibility.
2961 > # For better backward compatibility.  To be removed once Automake 1.9.x
2962 > # dies out for good.  For more background, see:
2963 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2964 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2965 > mkdir_p='$(MKDIR_P)'
2966 >
2967 > # We need awk for the "check" target (and possibly the TAP driver).  The
2968 > # system "awk" is bad on some platforms.
2969 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2970 > # in the wild :-(  We should find a proper way to deprecate it ...
2971 > AMTAR='$${TAR-tar}'
2972 >
2973 >
2974 > # We'll loop over all known methods to create a tar archive until one works.
2975 > _am_tools='gnutar  pax cpio none'
2976 >
2977 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2978 >
2979 >
2980 >
2981  
3240 – AMTAR=${AMTAR-"${am_missing_run}tar"}
2982  
3242 – am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2983  
2984 + # POSIX will say in a future version that running "rm -f" with no argument
2985 + # is OK; and we want to be able to make that assumption in our Makefile
2986 + # recipes.  So use an aggressive probe to check that the usage we want is
2987 + # actually supported "in the wild" to an acceptable degree.
2988 + # See automake bug#10828.
2989 + # To make any issue more visible, cause the running configure to be aborted
2990 + # by default if the 'rm' program in use doesn't match our expectations; the
2991 + # user can still override this though.
2992 + if rm -f && rm -fr && rm -rf; then : OK; else
2993 +  cat >&2 <<'END'
2994 + Oops!
2995  
2996 + Your 'rm' program seems unable to run without file operands specified
2997 + on the command line, even when the '-f' option is present.  This is contrary
2998 + to the behaviour of most rm programs out there, and not conforming with
2999 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3000  
3001 + Please tell bug-automake@gnu.org about your system, including the value
3002 + of your $PATH and any error possibly output before this message.  This
3003 + can help us improve future automake versions.
3004  
3005 + END
3006 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3007 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3008 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3009 +    echo >&2
3010 +  else
3011 +    cat >&2 <<'END'
3012 + Aborting the configuration process, to ensure you take notice of the issue.
3013 +
3014 + You can download and install GNU coreutils to get an 'rm' implementation
3015 + that behaves properly: <https://www.gnu.org/software/coreutils/>.
3016 +
3017 + If you want to complete the configuration process using your problematic
3018 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3019 + to "yes", and re-run configure.
3020 +
3021 + END
3022 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3023 +  fi
3024 + fi
3025  
3026  
3027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Line 3268 | Line 3046 | fi
3046    MAINT=$MAINTAINER_MODE_TRUE
3047  
3048  
3271 – ac_config_headers="$ac_config_headers config.h"
3049  
3050 + ac_config_headers="$ac_config_headers config.h"
3051  
3052  
3053  
3054   # Checks for programs.
3055 + DEPDIR="${am__leading_dot}deps"
3056 +
3057 + ac_config_commands="$ac_config_commands depfiles"
3058 +
3059 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3060 + $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3061 + cat > confinc.mk << 'END'
3062 + am__doit:
3063 +        @echo this is the am__doit target >confinc.out
3064 + .PHONY: am__doit
3065 + END
3066 + am__include="#"
3067 + am__quote=
3068 + # BSD make does it like this.
3069 + echo '.include "confinc.mk" # ignored' > confmf.BSD
3070 + # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3071 + echo 'include confinc.mk # ignored' > confmf.GNU
3072 + _am_result=no
3073 + for s in GNU BSD; do
3074 +  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3075 +   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3076 +   ac_status=$?
3077 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 +   (exit $ac_status); }
3079 +  case $?:`cat confinc.out 2>/dev/null` in #(
3080 +  '0:this is the am__doit target') :
3081 +    case $s in #(
3082 +  BSD) :
3083 +    am__include='.include' am__quote='"' ;; #(
3084 +  *) :
3085 +    am__include='include' am__quote='' ;;
3086 + esac ;; #(
3087 +  *) :
3088 +     ;;
3089 + esac
3090 +  if test "$am__include" != "#"; then
3091 +    _am_result="yes ($s style)"
3092 +    break
3093 +  fi
3094 + done
3095 + rm -f confinc.* confmf.*
3096 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3097 + $as_echo "${_am_result}" >&6; }
3098 +
3099 + # Check whether --enable-dependency-tracking was given.
3100 + if test "${enable_dependency_tracking+set}" = set; then :
3101 +  enableval=$enable_dependency_tracking;
3102 + fi
3103 +
3104 + if test "x$enable_dependency_tracking" != xno; then
3105 +  am_depcomp="$ac_aux_dir/depcomp"
3106 +  AMDEPBACKSLASH='\'
3107 +  am__nodep='_no'
3108 + fi
3109 + if test "x$enable_dependency_tracking" != xno; then
3110 +  AMDEP_TRUE=
3111 +  AMDEP_FALSE='#'
3112 + else
3113 +  AMDEP_TRUE='#'
3114 +  AMDEP_FALSE=
3115 + fi
3116 +
3117 +
3118   ac_ext=c
3119   ac_cpp='$CPP $CPPFLAGS'
3120   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3284 | Line 3125 | if test -n "$ac_tool_prefix"; then
3125   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127   $as_echo_n "checking for $ac_word... " >&6; }
3128 < if test "${ac_cv_prog_CC+set}" = set; then :
3128 > if ${ac_cv_prog_CC+:} false; then :
3129    $as_echo_n "(cached) " >&6
3130   else
3131    if test -n "$CC"; then
# Line 3296 | Line 3137 | do
3137    IFS=$as_save_IFS
3138    test -z "$as_dir" && as_dir=.
3139      for ac_exec_ext in '' $ac_executable_extensions; do
3140 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3140 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3142      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143      break 2
# Line 3324 | Line 3165 | if test -z "$ac_cv_prog_CC"; then
3165   set dummy gcc; ac_word=$2
3166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167   $as_echo_n "checking for $ac_word... " >&6; }
3168 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3168 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3169    $as_echo_n "(cached) " >&6
3170   else
3171    if test -n "$ac_ct_CC"; then
# Line 3336 | Line 3177 | do
3177    IFS=$as_save_IFS
3178    test -z "$as_dir" && as_dir=.
3179      for ac_exec_ext in '' $ac_executable_extensions; do
3180 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3180 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3181      ac_cv_prog_ac_ct_CC="gcc"
3182      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183      break 2
# Line 3377 | Line 3218 | if test -z "$CC"; then
3218   set dummy ${ac_tool_prefix}cc; ac_word=$2
3219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3220   $as_echo_n "checking for $ac_word... " >&6; }
3221 < if test "${ac_cv_prog_CC+set}" = set; then :
3221 > if ${ac_cv_prog_CC+:} false; then :
3222    $as_echo_n "(cached) " >&6
3223   else
3224    if test -n "$CC"; then
# Line 3389 | Line 3230 | do
3230    IFS=$as_save_IFS
3231    test -z "$as_dir" && as_dir=.
3232      for ac_exec_ext in '' $ac_executable_extensions; do
3233 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3234      ac_cv_prog_CC="${ac_tool_prefix}cc"
3235      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236      break 2
# Line 3417 | Line 3258 | if test -z "$CC"; then
3258   set dummy cc; ac_word=$2
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260   $as_echo_n "checking for $ac_word... " >&6; }
3261 < if test "${ac_cv_prog_CC+set}" = set; then :
3261 > if ${ac_cv_prog_CC+:} false; then :
3262    $as_echo_n "(cached) " >&6
3263   else
3264    if test -n "$CC"; then
# Line 3430 | Line 3271 | do
3271    IFS=$as_save_IFS
3272    test -z "$as_dir" && as_dir=.
3273      for ac_exec_ext in '' $ac_executable_extensions; do
3274 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3274 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3275      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3276         ac_prog_rejected=yes
3277         continue
# Line 3476 | Line 3317 | if test -z "$CC"; then
3317   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3319   $as_echo_n "checking for $ac_word... " >&6; }
3320 < if test "${ac_cv_prog_CC+set}" = set; then :
3320 > if ${ac_cv_prog_CC+:} false; then :
3321    $as_echo_n "(cached) " >&6
3322   else
3323    if test -n "$CC"; then
# Line 3488 | Line 3329 | do
3329    IFS=$as_save_IFS
3330    test -z "$as_dir" && as_dir=.
3331      for ac_exec_ext in '' $ac_executable_extensions; do
3332 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3332 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3333      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3334      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3335      break 2
# Line 3520 | Line 3361 | do
3361   set dummy $ac_prog; ac_word=$2
3362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363   $as_echo_n "checking for $ac_word... " >&6; }
3364 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3364 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3365    $as_echo_n "(cached) " >&6
3366   else
3367    if test -n "$ac_ct_CC"; then
# Line 3532 | Line 3373 | do
3373    IFS=$as_save_IFS
3374    test -z "$as_dir" && as_dir=.
3375      for ac_exec_ext in '' $ac_executable_extensions; do
3376 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3376 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3377      ac_cv_prog_ac_ct_CC="$ac_prog"
3378      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379      break 2
# Line 3574 | Line 3415 | fi
3415  
3416   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 < as_fn_error "no acceptable C compiler found in \$PATH
3419 < See \`config.log' for more details." "$LINENO" 5; }
3418 > as_fn_error $? "no acceptable C compiler found in \$PATH
3419 > See \`config.log' for more details" "$LINENO" 5; }
3420  
3421   # Provide some information about the compiler.
3422   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3596 | Line 3437 | $as_echo "$ac_try_echo"; } >&5
3437   ... rest of stderr output deleted ...
3438           10q' conftest.err >conftest.er1
3439      cat conftest.er1 >&5
3599 –    rm -f conftest.er1 conftest.err
3440    fi
3441 +  rm -f conftest.er1 conftest.err
3442    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3443    test $ac_status = 0; }
3444   done
3445  
3446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447   /* end confdefs.h.  */
3448 < #include <stdio.h>
3448 >
3449   int
3450   main ()
3451   {
3611 – FILE *f = fopen ("conftest.out", "w");
3612 – return ferror (f) || fclose (f) != 0;
3452  
3453    ;
3454    return 0;
3455   }
3456   _ACEOF
3457   ac_clean_files_save=$ac_clean_files
3458 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3458 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3459   # Try to create an executable without -o first, disregard a.out.
3460   # It will help us diagnose broken compilers, and finding out an intuition
3461   # of exeext.
3462 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3463 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3462 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3463 > $as_echo_n "checking whether the C compiler works... " >&6; }
3464   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3465  
3466   # The possible output files:
# Line 3683 | Line 3522 | test "$ac_cv_exeext" = no && ac_cv_exeex
3522   else
3523    ac_file=''
3524   fi
3686 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3687 – $as_echo "$ac_file" >&6; }
3525   if test -z "$ac_file"; then :
3526 <  $as_echo "$as_me: failed program was:" >&5
3526 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3527 > $as_echo "no" >&6; }
3528 > $as_echo "$as_me: failed program was:" >&5
3529   sed 's/^/| /' conftest.$ac_ext >&5
3530  
3531   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 < { as_fn_set_status 77
3534 < as_fn_error "C compiler cannot create executables
3535 < See \`config.log' for more details." "$LINENO" 5; }; }
3533 > as_fn_error 77 "C compiler cannot create executables
3534 > See \`config.log' for more details" "$LINENO" 5; }
3535 > else
3536 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3537 > $as_echo "yes" >&6; }
3538   fi
3539 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3540 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3541 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3542 + $as_echo "$ac_file" >&6; }
3543   ac_exeext=$ac_cv_exeext
3544  
3545 < # Check that the compiler produces executables we can run.  If not, either
3701 < # the compiler is broken, or we cross compile.
3702 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3703 < $as_echo_n "checking whether the C compiler works... " >&6; }
3704 < # If not cross compiling, check that we can run a simple program.
3705 < if test "$cross_compiling" != yes; then
3706 <  if { ac_try='./$ac_file'
3707 <  { { case "(($ac_try" in
3708 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709 <  *) ac_try_echo=$ac_try;;
3710 < esac
3711 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 < $as_echo "$ac_try_echo"; } >&5
3713 <  (eval "$ac_try") 2>&5
3714 <  ac_status=$?
3715 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 <  test $ac_status = 0; }; }; then
3717 <    cross_compiling=no
3718 <  else
3719 <    if test "$cross_compiling" = maybe; then
3720 <        cross_compiling=yes
3721 <    else
3722 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 < as_fn_error "cannot run C compiled programs.
3725 < If you meant to cross compile, use \`--host'.
3726 < See \`config.log' for more details." "$LINENO" 5; }
3727 <    fi
3728 <  fi
3729 < fi
3730 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3731 < $as_echo "yes" >&6; }
3732 <
3733 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3545 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3546   ac_clean_files=$ac_clean_files_save
3735 – # Check that the compiler produces executables we can run.  If not, either
3736 – # the compiler is broken, or we cross compile.
3737 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738 – $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3740 – $as_echo "$cross_compiling" >&6; }
3741 –
3547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3548   $as_echo_n "checking for suffix of executables... " >&6; }
3549   if { { ac_try="$ac_link"
# Line 3768 | Line 3573 | done
3573   else
3574    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3577 < See \`config.log' for more details." "$LINENO" 5; }
3576 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3577 > See \`config.log' for more details" "$LINENO" 5; }
3578   fi
3579 < rm -f conftest$ac_cv_exeext
3579 > rm -f conftest conftest$ac_cv_exeext
3580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3581   $as_echo "$ac_cv_exeext" >&6; }
3582  
3583   rm -f conftest.$ac_ext
3584   EXEEXT=$ac_cv_exeext
3585   ac_exeext=$EXEEXT
3586 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 + /* end confdefs.h.  */
3588 + #include <stdio.h>
3589 + int
3590 + main ()
3591 + {
3592 + FILE *f = fopen ("conftest.out", "w");
3593 + return ferror (f) || fclose (f) != 0;
3594 +
3595 +  ;
3596 +  return 0;
3597 + }
3598 + _ACEOF
3599 + ac_clean_files="$ac_clean_files conftest.out"
3600 + # Check that the compiler produces executables we can run.  If not, either
3601 + # the compiler is broken, or we cross compile.
3602 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3603 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3604 + if test "$cross_compiling" != yes; then
3605 +  { { ac_try="$ac_link"
3606 + case "(($ac_try" in
3607 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 +  *) ac_try_echo=$ac_try;;
3609 + esac
3610 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3611 + $as_echo "$ac_try_echo"; } >&5
3612 +  (eval "$ac_link") 2>&5
3613 +  ac_status=$?
3614 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3615 +  test $ac_status = 0; }
3616 +  if { ac_try='./conftest$ac_cv_exeext'
3617 +  { { case "(($ac_try" in
3618 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3619 +  *) ac_try_echo=$ac_try;;
3620 + esac
3621 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3622 + $as_echo "$ac_try_echo"; } >&5
3623 +  (eval "$ac_try") 2>&5
3624 +  ac_status=$?
3625 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3626 +  test $ac_status = 0; }; }; then
3627 +    cross_compiling=no
3628 +  else
3629 +    if test "$cross_compiling" = maybe; then
3630 +        cross_compiling=yes
3631 +    else
3632 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 + as_fn_error $? "cannot run C compiled programs.
3635 + If you meant to cross compile, use \`--host'.
3636 + See \`config.log' for more details" "$LINENO" 5; }
3637 +    fi
3638 +  fi
3639 + fi
3640 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3641 + $as_echo "$cross_compiling" >&6; }
3642 +
3643 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3644 + ac_clean_files=$ac_clean_files_save
3645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3646   $as_echo_n "checking for suffix of object files... " >&6; }
3647 < if test "${ac_cv_objext+set}" = set; then :
3647 > if ${ac_cv_objext+:} false; then :
3648    $as_echo_n "(cached) " >&6
3649   else
3650    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3820 | Line 3684 | sed 's/^/| /' conftest.$ac_ext >&5
3684  
3685   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3686   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3687 < as_fn_error "cannot compute suffix of object files: cannot compile
3688 < See \`config.log' for more details." "$LINENO" 5; }
3687 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3688 > See \`config.log' for more details" "$LINENO" 5; }
3689   fi
3690   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3691   fi
# Line 3831 | Line 3695 | OBJEXT=$ac_cv_objext
3695   ac_objext=$OBJEXT
3696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3697   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3698 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3698 > if ${ac_cv_c_compiler_gnu+:} false; then :
3699    $as_echo_n "(cached) " >&6
3700   else
3701    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3868 | Line 3732 | ac_test_CFLAGS=${CFLAGS+set}
3732   ac_save_CFLAGS=$CFLAGS
3733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3734   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3735 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3735 > if ${ac_cv_prog_cc_g+:} false; then :
3736    $as_echo_n "(cached) " >&6
3737   else
3738    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3946 | Line 3810 | else
3810   fi
3811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3812   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3813 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3813 > if ${ac_cv_prog_cc_c89+:} false; then :
3814    $as_echo_n "(cached) " >&6
3815   else
3816    ac_cv_prog_cc_c89=no
# Line 3955 | Line 3819 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3819   /* end confdefs.h.  */
3820   #include <stdarg.h>
3821   #include <stdio.h>
3822 < #include <sys/types.h>
3959 < #include <sys/stat.h>
3822 > struct stat;
3823   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3824   struct buf { int x; };
3825   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 4040 | Line 3903 | ac_cpp='$CPP $CPPFLAGS'
3903   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3904   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3905   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4043 – DEPDIR="${am__leading_dot}deps"
4044 –
4045 – ac_config_commands="$ac_config_commands depfiles"
4046 –
3906  
3907 < am_make=${MAKE-make}
3908 < cat > confinc << 'END'
3909 < am__doit:
3910 <        @echo this is the am__doit target
3911 < .PHONY: am__doit
3912 < END
3913 < # If we don't find an include directive, just comment out the code.
3914 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3915 < $as_echo_n "checking for style of include used by $am_make... " >&6; }
3916 < am__include="#"
3917 < am__quote=
3918 < _am_result=none
4060 < # First try GNU make style include.
4061 < echo "include confinc" > confmf
4062 < # Ignore all kinds of additional output from `make'.
4063 < case `$am_make -s -f confmf 2> /dev/null` in #(
4064 < *the\ am__doit\ target*)
4065 <  am__include=include
4066 <  am__quote=
4067 <  _am_result=GNU
4068 <  ;;
4069 < esac
4070 < # Now try BSD make style include.
4071 < if test "$am__include" = "#"; then
4072 <   echo '.include "confinc"' > confmf
4073 <   case `$am_make -s -f confmf 2> /dev/null` in #(
4074 <   *the\ am__doit\ target*)
4075 <     am__include=.include
4076 <     am__quote="\""
4077 <     _am_result=BSD
4078 <     ;;
4079 <   esac
4080 < fi
4081 <
4082 <
4083 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4084 < $as_echo "$_am_result" >&6; }
4085 < rm -f confinc confmf
3907 > ac_ext=c
3908 > ac_cpp='$CPP $CPPFLAGS'
3909 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3912 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3913 > $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3914 > if ${am_cv_prog_cc_c_o+:} false; then :
3915 >  $as_echo_n "(cached) " >&6
3916 > else
3917 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 > /* end confdefs.h.  */
3919  
3920 < # Check whether --enable-dependency-tracking was given.
3921 < if test "${enable_dependency_tracking+set}" = set; then :
3922 <  enableval=$enable_dependency_tracking;
4090 < fi
3920 > int
3921 > main ()
3922 > {
3923  
3924 < if test "x$enable_dependency_tracking" != xno; then
3925 <  am_depcomp="$ac_aux_dir/depcomp"
3926 <  AMDEPBACKSLASH='\'
3924 >  ;
3925 >  return 0;
3926 > }
3927 > _ACEOF
3928 >  # Make sure it works both with $CC and with simple cc.
3929 >  # Following AC_PROG_CC_C_O, we do the test twice because some
3930 >  # compilers refuse to overwrite an existing .o file with -o,
3931 >  # though they will create one.
3932 >  am_cv_prog_cc_c_o=yes
3933 >  for am_i in 1 2; do
3934 >    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3935 >   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3936 >   ac_status=$?
3937 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 >   (exit $ac_status); } \
3939 >         && test -f conftest2.$ac_objext; then
3940 >      : OK
3941 >    else
3942 >      am_cv_prog_cc_c_o=no
3943 >      break
3944 >    fi
3945 >  done
3946 >  rm -f core conftest*
3947 >  unset am_i
3948   fi
3949 < if test "x$enable_dependency_tracking" != xno; then
3950 <  AMDEP_TRUE=
3951 <  AMDEP_FALSE='#'
3952 < else
3953 <  AMDEP_TRUE='#'
3954 <  AMDEP_FALSE=
3949 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3950 > $as_echo "$am_cv_prog_cc_c_o" >&6; }
3951 > if test "$am_cv_prog_cc_c_o" != yes; then
3952 >   # Losing compiler, so override with the script.
3953 >   # FIXME: It is wrong to rewrite CC.
3954 >   # But if we don't then we get into trouble of one sort or another.
3955 >   # A longer-term fix would be to have automake use am__CC in this case,
3956 >   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3957 >   CC="$am_aux_dir/compile $CC"
3958   fi
3959 <
3959 > ac_ext=c
3960 > ac_cpp='$CPP $CPPFLAGS'
3961 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964  
3965  
3966   depcc="$CC"   am_compiler_list=
3967  
3968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3969   $as_echo_n "checking dependency style of $depcc... " >&6; }
3970 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3970 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3971    $as_echo_n "(cached) " >&6
3972   else
3973    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3974    # We make a subdir and do the tests there.  Otherwise we can end up
3975    # making bogus files that we don't know about and never remove.  For
3976    # instance it was reported that on HP-UX the gcc test will end up
3977 <  # making a dummy file named `D' -- because `-MD' means `put the output
3978 <  # in D'.
3977 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3978 >  # in D".
3979 >  rm -rf conftest.dir
3980    mkdir conftest.dir
3981    # Copy depcomp to subdir because otherwise we won't find it if we're
3982    # using a relative directory.
# Line 4149 | Line 4010 | else
4010      : > sub/conftest.c
4011      for i in 1 2 3 4 5 6; do
4012        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4013 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4014 <      # Solaris 8's {/usr,}/bin/sh.
4015 <      touch sub/conftst$i.h
4013 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4014 >      # Solaris 10 /bin/sh.
4015 >      echo '/* dummy */' > sub/conftst$i.h
4016      done
4017      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4018  
4019 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4019 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4020      # mode.  It turns out that the SunPro C++ compiler does not properly
4021 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4022 <    # versions had trouble with output in subdirs
4021 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4022 >    # versions had trouble with output in subdirs.
4023      am__obj=sub/conftest.${OBJEXT-o}
4024      am__minus_obj="-o $am__obj"
4025      case $depmode in
# Line 4167 | Line 4028 | else
4028        test "$am__universal" = false || continue
4029        ;;
4030      nosideeffect)
4031 <      # after this tag, mechanisms are not by side-effect, so they'll
4032 <      # only be used when explicitly requested
4031 >      # After this tag, mechanisms are not by side-effect, so they'll
4032 >      # only be used when explicitly requested.
4033        if test "x$enable_dependency_tracking" = xyes; then
4034          continue
4035        else
4036          break
4037        fi
4038        ;;
4039 <    msvisualcpp | msvcmsys)
4040 <      # This compiler won't grok `-c -o', but also, the minuso test has
4039 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4040 >      # This compiler won't grok '-c -o', but also, the minuso test has
4041        # not run yet.  These depmodes are late enough in the game, and
4042        # so weak that their functioning should not be impacted.
4043        am__obj=conftest.${OBJEXT-o}
# Line 4230 | Line 4091 | else
4091   fi
4092  
4093  
4094 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4095 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4096 + if ${ac_cv_prog_cc_c99+:} false; then :
4097 +  $as_echo_n "(cached) " >&6
4098 + else
4099 +  ac_cv_prog_cc_c99=no
4100 + ac_save_CC=$CC
4101 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 + /* end confdefs.h.  */
4103 + #include <stdarg.h>
4104 + #include <stdbool.h>
4105 + #include <stdlib.h>
4106 + #include <wchar.h>
4107 + #include <stdio.h>
4108 +
4109 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4110 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4111 + #define showlist(...) puts (#__VA_ARGS__)
4112 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4113 + static void
4114 + test_varargs_macros (void)
4115 + {
4116 +  int x = 1234;
4117 +  int y = 5678;
4118 +  debug ("Flag");
4119 +  debug ("X = %d\n", x);
4120 +  showlist (The first, second, and third items.);
4121 +  report (x>y, "x is %d but y is %d", x, y);
4122 + }
4123 +
4124 + // Check long long types.
4125 + #define BIG64 18446744073709551615ull
4126 + #define BIG32 4294967295ul
4127 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4128 + #if !BIG_OK
4129 +  your preprocessor is broken;
4130 + #endif
4131 + #if BIG_OK
4132 + #else
4133 +  your preprocessor is broken;
4134 + #endif
4135 + static long long int bignum = -9223372036854775807LL;
4136 + static unsigned long long int ubignum = BIG64;
4137 +
4138 + struct incomplete_array
4139 + {
4140 +  int datasize;
4141 +  double data[];
4142 + };
4143 +
4144 + struct named_init {
4145 +  int number;
4146 +  const wchar_t *name;
4147 +  double average;
4148 + };
4149 +
4150 + typedef const char *ccp;
4151 +
4152 + static inline int
4153 + test_restrict (ccp restrict text)
4154 + {
4155 +  // See if C++-style comments work.
4156 +  // Iterate through items via the restricted pointer.
4157 +  // Also check for declarations in for loops.
4158 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4159 +    continue;
4160 +  return 0;
4161 + }
4162 +
4163 + // Check varargs and va_copy.
4164 + static void
4165 + test_varargs (const char *format, ...)
4166 + {
4167 +  va_list args;
4168 +  va_start (args, format);
4169 +  va_list args_copy;
4170 +  va_copy (args_copy, args);
4171 +
4172 +  const char *str;
4173 +  int number;
4174 +  float fnumber;
4175 +
4176 +  while (*format)
4177 +    {
4178 +      switch (*format++)
4179 +        {
4180 +        case 's': // string
4181 +          str = va_arg (args_copy, const char *);
4182 +          break;
4183 +        case 'd': // int
4184 +          number = va_arg (args_copy, int);
4185 +          break;
4186 +        case 'f': // float
4187 +          fnumber = va_arg (args_copy, double);
4188 +          break;
4189 +        default:
4190 +          break;
4191 +        }
4192 +    }
4193 +  va_end (args_copy);
4194 +  va_end (args);
4195 + }
4196 +
4197 + int
4198 + main ()
4199 + {
4200 +
4201 +  // Check bool.
4202 +  _Bool success = false;
4203 +
4204 +  // Check restrict.
4205 +  if (test_restrict ("String literal") == 0)
4206 +    success = true;
4207 +  char *restrict newvar = "Another string";
4208 +
4209 +  // Check varargs.
4210 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4211 +  test_varargs_macros ();
4212 +
4213 +  // Check flexible array members.
4214 +  struct incomplete_array *ia =
4215 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4216 +  ia->datasize = 10;
4217 +  for (int i = 0; i < ia->datasize; ++i)
4218 +    ia->data[i] = i * 1.234;
4219 +
4220 +  // Check named initializers.
4221 +  struct named_init ni = {
4222 +    .number = 34,
4223 +    .name = L"Test wide string",
4224 +    .average = 543.34343,
4225 +  };
4226 +
4227 +  ni.number = 58;
4228 +
4229 +  int dynamic_array[ni.number];
4230 +  dynamic_array[ni.number - 1] = 543;
4231 +
4232 +  // work around unused variable warnings
4233 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4234 +          || dynamic_array[ni.number - 1] != 543);
4235 +
4236 +  ;
4237 +  return 0;
4238 + }
4239 + _ACEOF
4240 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4241 + do
4242 +  CC="$ac_save_CC $ac_arg"
4243 +  if ac_fn_c_try_compile "$LINENO"; then :
4244 +  ac_cv_prog_cc_c99=$ac_arg
4245 + fi
4246 + rm -f core conftest.err conftest.$ac_objext
4247 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4248 + done
4249 + rm -f conftest.$ac_ext
4250 + CC=$ac_save_CC
4251 +
4252 + fi
4253 + # AC_CACHE_VAL
4254 + case "x$ac_cv_prog_cc_c99" in
4255 +  x)
4256 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4257 + $as_echo "none needed" >&6; } ;;
4258 +  xno)
4259 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4260 + $as_echo "unsupported" >&6; } ;;
4261 +  *)
4262 +    CC="$CC $ac_cv_prog_cc_c99"
4263 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4264 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4265 + esac
4266 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4267 +
4268 + fi
4269 +
4270 +
4271 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4272 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4273 + fi
4274   for ac_prog in 'bison -y' byacc
4275   do
4276    # Extract the first word of "$ac_prog", so it can be a program name with args.
4277   set dummy $ac_prog; ac_word=$2
4278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4279   $as_echo_n "checking for $ac_word... " >&6; }
4280 < if test "${ac_cv_prog_YACC+set}" = set; then :
4280 > if ${ac_cv_prog_YACC+:} false; then :
4281    $as_echo_n "(cached) " >&6
4282   else
4283    if test -n "$YACC"; then
# Line 4248 | Line 4289 | do
4289    IFS=$as_save_IFS
4290    test -z "$as_dir" && as_dir=.
4291      for ac_exec_ext in '' $ac_executable_extensions; do
4292 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4292 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4293      ac_cv_prog_YACC="$ac_prog"
4294      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295      break 2
# Line 4280 | Line 4321 | do
4321   set dummy $ac_prog; ac_word=$2
4322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323   $as_echo_n "checking for $ac_word... " >&6; }
4324 < if test "${ac_cv_prog_LEX+set}" = set; then :
4324 > if ${ac_cv_prog_LEX+:} false; then :
4325    $as_echo_n "(cached) " >&6
4326   else
4327    if test -n "$LEX"; then
# Line 4292 | Line 4333 | do
4333    IFS=$as_save_IFS
4334    test -z "$as_dir" && as_dir=.
4335      for ac_exec_ext in '' $ac_executable_extensions; do
4336 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4336 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4337      ac_cv_prog_LEX="$ac_prog"
4338      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339      break 2
# Line 4324 | Line 4365 | a { ECHO; }
4365   b { REJECT; }
4366   c { yymore (); }
4367   d { yyless (1); }
4368 < e { yyless (input () != 0); }
4368 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4369 >    yyless ((input () != 0)); }
4370   f { unput (yytext[0]); }
4371   . { BEGIN INITIAL; }
4372   %%
# Line 4350 | Line 4392 | $as_echo "$ac_try_echo"; } >&5
4392    test $ac_status = 0; }
4393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4394   $as_echo_n "checking lex output file root... " >&6; }
4395 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4395 > if ${ac_cv_prog_lex_root+:} false; then :
4396    $as_echo_n "(cached) " >&6
4397   else
4398  
# Line 4359 | Line 4401 | if test -f lex.yy.c; then
4401   elif test -f lexyy.c; then
4402    ac_cv_prog_lex_root=lexyy
4403   else
4404 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4404 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4405   fi
4406   fi
4407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4369 | Line 4411 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4411   if test -z "${LEXLIB+set}"; then
4412    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4413   $as_echo_n "checking lex library... " >&6; }
4414 < if test "${ac_cv_lib_lex+set}" = set; then :
4414 > if ${ac_cv_lib_lex+:} false; then :
4415    $as_echo_n "(cached) " >&6
4416   else
4417  
# Line 4399 | Line 4441 | fi
4441  
4442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4443   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4444 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4444 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4445    $as_echo_n "(cached) " >&6
4446   else
4447    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4410 | Line 4452 | ac_save_LIBS=$LIBS
4452   LIBS="$LEXLIB $ac_save_LIBS"
4453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454   /* end confdefs.h.  */
4455 < #define YYTEXT_POINTER 1
4455 >
4456 >  #define YYTEXT_POINTER 1
4457   `cat $LEX_OUTPUT_ROOT.c`
4458   _ACEOF
4459   if ac_fn_c_try_link "$LINENO"; then :
# Line 4436 | Line 4479 | if test "$LEX" = :; then
4479   fi
4480  
4481  
4482 + # Initializing libtool.
4483 +
4484 +
4485 +
4486 +
4487 +
4488 +
4489  
4440 – #ltdl stuff
4490   case `pwd` in
4491    *\ * | *\     *)
4492      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4446 | Line 4495 | esac
4495  
4496  
4497  
4498 < macro_version='2.2.6'
4499 < macro_revision='1.3012'
4498 > macro_version='2.4.6'
4499 > macro_revision='2.4.6'
4500  
4501  
4502  
# Line 4461 | Line 4510 | macro_revision='1.3012'
4510  
4511  
4512  
4513 < ltmain="$ac_aux_dir/ltmain.sh"
4513 > ltmain=$ac_aux_dir/ltmain.sh
4514  
4515   # Make sure we can run config.sub.
4516   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4517 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4517 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4518  
4519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4520   $as_echo_n "checking build system type... " >&6; }
4521 < if test "${ac_cv_build+set}" = set; then :
4521 > if ${ac_cv_build+:} false; then :
4522    $as_echo_n "(cached) " >&6
4523   else
4524    ac_build_alias=$build_alias
4525   test "x$ac_build_alias" = x &&
4526    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4527   test "x$ac_build_alias" = x &&
4528 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4528 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4529   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4530 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4530 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4531  
4532   fi
4533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4534   $as_echo "$ac_cv_build" >&6; }
4535   case $ac_cv_build in
4536   *-*-*) ;;
4537 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4537 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4538   esac
4539   build=$ac_cv_build
4540   ac_save_IFS=$IFS; IFS='-'
# Line 4503 | Line 4552 | case $build_os in *\ *) build_os=`echo "
4552  
4553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4554   $as_echo_n "checking host system type... " >&6; }
4555 < if test "${ac_cv_host+set}" = set; then :
4555 > if ${ac_cv_host+:} false; then :
4556    $as_echo_n "(cached) " >&6
4557   else
4558    if test "x$host_alias" = x; then
4559    ac_cv_host=$ac_cv_build
4560   else
4561    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4562 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4562 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4563   fi
4564  
4565   fi
# Line 4518 | Line 4567 | fi
4567   $as_echo "$ac_cv_host" >&6; }
4568   case $ac_cv_host in
4569   *-*-*) ;;
4570 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4570 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4571   esac
4572   host=$ac_cv_host
4573   ac_save_IFS=$IFS; IFS='-'
# Line 4534 | Line 4583 | IFS=$ac_save_IFS
4583   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4584  
4585  
4586 + # Backslashify metacharacters that are still active within
4587 + # double-quoted strings.
4588 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4589 +
4590 + # Same as above, but do not quote variable references.
4591 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4592 +
4593 + # Sed substitution to delay expansion of an escaped shell variable in a
4594 + # double_quote_subst'ed string.
4595 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4596 +
4597 + # Sed substitution to delay expansion of an escaped single quote.
4598 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4599 +
4600 + # Sed substitution to avoid accidental globbing in evaled expressions
4601 + no_glob_subst='s/\*/\\\*/g'
4602 +
4603 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4604 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4605 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4606 +
4607 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4608 + $as_echo_n "checking how to print strings... " >&6; }
4609 + # Test print first, because it will be a builtin if present.
4610 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4611 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4612 +  ECHO='print -r --'
4613 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4614 +  ECHO='printf %s\n'
4615 + else
4616 +  # Use this function as a fallback that always works.
4617 +  func_fallback_echo ()
4618 +  {
4619 +    eval 'cat <<_LTECHO_EOF
4620 + $1
4621 + _LTECHO_EOF'
4622 +  }
4623 +  ECHO='func_fallback_echo'
4624 + fi
4625 +
4626 + # func_echo_all arg...
4627 + # Invoke $ECHO with all args, space-separated.
4628 + func_echo_all ()
4629 + {
4630 +    $ECHO ""
4631 + }
4632 +
4633 + case $ECHO in
4634 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4635 + $as_echo "printf" >&6; } ;;
4636 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4637 + $as_echo "print -r" >&6; } ;;
4638 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4639 + $as_echo "cat" >&6; } ;;
4640 + esac
4641 +
4642 +
4643 +
4644 +
4645 +
4646 +
4647 +
4648 +
4649 +
4650 +
4651 +
4652 +
4653 +
4654 +
4655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4656   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4657 < if test "${ac_cv_path_SED+set}" = set; then :
4657 > if ${ac_cv_path_SED+:} false; then :
4658    $as_echo_n "(cached) " >&6
4659   else
4660              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4556 | Line 4674 | do
4674      for ac_prog in sed gsed; do
4675      for ac_exec_ext in '' $ac_executable_extensions; do
4676        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4677 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4677 >      as_fn_executable_p "$ac_path_SED" || continue
4678   # Check for GNU ac_path_SED and select it if it is found.
4679    # Check for GNU $ac_path_SED
4680   case `"$ac_path_SED" --version 2>&1` in
# Line 4591 | Line 4709 | esac
4709    done
4710   IFS=$as_save_IFS
4711    if test -z "$ac_cv_path_SED"; then
4712 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4712 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4713    fi
4714   else
4715    ac_cv_path_SED=$SED
# Line 4618 | Line 4736 | Xsed="$SED -e 1s/^X//"
4736  
4737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4738   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4739 < if test "${ac_cv_path_GREP+set}" = set; then :
4739 > if ${ac_cv_path_GREP+:} false; then :
4740    $as_echo_n "(cached) " >&6
4741   else
4742    if test -z "$GREP"; then
# Line 4632 | Line 4750 | do
4750      for ac_prog in grep ggrep; do
4751      for ac_exec_ext in '' $ac_executable_extensions; do
4752        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4753 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4753 >      as_fn_executable_p "$ac_path_GREP" || continue
4754   # Check for GNU ac_path_GREP and select it if it is found.
4755    # Check for GNU $ac_path_GREP
4756   case `"$ac_path_GREP" --version 2>&1` in
# Line 4667 | Line 4785 | esac
4785    done
4786   IFS=$as_save_IFS
4787    if test -z "$ac_cv_path_GREP"; then
4788 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4788 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4789    fi
4790   else
4791    ac_cv_path_GREP=$GREP
# Line 4681 | Line 4799 | $as_echo "$ac_cv_path_GREP" >&6; }
4799  
4800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4801   $as_echo_n "checking for egrep... " >&6; }
4802 < if test "${ac_cv_path_EGREP+set}" = set; then :
4802 > if ${ac_cv_path_EGREP+:} false; then :
4803    $as_echo_n "(cached) " >&6
4804   else
4805    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4698 | Line 4816 | do
4816      for ac_prog in egrep; do
4817      for ac_exec_ext in '' $ac_executable_extensions; do
4818        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4819 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4819 >      as_fn_executable_p "$ac_path_EGREP" || continue
4820   # Check for GNU ac_path_EGREP and select it if it is found.
4821    # Check for GNU $ac_path_EGREP
4822   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4733 | Line 4851 | esac
4851    done
4852   IFS=$as_save_IFS
4853    if test -z "$ac_cv_path_EGREP"; then
4854 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4854 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4855    fi
4856   else
4857    ac_cv_path_EGREP=$EGREP
# Line 4748 | Line 4866 | $as_echo "$ac_cv_path_EGREP" >&6; }
4866  
4867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4868   $as_echo_n "checking for fgrep... " >&6; }
4869 < if test "${ac_cv_path_FGREP+set}" = set; then :
4869 > if ${ac_cv_path_FGREP+:} false; then :
4870    $as_echo_n "(cached) " >&6
4871   else
4872    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4765 | Line 4883 | do
4883      for ac_prog in fgrep; do
4884      for ac_exec_ext in '' $ac_executable_extensions; do
4885        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4886 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4886 >      as_fn_executable_p "$ac_path_FGREP" || continue
4887   # Check for GNU ac_path_FGREP and select it if it is found.
4888    # Check for GNU $ac_path_FGREP
4889   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4800 | Line 4918 | esac
4918    done
4919   IFS=$as_save_IFS
4920    if test -z "$ac_cv_path_FGREP"; then
4921 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4921 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4922    fi
4923   else
4924    ac_cv_path_FGREP=$FGREP
# Line 4835 | Line 4953 | test -z "$GREP" && GREP=grep
4953  
4954   # Check whether --with-gnu-ld was given.
4955   if test "${with_gnu_ld+set}" = set; then :
4956 <  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4956 >  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4957   else
4958    with_gnu_ld=no
4959   fi
4960  
4961   ac_prog=ld
4962 < if test "$GCC" = yes; then
4962 > if test yes = "$GCC"; then
4963    # Check if gcc -print-prog-name=ld gives a path.
4964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4965   $as_echo_n "checking for ld used by $CC... " >&6; }
4966    case $host in
4967    *-*-mingw*)
4968 <    # gcc leaves a trailing carriage return which upsets mingw
4968 >    # gcc leaves a trailing carriage return, which upsets mingw
4969      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4970    *)
4971      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
# Line 4861 | Line 4979 | $as_echo_n "checking for ld used by $CC.
4979        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4980          ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4981        done
4982 <      test -z "$LD" && LD="$ac_prog"
4982 >      test -z "$LD" && LD=$ac_prog
4983        ;;
4984    "")
4985      # If it fails, then pretend we aren't using GCC.
# Line 4872 | Line 4990 | $as_echo_n "checking for ld used by $CC.
4990      with_gnu_ld=unknown
4991      ;;
4992    esac
4993 < elif test "$with_gnu_ld" = yes; then
4993 > elif test yes = "$with_gnu_ld"; then
4994    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4995   $as_echo_n "checking for GNU ld... " >&6; }
4996   else
4997    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4998   $as_echo_n "checking for non-GNU ld... " >&6; }
4999   fi
5000 < if test "${lt_cv_path_LD+set}" = set; then :
5000 > if ${lt_cv_path_LD+:} false; then :
5001    $as_echo_n "(cached) " >&6
5002   else
5003    if test -z "$LD"; then
5004 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5004 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5005    for ac_dir in $PATH; do
5006 <    IFS="$lt_save_ifs"
5006 >    IFS=$lt_save_ifs
5007      test -z "$ac_dir" && ac_dir=.
5008      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5009 <      lt_cv_path_LD="$ac_dir/$ac_prog"
5009 >      lt_cv_path_LD=$ac_dir/$ac_prog
5010        # Check to see if the program is GNU ld.  I'd rather use --version,
5011        # but apparently some variants of GNU ld only accept -v.
5012        # Break only if it was the GNU/non-GNU ld that we prefer.
5013        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5014        *GNU* | *'with BFD'*)
5015 <        test "$with_gnu_ld" != no && break
5015 >        test no != "$with_gnu_ld" && break
5016          ;;
5017        *)
5018 <        test "$with_gnu_ld" != yes && break
5018 >        test yes != "$with_gnu_ld" && break
5019          ;;
5020        esac
5021      fi
5022    done
5023 <  IFS="$lt_save_ifs"
5023 >  IFS=$lt_save_ifs
5024   else
5025 <  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5025 >  lt_cv_path_LD=$LD # Let the user override the test with a path.
5026   fi
5027   fi
5028  
5029 < LD="$lt_cv_path_LD"
5029 > LD=$lt_cv_path_LD
5030   if test -n "$LD"; then
5031    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5032   $as_echo "$LD" >&6; }
# Line 4916 | Line 5034 | else
5034    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035   $as_echo "no" >&6; }
5036   fi
5037 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5037 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5039   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5040 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5040 > if ${lt_cv_prog_gnu_ld+:} false; then :
5041    $as_echo_n "(cached) " >&6
5042   else
5043    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4946 | Line 5064 | with_gnu_ld=$lt_cv_prog_gnu_ld
5064  
5065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5066   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5067 < if test "${lt_cv_path_NM+set}" = set; then :
5067 > if ${lt_cv_path_NM+:} false; then :
5068    $as_echo_n "(cached) " >&6
5069   else
5070    if test -n "$NM"; then
5071    # Let the user override the test.
5072 <  lt_cv_path_NM="$NM"
5072 >  lt_cv_path_NM=$NM
5073   else
5074 <  lt_nm_to_check="${ac_tool_prefix}nm"
5074 >  lt_nm_to_check=${ac_tool_prefix}nm
5075    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5076      lt_nm_to_check="$lt_nm_to_check nm"
5077    fi
5078    for lt_tmp_nm in $lt_nm_to_check; do
5079 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5079 >    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5080      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5081 <      IFS="$lt_save_ifs"
5081 >      IFS=$lt_save_ifs
5082        test -z "$ac_dir" && ac_dir=.
5083 <      tmp_nm="$ac_dir/$lt_tmp_nm"
5084 <      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5083 >      tmp_nm=$ac_dir/$lt_tmp_nm
5084 >      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5085          # Check to see if the nm accepts a BSD-compat flag.
5086 <        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5086 >        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5087          #   nm: unknown option "B" ignored
5088          # Tru64's nm complains that /dev/null is an invalid object file
5089 <        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5090 <        */dev/null* | *'Invalid file or object type'*)
5089 >        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5090 >        case $build_os in
5091 >        mingw*) lt_bad_file=conftest.nm/nofile ;;
5092 >        *) lt_bad_file=/dev/null ;;
5093 >        esac
5094 >        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5095 >        *$lt_bad_file* | *'Invalid file or object type'*)
5096            lt_cv_path_NM="$tmp_nm -B"
5097 <          break
5097 >          break 2
5098            ;;
5099          *)
5100            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5101            */dev/null*)
5102              lt_cv_path_NM="$tmp_nm -p"
5103 <            break
5103 >            break 2
5104              ;;
5105            *)
5106              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
# Line 4988 | Line 5111 | else
5111          esac
5112        fi
5113      done
5114 <    IFS="$lt_save_ifs"
5114 >    IFS=$lt_save_ifs
5115    done
5116    : ${lt_cv_path_NM=no}
5117   fi
5118   fi
5119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5120   $as_echo "$lt_cv_path_NM" >&6; }
5121 < if test "$lt_cv_path_NM" != "no"; then
5122 <  NM="$lt_cv_path_NM"
5121 > if test no != "$lt_cv_path_NM"; then
5122 >  NM=$lt_cv_path_NM
5123   else
5124    # Didn't find any BSD compatible name lister, look for dumpbin.
5125 <  if test -n "$ac_tool_prefix"; then
5126 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5125 >  if test -n "$DUMPBIN"; then :
5126 >    # Let the user override the test.
5127 >  else
5128 >    if test -n "$ac_tool_prefix"; then
5129 >  for ac_prog in dumpbin "link -dump"
5130    do
5131      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5132   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134   $as_echo_n "checking for $ac_word... " >&6; }
5135 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5135 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5136    $as_echo_n "(cached) " >&6
5137   else
5138    if test -n "$DUMPBIN"; then
# Line 5018 | Line 5144 | do
5144    IFS=$as_save_IFS
5145    test -z "$as_dir" && as_dir=.
5146      for ac_exec_ext in '' $ac_executable_extensions; do
5147 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5147 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5149      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150      break 2
# Line 5044 | Line 5170 | fi
5170   fi
5171   if test -z "$DUMPBIN"; then
5172    ac_ct_DUMPBIN=$DUMPBIN
5173 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5173 >  for ac_prog in dumpbin "link -dump"
5174   do
5175    # Extract the first word of "$ac_prog", so it can be a program name with args.
5176   set dummy $ac_prog; ac_word=$2
5177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178   $as_echo_n "checking for $ac_word... " >&6; }
5179 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5179 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5180    $as_echo_n "(cached) " >&6
5181   else
5182    if test -n "$ac_ct_DUMPBIN"; then
# Line 5062 | Line 5188 | do
5188    IFS=$as_save_IFS
5189    test -z "$as_dir" && as_dir=.
5190      for ac_exec_ext in '' $ac_executable_extensions; do
5191 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5193      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194      break 2
# Line 5099 | Line 5225 | esac
5225    fi
5226   fi
5227  
5228 +    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5229 +    *COFF*)
5230 +      DUMPBIN="$DUMPBIN -symbols -headers"
5231 +      ;;
5232 +    *)
5233 +      DUMPBIN=:
5234 +      ;;
5235 +    esac
5236 +  fi
5237  
5238 <  if test "$DUMPBIN" != ":"; then
5239 <    NM="$DUMPBIN"
5238 >  if test : != "$DUMPBIN"; then
5239 >    NM=$DUMPBIN
5240    fi
5241   fi
5242   test -z "$NM" && NM=nm
# Line 5113 | Line 5248 | test -z "$NM" && NM=nm
5248  
5249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5250   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5251 < if test "${lt_cv_nm_interface+set}" = set; then :
5251 > if ${lt_cv_nm_interface+:} false; then :
5252    $as_echo_n "(cached) " >&6
5253   else
5254    lt_cv_nm_interface="BSD nm"
5255    echo "int some_variable = 0;" > conftest.$ac_ext
5256 <  (eval echo "\"\$as_me:5121: $ac_compile\"" >&5)
5256 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5257    (eval "$ac_compile" 2>conftest.err)
5258    cat conftest.err >&5
5259 <  (eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5259 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5260    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5261    cat conftest.err >&5
5262 <  (eval echo "\"\$as_me:5127: output\"" >&5)
5262 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5263    cat conftest.out >&5
5264    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5265      lt_cv_nm_interface="MS dumpbin"
# Line 5148 | Line 5283 | fi
5283   # find the maximum length of command line arguments
5284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5285   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5286 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5286 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5287    $as_echo_n "(cached) " >&6
5288   else
5289      i=0
5290 <  teststring="ABCD"
5290 >  teststring=ABCD
5291  
5292    case $build_os in
5293    msdosdjgpp*)
# Line 5181 | Line 5316 | else
5316      lt_cv_sys_max_cmd_len=8192;
5317      ;;
5318  
5319 +  mint*)
5320 +    # On MiNT this can take a long time and run out of memory.
5321 +    lt_cv_sys_max_cmd_len=8192;
5322 +    ;;
5323 +
5324    amigaos*)
5325      # On AmigaOS with pdksh, this test takes hours, literally.
5326      # So we just punt and use a minimum line length of 8192.
5327      lt_cv_sys_max_cmd_len=8192;
5328      ;;
5329  
5330 <  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5330 >  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5331      # This has been around since 386BSD, at least.  Likely further.
5332      if test -x /sbin/sysctl; then
5333        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
# Line 5206 | Line 5346 | else
5346      lt_cv_sys_max_cmd_len=196608
5347      ;;
5348  
5349 +  os2*)
5350 +    # The test takes a long time on OS/2.
5351 +    lt_cv_sys_max_cmd_len=8192
5352 +    ;;
5353 +
5354    osf*)
5355      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5356      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5232 | Line 5377 | else
5377      ;;
5378    *)
5379      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5380 <    if test -n "$lt_cv_sys_max_cmd_len"; then
5380 >    if test -n "$lt_cv_sys_max_cmd_len" && \
5381 >       test undefined != "$lt_cv_sys_max_cmd_len"; then
5382        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5383        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5384      else
5385        # Make teststring a little bigger before we do anything with it.
5386        # a 1K string should be a reasonable start.
5387 <      for i in 1 2 3 4 5 6 7 8 ; do
5387 >      for i in 1 2 3 4 5 6 7 8; do
5388          teststring=$teststring$teststring
5389        done
5390        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5391        # If test is not a shell built-in, we'll probably end up computing a
5392        # maximum length that is only half of the actual maximum length, but
5393        # we can't tell.
5394 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5395 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5396 <              test $i != 17 # 1/2 MB should be enough
5394 >      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5395 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5396 >              test 17 != "$i" # 1/2 MB should be enough
5397        do
5398          i=`expr $i + 1`
5399          teststring=$teststring$teststring
# Line 5265 | Line 5411 | else
5411  
5412   fi
5413  
5414 < if test -n $lt_cv_sys_max_cmd_len ; then
5414 > if test -n "$lt_cv_sys_max_cmd_len"; then
5415    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5416   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5417   else
# Line 5283 | Line 5429 | max_cmd_len=$lt_cv_sys_max_cmd_len
5429   : ${MV="mv -f"}
5430   : ${RM="rm -f"}
5431  
5286 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5287 – $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5288 – # Try some XSI features
5289 – xsi_shell=no
5290 – ( _lt_dummy="a/b/c"
5291 –  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5292 –      = c,a/b,, \
5293 –    && eval 'test $(( 1 + 1 )) -eq 2 \
5294 –    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5295 –  && xsi_shell=yes
5296 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5297 – $as_echo "$xsi_shell" >&6; }
5298 –
5299 –
5300 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5301 – $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5302 – lt_shell_append=no
5303 – ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5304 –    >/dev/null 2>&1 \
5305 –  && lt_shell_append=yes
5306 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5307 – $as_echo "$lt_shell_append" >&6; }
5308 –
5309 –
5432   if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5433    lt_unset=unset
5434   else
# Line 5338 | Line 5460 | esac
5460  
5461  
5462  
5463 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5464 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5465 + if ${lt_cv_to_host_file_cmd+:} false; then :
5466 +  $as_echo_n "(cached) " >&6
5467 + else
5468 +  case $host in
5469 +  *-*-mingw* )
5470 +    case $build in
5471 +      *-*-mingw* ) # actually msys
5472 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5473 +        ;;
5474 +      *-*-cygwin* )
5475 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5476 +        ;;
5477 +      * ) # otherwise, assume *nix
5478 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5479 +        ;;
5480 +    esac
5481 +    ;;
5482 +  *-*-cygwin* )
5483 +    case $build in
5484 +      *-*-mingw* ) # actually msys
5485 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5486 +        ;;
5487 +      *-*-cygwin* )
5488 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5489 +        ;;
5490 +      * ) # otherwise, assume *nix
5491 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5492 +        ;;
5493 +    esac
5494 +    ;;
5495 +  * ) # unhandled hosts (and "normal" native builds)
5496 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5497 +    ;;
5498 + esac
5499 +
5500 + fi
5501 +
5502 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5503 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5504 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5505 +
5506 +
5507 +
5508 +
5509 +
5510 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5511 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5512 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5513 +  $as_echo_n "(cached) " >&6
5514 + else
5515 +  #assume ordinary cross tools, or native build.
5516 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5517 + case $host in
5518 +  *-*-mingw* )
5519 +    case $build in
5520 +      *-*-mingw* ) # actually msys
5521 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5522 +        ;;
5523 +    esac
5524 +    ;;
5525 + esac
5526 +
5527 + fi
5528 +
5529 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5530 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5531 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5532 +
5533 +
5534 +
5535 +
5536 +
5537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5538   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5539 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5539 > if ${lt_cv_ld_reload_flag+:} false; then :
5540    $as_echo_n "(cached) " >&6
5541   else
5542    lt_cv_ld_reload_flag='-r'
# Line 5354 | Line 5550 | case $reload_flag in
5550   esac
5551   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5552   case $host_os in
5553 +  cygwin* | mingw* | pw32* | cegcc*)
5554 +    if test yes != "$GCC"; then
5555 +      reload_cmds=false
5556 +    fi
5557 +    ;;
5558    darwin*)
5559 <    if test "$GCC" = yes; then
5560 <      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5559 >    if test yes = "$GCC"; then
5560 >      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5561      else
5562        reload_cmds='$LD$reload_flag -o $output$reload_objs'
5563      fi
# Line 5376 | Line 5577 | if test -n "$ac_tool_prefix"; then
5577   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5579   $as_echo_n "checking for $ac_word... " >&6; }
5580 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5580 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5581    $as_echo_n "(cached) " >&6
5582   else
5583    if test -n "$OBJDUMP"; then
# Line 5388 | Line 5589 | do
5589    IFS=$as_save_IFS
5590    test -z "$as_dir" && as_dir=.
5591      for ac_exec_ext in '' $ac_executable_extensions; do
5592 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5592 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5594      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595      break 2
# Line 5416 | Line 5617 | if test -z "$ac_cv_prog_OBJDUMP"; then
5617   set dummy objdump; ac_word=$2
5618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619   $as_echo_n "checking for $ac_word... " >&6; }
5620 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5620 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5621    $as_echo_n "(cached) " >&6
5622   else
5623    if test -n "$ac_ct_OBJDUMP"; then
# Line 5428 | Line 5629 | do
5629    IFS=$as_save_IFS
5630    test -z "$as_dir" && as_dir=.
5631      for ac_exec_ext in '' $ac_executable_extensions; do
5632 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5632 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5634      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635      break 2
# Line 5475 | Line 5676 | test -z "$OBJDUMP" && OBJDUMP=objdump
5676  
5677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5678   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5679 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5679 > if ${lt_cv_deplibs_check_method+:} false; then :
5680    $as_echo_n "(cached) " >&6
5681   else
5682    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5484 | Line 5685 | lt_cv_deplibs_check_method='unknown'
5685   # Need to set the preceding variable on all platforms that support
5686   # interlibrary dependencies.
5687   # 'none' -- dependencies not supported.
5688 < # `unknown' -- same as none, but documents that we really don't know.
5688 > # 'unknown' -- same as none, but documents that we really don't know.
5689   # 'pass_all' -- all dependencies passed with no checks.
5690   # 'test_compile' -- check by making test program.
5691   # 'file_magic [[regex]]' -- check by looking for files in library path
5692 < # which responds to the $file_magic_cmd with a given extended regex.
5693 < # If you have `file' or equivalent on your system and you're not sure
5694 < # whether `pass_all' will *always* work, you probably want this one.
5692 > # that responds to the $file_magic_cmd with a given extended regex.
5693 > # If you have 'file' or equivalent on your system and you're not sure
5694 > # whether 'pass_all' will *always* work, you probably want this one.
5695  
5696   case $host_os in
5697   aix[4-9]*)
# Line 5521 | Line 5722 | mingw* | pw32*)
5722      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5723      lt_cv_file_magic_cmd='func_win32_libid'
5724    else
5725 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5725 >    # Keep this pattern in sync with the one in func_win32_libid.
5726 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5727      lt_cv_file_magic_cmd='$OBJDUMP -f'
5728    fi
5729    ;;
5730  
5731 < cegcc)
5731 > cegcc*)
5732    # use the weaker test based on 'objdump'. See mingw*.
5733    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5734    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5552 | Line 5754 | freebsd* | dragonfly*)
5754    fi
5755    ;;
5756  
5757 < gnu*)
5757 > haiku*)
5758    lt_cv_deplibs_check_method=pass_all
5759    ;;
5760  
# Line 5564 | Line 5766 | hpux10.20* | hpux11*)
5766      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5767      ;;
5768    hppa*64*)
5769 <    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]'
5769 >    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]'
5770      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5771      ;;
5772    *)
5773 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5773 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5774      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5775      ;;
5776    esac
# Line 5589 | Line 5791 | irix5* | irix6* | nonstopux*)
5791    lt_cv_deplibs_check_method=pass_all
5792    ;;
5793  
5794 < # This must be Linux ELF.
5795 < linux* | k*bsd*-gnu)
5794 > # This must be glibc/ELF.
5795 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5796    lt_cv_deplibs_check_method=pass_all
5797    ;;
5798  
5799 < netbsd*)
5799 > netbsd* | netbsdelf*-gnu)
5800    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5801      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5802    else
# Line 5612 | Line 5814 | newos6*)
5814    lt_cv_deplibs_check_method=pass_all
5815    ;;
5816  
5817 < openbsd*)
5818 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5817 > openbsd* | bitrig*)
5818 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5819      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5820    else
5821      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
# Line 5666 | Line 5868 | sysv4 | sysv4.3*)
5868   tpf*)
5869    lt_cv_deplibs_check_method=pass_all
5870    ;;
5871 + os2*)
5872 +  lt_cv_deplibs_check_method=pass_all
5873 +  ;;
5874   esac
5875  
5876   fi
5877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5878   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5879 +
5880 + file_magic_glob=
5881 + want_nocaseglob=no
5882 + if test "$build" = "$host"; then
5883 +  case $host_os in
5884 +  mingw* | pw32*)
5885 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5886 +      want_nocaseglob=yes
5887 +    else
5888 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5889 +    fi
5890 +    ;;
5891 +  esac
5892 + fi
5893 +
5894   file_magic_cmd=$lt_cv_file_magic_cmd
5895   deplibs_check_method=$lt_cv_deplibs_check_method
5896   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5686 | Line 5906 | test -z "$deplibs_check_method" && depli
5906  
5907  
5908  
5909 +
5910 +
5911 +
5912 +
5913 +
5914 +
5915 +
5916 +
5917 +
5918 +
5919   if test -n "$ac_tool_prefix"; then
5920 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5921 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5920 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5921 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5922 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 > $as_echo_n "checking for $ac_word... " >&6; }
5924 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5925 >  $as_echo_n "(cached) " >&6
5926 > else
5927 >  if test -n "$DLLTOOL"; then
5928 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5929 > else
5930 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 > for as_dir in $PATH
5932 > do
5933 >  IFS=$as_save_IFS
5934 >  test -z "$as_dir" && as_dir=.
5935 >    for ac_exec_ext in '' $ac_executable_extensions; do
5936 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5938 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 >    break 2
5940 >  fi
5941 > done
5942 >  done
5943 > IFS=$as_save_IFS
5944 >
5945 > fi
5946 > fi
5947 > DLLTOOL=$ac_cv_prog_DLLTOOL
5948 > if test -n "$DLLTOOL"; then
5949 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5950 > $as_echo "$DLLTOOL" >&6; }
5951 > else
5952 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 > $as_echo "no" >&6; }
5954 > fi
5955 >
5956 >
5957 > fi
5958 > if test -z "$ac_cv_prog_DLLTOOL"; then
5959 >  ac_ct_DLLTOOL=$DLLTOOL
5960 >  # Extract the first word of "dlltool", so it can be a program name with args.
5961 > set dummy dlltool; ac_word=$2
5962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963   $as_echo_n "checking for $ac_word... " >&6; }
5964 < if test "${ac_cv_prog_AR+set}" = set; then :
5964 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5965 >  $as_echo_n "(cached) " >&6
5966 > else
5967 >  if test -n "$ac_ct_DLLTOOL"; then
5968 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5969 > else
5970 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 > for as_dir in $PATH
5972 > do
5973 >  IFS=$as_save_IFS
5974 >  test -z "$as_dir" && as_dir=.
5975 >    for ac_exec_ext in '' $ac_executable_extensions; do
5976 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5978 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 >    break 2
5980 >  fi
5981 > done
5982 >  done
5983 > IFS=$as_save_IFS
5984 >
5985 > fi
5986 > fi
5987 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5988 > if test -n "$ac_ct_DLLTOOL"; then
5989 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5990 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5991 > else
5992 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 > $as_echo "no" >&6; }
5994 > fi
5995 >
5996 >  if test "x$ac_ct_DLLTOOL" = x; then
5997 >    DLLTOOL="false"
5998 >  else
5999 >    case $cross_compiling:$ac_tool_warned in
6000 > yes:)
6001 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6002 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6003 > ac_tool_warned=yes ;;
6004 > esac
6005 >    DLLTOOL=$ac_ct_DLLTOOL
6006 >  fi
6007 > else
6008 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
6009 > fi
6010 >
6011 > test -z "$DLLTOOL" && DLLTOOL=dlltool
6012 >
6013 >
6014 >
6015 >
6016 >
6017 >
6018 >
6019 >
6020 >
6021 >
6022 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6023 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6024 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6025 >  $as_echo_n "(cached) " >&6
6026 > else
6027 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
6028 >
6029 > case $host_os in
6030 > cygwin* | mingw* | pw32* | cegcc*)
6031 >  # two different shell functions defined in ltmain.sh;
6032 >  # decide which one to use based on capabilities of $DLLTOOL
6033 >  case `$DLLTOOL --help 2>&1` in
6034 >  *--identify-strict*)
6035 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6036 >    ;;
6037 >  *)
6038 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6039 >    ;;
6040 >  esac
6041 >  ;;
6042 > *)
6043 >  # fallback: assume linklib IS sharedlib
6044 >  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6045 >  ;;
6046 > esac
6047 >
6048 > fi
6049 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6050 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6051 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6052 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6053 >
6054 >
6055 >
6056 >
6057 >
6058 >
6059 >
6060 > if test -n "$ac_tool_prefix"; then
6061 >  for ac_prog in ar
6062 >  do
6063 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6064 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6065 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 > $as_echo_n "checking for $ac_word... " >&6; }
6067 > if ${ac_cv_prog_AR+:} false; then :
6068    $as_echo_n "(cached) " >&6
6069   else
6070    if test -n "$AR"; then
# Line 5703 | Line 6076 | do
6076    IFS=$as_save_IFS
6077    test -z "$as_dir" && as_dir=.
6078      for ac_exec_ext in '' $ac_executable_extensions; do
6079 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6080 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6079 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6081      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082      break 2
6083    fi
# Line 5724 | Line 6097 | $as_echo "no" >&6; }
6097   fi
6098  
6099  
6100 +    test -n "$AR" && break
6101 +  done
6102   fi
6103 < if test -z "$ac_cv_prog_AR"; then
6103 > if test -z "$AR"; then
6104    ac_ct_AR=$AR
6105 <  # Extract the first word of "ar", so it can be a program name with args.
6106 < set dummy ar; ac_word=$2
6105 >  for ac_prog in ar
6106 > do
6107 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6108 > set dummy $ac_prog; ac_word=$2
6109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110   $as_echo_n "checking for $ac_word... " >&6; }
6111 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6111 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6112    $as_echo_n "(cached) " >&6
6113   else
6114    if test -n "$ac_ct_AR"; then
# Line 5743 | Line 6120 | do
6120    IFS=$as_save_IFS
6121    test -z "$as_dir" && as_dir=.
6122      for ac_exec_ext in '' $ac_executable_extensions; do
6123 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6124 <    ac_cv_prog_ac_ct_AR="ar"
6123 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6125      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126      break 2
6127    fi
# Line 5763 | Line 6140 | else
6140   $as_echo "no" >&6; }
6141   fi
6142  
6143 +
6144 +  test -n "$ac_ct_AR" && break
6145 + done
6146 +
6147    if test "x$ac_ct_AR" = x; then
6148      AR="false"
6149    else
# Line 5774 | Line 6155 | ac_tool_warned=yes ;;
6155   esac
6156      AR=$ac_ct_AR
6157    fi
5777 – else
5778 –  AR="$ac_cv_prog_AR"
6158   fi
6159  
6160 < test -z "$AR" && AR=ar
6161 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6160 > : ${AR=ar}
6161 > : ${AR_FLAGS=cru}
6162 >
6163 >
6164 >
6165 >
6166  
6167  
6168  
# Line 5787 | Line 6170 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6170  
6171  
6172  
6173 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6174 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6175 + if ${lt_cv_ar_at_file+:} false; then :
6176 +  $as_echo_n "(cached) " >&6
6177 + else
6178 +  lt_cv_ar_at_file=no
6179 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6180 + /* end confdefs.h.  */
6181 +
6182 + int
6183 + main ()
6184 + {
6185 +
6186 +  ;
6187 +  return 0;
6188 + }
6189 + _ACEOF
6190 + if ac_fn_c_try_compile "$LINENO"; then :
6191 +  echo conftest.$ac_objext > conftest.lst
6192 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6193 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6194 +  (eval $lt_ar_try) 2>&5
6195 +  ac_status=$?
6196 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6197 +  test $ac_status = 0; }
6198 +      if test 0 -eq "$ac_status"; then
6199 +        # Ensure the archiver fails upon bogus file names.
6200 +        rm -f conftest.$ac_objext libconftest.a
6201 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6202 +  (eval $lt_ar_try) 2>&5
6203 +  ac_status=$?
6204 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6205 +  test $ac_status = 0; }
6206 +        if test 0 -ne "$ac_status"; then
6207 +          lt_cv_ar_at_file=@
6208 +        fi
6209 +      fi
6210 +      rm -f conftest.* libconftest.a
6211 +
6212 + fi
6213 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6214 +
6215 + fi
6216 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6217 + $as_echo "$lt_cv_ar_at_file" >&6; }
6218 +
6219 + if test no = "$lt_cv_ar_at_file"; then
6220 +  archiver_list_spec=
6221 + else
6222 +  archiver_list_spec=$lt_cv_ar_at_file
6223 + fi
6224 +
6225 +
6226 +
6227  
6228  
6229  
# Line 5796 | Line 6233 | if test -n "$ac_tool_prefix"; then
6233   set dummy ${ac_tool_prefix}strip; ac_word=$2
6234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235   $as_echo_n "checking for $ac_word... " >&6; }
6236 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6236 > if ${ac_cv_prog_STRIP+:} false; then :
6237    $as_echo_n "(cached) " >&6
6238   else
6239    if test -n "$STRIP"; then
# Line 5808 | Line 6245 | do
6245    IFS=$as_save_IFS
6246    test -z "$as_dir" && as_dir=.
6247      for ac_exec_ext in '' $ac_executable_extensions; do
6248 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6250      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251      break 2
# Line 5836 | Line 6273 | if test -z "$ac_cv_prog_STRIP"; then
6273   set dummy strip; ac_word=$2
6274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6275   $as_echo_n "checking for $ac_word... " >&6; }
6276 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6276 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6277    $as_echo_n "(cached) " >&6
6278   else
6279    if test -n "$ac_ct_STRIP"; then
# Line 5848 | Line 6285 | do
6285    IFS=$as_save_IFS
6286    test -z "$as_dir" && as_dir=.
6287      for ac_exec_ext in '' $ac_executable_extensions; do
6288 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6289      ac_cv_prog_ac_ct_STRIP="strip"
6290      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6291      break 2
# Line 5895 | Line 6332 | if test -n "$ac_tool_prefix"; then
6332   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334   $as_echo_n "checking for $ac_word... " >&6; }
6335 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6335 > if ${ac_cv_prog_RANLIB+:} false; then :
6336    $as_echo_n "(cached) " >&6
6337   else
6338    if test -n "$RANLIB"; then
# Line 5907 | Line 6344 | do
6344    IFS=$as_save_IFS
6345    test -z "$as_dir" && as_dir=.
6346      for ac_exec_ext in '' $ac_executable_extensions; do
6347 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6348      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6349      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350      break 2
# Line 5935 | Line 6372 | if test -z "$ac_cv_prog_RANLIB"; then
6372   set dummy ranlib; ac_word=$2
6373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374   $as_echo_n "checking for $ac_word... " >&6; }
6375 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6375 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6376    $as_echo_n "(cached) " >&6
6377   else
6378    if test -n "$ac_ct_RANLIB"; then
# Line 5947 | Line 6384 | do
6384    IFS=$as_save_IFS
6385    test -z "$as_dir" && as_dir=.
6386      for ac_exec_ext in '' $ac_executable_extensions; do
6387 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6387 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388      ac_cv_prog_ac_ct_RANLIB="ranlib"
6389      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390      break 2
# Line 5996 | Line 6433 | old_postuninstall_cmds=
6433  
6434   if test -n "$RANLIB"; then
6435    case $host_os in
6436 <  openbsd*)
6437 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6436 >  bitrig* | openbsd*)
6437 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6438      ;;
6439    *)
6440 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6440 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6441      ;;
6442    esac
6443 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6443 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6444   fi
6445  
6446 + case $host_os in
6447 +  darwin*)
6448 +    lock_old_archive_extraction=yes ;;
6449 +  *)
6450 +    lock_old_archive_extraction=no ;;
6451 + esac
6452 +
6453 +
6454 +
6455 +
6456 +
6457 +
6458  
6459  
6460  
# Line 6052 | Line 6501 | compiler=$CC
6501   # Check for command to grab the raw symbol name followed by C symbol from nm.
6502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6503   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6504 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6504 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6505    $as_echo_n "(cached) " >&6
6506   else
6507  
# Line 6074 | Line 6523 | cygwin* | mingw* | pw32* | cegcc*)
6523    symcode='[ABCDGISTW]'
6524    ;;
6525   hpux*)
6526 <  if test "$host_cpu" = ia64; then
6526 >  if test ia64 = "$host_cpu"; then
6527      symcode='[ABCDEGRST]'
6528    fi
6529    ;;
# Line 6107 | Line 6556 | case `$NM -V 2>&1` in
6556    symcode='[ABCDGIRSTW]' ;;
6557   esac
6558  
6559 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6560 +  # Gets list of data symbols to import.
6561 +  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6562 +  # Adjust the below global symbol transforms to fixup imported variables.
6563 +  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6564 +  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6565 +  lt_c_name_lib_hook="\
6566 +  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6567 +  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6568 + else
6569 +  # Disable hooks by default.
6570 +  lt_cv_sys_global_symbol_to_import=
6571 +  lt_cdecl_hook=
6572 +  lt_c_name_hook=
6573 +  lt_c_name_lib_hook=
6574 + fi
6575 +
6576   # Transform an extracted symbol line into a proper C declaration.
6577   # Some systems (esp. on ia64) link data and code symbols differently,
6578   # so use this general approach.
6579 < lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6579 > lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6580 > $lt_cdecl_hook\
6581 > " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6582 > " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6583  
6584   # Transform an extracted symbol line into symbol name and symbol address
6585 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6586 < 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'"
6585 > lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6586 > $lt_c_name_hook\
6587 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6588 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6589 >
6590 > # Transform an extracted symbol line into symbol name with lib prefix and
6591 > # symbol address.
6592 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6593 > $lt_c_name_lib_hook\
6594 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6595 > " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6596 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6597  
6598   # Handle CRLF in mingw tool chain
6599   opt_cr=
# Line 6132 | Line 6611 | for ac_symprfx in "" "_"; do
6611  
6612    # Write the raw and C identifiers.
6613    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6614 <    # Fake it for dumpbin and say T for any non-static function
6615 <    # and D for any global variable.
6614 >    # Fake it for dumpbin and say T for any non-static function,
6615 >    # D for any global variable and I for any imported variable.
6616      # Also find C++ and __fastcall symbols from MSVC++,
6617      # which start with @ or ?.
6618      lt_cv_sys_global_symbol_pipe="$AWK '"\
6619   "     {last_section=section; section=\$ 3};"\
6620 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6621   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6622 + "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6623 + "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6624 + "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6625   "     \$ 0!~/External *\|/{next};"\
6626   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6627   "     {if(hide[section]) next};"\
6628 < "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6629 < "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6630 < "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6631 < "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6628 > "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6629 > "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6630 > "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6631 > "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6632   "     ' prfx=^$ac_symprfx"
6633    else
6634      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6635    fi
6636 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6637  
6638    # Check to see that the pipe works correctly.
6639    pipe_works=no
# Line 6175 | Line 6659 | _LT_EOF
6659    test $ac_status = 0; }; then
6660      # Now try to grab the symbols.
6661      nlist=conftest.nm
6662 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6663 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6180 <  ac_status=$?
6181 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6182 <  test $ac_status = 0; } && test -s "$nlist"; then
6662 >    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6663 >    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6664        # Try sorting and uniquifying the output.
6665        if sort "$nlist" | uniq > "$nlist"T; then
6666          mv -f "$nlist"T "$nlist"
# Line 6191 | Line 6672 | _LT_EOF
6672        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6673          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6674            cat <<_LT_EOF > conftest.$ac_ext
6675 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6676 + #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6677 + /* DATA imports from DLLs on WIN32 can't be const, because runtime
6678 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6679 + # define LT_DLSYM_CONST
6680 + #elif defined __osf__
6681 + /* This system does not cope well with relocations in const data.  */
6682 + # define LT_DLSYM_CONST
6683 + #else
6684 + # define LT_DLSYM_CONST const
6685 + #endif
6686 +
6687   #ifdef __cplusplus
6688   extern "C" {
6689   #endif
# Line 6202 | Line 6695 | _LT_EOF
6695            cat <<_LT_EOF >> conftest.$ac_ext
6696  
6697   /* The mapping between symbol names and symbols.  */
6698 < const struct {
6698 > LT_DLSYM_CONST struct {
6699    const char *name;
6700    void       *address;
6701   }
# Line 6210 | Line 6703 | lt__PROGRAM__LTX_preloaded_symbols[] =
6703   {
6704    { "@PROGRAM@", (void *) 0 },
6705   _LT_EOF
6706 <          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6706 >          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6707            cat <<\_LT_EOF >> conftest.$ac_ext
6708    {0, (void *) 0}
6709   };
# Line 6228 | Line 6721 | static const void *lt_preloaded_setup()
6721   _LT_EOF
6722            # Now try linking the two files.
6723            mv conftest.$ac_objext conftstm.$ac_objext
6724 <          lt_save_LIBS="$LIBS"
6725 <          lt_save_CFLAGS="$CFLAGS"
6726 <          LIBS="conftstm.$ac_objext"
6724 >          lt_globsym_save_LIBS=$LIBS
6725 >          lt_globsym_save_CFLAGS=$CFLAGS
6726 >          LIBS=conftstm.$ac_objext
6727            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6728            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6729    (eval $ac_link) 2>&5
6730    ac_status=$?
6731    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6732 <  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6732 >  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6733              pipe_works=yes
6734            fi
6735 <          LIBS="$lt_save_LIBS"
6736 <          CFLAGS="$lt_save_CFLAGS"
6735 >          LIBS=$lt_globsym_save_LIBS
6736 >          CFLAGS=$lt_globsym_save_CFLAGS
6737          else
6738            echo "cannot find nm_test_func in $nlist" >&5
6739          fi
# Line 6257 | Line 6750 | _LT_EOF
6750    rm -rf conftest* conftst*
6751  
6752    # Do not use the global_symbol_pipe unless it works.
6753 <  if test "$pipe_works" = yes; then
6753 >  if test yes = "$pipe_works"; then
6754      break
6755    else
6756      lt_cv_sys_global_symbol_pipe=
# Line 6277 | Line 6770 | else
6770   $as_echo "ok" >&6; }
6771   fi
6772  
6773 + # Response file support.
6774 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6775 +  nm_file_list_spec='@'
6776 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6777 +  nm_file_list_spec='@'
6778 + fi
6779 +
6780 +
6781 +
6782 +
6783 +
6784 +
6785 +
6786 +
6787 +
6788 +
6789 +
6790 +
6791 +
6792 +
6793 +
6794 +
6795 +
6796 +
6797 +
6798 +
6799 +
6800 +
6801 +
6802 +
6803 +
6804 +
6805 +
6806 +
6807  
6808  
6809  
# Line 6286 | Line 6813 | fi
6813  
6814  
6815  
6816 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6817 + $as_echo_n "checking for sysroot... " >&6; }
6818 +
6819 + # Check whether --with-sysroot was given.
6820 + if test "${with_sysroot+set}" = set; then :
6821 +  withval=$with_sysroot;
6822 + else
6823 +  with_sysroot=no
6824 + fi
6825 +
6826 +
6827 + lt_sysroot=
6828 + case $with_sysroot in #(
6829 + yes)
6830 +   if test yes = "$GCC"; then
6831 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6832 +   fi
6833 +   ;; #(
6834 + /*)
6835 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6836 +   ;; #(
6837 + no|'')
6838 +   ;; #(
6839 + *)
6840 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6841 + $as_echo "$with_sysroot" >&6; }
6842 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6843 +   ;;
6844 + esac
6845 +
6846 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6847 + $as_echo "${lt_sysroot:-no}" >&6; }
6848  
6849  
6850  
6851  
6852  
6853 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6854 + $as_echo_n "checking for a working dd... " >&6; }
6855 + if ${ac_cv_path_lt_DD+:} false; then :
6856 +  $as_echo_n "(cached) " >&6
6857 + else
6858 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6859 + cat conftest.i conftest.i >conftest2.i
6860 + : ${lt_DD:=$DD}
6861 + if test -z "$lt_DD"; then
6862 +  ac_path_lt_DD_found=false
6863 +  # Loop through the user's path and test for each of PROGNAME-LIST
6864 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 + for as_dir in $PATH
6866 + do
6867 +  IFS=$as_save_IFS
6868 +  test -z "$as_dir" && as_dir=.
6869 +    for ac_prog in dd; do
6870 +    for ac_exec_ext in '' $ac_executable_extensions; do
6871 +      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6872 +      as_fn_executable_p "$ac_path_lt_DD" || continue
6873 + if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6874 +  cmp -s conftest.i conftest.out \
6875 +  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6876 + fi
6877 +      $ac_path_lt_DD_found && break 3
6878 +    done
6879 +  done
6880 +  done
6881 + IFS=$as_save_IFS
6882 +  if test -z "$ac_cv_path_lt_DD"; then
6883 +    :
6884 +  fi
6885 + else
6886 +  ac_cv_path_lt_DD=$lt_DD
6887 + fi
6888 +
6889 + rm -f conftest.i conftest2.i conftest.out
6890 + fi
6891 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6892 + $as_echo "$ac_cv_path_lt_DD" >&6; }
6893  
6894  
6895 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6896 + $as_echo_n "checking how to truncate binary pipes... " >&6; }
6897 + if ${lt_cv_truncate_bin+:} false; then :
6898 +  $as_echo_n "(cached) " >&6
6899 + else
6900 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6901 + cat conftest.i conftest.i >conftest2.i
6902 + lt_cv_truncate_bin=
6903 + if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6904 +  cmp -s conftest.i conftest.out \
6905 +  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6906 + fi
6907 + rm -f conftest.i conftest2.i conftest.out
6908 + test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6909 + fi
6910 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6911 + $as_echo "$lt_cv_truncate_bin" >&6; }
6912  
6913  
6914  
6915  
6916  
6917 +
6918 +
6919 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6920 + func_cc_basename ()
6921 + {
6922 +    for cc_temp in $*""; do
6923 +      case $cc_temp in
6924 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6925 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6926 +        \-*) ;;
6927 +        *) break;;
6928 +      esac
6929 +    done
6930 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6931 + }
6932 +
6933   # Check whether --enable-libtool-lock was given.
6934   if test "${enable_libtool_lock+set}" = set; then :
6935    enableval=$enable_libtool_lock;
6936   fi
6937  
6938 < test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6938 > test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6939  
6940   # Some flags need to be propagated to the compiler or linker for good
6941   # libtool support.
6942   case $host in
6943   ia64-*-hpux*)
6944 <  # Find out which ABI we are using.
6944 >  # Find out what ABI is being produced by ac_compile, and set mode
6945 >  # options accordingly.
6946    echo 'int i;' > conftest.$ac_ext
6947    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6948    (eval $ac_compile) 2>&5
# Line 6318 | Line 6951 | ia64-*-hpux*)
6951    test $ac_status = 0; }; then
6952      case `/usr/bin/file conftest.$ac_objext` in
6953        *ELF-32*)
6954 <        HPUX_IA64_MODE="32"
6954 >        HPUX_IA64_MODE=32
6955          ;;
6956        *ELF-64*)
6957 <        HPUX_IA64_MODE="64"
6957 >        HPUX_IA64_MODE=64
6958          ;;
6959      esac
6960    fi
6961    rm -rf conftest*
6962    ;;
6963   *-*-irix6*)
6964 <  # Find out which ABI we are using.
6965 <  echo '#line 6332 "configure"' > conftest.$ac_ext
6964 >  # Find out what ABI is being produced by ac_compile, and set linker
6965 >  # options accordingly.
6966 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6967    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6968    (eval $ac_compile) 2>&5
6969    ac_status=$?
6970    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6971    test $ac_status = 0; }; then
6972 <    if test "$lt_cv_prog_gnu_ld" = yes; then
6972 >    if test yes = "$lt_cv_prog_gnu_ld"; then
6973        case `/usr/bin/file conftest.$ac_objext` in
6974          *32-bit*)
6975            LD="${LD-ld} -melf32bsmip"
# Line 6364 | Line 6998 | ia64-*-hpux*)
6998    rm -rf conftest*
6999    ;;
7000  
7001 < x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7001 > mips64*-*linux*)
7002 >  # Find out what ABI is being produced by ac_compile, and set linker
7003 >  # options accordingly.
7004 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7005 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7006 >  (eval $ac_compile) 2>&5
7007 >  ac_status=$?
7008 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7009 >  test $ac_status = 0; }; then
7010 >    emul=elf
7011 >    case `/usr/bin/file conftest.$ac_objext` in
7012 >      *32-bit*)
7013 >        emul="${emul}32"
7014 >        ;;
7015 >      *64-bit*)
7016 >        emul="${emul}64"
7017 >        ;;
7018 >    esac
7019 >    case `/usr/bin/file conftest.$ac_objext` in
7020 >      *MSB*)
7021 >        emul="${emul}btsmip"
7022 >        ;;
7023 >      *LSB*)
7024 >        emul="${emul}ltsmip"
7025 >        ;;
7026 >    esac
7027 >    case `/usr/bin/file conftest.$ac_objext` in
7028 >      *N32*)
7029 >        emul="${emul}n32"
7030 >        ;;
7031 >    esac
7032 >    LD="${LD-ld} -m $emul"
7033 >  fi
7034 >  rm -rf conftest*
7035 >  ;;
7036 >
7037 > x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7038   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7039 <  # Find out which ABI we are using.
7039 >  # Find out what ABI is being produced by ac_compile, and set linker
7040 >  # options accordingly.  Note that the listed cases only cover the
7041 >  # situations where additional linker options are needed (such as when
7042 >  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7043 >  # vice versa); the common cases where no linker options are needed do
7044 >  # not appear in the list.
7045    echo 'int i;' > conftest.$ac_ext
7046    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7047    (eval $ac_compile) 2>&5
# Line 6380 | Line 7055 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7055              LD="${LD-ld} -m elf_i386_fbsd"
7056              ;;
7057            x86_64-*linux*)
7058 <            LD="${LD-ld} -m elf_i386"
7058 >            case `/usr/bin/file conftest.o` in
7059 >              *x86-64*)
7060 >                LD="${LD-ld} -m elf32_x86_64"
7061 >                ;;
7062 >              *)
7063 >                LD="${LD-ld} -m elf_i386"
7064 >                ;;
7065 >            esac
7066              ;;
7067 <          ppc64-*linux*|powerpc64-*linux*)
7067 >          powerpc64le-*linux*)
7068 >            LD="${LD-ld} -m elf32lppclinux"
7069 >            ;;
7070 >          powerpc64-*linux*)
7071              LD="${LD-ld} -m elf32ppclinux"
7072              ;;
7073            s390x-*linux*)
# Line 6401 | Line 7086 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7086            x86_64-*linux*)
7087              LD="${LD-ld} -m elf_x86_64"
7088              ;;
7089 <          ppc*-*linux*|powerpc*-*linux*)
7089 >          powerpcle-*linux*)
7090 >            LD="${LD-ld} -m elf64lppc"
7091 >            ;;
7092 >          powerpc-*linux*)
7093              LD="${LD-ld} -m elf64ppc"
7094              ;;
7095            s390*-*linux*|s390*-*tpf*)
# Line 6419 | Line 7107 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7107  
7108   *-*-sco3.2v5*)
7109    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7110 <  SAVE_CFLAGS="$CFLAGS"
7110 >  SAVE_CFLAGS=$CFLAGS
7111    CFLAGS="$CFLAGS -belf"
7112    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7113   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7114 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
7114 > if ${lt_cv_cc_needs_belf+:} false; then :
7115    $as_echo_n "(cached) " >&6
7116   else
7117    ac_ext=c
# Line 6459 | Line 7147 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7147   fi
7148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7149   $as_echo "$lt_cv_cc_needs_belf" >&6; }
7150 <  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7150 >  if test yes != "$lt_cv_cc_needs_belf"; then
7151      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7152 <    CFLAGS="$SAVE_CFLAGS"
7152 >    CFLAGS=$SAVE_CFLAGS
7153    fi
7154    ;;
7155 < sparc*-*solaris*)
7156 <  # Find out which ABI we are using.
7155 > *-*solaris*)
7156 >  # Find out what ABI is being produced by ac_compile, and set linker
7157 >  # options accordingly.
7158    echo 'int i;' > conftest.$ac_ext
7159    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7160    (eval $ac_compile) 2>&5
# Line 6475 | Line 7164 | sparc*-*solaris*)
7164      case `/usr/bin/file conftest.o` in
7165      *64-bit*)
7166        case $lt_cv_prog_gnu_ld in
7167 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7167 >      yes*)
7168 >        case $host in
7169 >        i?86-*-solaris*|x86_64-*-solaris*)
7170 >          LD="${LD-ld} -m elf_x86_64"
7171 >          ;;
7172 >        sparc*-*-solaris*)
7173 >          LD="${LD-ld} -m elf64_sparc"
7174 >          ;;
7175 >        esac
7176 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7177 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7178 >          LD=${LD-ld}_sol2
7179 >        fi
7180 >        ;;
7181        *)
7182          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7183            LD="${LD-ld} -64"
# Line 6489 | Line 7191 | sparc*-*solaris*)
7191    ;;
7192   esac
7193  
7194 < need_locks="$enable_libtool_lock"
7194 > need_locks=$enable_libtool_lock
7195 >
7196 > if test -n "$ac_tool_prefix"; then
7197 >  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7198 > set dummy ${ac_tool_prefix}mt; ac_word=$2
7199 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200 > $as_echo_n "checking for $ac_word... " >&6; }
7201 > if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7202 >  $as_echo_n "(cached) " >&6
7203 > else
7204 >  if test -n "$MANIFEST_TOOL"; then
7205 >  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7206 > else
7207 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 > for as_dir in $PATH
7209 > do
7210 >  IFS=$as_save_IFS
7211 >  test -z "$as_dir" && as_dir=.
7212 >    for ac_exec_ext in '' $ac_executable_extensions; do
7213 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7214 >    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7215 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7216 >    break 2
7217 >  fi
7218 > done
7219 >  done
7220 > IFS=$as_save_IFS
7221 >
7222 > fi
7223 > fi
7224 > MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7225 > if test -n "$MANIFEST_TOOL"; then
7226 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7227 > $as_echo "$MANIFEST_TOOL" >&6; }
7228 > else
7229 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7230 > $as_echo "no" >&6; }
7231 > fi
7232 >
7233 >
7234 > fi
7235 > if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7236 >  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7237 >  # Extract the first word of "mt", so it can be a program name with args.
7238 > set dummy mt; ac_word=$2
7239 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240 > $as_echo_n "checking for $ac_word... " >&6; }
7241 > if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7242 >  $as_echo_n "(cached) " >&6
7243 > else
7244 >  if test -n "$ac_ct_MANIFEST_TOOL"; then
7245 >  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7246 > else
7247 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 > for as_dir in $PATH
7249 > do
7250 >  IFS=$as_save_IFS
7251 >  test -z "$as_dir" && as_dir=.
7252 >    for ac_exec_ext in '' $ac_executable_extensions; do
7253 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7254 >    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7255 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 >    break 2
7257 >  fi
7258 > done
7259 >  done
7260 > IFS=$as_save_IFS
7261 >
7262 > fi
7263 > fi
7264 > ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7265 > if test -n "$ac_ct_MANIFEST_TOOL"; then
7266 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7267 > $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7268 > else
7269 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 > $as_echo "no" >&6; }
7271 > fi
7272 >
7273 >  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7274 >    MANIFEST_TOOL=":"
7275 >  else
7276 >    case $cross_compiling:$ac_tool_warned in
7277 > yes:)
7278 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7279 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7280 > ac_tool_warned=yes ;;
7281 > esac
7282 >    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7283 >  fi
7284 > else
7285 >  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7286 > fi
7287 >
7288 > test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7289 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7290 > $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7291 > if ${lt_cv_path_mainfest_tool+:} false; then :
7292 >  $as_echo_n "(cached) " >&6
7293 > else
7294 >  lt_cv_path_mainfest_tool=no
7295 >  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7296 >  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7297 >  cat conftest.err >&5
7298 >  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7299 >    lt_cv_path_mainfest_tool=yes
7300 >  fi
7301 >  rm -f conftest*
7302 > fi
7303 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7304 > $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7305 > if test yes != "$lt_cv_path_mainfest_tool"; then
7306 >  MANIFEST_TOOL=:
7307 > fi
7308 >
7309 >
7310 >
7311 >
7312  
7313  
7314    case $host_os in
# Line 6499 | Line 7318 | need_locks="$enable_libtool_lock"
7318   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320   $as_echo_n "checking for $ac_word... " >&6; }
7321 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7321 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7322    $as_echo_n "(cached) " >&6
7323   else
7324    if test -n "$DSYMUTIL"; then
# Line 6511 | Line 7330 | do
7330    IFS=$as_save_IFS
7331    test -z "$as_dir" && as_dir=.
7332      for ac_exec_ext in '' $ac_executable_extensions; do
7333 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7333 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7335      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336      break 2
# Line 6539 | Line 7358 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7358   set dummy dsymutil; ac_word=$2
7359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360   $as_echo_n "checking for $ac_word... " >&6; }
7361 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7361 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7362    $as_echo_n "(cached) " >&6
7363   else
7364    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6551 | Line 7370 | do
7370    IFS=$as_save_IFS
7371    test -z "$as_dir" && as_dir=.
7372      for ac_exec_ext in '' $ac_executable_extensions; do
7373 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7373 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7375      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376      break 2
# Line 6591 | Line 7410 | fi
7410   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412   $as_echo_n "checking for $ac_word... " >&6; }
7413 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7413 > if ${ac_cv_prog_NMEDIT+:} false; then :
7414    $as_echo_n "(cached) " >&6
7415   else
7416    if test -n "$NMEDIT"; then
# Line 6603 | Line 7422 | do
7422    IFS=$as_save_IFS
7423    test -z "$as_dir" && as_dir=.
7424      for ac_exec_ext in '' $ac_executable_extensions; do
7425 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7427      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428      break 2
# Line 6631 | Line 7450 | if test -z "$ac_cv_prog_NMEDIT"; then
7450   set dummy nmedit; ac_word=$2
7451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452   $as_echo_n "checking for $ac_word... " >&6; }
7453 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7453 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7454    $as_echo_n "(cached) " >&6
7455   else
7456    if test -n "$ac_ct_NMEDIT"; then
# Line 6643 | Line 7462 | do
7462    IFS=$as_save_IFS
7463    test -z "$as_dir" && as_dir=.
7464      for ac_exec_ext in '' $ac_executable_extensions; do
7465 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7465 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7466      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7467      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468      break 2
# Line 6683 | Line 7502 | fi
7502   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504   $as_echo_n "checking for $ac_word... " >&6; }
7505 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7505 > if ${ac_cv_prog_LIPO+:} false; then :
7506    $as_echo_n "(cached) " >&6
7507   else
7508    if test -n "$LIPO"; then
# Line 6695 | Line 7514 | do
7514    IFS=$as_save_IFS
7515    test -z "$as_dir" && as_dir=.
7516      for ac_exec_ext in '' $ac_executable_extensions; do
7517 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7517 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7518      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7519      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520      break 2
# Line 6723 | Line 7542 | if test -z "$ac_cv_prog_LIPO"; then
7542   set dummy lipo; ac_word=$2
7543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544   $as_echo_n "checking for $ac_word... " >&6; }
7545 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7545 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7546    $as_echo_n "(cached) " >&6
7547   else
7548    if test -n "$ac_ct_LIPO"; then
# Line 6735 | Line 7554 | do
7554    IFS=$as_save_IFS
7555    test -z "$as_dir" && as_dir=.
7556      for ac_exec_ext in '' $ac_executable_extensions; do
7557 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7557 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7558      ac_cv_prog_ac_ct_LIPO="lipo"
7559      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560      break 2
# Line 6775 | Line 7594 | fi
7594   set dummy ${ac_tool_prefix}otool; ac_word=$2
7595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7596   $as_echo_n "checking for $ac_word... " >&6; }
7597 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7597 > if ${ac_cv_prog_OTOOL+:} false; then :
7598    $as_echo_n "(cached) " >&6
7599   else
7600    if test -n "$OTOOL"; then
# Line 6787 | Line 7606 | do
7606    IFS=$as_save_IFS
7607    test -z "$as_dir" && as_dir=.
7608      for ac_exec_ext in '' $ac_executable_extensions; do
7609 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7609 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7610      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7611      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612      break 2
# Line 6815 | Line 7634 | if test -z "$ac_cv_prog_OTOOL"; then
7634   set dummy otool; ac_word=$2
7635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636   $as_echo_n "checking for $ac_word... " >&6; }
7637 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7637 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7638    $as_echo_n "(cached) " >&6
7639   else
7640    if test -n "$ac_ct_OTOOL"; then
# Line 6827 | Line 7646 | do
7646    IFS=$as_save_IFS
7647    test -z "$as_dir" && as_dir=.
7648      for ac_exec_ext in '' $ac_executable_extensions; do
7649 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7649 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7650      ac_cv_prog_ac_ct_OTOOL="otool"
7651      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652      break 2
# Line 6867 | Line 7686 | fi
7686   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688   $as_echo_n "checking for $ac_word... " >&6; }
7689 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7689 > if ${ac_cv_prog_OTOOL64+:} false; then :
7690    $as_echo_n "(cached) " >&6
7691   else
7692    if test -n "$OTOOL64"; then
# Line 6879 | Line 7698 | do
7698    IFS=$as_save_IFS
7699    test -z "$as_dir" && as_dir=.
7700      for ac_exec_ext in '' $ac_executable_extensions; do
7701 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7701 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7702      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7703      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704      break 2
# Line 6907 | Line 7726 | if test -z "$ac_cv_prog_OTOOL64"; then
7726   set dummy otool64; ac_word=$2
7727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728   $as_echo_n "checking for $ac_word... " >&6; }
7729 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7729 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7730    $as_echo_n "(cached) " >&6
7731   else
7732    if test -n "$ac_ct_OTOOL64"; then
# Line 6919 | Line 7738 | do
7738    IFS=$as_save_IFS
7739    test -z "$as_dir" && as_dir=.
7740      for ac_exec_ext in '' $ac_executable_extensions; do
7741 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7741 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742      ac_cv_prog_ac_ct_OTOOL64="otool64"
7743      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744      break 2
# Line 6982 | Line 7801 | fi
7801  
7802      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7803   $as_echo_n "checking for -single_module linker flag... " >&6; }
7804 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7804 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7805    $as_echo_n "(cached) " >&6
7806   else
7807    lt_cv_apple_cc_single_mod=no
7808 <      if test -z "${LT_MULTI_MODULE}"; then
7808 >      if test -z "$LT_MULTI_MODULE"; then
7809          # By default we will add the -single_module flag. You can override
7810          # by either setting the environment variable LT_MULTI_MODULE
7811          # non-empty at configure time, or by adding -multi_module to the
# Line 6998 | Line 7817 | else
7817          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7818            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7819          _lt_result=$?
7820 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7820 >        # If there is a non-empty error log, and "single_module"
7821 >        # appears in it, assume the flag caused a linker warning
7822 >        if test -s conftest.err && $GREP single_module conftest.err; then
7823 >          cat conftest.err >&5
7824 >        # Otherwise, if the output was created with a 0 exit code from
7825 >        # the compiler, it worked.
7826 >        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7827            lt_cv_apple_cc_single_mod=yes
7828          else
7829            cat conftest.err >&5
# Line 7009 | Line 7834 | else
7834   fi
7835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7836   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7837 +
7838      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7839   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7840 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7840 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7841    $as_echo_n "(cached) " >&6
7842   else
7843    lt_cv_ld_exported_symbols_list=no
# Line 7036 | Line 7862 | else
7862   fi
7863   rm -f core conftest.err conftest.$ac_objext \
7864      conftest$ac_exeext conftest.$ac_ext
7865 <        LDFLAGS="$save_LDFLAGS"
7865 >        LDFLAGS=$save_LDFLAGS
7866  
7867   fi
7868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7869   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7870 +
7871 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7872 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7873 + if ${lt_cv_ld_force_load+:} false; then :
7874 +  $as_echo_n "(cached) " >&6
7875 + else
7876 +  lt_cv_ld_force_load=no
7877 +      cat > conftest.c << _LT_EOF
7878 + int forced_loaded() { return 2;}
7879 + _LT_EOF
7880 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7881 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7882 +      echo "$AR cru libconftest.a conftest.o" >&5
7883 +      $AR cru libconftest.a conftest.o 2>&5
7884 +      echo "$RANLIB libconftest.a" >&5
7885 +      $RANLIB libconftest.a 2>&5
7886 +      cat > conftest.c << _LT_EOF
7887 + int main() { return 0;}
7888 + _LT_EOF
7889 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7890 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7891 +      _lt_result=$?
7892 +      if test -s conftest.err && $GREP force_load conftest.err; then
7893 +        cat conftest.err >&5
7894 +      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7895 +        lt_cv_ld_force_load=yes
7896 +      else
7897 +        cat conftest.err >&5
7898 +      fi
7899 +        rm -f conftest.err libconftest.a conftest conftest.c
7900 +        rm -rf conftest.dSYM
7901 +
7902 + fi
7903 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7904 + $as_echo "$lt_cv_ld_force_load" >&6; }
7905      case $host_os in
7906      rhapsody* | darwin1.[012])
7907 <      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7907 >      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7908      darwin1.*)
7909 <      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7909 >      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7910      darwin*) # darwin 5.x on
7911        # if running on 10.5 or later, the deployment target defaults
7912        # to the OS version, if on x86, and 10.4, the deployment
7913        # target defaults to 10.4. Don't you love it?
7914        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7915          10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7916 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7917 <        10.[012]*)
7918 <          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7916 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7917 >        10.[012][,.]*)
7918 >          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7919          10.*)
7920 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7920 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7921        esac
7922      ;;
7923    esac
7924 <    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7924 >    if test yes = "$lt_cv_apple_cc_single_mod"; then
7925        _lt_dar_single_mod='$single_module'
7926      fi
7927 <    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7928 <      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7927 >    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7928 >      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7929      else
7930 <      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7930 >      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7931      fi
7932 <    if test "$DSYMUTIL" != ":"; then
7932 >    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7933        _lt_dsymutil='~$DSYMUTIL $lib || :'
7934      else
7935        _lt_dsymutil=
# Line 7076 | Line 7937 | $as_echo "$lt_cv_ld_exported_symbols_lis
7937      ;;
7938    esac
7939  
7940 + # func_munge_path_list VARIABLE PATH
7941 + # -----------------------------------
7942 + # VARIABLE is name of variable containing _space_ separated list of
7943 + # directories to be munged by the contents of PATH, which is string
7944 + # having a format:
7945 + # "DIR[:DIR]:"
7946 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7947 + # ":DIR[:DIR]"
7948 + #       string "DIR[ DIR]" will be appended to VARIABLE
7949 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7950 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7951 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7952 + # "DIR[:DIR]"
7953 + #       VARIABLE will be replaced by "DIR[ DIR]"
7954 + func_munge_path_list ()
7955 + {
7956 +    case x$2 in
7957 +    x)
7958 +        ;;
7959 +    *:)
7960 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7961 +        ;;
7962 +    x:*)
7963 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7964 +        ;;
7965 +    *::*)
7966 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7967 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7968 +        ;;
7969 +    *)
7970 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7971 +        ;;
7972 +    esac
7973 + }
7974 +
7975   ac_ext=c
7976   ac_cpp='$CPP $CPPFLAGS'
7977   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7088 | Line 7984 | if test -n "$CPP" && test -d "$CPP"; the
7984    CPP=
7985   fi
7986   if test -z "$CPP"; then
7987 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7987 >  if ${ac_cv_prog_CPP+:} false; then :
7988    $as_echo_n "(cached) " >&6
7989   else
7990        # Double quotes because CPP needs to be expanded
# Line 7118 | Line 8014 | else
8014    # Broken: fails on valid input.
8015   continue
8016   fi
8017 < rm -f conftest.err conftest.$ac_ext
8017 > rm -f conftest.err conftest.i conftest.$ac_ext
8018  
8019    # OK, works on sane cases.  Now check whether nonexistent headers
8020    # can be detected and how.
# Line 7134 | Line 8030 | else
8030   ac_preproc_ok=:
8031   break
8032   fi
8033 < rm -f conftest.err conftest.$ac_ext
8033 > rm -f conftest.err conftest.i conftest.$ac_ext
8034  
8035   done
8036   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8037 < rm -f conftest.err conftest.$ac_ext
8037 > rm -f conftest.i conftest.err conftest.$ac_ext
8038   if $ac_preproc_ok; then :
8039    break
8040   fi
# Line 7177 | Line 8073 | else
8073    # Broken: fails on valid input.
8074   continue
8075   fi
8076 < rm -f conftest.err conftest.$ac_ext
8076 > rm -f conftest.err conftest.i conftest.$ac_ext
8077  
8078    # OK, works on sane cases.  Now check whether nonexistent headers
8079    # can be detected and how.
# Line 7193 | Line 8089 | else
8089   ac_preproc_ok=:
8090   break
8091   fi
8092 < rm -f conftest.err conftest.$ac_ext
8092 > rm -f conftest.err conftest.i conftest.$ac_ext
8093  
8094   done
8095   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8096 < rm -f conftest.err conftest.$ac_ext
8096 > rm -f conftest.i conftest.err conftest.$ac_ext
8097   if $ac_preproc_ok; then :
8098  
8099   else
8100    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8101   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8102 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
8103 < See \`config.log' for more details." "$LINENO" 5; }
8102 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8103 > See \`config.log' for more details" "$LINENO" 5; }
8104   fi
8105  
8106   ac_ext=c
# Line 7216 | Line 8112 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8112  
8113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8114   $as_echo_n "checking for ANSI C header files... " >&6; }
8115 < if test "${ac_cv_header_stdc+set}" = set; then :
8115 > if ${ac_cv_header_stdc+:} false; then :
8116    $as_echo_n "(cached) " >&6
8117   else
8118    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7333 | Line 8229 | do :
8229    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8230   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8231   "
8232 < eval as_val=\$$as_ac_Header
7337 <   if test "x$as_val" = x""yes; then :
8232 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8233    cat >>confdefs.h <<_ACEOF
8234   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8235   _ACEOF
# Line 7348 | Line 8243 | for ac_header in dlfcn.h
8243   do :
8244    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8245   "
8246 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8246 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8247    cat >>confdefs.h <<_ACEOF
8248   #define HAVE_DLFCN_H 1
8249   _ACEOF
# Line 7359 | Line 8254 | done
8254  
8255  
8256  
8257 +
8258 +
8259   # Set options
8260   enable_dlopen=yes
8261   # Check whether --enable-static was given.
# Line 7370 | Line 8267 | if test "${enable_static+set}" = set; th
8267      *)
8268       enable_static=no
8269        # Look at the argument we got.  We use all the common list separators.
8270 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8270 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8271        for pkg in $enableval; do
8272 <        IFS="$lt_save_ifs"
8272 >        IFS=$lt_save_ifs
8273          if test "X$pkg" = "X$p"; then
8274            enable_static=yes
8275          fi
8276        done
8277 <      IFS="$lt_save_ifs"
8277 >      IFS=$lt_save_ifs
8278        ;;
8279      esac
8280   else
# Line 7406 | Line 8303 | if test "${enable_shared+set}" = set; th
8303      *)
8304        enable_shared=no
8305        # Look at the argument we got.  We use all the common list separators.
8306 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8306 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8307        for pkg in $enableval; do
8308 <        IFS="$lt_save_ifs"
8308 >        IFS=$lt_save_ifs
8309          if test "X$pkg" = "X$p"; then
8310            enable_shared=yes
8311          fi
8312        done
8313 <      IFS="$lt_save_ifs"
8313 >      IFS=$lt_save_ifs
8314        ;;
8315      esac
8316   else
# Line 7432 | Line 8329 | fi
8329  
8330   # Check whether --with-pic was given.
8331   if test "${with_pic+set}" = set; then :
8332 <  withval=$with_pic; pic_mode="$withval"
8332 >  withval=$with_pic; lt_p=${PACKAGE-default}
8333 >    case $withval in
8334 >    yes|no) pic_mode=$withval ;;
8335 >    *)
8336 >      pic_mode=default
8337 >      # Look at the argument we got.  We use all the common list separators.
8338 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8339 >      for lt_pkg in $withval; do
8340 >        IFS=$lt_save_ifs
8341 >        if test "X$lt_pkg" = "X$lt_p"; then
8342 >          pic_mode=yes
8343 >        fi
8344 >      done
8345 >      IFS=$lt_save_ifs
8346 >      ;;
8347 >    esac
8348   else
8349    pic_mode=default
8350   fi
8351  
8352  
7441 – test -z "$pic_mode" && pic_mode=default
7442 –
8353  
8354  
8355  
# Line 7455 | Line 8365 | if test "${enable_fast_install+set}" = s
8365      *)
8366        enable_fast_install=no
8367        # Look at the argument we got.  We use all the common list separators.
8368 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8368 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8369        for pkg in $enableval; do
8370 <        IFS="$lt_save_ifs"
8370 >        IFS=$lt_save_ifs
8371          if test "X$pkg" = "X$p"; then
8372            enable_fast_install=yes
8373          fi
8374        done
8375 <      IFS="$lt_save_ifs"
8375 >      IFS=$lt_save_ifs
8376        ;;
8377      esac
8378   else
# Line 7476 | Line 8386 | fi
8386  
8387  
8388  
8389 +  shared_archive_member_spec=
8390 + case $host,$enable_shared in
8391 + power*-*-aix[5-9]*,yes)
8392 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8393 + $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8394 +
8395 + # Check whether --with-aix-soname was given.
8396 + if test "${with_aix_soname+set}" = set; then :
8397 +  withval=$with_aix_soname; case $withval in
8398 +    aix|svr4|both)
8399 +      ;;
8400 +    *)
8401 +      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8402 +      ;;
8403 +    esac
8404 +    lt_cv_with_aix_soname=$with_aix_soname
8405 + else
8406 +  if ${lt_cv_with_aix_soname+:} false; then :
8407 +  $as_echo_n "(cached) " >&6
8408 + else
8409 +  lt_cv_with_aix_soname=aix
8410 + fi
8411 +
8412 +    with_aix_soname=$lt_cv_with_aix_soname
8413 + fi
8414 +
8415 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8416 + $as_echo "$with_aix_soname" >&6; }
8417 +  if test aix != "$with_aix_soname"; then
8418 +    # For the AIX way of multilib, we name the shared archive member
8419 +    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8420 +    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8421 +    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8422 +    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8423 +    if test 64 = "${OBJECT_MODE-32}"; then
8424 +      shared_archive_member_spec=shr_64
8425 +    else
8426 +      shared_archive_member_spec=shr
8427 +    fi
8428 +  fi
8429 +  ;;
8430 + *)
8431 +  with_aix_soname=aix
8432 +  ;;
8433 + esac
8434 +
8435 +
8436 +
8437 +
8438 +
8439 +
8440 +
8441  
8442  
8443  
8444   # This can be used to rebuild libtool when needed
8445 < LIBTOOL_DEPS="$ltmain"
8445 > LIBTOOL_DEPS=$ltmain
8446  
8447   # Always use our own libtool.
8448   LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Line 7509 | Line 8471 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8471  
8472  
8473  
8474 +
8475 +
8476 +
8477 +
8478 +
8479   test -z "$LN_S" && LN_S="ln -s"
8480  
8481  
# Line 7524 | Line 8491 | test -z "$LN_S" && LN_S="ln -s"
8491  
8492  
8493  
8494 < if test -n "${ZSH_VERSION+set}" ; then
8494 > if test -n "${ZSH_VERSION+set}"; then
8495     setopt NO_GLOB_SUBST
8496   fi
8497  
8498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8499   $as_echo_n "checking for objdir... " >&6; }
8500 < if test "${lt_cv_objdir+set}" = set; then :
8500 > if ${lt_cv_objdir+:} false; then :
8501    $as_echo_n "(cached) " >&6
8502   else
8503    rm -f .libs 2>/dev/null
# Line 7558 | Line 8525 | _ACEOF
8525  
8526  
8527  
7561 –
7562 –
7563 –
7564 –
7565 –
7566 –
7567 –
7568 –
7569 –
7570 –
7571 –
7572 –
7573 –
8528   case $host_os in
8529   aix3*)
8530    # AIX sometimes has problems with the GCC collect2 program.  For some
8531    # reason, if we set the COLLECT_NAMES environment variable, the problems
8532    # vanish in a puff of smoke.
8533 <  if test "X${COLLECT_NAMES+set}" != Xset; then
8533 >  if test set != "${COLLECT_NAMES+set}"; then
8534      COLLECT_NAMES=
8535      export COLLECT_NAMES
8536    fi
8537    ;;
8538   esac
8539  
7586 – # Sed substitution that helps us do robust quoting.  It backslashifies
7587 – # metacharacters that are still active within double-quoted strings.
7588 – sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7589 –
7590 – # Same as above, but do not quote variable references.
7591 – double_quote_subst='s/\(["`\\]\)/\\\1/g'
7592 –
7593 – # Sed substitution to delay expansion of an escaped shell variable in a
7594 – # double_quote_subst'ed string.
7595 – delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7596 –
7597 – # Sed substitution to delay expansion of an escaped single quote.
7598 – delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7599 –
7600 – # Sed substitution to avoid accidental globbing in evaled expressions
7601 – no_glob_subst='s/\*/\\\*/g'
7602 –
8540   # Global variables:
8541   ofile=libtool
8542   can_build_shared=yes
8543  
8544 < # All known linkers require a `.a' archive for static linking (except MSVC,
8544 > # All known linkers require a '.a' archive for static linking (except MSVC,
8545   # which needs '.lib').
8546   libext=a
8547  
8548 < with_gnu_ld="$lt_cv_prog_gnu_ld"
8548 > with_gnu_ld=$lt_cv_prog_gnu_ld
8549  
8550 < old_CC="$CC"
8551 < old_CFLAGS="$CFLAGS"
8550 > old_CC=$CC
8551 > old_CFLAGS=$CFLAGS
8552  
8553   # Set sane defaults for various variables
8554   test -z "$CC" && CC=cc
# Line 7620 | Line 8557 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8557   test -z "$LD" && LD=ld
8558   test -z "$ac_objext" && ac_objext=o
8559  
8560 < for cc_temp in $compiler""; do
8561 <  case $cc_temp in
7625 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7626 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7627 <    \-*) ;;
7628 <    *) break;;
7629 <  esac
7630 < done
7631 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8560 > func_cc_basename $compiler
8561 > cc_basename=$func_cc_basename_result
8562  
8563  
8564   # Only perform the check for file, if the check method requires it
# Line 7638 | Line 8568 | file_magic*)
8568    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8569      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8570   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8571 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8571 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8572    $as_echo_n "(cached) " >&6
8573   else
8574    case $MAGIC_CMD in
8575   [\\/*] |  ?:[\\/]*)
8576 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8576 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8577    ;;
8578   *)
8579 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8580 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8579 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8580 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8581    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8582    for ac_dir in $ac_dummy; do
8583 <    IFS="$lt_save_ifs"
8583 >    IFS=$lt_save_ifs
8584      test -z "$ac_dir" && ac_dir=.
8585 <    if test -f $ac_dir/${ac_tool_prefix}file; then
8586 <      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8585 >    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8586 >      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8587        if test -n "$file_magic_test_file"; then
8588          case $deplibs_check_method in
8589          "file_magic "*)
8590            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8591 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8591 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8592            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8593              $EGREP "$file_magic_regex" > /dev/null; then
8594              :
# Line 7681 | Line 8611 | _LT_EOF
8611        break
8612      fi
8613    done
8614 <  IFS="$lt_save_ifs"
8615 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8614 >  IFS=$lt_save_ifs
8615 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8616    ;;
8617   esac
8618   fi
8619  
8620 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8620 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8621   if test -n "$MAGIC_CMD"; then
8622    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8623   $as_echo "$MAGIC_CMD" >&6; }
# Line 7704 | Line 8634 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8634    if test -n "$ac_tool_prefix"; then
8635      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8636   $as_echo_n "checking for file... " >&6; }
8637 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8637 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8638    $as_echo_n "(cached) " >&6
8639   else
8640    case $MAGIC_CMD in
8641   [\\/*] |  ?:[\\/]*)
8642 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8642 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8643    ;;
8644   *)
8645 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8646 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8645 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8646 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8647    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8648    for ac_dir in $ac_dummy; do
8649 <    IFS="$lt_save_ifs"
8649 >    IFS=$lt_save_ifs
8650      test -z "$ac_dir" && ac_dir=.
8651 <    if test -f $ac_dir/file; then
8652 <      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8651 >    if test -f "$ac_dir/file"; then
8652 >      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8653        if test -n "$file_magic_test_file"; then
8654          case $deplibs_check_method in
8655          "file_magic "*)
8656            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8657 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8657 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8658            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8659              $EGREP "$file_magic_regex" > /dev/null; then
8660              :
# Line 7747 | Line 8677 | _LT_EOF
8677        break
8678      fi
8679    done
8680 <  IFS="$lt_save_ifs"
8681 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8680 >  IFS=$lt_save_ifs
8681 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8682    ;;
8683   esac
8684   fi
8685  
8686 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8686 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8687   if test -n "$MAGIC_CMD"; then
8688    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8689   $as_echo "$MAGIC_CMD" >&6; }
# Line 7774 | Line 8704 | esac
8704  
8705   # Use C for the default configuration in the libtool script
8706  
8707 < lt_save_CC="$CC"
8707 > lt_save_CC=$CC
8708   ac_ext=c
8709   ac_cpp='$CPP $CPPFLAGS'
8710   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7828 | Line 8758 | _lt_linker_boilerplate=`cat conftest.err
8758   $RM -r conftest*
8759  
8760  
8761 + ## CAVEAT EMPTOR:
8762 + ## There is no encapsulation within the following macros, do not change
8763 + ## the running order or otherwise move them around unless you know exactly
8764 + ## what you are doing...
8765   if test -n "$compiler"; then
8766  
8767   lt_prog_compiler_no_builtin_flag=
8768  
8769 < if test "$GCC" = yes; then
8770 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8769 > if test yes = "$GCC"; then
8770 >  case $cc_basename in
8771 >  nvcc*)
8772 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8773 >  *)
8774 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8775 >  esac
8776  
8777    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8778   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8779 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8779 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8780    $as_echo_n "(cached) " >&6
8781   else
8782    lt_cv_prog_compiler_rtti_exceptions=no
8783     ac_outfile=conftest.$ac_objext
8784     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8785 <   lt_compiler_flag="-fno-rtti -fno-exceptions"
8785 >   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8786     # Insert the option either (1) after the last *FLAGS variable, or
8787     # (2) before a word containing "conftest.", or (3) at the end.
8788     # Note that $ac_compile itself does not contain backslashes and begins
# Line 7853 | Line 8792 | else
8792     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8793     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8794     -e 's:$: $lt_compiler_flag:'`
8795 <   (eval echo "\"\$as_me:7856: $lt_compile\"" >&5)
8795 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8796     (eval "$lt_compile" 2>conftest.err)
8797     ac_status=$?
8798     cat conftest.err >&5
8799 <   echo "$as_me:7860: \$? = $ac_status" >&5
8799 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800     if (exit $ac_status) && test -s "$ac_outfile"; then
8801       # The compiler can only warn and ignore the option if not recognized
8802       # So say no if there are warnings other than the usual output.
8803 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8803 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8804       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8805       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8806         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7873 | Line 8812 | fi
8812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8813   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8814  
8815 < if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8815 > if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8816      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8817   else
8818      :
# Line 7890 | Line 8829 | fi
8829   lt_prog_compiler_pic=
8830   lt_prog_compiler_static=
8831  
7893 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7894 – $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8832  
8833 <  if test "$GCC" = yes; then
8833 >  if test yes = "$GCC"; then
8834      lt_prog_compiler_wl='-Wl,'
8835      lt_prog_compiler_static='-static'
8836  
8837      case $host_os in
8838        aix*)
8839        # All AIX code is PIC.
8840 <      if test "$host_cpu" = ia64; then
8840 >      if test ia64 = "$host_cpu"; then
8841          # AIX 5 now supports IA64 processor
8842          lt_prog_compiler_static='-Bstatic'
8843        fi
8844 +      lt_prog_compiler_pic='-fPIC'
8845        ;;
8846  
8847      amigaos*)
# Line 7914 | Line 8852 | $as_echo_n "checking for $compiler optio
8852          ;;
8853        m68k)
8854              # FIXME: we need at least 68020 code to build shared libraries, but
8855 <            # adding the `-m68020' flag to GCC prevents building anything better,
8856 <            # like `-m68040'.
8855 >            # adding the '-m68020' flag to GCC prevents building anything better,
8856 >            # like '-m68040'.
8857              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8858          ;;
8859        esac
# Line 7931 | Line 8869 | $as_echo_n "checking for $compiler optio
8869        # Although the cygwin gcc ignores -fPIC, still need this for old-style
8870        # (--disable-auto-import) libraries
8871        lt_prog_compiler_pic='-DDLL_EXPORT'
8872 +      case $host_os in
8873 +      os2*)
8874 +        lt_prog_compiler_static='$wl-static'
8875 +        ;;
8876 +      esac
8877        ;;
8878  
8879      darwin* | rhapsody*)
# Line 7939 | Line 8882 | $as_echo_n "checking for $compiler optio
8882        lt_prog_compiler_pic='-fno-common'
8883        ;;
8884  
8885 +    haiku*)
8886 +      # PIC is the default for Haiku.
8887 +      # The "-static" flag exists, but is broken.
8888 +      lt_prog_compiler_static=
8889 +      ;;
8890 +
8891      hpux*)
8892        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8893        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7981 | Line 8930 | $as_echo_n "checking for $compiler optio
8930        lt_prog_compiler_pic='-fPIC'
8931        ;;
8932      esac
8933 +
8934 +    case $cc_basename in
8935 +    nvcc*) # Cuda Compiler Driver 2.2
8936 +      lt_prog_compiler_wl='-Xlinker '
8937 +      if test -n "$lt_prog_compiler_pic"; then
8938 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8939 +      fi
8940 +      ;;
8941 +    esac
8942    else
8943      # PORTME Check for flag to pass linker flags through the system compiler.
8944      case $host_os in
8945      aix*)
8946        lt_prog_compiler_wl='-Wl,'
8947 <      if test "$host_cpu" = ia64; then
8947 >      if test ia64 = "$host_cpu"; then
8948          # AIX 5 now supports IA64 processor
8949          lt_prog_compiler_static='-Bstatic'
8950        else
# Line 7994 | Line 8952 | $as_echo_n "checking for $compiler optio
8952        fi
8953        ;;
8954  
8955 +    darwin* | rhapsody*)
8956 +      # PIC is the default on this platform
8957 +      # Common symbols not allowed in MH_DYLIB files
8958 +      lt_prog_compiler_pic='-fno-common'
8959 +      case $cc_basename in
8960 +      nagfor*)
8961 +        # NAG Fortran compiler
8962 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8963 +        lt_prog_compiler_pic='-PIC'
8964 +        lt_prog_compiler_static='-Bstatic'
8965 +        ;;
8966 +      esac
8967 +      ;;
8968 +
8969      mingw* | cygwin* | pw32* | os2* | cegcc*)
8970        # This hack is so that the source file can tell whether it is being
8971        # built for inclusion in a dll (and should export symbols for example).
8972        lt_prog_compiler_pic='-DDLL_EXPORT'
8973 +      case $host_os in
8974 +      os2*)
8975 +        lt_prog_compiler_static='$wl-static'
8976 +        ;;
8977 +      esac
8978        ;;
8979  
8980      hpux9* | hpux10* | hpux11*)
# Line 8013 | Line 8990 | $as_echo_n "checking for $compiler optio
8990          ;;
8991        esac
8992        # Is there a better lt_prog_compiler_static that works with the bundled CC?
8993 <      lt_prog_compiler_static='${wl}-a ${wl}archive'
8993 >      lt_prog_compiler_static='$wl-a ${wl}archive'
8994        ;;
8995  
8996      irix5* | irix6* | nonstopux*)
# Line 8022 | Line 8999 | $as_echo_n "checking for $compiler optio
8999        lt_prog_compiler_static='-non_shared'
9000        ;;
9001  
9002 <    linux* | k*bsd*-gnu)
9002 >    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9003        case $cc_basename in
9004 <      # old Intel for x86_64 which still supported -KPIC.
9004 >      # old Intel for x86_64, which still supported -KPIC.
9005        ecc*)
9006          lt_prog_compiler_wl='-Wl,'
9007          lt_prog_compiler_pic='-KPIC'
9008          lt_prog_compiler_static='-static'
9009          ;;
9010 +      # flang / f18. f95 an alias for gfortran or flang on Debian
9011 +      flang* | f18* | f95*)
9012 +        lt_prog_compiler_wl='-Wl,'
9013 +        lt_prog_compiler_pic='-fPIC'
9014 +        lt_prog_compiler_static='-static'
9015 +        ;;
9016        # icc used to be incompatible with GCC.
9017        # ICC 10 doesn't accept -KPIC any more.
9018        icc* | ifort*)
# Line 8043 | Line 9026 | $as_echo_n "checking for $compiler optio
9026          lt_prog_compiler_pic='--shared'
9027          lt_prog_compiler_static='--static'
9028          ;;
9029 <      pgcc* | pgf77* | pgf90* | pgf95*)
9029 >      nagfor*)
9030 >        # NAG Fortran compiler
9031 >        lt_prog_compiler_wl='-Wl,-Wl,,'
9032 >        lt_prog_compiler_pic='-PIC'
9033 >        lt_prog_compiler_static='-Bstatic'
9034 >        ;;
9035 >      tcc*)
9036 >        # Fabrice Bellard et al's Tiny C Compiler
9037 >        lt_prog_compiler_wl='-Wl,'
9038 >        lt_prog_compiler_pic='-fPIC'
9039 >        lt_prog_compiler_static='-static'
9040 >        ;;
9041 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9042          # Portland Group compilers (*not* the Pentium gcc compiler,
9043          # which looks to be a dead project)
9044          lt_prog_compiler_wl='-Wl,'
# Line 8055 | Line 9050 | $as_echo_n "checking for $compiler optio
9050          # All Alpha code is PIC.
9051          lt_prog_compiler_static='-non_shared'
9052          ;;
9053 <      xl*)
9054 <        # IBM XL C 8.0/Fortran 10.1 on PPC
9053 >      xl* | bgxl* | bgf* | mpixl*)
9054 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9055          lt_prog_compiler_wl='-Wl,'
9056          lt_prog_compiler_pic='-qpic'
9057          lt_prog_compiler_static='-qstaticlink'
9058          ;;
9059        *)
9060          case `$CC -V 2>&1 | sed 5q` in
9061 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9062 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9063 +          lt_prog_compiler_pic='-KPIC'
9064 +          lt_prog_compiler_static='-Bstatic'
9065 +          lt_prog_compiler_wl=''
9066 +          ;;
9067 +        *Sun\ F* | *Sun*Fortran*)
9068 +          lt_prog_compiler_pic='-KPIC'
9069 +          lt_prog_compiler_static='-Bstatic'
9070 +          lt_prog_compiler_wl='-Qoption ld '
9071 +          ;;
9072          *Sun\ C*)
9073            # Sun C 5.9
9074            lt_prog_compiler_pic='-KPIC'
9075            lt_prog_compiler_static='-Bstatic'
9076            lt_prog_compiler_wl='-Wl,'
9077            ;;
9078 <        *Sun\ F*)
9079 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9080 <          lt_prog_compiler_pic='-KPIC'
9078 >        *Intel*\ [CF]*Compiler*)
9079 >          lt_prog_compiler_wl='-Wl,'
9080 >          lt_prog_compiler_pic='-fPIC'
9081 >          lt_prog_compiler_static='-static'
9082 >          ;;
9083 >        *Portland\ Group*)
9084 >          lt_prog_compiler_wl='-Wl,'
9085 >          lt_prog_compiler_pic='-fpic'
9086            lt_prog_compiler_static='-Bstatic'
8076 –          lt_prog_compiler_wl=''
9087            ;;
9088          esac
9089          ;;
# Line 8105 | Line 9115 | $as_echo_n "checking for $compiler optio
9115        lt_prog_compiler_pic='-KPIC'
9116        lt_prog_compiler_static='-Bstatic'
9117        case $cc_basename in
9118 <      f77* | f90* | f95*)
9118 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9119          lt_prog_compiler_wl='-Qoption ld ';;
9120        *)
9121          lt_prog_compiler_wl='-Wl,';;
# Line 8125 | Line 9135 | $as_echo_n "checking for $compiler optio
9135        ;;
9136  
9137      sysv4*MP*)
9138 <      if test -d /usr/nec ;then
9138 >      if test -d /usr/nec; then
9139          lt_prog_compiler_pic='-Kconform_pic'
9140          lt_prog_compiler_static='-Bstatic'
9141        fi
# Line 8154 | Line 9164 | $as_echo_n "checking for $compiler optio
9164    fi
9165  
9166   case $host_os in
9167 <  # For platforms which do not support PIC, -DPIC is meaningless:
9167 >  # For platforms that do not support PIC, -DPIC is meaningless:
9168    *djgpp*)
9169      lt_prog_compiler_pic=
9170      ;;
# Line 8162 | Line 9172 | case $host_os in
9172      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9173      ;;
9174   esac
8165 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8166 – $as_echo "$lt_prog_compiler_pic" >&6; }
8167 –
8168 –
8169 –
8170 –
9175  
9176 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9177 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9178 + if ${lt_cv_prog_compiler_pic+:} false; then :
9179 +  $as_echo_n "(cached) " >&6
9180 + else
9181 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9182 + fi
9183 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9184 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9185 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9186  
9187   #
9188   # Check to make sure the PIC flag actually works.
# Line 8176 | Line 9190 | $as_echo "$lt_prog_compiler_pic" >&6; }
9190   if test -n "$lt_prog_compiler_pic"; then
9191    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9192   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9193 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9193 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
9194    $as_echo_n "(cached) " >&6
9195   else
9196    lt_cv_prog_compiler_pic_works=no
9197     ac_outfile=conftest.$ac_objext
9198     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9199 <   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9199 >   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9200     # Insert the option either (1) after the last *FLAGS variable, or
9201     # (2) before a word containing "conftest.", or (3) at the end.
9202     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8192 | Line 9206 | else
9206     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9207     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9208     -e 's:$: $lt_compiler_flag:'`
9209 <   (eval echo "\"\$as_me:8195: $lt_compile\"" >&5)
9209 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9210     (eval "$lt_compile" 2>conftest.err)
9211     ac_status=$?
9212     cat conftest.err >&5
9213 <   echo "$as_me:8199: \$? = $ac_status" >&5
9213 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214     if (exit $ac_status) && test -s "$ac_outfile"; then
9215       # The compiler can only warn and ignore the option if not recognized
9216       # So say no if there are warnings other than the usual output.
9217 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9217 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9218       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9219       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9220         lt_cv_prog_compiler_pic_works=yes
# Line 8212 | Line 9226 | fi
9226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9227   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9228  
9229 < if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9229 > if test yes = "$lt_cv_prog_compiler_pic_works"; then
9230      case $lt_prog_compiler_pic in
9231       "" | " "*) ;;
9232       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
# Line 8229 | Line 9243 | fi
9243  
9244  
9245  
9246 +
9247 +
9248 +
9249 +
9250 +
9251   #
9252   # Check to make sure the static flag actually works.
9253   #
9254   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9256   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9257 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9257 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9258    $as_echo_n "(cached) " >&6
9259   else
9260    lt_cv_prog_compiler_static_works=no
9261 <   save_LDFLAGS="$LDFLAGS"
9261 >   save_LDFLAGS=$LDFLAGS
9262     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9263     echo "$lt_simple_link_test_code" > conftest.$ac_ext
9264     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 8248 | Line 9267 | else
9267       if test -s conftest.err; then
9268         # Append any errors to the config.log.
9269         cat conftest.err 1>&5
9270 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9270 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9271         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9272         if diff conftest.exp conftest.er2 >/dev/null; then
9273           lt_cv_prog_compiler_static_works=yes
# Line 8258 | Line 9277 | else
9277       fi
9278     fi
9279     $RM -r conftest*
9280 <   LDFLAGS="$save_LDFLAGS"
9280 >   LDFLAGS=$save_LDFLAGS
9281  
9282   fi
9283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9284   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9285  
9286 < if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9286 > if test yes = "$lt_cv_prog_compiler_static_works"; then
9287      :
9288   else
9289      lt_prog_compiler_static=
# Line 8278 | Line 9297 | fi
9297  
9298    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9299   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9300 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9300 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9301    $as_echo_n "(cached) " >&6
9302   else
9303    lt_cv_prog_compiler_c_o=no
# Line 8297 | Line 9316 | else
9316     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9317     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9318     -e 's:$: $lt_compiler_flag:'`
9319 <   (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
9319 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9320     (eval "$lt_compile" 2>out/conftest.err)
9321     ac_status=$?
9322     cat out/conftest.err >&5
9323 <   echo "$as_me:8304: \$? = $ac_status" >&5
9323 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9325     then
9326       # The compiler can only warn and ignore the option if not recognized
9327       # So say no if there are warnings
9328 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9328 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9329       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9330       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9331         lt_cv_prog_compiler_c_o=yes
# Line 8333 | Line 9352 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9352  
9353    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9354   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9355 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9355 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9356    $as_echo_n "(cached) " >&6
9357   else
9358    lt_cv_prog_compiler_c_o=no
# Line 8352 | Line 9371 | else
9371     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9372     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9373     -e 's:$: $lt_compiler_flag:'`
9374 <   (eval echo "\"\$as_me:8355: $lt_compile\"" >&5)
9374 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9375     (eval "$lt_compile" 2>out/conftest.err)
9376     ac_status=$?
9377     cat out/conftest.err >&5
9378 <   echo "$as_me:8359: \$? = $ac_status" >&5
9378 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9380     then
9381       # The compiler can only warn and ignore the option if not recognized
9382       # So say no if there are warnings
9383 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9383 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9384       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9385       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9386         lt_cv_prog_compiler_c_o=yes
# Line 8384 | Line 9403 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9403  
9404  
9405  
9406 < hard_links="nottested"
9407 < if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9406 > hard_links=nottested
9407 > if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9408    # do not overwrite the value of need_locks provided by the user
9409    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9410   $as_echo_n "checking if we can lock with hard links... " >&6; }
# Line 8397 | Line 9416 | $as_echo_n "checking if we can lock with
9416    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9417    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9418   $as_echo "$hard_links" >&6; }
9419 <  if test "$hard_links" = no; then
9420 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9421 < $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9419 >  if test no = "$hard_links"; then
9420 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9421 > $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9422      need_locks=warn
9423    fi
9424   else
# Line 8427 | Line 9446 | $as_echo_n "checking whether the $compil
9446    hardcode_direct=no
9447    hardcode_direct_absolute=no
9448    hardcode_libdir_flag_spec=
8430 –  hardcode_libdir_flag_spec_ld=
9449    hardcode_libdir_separator=
9450    hardcode_minus_L=no
9451    hardcode_shlibpath_var=unsupported
# Line 8443 | Line 9461 | $as_echo_n "checking whether the $compil
9461    # included in the symbol list
9462    include_expsyms=
9463    # exclude_expsyms can be an extended regexp of symbols to exclude
9464 <  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9465 <  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9466 <  # as well as any symbol that contains `d'.
9464 >  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9465 >  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9466 >  # as well as any symbol that contains 'd'.
9467    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9468    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9469    # platforms (ab)use it in PIC code, but their linkers get confused if
# Line 8460 | Line 9478 | $as_echo_n "checking whether the $compil
9478      # FIXME: the MSVC++ port hasn't been tested in a loooong time
9479      # When not using gcc, we currently assume that we are using
9480      # Microsoft Visual C++.
9481 <    if test "$GCC" != yes; then
9481 >    if test yes != "$GCC"; then
9482        with_gnu_ld=no
9483      fi
9484      ;;
# Line 8468 | Line 9486 | $as_echo_n "checking whether the $compil
9486      # we just hope/assume this is gcc and not c89 (= MSVC++)
9487      with_gnu_ld=yes
9488      ;;
9489 <  openbsd*)
9489 >  openbsd* | bitrig*)
9490      with_gnu_ld=no
9491      ;;
9492 +  linux* | k*bsd*-gnu | gnu*)
9493 +    link_all_deplibs=no
9494 +    ;;
9495    esac
9496  
9497    ld_shlibs=yes
9498 <  if test "$with_gnu_ld" = yes; then
9498 >
9499 >  # On some targets, GNU ld is compatible enough with the native linker
9500 >  # that we're better off using the native interface for both.
9501 >  lt_use_gnu_ld_interface=no
9502 >  if test yes = "$with_gnu_ld"; then
9503 >    case $host_os in
9504 >      aix*)
9505 >        # The AIX port of GNU ld has always aspired to compatibility
9506 >        # with the native linker.  However, as the warning in the GNU ld
9507 >        # block says, versions before 2.19.5* couldn't really create working
9508 >        # shared libraries, regardless of the interface used.
9509 >        case `$LD -v 2>&1` in
9510 >          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9511 >          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9512 >          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9513 >          *)
9514 >            lt_use_gnu_ld_interface=yes
9515 >            ;;
9516 >        esac
9517 >        ;;
9518 >      *)
9519 >        lt_use_gnu_ld_interface=yes
9520 >        ;;
9521 >    esac
9522 >  fi
9523 >
9524 >  if test yes = "$lt_use_gnu_ld_interface"; then
9525      # If archive_cmds runs LD, not CC, wlarc should be empty
9526 <    wlarc='${wl}'
9526 >    wlarc='$wl'
9527  
9528      # Set some defaults for GNU ld with shared library support. These
9529      # are reset later if shared libraries are not supported. Putting them
9530      # here allows them to be overridden if necessary.
9531      runpath_var=LD_RUN_PATH
9532 <    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9533 <    export_dynamic_flag_spec='${wl}--export-dynamic'
9532 >    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9533 >    export_dynamic_flag_spec='$wl--export-dynamic'
9534      # ancient GNU ld didn't support --whole-archive et. al.
9535      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9536 <      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9536 >      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9537      else
9538        whole_archive_flag_spec=
9539      fi
9540      supports_anon_versioning=no
9541 <    case `$LD -v 2>&1` in
9541 >    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9542 >      *GNU\ gold*) supports_anon_versioning=yes ;;
9543        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9544        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9545        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8503 | Line 9551 | $as_echo_n "checking whether the $compil
9551      case $host_os in
9552      aix[3-9]*)
9553        # On AIX/PPC, the GNU linker is very broken
9554 <      if test "$host_cpu" != ia64; then
9554 >      if test ia64 != "$host_cpu"; then
9555          ld_shlibs=no
9556          cat <<_LT_EOF 1>&2
9557  
9558 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9558 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9559   *** to be unable to reliably create shared libraries on AIX.
9560   *** Therefore, libtool is disabling shared libraries support.  If you
9561 < *** really care for shared libraries, you may want to modify your PATH
9562 < *** so that a non-GNU linker is found, and then restart.
9561 > *** really care for shared libraries, you may want to install binutils
9562 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9563 > *** You will then need to restart the configuration process.
9564  
9565   _LT_EOF
9566        fi
# Line 8521 | Line 9570 | _LT_EOF
9570        case $host_cpu in
9571        powerpc)
9572              # see comment about AmigaOS4 .so support
9573 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9573 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9574              archive_expsym_cmds=''
9575          ;;
9576        m68k)
# Line 8537 | Line 9586 | _LT_EOF
9586          allow_undefined_flag=unsupported
9587          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9588          # support --undefined.  This deserves some investigation.  FIXME
9589 <        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9589 >        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9590        else
9591          ld_shlibs=no
9592        fi
# Line 8547 | Line 9596 | _LT_EOF
9596        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9597        # as there is no search path for DLLs.
9598        hardcode_libdir_flag_spec='-L$libdir'
9599 +      export_dynamic_flag_spec='$wl--export-all-symbols'
9600        allow_undefined_flag=unsupported
9601        always_export_symbols=no
9602        enable_shared_with_static_runtimes=yes
9603 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9603 >      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'
9604 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9605  
9606        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9607 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9608 <        # If the export-symbols file already is a .def file (1st line
9609 <        # is EXPORTS), use it as is; otherwise, prepend...
9610 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9611 <          cp $export_symbols $output_objdir/$soname.def;
9612 <        else
9613 <          echo EXPORTS > $output_objdir/$soname.def;
9614 <          cat $export_symbols >> $output_objdir/$soname.def;
9615 <        fi~
9616 <        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9607 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9608 >        # If the export-symbols file already is a .def file, use it as
9609 >        # is; otherwise, prepend EXPORTS...
9610 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9611 >          cp $export_symbols $output_objdir/$soname.def;
9612 >        else
9613 >          echo EXPORTS > $output_objdir/$soname.def;
9614 >          cat $export_symbols >> $output_objdir/$soname.def;
9615 >        fi~
9616 >        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9617        else
9618          ld_shlibs=no
9619        fi
9620        ;;
9621  
9622 +    haiku*)
9623 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9624 +      link_all_deplibs=yes
9625 +      ;;
9626 +
9627 +    os2*)
9628 +      hardcode_libdir_flag_spec='-L$libdir'
9629 +      hardcode_minus_L=yes
9630 +      allow_undefined_flag=unsupported
9631 +      shrext_cmds=.dll
9632 +      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9633 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9634 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9635 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9636 +        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9637 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9638 +        emximp -o $lib $output_objdir/$libname.def'
9639 +      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9640 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9641 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9642 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9643 +        prefix_cmds="$SED"~
9644 +        if test EXPORTS = "`$SED 1q $export_symbols`"; then
9645 +          prefix_cmds="$prefix_cmds -e 1d";
9646 +        fi~
9647 +        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9648 +        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9649 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9650 +        emximp -o $lib $output_objdir/$libname.def'
9651 +      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9652 +      enable_shared_with_static_runtimes=yes
9653 +      ;;
9654 +
9655      interix[3-9]*)
9656        hardcode_direct=no
9657        hardcode_shlibpath_var=no
9658 <      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9659 <      export_dynamic_flag_spec='${wl}-E'
9658 >      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9659 >      export_dynamic_flag_spec='$wl-E'
9660        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9661        # Instead, shared libraries are loaded at an image base (0x10000000 by
9662        # default) and relocated if they conflict, which is a slow very memory
9663        # consuming and fragmenting process.  To avoid this, we pick a random,
9664        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9665        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9666 <      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9667 <      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'
9666 >      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9667 >      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'
9668        ;;
9669  
9670 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9670 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9671        tmp_diet=no
9672 <      if test "$host_os" = linux-dietlibc; then
9672 >      if test linux-dietlibc = "$host_os"; then
9673          case $cc_basename in
9674            diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9675          esac
9676        fi
9677        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9678 <         && test "$tmp_diet" = no
9678 >         && test no = "$tmp_diet"
9679        then
9680 <        tmp_addflag=
9680 >        tmp_addflag=' $pic_flag'
9681          tmp_sharedflag='-shared'
9682          case $cc_basename,$host_cpu in
9683          pgcc*)                          # Portland Group C compiler
9684 <          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'
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            tmp_addflag=' $pic_flag'
9686            ;;
9687 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9688 <          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'
9687 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9688 >                                        # Portland Group f77 and f90 compilers
9689 >          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'
9690            tmp_addflag=' $pic_flag -Mnomain' ;;
9691          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9692            tmp_addflag=' -i_dynamic' ;;
# Line 8612 | Line 9697 | _LT_EOF
9697          lf95*)                          # Lahey Fortran 8.1
9698            whole_archive_flag_spec=
9699            tmp_sharedflag='--shared' ;;
9700 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9700 >        nagfor*)                        # NAGFOR 5.3
9701 >          tmp_sharedflag='-Wl,-shared' ;;
9702 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9703            tmp_sharedflag='-qmkshrobj'
9704            tmp_addflag= ;;
9705 +        nvcc*)  # Cuda Compiler Driver 2.2
9706 +          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'
9707 +          compiler_needs_object=yes
9708 +          ;;
9709          esac
9710          case `$CC -V 2>&1 | sed 5q` in
9711          *Sun\ C*)                       # Sun C 5.9
9712 <          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'
9712 >          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'
9713            compiler_needs_object=yes
9714            tmp_sharedflag='-G' ;;
9715          *Sun\ F*)                       # Sun Fortran 8.3
9716            tmp_sharedflag='-G' ;;
9717          esac
9718 <        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9718 >        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9719  
9720 <        if test "x$supports_anon_versioning" = xyes; then
9720 >        if test yes = "$supports_anon_versioning"; then
9721            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9722 <            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9723 <            echo "local: *; };" >> $output_objdir/$libname.ver~
9724 <            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9722 >            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9723 >            echo "local: *; };" >> $output_objdir/$libname.ver~
9724 >            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9725          fi
9726  
9727          case $cc_basename in
9728 <        xlf*)
9728 >        tcc*)
9729 >          export_dynamic_flag_spec='-rdynamic'
9730 >          ;;
9731 >        xlf* | bgf* | bgxlf* | mpixlf*)
9732            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9733            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9734 <          hardcode_libdir_flag_spec=
9735 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9736 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8643 <          if test "x$supports_anon_versioning" = xyes; then
9734 >          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9735 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9736 >          if test yes = "$supports_anon_versioning"; then
9737              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9738 <              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9739 <              echo "local: *; };" >> $output_objdir/$libname.ver~
9740 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9738 >              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9739 >              echo "local: *; };" >> $output_objdir/$libname.ver~
9740 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9741            fi
9742            ;;
9743          esac
# Line 8653 | Line 9746 | _LT_EOF
9746        fi
9747        ;;
9748  
9749 <    netbsd*)
9749 >    netbsd* | netbsdelf*-gnu)
9750        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9751          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9752          wlarc=
9753        else
9754 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9755 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9754 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9755 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9756        fi
9757        ;;
9758  
# Line 8677 | Line 9770 | _LT_EOF
9770  
9771   _LT_EOF
9772        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9773 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9774 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9773 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9774 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9775        else
9776          ld_shlibs=no
9777        fi
# Line 8690 | Line 9783 | _LT_EOF
9783          ld_shlibs=no
9784          cat <<_LT_EOF 1>&2
9785  
9786 < *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9786 > *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9787   *** reliably create shared libraries on SCO systems.  Therefore, libtool
9788   *** is disabling shared libraries support.  We urge you to upgrade GNU
9789   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
# Line 8705 | Line 9798 | _LT_EOF
9798            # DT_RUNPATH tag from executables and libraries.  But doing so
9799            # requires that you compile everything twice, which is a pain.
9800            if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9801 <            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9802 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9803 <            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9801 >            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9802 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9803 >            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9804            else
9805              ld_shlibs=no
9806            fi
# Line 8724 | Line 9817 | _LT_EOF
9817  
9818      *)
9819        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9820 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9821 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9820 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9821 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9822        else
9823          ld_shlibs=no
9824        fi
9825        ;;
9826      esac
9827  
9828 <    if test "$ld_shlibs" = no; then
9828 >    if test no = "$ld_shlibs"; then
9829        runpath_var=
9830        hardcode_libdir_flag_spec=
9831        export_dynamic_flag_spec=
# Line 8748 | Line 9841 | _LT_EOF
9841        # Note: this linker hardcodes the directories in LIBPATH if there
9842        # are no directories specified by -L.
9843        hardcode_minus_L=yes
9844 <      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9844 >      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9845          # Neither direct hardcoding nor static linking is supported with a
9846          # broken collect2.
9847          hardcode_direct=unsupported
# Line 8756 | Line 9849 | _LT_EOF
9849        ;;
9850  
9851      aix[4-9]*)
9852 <      if test "$host_cpu" = ia64; then
9852 >      if test ia64 = "$host_cpu"; then
9853          # On IA64, the linker does run time linking by default, so we don't
9854          # have to do anything special.
9855          aix_use_runtimelinking=no
9856          exp_sym_flag='-Bexport'
9857 <        no_entry_flag=""
9857 >        no_entry_flag=
9858        else
9859          # If we're using GNU nm, then we don't want the "-C" option.
9860 <        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9860 >        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9861 >        # Without the "-l" option, or with the "-B" option, AIX nm treats
9862 >        # weak defined symbols like other global defined symbols, whereas
9863 >        # GNU nm marks them as "W".
9864 >        # While the 'weak' keyword is ignored in the Export File, we need
9865 >        # it in the Import File for the 'aix-soname' feature, so we have
9866 >        # to replace the "-B" option with "-P" for AIX nm.
9867          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9868 <          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'
9868 >          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'
9869          else
9870 <          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'
9870 >          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'
9871          fi
9872          aix_use_runtimelinking=no
9873  
9874          # Test if we are trying to use run time linking or normal
9875          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9876 <        # need to do runtime linking.
9876 >        # have runtime linking enabled, and use it for executables.
9877 >        # For shared libraries, we enable/disable runtime linking
9878 >        # depending on the kind of the shared library created -
9879 >        # when "with_aix_soname,aix_use_runtimelinking" is:
9880 >        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9881 >        # "aix,yes"  lib.so          shared, rtl:yes, for executables
9882 >        #            lib.a           static archive
9883 >        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
9884 >        #            lib.a(lib.so.V) shared, rtl:no,  for executables
9885 >        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9886 >        #            lib.a(lib.so.V) shared, rtl:no
9887 >        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9888 >        #            lib.a           static archive
9889          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9890            for ld_flag in $LDFLAGS; do
9891 <          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9891 >          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9892              aix_use_runtimelinking=yes
9893              break
9894            fi
9895            done
9896 +          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9897 +            # With aix-soname=svr4, we create the lib.so.V shared archives only,
9898 +            # so we don't have lib.a shared libs to link our executables.
9899 +            # We have to force runtime linking in this case.
9900 +            aix_use_runtimelinking=yes
9901 +            LDFLAGS="$LDFLAGS -Wl,-brtl"
9902 +          fi
9903            ;;
9904          esac
9905  
# Line 8800 | Line 9918 | _LT_EOF
9918        hardcode_direct_absolute=yes
9919        hardcode_libdir_separator=':'
9920        link_all_deplibs=yes
9921 <      file_list_spec='${wl}-f,'
9921 >      file_list_spec='$wl-f,'
9922 >      case $with_aix_soname,$aix_use_runtimelinking in
9923 >      aix,*) ;; # traditional, no import file
9924 >      svr4,* | *,yes) # use import file
9925 >        # The Import File defines what to hardcode.
9926 >        hardcode_direct=no
9927 >        hardcode_direct_absolute=no
9928 >        ;;
9929 >      esac
9930  
9931 <      if test "$GCC" = yes; then
9931 >      if test yes = "$GCC"; then
9932          case $host_os in aix4.[012]|aix4.[012].*)
9933          # We only want to do this on AIX 4.2 and lower, the check
9934          # below for broken collect2 doesn't work under 4.3+
9935 <          collect2name=`${CC} -print-prog-name=collect2`
9935 >          collect2name=`$CC -print-prog-name=collect2`
9936            if test -f "$collect2name" &&
9937             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9938            then
# Line 8825 | Line 9951 | _LT_EOF
9951            ;;
9952          esac
9953          shared_flag='-shared'
9954 <        if test "$aix_use_runtimelinking" = yes; then
9955 <          shared_flag="$shared_flag "'${wl}-G'
9954 >        if test yes = "$aix_use_runtimelinking"; then
9955 >          shared_flag="$shared_flag "'$wl-G'
9956          fi
9957 <        link_all_deplibs=no
9957 >        # Need to ensure runtime linking is disabled for the traditional
9958 >        # shared library, or the linker may eventually find shared libraries
9959 >        # /with/ Import File - we do not want to mix them.
9960 >        shared_flag_aix='-shared'
9961 >        shared_flag_svr4='-shared $wl-G'
9962        else
9963          # not using gcc
9964 <        if test "$host_cpu" = ia64; then
9964 >        if test ia64 = "$host_cpu"; then
9965          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9966          # chokes on -Wl,-G. The following line is correct:
9967            shared_flag='-G'
9968          else
9969 <          if test "$aix_use_runtimelinking" = yes; then
9970 <            shared_flag='${wl}-G'
9969 >          if test yes = "$aix_use_runtimelinking"; then
9970 >            shared_flag='$wl-G'
9971            else
9972 <            shared_flag='${wl}-bM:SRE'
9972 >            shared_flag='$wl-bM:SRE'
9973            fi
9974 +          shared_flag_aix='$wl-bM:SRE'
9975 +          shared_flag_svr4='$wl-G'
9976          fi
9977        fi
9978  
9979 <      export_dynamic_flag_spec='${wl}-bexpall'
9979 >      export_dynamic_flag_spec='$wl-bexpall'
9980        # It seems that -bexpall does not export symbols beginning with
9981        # underscore (_), so it is better to generate a list of symbols to export.
9982        always_export_symbols=yes
9983 <      if test "$aix_use_runtimelinking" = yes; then
9983 >      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9984          # Warning - without using the other runtime loading flags (-brtl),
9985          # -berok will link without error, but may produce a broken library.
9986          allow_undefined_flag='-berok'
9987          # Determine the default libpath from the value encoded in an
9988          # empty executable.
9989 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 >        if test set = "${lt_cv_aix_libpath+set}"; then
9990 >  aix_libpath=$lt_cv_aix_libpath
9991 > else
9992 >  if ${lt_cv_aix_libpath_+:} false; then :
9993 >  $as_echo_n "(cached) " >&6
9994 > else
9995 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996   /* end confdefs.h.  */
9997  
9998   int
# Line 8867 | Line 10005 | main ()
10005   _ACEOF
10006   if ac_fn_c_try_link "$LINENO"; then :
10007  
10008 < lt_aix_libpath_sed='
10009 <    /Import File Strings/,/^$/ {
10010 <        /^0/ {
10011 <            s/^0  *\(.*\)$/\1/
10012 <            p
10013 <        }
10014 <    }'
10015 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10016 < # Check for a 64-bit object if we didn't find anything.
10017 < if test -z "$aix_libpath"; then
10018 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10019 < fi
10008 >  lt_aix_libpath_sed='
10009 >      /Import File Strings/,/^$/ {
10010 >          /^0/ {
10011 >              s/^0  *\([^ ]*\) *$/\1/
10012 >              p
10013 >          }
10014 >      }'
10015 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10016 >  # Check for a 64-bit object if we didn't find anything.
10017 >  if test -z "$lt_cv_aix_libpath_"; then
10018 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10019 >  fi
10020   fi
10021   rm -f core conftest.err conftest.$ac_objext \
10022      conftest$ac_exeext conftest.$ac_ext
10023 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10023 >  if test -z "$lt_cv_aix_libpath_"; then
10024 >    lt_cv_aix_libpath_=/usr/lib:/lib
10025 >  fi
10026 >
10027 > fi
10028  
10029 <        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10030 <        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"
10029 >  aix_libpath=$lt_cv_aix_libpath_
10030 > fi
10031 >
10032 >        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10033 >        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
10034        else
10035 <        if test "$host_cpu" = ia64; then
10036 <          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10035 >        if test ia64 = "$host_cpu"; then
10036 >          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10037            allow_undefined_flag="-z nodefs"
10038 <          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"
10038 >          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"
10039          else
10040           # Determine the default libpath from the value encoded in an
10041           # empty executable.
10042 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 >         if test set = "${lt_cv_aix_libpath+set}"; then
10043 >  aix_libpath=$lt_cv_aix_libpath
10044 > else
10045 >  if ${lt_cv_aix_libpath_+:} false; then :
10046 >  $as_echo_n "(cached) " >&6
10047 > else
10048 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049   /* end confdefs.h.  */
10050  
10051   int
# Line 8907 | Line 10058 | main ()
10058   _ACEOF
10059   if ac_fn_c_try_link "$LINENO"; then :
10060  
10061 < lt_aix_libpath_sed='
10062 <    /Import File Strings/,/^$/ {
10063 <        /^0/ {
10064 <            s/^0  *\(.*\)$/\1/
10065 <            p
10066 <        }
10067 <    }'
10068 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10069 < # Check for a 64-bit object if we didn't find anything.
10070 < if test -z "$aix_libpath"; then
10071 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10072 < fi
10061 >  lt_aix_libpath_sed='
10062 >      /Import File Strings/,/^$/ {
10063 >          /^0/ {
10064 >              s/^0  *\([^ ]*\) *$/\1/
10065 >              p
10066 >          }
10067 >      }'
10068 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10069 >  # Check for a 64-bit object if we didn't find anything.
10070 >  if test -z "$lt_cv_aix_libpath_"; then
10071 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10072 >  fi
10073   fi
10074   rm -f core conftest.err conftest.$ac_objext \
10075      conftest$ac_exeext conftest.$ac_ext
10076 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10076 >  if test -z "$lt_cv_aix_libpath_"; then
10077 >    lt_cv_aix_libpath_=/usr/lib:/lib
10078 >  fi
10079  
10080 <         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10080 > fi
10081 >
10082 >  aix_libpath=$lt_cv_aix_libpath_
10083 > fi
10084 >
10085 >         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10086            # Warning - without using the other run time loading flags,
10087            # -berok will link without error, but may produce a broken library.
10088 <          no_undefined_flag=' ${wl}-bernotok'
10089 <          allow_undefined_flag=' ${wl}-berok'
10090 <          # Exported symbols can be pulled into shared objects from archives
10091 <          whole_archive_flag_spec='$convenience'
10088 >          no_undefined_flag=' $wl-bernotok'
10089 >          allow_undefined_flag=' $wl-berok'
10090 >          if test yes = "$with_gnu_ld"; then
10091 >            # We only use this code for GNU lds that support --whole-archive.
10092 >            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10093 >          else
10094 >            # Exported symbols can be pulled into shared objects from archives
10095 >            whole_archive_flag_spec='$convenience'
10096 >          fi
10097            archive_cmds_need_lc=yes
10098 <          # This is similar to how AIX traditionally builds its shared libraries.
10099 <          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'
10098 >          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10099 >          # -brtl affects multiple linker settings, -berok does not and is overridden later
10100 >          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10101 >          if test svr4 != "$with_aix_soname"; then
10102 >            # This is similar to how AIX traditionally builds its shared libraries.
10103 >            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'
10104 >          fi
10105 >          if test aix != "$with_aix_soname"; then
10106 >            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'
10107 >          else
10108 >            # used by -dlpreopen to get the symbols
10109 >            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10110 >          fi
10111 >          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10112          fi
10113        fi
10114        ;;
# Line 8942 | Line 10117 | if test -z "$aix_libpath"; then aix_libp
10117        case $host_cpu in
10118        powerpc)
10119              # see comment about AmigaOS4 .so support
10120 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10120 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10121              archive_expsym_cmds=''
10122          ;;
10123        m68k)
# Line 8962 | Line 10137 | if test -z "$aix_libpath"; then aix_libp
10137        # Microsoft Visual C++.
10138        # hardcode_libdir_flag_spec is actually meaningless, as there is
10139        # no search path for DLLs.
10140 <      hardcode_libdir_flag_spec=' '
10141 <      allow_undefined_flag=unsupported
10142 <      # Tell ltmain to make .lib files, not .a files.
10143 <      libext=lib
10144 <      # Tell ltmain to make .dll files, not .so files.
10145 <      shrext_cmds=".dll"
10146 <      # FIXME: Setting linknames here is a bad hack.
10147 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10148 <      # The linker will automatically build a .lib file if we build a DLL.
10149 <      old_archive_from_new_cmds='true'
10150 <      # FIXME: Should let the user specify the lib program.
10151 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10152 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
10153 <      enable_shared_with_static_runtimes=yes
10140 >      case $cc_basename in
10141 >      cl*)
10142 >        # Native MSVC
10143 >        hardcode_libdir_flag_spec=' '
10144 >        allow_undefined_flag=unsupported
10145 >        always_export_symbols=yes
10146 >        file_list_spec='@'
10147 >        # Tell ltmain to make .lib files, not .a files.
10148 >        libext=lib
10149 >        # Tell ltmain to make .dll files, not .so files.
10150 >        shrext_cmds=.dll
10151 >        # FIXME: Setting linknames here is a bad hack.
10152 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10153 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10154 >            cp "$export_symbols" "$output_objdir/$soname.def";
10155 >            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10156 >          else
10157 >            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10158 >          fi~
10159 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10160 >          linknames='
10161 >        # The linker will not automatically build a static lib if we build a DLL.
10162 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10163 >        enable_shared_with_static_runtimes=yes
10164 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10165 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10166 >        # Don't use ranlib
10167 >        old_postinstall_cmds='chmod 644 $oldlib'
10168 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
10169 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
10170 >          case $lt_outputfile in
10171 >            *.exe|*.EXE) ;;
10172 >            *)
10173 >              lt_outputfile=$lt_outputfile.exe
10174 >              lt_tool_outputfile=$lt_tool_outputfile.exe
10175 >              ;;
10176 >          esac~
10177 >          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10178 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10179 >            $RM "$lt_outputfile.manifest";
10180 >          fi'
10181 >        ;;
10182 >      *)
10183 >        # Assume MSVC wrapper
10184 >        hardcode_libdir_flag_spec=' '
10185 >        allow_undefined_flag=unsupported
10186 >        # Tell ltmain to make .lib files, not .a files.
10187 >        libext=lib
10188 >        # Tell ltmain to make .dll files, not .so files.
10189 >        shrext_cmds=.dll
10190 >        # FIXME: Setting linknames here is a bad hack.
10191 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10192 >        # The linker will automatically build a .lib file if we build a DLL.
10193 >        old_archive_from_new_cmds='true'
10194 >        # FIXME: Should let the user specify the lib program.
10195 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10196 >        enable_shared_with_static_runtimes=yes
10197 >        ;;
10198 >      esac
10199        ;;
10200  
10201      darwin* | rhapsody*)
# Line 8985 | Line 10205 | if test -z "$aix_libpath"; then aix_libp
10205    hardcode_direct=no
10206    hardcode_automatic=yes
10207    hardcode_shlibpath_var=unsupported
10208 <  whole_archive_flag_spec=''
10208 >  if test yes = "$lt_cv_ld_force_load"; then
10209 >    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\"`'
10210 >
10211 >  else
10212 >    whole_archive_flag_spec=''
10213 >  fi
10214    link_all_deplibs=yes
10215 <  allow_undefined_flag="$_lt_dar_allow_undefined"
10215 >  allow_undefined_flag=$_lt_dar_allow_undefined
10216    case $cc_basename in
10217 <     ifort*) _lt_dar_can_shared=yes ;;
10217 >     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10218       *) _lt_dar_can_shared=$GCC ;;
10219    esac
10220 <  if test "$_lt_dar_can_shared" = "yes"; then
10221 <    output_verbose_link_cmd=echo
10222 <    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10223 <    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10224 <    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}"
10225 <    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}"
10220 >  if test yes = "$_lt_dar_can_shared"; then
10221 >    output_verbose_link_cmd=func_echo_all
10222 >    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10223 >    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10224 >    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"
10225 >    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"
10226  
10227    else
10228    ld_shlibs=no
# Line 9011 | Line 10236 | if test -z "$aix_libpath"; then aix_libp
10236        hardcode_shlibpath_var=no
10237        ;;
10238  
9014 –    freebsd1*)
9015 –      ld_shlibs=no
9016 –      ;;
9017 –
10239      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10240      # support.  Future versions do this automatically, but an explicit c++rt0.o
10241      # does not break anything, and helps significantly (at the cost of a little
# Line 9027 | Line 10248 | if test -z "$aix_libpath"; then aix_libp
10248        ;;
10249  
10250      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10251 <    freebsd2*)
10251 >    freebsd2.*)
10252        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10253        hardcode_direct=yes
10254        hardcode_minus_L=yes
# Line 9036 | Line 10257 | if test -z "$aix_libpath"; then aix_libp
10257  
10258      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10259      freebsd* | dragonfly*)
10260 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10260 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10261        hardcode_libdir_flag_spec='-R$libdir'
10262        hardcode_direct=yes
10263        hardcode_shlibpath_var=no
10264        ;;
10265  
10266      hpux9*)
10267 <      if test "$GCC" = yes; then
10268 <        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'
10267 >      if test yes = "$GCC"; then
10268 >        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'
10269        else
10270 <        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'
10270 >        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'
10271        fi
10272 <      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10272 >      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10273        hardcode_libdir_separator=:
10274        hardcode_direct=yes
10275  
10276        # hardcode_minus_L: Not really in the search PATH,
10277        # but as the default location of the library.
10278        hardcode_minus_L=yes
10279 <      export_dynamic_flag_spec='${wl}-E'
10279 >      export_dynamic_flag_spec='$wl-E'
10280        ;;
10281  
10282      hpux10*)
10283 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10284 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10283 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10284 >        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10285        else
10286          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10287        fi
10288 <      if test "$with_gnu_ld" = no; then
10289 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9069 <        hardcode_libdir_flag_spec_ld='+b $libdir'
10288 >      if test no = "$with_gnu_ld"; then
10289 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10290          hardcode_libdir_separator=:
10291          hardcode_direct=yes
10292          hardcode_direct_absolute=yes
10293 <        export_dynamic_flag_spec='${wl}-E'
10293 >        export_dynamic_flag_spec='$wl-E'
10294          # hardcode_minus_L: Not really in the search PATH,
10295          # but as the default location of the library.
10296          hardcode_minus_L=yes
# Line 9078 | Line 10298 | if test -z "$aix_libpath"; then aix_libp
10298        ;;
10299  
10300      hpux11*)
10301 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10301 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10302          case $host_cpu in
10303          hppa*64*)
10304 <          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10304 >          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10305            ;;
10306          ia64*)
10307 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10307 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10308            ;;
10309          *)
10310 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10310 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10311            ;;
10312          esac
10313        else
10314          case $host_cpu in
10315          hppa*64*)
10316 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10316 >          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10317            ;;
10318          ia64*)
10319 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10319 >          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10320            ;;
10321          *)
10322 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10322 >
10323 >          # Older versions of the 11.00 compiler do not understand -b yet
10324 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10325 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10326 > $as_echo_n "checking if $CC understands -b... " >&6; }
10327 > if ${lt_cv_prog_compiler__b+:} false; then :
10328 >  $as_echo_n "(cached) " >&6
10329 > else
10330 >  lt_cv_prog_compiler__b=no
10331 >   save_LDFLAGS=$LDFLAGS
10332 >   LDFLAGS="$LDFLAGS -b"
10333 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10334 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10335 >     # The linker can only warn and ignore the option if not recognized
10336 >     # So say no if there are warnings
10337 >     if test -s conftest.err; then
10338 >       # Append any errors to the config.log.
10339 >       cat conftest.err 1>&5
10340 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10341 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10342 >       if diff conftest.exp conftest.er2 >/dev/null; then
10343 >         lt_cv_prog_compiler__b=yes
10344 >       fi
10345 >     else
10346 >       lt_cv_prog_compiler__b=yes
10347 >     fi
10348 >   fi
10349 >   $RM -r conftest*
10350 >   LDFLAGS=$save_LDFLAGS
10351 >
10352 > fi
10353 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10354 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10355 >
10356 > if test yes = "$lt_cv_prog_compiler__b"; then
10357 >    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10358 > else
10359 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10360 > fi
10361 >
10362            ;;
10363          esac
10364        fi
10365 <      if test "$with_gnu_ld" = no; then
10366 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10365 >      if test no = "$with_gnu_ld"; then
10366 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10367          hardcode_libdir_separator=:
10368  
10369          case $host_cpu in
# Line 9115 | Line 10374 | if test -z "$aix_libpath"; then aix_libp
10374          *)
10375            hardcode_direct=yes
10376            hardcode_direct_absolute=yes
10377 <          export_dynamic_flag_spec='${wl}-E'
10377 >          export_dynamic_flag_spec='$wl-E'
10378  
10379            # hardcode_minus_L: Not really in the search PATH,
10380            # but as the default location of the library.
# Line 9126 | Line 10385 | if test -z "$aix_libpath"; then aix_libp
10385        ;;
10386  
10387      irix5* | irix6* | nonstopux*)
10388 <      if test "$GCC" = yes; then
10389 <        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'
10388 >      if test yes = "$GCC"; then
10389 >        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'
10390          # Try to use the -exported_symbol ld option, if it does not
10391          # work, assume that -exports_file does not work either and
10392          # implicitly export all symbols.
10393 <        save_LDFLAGS="$LDFLAGS"
10394 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10395 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 >        # This should be the same for all languages, so no per-tag cache variable.
10394 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10395 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10396 > if ${lt_cv_irix_exported_symbol+:} false; then :
10397 >  $as_echo_n "(cached) " >&6
10398 > else
10399 >  save_LDFLAGS=$LDFLAGS
10400 >           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10401 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402   /* end confdefs.h.  */
10403 < int foo(void) {}
10403 > int foo (void) { return 0; }
10404   _ACEOF
10405   if ac_fn_c_try_link "$LINENO"; then :
10406 <  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'
10407 <
10406 >  lt_cv_irix_exported_symbol=yes
10407 > else
10408 >  lt_cv_irix_exported_symbol=no
10409   fi
10410   rm -f core conftest.err conftest.$ac_objext \
10411      conftest$ac_exeext conftest.$ac_ext
10412 <        LDFLAGS="$save_LDFLAGS"
10412 >           LDFLAGS=$save_LDFLAGS
10413 > fi
10414 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10415 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10416 >        if test yes = "$lt_cv_irix_exported_symbol"; then
10417 >          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'
10418 >        fi
10419 >        link_all_deplibs=no
10420        else
10421 <        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'
10422 <        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'
10421 >        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'
10422 >        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'
10423        fi
10424        archive_cmds_need_lc='no'
10425 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10425 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10426        hardcode_libdir_separator=:
10427        inherit_rpath=yes
10428        link_all_deplibs=yes
10429        ;;
10430  
10431 <    netbsd*)
10431 >    linux*)
10432 >      case $cc_basename in
10433 >      tcc*)
10434 >        # Fabrice Bellard et al's Tiny C Compiler
10435 >        ld_shlibs=yes
10436 >        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10437 >        ;;
10438 >      esac
10439 >      ;;
10440 >
10441 >    netbsd* | netbsdelf*-gnu)
10442        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10443          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10444        else
# Line 9169 | Line 10452 | rm -f core conftest.err conftest.$ac_obj
10452      newsos6)
10453        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10454        hardcode_direct=yes
10455 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10455 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10456        hardcode_libdir_separator=:
10457        hardcode_shlibpath_var=no
10458        ;;
# Line 9177 | Line 10460 | rm -f core conftest.err conftest.$ac_obj
10460      *nto* | *qnx*)
10461        ;;
10462  
10463 <    openbsd*)
10463 >    openbsd* | bitrig*)
10464        if test -f /usr/libexec/ld.so; then
10465          hardcode_direct=yes
10466          hardcode_shlibpath_var=no
10467          hardcode_direct_absolute=yes
10468 <        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10468 >        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10469            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10470 <          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10471 <          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10472 <          export_dynamic_flag_spec='${wl}-E'
10470 >          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10471 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10472 >          export_dynamic_flag_spec='$wl-E'
10473          else
10474 <          case $host_os in
10475 <           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9193 <             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9194 <             hardcode_libdir_flag_spec='-R$libdir'
9195 <             ;;
9196 <           *)
9197 <             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9198 <             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9199 <             ;;
9200 <          esac
10474 >          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10475 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10476          fi
10477        else
10478          ld_shlibs=no
# Line 9208 | Line 10483 | rm -f core conftest.err conftest.$ac_obj
10483        hardcode_libdir_flag_spec='-L$libdir'
10484        hardcode_minus_L=yes
10485        allow_undefined_flag=unsupported
10486 <      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'
10487 <      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10486 >      shrext_cmds=.dll
10487 >      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10488 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10489 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10490 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10491 >        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10492 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10493 >        emximp -o $lib $output_objdir/$libname.def'
10494 >      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10495 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10496 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10497 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10498 >        prefix_cmds="$SED"~
10499 >        if test EXPORTS = "`$SED 1q $export_symbols`"; then
10500 >          prefix_cmds="$prefix_cmds -e 1d";
10501 >        fi~
10502 >        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10503 >        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10504 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10505 >        emximp -o $lib $output_objdir/$libname.def'
10506 >      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10507 >      enable_shared_with_static_runtimes=yes
10508        ;;
10509  
10510      osf3*)
10511 <      if test "$GCC" = yes; then
10512 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10513 <        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'
10511 >      if test yes = "$GCC"; then
10512 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10513 >        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'
10514        else
10515          allow_undefined_flag=' -expect_unresolved \*'
10516 <        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'
10516 >        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'
10517        fi
10518        archive_cmds_need_lc='no'
10519 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10519 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10520        hardcode_libdir_separator=:
10521        ;;
10522  
10523      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10524 <      if test "$GCC" = yes; then
10525 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10526 <        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'
10527 <        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10524 >      if test yes = "$GCC"; then
10525 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10526 >        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'
10527 >        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10528        else
10529          allow_undefined_flag=' -expect_unresolved \*'
10530 <        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'
10530 >        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'
10531          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~
10532 <        $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'
10532 >          $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'
10533  
10534          # Both c and cxx compiler support -rpath directly
10535          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9245 | Line 10540 | rm -f core conftest.err conftest.$ac_obj
10540  
10541      solaris*)
10542        no_undefined_flag=' -z defs'
10543 <      if test "$GCC" = yes; then
10544 <        wlarc='${wl}'
10545 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10543 >      if test yes = "$GCC"; then
10544 >        wlarc='$wl'
10545 >        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10546          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10547 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10547 >          $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'
10548        else
10549          case `$CC -V 2>&1` in
10550          *"Compilers 5.0"*)
10551            wlarc=''
10552 <          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10552 >          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10553            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10554 <          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10554 >            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10555            ;;
10556          *)
10557 <          wlarc='${wl}'
10558 <          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10557 >          wlarc='$wl'
10558 >          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10559            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10560 <          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10560 >            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10561            ;;
10562          esac
10563        fi
# Line 9272 | Line 10567 | rm -f core conftest.err conftest.$ac_obj
10567        solaris2.[0-5] | solaris2.[0-5].*) ;;
10568        *)
10569          # The compiler driver will combine and reorder linker options,
10570 <        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10570 >        # but understands '-z linker_flag'.  GCC discards it without '$wl',
10571          # but is careful enough not to reorder.
10572          # Supported since Solaris 2.6 (maybe 2.5.1?)
10573 <        if test "$GCC" = yes; then
10574 <          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10573 >        if test yes = "$GCC"; then
10574 >          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10575          else
10576            whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10577          fi
# Line 9286 | Line 10581 | rm -f core conftest.err conftest.$ac_obj
10581        ;;
10582  
10583      sunos4*)
10584 <      if test "x$host_vendor" = xsequent; then
10584 >      if test sequent = "$host_vendor"; then
10585          # Use $CC to link under sequent, because it throws in some extra .o
10586          # files that make .init and .fini sections work.
10587 <        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10587 >        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10588        else
10589          archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10590        fi
# Line 9338 | Line 10633 | rm -f core conftest.err conftest.$ac_obj
10633        ;;
10634  
10635      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10636 <      no_undefined_flag='${wl}-z,text'
10636 >      no_undefined_flag='$wl-z,text'
10637        archive_cmds_need_lc=no
10638        hardcode_shlibpath_var=no
10639        runpath_var='LD_RUN_PATH'
10640  
10641 <      if test "$GCC" = yes; then
10642 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10641 >      if test yes = "$GCC"; then
10642 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10644        else
10645 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10645 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10647        fi
10648        ;;
10649  
10650      sysv5* | sco3.2v5* | sco5v6*)
10651 <      # Note: We can NOT use -z defs as we might desire, because we do not
10651 >      # Note: We CANNOT use -z defs as we might desire, because we do not
10652        # link with -lc, and that would cause any symbols used from libc to
10653        # always be unresolved, which means just about no library would
10654        # ever link correctly.  If we're not using GNU ld we use -z text
10655        # though, which does catch some bad symbols but isn't as heavy-handed
10656        # as -z defs.
10657 <      no_undefined_flag='${wl}-z,text'
10658 <      allow_undefined_flag='${wl}-z,nodefs'
10657 >      no_undefined_flag='$wl-z,text'
10658 >      allow_undefined_flag='$wl-z,nodefs'
10659        archive_cmds_need_lc=no
10660        hardcode_shlibpath_var=no
10661 <      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10661 >      hardcode_libdir_flag_spec='$wl-R,$libdir'
10662        hardcode_libdir_separator=':'
10663        link_all_deplibs=yes
10664 <      export_dynamic_flag_spec='${wl}-Bexport'
10664 >      export_dynamic_flag_spec='$wl-Bexport'
10665        runpath_var='LD_RUN_PATH'
10666  
10667 <      if test "$GCC" = yes; then
10668 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10667 >      if test yes = "$GCC"; then
10668 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10670        else
10671 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10672 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10671 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10672 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10673        fi
10674        ;;
10675  
# Line 9389 | Line 10684 | rm -f core conftest.err conftest.$ac_obj
10684        ;;
10685      esac
10686  
10687 <    if test x$host_vendor = xsni; then
10687 >    if test sni = "$host_vendor"; then
10688        case $host in
10689        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10690 <        export_dynamic_flag_spec='${wl}-Blargedynsym'
10690 >        export_dynamic_flag_spec='$wl-Blargedynsym'
10691          ;;
10692        esac
10693      fi
# Line 9400 | Line 10695 | rm -f core conftest.err conftest.$ac_obj
10695  
10696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10697   $as_echo "$ld_shlibs" >&6; }
10698 < test "$ld_shlibs" = no && can_build_shared=no
10698 > test no = "$ld_shlibs" && can_build_shared=no
10699  
10700   with_gnu_ld=$with_gnu_ld
10701  
# Line 9426 | Line 10721 | x|xyes)
10721    # Assume -lc should be added
10722    archive_cmds_need_lc=yes
10723  
10724 <  if test "$enable_shared" = yes && test "$GCC" = yes; then
10724 >  if test yes,yes = "$GCC,$enable_shared"; then
10725      case $archive_cmds in
10726      *'~'*)
10727        # FIXME: we may have to deal with multi-command sequences.
# Line 9437 | Line 10732 | x|xyes)
10732        # to ld, don't add -lc before -lgcc.
10733        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10734   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10735 <      $RM conftest*
10736 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10735 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10736 >  $as_echo_n "(cached) " >&6
10737 > else
10738 >  $RM conftest*
10739 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10740  
10741 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10741 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10742    (eval $ac_compile) 2>&5
10743    ac_status=$?
10744    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10745    test $ac_status = 0; } 2>conftest.err; then
10746 <        soname=conftest
10747 <        lib=conftest
10748 <        libobjs=conftest.$ac_objext
10749 <        deplibs=
10750 <        wl=$lt_prog_compiler_wl
10751 <        pic_flag=$lt_prog_compiler_pic
10752 <        compiler_flags=-v
10753 <        linker_flags=-v
10754 <        verstring=
10755 <        output_objdir=.
10756 <        libname=conftest
10757 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10758 <        allow_undefined_flag=
10759 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10746 >          soname=conftest
10747 >          lib=conftest
10748 >          libobjs=conftest.$ac_objext
10749 >          deplibs=
10750 >          wl=$lt_prog_compiler_wl
10751 >          pic_flag=$lt_prog_compiler_pic
10752 >          compiler_flags=-v
10753 >          linker_flags=-v
10754 >          verstring=
10755 >          output_objdir=.
10756 >          libname=conftest
10757 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10758 >          allow_undefined_flag=
10759 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10760    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10761    ac_status=$?
10762    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10763    test $ac_status = 0; }
10764 <        then
10765 <          archive_cmds_need_lc=no
10766 <        else
10767 <          archive_cmds_need_lc=yes
10768 <        fi
10769 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10770 <      else
10771 <        cat conftest.err 1>&5
10772 <      fi
10773 <      $RM conftest*
10774 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10775 < $as_echo "$archive_cmds_need_lc" >&6; }
10764 >          then
10765 >            lt_cv_archive_cmds_need_lc=no
10766 >          else
10767 >            lt_cv_archive_cmds_need_lc=yes
10768 >          fi
10769 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10770 >        else
10771 >          cat conftest.err 1>&5
10772 >        fi
10773 >        $RM conftest*
10774 >
10775 > fi
10776 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10777 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10778 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10779        ;;
10780      esac
10781    fi
# Line 9632 | Line 10933 | esac
10933  
10934  
10935  
9635 –
9636 –
9637 –
9638 –
9639 –
10936    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10937   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10938  
10939 < if test "$GCC" = yes; then
10939 > if test yes = "$GCC"; then
10940 >  case $host_os in
10941 >    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10942 >    *) lt_awk_arg='/^libraries:/' ;;
10943 >  esac
10944    case $host_os in
10945 <    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10946 <    *) lt_awk_arg="/^libraries:/" ;;
10945 >    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10946 >    *) lt_sed_strip_eq='s|=/|/|g' ;;
10947    esac
10948 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10949 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10948 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10949 >  case $lt_search_path_spec in
10950 >  *\;*)
10951      # if the path contains ";" then we assume it to be the separator
10952      # otherwise default to the standard path separator (i.e. ":") - it is
10953      # assumed that no part of a normal pathname contains ";" but that should
10954      # okay in the real world where ";" in dirpaths is itself problematic.
10955 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10956 <  else
10957 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10958 <  fi
10955 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10956 >    ;;
10957 >  *)
10958 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10959 >    ;;
10960 >  esac
10961    # Ok, now we have the path, separated by spaces, we can step through it
10962 <  # and add multilib dir if necessary.
10962 >  # and add multilib dir if necessary...
10963    lt_tmp_lt_search_path_spec=
10964 <  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10964 >  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10965 >  # ...but if some path component already ends with the multilib dir we assume
10966 >  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10967 >  case "$lt_multi_os_dir; $lt_search_path_spec " in
10968 >  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10969 >    lt_multi_os_dir=
10970 >    ;;
10971 >  esac
10972    for lt_sys_path in $lt_search_path_spec; do
10973 <    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10974 <      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10975 <    else
10973 >    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10974 >      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10975 >    elif test -n "$lt_multi_os_dir"; then
10976        test -d "$lt_sys_path" && \
10977          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10978      fi
10979    done
10980 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10981 < BEGIN {RS=" "; FS="/|\n";} {
10982 <  lt_foo="";
10983 <  lt_count=0;
10980 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10981 > BEGIN {RS = " "; FS = "/|\n";} {
10982 >  lt_foo = "";
10983 >  lt_count = 0;
10984    for (lt_i = NF; lt_i > 0; lt_i--) {
10985      if ($lt_i != "" && $lt_i != ".") {
10986        if ($lt_i == "..") {
10987          lt_count++;
10988        } else {
10989          if (lt_count == 0) {
10990 <          lt_foo="/" $lt_i lt_foo;
10990 >          lt_foo = "/" $lt_i lt_foo;
10991          } else {
10992            lt_count--;
10993          }
# Line 9687 | Line 10997 | BEGIN {RS=" "; FS="/|\n";} {
10997    if (lt_foo != "") { lt_freq[lt_foo]++; }
10998    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10999   }'`
11000 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11000 >  # AWK program above erroneously prepends '/' to C:/dos/paths
11001 >  # for these hosts.
11002 >  case $host_os in
11003 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11004 >      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11005 >  esac
11006 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11007   else
11008    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11009   fi
11010   library_names_spec=
11011   libname_spec='lib$name'
11012   soname_spec=
11013 < shrext_cmds=".so"
11013 > shrext_cmds=.so
11014   postinstall_cmds=
11015   postuninstall_cmds=
11016   finish_cmds=
# Line 9711 | Line 11027 | hardcode_into_libs=no
11027   # flags to be left without arguments
11028   need_version=unknown
11029  
11030 +
11031 +
11032   case $host_os in
11033   aix3*)
11034 <  version_type=linux
11035 <  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11034 >  version_type=linux # correct to gnu/linux during the next big refactor
11035 >  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11036    shlibpath_var=LIBPATH
11037  
11038    # AIX 3 has no versioning support, so we append a major version to the name.
11039 <  soname_spec='${libname}${release}${shared_ext}$major'
11039 >  soname_spec='$libname$release$shared_ext$major'
11040    ;;
11041  
11042   aix[4-9]*)
11043 <  version_type=linux
11043 >  version_type=linux # correct to gnu/linux during the next big refactor
11044    need_lib_prefix=no
11045    need_version=no
11046    hardcode_into_libs=yes
11047 <  if test "$host_cpu" = ia64; then
11047 >  if test ia64 = "$host_cpu"; then
11048      # AIX 5 supports IA64
11049 <    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11049 >    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11050      shlibpath_var=LD_LIBRARY_PATH
11051    else
11052      # With GCC up to 2.95.x, collect2 would create an import file
11053      # for dependence libraries.  The import file would start with
11054 <    # the line `#! .'.  This would cause the generated library to
11055 <    # depend on `.', always an invalid library.  This was fixed in
11054 >    # the line '#! .'.  This would cause the generated library to
11055 >    # depend on '.', always an invalid library.  This was fixed in
11056      # development snapshots of GCC prior to 3.0.
11057      case $host_os in
11058        aix4 | aix4.[01] | aix4.[01].*)
11059        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11060             echo ' yes '
11061 <           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11061 >           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11062          :
11063        else
11064          can_build_shared=no
11065        fi
11066        ;;
11067      esac
11068 <    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11068 >    # Using Import Files as archive members, it is possible to support
11069 >    # filename-based versioning of shared library archives on AIX. While
11070 >    # this would work for both with and without runtime linking, it will
11071 >    # prevent static linking of such archives. So we do filename-based
11072 >    # shared library versioning with .so extension only, which is used
11073 >    # when both runtime linking and shared linking is enabled.
11074 >    # Unfortunately, runtime linking may impact performance, so we do
11075 >    # not want this to be the default eventually. Also, we use the
11076 >    # versioned .so libs for executables only if there is the -brtl
11077 >    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11078 >    # To allow for filename-based versioning support, we need to create
11079 >    # libNAME.so.V as an archive file, containing:
11080 >    # *) an Import File, referring to the versioned filename of the
11081 >    #    archive as well as the shared archive member, telling the
11082 >    #    bitwidth (32 or 64) of that shared object, and providing the
11083 >    #    list of exported symbols of that shared object, eventually
11084 >    #    decorated with the 'weak' keyword
11085 >    # *) the shared object with the F_LOADONLY flag set, to really avoid
11086 >    #    it being seen by the linker.
11087 >    # At run time we better use the real file rather than another symlink,
11088 >    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11089 >
11090 >    case $with_aix_soname,$aix_use_runtimelinking in
11091 >    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11092      # soname into executable. Probably we can add versioning support to
11093      # collect2, so additional links can be useful in future.
11094 <    if test "$aix_use_runtimelinking" = yes; then
11094 >    aix,yes) # traditional libtool
11095 >      dynamic_linker='AIX unversionable lib.so'
11096        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11097        # instead of lib<name>.a to let people know that these are not
11098        # typical AIX shared libraries.
11099 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11100 <    else
11099 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11100 >      ;;
11101 >    aix,no) # traditional AIX only
11102 >      dynamic_linker='AIX lib.a(lib.so.V)'
11103        # We preserve .a as extension for shared libraries through AIX4.2
11104        # and later when we are not doing run time linking.
11105 <      library_names_spec='${libname}${release}.a $libname.a'
11106 <      soname_spec='${libname}${release}${shared_ext}$major'
11107 <    fi
11105 >      library_names_spec='$libname$release.a $libname.a'
11106 >      soname_spec='$libname$release$shared_ext$major'
11107 >      ;;
11108 >    svr4,*) # full svr4 only
11109 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11110 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11111 >      # We do not specify a path in Import Files, so LIBPATH fires.
11112 >      shlibpath_overrides_runpath=yes
11113 >      ;;
11114 >    *,yes) # both, prefer svr4
11115 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11116 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11117 >      # unpreferred sharedlib libNAME.a needs extra handling
11118 >      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"'
11119 >      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"'
11120 >      # We do not specify a path in Import Files, so LIBPATH fires.
11121 >      shlibpath_overrides_runpath=yes
11122 >      ;;
11123 >    *,no) # both, prefer aix
11124 >      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11125 >      library_names_spec='$libname$release.a $libname.a'
11126 >      soname_spec='$libname$release$shared_ext$major'
11127 >      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11128 >      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)'
11129 >      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"'
11130 >      ;;
11131 >    esac
11132      shlibpath_var=LIBPATH
11133    fi
11134    ;;
# Line 9770 | Line 11138 | amigaos*)
11138    powerpc)
11139      # Since July 2007 AmigaOS4 officially supports .so libraries.
11140      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11141 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11142      ;;
11143    m68k)
11144      library_names_spec='$libname.ixlibrary $libname.a'
11145      # Create ${libname}_ixlibrary.a entries in /sys/libs.
11146 <    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'
11146 >    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'
11147      ;;
11148    esac
11149    ;;
11150  
11151   beos*)
11152 <  library_names_spec='${libname}${shared_ext}'
11152 >  library_names_spec='$libname$shared_ext'
11153    dynamic_linker="$host_os ld.so"
11154    shlibpath_var=LIBRARY_PATH
11155    ;;
11156  
11157   bsdi[45]*)
11158 <  version_type=linux
11158 >  version_type=linux # correct to gnu/linux during the next big refactor
11159    need_version=no
11160 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161 <  soname_spec='${libname}${release}${shared_ext}$major'
11160 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11161 >  soname_spec='$libname$release$shared_ext$major'
11162    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11163    shlibpath_var=LD_LIBRARY_PATH
11164    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
# Line 9802 | Line 11170 | bsdi[45]*)
11170  
11171   cygwin* | mingw* | pw32* | cegcc*)
11172    version_type=windows
11173 <  shrext_cmds=".dll"
11173 >  shrext_cmds=.dll
11174    need_version=no
11175    need_lib_prefix=no
11176  
11177 <  case $GCC,$host_os in
11178 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11177 >  case $GCC,$cc_basename in
11178 >  yes,*)
11179 >    # gcc
11180      library_names_spec='$libname.dll.a'
11181      # DLL is installed to $(libdir)/../bin by postinstall_cmds
11182 <    postinstall_cmds='base_file=`basename \${file}`~
11183 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11182 >    postinstall_cmds='base_file=`basename \$file`~
11183 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11184        dldir=$destdir/`dirname \$dlpath`~
11185        test -d \$dldir || mkdir -p \$dldir~
11186        $install_prog $dir/$dlname \$dldir/$dlname~
# Line 9827 | Line 11196 | cygwin* | mingw* | pw32* | cegcc*)
11196      case $host_os in
11197      cygwin*)
11198        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11199 <      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11200 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11199 >      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11200 >
11201 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11202        ;;
11203      mingw* | cegcc*)
11204        # MinGW DLLs use traditional 'lib' prefix
11205 <      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11206 <      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11205 >      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11206 >      ;;
11207 >    pw32*)
11208 >      # pw32 DLLs use 'pw' prefix rather than 'lib'
11209 >      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11210 >      ;;
11211 >    esac
11212 >    dynamic_linker='Win32 ld.exe'
11213 >    ;;
11214 >
11215 >  *,cl*)
11216 >    # Native MSVC
11217 >    libname_spec='$name'
11218 >    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11219 >    library_names_spec='$libname.dll.lib'
11220 >
11221 >    case $build_os in
11222 >    mingw*)
11223 >      sys_lib_search_path_spec=
11224 >      lt_save_ifs=$IFS
11225 >      IFS=';'
11226 >      for lt_path in $LIB
11227 >      do
11228 >        IFS=$lt_save_ifs
11229 >        # Let DOS variable expansion print the short 8.3 style file name.
11230 >        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11231 >        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11232 >      done
11233 >      IFS=$lt_save_ifs
11234 >      # Convert to MSYS style.
11235 >      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11236 >      ;;
11237 >    cygwin*)
11238 >      # Convert to unix form, then to dos form, then back to unix form
11239 >      # but this time dos style (no spaces!) so that the unix form looks
11240 >      # like /cygdrive/c/PROGRA~1:/cygdr...
11241 >      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11242 >      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11243 >      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11244 >      ;;
11245 >    *)
11246 >      sys_lib_search_path_spec=$LIB
11247        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11248 <        # It is most probably a Windows format PATH printed by
9839 <        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9840 <        # path with ; separators, and with drive letters. We can handle the
9841 <        # drive letters (cygwin fileutils understands them), so leave them,
9842 <        # especially as we might pass files found there to a mingw objdump,
9843 <        # which wouldn't understand a cygwinified path. Ahh.
11248 >        # It is most probably a Windows format PATH.
11249          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11250        else
11251 <        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11251 >        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11252        fi
11253 <      ;;
11254 <    pw32*)
9850 <      # pw32 DLLs use 'pw' prefix rather than 'lib'
9851 <      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11253 >      # FIXME: find the short name or the path components, as spaces are
11254 >      # common. (e.g. "Program Files" -> "PROGRA~1")
11255        ;;
11256      esac
11257 +
11258 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11259 +    postinstall_cmds='base_file=`basename \$file`~
11260 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11261 +      dldir=$destdir/`dirname \$dlpath`~
11262 +      test -d \$dldir || mkdir -p \$dldir~
11263 +      $install_prog $dir/$dlname \$dldir/$dlname'
11264 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11265 +      dlpath=$dir/\$dldll~
11266 +       $RM \$dlpath'
11267 +    shlibpath_overrides_runpath=yes
11268 +    dynamic_linker='Win32 link.exe'
11269      ;;
11270  
11271    *)
11272 <    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11272 >    # Assume MSVC wrapper
11273 >    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11274 >    dynamic_linker='Win32 ld.exe'
11275      ;;
11276    esac
9860 –  dynamic_linker='Win32 ld.exe'
11277    # FIXME: first we should search . and the directory the executable is in
11278    shlibpath_var=PATH
11279    ;;
# Line 9867 | Line 11283 | darwin* | rhapsody*)
11283    version_type=darwin
11284    need_lib_prefix=no
11285    need_version=no
11286 <  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11287 <  soname_spec='${libname}${release}${major}$shared_ext'
11286 >  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11287 >  soname_spec='$libname$release$major$shared_ext'
11288    shlibpath_overrides_runpath=yes
11289    shlibpath_var=DYLD_LIBRARY_PATH
11290    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
# Line 9878 | Line 11294 | darwin* | rhapsody*)
11294    ;;
11295  
11296   dgux*)
11297 <  version_type=linux
11297 >  version_type=linux # correct to gnu/linux during the next big refactor
11298    need_lib_prefix=no
11299    need_version=no
11300 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11301 <  soname_spec='${libname}${release}${shared_ext}$major'
11300 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11301 >  soname_spec='$libname$release$shared_ext$major'
11302    shlibpath_var=LD_LIBRARY_PATH
11303    ;;
11304  
9889 – freebsd1*)
9890 –  dynamic_linker=no
9891 –  ;;
9892 –
11305   freebsd* | dragonfly*)
11306    # DragonFly does not have aout.  When/if they implement a new
11307    # versioning mechanism, adjust this.
# Line 9897 | Line 11309 | freebsd* | dragonfly*)
11309      objformat=`/usr/bin/objformat`
11310    else
11311      case $host_os in
11312 <    freebsd[123]*) objformat=aout ;;
11312 >    freebsd[23].*) objformat=aout ;;
11313      *) objformat=elf ;;
11314      esac
11315    fi
11316    version_type=freebsd-$objformat
11317    case $version_type in
11318      freebsd-elf*)
11319 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11319 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11320 >      soname_spec='$libname$release$shared_ext$major'
11321        need_version=no
11322        need_lib_prefix=no
11323        ;;
11324      freebsd-*)
11325 <      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11325 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11326        need_version=yes
11327        ;;
11328    esac
11329    shlibpath_var=LD_LIBRARY_PATH
11330    case $host_os in
11331 <  freebsd2*)
11331 >  freebsd2.*)
11332      shlibpath_overrides_runpath=yes
11333      ;;
11334    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9934 | Line 11347 | freebsd* | dragonfly*)
11347    esac
11348    ;;
11349  
11350 < gnu*)
11351 <  version_type=linux
11350 > haiku*)
11351 >  version_type=linux # correct to gnu/linux during the next big refactor
11352    need_lib_prefix=no
11353    need_version=no
11354 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11355 <  soname_spec='${libname}${release}${shared_ext}$major'
11356 <  shlibpath_var=LD_LIBRARY_PATH
11354 >  dynamic_linker="$host_os runtime_loader"
11355 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11356 >  soname_spec='$libname$release$shared_ext$major'
11357 >  shlibpath_var=LIBRARY_PATH
11358 >  shlibpath_overrides_runpath=no
11359 >  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11360    hardcode_into_libs=yes
11361    ;;
11362  
# Line 9957 | Line 11373 | hpux9* | hpux10* | hpux11*)
11373      dynamic_linker="$host_os dld.so"
11374      shlibpath_var=LD_LIBRARY_PATH
11375      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11376 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11377 <    soname_spec='${libname}${release}${shared_ext}$major'
11378 <    if test "X$HPUX_IA64_MODE" = X32; then
11376 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11377 >    soname_spec='$libname$release$shared_ext$major'
11378 >    if test 32 = "$HPUX_IA64_MODE"; then
11379        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11380 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11381      else
11382        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11383 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11384      fi
9967 –    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11385      ;;
11386    hppa*64*)
11387      shrext_cmds='.sl'
# Line 9972 | Line 11389 | hpux9* | hpux10* | hpux11*)
11389      dynamic_linker="$host_os dld.sl"
11390      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11391      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 <    soname_spec='${libname}${release}${shared_ext}$major'
11392 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11393 >    soname_spec='$libname$release$shared_ext$major'
11394      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11395      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11396      ;;
# Line 9982 | Line 11399 | hpux9* | hpux10* | hpux11*)
11399      dynamic_linker="$host_os dld.sl"
11400      shlibpath_var=SHLIB_PATH
11401      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11402 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403 <    soname_spec='${libname}${release}${shared_ext}$major'
11402 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11403 >    soname_spec='$libname$release$shared_ext$major'
11404      ;;
11405    esac
11406 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11406 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11407    postinstall_cmds='chmod 555 $lib'
11408 +  # or fails outright, so override atomically:
11409 +  install_override_mode=555
11410    ;;
11411  
11412   interix[3-9]*)
11413 <  version_type=linux
11413 >  version_type=linux # correct to gnu/linux during the next big refactor
11414    need_lib_prefix=no
11415    need_version=no
11416 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11417 <  soname_spec='${libname}${release}${shared_ext}$major'
11416 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11417 >  soname_spec='$libname$release$shared_ext$major'
11418    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11419    shlibpath_var=LD_LIBRARY_PATH
11420    shlibpath_overrides_runpath=no
# Line 10006 | Line 11425 | irix5* | irix6* | nonstopux*)
11425    case $host_os in
11426      nonstopux*) version_type=nonstopux ;;
11427      *)
11428 <        if test "$lt_cv_prog_gnu_ld" = yes; then
11429 <                version_type=linux
11428 >        if test yes = "$lt_cv_prog_gnu_ld"; then
11429 >                version_type=linux # correct to gnu/linux during the next big refactor
11430          else
11431                  version_type=irix
11432          fi ;;
11433    esac
11434    need_lib_prefix=no
11435    need_version=no
11436 <  soname_spec='${libname}${release}${shared_ext}$major'
11437 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11436 >  soname_spec='$libname$release$shared_ext$major'
11437 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11438    case $host_os in
11439    irix5* | nonstopux*)
11440      libsuff= shlibsuff=
# Line 10034 | Line 11453 | irix5* | irix6* | nonstopux*)
11453    esac
11454    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11455    shlibpath_overrides_runpath=no
11456 <  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11457 <  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11456 >  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11457 >  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11458    hardcode_into_libs=yes
11459    ;;
11460  
# Line 10044 | Line 11463 | linux*oldld* | linux*aout* | linux*coff*
11463    dynamic_linker=no
11464    ;;
11465  
11466 < # This must be Linux ELF.
11467 < linux* | k*bsd*-gnu)
10049 <  version_type=linux
11466 > linux*android*)
11467 >  version_type=none # Android doesn't support versioned libraries.
11468    need_lib_prefix=no
11469    need_version=no
11470 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11471 <  soname_spec='${libname}${release}${shared_ext}$major'
11470 >  library_names_spec='$libname$release$shared_ext'
11471 >  soname_spec='$libname$release$shared_ext'
11472 >  finish_cmds=
11473 >  shlibpath_var=LD_LIBRARY_PATH
11474 >  shlibpath_overrides_runpath=yes
11475 >
11476 >  # This implies no fast_install, which is unacceptable.
11477 >  # Some rework will be needed to allow for fast_install
11478 >  # before this can be enabled.
11479 >  hardcode_into_libs=yes
11480 >
11481 >  dynamic_linker='Android linker'
11482 >  # Don't embed -rpath directories since the linker doesn't support them.
11483 >  hardcode_libdir_flag_spec='-L$libdir'
11484 >  ;;
11485 >
11486 > # This must be glibc/ELF.
11487 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11488 >  version_type=linux # correct to gnu/linux during the next big refactor
11489 >  need_lib_prefix=no
11490 >  need_version=no
11491 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11492 >  soname_spec='$libname$release$shared_ext$major'
11493    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11494    shlibpath_var=LD_LIBRARY_PATH
11495    shlibpath_overrides_runpath=no
11496 +
11497    # Some binutils ld are patched to set DT_RUNPATH
11498 <  save_LDFLAGS=$LDFLAGS
11499 <  save_libdir=$libdir
11500 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11501 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11502 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11499 >  $as_echo_n "(cached) " >&6
11500 > else
11501 >  lt_cv_shlibpath_overrides_runpath=no
11502 >    save_LDFLAGS=$LDFLAGS
11503 >    save_libdir=$libdir
11504 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11505 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11506 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507   /* end confdefs.h.  */
11508  
11509   int
# Line 10072 | Line 11516 | main ()
11516   _ACEOF
11517   if ac_fn_c_try_link "$LINENO"; then :
11518    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11519 <  shlibpath_overrides_runpath=yes
11519 >  lt_cv_shlibpath_overrides_runpath=yes
11520   fi
11521   fi
11522   rm -f core conftest.err conftest.$ac_objext \
11523      conftest$ac_exeext conftest.$ac_ext
11524 <  LDFLAGS=$save_LDFLAGS
11525 <  libdir=$save_libdir
11524 >    LDFLAGS=$save_LDFLAGS
11525 >    libdir=$save_libdir
11526 >
11527 > fi
11528 >
11529 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11530  
11531    # This implies no fast_install, which is unacceptable.
11532    # Some rework will be needed to allow for fast_install
11533    # before this can be enabled.
11534    hardcode_into_libs=yes
11535  
11536 <  # find out which ABI we are using
11537 <  libsuff=
11538 <  case "$host_cpu" in
11539 <  x86_64*|s390x*|powerpc64*)
11540 <    echo '#line 10092 "configure"' > conftest.$ac_ext
11541 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10094 <  (eval $ac_compile) 2>&5
10095 <  ac_status=$?
10096 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10097 <  test $ac_status = 0; }; then
10098 <      case `/usr/bin/file conftest.$ac_objext` in
10099 <      *64-bit*)
10100 <        libsuff=64
10101 <        ;;
10102 <      esac
10103 <    fi
10104 <    rm -rf conftest*
10105 <    ;;
10106 <  esac
10107 <
10108 <  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10109 <
10110 <  # Append ld.so.conf contents to the search path
11536 >  # Ideally, we could use ldconfig to report *all* directores which are
11537 >  # searched for libraries, however this is still not possible.  Aside from not
11538 >  # being certain /sbin/ldconfig is available, command
11539 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11540 >  # even though it is searched at run-time.  Try to do the best guess by
11541 >  # appending ld.so.conf contents (and includes) to the search path.
11542    if test -f /etc/ld.so.conf; then
11543 <    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' ' '`
11544 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11543 >    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' ' '`
11544 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11545    fi
11546  
11547    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10122 | Line 11553 | rm -f core conftest.err conftest.$ac_obj
11553    dynamic_linker='GNU/Linux ld.so'
11554    ;;
11555  
11556 + netbsdelf*-gnu)
11557 +  version_type=linux
11558 +  need_lib_prefix=no
11559 +  need_version=no
11560 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11561 +  soname_spec='${libname}${release}${shared_ext}$major'
11562 +  shlibpath_var=LD_LIBRARY_PATH
11563 +  shlibpath_overrides_runpath=no
11564 +  hardcode_into_libs=yes
11565 +  dynamic_linker='NetBSD ld.elf_so'
11566 +  ;;
11567 +
11568   netbsd*)
11569    version_type=sunos
11570    need_lib_prefix=no
11571    need_version=no
11572    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11573 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11573 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11574      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11575      dynamic_linker='NetBSD (a.out) ld.so'
11576    else
11577 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11578 <    soname_spec='${libname}${release}${shared_ext}$major'
11577 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11578 >    soname_spec='$libname$release$shared_ext$major'
11579      dynamic_linker='NetBSD ld.elf_so'
11580    fi
11581    shlibpath_var=LD_LIBRARY_PATH
# Line 10141 | Line 11584 | netbsd*)
11584    ;;
11585  
11586   newsos6)
11587 <  version_type=linux
11588 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11587 >  version_type=linux # correct to gnu/linux during the next big refactor
11588 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11589    shlibpath_var=LD_LIBRARY_PATH
11590    shlibpath_overrides_runpath=yes
11591    ;;
# Line 10151 | Line 11594 | newsos6)
11594    version_type=qnx
11595    need_lib_prefix=no
11596    need_version=no
11597 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11598 <  soname_spec='${libname}${release}${shared_ext}$major'
11597 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11598 >  soname_spec='$libname$release$shared_ext$major'
11599    shlibpath_var=LD_LIBRARY_PATH
11600    shlibpath_overrides_runpath=no
11601    hardcode_into_libs=yes
11602    dynamic_linker='ldqnx.so'
11603    ;;
11604  
11605 < openbsd*)
11605 > openbsd* | bitrig*)
11606    version_type=sunos
11607 <  sys_lib_dlsearch_path_spec="/usr/lib"
11607 >  sys_lib_dlsearch_path_spec=/usr/lib
11608    need_lib_prefix=no
11609 <  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11610 <  case $host_os in
10168 <    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10169 <    *)                          need_version=no  ;;
10170 <  esac
10171 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10172 <  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10173 <  shlibpath_var=LD_LIBRARY_PATH
10174 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10175 <    case $host_os in
10176 <      openbsd2.[89] | openbsd2.[89].*)
10177 <        shlibpath_overrides_runpath=no
10178 <        ;;
10179 <      *)
10180 <        shlibpath_overrides_runpath=yes
10181 <        ;;
10182 <      esac
11609 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11610 >    need_version=no
11611    else
11612 <    shlibpath_overrides_runpath=yes
11612 >    need_version=yes
11613    fi
11614 +  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11615 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11616 +  shlibpath_var=LD_LIBRARY_PATH
11617 +  shlibpath_overrides_runpath=yes
11618    ;;
11619  
11620   os2*)
11621    libname_spec='$name'
11622 <  shrext_cmds=".dll"
11622 >  version_type=windows
11623 >  shrext_cmds=.dll
11624 >  need_version=no
11625    need_lib_prefix=no
11626 <  library_names_spec='$libname${shared_ext} $libname.a'
11626 >  # OS/2 can only load a DLL with a base name of 8 characters or less.
11627 >  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11628 >    v=$($ECHO $release$versuffix | tr -d .-);
11629 >    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11630 >    $ECHO $n$v`$shared_ext'
11631 >  library_names_spec='${libname}_dll.$libext'
11632    dynamic_linker='OS/2 ld.exe'
11633 <  shlibpath_var=LIBPATH
11633 >  shlibpath_var=BEGINLIBPATH
11634 >  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11635 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11636 >  postinstall_cmds='base_file=`basename \$file`~
11637 >    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11638 >    dldir=$destdir/`dirname \$dlpath`~
11639 >    test -d \$dldir || mkdir -p \$dldir~
11640 >    $install_prog $dir/$dlname \$dldir/$dlname~
11641 >    chmod a+x \$dldir/$dlname~
11642 >    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11643 >      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11644 >    fi'
11645 >  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11646 >    dlpath=$dir/\$dldll~
11647 >    $RM \$dlpath'
11648    ;;
11649  
11650   osf3* | osf4* | osf5*)
11651    version_type=osf
11652    need_lib_prefix=no
11653    need_version=no
11654 <  soname_spec='${libname}${release}${shared_ext}$major'
11655 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11654 >  soname_spec='$libname$release$shared_ext$major'
11655 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11656    shlibpath_var=LD_LIBRARY_PATH
11657    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11658 <  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11658 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11659    ;;
11660  
11661   rdos*)
# Line 10210 | Line 11663 | rdos*)
11663    ;;
11664  
11665   solaris*)
11666 <  version_type=linux
11666 >  version_type=linux # correct to gnu/linux during the next big refactor
11667    need_lib_prefix=no
11668    need_version=no
11669 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11670 <  soname_spec='${libname}${release}${shared_ext}$major'
11669 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11670 >  soname_spec='$libname$release$shared_ext$major'
11671    shlibpath_var=LD_LIBRARY_PATH
11672    shlibpath_overrides_runpath=yes
11673    hardcode_into_libs=yes
# Line 10224 | Line 11677 | solaris*)
11677  
11678   sunos4*)
11679    version_type=sunos
11680 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11680 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11681    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11682    shlibpath_var=LD_LIBRARY_PATH
11683    shlibpath_overrides_runpath=yes
11684 <  if test "$with_gnu_ld" = yes; then
11684 >  if test yes = "$with_gnu_ld"; then
11685      need_lib_prefix=no
11686    fi
11687    need_version=yes
11688    ;;
11689  
11690   sysv4 | sysv4.3*)
11691 <  version_type=linux
11692 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11693 <  soname_spec='${libname}${release}${shared_ext}$major'
11691 >  version_type=linux # correct to gnu/linux during the next big refactor
11692 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11693 >  soname_spec='$libname$release$shared_ext$major'
11694    shlibpath_var=LD_LIBRARY_PATH
11695    case $host_vendor in
11696      sni)
# Line 10258 | Line 11711 | sysv4 | sysv4.3*)
11711    ;;
11712  
11713   sysv4*MP*)
11714 <  if test -d /usr/nec ;then
11715 <    version_type=linux
11716 <    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11717 <    soname_spec='$libname${shared_ext}.$major'
11714 >  if test -d /usr/nec; then
11715 >    version_type=linux # correct to gnu/linux during the next big refactor
11716 >    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11717 >    soname_spec='$libname$shared_ext.$major'
11718      shlibpath_var=LD_LIBRARY_PATH
11719    fi
11720    ;;
11721  
11722   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11723 <  version_type=freebsd-elf
11723 >  version_type=sco
11724    need_lib_prefix=no
11725    need_version=no
11726 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11727 <  soname_spec='${libname}${release}${shared_ext}$major'
11726 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11727 >  soname_spec='$libname$release$shared_ext$major'
11728    shlibpath_var=LD_LIBRARY_PATH
11729    shlibpath_overrides_runpath=yes
11730    hardcode_into_libs=yes
11731 <  if test "$with_gnu_ld" = yes; then
11731 >  if test yes = "$with_gnu_ld"; then
11732      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11733    else
11734      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
# Line 10290 | Line 11743 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11743  
11744   tpf*)
11745    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11746 <  version_type=linux
11746 >  version_type=linux # correct to gnu/linux during the next big refactor
11747    need_lib_prefix=no
11748    need_version=no
11749 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11749 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11750    shlibpath_var=LD_LIBRARY_PATH
11751    shlibpath_overrides_runpath=no
11752    hardcode_into_libs=yes
11753    ;;
11754  
11755   uts4*)
11756 <  version_type=linux
11757 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11758 <  soname_spec='${libname}${release}${shared_ext}$major'
11756 >  version_type=linux # correct to gnu/linux during the next big refactor
11757 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11758 >  soname_spec='$libname$release$shared_ext$major'
11759    shlibpath_var=LD_LIBRARY_PATH
11760    ;;
11761  
# Line 10312 | Line 11765 | uts4*)
11765   esac
11766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11767   $as_echo "$dynamic_linker" >&6; }
11768 < test "$dynamic_linker" = no && can_build_shared=no
11768 > test no = "$dynamic_linker" && can_build_shared=no
11769  
11770   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11771 < if test "$GCC" = yes; then
11771 > if test yes = "$GCC"; then
11772    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11773   fi
11774  
11775 < if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11776 <  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11775 > if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11776 >  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11777   fi
11778 < if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11779 <  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11778 >
11779 > if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11780 >  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11781   fi
11782  
11783 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11784 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11785 +
11786 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11787 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11788 +
11789 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11790 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11791 +
11792 +
11793 +
11794 +
11795 +
11796 +
11797 +
11798 +
11799 +
11800 +
11801 +
11802  
11803  
11804  
# Line 10417 | Line 11890 | $as_echo_n "checking how to hardcode lib
11890   hardcode_action=
11891   if test -n "$hardcode_libdir_flag_spec" ||
11892     test -n "$runpath_var" ||
11893 <   test "X$hardcode_automatic" = "Xyes" ; then
11893 >   test yes = "$hardcode_automatic"; then
11894  
11895    # We can hardcode non-existent directories.
11896 <  if test "$hardcode_direct" != no &&
11896 >  if test no != "$hardcode_direct" &&
11897       # If the only mechanism to avoid hardcoding is shlibpath_var, we
11898       # have to relink, otherwise we might link with an installed library
11899       # when we should be linking with a yet-to-be-installed one
11900 <     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11901 <     test "$hardcode_minus_L" != no; then
11900 >     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11901 >     test no != "$hardcode_minus_L"; then
11902      # Linking always hardcodes the temporary library directory.
11903      hardcode_action=relink
11904    else
# Line 10440 | Line 11913 | fi
11913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11914   $as_echo "$hardcode_action" >&6; }
11915  
11916 < if test "$hardcode_action" = relink ||
11917 <   test "$inherit_rpath" = yes; then
11916 > if test relink = "$hardcode_action" ||
11917 >   test yes = "$inherit_rpath"; then
11918    # Fast installation is not supported
11919    enable_fast_install=no
11920 < elif test "$shlibpath_overrides_runpath" = yes ||
11921 <     test "$enable_shared" = no; then
11920 > elif test yes = "$shlibpath_overrides_runpath" ||
11921 >     test no = "$enable_shared"; then
11922    # Fast installation is not necessary
11923    enable_fast_install=needless
11924   fi
# Line 10455 | Line 11928 | fi
11928  
11929  
11930  
11931 <  if test "x$enable_dlopen" != xyes; then
11931 >  if test yes != "$enable_dlopen"; then
11932    enable_dlopen=unknown
11933    enable_dlopen_self=unknown
11934    enable_dlopen_self_static=unknown
# Line 10465 | Line 11938 | else
11938  
11939    case $host_os in
11940    beos*)
11941 <    lt_cv_dlopen="load_add_on"
11941 >    lt_cv_dlopen=load_add_on
11942      lt_cv_dlopen_libs=
11943      lt_cv_dlopen_self=yes
11944      ;;
11945  
11946    mingw* | pw32* | cegcc*)
11947 <    lt_cv_dlopen="LoadLibrary"
11947 >    lt_cv_dlopen=LoadLibrary
11948      lt_cv_dlopen_libs=
11949      ;;
11950  
11951    cygwin*)
11952 <    lt_cv_dlopen="dlopen"
11952 >    lt_cv_dlopen=dlopen
11953      lt_cv_dlopen_libs=
11954      ;;
11955  
11956    darwin*)
11957 <  # if libdl is installed we need to link against it
11957 >    # if libdl is installed we need to link against it
11958      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11959   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11960 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11960 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11961    $as_echo_n "(cached) " >&6
11962   else
11963    ac_check_lib_save_LIBS=$LIBS
# Line 10518 | Line 11991 | LIBS=$ac_check_lib_save_LIBS
11991   fi
11992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11993   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11994 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11995 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11994 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11995 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11996   else
11997  
11998 <    lt_cv_dlopen="dyld"
11998 >    lt_cv_dlopen=dyld
11999      lt_cv_dlopen_libs=
12000      lt_cv_dlopen_self=yes
12001  
# Line 10530 | Line 12003 | fi
12003  
12004      ;;
12005  
12006 +  tpf*)
12007 +    # Don't try to run any link tests for TPF.  We know it's impossible
12008 +    # because TPF is a cross-compiler, and we know how we open DSOs.
12009 +    lt_cv_dlopen=dlopen
12010 +    lt_cv_dlopen_libs=
12011 +    lt_cv_dlopen_self=no
12012 +    ;;
12013 +
12014    *)
12015      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12016 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12017 <  lt_cv_dlopen="shl_load"
12016 > if test "x$ac_cv_func_shl_load" = xyes; then :
12017 >  lt_cv_dlopen=shl_load
12018   else
12019    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12020   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12021 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12021 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12022    $as_echo_n "(cached) " >&6
12023   else
12024    ac_check_lib_save_LIBS=$LIBS
# Line 10571 | Line 12052 | LIBS=$ac_check_lib_save_LIBS
12052   fi
12053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12054   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12055 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12056 <  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12055 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12056 >  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12057   else
12058    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12059 < if test "x$ac_cv_func_dlopen" = x""yes; then :
12060 <  lt_cv_dlopen="dlopen"
12059 > if test "x$ac_cv_func_dlopen" = xyes; then :
12060 >  lt_cv_dlopen=dlopen
12061   else
12062    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12063   $as_echo_n "checking for dlopen in -ldl... " >&6; }
12064 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12064 > if ${ac_cv_lib_dl_dlopen+:} false; then :
12065    $as_echo_n "(cached) " >&6
12066   else
12067    ac_check_lib_save_LIBS=$LIBS
# Line 10614 | Line 12095 | LIBS=$ac_check_lib_save_LIBS
12095   fi
12096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12097   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12098 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12099 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12098 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12099 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12100   else
12101    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12102   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12103 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12103 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12104    $as_echo_n "(cached) " >&6
12105   else
12106    ac_check_lib_save_LIBS=$LIBS
# Line 10653 | Line 12134 | LIBS=$ac_check_lib_save_LIBS
12134   fi
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12136   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12137 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12138 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12137 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12138 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12139   else
12140    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12141   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12142 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12142 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12143    $as_echo_n "(cached) " >&6
12144   else
12145    ac_check_lib_save_LIBS=$LIBS
# Line 10692 | Line 12173 | LIBS=$ac_check_lib_save_LIBS
12173   fi
12174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12175   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12176 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12177 <  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12176 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12177 >  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12178   fi
12179  
12180  
# Line 10714 | Line 12195 | fi
12195      ;;
12196    esac
12197  
12198 <  if test "x$lt_cv_dlopen" != xno; then
10718 <    enable_dlopen=yes
10719 <  else
12198 >  if test no = "$lt_cv_dlopen"; then
12199      enable_dlopen=no
12200 +  else
12201 +    enable_dlopen=yes
12202    fi
12203  
12204    case $lt_cv_dlopen in
12205    dlopen)
12206 <    save_CPPFLAGS="$CPPFLAGS"
12207 <    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12206 >    save_CPPFLAGS=$CPPFLAGS
12207 >    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12208  
12209 <    save_LDFLAGS="$LDFLAGS"
12209 >    save_LDFLAGS=$LDFLAGS
12210      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12211  
12212 <    save_LIBS="$LIBS"
12212 >    save_LIBS=$LIBS
12213      LIBS="$lt_cv_dlopen_libs $LIBS"
12214  
12215      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12216   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12217 < if test "${lt_cv_dlopen_self+set}" = set; then :
12217 > if ${lt_cv_dlopen_self+:} false; then :
12218    $as_echo_n "(cached) " >&6
12219   else
12220 <          if test "$cross_compiling" = yes; then :
12220 >          if test yes = "$cross_compiling"; then :
12221    lt_cv_dlopen_self=cross
12222   else
12223    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12224    lt_status=$lt_dlunknown
12225    cat > conftest.$ac_ext <<_LT_EOF
12226 < #line 10745 "configure"
12226 > #line $LINENO "configure"
12227   #include "confdefs.h"
12228  
12229   #if HAVE_DLFCN_H
# Line 10783 | Line 12264 | else
12264   #  endif
12265   #endif
12266  
12267 < void fnord() { int i=42;}
12267 > /* When -fvisibility=hidden is used, assume the code has been annotated
12268 >   correspondingly for the symbols needed.  */
12269 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12270 > int fnord () __attribute__((visibility("default")));
12271 > #endif
12272 >
12273 > int fnord () { return 42; }
12274   int main ()
12275   {
12276    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10792 | Line 12279 | int main ()
12279    if (self)
12280      {
12281        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12282 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12282 >      else
12283 >        {
12284 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12285 >          else puts (dlerror ());
12286 >        }
12287        /* dlclose (self); */
12288      }
12289    else
# Line 10805 | Line 12296 | _LT_EOF
12296    (eval $ac_link) 2>&5
12297    ac_status=$?
12298    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12299 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12299 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12300      (./conftest; exit; ) >&5 2>/dev/null
12301      lt_status=$?
12302      case x$lt_status in
# Line 10825 | Line 12316 | fi
12316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12317   $as_echo "$lt_cv_dlopen_self" >&6; }
12318  
12319 <    if test "x$lt_cv_dlopen_self" = xyes; then
12319 >    if test yes = "$lt_cv_dlopen_self"; then
12320        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12321        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12322   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12323 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
12323 > if ${lt_cv_dlopen_self_static+:} false; then :
12324    $as_echo_n "(cached) " >&6
12325   else
12326 <          if test "$cross_compiling" = yes; then :
12326 >          if test yes = "$cross_compiling"; then :
12327    lt_cv_dlopen_self_static=cross
12328   else
12329    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12330    lt_status=$lt_dlunknown
12331    cat > conftest.$ac_ext <<_LT_EOF
12332 < #line 10841 "configure"
12332 > #line $LINENO "configure"
12333   #include "confdefs.h"
12334  
12335   #if HAVE_DLFCN_H
# Line 10879 | Line 12370 | else
12370   #  endif
12371   #endif
12372  
12373 < void fnord() { int i=42;}
12373 > /* When -fvisibility=hidden is used, assume the code has been annotated
12374 >   correspondingly for the symbols needed.  */
12375 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12376 > int fnord () __attribute__((visibility("default")));
12377 > #endif
12378 >
12379 > int fnord () { return 42; }
12380   int main ()
12381   {
12382    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10888 | Line 12385 | int main ()
12385    if (self)
12386      {
12387        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12388 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12388 >      else
12389 >        {
12390 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12391 >          else puts (dlerror ());
12392 >        }
12393        /* dlclose (self); */
12394      }
12395    else
# Line 10901 | Line 12402 | _LT_EOF
12402    (eval $ac_link) 2>&5
12403    ac_status=$?
12404    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12405 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12405 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12406      (./conftest; exit; ) >&5 2>/dev/null
12407      lt_status=$?
12408      case x$lt_status in
# Line 10922 | Line 12423 | fi
12423   $as_echo "$lt_cv_dlopen_self_static" >&6; }
12424      fi
12425  
12426 <    CPPFLAGS="$save_CPPFLAGS"
12427 <    LDFLAGS="$save_LDFLAGS"
12428 <    LIBS="$save_LIBS"
12426 >    CPPFLAGS=$save_CPPFLAGS
12427 >    LDFLAGS=$save_LDFLAGS
12428 >    LIBS=$save_LIBS
12429      ;;
12430    esac
12431  
# Line 10968 | Line 12469 | else
12469   # FIXME - insert some real tests, host_os isn't really good enough
12470    case $host_os in
12471    darwin*)
12472 <    if test -n "$STRIP" ; then
12472 >    if test -n "$STRIP"; then
12473        striplib="$STRIP -x"
12474        old_striplib="$STRIP -S"
12475        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 10996 | Line 12497 | fi
12497  
12498  
12499  
12500 <  # Report which library types will actually be built
12500 >  # Report what library types will actually be built
12501    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12502   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
# Line 11004 | Line 12505 | $as_echo "$can_build_shared" >&6; }
12505  
12506    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12507   $as_echo_n "checking whether to build shared libraries... " >&6; }
12508 <  test "$can_build_shared" = "no" && enable_shared=no
12508 >  test no = "$can_build_shared" && enable_shared=no
12509  
12510    # On AIX, shared libraries and static libraries use the same namespace, and
12511    # are all built from PIC.
12512    case $host_os in
12513    aix3*)
12514 <    test "$enable_shared" = yes && enable_static=no
12514 >    test yes = "$enable_shared" && enable_static=no
12515      if test -n "$RANLIB"; then
12516        archive_cmds="$archive_cmds~\$RANLIB \$lib"
12517        postinstall_cmds='$RANLIB $lib'
# Line 11018 | Line 12519 | $as_echo_n "checking whether to build sh
12519      ;;
12520  
12521    aix[4-9]*)
12522 <    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12523 <      test "$enable_shared" = yes && enable_static=no
12522 >    if test ia64 != "$host_cpu"; then
12523 >      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12524 >      yes,aix,yes) ;;                   # shared object as lib.so file only
12525 >      yes,svr4,*) ;;                    # shared object as lib.so archive member only
12526 >      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12527 >      esac
12528      fi
12529      ;;
12530    esac
# Line 11029 | Line 12534 | $as_echo "$enable_shared" >&6; }
12534    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12535   $as_echo_n "checking whether to build static libraries... " >&6; }
12536    # Make sure either enable_shared or enable_static is yes.
12537 <  test "$enable_shared" = yes || enable_static=yes
12537 >  test yes = "$enable_shared" || enable_static=yes
12538    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12539   $as_echo "$enable_static" >&6; }
12540  
# Line 11043 | Line 12548 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12548   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12549   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12550  
12551 < CC="$lt_save_CC"
12551 > CC=$lt_save_CC
12552 >
12553 >
12554  
12555  
12556  
# Line 11065 | Line 12572 | CC="$lt_save_CC"
12572   # Only expand once:
12573  
12574  
12575 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12576 < $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12577 < if test "${libltdl_cv_shlibext+set}" = set; then :
12575 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12576 > $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12577 > if ${libltdl_cv_shlibext+:} false; then :
12578    $as_echo_n "(cached) " >&6
12579   else
12580  
12581   module=yes
12582   eval libltdl_cv_shlibext=$shrext_cmds
12583 + module=no
12584 + eval libltdl_cv_shrext=$shrext_cmds
12585  
12586   fi
12587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11084 | Line 12593 | cat >>confdefs.h <<_ACEOF
12593   _ACEOF
12594  
12595   fi
12596 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12597 +
12598 + cat >>confdefs.h <<_ACEOF
12599 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12600 + _ACEOF
12601 +
12602 + fi
12603 + if test -n "$shared_archive_member_spec"; then
12604 +
12605 + cat >>confdefs.h <<_ACEOF
12606 + #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12607 + _ACEOF
12608 +
12609 + fi
12610  
12611 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12612 < $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12613 < if test "${lt_cv_module_path_var+set}" = set; then :
12611 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12612 > $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12613 > if ${lt_cv_module_path_var+:} false; then :
12614    $as_echo_n "(cached) " >&6
12615   else
12616 <  lt_cv_module_path_var="$shlibpath_var"
12616 >  lt_cv_module_path_var=$shlibpath_var
12617   fi
12618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12619   $as_echo "$lt_cv_module_path_var" >&6; }
# Line 11104 | Line 12627 | fi
12627  
12628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12629   $as_echo_n "checking for the default library search path... " >&6; }
12630 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12630 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12631    $as_echo_n "(cached) " >&6
12632   else
12633 <  lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12633 >  lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
12634   fi
12635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12636   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
# Line 11115 | Line 12638 | if test -n "$lt_cv_sys_dlsearch_path"; t
12638    sys_dlsearch_path=
12639    for dir in $lt_cv_sys_dlsearch_path; do
12640      if test -z "$sys_dlsearch_path"; then
12641 <      sys_dlsearch_path="$dir"
12641 >      sys_dlsearch_path=$dir
12642      else
12643 <      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12643 >      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
12644      fi
12645    done
12646  
# Line 11137 | Line 12660 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12660   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12661   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12662  
12663 + lt_dlload_save_LIBS=$LIBS
12664  
12665   LIBADD_DLOPEN=
12666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12667   $as_echo_n "checking for library containing dlopen... " >&6; }
12668 < if test "${ac_cv_search_dlopen+set}" = set; then :
12668 > if ${ac_cv_search_dlopen+:} false; then :
12669    $as_echo_n "(cached) " >&6
12670   else
12671    ac_func_search_save_LIBS=$LIBS
# Line 11175 | Line 12699 | for ac_lib in '' dl; do
12699   fi
12700   rm -f core conftest.err conftest.$ac_objext \
12701      conftest$ac_exeext
12702 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12702 >  if ${ac_cv_search_dlopen+:} false; then :
12703    break
12704   fi
12705   done
12706 < if test "${ac_cv_search_dlopen+set}" = set; then :
12706 > if ${ac_cv_search_dlopen+:} false; then :
12707  
12708   else
12709    ac_cv_search_dlopen=no
# Line 11195 | Line 12719 | if test "$ac_res" != no; then :
12719  
12720   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12721  
12722 <        if test "$ac_cv_search_dlopen" != "none required" ; then
12723 <          LIBADD_DLOPEN="-ldl"
12722 >        if test "$ac_cv_search_dlopen" != "none required"; then
12723 >          LIBADD_DLOPEN=-ldl
12724          fi
12725 <        libltdl_cv_lib_dl_dlopen="yes"
12725 >        libltdl_cv_lib_dl_dlopen=yes
12726          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12727   else
12728    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 11219 | Line 12743 | if ac_fn_c_try_link "$LINENO"; then :
12743  
12744   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12745  
12746 <            libltdl_cv_func_dlopen="yes"
12746 >            libltdl_cv_func_dlopen=yes
12747              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12748   else
12749    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12750   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12751 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12751 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12752    $as_echo_n "(cached) " >&6
12753   else
12754    ac_check_lib_save_LIBS=$LIBS
# Line 11258 | Line 12782 | LIBS=$ac_check_lib_save_LIBS
12782   fi
12783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12784   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12785 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12785 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12786  
12787   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12788  
12789 <                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12789 >                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
12790                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12791   fi
12792  
# Line 11271 | Line 12795 | rm -f core conftest.err conftest.$ac_obj
12795      conftest$ac_exeext conftest.$ac_ext
12796   fi
12797  
12798 < if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12798 > if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
12799   then
12800 <  lt_save_LIBS="$LIBS"
12800 >  lt_save_LIBS=$LIBS
12801    LIBS="$LIBS $LIBADD_DLOPEN"
12802    for ac_func in dlerror
12803   do :
12804    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12805 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12805 > if test "x$ac_cv_func_dlerror" = xyes; then :
12806    cat >>confdefs.h <<_ACEOF
12807   #define HAVE_DLERROR 1
12808   _ACEOF
# Line 11286 | Line 12810 | _ACEOF
12810   fi
12811   done
12812  
12813 <  LIBS="$lt_save_LIBS"
12813 >  LIBS=$lt_save_LIBS
12814   fi
12815  
12816  
12817   LIBADD_SHL_LOAD=
12818   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12819 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12819 > if test "x$ac_cv_func_shl_load" = xyes; then :
12820  
12821   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12822  
# Line 11300 | Line 12824 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12824   else
12825    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12826   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12827 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12827 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12828    $as_echo_n "(cached) " >&6
12829   else
12830    ac_check_lib_save_LIBS=$LIBS
# Line 11334 | Line 12858 | LIBS=$ac_check_lib_save_LIBS
12858   fi
12859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12860   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12861 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12861 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12862  
12863   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12864  
12865              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12866 <            LIBADD_SHL_LOAD="-ldld"
12866 >            LIBADD_SHL_LOAD=-ldld
12867   fi
12868  
12869   fi
# Line 11350 | Line 12874 | case $host_os in
12874   darwin[1567].*)
12875   # We only want this for pre-Mac OS X 10.4.
12876    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12877 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12877 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12878  
12879   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12880  
# Line 11361 | Line 12885 | fi
12885   beos*)
12886    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12887    ;;
12888 < cygwin* | mingw* | os2* | pw32*)
12888 > cygwin* | mingw* | pw32*)
12889    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12890   "
12891 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12891 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12892    ac_have_decl=1
12893   else
12894    ac_have_decl=0
# Line 11380 | Line 12904 | esac
12904  
12905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12906   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12907 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12907 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12908    $as_echo_n "(cached) " >&6
12909   else
12910    ac_check_lib_save_LIBS=$LIBS
# Line 11414 | Line 12938 | LIBS=$ac_check_lib_save_LIBS
12938   fi
12939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12940   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12941 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12941 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12942  
12943   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12944  
# Line 11439 | Line 12963 | fi
12963   LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12964  
12965  
12966 + LIBS=$lt_dlload_save_LIBS
12967   ac_ext=c
12968   ac_cpp='$CPP $CPPFLAGS'
12969   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 11448 | Line 12973 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12973  
12974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12975   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12976 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12976 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12977    $as_echo_n "(cached) " >&6
12978   else
12979    lt_cv_sys_symbol_underscore=no
# Line 11493 | Line 13018 | $as_echo "$lt_cv_sys_symbol_underscore"
13018    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
13019  
13020  
13021 < if test x"$lt_cv_sys_symbol_underscore" = xyes; then
13022 <  if test x"$libltdl_cv_func_dlopen" = xyes ||
13023 <     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11499 <        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13021 > if test yes = "$lt_cv_sys_symbol_underscore"; then
13022 >  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
13023 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13024   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
13025 < if test "${libltdl_cv_need_uscore+set}" = set; then :
13025 > if ${libltdl_cv_need_uscore+:} false; then :
13026    $as_echo_n "(cached) " >&6
13027   else
13028    libltdl_cv_need_uscore=unknown
13029 <          save_LIBS="$LIBS"
13030 <          LIBS="$LIBS $LIBADD_DLOPEN"
13031 <          if test "$cross_compiling" = yes; then :
13032 <  libltdl_cv_need_uscore=cross
13033 < else
11510 <  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11511 <  lt_status=$lt_dlunknown
11512 <  cat > conftest.$ac_ext <<_LT_EOF
11513 < #line 11513 "configure"
13029 >      dlsym_uscore_save_LIBS=$LIBS
13030 >      LIBS="$LIBS $LIBADD_DLOPEN"
13031 >      libname=conftmod # stay within 8.3 filename limits!
13032 >      cat >$libname.$ac_ext <<_LT_EOF
13033 > #line $LINENO "configure"
13034   #include "confdefs.h"
13035 + /* When -fvisibility=hidden is used, assume the code has been annotated
13036 +   correspondingly for the symbols needed.  */
13037 + #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13038 + int fnord () __attribute__((visibility("default")));
13039 + #endif
13040 + int fnord () { return 42; }
13041 + _LT_EOF
13042  
13043 +      # ltfn_module_cmds module_cmds
13044 +      # Execute tilde-delimited MODULE_CMDS with environment primed for
13045 +      # $module_cmds or $archive_cmds type content.
13046 +      ltfn_module_cmds ()
13047 +      {( # subshell avoids polluting parent global environment
13048 +          module_cmds_save_ifs=$IFS; IFS='~'
13049 +          for cmd in $1; do
13050 +            IFS=$module_cmds_save_ifs
13051 +            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
13052 +            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
13053 +            major=; versuffix=; verstring=; deplibs=
13054 +            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
13055 +            eval $cmd
13056 +          done
13057 +          IFS=$module_cmds_save_ifs
13058 +      )}
13059 +
13060 +      # Compile a loadable module using libtool macro expansion results.
13061 +      $CC $pic_flag -c $libname.$ac_ext
13062 +      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
13063 +
13064 +      # Try to fetch fnord with dlsym().
13065 +      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
13066 +      cat >conftest.$ac_ext <<_LT_EOF
13067 + #line $LINENO "configure"
13068 + #include "confdefs.h"
13069   #if HAVE_DLFCN_H
13070   #include <dlfcn.h>
13071   #endif
11519 –
13072   #include <stdio.h>
13073 <
11522 < #ifdef RTLD_GLOBAL
11523 < #  define LT_DLGLOBAL           RTLD_GLOBAL
11524 < #else
13073 > #ifndef RTLD_GLOBAL
13074   #  ifdef DL_GLOBAL
13075 < #    define LT_DLGLOBAL         DL_GLOBAL
13075 > #    define RTLD_GLOBAL DL_GLOBAL
13076   #  else
13077 < #    define LT_DLGLOBAL         0
13077 > #    define RTLD_GLOBAL 0
13078   #  endif
13079   #endif
13080 <
13081 < /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13082 <   find out it does not work in some platform. */
11534 < #ifndef LT_DLLAZY_OR_NOW
11535 < #  ifdef RTLD_LAZY
11536 < #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13080 > #ifndef RTLD_NOW
13081 > #  ifdef DL_NOW
13082 > #    define RTLD_NOW DL_NOW
13083   #  else
13084 < #    ifdef DL_LAZY
11539 < #      define LT_DLLAZY_OR_NOW          DL_LAZY
11540 < #    else
11541 < #      ifdef RTLD_NOW
11542 < #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11543 < #      else
11544 < #        ifdef DL_NOW
11545 < #          define LT_DLLAZY_OR_NOW      DL_NOW
11546 < #        else
11547 < #          define LT_DLLAZY_OR_NOW      0
11548 < #        endif
11549 < #      endif
11550 < #    endif
13084 > #    define RTLD_NOW 0
13085   #  endif
13086   #endif
13087 <
13088 < void fnord() { int i=42;}
13089 < int main ()
13090 < {
13091 <  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13092 <  int status = $lt_dlunknown;
13093 <
13094 <  if (self)
13095 <    {
13096 <      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13097 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11564 <      /* dlclose (self); */
13087 > int main () {
13088 >  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
13089 >  int status = $libltdl_dlunknown;
13090 >  if (handle) {
13091 >    if (dlsym (handle, "fnord"))
13092 >      status = $libltdl_dlnouscore;
13093 >    else {
13094 >      if (dlsym (handle, "_fnord"))
13095 >        status = $libltdl_dluscore;
13096 >      else
13097 >        puts (dlerror ());
13098      }
13099 <  else
13099 >    dlclose (handle);
13100 >  } else
13101      puts (dlerror ());
11568 –
13102    return status;
13103   }
13104   _LT_EOF
13105 <  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13105 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13106    (eval $ac_link) 2>&5
13107    ac_status=$?
13108    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13109 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13110 <    (./conftest; exit; ) >&5 2>/dev/null
13111 <    lt_status=$?
13112 <    case x$lt_status in
13113 <      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
13114 <      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
13115 <      x$lt_dlunknown|x*)  ;;
13116 <    esac
13117 <  else :
13118 <    # compilation failed
13119 <
11587 <  fi
11588 < fi
11589 < rm -fr conftest*
11590 <
11591 <          LIBS="$save_LIBS"
13109 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13110 >        (./conftest; exit; ) >&5 2>/dev/null
13111 >        libltdl_status=$?
13112 >        case x$libltdl_status in
13113 >          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
13114 >          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
13115 >          x*) libltdl_cv_need_uscore=unknown ;;
13116 >        esac
13117 >      fi
13118 >      rm -rf conftest* $libname*
13119 >      LIBS=$dlsym_uscore_save_LIBS
13120  
13121   fi
13122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
# Line 11596 | Line 13124 | $as_echo "$libltdl_cv_need_uscore" >&6;
13124    fi
13125   fi
13126  
13127 < if test x"$libltdl_cv_need_uscore" = xyes; then
13127 > if test yes = "$libltdl_cv_need_uscore"; then
13128  
13129   $as_echo "#define NEED_USCORE 1" >>confdefs.h
13130  
# Line 11604 | Line 13132 | fi
13132  
13133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
13134   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
13135 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
13135 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
13136    $as_echo_n "(cached) " >&6
13137   else
13138    # PORTME does your system automatically load deplibs for dlopen?
# Line 11615 | Line 13143 | else
13143    case $host_os in
13144    aix3*|aix4.1.*|aix4.2.*)
13145      # Unknown whether this is true for these versions of AIX, but
13146 <    # we want this `case' here to explicitly catch those versions.
13146 >    # we want this 'case' here to explicitly catch those versions.
13147      lt_cv_sys_dlopen_deplibs=unknown
13148      ;;
13149    aix[4-9]*)
# Line 11628 | Line 13156 | else
13156        ;;
13157      esac
13158      ;;
13159 +  bitrig*)
13160 +    lt_cv_sys_dlopen_deplibs=yes
13161 +    ;;
13162    darwin*)
13163      # Assuming the user has installed a libdl from somewhere, this is true
13164      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
# Line 11636 | Line 13167 | else
13167    freebsd* | dragonfly*)
13168      lt_cv_sys_dlopen_deplibs=yes
13169      ;;
13170 <  gnu* | linux* | k*bsd*-gnu)
13170 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
13171      # GNU and its variants, using gnu ld.so (Glibc)
13172      lt_cv_sys_dlopen_deplibs=yes
13173      ;;
# Line 11656 | Line 13187 | else
13187      # at 6.2 and later dlopen does load deplibs.
13188      lt_cv_sys_dlopen_deplibs=yes
13189      ;;
13190 <  netbsd*)
13190 >  netbsd* | netbsdelf*-gnu)
13191      lt_cv_sys_dlopen_deplibs=yes
13192      ;;
13193    openbsd*)
# Line 11665 | Line 13196 | else
13196    osf[1234]*)
13197      # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
13198      # it did *not* use an RPATH in a shared library to find objects the
13199 <    # library depends on, so we explicitly say `no'.
13199 >    # library depends on, so we explicitly say 'no'.
13200      lt_cv_sys_dlopen_deplibs=no
13201      ;;
13202    osf5.0|osf5.0a|osf5.1)
# Line 11674 | Line 13205 | else
13205      # that the library depends on, but there's no easy way to know if that
13206      # patch is installed.  Since this is the case, all we can really
13207      # say is unknown -- it depends on the patch being installed.  If
13208 <    # it is, this changes to `yes'.  Without it, it would be `no'.
13208 >    # it is, this changes to 'yes'.  Without it, it would be 'no'.
13209      lt_cv_sys_dlopen_deplibs=unknown
13210      ;;
13211    osf*)
13212      # the two cases above should catch all versions of osf <= 5.1.  Read
13213      # the comments above for what we know about them.
13214      # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
13215 <    # is used to find them so we can finally say `yes'.
13215 >    # is used to find them so we can finally say 'yes'.
13216      lt_cv_sys_dlopen_deplibs=yes
13217      ;;
13218    qnx*)
# Line 11698 | Line 13229 | else
13229   fi
13230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13231   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13232 < if test "$lt_cv_sys_dlopen_deplibs" != yes; then
13232 > if test yes != "$lt_cv_sys_dlopen_deplibs"; then
13233  
13234   $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13235  
13236   fi
13237  
11707 – :
13238  
13239   for ac_header in argz.h
13240   do :
13241    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13242   "
13243 < if test "x$ac_cv_header_argz_h" = x""yes; then :
13243 > if test "x$ac_cv_header_argz_h" = xyes; then :
13244    cat >>confdefs.h <<_ACEOF
13245   #define HAVE_ARGZ_H 1
13246   _ACEOF
# Line 11724 | Line 13254 | ac_fn_c_check_type "$LINENO" "error_t" "
13254   #  include <argz.h>
13255   #endif
13256   "
13257 < if test "x$ac_cv_type_error_t" = x""yes; then :
13257 > if test "x$ac_cv_type_error_t" = xyes; then :
13258  
13259   cat >>confdefs.h <<_ACEOF
13260   #define HAVE_ERROR_T 1
# Line 11741 | Line 13271 | $as_echo "#define __error_t_defined 1" >
13271   fi
13272  
13273  
13274 < ARGZ_H=
13274 > LT_ARGZ_H=
13275   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13276          argz_next argz_stringify
13277   do :
13278    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13279   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13280 < eval as_val=\$$as_ac_var
11751 <   if test "x$as_val" = x""yes; then :
13280 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13281    cat >>confdefs.h <<_ACEOF
13282   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13283   _ACEOF
13284  
13285   else
13286 <  ARGZ_H=argz.h;
13286 >  LT_ARGZ_H=lt__argz.h;
13287  
13288 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13288 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13289  
13290   fi
13291   done
13292  
13293  
13294 < if test -z "$ARGZ_H"; then :
13294 > if test -z "$LT_ARGZ_H"; then :
13295    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13296   $as_echo_n "checking if argz actually works... " >&6; }
13297 < if test "${lt_cv_sys_argz_works+set}" = set; then :
13297 > if ${lt_cv_sys_argz_works+:} false; then :
13298    $as_echo_n "(cached) " >&6
13299   else
13300    case $host_os in #(
13301           *cygwin*)
13302             lt_cv_sys_argz_works=no
13303 <           if test "$cross_compiling" != no; then
13303 >           if test no != "$cross_compiling"; then
13304               lt_cv_sys_argz_works="guessing no"
13305             else
13306               lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
# Line 11782 | Line 13311 | else
13311               lt_os_major=${2-0}
13312               lt_os_minor=${3-0}
13313               lt_os_micro=${4-0}
13314 <             if test "$lt_os_major" -gt 1 \
13315 <                || { test "$lt_os_major" -eq 1 \
13316 <                  && { test "$lt_os_minor" -gt 5 \
13317 <                    || { test "$lt_os_minor" -eq 5 \
13318 <                      && test "$lt_os_micro" -gt 24; }; }; }; then
13314 >             if test 1 -lt "$lt_os_major" \
13315 >                || { test 1 -eq "$lt_os_major" \
13316 >                  && { test 5 -lt "$lt_os_minor" \
13317 >                    || { test 5 -eq "$lt_os_minor" \
13318 >                      && test 24 -lt "$lt_os_micro"; }; }; }; then
13319                 lt_cv_sys_argz_works=yes
13320               fi
13321             fi
# Line 11796 | Line 13325 | else
13325   fi
13326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13327   $as_echo "$lt_cv_sys_argz_works" >&6; }
13328 <     if test $lt_cv_sys_argz_works = yes; then :
13328 >     if test yes = "$lt_cv_sys_argz_works"; then :
13329  
13330   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13331  
13332   else
13333 <  ARGZ_H=argz.h
13333 >  LT_ARGZ_H=lt__argz.h
13334  
13335  
13336 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13336 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13337  
13338   fi
13339   fi
# Line 11813 | Line 13342 | fi
13342  
13343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13344   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13345 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
13345 > if ${libltdl_cv_preloaded_symbols+:} false; then :
13346    $as_echo_n "(cached) " >&6
13347   else
13348    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11825 | Line 13354 | else
13354   fi
13355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13356   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13357 < if test x"$libltdl_cv_preloaded_symbols" = xyes; then
13357 > if test yes = "$libltdl_cv_preloaded_symbols"; then
13358  
13359   $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13360  
13361   fi
13362  
11834 –
11835 –
13363   # Set options
13364  
13365  
# Line 11845 | Line 13372 | fi
13372  
13373  
13374  
11848 –
13375   # Check whether --with-included_ltdl was given.
13376   if test "${with_included_ltdl+set}" = set; then :
13377    withval=$with_included_ltdl;
13378   fi
13379  
13380  
13381 < if test "x$with_included_ltdl" != xyes; then
13381 > if test yes != "$with_included_ltdl"; then
13382    # We are not being forced to use the included libltdl sources, so
13383    # decide whether there is a useful installed version we can use.
13384    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13385  
13386   "
13387 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
13387 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
13388    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13389              #include <ltdl.h>
13390   "
13391 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
13391 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
13392    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13393   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13394 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
13394 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
13395    $as_echo_n "(cached) " >&6
13396   else
13397    ac_check_lib_save_LIBS=$LIBS
# Line 11899 | Line 13425 | LIBS=$ac_check_lib_save_LIBS
13425   fi
13426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13427   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13428 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
13428 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
13429    with_included_ltdl=no
13430   else
13431    with_included_ltdl=yes
# Line 11919 | Line 13445 | fi
13445  
13446  
13447  
11922 –
11923 –
11924 –
11925 –
11926 –
13448   # Check whether --with-ltdl_include was given.
13449   if test "${with_ltdl_include+set}" = set; then :
13450    withval=$with_ltdl_include;
# Line 11933 | Line 13454 | fi
13454   if test -n "$with_ltdl_include"; then
13455    if test -f "$with_ltdl_include/ltdl.h"; then :
13456    else
13457 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13457 >    as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
13458    fi
13459   else
13460    with_ltdl_include=no
# Line 11949 | Line 13470 | fi
13470   if test -n "$with_ltdl_lib"; then
13471    if test -f "$with_ltdl_lib/libltdl.la"; then :
13472    else
13473 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13473 >    as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
13474    fi
13475   else
13476    with_ltdl_lib=no
# Line 11958 | Line 13479 | fi
13479   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13480    ,yes,no,no,)
13481          case $enable_ltdl_convenience in
13482 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13482 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13483    "") enable_ltdl_convenience=yes
13484        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13485   esac
13486 < LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13486 > LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13487   LTDLDEPS=$LIBLTDL
13488 < LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13488 > LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13489  
13490  
13491  
13492  
13493  
13494   # For backwards non-gettext consistent compatibility...
13495 < INCLTDL="$LTDLINCL"
13495 > INCLTDL=$LTDLINCL
13496  
13497  
13498          ;;
# Line 11986 | Line 13507 | $as_echo "#define HAVE_LTDL 1" >>confdef
13507          LTDLINCL=
13508          ;;
13509    ,no*,no,*)
13510 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13510 >        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
13511          ;;
13512    *)    with_included_ltdl=no
13513          LIBLTDL="-L$with_ltdl_lib -lltdl"
13514          LTDLDEPS=
13515 <        LTDLINCL="-I$with_ltdl_include"
13515 >        LTDLINCL=-I$with_ltdl_include
13516          ;;
13517   esac
13518 < INCLTDL="$LTDLINCL"
13518 > INCLTDL=$LTDLINCL
13519  
13520   # Report our decision...
13521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
# Line 12014 | Line 13535 | if test "${enable_ltdl_install+set}" = s
13535   fi
13536  
13537  
13538 < case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13538 > case ,$enable_ltdl_install,$enable_ltdl_convenience in
13539    *yes*) ;;
13540    *) enable_ltdl_convenience=yes ;;
13541   esac
13542  
13543 < if test x"${enable_ltdl_install-no}" != xno; then
13543 > if test no != "${enable_ltdl_install-no}"; then
13544    INSTALL_LTDL_TRUE=
13545    INSTALL_LTDL_FALSE='#'
13546   else
# Line 12027 | Line 13548 | else
13548    INSTALL_LTDL_FALSE=
13549   fi
13550  
13551 <  if test x"${enable_ltdl_convenience-no}" != xno; then
13551 >  if test no != "${enable_ltdl_convenience-no}"; then
13552    CONVENIENCE_LTDL_TRUE=
13553    CONVENIENCE_LTDL_FALSE='#'
13554   else
# Line 12037 | Line 13558 | fi
13558  
13559  
13560  
12040 –    subdirs="$subdirs libltdl"
12041 –
12042 –
13561  
13562  
13563  
# Line 12056 | Line 13574 | do :
13574    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13575   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13576   "
13577 < eval as_val=\$$as_ac_Header
12060 <   if test "x$as_val" = x""yes; then :
13577 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13578    cat >>confdefs.h <<_ACEOF
13579   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13580   _ACEOF
# Line 12071 | Line 13588 | for ac_func in closedir opendir readdir
13588   do :
13589    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13590   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13591 < eval as_val=\$$as_ac_var
12075 <   if test "x$as_val" = x""yes; then :
13591 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13592    cat >>confdefs.h <<_ACEOF
13593   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13594   _ACEOF
# Line 12089 | Line 13605 | for ac_func in strlcat strlcpy
13605   do :
13606    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13607   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13608 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
13608 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13609    cat >>confdefs.h <<_ACEOF
13610   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13611   _ACEOF
# Line 12110 | Line 13625 | cat >>confdefs.h <<_ACEOF
13625   _ACEOF
13626  
13627  
13628 + name=
13629 + eval "lt_libprefix=\"$libname_spec\""
13630 +
13631 + cat >>confdefs.h <<_ACEOF
13632 + #define LT_LIBPREFIX "$lt_libprefix"
13633 + _ACEOF
13634 +
13635 +
13636   name=ltdl
13637 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13637 > eval "LTDLOPEN=\"$libname_spec\""
13638  
13639  
13640  
# Line 12125 | Line 13648 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13648  
13649   LIBTOOL="$LIBTOOL --silent"
13650  
12128 –
13651   # Checks for libraries.
13652  
13653 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13654 < $as_echo_n "checking for library containing socket... " >&6; }
13655 < if test "${ac_cv_search_socket+set}" = set; then :
13653 >
13654 >  if test "X$CC" != "X"; then
13655 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
13656 > $as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
13657 > if ${ssp_cv_cc+:} false; then :
13658 >  $as_echo_n "(cached) " >&6
13659 > else
13660 >  ssp_old_cflags="$CFLAGS"
13661 >       CFLAGS="$CFLAGS -fstack-protector-strong"
13662 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13663 > /* end confdefs.h.  */
13664 >
13665 > int
13666 > main ()
13667 > {
13668 >
13669 >  ;
13670 >  return 0;
13671 > }
13672 > _ACEOF
13673 > if ac_fn_c_try_compile "$LINENO"; then :
13674 >  ssp_cv_cc=yes
13675 > else
13676 >  ssp_cv_cc=no
13677 > fi
13678 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13679 >       CFLAGS="$ssp_old_cflags"
13680 >
13681 > fi
13682 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13683 > $as_echo "$ssp_cv_cc" >&6; }
13684 >    if test $ssp_cv_cc = yes; then
13685 >      CFLAGS="$CFLAGS -fstack-protector-strong"
13686 >
13687 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13688 >
13689 >    else
13690 >      unset ssp_cv_cc
13691 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13692 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13693 > if ${ssp_cv_cc+:} false; then :
13694 >  $as_echo_n "(cached) " >&6
13695 > else
13696 >  ssp_old_cflags="$CFLAGS"
13697 >         CFLAGS="$CFLAGS -fstack-protector"
13698 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 > /* end confdefs.h.  */
13700 >
13701 > int
13702 > main ()
13703 > {
13704 >
13705 >  ;
13706 >  return 0;
13707 > }
13708 > _ACEOF
13709 > if ac_fn_c_try_compile "$LINENO"; then :
13710 >  ssp_cv_cc=yes
13711 > else
13712 >  ssp_cv_cc=no
13713 > fi
13714 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13715 >         CFLAGS="$ssp_old_cflags"
13716 >
13717 > fi
13718 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13719 > $as_echo "$ssp_cv_cc" >&6; }
13720 >      if test $ssp_cv_cc = yes; then
13721 >        CFLAGS="$CFLAGS -fstack-protector"
13722 >
13723 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13724 >
13725 >      fi
13726 >    fi
13727 >  fi
13728 >
13729 >
13730 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13731 > $as_echo_n "checking whether libssp exists... " >&6; }
13732 > if ${ssp_cv_lib+:} false; then :
13733 >  $as_echo_n "(cached) " >&6
13734 > else
13735 >  ssp_old_libs="$LIBS"
13736 >     LIBS="$LIBS -lssp"
13737 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13738 > /* end confdefs.h.  */
13739 >
13740 > int
13741 > main ()
13742 > {
13743 >
13744 >  ;
13745 >  return 0;
13746 > }
13747 > _ACEOF
13748 > if ac_fn_c_try_link "$LINENO"; then :
13749 >  ssp_cv_lib=yes
13750 > else
13751 >  ssp_cv_lib=no
13752 > fi
13753 > rm -f core conftest.err conftest.$ac_objext \
13754 >    conftest$ac_exeext conftest.$ac_ext
13755 >     LIBS="$ssp_old_libs"
13756 >
13757 > fi
13758 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13759 > $as_echo "$ssp_cv_lib" >&6; }
13760 >  if test $ssp_cv_lib = yes; then
13761 >    LIBS="$LIBS -lssp"
13762 >  fi
13763 >
13764 >
13765 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13766 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13767 >
13768 > else
13769 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13770 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13771 > if ${ac_cv_search_getaddrinfo+:} false; then :
13772    $as_echo_n "(cached) " >&6
13773   else
13774    ac_func_search_save_LIBS=$LIBS
# Line 12143 | Line 13781 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13781   #ifdef __cplusplus
13782   extern "C"
13783   #endif
13784 < char socket ();
13784 > char getaddrinfo ();
13785   int
13786   main ()
13787   {
13788 < return socket ();
13788 > return getaddrinfo ();
13789    ;
13790    return 0;
13791   }
13792   _ACEOF
13793 < for ac_lib in '' socket; do
13793 > for ac_lib in '' nsl; do
13794    if test -z "$ac_lib"; then
13795      ac_res="none required"
13796    else
# Line 12160 | Line 13798 | for ac_lib in '' socket; do
13798      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13799    fi
13800    if ac_fn_c_try_link "$LINENO"; then :
13801 <  ac_cv_search_socket=$ac_res
13801 >  ac_cv_search_getaddrinfo=$ac_res
13802   fi
13803   rm -f core conftest.err conftest.$ac_objext \
13804      conftest$ac_exeext
13805 <  if test "${ac_cv_search_socket+set}" = set; then :
13805 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13806    break
13807   fi
13808   done
13809 < if test "${ac_cv_search_socket+set}" = set; then :
13809 > if ${ac_cv_search_getaddrinfo+:} false; then :
13810  
13811   else
13812 <  ac_cv_search_socket=no
13812 >  ac_cv_search_getaddrinfo=no
13813   fi
13814   rm conftest.$ac_ext
13815   LIBS=$ac_func_search_save_LIBS
13816   fi
13817 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13818 < $as_echo "$ac_cv_search_socket" >&6; }
13819 < ac_res=$ac_cv_search_socket
13817 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13818 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13819 > ac_res=$ac_cv_search_getaddrinfo
13820   if test "$ac_res" != no; then :
13821    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13822  
12185 – else
12186 –  as_fn_error "socket library not found" "$LINENO" 5
13823   fi
13824  
12189 –  for ac_func in inet_aton inet_ntop inet_pton
12190 – do :
12191 –  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12192 – ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12193 – eval as_val=\$$as_ac_var
12194 –   if test "x$as_val" = x""yes; then :
12195 –  cat >>confdefs.h <<_ACEOF
12196 – #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12197 – _ACEOF
12198 –
13825   fi
12200 – done
13826  
13827 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13828 <   #include <sys/socket.h>
12204 <   #include <netdb.h>
13827 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13828 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13829  
13830 < "
13831 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13830 > else
13831 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13832 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13833 > if ${ac_cv_search_getnameinfo+:} false; then :
13834 >  $as_echo_n "(cached) " >&6
13835 > else
13836 >  ac_func_search_save_LIBS=$LIBS
13837 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 > /* end confdefs.h.  */
13839  
13840 < cat >>confdefs.h <<_ACEOF
13841 < #define HAVE_STRUCT_SOCKADDR_IN 1
13840 > /* Override any GCC internal prototype to avoid an error.
13841 >   Use char because int might match the return type of a GCC
13842 >   builtin and then its argument prototype would still apply.  */
13843 > #ifdef __cplusplus
13844 > extern "C"
13845 > #endif
13846 > char getnameinfo ();
13847 > int
13848 > main ()
13849 > {
13850 > return getnameinfo ();
13851 >  ;
13852 >  return 0;
13853 > }
13854   _ACEOF
13855 <
13856 <
13855 > for ac_lib in '' nsl; do
13856 >  if test -z "$ac_lib"; then
13857 >    ac_res="none required"
13858 >  else
13859 >    ac_res=-l$ac_lib
13860 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13861 >  fi
13862 >  if ac_fn_c_try_link "$LINENO"; then :
13863 >  ac_cv_search_getnameinfo=$ac_res
13864   fi
13865 < ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13866 <   #include <sys/socket.h>
13867 <   #include <netdb.h>
13868 <
12219 < "
12220 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12221 <
12222 < cat >>confdefs.h <<_ACEOF
12223 < #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12224 < _ACEOF
12225 <
12226 <
13865 > rm -f core conftest.err conftest.$ac_objext \
13866 >    conftest$ac_exeext
13867 >  if ${ac_cv_search_getnameinfo+:} false; then :
13868 >  break
13869   fi
13870 < ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13871 <   #include <sys/socket.h>
12230 <   #include <netdb.h>
12231 <
12232 < "
12233 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12234 <
12235 < cat >>confdefs.h <<_ACEOF
12236 < #define HAVE_STRUCT_ADDRINFO 1
12237 < _ACEOF
12238 <
13870 > done
13871 > if ${ac_cv_search_getnameinfo+:} false; then :
13872  
13873 + else
13874 +  ac_cv_search_getnameinfo=no
13875   fi
13876 <
13877 <  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12243 <  <sys/socket.h>
12244 < "
12245 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12246 <
12247 < cat >>confdefs.h <<_ACEOF
12248 < #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
12249 < _ACEOF
12250 <
12251 <
13876 > rm conftest.$ac_ext
13877 > LIBS=$ac_func_search_save_LIBS
13878   fi
13879 <
13880 <
13881 <
13882 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13883 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12258 <
12259 < cat >>confdefs.h <<_ACEOF
12260 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12261 < _ACEOF
12262 <
12263 <
12264 < else
12265 <
12266 < $as_echo "#define IPV6 1" >>confdefs.h
13879 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13880 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13881 > ac_res=$ac_cv_search_getnameinfo
13882 > if test "$ac_res" != no; then :
13883 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13884  
13885   fi
13886  
13887 + fi
13888  
13889 <
13890 <
13891 < # Checks for typedefs, structures, and compiler characteristics.
12274 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12275 < $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12276 < if test "${ac_cv_c_const+set}" = set; then :
13889 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13890 > $as_echo_n "checking for library containing socket... " >&6; }
13891 > if ${ac_cv_search_socket+:} false; then :
13892    $as_echo_n "(cached) " >&6
13893   else
13894 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 >  ac_func_search_save_LIBS=$LIBS
13895 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896   /* end confdefs.h.  */
13897  
13898 + /* Override any GCC internal prototype to avoid an error.
13899 +   Use char because int might match the return type of a GCC
13900 +   builtin and then its argument prototype would still apply.  */
13901 + #ifdef __cplusplus
13902 + extern "C"
13903 + #endif
13904 + char socket ();
13905   int
13906   main ()
13907   {
13908 < /* FIXME: Include the comments suggested by Paul. */
12286 < #ifndef __cplusplus
12287 <  /* Ultrix mips cc rejects this.  */
12288 <  typedef int charset[2];
12289 <  const charset cs;
12290 <  /* SunOS 4.1.1 cc rejects this.  */
12291 <  char const *const *pcpcc;
12292 <  char **ppc;
12293 <  /* NEC SVR4.0.2 mips cc rejects this.  */
12294 <  struct point {int x, y;};
12295 <  static struct point const zero = {0,0};
12296 <  /* AIX XL C 1.02.0.0 rejects this.
12297 <     It does not let you subtract one const X* pointer from another in
12298 <     an arm of an if-expression whose if-part is not a constant
12299 <     expression */
12300 <  const char *g = "string";
12301 <  pcpcc = &g + (g ? g-g : 0);
12302 <  /* HPUX 7.0 cc rejects these. */
12303 <  ++pcpcc;
12304 <  ppc = (char**) pcpcc;
12305 <  pcpcc = (char const *const *) ppc;
12306 <  { /* SCO 3.2v4 cc rejects this.  */
12307 <    char *t;
12308 <    char const *s = 0 ? (char *) 0 : (char const *) 0;
12309 <
12310 <    *t++ = 0;
12311 <    if (s) return 0;
12312 <  }
12313 <  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12314 <    int x[] = {25, 17};
12315 <    const int *foo = &x[0];
12316 <    ++foo;
12317 <  }
12318 <  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12319 <    typedef const int *iptr;
12320 <    iptr p = 0;
12321 <    ++p;
12322 <  }
12323 <  { /* AIX XL C 1.02.0.0 rejects this saying
12324 <       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12325 <    struct s { int j; const int *ap[3]; };
12326 <    struct s *b; b->j = 5;
12327 <  }
12328 <  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12329 <    const int foo = 10;
12330 <    if (!foo) return 0;
12331 <  }
12332 <  return !cs[0] && !zero.x;
12333 < #endif
12334 <
13908 > return socket ();
13909    ;
13910    return 0;
13911   }
13912   _ACEOF
13913 < if ac_fn_c_try_compile "$LINENO"; then :
13914 <  ac_cv_c_const=yes
13915 < else
13916 <  ac_cv_c_const=no
13913 > for ac_lib in '' socket; do
13914 >  if test -z "$ac_lib"; then
13915 >    ac_res="none required"
13916 >  else
13917 >    ac_res=-l$ac_lib
13918 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13919 >  fi
13920 >  if ac_fn_c_try_link "$LINENO"; then :
13921 >  ac_cv_search_socket=$ac_res
13922   fi
13923 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13923 > rm -f core conftest.err conftest.$ac_objext \
13924 >    conftest$ac_exeext
13925 >  if ${ac_cv_search_socket+:} false; then :
13926 >  break
13927   fi
13928 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13929 < $as_echo "$ac_cv_c_const" >&6; }
12348 < if test $ac_cv_c_const = no; then
12349 <
12350 < $as_echo "#define const /**/" >>confdefs.h
13928 > done
13929 > if ${ac_cv_search_socket+:} false; then :
13930  
13931 + else
13932 +  ac_cv_search_socket=no
13933   fi
13934 + rm conftest.$ac_ext
13935 + LIBS=$ac_func_search_save_LIBS
13936 + fi
13937 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13938 + $as_echo "$ac_cv_search_socket" >&6; }
13939 + ac_res=$ac_cv_search_socket
13940 + if test "$ac_res" != no; then :
13941 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13942  
12354 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12355 – $as_echo_n "checking for inline... " >&6; }
12356 – if test "${ac_cv_c_inline+set}" = set; then :
12357 –  $as_echo_n "(cached) " >&6
13943   else
13944 <  ac_cv_c_inline=no
12360 < for ac_kw in inline __inline__ __inline; do
12361 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 < /* end confdefs.h.  */
12363 < #ifndef __cplusplus
12364 < typedef int foo_t;
12365 < static $ac_kw foo_t static_foo () {return 0; }
12366 < $ac_kw foo_t foo () {return 0; }
12367 < #endif
12368 <
12369 < _ACEOF
12370 < if ac_fn_c_try_compile "$LINENO"; then :
12371 <  ac_cv_c_inline=$ac_kw
13944 >  as_fn_error $? "socket library not found" "$LINENO" 5
13945   fi
12373 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374 –  test "$ac_cv_c_inline" != no && break
12375 – done
13946  
12377 – fi
12378 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12379 – $as_echo "$ac_cv_c_inline" >&6; }
13947  
12381 – case $ac_cv_c_inline in
12382 –  inline | yes) ;;
12383 –  *)
12384 –    case $ac_cv_c_inline in
12385 –      no) ac_val=;;
12386 –      *) ac_val=$ac_cv_c_inline;;
12387 –    esac
12388 –    cat >>confdefs.h <<_ACEOF
12389 – #ifndef __cplusplus
12390 – #define inline $ac_val
12391 – #endif
12392 – _ACEOF
12393 –    ;;
12394 – esac
13948  
13949 + # Checks for typedefs, structures, and compiler characteristics.
13950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13951   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13952 < if test "${ac_cv_c_bigendian+set}" = set; then :
13952 > if ${ac_cv_c_bigendian+:} false; then :
13953    $as_echo_n "(cached) " >&6
13954   else
13955    ac_cv_c_bigendian=unknown
# Line 12613 | Line 14167 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14167  
14168       ;; #(
14169     *)
14170 <     as_fn_error "unknown endianness
14170 >     as_fn_error $? "unknown endianness
14171   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14172   esac
14173  
14174  
14175 < # The cast to long int works around a bug in the HP C Compiler
14176 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14177 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14178 < # This bug is HP SR number 8606223364.
14179 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
14180 < $as_echo_n "checking size of int64_t... " >&6; }
14181 < if test "${ac_cv_sizeof_int64_t+set}" = set; then :
14175 > # Checks for library functions.
14176 >
14177 >
14178 >
14179 >  for ac_func in $ac_func_list
14180 > do :
14181 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14182 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14183 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14184 >  cat >>confdefs.h <<_ACEOF
14185 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14186 > _ACEOF
14187 >
14188 > fi
14189 > done
14190 >
14191 >
14192 >
14193 >
14194 >
14195 >
14196 >
14197 >
14198 >
14199 >
14200 >
14201 > # Checks for header files.
14202 >
14203 >
14204 >
14205 >  for ac_header in $ac_header_list
14206 > do :
14207 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14208 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14209 > "
14210 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14211 >  cat >>confdefs.h <<_ACEOF
14212 > #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14213 > _ACEOF
14214 >
14215 > fi
14216 >
14217 > done
14218 >
14219 >
14220 >
14221 >
14222 >
14223 >
14224 >
14225 >
14226 >
14227 >
14228 >
14229 >
14230 >
14231 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14232 > $as_echo_n "checking for library containing crypt... " >&6; }
14233 > if ${ac_cv_search_crypt+:} false; then :
14234    $as_echo_n "(cached) " >&6
14235   else
14236 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
14236 >  ac_func_search_save_LIBS=$LIBS
14237 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 > /* end confdefs.h.  */
14239 >
14240 > /* Override any GCC internal prototype to avoid an error.
14241 >   Use char because int might match the return type of a GCC
14242 >   builtin and then its argument prototype would still apply.  */
14243 > #ifdef __cplusplus
14244 > extern "C"
14245 > #endif
14246 > char crypt ();
14247 > int
14248 > main ()
14249 > {
14250 > return crypt ();
14251 >  ;
14252 >  return 0;
14253 > }
14254 > _ACEOF
14255 > for ac_lib in '' crypt; do
14256 >  if test -z "$ac_lib"; then
14257 >    ac_res="none required"
14258 >  else
14259 >    ac_res=-l$ac_lib
14260 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14261 >  fi
14262 >  if ac_fn_c_try_link "$LINENO"; then :
14263 >  ac_cv_search_crypt=$ac_res
14264 > fi
14265 > rm -f core conftest.err conftest.$ac_objext \
14266 >    conftest$ac_exeext
14267 >  if ${ac_cv_search_crypt+:} false; then :
14268 >  break
14269 > fi
14270 > done
14271 > if ${ac_cv_search_crypt+:} false; then :
14272  
14273   else
14274 <  if test "$ac_cv_type_int64_t" = yes; then
14275 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14276 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14277 < { as_fn_set_status 77
14278 < as_fn_error "cannot compute sizeof (int64_t)
14279 < See \`config.log' for more details." "$LINENO" 5; }; }
14280 <   else
14281 <     ac_cv_sizeof_int64_t=0
14282 <   fi
14274 >  ac_cv_search_crypt=no
14275 > fi
14276 > rm conftest.$ac_ext
14277 > LIBS=$ac_func_search_save_LIBS
14278 > fi
14279 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
14280 > $as_echo "$ac_cv_search_crypt" >&6; }
14281 > ac_res=$ac_cv_search_crypt
14282 > if test "$ac_res" != no; then :
14283 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14284 >
14285   fi
14286  
14287 +
14288 + # Argument processing.
14289 +
14290 +  desired_iopoll_mechanism="none"
14291 +
14292 +  # Check whether --enable-kqueue was given.
14293 + if test "${enable_kqueue+set}" = set; then :
14294 +  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14295   fi
12645 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12646 – $as_echo "$ac_cv_sizeof_int64_t" >&6; }
14296  
14297 +  # Check whether --enable-epoll was given.
14298 + if test "${enable_epoll+set}" = set; then :
14299 +  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
14300 + fi
14301  
14302 +  # Check whether --enable-devpoll was given.
14303 + if test "${enable_devpoll+set}" = set; then :
14304 +  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14305 + fi
14306 +
14307 +  # Check whether --enable-poll was given.
14308 + if test "${enable_poll+set}" = set; then :
14309 +  enableval=$enable_poll; desired_iopoll_mechanism="poll"
14310 + fi
14311 +
14312 +
14313 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14314 + $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14315 +
14316 +  iopoll_mechanism_none=0
14317  
14318   cat >>confdefs.h <<_ACEOF
14319 < #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
14319 > #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14320   _ACEOF
14321  
14322  
14323 < # The cast to long int works around a bug in the HP C Compiler
14324 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14325 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14326 < # This bug is HP SR number 8606223364.
14327 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
14328 < $as_echo_n "checking size of long long... " >&6; }
14329 < if test "${ac_cv_sizeof_long_long+set}" = set; then :
14330 <  $as_echo_n "(cached) " >&6
14323 >  iopoll_mechanism_kqueue=1
14324 >
14325 > cat >>confdefs.h <<_ACEOF
14326 > #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14327 > _ACEOF
14328 >
14329 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330 > /* end confdefs.h.  */
14331 > /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
14332 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14333 > #define kevent innocuous_kevent
14334 >
14335 > /* System header to define __stub macros and hopefully few prototypes,
14336 >    which can conflict with char kevent (); below.
14337 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14338 >    <limits.h> exists even on freestanding compilers.  */
14339 >
14340 > #ifdef __STDC__
14341 > # include <limits.h>
14342 > #else
14343 > # include <assert.h>
14344 > #endif
14345 >
14346 > #undef kevent
14347 >
14348 > /* Override any GCC internal prototype to avoid an error.
14349 >   Use char because int might match the return type of a GCC
14350 >   builtin and then its argument prototype would still apply.  */
14351 > #ifdef __cplusplus
14352 > extern "C"
14353 > #endif
14354 > char kevent ();
14355 > /* The GNU C library defines this for functions which it implements
14356 >    to always fail with ENOSYS.  Some functions are actually named
14357 >    something starting with __ and the normal name is an alias.  */
14358 > #if defined __stub_kevent || defined __stub___kevent
14359 > choke me
14360 > #endif
14361 >
14362 > int
14363 > main ()
14364 > {
14365 > return kevent ();
14366 >  ;
14367 >  return 0;
14368 > }
14369 > _ACEOF
14370 > if ac_fn_c_try_link "$LINENO"; then :
14371 >  is_kqueue_mechanism_available="yes"
14372   else
14373 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
14373 >  is_kqueue_mechanism_available="no"
14374 > fi
14375 > rm -f core conftest.err conftest.$ac_objext \
14376 >    conftest$ac_exeext conftest.$ac_ext
14377  
14378 +  iopoll_mechanism_epoll=2
14379 +
14380 + cat >>confdefs.h <<_ACEOF
14381 + #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14382 + _ACEOF
14383 +
14384 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 + /* end confdefs.h.  */
14386 + #include <sys/epoll.h>
14387 + int
14388 + main ()
14389 + {
14390 + epoll_create1(EPOLL_CLOEXEC);
14391 +  ;
14392 +  return 0;
14393 + }
14394 + _ACEOF
14395 + if ac_fn_c_try_link "$LINENO"; then :
14396 +  is_epoll_mechanism_available="yes"
14397   else
14398 <  if test "$ac_cv_type_long_long" = yes; then
14399 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14400 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14401 < { as_fn_set_status 77
14402 < as_fn_error "cannot compute sizeof (long long)
14403 < See \`config.log' for more details." "$LINENO" 5; }; }
14404 <   else
14405 <     ac_cv_sizeof_long_long=0
14406 <   fi
14398 >  is_epoll_mechanism_available="no"
14399 > fi
14400 > rm -f core conftest.err conftest.$ac_objext \
14401 >    conftest$ac_exeext conftest.$ac_ext
14402 >
14403 >  iopoll_mechanism_devpoll=3
14404 >
14405 > cat >>confdefs.h <<_ACEOF
14406 > #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14407 > _ACEOF
14408 >
14409 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 > /* end confdefs.h.  */
14411 > #include <devpoll.h>
14412 > int
14413 > main ()
14414 > {
14415 >
14416 >  ;
14417 >  return 0;
14418 > }
14419 > _ACEOF
14420 > if ac_fn_c_try_compile "$LINENO"; then :
14421 >  is_devpoll_mechanism_available="yes"
14422 > else
14423 >  is_devpoll_mechanism_available="no"
14424 > fi
14425 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14426 >  if test "$is_devpoll_mechanism_available" = "yes" ; then
14427 >
14428 > $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14429 >
14430 >  fi
14431 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 > /* end confdefs.h.  */
14433 > #include <sys/devpoll.h>
14434 > int
14435 > main ()
14436 > {
14437 >
14438 >  ;
14439 >  return 0;
14440 > }
14441 > _ACEOF
14442 > if ac_fn_c_try_compile "$LINENO"; then :
14443 >  is_devpoll_mechanism_available="yes"
14444 > else
14445 >  is_devpoll_mechanism_available="no"
14446   fi
14447 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14448 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14449 +
14450 + $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14451 +
14452 +  fi
14453 +
14454 +  iopoll_mechanism_poll=4
14455 +
14456 + cat >>confdefs.h <<_ACEOF
14457 + #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14458 + _ACEOF
14459 +
14460 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 + /* end confdefs.h.  */
14462 + /* Define poll to an innocuous variant, in case <limits.h> declares poll.
14463 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14464 + #define poll innocuous_poll
14465 +
14466 + /* System header to define __stub macros and hopefully few prototypes,
14467 +    which can conflict with char poll (); below.
14468 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14469 +    <limits.h> exists even on freestanding compilers.  */
14470 +
14471 + #ifdef __STDC__
14472 + # include <limits.h>
14473 + #else
14474 + # include <assert.h>
14475 + #endif
14476 +
14477 + #undef poll
14478  
14479 + /* Override any GCC internal prototype to avoid an error.
14480 +   Use char because int might match the return type of a GCC
14481 +   builtin and then its argument prototype would still apply.  */
14482 + #ifdef __cplusplus
14483 + extern "C"
14484 + #endif
14485 + char poll ();
14486 + /* The GNU C library defines this for functions which it implements
14487 +    to always fail with ENOSYS.  Some functions are actually named
14488 +    something starting with __ and the normal name is an alias.  */
14489 + #if defined __stub_poll || defined __stub___poll
14490 + choke me
14491 + #endif
14492 +
14493 + int
14494 + main ()
14495 + {
14496 + return poll ();
14497 +  ;
14498 +  return 0;
14499 + }
14500 + _ACEOF
14501 + if ac_fn_c_try_link "$LINENO"; then :
14502 +  is_poll_mechanism_available="yes"
14503 + else
14504 +  is_poll_mechanism_available="no"
14505   fi
14506 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
14507 < $as_echo "$ac_cv_sizeof_long_long" >&6; }
14506 > rm -f core conftest.err conftest.$ac_objext \
14507 >    conftest$ac_exeext conftest.$ac_ext
14508 >
14509 >  optimal_iopoll_mechanism="none"
14510 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14511 >    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14512 >    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14513 >      optimal_iopoll_mechanism="$mechanism"
14514 >      break
14515 >    fi
14516 >  done
14517  
14518 +  if test "$desired_iopoll_mechanism" = "none" ; then
14519 +    if test "$optimal_iopoll_mechanism" = "none" ; then
14520 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14521 + $as_echo "none" >&6; }
14522 +      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14523 +    else
14524 +      selected_iopoll_mechanism=$optimal_iopoll_mechanism
14525 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14526 + $as_echo "$selected_iopoll_mechanism" >&6; }
14527 +    fi
14528 +  else
14529 +    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
14530 +    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
14531 +      selected_iopoll_mechanism=$desired_iopoll_mechanism
14532 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14533 + $as_echo "$selected_iopoll_mechanism" >&6; }
14534 +    else
14535 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14536 + $as_echo "none" >&6; }
14537 +      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14538 +    fi
14539 +  fi
14540  
14541 +  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14542  
14543   cat >>confdefs.h <<_ACEOF
14544 < #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14544 > #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
14545   _ACEOF
14546  
14547  
14548  
14549 < if test "$ac_cv_sizeof_int64_t" = 8; then
14550 <  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
14551 < if test "x$ac_cv_type_uint64_t" = x""yes; then :
14549 >  # Check whether --enable-assert was given.
14550 > if test "${enable_assert+set}" = set; then :
14551 >  enableval=$enable_assert; assert=$enableval
14552 > else
14553 >  assert=no
14554 > fi
14555 >
14556 >
14557 >  if test "$assert" = "no"; then :
14558 >
14559 > $as_echo "#define NDEBUG 1" >>confdefs.h
14560 >
14561 > fi
14562 >
14563  
14564 +  # Check whether --enable-debugging was given.
14565 + if test "${enable_debugging+set}" = set; then :
14566 +  enableval=$enable_debugging; debugging="$enableval"
14567 + else
14568 +  debugging="no"
14569   fi
14570  
14571 <  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
14572 < if test "x$ac_cv_type_int64_t" = x""yes; then :
14571 >
14572 >  if test "$debugging" = "yes"; then :
14573 >
14574 >    CFLAGS="-Wall -g -O0"
14575  
14576   fi
14577  
12701 – elif test "$ac_cv_sizeof_long_long" = 8; then
12702 –  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12703 – if test "x$ac_cv_type_uint64_t" = x""yes; then :
14578  
14579 +  # Check whether --enable-warnings was given.
14580 + if test "${enable_warnings+set}" = set; then :
14581 +  enableval=$enable_warnings; warnings="$enableval"
14582   else
14583 +  warnings="no"
14584 + fi
14585  
14586 < cat >>confdefs.h <<_ACEOF
14587 < #define uint64_t unsigned long long
14586 >
14587 >  if test "$warnings" = "yes"; then :
14588 >
14589 >
14590 >
14591 >
14592 >
14593 > for flag in -Wall; do
14594 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14595 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14596 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14597 > if eval \${$as_CACHEVAR+:} false; then :
14598 >  $as_echo_n "(cached) " >&6
14599 > else
14600 >
14601 >  ax_check_save_flags=$CFLAGS
14602 >  CFLAGS="$CFLAGS  $flag"
14603 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 > /* end confdefs.h.  */
14605 >
14606 > int
14607 > main ()
14608 > {
14609 >
14610 >  ;
14611 >  return 0;
14612 > }
14613   _ACEOF
14614 + if ac_fn_c_try_compile "$LINENO"; then :
14615 +  eval "$as_CACHEVAR=yes"
14616 + else
14617 +  eval "$as_CACHEVAR=no"
14618 + fi
14619 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14620 +  CFLAGS=$ax_check_save_flags
14621 + fi
14622 + eval ac_res=\$$as_CACHEVAR
14623 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14624 + $as_echo "$ac_res" >&6; }
14625 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14626 +
14627 + if ${CFLAGS+:} false; then :
14628 +
14629 +  case " $CFLAGS " in #(
14630 +  *" $flag "*) :
14631 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14632 +  (: CFLAGS already contains $flag) 2>&5
14633 +  ac_status=$?
14634 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14635 +  test $ac_status = 0; } ;; #(
14636 +  *) :
14637 +
14638 +     as_fn_append CFLAGS " $flag"
14639 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14640 +  (: CFLAGS="$CFLAGS") 2>&5
14641 +  ac_status=$?
14642 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14643 +  test $ac_status = 0; }
14644 +     ;;
14645 + esac
14646 +
14647 + else
14648 +
14649 +  CFLAGS=$flag
14650 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14651 +  (: CFLAGS="$CFLAGS") 2>&5
14652 +  ac_status=$?
14653 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14654 +  test $ac_status = 0; }
14655 +
14656 + fi
14657  
14658 + else
14659 +  :
14660   fi
14661  
14662 <  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
14663 < if test "x$ac_cv_type_int64_t" = x""yes; then :
14662 > done
14663 >
14664 >
14665 >
14666 >
14667  
14668 + for flag in -Wbad-function-cast; do
14669 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14670 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14671 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14672 + if eval \${$as_CACHEVAR+:} false; then :
14673 +  $as_echo_n "(cached) " >&6
14674   else
14675  
14676 < cat >>confdefs.h <<_ACEOF
14677 < #define int64_t long long
14676 >  ax_check_save_flags=$CFLAGS
14677 >  CFLAGS="$CFLAGS  $flag"
14678 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14679 > /* end confdefs.h.  */
14680 >
14681 > int
14682 > main ()
14683 > {
14684 >
14685 >  ;
14686 >  return 0;
14687 > }
14688   _ACEOF
14689 + if ac_fn_c_try_compile "$LINENO"; then :
14690 +  eval "$as_CACHEVAR=yes"
14691 + else
14692 +  eval "$as_CACHEVAR=no"
14693 + fi
14694 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14695 +  CFLAGS=$ax_check_save_flags
14696 + fi
14697 + eval ac_res=\$$as_CACHEVAR
14698 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14699 + $as_echo "$ac_res" >&6; }
14700 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14701 +
14702 + if ${CFLAGS+:} false; then :
14703 +
14704 +  case " $CFLAGS " in #(
14705 +  *" $flag "*) :
14706 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14707 +  (: CFLAGS already contains $flag) 2>&5
14708 +  ac_status=$?
14709 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14710 +  test $ac_status = 0; } ;; #(
14711 +  *) :
14712 +
14713 +     as_fn_append CFLAGS " $flag"
14714 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14715 +  (: CFLAGS="$CFLAGS") 2>&5
14716 +  ac_status=$?
14717 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14718 +  test $ac_status = 0; }
14719 +     ;;
14720 + esac
14721 +
14722 + else
14723 +
14724 +  CFLAGS=$flag
14725 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14726 +  (: CFLAGS="$CFLAGS") 2>&5
14727 +  ac_status=$?
14728 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14729 +  test $ac_status = 0; }
14730  
14731   fi
14732  
14733   else
14734 <  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
14734 >  :
14735   fi
14736  
14737 + done
14738  
12729 – # Checks for library functions.
14739  
14740  
14741  
14742 <  for ac_func in $ac_func_list
14743 < do :
14744 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14745 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14746 < eval as_val=\$$as_ac_var
14747 <   if test "x$as_val" = x""yes; then :
14748 <  cat >>confdefs.h <<_ACEOF
14749 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14742 >
14743 > for flag in -Wcast-align; do
14744 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14745 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14746 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14747 > if eval \${$as_CACHEVAR+:} false; then :
14748 >  $as_echo_n "(cached) " >&6
14749 > else
14750 >
14751 >  ax_check_save_flags=$CFLAGS
14752 >  CFLAGS="$CFLAGS  $flag"
14753 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 > /* end confdefs.h.  */
14755 >
14756 > int
14757 > main ()
14758 > {
14759 >
14760 >  ;
14761 >  return 0;
14762 > }
14763   _ACEOF
14764 + if ac_fn_c_try_compile "$LINENO"; then :
14765 +  eval "$as_CACHEVAR=yes"
14766 + else
14767 +  eval "$as_CACHEVAR=no"
14768 + fi
14769 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14770 +  CFLAGS=$ax_check_save_flags
14771 + fi
14772 + eval ac_res=\$$as_CACHEVAR
14773 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14774 + $as_echo "$ac_res" >&6; }
14775 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14776 +
14777 + if ${CFLAGS+:} false; then :
14778 +
14779 +  case " $CFLAGS " in #(
14780 +  *" $flag "*) :
14781 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14782 +  (: CFLAGS already contains $flag) 2>&5
14783 +  ac_status=$?
14784 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14785 +  test $ac_status = 0; } ;; #(
14786 +  *) :
14787 +
14788 +     as_fn_append CFLAGS " $flag"
14789 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14790 +  (: CFLAGS="$CFLAGS") 2>&5
14791 +  ac_status=$?
14792 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14793 +  test $ac_status = 0; }
14794 +     ;;
14795 + esac
14796 +
14797 + else
14798 +
14799 +  CFLAGS=$flag
14800 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14801 +  (: CFLAGS="$CFLAGS") 2>&5
14802 +  ac_status=$?
14803 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14804 +  test $ac_status = 0; }
14805 +
14806 + fi
14807  
14808 + else
14809 +  :
14810   fi
14811 +
14812   done
14813  
14814  
14815  
14816  
14817  
14818 + for flag in -Wcast-function-type; do
14819 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14820 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14821 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14822 + if eval \${$as_CACHEVAR+:} false; then :
14823 +  $as_echo_n "(cached) " >&6
14824 + else
14825  
14826 +  ax_check_save_flags=$CFLAGS
14827 +  CFLAGS="$CFLAGS  $flag"
14828 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 + /* end confdefs.h.  */
14830  
14831 + int
14832 + main ()
14833 + {
14834  
14835 +  ;
14836 +  return 0;
14837 + }
14838 + _ACEOF
14839 + if ac_fn_c_try_compile "$LINENO"; then :
14840 +  eval "$as_CACHEVAR=yes"
14841 + else
14842 +  eval "$as_CACHEVAR=no"
14843 + fi
14844 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 +  CFLAGS=$ax_check_save_flags
14846 + fi
14847 + eval ac_res=\$$as_CACHEVAR
14848 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14849 + $as_echo "$ac_res" >&6; }
14850 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14851  
14852 + if ${CFLAGS+:} false; then :
14853  
14854 +  case " $CFLAGS " in #(
14855 +  *" $flag "*) :
14856 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14857 +  (: CFLAGS already contains $flag) 2>&5
14858 +  ac_status=$?
14859 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14860 +  test $ac_status = 0; } ;; #(
14861 +  *) :
14862  
14863 +     as_fn_append CFLAGS " $flag"
14864 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14865 +  (: CFLAGS="$CFLAGS") 2>&5
14866 +  ac_status=$?
14867 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14868 +  test $ac_status = 0; }
14869 +     ;;
14870 + esac
14871  
14872 + else
14873  
14874 +  CFLAGS=$flag
14875 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14876 +  (: CFLAGS="$CFLAGS") 2>&5
14877 +  ac_status=$?
14878 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14879 +  test $ac_status = 0; }
14880  
14881 + fi
14882  
14883 + else
14884 +  :
14885 + fi
14886  
14887 + done
14888  
12762 – # Checks for header files.
14889  
14890  
14891  
14892 <  for ac_header in $ac_header_list
14893 < do :
14894 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14895 < ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14896 < "
14897 < eval as_val=\$$as_ac_Header
14898 <   if test "x$as_val" = x""yes; then :
14899 <  cat >>confdefs.h <<_ACEOF
14900 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14892 >
14893 > for flag in -Wcast-qual; do
14894 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14895 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14896 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14897 > if eval \${$as_CACHEVAR+:} false; then :
14898 >  $as_echo_n "(cached) " >&6
14899 > else
14900 >
14901 >  ax_check_save_flags=$CFLAGS
14902 >  CFLAGS="$CFLAGS  $flag"
14903 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 > /* end confdefs.h.  */
14905 >
14906 > int
14907 > main ()
14908 > {
14909 >
14910 >  ;
14911 >  return 0;
14912 > }
14913   _ACEOF
14914 + if ac_fn_c_try_compile "$LINENO"; then :
14915 +  eval "$as_CACHEVAR=yes"
14916 + else
14917 +  eval "$as_CACHEVAR=no"
14918 + fi
14919 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14920 +  CFLAGS=$ax_check_save_flags
14921 + fi
14922 + eval ac_res=\$$as_CACHEVAR
14923 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14924 + $as_echo "$ac_res" >&6; }
14925 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14926 +
14927 + if ${CFLAGS+:} false; then :
14928 +
14929 +  case " $CFLAGS " in #(
14930 +  *" $flag "*) :
14931 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14932 +  (: CFLAGS already contains $flag) 2>&5
14933 +  ac_status=$?
14934 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14935 +  test $ac_status = 0; } ;; #(
14936 +  *) :
14937 +
14938 +     as_fn_append CFLAGS " $flag"
14939 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14940 +  (: CFLAGS="$CFLAGS") 2>&5
14941 +  ac_status=$?
14942 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14943 +  test $ac_status = 0; }
14944 +     ;;
14945 + esac
14946 +
14947 + else
14948 +
14949 +  CFLAGS=$flag
14950 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14951 +  (: CFLAGS="$CFLAGS") 2>&5
14952 +  ac_status=$?
14953 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14954 +  test $ac_status = 0; }
14955 +
14956 + fi
14957  
14958 + else
14959 +  :
14960   fi
14961  
14962   done
# Line 12782 | Line 14965 | done
14965  
14966  
14967  
14968 + for flag in -Wclobbered; do
14969 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14970 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14971 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14972 + if eval \${$as_CACHEVAR+:} false; then :
14973 +  $as_echo_n "(cached) " >&6
14974 + else
14975  
14976 +  ax_check_save_flags=$CFLAGS
14977 +  CFLAGS="$CFLAGS  $flag"
14978 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 + /* end confdefs.h.  */
14980  
14981 + int
14982 + main ()
14983 + {
14984  
14985 +  ;
14986 +  return 0;
14987 + }
14988 + _ACEOF
14989 + if ac_fn_c_try_compile "$LINENO"; then :
14990 +  eval "$as_CACHEVAR=yes"
14991 + else
14992 +  eval "$as_CACHEVAR=no"
14993 + fi
14994 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14995 +  CFLAGS=$ax_check_save_flags
14996 + fi
14997 + eval ac_res=\$$as_CACHEVAR
14998 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14999 + $as_echo "$ac_res" >&6; }
15000 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15001  
15002 + if ${CFLAGS+:} false; then :
15003  
15004 +  case " $CFLAGS " in #(
15005 +  *" $flag "*) :
15006 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15007 +  (: CFLAGS already contains $flag) 2>&5
15008 +  ac_status=$?
15009 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15010 +  test $ac_status = 0; } ;; #(
15011 +  *) :
15012  
15013 +     as_fn_append CFLAGS " $flag"
15014 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15015 +  (: CFLAGS="$CFLAGS") 2>&5
15016 +  ac_status=$?
15017 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15018 +  test $ac_status = 0; }
15019 +     ;;
15020 + esac
15021  
15022 + else
15023  
15024 +  CFLAGS=$flag
15025 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15026 +  (: CFLAGS="$CFLAGS") 2>&5
15027 +  ac_status=$?
15028 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15029 +  test $ac_status = 0; }
15030  
15031 + fi
15032  
15033 + else
15034 +  :
15035 + fi
15036  
15037 + done
15038  
15039  
15040  
15041  
15042  
15043 + for flag in -Wduplicated-cond; do
15044 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15045 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15046 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15047 + if eval \${$as_CACHEVAR+:} false; then :
15048 +  $as_echo_n "(cached) " >&6
15049 + else
15050  
15051 +  ax_check_save_flags=$CFLAGS
15052 +  CFLAGS="$CFLAGS  $flag"
15053 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 + /* end confdefs.h.  */
15055  
15056 + int
15057 + main ()
15058 + {
15059  
15060 +  ;
15061 +  return 0;
15062 + }
15063 + _ACEOF
15064 + if ac_fn_c_try_compile "$LINENO"; then :
15065 +  eval "$as_CACHEVAR=yes"
15066 + else
15067 +  eval "$as_CACHEVAR=no"
15068 + fi
15069 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15070 +  CFLAGS=$ax_check_save_flags
15071 + fi
15072 + eval ac_res=\$$as_CACHEVAR
15073 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15074 + $as_echo "$ac_res" >&6; }
15075 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15076 +
15077 + if ${CFLAGS+:} false; then :
15078 +
15079 +  case " $CFLAGS " in #(
15080 +  *" $flag "*) :
15081 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15082 +  (: CFLAGS already contains $flag) 2>&5
15083 +  ac_status=$?
15084 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15085 +  test $ac_status = 0; } ;; #(
15086 +  *) :
15087 +
15088 +     as_fn_append CFLAGS " $flag"
15089 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15090 +  (: CFLAGS="$CFLAGS") 2>&5
15091 +  ac_status=$?
15092 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15093 +  test $ac_status = 0; }
15094 +     ;;
15095 + esac
15096 +
15097 + else
15098  
15099 +  CFLAGS=$flag
15100 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15101 +  (: CFLAGS="$CFLAGS") 2>&5
15102 +  ac_status=$?
15103 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 +  test $ac_status = 0; }
15105  
15106 + fi
15107  
15108 + else
15109 +  :
15110 + fi
15111  
15112 + done
15113  
15114  
15115  
12811 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12812 – $as_echo_n "checking for /dev/null... " >&6; }
12813 – if test -c /dev/null ; then
15116  
12815 – $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
15117  
15118 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15119 < $as_echo "yes" >&6; }
15118 > for flag in -Wempty-body; do
15119 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15120 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15121 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15122 > if eval \${$as_CACHEVAR+:} false; then :
15123 >  $as_echo_n "(cached) " >&6
15124   else
15125  
15126 < $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
15126 >  ax_check_save_flags=$CFLAGS
15127 >  CFLAGS="$CFLAGS  $flag"
15128 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 > /* end confdefs.h.  */
15130 >
15131 > int
15132 > main ()
15133 > {
15134  
15135 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
15136 < $as_echo "no - using devnull.log" >&6; }
15135 >  ;
15136 >  return 0;
15137 > }
15138 > _ACEOF
15139 > if ac_fn_c_try_compile "$LINENO"; then :
15140 >  eval "$as_CACHEVAR=yes"
15141 > else
15142 >  eval "$as_CACHEVAR=no"
15143 > fi
15144 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15145 >  CFLAGS=$ax_check_save_flags
15146   fi
15147 + eval ac_res=\$$as_CACHEVAR
15148 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15149 + $as_echo "$ac_res" >&6; }
15150 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15151  
15152 + if ${CFLAGS+:} false; then :
15153  
15154 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
15155 < $as_echo_n "checking for library containing crypt... " >&6; }
15156 < if test "${ac_cv_search_crypt+set}" = set; then :
15154 >  case " $CFLAGS " in #(
15155 >  *" $flag "*) :
15156 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15157 >  (: CFLAGS already contains $flag) 2>&5
15158 >  ac_status=$?
15159 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15160 >  test $ac_status = 0; } ;; #(
15161 >  *) :
15162 >
15163 >     as_fn_append CFLAGS " $flag"
15164 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15165 >  (: CFLAGS="$CFLAGS") 2>&5
15166 >  ac_status=$?
15167 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15168 >  test $ac_status = 0; }
15169 >     ;;
15170 > esac
15171 >
15172 > else
15173 >
15174 >  CFLAGS=$flag
15175 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15176 >  (: CFLAGS="$CFLAGS") 2>&5
15177 >  ac_status=$?
15178 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15179 >  test $ac_status = 0; }
15180 >
15181 > fi
15182 >
15183 > else
15184 >  :
15185 > fi
15186 >
15187 > done
15188 >
15189 >
15190 >
15191 >
15192 >
15193 > for flag in -Wignored-qualifiers; do
15194 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15195 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15196 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15197 > if eval \${$as_CACHEVAR+:} false; then :
15198    $as_echo_n "(cached) " >&6
15199   else
15200 <  ac_func_search_save_LIBS=$LIBS
15201 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15200 >
15201 >  ax_check_save_flags=$CFLAGS
15202 >  CFLAGS="$CFLAGS  $flag"
15203 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15204   /* end confdefs.h.  */
15205  
12837 – /* Override any GCC internal prototype to avoid an error.
12838 –   Use char because int might match the return type of a GCC
12839 –   builtin and then its argument prototype would still apply.  */
12840 – #ifdef __cplusplus
12841 – extern "C"
12842 – #endif
12843 – char crypt ();
15206   int
15207   main ()
15208   {
15209 < return crypt ();
15209 >
15210    ;
15211    return 0;
15212   }
15213   _ACEOF
15214 < for ac_lib in '' crypt; do
15215 <  if test -z "$ac_lib"; then
15216 <    ac_res="none required"
15217 <  else
12856 <    ac_res=-l$ac_lib
12857 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12858 <  fi
12859 <  if ac_fn_c_try_link "$LINENO"; then :
12860 <  ac_cv_search_crypt=$ac_res
15214 > if ac_fn_c_try_compile "$LINENO"; then :
15215 >  eval "$as_CACHEVAR=yes"
15216 > else
15217 >  eval "$as_CACHEVAR=no"
15218   fi
15219 < rm -f core conftest.err conftest.$ac_objext \
15220 <    conftest$ac_exeext
15221 <  if test "${ac_cv_search_crypt+set}" = set; then :
15222 <  break
15219 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15220 >  CFLAGS=$ax_check_save_flags
15221 > fi
15222 > eval ac_res=\$$as_CACHEVAR
15223 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15224 > $as_echo "$ac_res" >&6; }
15225 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15226 >
15227 > if ${CFLAGS+:} false; then :
15228 >
15229 >  case " $CFLAGS " in #(
15230 >  *" $flag "*) :
15231 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15232 >  (: CFLAGS already contains $flag) 2>&5
15233 >  ac_status=$?
15234 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15235 >  test $ac_status = 0; } ;; #(
15236 >  *) :
15237 >
15238 >     as_fn_append CFLAGS " $flag"
15239 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15240 >  (: CFLAGS="$CFLAGS") 2>&5
15241 >  ac_status=$?
15242 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15243 >  test $ac_status = 0; }
15244 >     ;;
15245 > esac
15246 >
15247 > else
15248 >
15249 >  CFLAGS=$flag
15250 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15251 >  (: CFLAGS="$CFLAGS") 2>&5
15252 >  ac_status=$?
15253 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15254 >  test $ac_status = 0; }
15255 >
15256 > fi
15257 >
15258 > else
15259 >  :
15260   fi
15261 +
15262   done
12868 – if test "${ac_cv_search_crypt+set}" = set; then :
15263  
15264 +
15265 +
15266 +
15267 +
15268 + for flag in -Wlogical-op; do
15269 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15270 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15271 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15272 + if eval \${$as_CACHEVAR+:} false; then :
15273 +  $as_echo_n "(cached) " >&6
15274   else
15275 <  ac_cv_search_crypt=no
15275 >
15276 >  ax_check_save_flags=$CFLAGS
15277 >  CFLAGS="$CFLAGS  $flag"
15278 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 > /* end confdefs.h.  */
15280 >
15281 > int
15282 > main ()
15283 > {
15284 >
15285 >  ;
15286 >  return 0;
15287 > }
15288 > _ACEOF
15289 > if ac_fn_c_try_compile "$LINENO"; then :
15290 >  eval "$as_CACHEVAR=yes"
15291 > else
15292 >  eval "$as_CACHEVAR=no"
15293   fi
15294 < rm conftest.$ac_ext
15295 < LIBS=$ac_func_search_save_LIBS
15294 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15295 >  CFLAGS=$ax_check_save_flags
15296 > fi
15297 > eval ac_res=\$$as_CACHEVAR
15298 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15299 > $as_echo "$ac_res" >&6; }
15300 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15301 >
15302 > if ${CFLAGS+:} false; then :
15303 >
15304 >  case " $CFLAGS " in #(
15305 >  *" $flag "*) :
15306 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15307 >  (: CFLAGS already contains $flag) 2>&5
15308 >  ac_status=$?
15309 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15310 >  test $ac_status = 0; } ;; #(
15311 >  *) :
15312 >
15313 >     as_fn_append CFLAGS " $flag"
15314 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15315 >  (: CFLAGS="$CFLAGS") 2>&5
15316 >  ac_status=$?
15317 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15318 >  test $ac_status = 0; }
15319 >     ;;
15320 > esac
15321 >
15322 > else
15323 >
15324 >  CFLAGS=$flag
15325 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15326 >  (: CFLAGS="$CFLAGS") 2>&5
15327 >  ac_status=$?
15328 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 >  test $ac_status = 0; }
15330 >
15331   fi
12876 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12877 – $as_echo "$ac_cv_search_crypt" >&6; }
12878 – ac_res=$ac_cv_search_crypt
12879 – if test "$ac_res" != no; then :
12880 –  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15332  
15333 + else
15334 +  :
15335   fi
15336  
15337 + done
15338 +
15339  
15340  
15341  
15342 < # Check whether --with-zlib-path was given.
15343 < if test "${with_zlib_path+set}" = set; then :
15344 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
15342 >
15343 > for flag in -Wmissing-declarations; do
15344 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15345 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15346 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15347 > if eval \${$as_CACHEVAR+:} false; then :
15348 >  $as_echo_n "(cached) " >&6
15349 > else
15350 >
15351 >  ax_check_save_flags=$CFLAGS
15352 >  CFLAGS="$CFLAGS  $flag"
15353 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 > /* end confdefs.h.  */
15355 >
15356 > int
15357 > main ()
15358 > {
15359 >
15360 >  ;
15361 >  return 0;
15362 > }
15363 > _ACEOF
15364 > if ac_fn_c_try_compile "$LINENO"; then :
15365 >  eval "$as_CACHEVAR=yes"
15366 > else
15367 >  eval "$as_CACHEVAR=no"
15368 > fi
15369 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15370 >  CFLAGS=$ax_check_save_flags
15371   fi
15372 + eval ac_res=\$$as_CACHEVAR
15373 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15374 + $as_echo "$ac_res" >&6; }
15375 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15376 +
15377 + if ${CFLAGS+:} false; then :
15378 +
15379 +  case " $CFLAGS " in #(
15380 +  *" $flag "*) :
15381 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15382 +  (: CFLAGS already contains $flag) 2>&5
15383 +  ac_status=$?
15384 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15385 +  test $ac_status = 0; } ;; #(
15386 +  *) :
15387 +
15388 +     as_fn_append CFLAGS " $flag"
15389 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15390 +  (: CFLAGS="$CFLAGS") 2>&5
15391 +  ac_status=$?
15392 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 +  test $ac_status = 0; }
15394 +     ;;
15395 + esac
15396  
15397 + else
15398 +
15399 +  CFLAGS=$flag
15400 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15401 +  (: CFLAGS="$CFLAGS") 2>&5
15402 +  ac_status=$?
15403 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15404 +  test $ac_status = 0; }
15405 +
15406 + fi
15407  
12893 – # Check whether --enable-zlib was given.
12894 – if test "${enable_zlib+set}" = set; then :
12895 –  enableval=$enable_zlib; zlib=$enableval
15408   else
15409 <  zlib=yes
15409 >  :
15410   fi
15411  
15412 + done
15413 +
15414 +
15415 +
15416  
15417 < if test "$zlib" = yes; then
15418 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
15419 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
15420 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
15421 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
15422 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
15417 >
15418 > for flag in -Wmissing-field-initializers; do
15419 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15420 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15421 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15422 > if eval \${$as_CACHEVAR+:} false; then :
15423    $as_echo_n "(cached) " >&6
15424   else
15425 <  ac_check_lib_save_LIBS=$LIBS
15426 < LIBS="-lz  $LIBS"
15427 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15425 >
15426 >  ax_check_save_flags=$CFLAGS
15427 >  CFLAGS="$CFLAGS  $flag"
15428 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15429   /* end confdefs.h.  */
15430  
12914 – /* Override any GCC internal prototype to avoid an error.
12915 –   Use char because int might match the return type of a GCC
12916 –   builtin and then its argument prototype would still apply.  */
12917 – #ifdef __cplusplus
12918 – extern "C"
12919 – #endif
12920 – char zlibVersion ();
15431   int
15432   main ()
15433   {
15434 < return zlibVersion ();
15434 >
15435    ;
15436    return 0;
15437   }
15438   _ACEOF
15439 < if ac_fn_c_try_link "$LINENO"; then :
15440 <  ac_cv_lib_z_zlibVersion=yes
15439 > if ac_fn_c_try_compile "$LINENO"; then :
15440 >  eval "$as_CACHEVAR=yes"
15441   else
15442 <  ac_cv_lib_z_zlibVersion=no
15442 >  eval "$as_CACHEVAR=no"
15443   fi
15444 < rm -f core conftest.err conftest.$ac_objext \
15445 <    conftest$ac_exeext conftest.$ac_ext
12936 < LIBS=$ac_check_lib_save_LIBS
15444 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15445 >  CFLAGS=$ax_check_save_flags
15446   fi
15447 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
15448 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
15449 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
15447 > eval ac_res=\$$as_CACHEVAR
15448 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15449 > $as_echo "$ac_res" >&6; }
15450 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15451 >
15452 > if ${CFLAGS+:} false; then :
15453 >
15454 >  case " $CFLAGS " in #(
15455 >  *" $flag "*) :
15456 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15457 >  (: CFLAGS already contains $flag) 2>&5
15458 >  ac_status=$?
15459 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15460 >  test $ac_status = 0; } ;; #(
15461 >  *) :
15462 >
15463 >     as_fn_append CFLAGS " $flag"
15464 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15465 >  (: CFLAGS="$CFLAGS") 2>&5
15466 >  ac_status=$?
15467 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15468 >  test $ac_status = 0; }
15469 >     ;;
15470 > esac
15471  
15472 <      LIBS="-lz $LIBS"
15472 > else
15473  
15474 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
15474 >  CFLAGS=$flag
15475 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15476 >  (: CFLAGS="$CFLAGS") 2>&5
15477 >  ac_status=$?
15478 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15479 >  test $ac_status = 0; }
15480  
15481 + fi
15482  
15483   else
15484 <  zlib=no
15484 >  :
15485   fi
15486  
15487 + done
15488 +
15489 +
15490 +
15491 +
15492 +
15493 + for flag in -Wmissing-include-dirs; do
15494 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15495 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15496 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15497 + if eval \${$as_CACHEVAR+:} false; then :
15498 +  $as_echo_n "(cached) " >&6
15499 + else
15500 +
15501 +  ax_check_save_flags=$CFLAGS
15502 +  CFLAGS="$CFLAGS  $flag"
15503 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 + /* end confdefs.h.  */
15505 +
15506 + int
15507 + main ()
15508 + {
15509  
15510 +  ;
15511 +  return 0;
15512 + }
15513 + _ACEOF
15514 + if ac_fn_c_try_compile "$LINENO"; then :
15515 +  eval "$as_CACHEVAR=yes"
15516   else
15517 <  zlib=no
15517 >  eval "$as_CACHEVAR=no"
15518 > fi
15519 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15520 >  CFLAGS=$ax_check_save_flags
15521   fi
15522 + eval ac_res=\$$as_CACHEVAR
15523 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15524 + $as_echo "$ac_res" >&6; }
15525 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15526 +
15527 + if ${CFLAGS+:} false; then :
15528 +
15529 +  case " $CFLAGS " in #(
15530 +  *" $flag "*) :
15531 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15532 +  (: CFLAGS already contains $flag) 2>&5
15533 +  ac_status=$?
15534 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15535 +  test $ac_status = 0; } ;; #(
15536 +  *) :
15537 +
15538 +     as_fn_append CFLAGS " $flag"
15539 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15540 +  (: CFLAGS="$CFLAGS") 2>&5
15541 +  ac_status=$?
15542 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15543 +  test $ac_status = 0; }
15544 +     ;;
15545 + esac
15546 +
15547 + else
15548 +
15549 +  CFLAGS=$flag
15550 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15551 +  (: CFLAGS="$CFLAGS") 2>&5
15552 +  ac_status=$?
15553 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15554 +  test $ac_status = 0; }
15555  
15556 + fi
15557  
15558 + else
15559 +  :
15560   fi
15561  
15562 + done
15563  
15564 < # Check whether --enable-openssl was given.
15565 < if test "${enable_openssl+set}" = set; then :
15566 <  enableval=$enable_openssl;  cf_enable_openssl=$enableval
15564 >
15565 >
15566 >
15567 >
15568 > for flag in -Wmissing-parameter-type; do
15569 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15570 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15571 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15572 > if eval \${$as_CACHEVAR+:} false; then :
15573 >  $as_echo_n "(cached) " >&6
15574   else
15575 <   cf_enable_openssl="auto"
15575 >
15576 >  ax_check_save_flags=$CFLAGS
15577 >  CFLAGS="$CFLAGS  $flag"
15578 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 > /* end confdefs.h.  */
15580 >
15581 > int
15582 > main ()
15583 > {
15584 >
15585 >  ;
15586 >  return 0;
15587 > }
15588 > _ACEOF
15589 > if ac_fn_c_try_compile "$LINENO"; then :
15590 >  eval "$as_CACHEVAR=yes"
15591 > else
15592 >  eval "$as_CACHEVAR=no"
15593 > fi
15594 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15595 >  CFLAGS=$ax_check_save_flags
15596   fi
15597 + eval ac_res=\$$as_CACHEVAR
15598 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15599 + $as_echo "$ac_res" >&6; }
15600 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15601  
15602 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
12968 < $as_echo_n "checking for OpenSSL... " >&6; }
12969 < if test "$cf_enable_openssl" != "no"; then
12970 <  cf_openssl_basedir=""
12971 <  if test "$cf_enable_openssl" != "auto" &&
12972 <     test "$cf_enable_openssl" != "yes"; then
12973 <          cf_openssl_basedir="${cf_enable_openssl}"
12974 <  else
12975 <        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12976 <                /opt /opt/openssl /usr/local/openssl; do
12977 <      if test -f "${dirs}/include/openssl/opensslv.h"; then
12978 <        cf_openssl_basedir="${dirs}"
12979 <        break
12980 <      fi
12981 <    done
12982 <    unset dirs
12983 <  fi
15602 > if ${CFLAGS+:} false; then :
15603  
15604 <    if test ! -z "$cf_openssl_basedir"; then
15605 <    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
15606 <      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
15607 <      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
15608 <    else
15609 <                  cf_openssl_basedir=""
15610 <    fi
15611 <  else
12993 <                            if test -f "/usr/include/openssl/opensslv.h"; then
12994 <      cf_openssl_basedir="/usr"
12995 <    fi
12996 <  fi
15604 >  case " $CFLAGS " in #(
15605 >  *" $flag "*) :
15606 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15607 >  (: CFLAGS already contains $flag) 2>&5
15608 >  ac_status=$?
15609 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15610 >  test $ac_status = 0; } ;; #(
15611 >  *) :
15612  
15613 <      if test ! -z "$cf_openssl_basedir"; then
15614 <    LIBS="-lcrypto -lssl $LIBS"
15615 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
15616 < $as_echo "$cf_openssl_basedir" >&6; }
15617 <    cf_enable_openssl="yes"
15613 >     as_fn_append CFLAGS " $flag"
15614 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15615 >  (: CFLAGS="$CFLAGS") 2>&5
15616 >  ac_status=$?
15617 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15618 >  test $ac_status = 0; }
15619 >     ;;
15620 > esac
15621  
15622 < $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
15622 > else
15623 >
15624 >  CFLAGS=$flag
15625 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15626 >  (: CFLAGS="$CFLAGS") 2>&5
15627 >  ac_status=$?
15628 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15629 >  test $ac_status = 0; }
15630 >
15631 > fi
15632  
13006 –  else
13007 –    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13008 – $as_echo "not found.  Please check your path." >&6; }
13009 –    cf_enable_openssl="no"
13010 –  fi
13011 –  unset cf_openssl_basedir
15633   else
15634 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13014 < $as_echo "disabled" >&6; }
15634 >  :
15635   fi
15636 < if test "$cf_enable_openssl" = yes; then
15637 <  ENABLE_SSL_TRUE=
15638 <  ENABLE_SSL_FALSE='#'
15636 >
15637 > done
15638 >
15639 >
15640 >
15641 >
15642 >
15643 > for flag in -Wmissing-prototypes; do
15644 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15645 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15646 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15647 > if eval \${$as_CACHEVAR+:} false; then :
15648 >  $as_echo_n "(cached) " >&6
15649 > else
15650 >
15651 >  ax_check_save_flags=$CFLAGS
15652 >  CFLAGS="$CFLAGS  $flag"
15653 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 > /* end confdefs.h.  */
15655 >
15656 > int
15657 > main ()
15658 > {
15659 >
15660 >  ;
15661 >  return 0;
15662 > }
15663 > _ACEOF
15664 > if ac_fn_c_try_compile "$LINENO"; then :
15665 >  eval "$as_CACHEVAR=yes"
15666   else
15667 <  ENABLE_SSL_TRUE='#'
13021 <  ENABLE_SSL_FALSE=
15667 >  eval "$as_CACHEVAR=no"
15668   fi
15669 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670 +  CFLAGS=$ax_check_save_flags
15671 + fi
15672 + eval ac_res=\$$as_CACHEVAR
15673 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15674 + $as_echo "$ac_res" >&6; }
15675 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15676  
15677 + if ${CFLAGS+:} false; then :
15678  
15679 +  case " $CFLAGS " in #(
15680 +  *" $flag "*) :
15681 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15682 +  (: CFLAGS already contains $flag) 2>&5
15683 +  ac_status=$?
15684 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15685 +  test $ac_status = 0; } ;; #(
15686 +  *) :
15687 +
15688 +     as_fn_append CFLAGS " $flag"
15689 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15690 +  (: CFLAGS="$CFLAGS") 2>&5
15691 +  ac_status=$?
15692 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15693 +  test $ac_status = 0; }
15694 +     ;;
15695 + esac
15696  
13026 – # Check whether --enable-assert was given.
13027 – if test "${enable_assert+set}" = set; then :
13028 –  enableval=$enable_assert; assert=$enableval
15697   else
15698 <  assert=no
15698 >
15699 >  CFLAGS=$flag
15700 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15701 >  (: CFLAGS="$CFLAGS") 2>&5
15702 >  ac_status=$?
15703 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15704 >  test $ac_status = 0; }
15705 >
15706 > fi
15707 >
15708 > else
15709 >  :
15710   fi
15711  
15712 < if test "$assert" = no; then
15712 > done
15713 >
15714  
13035 – $as_echo "#define NDEBUG 1" >>confdefs.h
15715  
15716 +
15717 +
15718 + for flag in -Wnested-externs; do
15719 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15720 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15721 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15722 + if eval \${$as_CACHEVAR+:} false; then :
15723 +  $as_echo_n "(cached) " >&6
15724 + else
15725 +
15726 +  ax_check_save_flags=$CFLAGS
15727 +  CFLAGS="$CFLAGS  $flag"
15728 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15729 + /* end confdefs.h.  */
15730 +
15731 + int
15732 + main ()
15733 + {
15734 +
15735 +  ;
15736 +  return 0;
15737 + }
15738 + _ACEOF
15739 + if ac_fn_c_try_compile "$LINENO"; then :
15740 +  eval "$as_CACHEVAR=yes"
15741 + else
15742 +  eval "$as_CACHEVAR=no"
15743 + fi
15744 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15745 +  CFLAGS=$ax_check_save_flags
15746   fi
15747 + eval ac_res=\$$as_CACHEVAR
15748 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15749 + $as_echo "$ac_res" >&6; }
15750 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15751 +
15752 + if ${CFLAGS+:} false; then :
15753 +
15754 +  case " $CFLAGS " in #(
15755 +  *" $flag "*) :
15756 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15757 +  (: CFLAGS already contains $flag) 2>&5
15758 +  ac_status=$?
15759 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15760 +  test $ac_status = 0; } ;; #(
15761 +  *) :
15762  
15763 +     as_fn_append CFLAGS " $flag"
15764 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15765 +  (: CFLAGS="$CFLAGS") 2>&5
15766 +  ac_status=$?
15767 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15768 +  test $ac_status = 0; }
15769 +     ;;
15770 + esac
15771  
13040 – # Check whether --enable-small-net was given.
13041 – if test "${enable_small_net+set}" = set; then :
13042 –  enableval=$enable_small_net; small_net=$enableval
15772   else
15773 <  small_net=no
15773 >
15774 >  CFLAGS=$flag
15775 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15776 >  (: CFLAGS="$CFLAGS") 2>&5
15777 >  ac_status=$?
15778 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15779 >  test $ac_status = 0; }
15780 >
15781   fi
15782  
15783 + else
15784 +  :
15785 + fi
15786  
15787 < if test "$small_net" = yes; then
15787 > done
15788  
13050 – $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
15789  
15790  
13053 – $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
15791  
15792  
15793 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
15793 > for flag in -Wold-style-declaration; do
15794 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15795 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15796 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15797 > if eval \${$as_CACHEVAR+:} false; then :
15798 >  $as_echo_n "(cached) " >&6
15799 > else
15800  
15801 +  ax_check_save_flags=$CFLAGS
15802 +  CFLAGS="$CFLAGS  $flag"
15803 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 + /* end confdefs.h.  */
15805  
15806 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
15806 > int
15807 > main ()
15808 > {
15809  
15810 +  ;
15811 +  return 0;
15812 + }
15813 + _ACEOF
15814 + if ac_fn_c_try_compile "$LINENO"; then :
15815 +  eval "$as_CACHEVAR=yes"
15816 + else
15817 +  eval "$as_CACHEVAR=no"
15818 + fi
15819 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15820 +  CFLAGS=$ax_check_save_flags
15821 + fi
15822 + eval ac_res=\$$as_CACHEVAR
15823 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15824 + $as_echo "$ac_res" >&6; }
15825 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15826  
15827 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
15827 > if ${CFLAGS+:} false; then :
15828  
15829 +  case " $CFLAGS " in #(
15830 +  *" $flag "*) :
15831 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15832 +  (: CFLAGS already contains $flag) 2>&5
15833 +  ac_status=$?
15834 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15835 +  test $ac_status = 0; } ;; #(
15836 +  *) :
15837  
15838 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
15838 >     as_fn_append CFLAGS " $flag"
15839 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15840 >  (: CFLAGS="$CFLAGS") 2>&5
15841 >  ac_status=$?
15842 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15843 >  test $ac_status = 0; }
15844 >     ;;
15845 > esac
15846  
15847 + else
15848  
15849 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
15849 >  CFLAGS=$flag
15850 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15851 >  (: CFLAGS="$CFLAGS") 2>&5
15852 >  ac_status=$?
15853 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15854 >  test $ac_status = 0; }
15855  
15856 + fi
15857  
15858 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
15858 > else
15859 >  :
15860 > fi
15861 >
15862 > done
15863  
15864  
13074 – $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
15865  
15866  
13077 – $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
15867  
15868 + for flag in -Woverride-init; do
15869 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15870 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15871 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15872 + if eval \${$as_CACHEVAR+:} false; then :
15873 +  $as_echo_n "(cached) " >&6
15874   else
15875  
15876 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
15876 >  ax_check_save_flags=$CFLAGS
15877 >  CFLAGS="$CFLAGS  $flag"
15878 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 > /* end confdefs.h.  */
15880 >
15881 > int
15882 > main ()
15883 > {
15884 >
15885 >  ;
15886 >  return 0;
15887 > }
15888 > _ACEOF
15889 > if ac_fn_c_try_compile "$LINENO"; then :
15890 >  eval "$as_CACHEVAR=yes"
15891 > else
15892 >  eval "$as_CACHEVAR=no"
15893 > fi
15894 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15895 >  CFLAGS=$ax_check_save_flags
15896 > fi
15897 > eval ac_res=\$$as_CACHEVAR
15898 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15899 > $as_echo "$ac_res" >&6; }
15900 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15901  
15902 + if ${CFLAGS+:} false; then :
15903  
15904 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
15904 >  case " $CFLAGS " in #(
15905 >  *" $flag "*) :
15906 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15907 >  (: CFLAGS already contains $flag) 2>&5
15908 >  ac_status=$?
15909 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15910 >  test $ac_status = 0; } ;; #(
15911 >  *) :
15912  
15913 +     as_fn_append CFLAGS " $flag"
15914 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15915 +  (: CFLAGS="$CFLAGS") 2>&5
15916 +  ac_status=$?
15917 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15918 +  test $ac_status = 0; }
15919 +     ;;
15920 + esac
15921  
15922 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
15922 > else
15923  
15924 +  CFLAGS=$flag
15925 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15926 +  (: CFLAGS="$CFLAGS") 2>&5
15927 +  ac_status=$?
15928 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15929 +  test $ac_status = 0; }
15930  
15931 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
15931 > fi
15932  
15933 + else
15934 +  :
15935 + fi
15936  
15937 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
15937 > done
15938  
15939  
13096 – $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
15940  
15941  
13099 – $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
15942  
15943 + for flag in -Wpointer-arith; do
15944 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15945 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15946 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15947 + if eval \${$as_CACHEVAR+:} false; then :
15948 +  $as_echo_n "(cached) " >&6
15949 + else
15950  
15951 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
15951 >  ax_check_save_flags=$CFLAGS
15952 >  CFLAGS="$CFLAGS  $flag"
15953 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15954 > /* end confdefs.h.  */
15955  
15956 + int
15957 + main ()
15958 + {
15959  
15960 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
15960 >  ;
15961 >  return 0;
15962 > }
15963 > _ACEOF
15964 > if ac_fn_c_try_compile "$LINENO"; then :
15965 >  eval "$as_CACHEVAR=yes"
15966 > else
15967 >  eval "$as_CACHEVAR=no"
15968 > fi
15969 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15970 >  CFLAGS=$ax_check_save_flags
15971 > fi
15972 > eval ac_res=\$$as_CACHEVAR
15973 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15974 > $as_echo "$ac_res" >&6; }
15975 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15976  
15977 + if ${CFLAGS+:} false; then :
15978  
15979 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
15979 >  case " $CFLAGS " in #(
15980 >  *" $flag "*) :
15981 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15982 >  (: CFLAGS already contains $flag) 2>&5
15983 >  ac_status=$?
15984 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15985 >  test $ac_status = 0; } ;; #(
15986 >  *) :
15987 >
15988 >     as_fn_append CFLAGS " $flag"
15989 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15990 >  (: CFLAGS="$CFLAGS") 2>&5
15991 >  ac_status=$?
15992 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15993 >  test $ac_status = 0; }
15994 >     ;;
15995 > esac
15996 >
15997 > else
15998 >
15999 >  CFLAGS=$flag
16000 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16001 >  (: CFLAGS="$CFLAGS") 2>&5
16002 >  ac_status=$?
16003 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16004 >  test $ac_status = 0; }
16005  
16006   fi
16007  
16008 + else
16009 +  :
16010 + fi
16011  
16012 < # Argument processing.
16012 > done
16013  
16014 <    desired_iopoll_mechanism="none"
16015 <    # Check whether --enable-kqueue was given.
16016 < if test "${enable_kqueue+set}" = set; then :
16017 <  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
16014 >
16015 >
16016 >
16017 >
16018 > for flag in -Wredundant-decls; do
16019 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16020 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16021 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16022 > if eval \${$as_CACHEVAR+:} false; then :
16023 >  $as_echo_n "(cached) " >&6
16024 > else
16025 >
16026 >  ax_check_save_flags=$CFLAGS
16027 >  CFLAGS="$CFLAGS  $flag"
16028 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16029 > /* end confdefs.h.  */
16030 >
16031 > int
16032 > main ()
16033 > {
16034 >
16035 >  ;
16036 >  return 0;
16037 > }
16038 > _ACEOF
16039 > if ac_fn_c_try_compile "$LINENO"; then :
16040 >  eval "$as_CACHEVAR=yes"
16041 > else
16042 >  eval "$as_CACHEVAR=no"
16043 > fi
16044 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16045 >  CFLAGS=$ax_check_save_flags
16046   fi
16047 + eval ac_res=\$$as_CACHEVAR
16048 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16049 + $as_echo "$ac_res" >&6; }
16050 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16051 +
16052 + if ${CFLAGS+:} false; then :
16053 +
16054 +  case " $CFLAGS " in #(
16055 +  *" $flag "*) :
16056 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16057 +  (: CFLAGS already contains $flag) 2>&5
16058 +  ac_status=$?
16059 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16060 +  test $ac_status = 0; } ;; #(
16061 +  *) :
16062 +
16063 +     as_fn_append CFLAGS " $flag"
16064 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16065 +  (: CFLAGS="$CFLAGS") 2>&5
16066 +  ac_status=$?
16067 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16068 +  test $ac_status = 0; }
16069 +     ;;
16070 + esac
16071 +
16072 + else
16073 +
16074 +  CFLAGS=$flag
16075 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16076 +  (: CFLAGS="$CFLAGS") 2>&5
16077 +  ac_status=$?
16078 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16079 +  test $ac_status = 0; }
16080  
13121 –  # Check whether --enable-epoll was given.
13122 – if test "${enable_epoll+set}" = set; then :
13123 –  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
16081   fi
16082  
16083 <  # Check whether --enable-devpoll was given.
16084 < if test "${enable_devpoll+set}" = set; then :
13128 <  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
16083 > else
16084 >  :
16085   fi
16086  
16087 <  # Check whether --enable-rtsigio was given.
16088 < if test "${enable_rtsigio+set}" = set; then :
16089 <  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
16087 > done
16088 >
16089 >
16090 >
16091 >
16092 >
16093 > for flag in -Wshadow; do
16094 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16095 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16096 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16097 > if eval \${$as_CACHEVAR+:} false; then :
16098 >  $as_echo_n "(cached) " >&6
16099 > else
16100 >
16101 >  ax_check_save_flags=$CFLAGS
16102 >  CFLAGS="$CFLAGS  $flag"
16103 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 > /* end confdefs.h.  */
16105 >
16106 > int
16107 > main ()
16108 > {
16109 >
16110 >  ;
16111 >  return 0;
16112 > }
16113 > _ACEOF
16114 > if ac_fn_c_try_compile "$LINENO"; then :
16115 >  eval "$as_CACHEVAR=yes"
16116 > else
16117 >  eval "$as_CACHEVAR=no"
16118 > fi
16119 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16120 >  CFLAGS=$ax_check_save_flags
16121   fi
16122 + eval ac_res=\$$as_CACHEVAR
16123 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16124 + $as_echo "$ac_res" >&6; }
16125 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16126 +
16127 + if ${CFLAGS+:} false; then :
16128 +
16129 +  case " $CFLAGS " in #(
16130 +  *" $flag "*) :
16131 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16132 +  (: CFLAGS already contains $flag) 2>&5
16133 +  ac_status=$?
16134 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16135 +  test $ac_status = 0; } ;; #(
16136 +  *) :
16137 +
16138 +     as_fn_append CFLAGS " $flag"
16139 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16140 +  (: CFLAGS="$CFLAGS") 2>&5
16141 +  ac_status=$?
16142 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16143 +  test $ac_status = 0; }
16144 +     ;;
16145 + esac
16146 +
16147 + else
16148 +
16149 +  CFLAGS=$flag
16150 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16151 +  (: CFLAGS="$CFLAGS") 2>&5
16152 +  ac_status=$?
16153 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16154 +  test $ac_status = 0; }
16155  
13136 –  # Check whether --enable-poll was given.
13137 – if test "${enable_poll+set}" = set; then :
13138 –  enableval=$enable_poll; desired_iopoll_mechanism="poll"
16156   fi
16157  
16158 <  # Check whether --enable-select was given.
16159 < if test "${enable_select+set}" = set; then :
13143 <  enableval=$enable_select; desired_iopoll_mechanism="select"
16158 > else
16159 >  :
16160   fi
16161  
16162 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13147 < $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13148 <  iopoll_mechanism_none=0
16162 > done
16163  
13150 – cat >>confdefs.h <<_ACEOF
13151 – #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13152 – _ACEOF
16164  
13154 –      iopoll_mechanism_kqueue=1
16165  
13156 – cat >>confdefs.h <<_ACEOF
13157 – #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13158 – _ACEOF
16166  
16167 +
16168 + for flag in -Wshift-negative-value; do
16169 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16170 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16171 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16172 + if eval \${$as_CACHEVAR+:} false; then :
16173 +  $as_echo_n "(cached) " >&6
16174 + else
16175 +
16176 +  ax_check_save_flags=$CFLAGS
16177 +  CFLAGS="$CFLAGS  $flag"
16178    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16179   /* end confdefs.h.  */
13162 – /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13163 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13164 – #define kevent innocuous_kevent
16180  
16181 < /* System header to define __stub macros and hopefully few prototypes,
16182 <    which can conflict with char kevent (); below.
16183 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13169 <    <limits.h> exists even on freestanding compilers.  */
16181 > int
16182 > main ()
16183 > {
16184  
16185 < #ifdef __STDC__
16186 < # include <limits.h>
16187 < #else
16188 < # include <assert.h>
16189 < #endif
16185 >  ;
16186 >  return 0;
16187 > }
16188 > _ACEOF
16189 > if ac_fn_c_try_compile "$LINENO"; then :
16190 >  eval "$as_CACHEVAR=yes"
16191 > else
16192 >  eval "$as_CACHEVAR=no"
16193 > fi
16194 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16195 >  CFLAGS=$ax_check_save_flags
16196 > fi
16197 > eval ac_res=\$$as_CACHEVAR
16198 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16199 > $as_echo "$ac_res" >&6; }
16200 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16201  
16202 < #undef kevent
16202 > if ${CFLAGS+:} false; then :
16203 >
16204 >  case " $CFLAGS " in #(
16205 >  *" $flag "*) :
16206 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16207 >  (: CFLAGS already contains $flag) 2>&5
16208 >  ac_status=$?
16209 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16210 >  test $ac_status = 0; } ;; #(
16211 >  *) :
16212 >
16213 >     as_fn_append CFLAGS " $flag"
16214 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16215 >  (: CFLAGS="$CFLAGS") 2>&5
16216 >  ac_status=$?
16217 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16218 >  test $ac_status = 0; }
16219 >     ;;
16220 > esac
16221 >
16222 > else
16223 >
16224 >  CFLAGS=$flag
16225 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16226 >  (: CFLAGS="$CFLAGS") 2>&5
16227 >  ac_status=$?
16228 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16229 >  test $ac_status = 0; }
16230 >
16231 > fi
16232 >
16233 > else
16234 >  :
16235 > fi
16236 >
16237 > done
16238  
16239 < /* Override any GCC internal prototype to avoid an error.
16240 <   Use char because int might match the return type of a GCC
16241 <   builtin and then its argument prototype would still apply.  */
16242 < #ifdef __cplusplus
16243 < extern "C"
16244 < #endif
16245 < char kevent ();
16246 < /* The GNU C library defines this for functions which it implements
16247 <    to always fail with ENOSYS.  Some functions are actually named
16248 <    something starting with __ and the normal name is an alias.  */
16249 < #if defined __stub_kevent || defined __stub___kevent
16250 < choke me
16251 < #endif
16239 >
16240 >
16241 >
16242 >
16243 > for flag in -Wsign-compare; do
16244 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16245 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16246 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16247 > if eval \${$as_CACHEVAR+:} false; then :
16248 >  $as_echo_n "(cached) " >&6
16249 > else
16250 >
16251 >  ax_check_save_flags=$CFLAGS
16252 >  CFLAGS="$CFLAGS  $flag"
16253 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16254 > /* end confdefs.h.  */
16255  
16256   int
16257   main ()
16258   {
16259 < return kevent ();
16259 >
16260    ;
16261    return 0;
16262   }
16263   _ACEOF
16264 < if ac_fn_c_try_link "$LINENO"; then :
16265 <  is_kqueue_mechanism_available="yes"
16264 > if ac_fn_c_try_compile "$LINENO"; then :
16265 >  eval "$as_CACHEVAR=yes"
16266   else
16267 <  is_kqueue_mechanism_available="no"
16267 >  eval "$as_CACHEVAR=no"
16268   fi
16269 < rm -f core conftest.err conftest.$ac_objext \
16270 <    conftest$ac_exeext conftest.$ac_ext
16271 <      iopoll_mechanism_epoll=2
16269 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16270 >  CFLAGS=$ax_check_save_flags
16271 > fi
16272 > eval ac_res=\$$as_CACHEVAR
16273 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16274 > $as_echo "$ac_res" >&6; }
16275 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16276  
16277 < cat >>confdefs.h <<_ACEOF
13211 < #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
13212 < _ACEOF
16277 > if ${CFLAGS+:} false; then :
16278  
16279 <  if test "$cross_compiling" = yes; then :
16280 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16281 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16282 < as_fn_error "cannot run test program while cross compiling
16283 < See \`config.log' for more details." "$LINENO" 5; }
16279 >  case " $CFLAGS " in #(
16280 >  *" $flag "*) :
16281 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16282 >  (: CFLAGS already contains $flag) 2>&5
16283 >  ac_status=$?
16284 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16285 >  test $ac_status = 0; } ;; #(
16286 >  *) :
16287 >
16288 >     as_fn_append CFLAGS " $flag"
16289 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16290 >  (: CFLAGS="$CFLAGS") 2>&5
16291 >  ac_status=$?
16292 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16293 >  test $ac_status = 0; }
16294 >     ;;
16295 > esac
16296 >
16297 > else
16298 >
16299 >  CFLAGS=$flag
16300 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16301 >  (: CFLAGS="$CFLAGS") 2>&5
16302 >  ac_status=$?
16303 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16304 >  test $ac_status = 0; }
16305 >
16306 > fi
16307 >
16308 > else
16309 >  :
16310 > fi
16311 >
16312 > done
16313 >
16314 >
16315 >
16316 >
16317 >
16318 > for flag in -Wtype-limits; do
16319 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16320 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16321 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16322 > if eval \${$as_CACHEVAR+:} false; then :
16323 >  $as_echo_n "(cached) " >&6
16324   else
16325 +
16326 +  ax_check_save_flags=$CFLAGS
16327 +  CFLAGS="$CFLAGS  $flag"
16328    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329   /* end confdefs.h.  */
16330  
16331 < #include <sys/epoll.h>
16332 < #include <sys/syscall.h>
16333 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
13226 < #if !defined(__NR_epoll_create)
13227 < #if defined(__ia64__)
13228 < #define __NR_epoll_create 1243
13229 < #elif defined(__x86_64__)
13230 < #define __NR_epoll_create 214
13231 < #elif defined(__sparc64__) || defined(__sparc__)
13232 < #define __NR_epoll_create 193
13233 < #elif defined(__s390__) || defined(__m68k__)
13234 < #define __NR_epoll_create 249
13235 < #elif defined(__ppc64__) || defined(__ppc__)
13236 < #define __NR_epoll_create 236
13237 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13238 < #define __NR_epoll_create 224
13239 < #elif defined(__alpha__)
13240 < #define __NR_epoll_create 407
13241 < #elif defined(__sh64__)
13242 < #define __NR_epoll_create 282
13243 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13244 < #define __NR_epoll_create 254
13245 < #else
13246 < #error No system call numbers defined for epoll family.
13247 < #endif
13248 < #endif
13249 < _syscall1(int, epoll_create, int, size)
13250 < #endif
13251 < main() { return epoll_create(256) == -1 ? 1 : 0; }
16331 > int
16332 > main ()
16333 > {
16334  
16335 +  ;
16336 +  return 0;
16337 + }
16338   _ACEOF
16339 < if ac_fn_c_try_run "$LINENO"; then :
16340 <  is_epoll_mechanism_available="yes"
16339 > if ac_fn_c_try_compile "$LINENO"; then :
16340 >  eval "$as_CACHEVAR=yes"
16341   else
16342 <  is_epoll_mechanism_available="no"
16342 >  eval "$as_CACHEVAR=no"
16343   fi
16344 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16345 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
16344 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16345 >  CFLAGS=$ax_check_save_flags
16346   fi
16347 + eval ac_res=\$$as_CACHEVAR
16348 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16349 + $as_echo "$ac_res" >&6; }
16350 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16351  
16352 <      iopoll_mechanism_devpoll=3
16352 > if ${CFLAGS+:} false; then :
16353  
16354 < cat >>confdefs.h <<_ACEOF
16355 < #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
16354 >  case " $CFLAGS " in #(
16355 >  *" $flag "*) :
16356 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16357 >  (: CFLAGS already contains $flag) 2>&5
16358 >  ac_status=$?
16359 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16360 >  test $ac_status = 0; } ;; #(
16361 >  *) :
16362 >
16363 >     as_fn_append CFLAGS " $flag"
16364 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16365 >  (: CFLAGS="$CFLAGS") 2>&5
16366 >  ac_status=$?
16367 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16368 >  test $ac_status = 0; }
16369 >     ;;
16370 > esac
16371 >
16372 > else
16373 >
16374 >  CFLAGS=$flag
16375 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16376 >  (: CFLAGS="$CFLAGS") 2>&5
16377 >  ac_status=$?
16378 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16379 >  test $ac_status = 0; }
16380 >
16381 > fi
16382 >
16383 > else
16384 >  :
16385 > fi
16386 >
16387 > done
16388 >
16389 >
16390 >
16391 >
16392 >
16393 > for flag in -Wundef; do
16394 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16395 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16396 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16397 > if eval \${$as_CACHEVAR+:} false; then :
16398 >  $as_echo_n "(cached) " >&6
16399 > else
16400 >
16401 >  ax_check_save_flags=$CFLAGS
16402 >  CFLAGS="$CFLAGS  $flag"
16403 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 > /* end confdefs.h.  */
16405 >
16406 > int
16407 > main ()
16408 > {
16409 >
16410 >  ;
16411 >  return 0;
16412 > }
16413   _ACEOF
16414 + if ac_fn_c_try_compile "$LINENO"; then :
16415 +  eval "$as_CACHEVAR=yes"
16416 + else
16417 +  eval "$as_CACHEVAR=no"
16418 + fi
16419 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420 +  CFLAGS=$ax_check_save_flags
16421 + fi
16422 + eval ac_res=\$$as_CACHEVAR
16423 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16424 + $as_echo "$ac_res" >&6; }
16425 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16426 +
16427 + if ${CFLAGS+:} false; then :
16428  
16429 +  case " $CFLAGS " in #(
16430 +  *" $flag "*) :
16431 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16432 +  (: CFLAGS already contains $flag) 2>&5
16433 +  ac_status=$?
16434 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16435 +  test $ac_status = 0; } ;; #(
16436 +  *) :
16437 +
16438 +     as_fn_append CFLAGS " $flag"
16439 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16440 +  (: CFLAGS="$CFLAGS") 2>&5
16441 +  ac_status=$?
16442 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16443 +  test $ac_status = 0; }
16444 +     ;;
16445 + esac
16446 +
16447 + else
16448 +
16449 +  CFLAGS=$flag
16450 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16451 +  (: CFLAGS="$CFLAGS") 2>&5
16452 +  ac_status=$?
16453 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16454 +  test $ac_status = 0; }
16455 +
16456 + fi
16457 +
16458 + else
16459 +  :
16460 + fi
16461 +
16462 + done
16463 +
16464 +
16465 +
16466 +
16467 +
16468 + for flag in -Wuninitialized; do
16469 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16470 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16471 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16472 + if eval \${$as_CACHEVAR+:} false; then :
16473 +  $as_echo_n "(cached) " >&6
16474 + else
16475 +
16476 +  ax_check_save_flags=$CFLAGS
16477 +  CFLAGS="$CFLAGS  $flag"
16478    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479   /* end confdefs.h.  */
16480 < #include <devpoll.h>
16480 >
16481   int
16482   main ()
16483   {
# Line 13278 | Line 16487 | main ()
16487   }
16488   _ACEOF
16489   if ac_fn_c_try_compile "$LINENO"; then :
16490 <  is_devpoll_mechanism_available="yes"
16490 >  eval "$as_CACHEVAR=yes"
16491   else
16492 <  is_devpoll_mechanism_available="no"
16492 >  eval "$as_CACHEVAR=no"
16493   fi
16494   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16495 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
16495 >  CFLAGS=$ax_check_save_flags
16496 > fi
16497 > eval ac_res=\$$as_CACHEVAR
16498 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16499 > $as_echo "$ac_res" >&6; }
16500 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16501  
16502 < $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
16502 > if ${CFLAGS+:} false; then :
16503  
16504 <  fi
16504 >  case " $CFLAGS " in #(
16505 >  *" $flag "*) :
16506 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16507 >  (: CFLAGS already contains $flag) 2>&5
16508 >  ac_status=$?
16509 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16510 >  test $ac_status = 0; } ;; #(
16511 >  *) :
16512 >
16513 >     as_fn_append CFLAGS " $flag"
16514 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16515 >  (: CFLAGS="$CFLAGS") 2>&5
16516 >  ac_status=$?
16517 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16518 >  test $ac_status = 0; }
16519 >     ;;
16520 > esac
16521 >
16522 > else
16523 >
16524 >  CFLAGS=$flag
16525 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16526 >  (: CFLAGS="$CFLAGS") 2>&5
16527 >  ac_status=$?
16528 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16529 >  test $ac_status = 0; }
16530 >
16531 > fi
16532 >
16533 > else
16534 >  :
16535 > fi
16536 >
16537 > done
16538 >
16539 >
16540 >
16541 >
16542 >
16543 > for flag in -Wwrite-strings; do
16544 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16545 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16546 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16547 > if eval \${$as_CACHEVAR+:} false; then :
16548 >  $as_echo_n "(cached) " >&6
16549 > else
16550 >
16551 >  ax_check_save_flags=$CFLAGS
16552 >  CFLAGS="$CFLAGS  $flag"
16553    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554   /* end confdefs.h.  */
16555 < #include <sys/devpoll.h>
16555 >
16556   int
16557   main ()
16558   {
# Line 13300 | Line 16562 | main ()
16562   }
16563   _ACEOF
16564   if ac_fn_c_try_compile "$LINENO"; then :
16565 <  is_devpoll_mechanism_available="yes"
16565 >  eval "$as_CACHEVAR=yes"
16566   else
16567 <  is_devpoll_mechanism_available="no"
16567 >  eval "$as_CACHEVAR=no"
16568   fi
16569   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16570 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
16570 >  CFLAGS=$ax_check_save_flags
16571 > fi
16572 > eval ac_res=\$$as_CACHEVAR
16573 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16574 > $as_echo "$ac_res" >&6; }
16575 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16576  
16577 < $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
16577 > if ${CFLAGS+:} false; then :
16578  
16579 <  fi
16580 <      iopoll_mechanism_rtsigio=4
16579 >  case " $CFLAGS " in #(
16580 >  *" $flag "*) :
16581 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16582 >  (: CFLAGS already contains $flag) 2>&5
16583 >  ac_status=$?
16584 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16585 >  test $ac_status = 0; } ;; #(
16586 >  *) :
16587  
16588 < cat >>confdefs.h <<_ACEOF
16589 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
16588 >     as_fn_append CFLAGS " $flag"
16589 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16590 >  (: CFLAGS="$CFLAGS") 2>&5
16591 >  ac_status=$?
16592 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16593 >  test $ac_status = 0; }
16594 >     ;;
16595 > esac
16596 >
16597 > else
16598 >
16599 >  CFLAGS=$flag
16600 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16601 >  (: CFLAGS="$CFLAGS") 2>&5
16602 >  ac_status=$?
16603 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16604 >  test $ac_status = 0; }
16605 >
16606 > fi
16607 >
16608 > else
16609 >  :
16610 > fi
16611 >
16612 > done
16613 >
16614 >
16615 > fi
16616 >
16617 >
16618 >  # Check whether --enable-efence was given.
16619 > if test "${enable_efence+set}" = set; then :
16620 >  enableval=$enable_efence; efence="$enableval"
16621 > else
16622 >  efence="no"
16623 > fi
16624 >
16625 >
16626 >  if test "$efence" = "yes"; then :
16627 >
16628 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
16629 > $as_echo_n "checking for library containing EF_Print... " >&6; }
16630 > if ${ac_cv_search_EF_Print+:} false; then :
16631 >  $as_echo_n "(cached) " >&6
16632 > else
16633 >  ac_func_search_save_LIBS=$LIBS
16634 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16635 > /* end confdefs.h.  */
16636 >
16637 > /* Override any GCC internal prototype to avoid an error.
16638 >   Use char because int might match the return type of a GCC
16639 >   builtin and then its argument prototype would still apply.  */
16640 > #ifdef __cplusplus
16641 > extern "C"
16642 > #endif
16643 > char EF_Print ();
16644 > int
16645 > main ()
16646 > {
16647 > return EF_Print ();
16648 >  ;
16649 >  return 0;
16650 > }
16651   _ACEOF
16652 + for ac_lib in '' efence; do
16653 +  if test -z "$ac_lib"; then
16654 +    ac_res="none required"
16655 +  else
16656 +    ac_res=-l$ac_lib
16657 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16658 +  fi
16659 +  if ac_fn_c_try_link "$LINENO"; then :
16660 +  ac_cv_search_EF_Print=$ac_res
16661 + fi
16662 + rm -f core conftest.err conftest.$ac_objext \
16663 +    conftest$ac_exeext
16664 +  if ${ac_cv_search_EF_Print+:} false; then :
16665 +  break
16666 + fi
16667 + done
16668 + if ${ac_cv_search_EF_Print+:} false; then :
16669  
16670 <  if test "$cross_compiling" = yes; then :
16670 > else
16671 >  ac_cv_search_EF_Print=no
16672 > fi
16673 > rm conftest.$ac_ext
16674 > LIBS=$ac_func_search_save_LIBS
16675 > fi
16676 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
16677 > $as_echo "$ac_cv_search_EF_Print" >&6; }
16678 > ac_res=$ac_cv_search_EF_Print
16679 > if test "$ac_res" != no; then :
16680 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16681 >
16682 > else
16683    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16684   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16685 < as_fn_error "cannot run test program while cross compiling
16686 < See \`config.log' for more details." "$LINENO" 5; }
16685 > as_fn_error $? "Electric Fence 'efence' library not found
16686 > See \`config.log' for more details" "$LINENO" 5; }
16687 > fi
16688 >
16689 >
16690 > fi
16691 >
16692 >
16693 > # Check whether --enable-openssl was given.
16694 > if test "${enable_openssl+set}" = set; then :
16695 >  enableval=$enable_openssl;  cf_enable_openssl=$enableval
16696 > else
16697 >   cf_enable_openssl="auto"
16698 > fi
16699 >
16700 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
16701 > $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
16702 > if test "$cf_enable_openssl" != "no"; then
16703 >  cf_openssl_basedir=""
16704 >  if test "$cf_enable_openssl" != "auto" &&
16705 >     test "$cf_enable_openssl" != "yes"; then
16706 >          cf_openssl_basedir="${cf_enable_openssl}"
16707 >  else
16708 >        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
16709 >                /opt /opt/openssl /usr/local/openssl; do
16710 >      if test -f "${dirs}/include/openssl/opensslv.h"; then
16711 >        cf_openssl_basedir="${dirs}"
16712 >        break
16713 >      fi
16714 >    done
16715 >    unset dirs
16716 >  fi
16717 >
16718 >    if test ! -z "$cf_openssl_basedir"; then
16719 >    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
16720 >      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
16721 >      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
16722 >    else
16723 >                  cf_openssl_basedir=""
16724 >    fi
16725 >  else
16726 >                            if test -f "/usr/include/openssl/opensslv.h"; then
16727 >      cf_openssl_basedir="/usr"
16728 >    fi
16729 >  fi
16730 >
16731 >      if test ! -z "$cf_openssl_basedir"; then
16732 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
16733 > $as_echo "$cf_openssl_basedir" >&6; }
16734 >    cf_enable_openssl="yes"
16735 >  else
16736 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
16737 > $as_echo "not found. Please check your path." >&6; }
16738 >    cf_enable_openssl="no"
16739 >  fi
16740 >  unset cf_openssl_basedir
16741 > else
16742 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16743 > $as_echo "disabled" >&6; }
16744 > fi
16745 >
16746 > if test "$cf_enable_openssl" != "no"; then :
16747 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
16748 > $as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
16749 >  if test "$cross_compiling" = yes; then :
16750 >  cf_openssl_version_ok=no
16751   else
16752    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753   /* end confdefs.h.  */
16754  
13328 – #include <fcntl.h>
13329 – #ifdef F_SETSIG
13330 – main () { return 0; } /* F_SETSIG defined */
13331 – #else
13332 – main () { return 1; } /* F_SETSIG not defined */
13333 – #endif
16755  
16756 +    #include <openssl/opensslv.h>
16757 +    #include <stdlib.h>
16758   int
16759   main ()
16760   {
16761 <
16761 > exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL));
16762    ;
16763    return 0;
16764   }
16765   _ACEOF
16766   if ac_fn_c_try_run "$LINENO"; then :
16767 <  is_rtsigio_mechanism_available="yes"
16767 >  cf_openssl_version_ok=yes
16768   else
16769 <  is_rtsigio_mechanism_available="no"
16769 >  cf_openssl_version_ok=no
16770   fi
16771   rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16772    conftest.$ac_objext conftest.beam conftest.$ac_ext
16773   fi
16774  
13352 –      iopoll_mechanism_poll=5
13353 –
13354 – cat >>confdefs.h <<_ACEOF
13355 – #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13356 – _ACEOF
16775  
16776 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 >  if test "$cf_openssl_version_ok" = "yes"; then :
16777 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16778 > $as_echo "found" >&6; }
16779 >
16780 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16781 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16782 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
16783 >  $as_echo_n "(cached) " >&6
16784 > else
16785 >  ac_check_lib_save_LIBS=$LIBS
16786 > LIBS="-lcrypto  $LIBS"
16787 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788   /* end confdefs.h.  */
13360 – /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13361 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13362 – #define poll innocuous_poll
13363 –
13364 – /* System header to define __stub macros and hopefully few prototypes,
13365 –    which can conflict with char poll (); below.
13366 –    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13367 –    <limits.h> exists even on freestanding compilers.  */
13368 –
13369 – #ifdef __STDC__
13370 – # include <limits.h>
13371 – #else
13372 – # include <assert.h>
13373 – #endif
13374 –
13375 – #undef poll
16789  
16790   /* Override any GCC internal prototype to avoid an error.
16791     Use char because int might match the return type of a GCC
# Line 13380 | Line 16793 | _ACEOF
16793   #ifdef __cplusplus
16794   extern "C"
16795   #endif
16796 < char poll ();
13384 < /* The GNU C library defines this for functions which it implements
13385 <    to always fail with ENOSYS.  Some functions are actually named
13386 <    something starting with __ and the normal name is an alias.  */
13387 < #if defined __stub_poll || defined __stub___poll
13388 < choke me
13389 < #endif
13390 <
16796 > char RSA_free ();
16797   int
16798   main ()
16799   {
16800 < return poll ();
16800 > return RSA_free ();
16801    ;
16802    return 0;
16803   }
16804   _ACEOF
16805   if ac_fn_c_try_link "$LINENO"; then :
16806 <  is_poll_mechanism_available="yes"
16806 >  ac_cv_lib_crypto_RSA_free=yes
16807   else
16808 <  is_poll_mechanism_available="no"
16808 >  ac_cv_lib_crypto_RSA_free=no
16809   fi
16810   rm -f core conftest.err conftest.$ac_objext \
16811      conftest$ac_exeext conftest.$ac_ext
16812 <      iopoll_mechanism_select=6
16813 <
16814 < cat >>confdefs.h <<_ACEOF
16815 < #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
16812 > LIBS=$ac_check_lib_save_LIBS
16813 > fi
16814 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16815 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16816 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
16817 >  cat >>confdefs.h <<_ACEOF
16818 > #define HAVE_LIBCRYPTO 1
16819   _ACEOF
16820  
16821 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 < /* end confdefs.h.  */
13414 < /* Define select to an innocuous variant, in case <limits.h> declares select.
13415 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13416 < #define select innocuous_select
13417 <
13418 < /* System header to define __stub macros and hopefully few prototypes,
13419 <    which can conflict with char select (); below.
13420 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13421 <    <limits.h> exists even on freestanding compilers.  */
16821 >  LIBS="-lcrypto $LIBS"
16822  
16823 < #ifdef __STDC__
13424 < # include <limits.h>
13425 < #else
13426 < # include <assert.h>
13427 < #endif
16823 > fi
16824  
16825 < #undef select
16825 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
16826 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
16827 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
16828 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
16829 >  $as_echo_n "(cached) " >&6
16830 > else
16831 >  ac_check_lib_save_LIBS=$LIBS
16832 > LIBS="-lssl  $LIBS"
16833 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 > /* end confdefs.h.  */
16835  
16836   /* Override any GCC internal prototype to avoid an error.
16837     Use char because int might match the return type of a GCC
# Line 13434 | Line 16839 | _ACEOF
16839   #ifdef __cplusplus
16840   extern "C"
16841   #endif
16842 < char select ();
13438 < /* The GNU C library defines this for functions which it implements
13439 <    to always fail with ENOSYS.  Some functions are actually named
13440 <    something starting with __ and the normal name is an alias.  */
13441 < #if defined __stub_select || defined __stub___select
13442 < choke me
13443 < #endif
13444 <
16842 > char SSL_connect ();
16843   int
16844   main ()
16845   {
16846 < return select ();
16846 > return SSL_connect ();
16847    ;
16848    return 0;
16849   }
16850   _ACEOF
16851   if ac_fn_c_try_link "$LINENO"; then :
16852 <  is_select_mechanism_available="yes"
16852 >  ac_cv_lib_ssl_SSL_connect=yes
16853   else
16854 <  is_select_mechanism_available="no"
16854 >  ac_cv_lib_ssl_SSL_connect=no
16855   fi
16856   rm -f core conftest.err conftest.$ac_objext \
16857      conftest$ac_exeext conftest.$ac_ext
16858 <      optimal_iopoll_mechanism="none"
16859 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
16860 <    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
16861 <    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
16862 <      optimal_iopoll_mechanism="$mechanism"
16863 <      break
16864 <    fi
13467 <  done
13468 <      if test "$desired_iopoll_mechanism" = "none" ; then
13469 <    if test "$optimal_iopoll_mechanism" = "none" ; then
13470 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13471 < $as_echo "none" >&6; }
13472 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13473 <    else
13474 <      selected_iopoll_mechanism=$optimal_iopoll_mechanism
13475 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13476 < $as_echo "$selected_iopoll_mechanism" >&6; }
13477 <    fi
13478 <  else
13479 <    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13480 <    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13481 <      selected_iopoll_mechanism=$desired_iopoll_mechanism
13482 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13483 < $as_echo "$selected_iopoll_mechanism" >&6; }
13484 <    else
13485 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13486 < $as_echo "none" >&6; }
13487 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13488 <    fi
13489 <  fi
13490 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
13491 <
13492 < cat >>confdefs.h <<_ACEOF
13493 < #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
16858 > LIBS=$ac_check_lib_save_LIBS
16859 > fi
16860 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
16861 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
16862 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
16863 >  cat >>confdefs.h <<_ACEOF
16864 > #define HAVE_LIBSSL 1
16865   _ACEOF
16866  
16867 +  LIBS="-lssl $LIBS"
16868  
16869 + fi
16870  
16871 + fi
16872  
13499 – # Check whether --with-nicklen was given.
13500 – if test "${with_nicklen+set}" = set; then :
13501 –  withval=$with_nicklen; nicklen="$withval"
16873   else
16874 <  nicklen="9"
16874 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
16875 > $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
16876 >    cf_enable_openssl="no"
16877 > fi
16878   fi
16879  
16880  
16881 < cat >>confdefs.h <<_ACEOF
16882 < #define NICKLEN ($nicklen+1)
16883 < _ACEOF
16881 > # Check whether --enable-gnutls was given.
16882 > if test "${enable_gnutls+set}" = set; then :
16883 >  enableval=$enable_gnutls;  cf_enable_gnutls=$enableval
16884 > else
16885 >   cf_enable_gnutls="auto"
16886 > fi
16887  
16888  
16889 + if test "$cf_enable_openssl" != "auto" &&
16890 +   test "$cf_enable_openssl" != "yes"; then
16891 +  if test "$cf_enable_gnutls" != "no"; then
16892  
16893 +    ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16894 + if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
16895  
16896 < # Check whether --with-topiclen was given.
16897 < if test "${with_topiclen+set}" = set; then :
16898 <  withval=$with_topiclen; topiclen="$withval"
16896 >      if test "$cross_compiling" = yes; then :
16897 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16898 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16899 > as_fn_error $? "cannot run test program while cross compiling
16900 > See \`config.log' for more details" "$LINENO" 5; }
16901   else
16902 <  topiclen="160"
16903 < fi
16902 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 > /* end confdefs.h.  */
16904  
16905  
16906 < cat >>confdefs.h <<_ACEOF
16907 < #define TOPICLEN ($topiclen+1)
16908 < _ACEOF
16906 >          #include <gnutls/gnutls.h>
16907 >          #include <stdlib.h>
16908 > int
16909 > main ()
16910 > {
16911  
16912 +          exit(!(GNUTLS_VERSION_NUMBER >= 0x030605));
16913 +  ;
16914 +  return 0;
16915 + }
16916 + _ACEOF
16917 + if ac_fn_c_try_run "$LINENO"; then :
16918 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5
16919 + $as_echo_n "checking for gnutls_init in -lgnutls... " >&6; }
16920 + if ${ac_cv_lib_gnutls_gnutls_init+:} false; then :
16921 +  $as_echo_n "(cached) " >&6
16922 + else
16923 +  ac_check_lib_save_LIBS=$LIBS
16924 + LIBS="-lgnutls  $LIBS"
16925 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 + /* end confdefs.h.  */
16927  
16928 + /* Override any GCC internal prototype to avoid an error.
16929 +   Use char because int might match the return type of a GCC
16930 +   builtin and then its argument prototype would still apply.  */
16931 + #ifdef __cplusplus
16932 + extern "C"
16933 + #endif
16934 + char gnutls_init ();
16935 + int
16936 + main ()
16937 + {
16938 + return gnutls_init ();
16939 +  ;
16940 +  return 0;
16941 + }
16942 + _ACEOF
16943 + if ac_fn_c_try_link "$LINENO"; then :
16944 +  ac_cv_lib_gnutls_gnutls_init=yes
16945 + else
16946 +  ac_cv_lib_gnutls_gnutls_init=no
16947 + fi
16948 + rm -f core conftest.err conftest.$ac_objext \
16949 +    conftest$ac_exeext conftest.$ac_ext
16950 + LIBS=$ac_check_lib_save_LIBS
16951 + fi
16952 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5
16953 + $as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; }
16954 + if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then :
16955 +  cat >>confdefs.h <<_ACEOF
16956 + #define HAVE_LIBGNUTLS 1
16957 + _ACEOF
16958  
16959 +  LIBS="-lgnutls $LIBS"
16960  
13529 – # Check whether --with-syslog-facility was given.
13530 – if test "${with_syslog_facility+set}" = set; then :
13531 –  withval=$with_syslog_facility; syslog_facility="$withval"
13532 – else
13533 –  syslog_facility="LOG_LOCAL4"
16961   fi
16962  
16963 + fi
16964 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16965 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
16966 + fi
16967  
16968 < cat >>confdefs.h <<_ACEOF
13538 < #define LOG_FACILITY $syslog_facility
13539 < _ACEOF
16968 > fi
16969  
16970  
16971  
16972 <  # Check whether --enable-efnet was given.
16973 < if test "${enable_efnet+set}" = set; then :
16974 <  enableval=$enable_efnet; efnet="$enableval"
16972 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5
16973 > $as_echo_n "checking for GnuTLS 3.6.5 and above... " >&6; }
16974 >    if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then :
16975 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16976 > $as_echo "found" >&6; }
16977   else
16978 <  efnet="no"
16978 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5
16979 > $as_echo "no - GnuTLS support disabled" >&6; }
16980   fi
16981  
16982 <  if test "$efnet" = "yes" ; then
16983 <                use_efnet="yes"
16982 >  fi
16983 > fi
16984  
13553 – $as_echo "#define EFNET 1" >>confdefs.h
16985  
16986 + # Check whether --enable-wolfssl was given.
16987 + if test "${enable_wolfssl+set}" = set; then :
16988 +  enableval=$enable_wolfssl;  cf_enable_wolfssl=$enableval
16989 + else
16990 +   cf_enable_wolfssl="auto"
16991 + fi
16992  
13556 – $as_echo "#define TS5_ONLY 1" >>confdefs.h
16993  
16994 <        else
16994 > if test "$cf_enable_openssl" != "auto" &&
16995 >   test "$cf_enable_openssl" != "yes"; then
16996 >  if test "$cf_enable_gnutls" = "no"; then
16997  
16998 < $as_echo "#define INVARIANTS 1" >>confdefs.h
16998 >    ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default"
16999 > if test "x$ac_cv_header_wolfssl_ssl_h" = xyes; then :
17000  
17001 <                use_efnet="no"
17002 <  fi
17003 <   if test "$use_efnet" = "yes"; then
17004 <  EFNET_TRUE=
17005 <  EFNET_FALSE='#'
17001 >      if test "$cross_compiling" = yes; then :
17002 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17003 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17004 > as_fn_error $? "cannot run test program while cross compiling
17005 > See \`config.log' for more details" "$LINENO" 5; }
17006   else
17007 <  EFNET_TRUE='#'
17008 <  EFNET_FALSE=
13570 < fi
17007 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 > /* end confdefs.h.  */
17009  
17010  
17011 +          #include <wolfssl/version.h>
17012 +          #include <stdlib.h>
17013 + int
17014 + main ()
17015 + {
17016 +
17017 +          exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000));
17018 +  ;
17019 +  return 0;
17020 + }
17021 + _ACEOF
17022 + if ac_fn_c_try_run "$LINENO"; then :
17023 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5
17024 + $as_echo_n "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; }
17025 + if ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+:} false; then :
17026 +  $as_echo_n "(cached) " >&6
17027 + else
17028 +  ac_check_lib_save_LIBS=$LIBS
17029 + LIBS="-lwolfssl  $LIBS"
17030 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 + /* end confdefs.h.  */
17032  
17033 <  # Check whether --enable-halfops was given.
17034 < if test "${enable_halfops+set}" = set; then :
17035 <  enableval=$enable_halfops; halfops="$enableval"
17033 > /* Override any GCC internal prototype to avoid an error.
17034 >   Use char because int might match the return type of a GCC
17035 >   builtin and then its argument prototype would still apply.  */
17036 > #ifdef __cplusplus
17037 > extern "C"
17038 > #endif
17039 > char wolfSSL_X509_digest ();
17040 > int
17041 > main ()
17042 > {
17043 > return wolfSSL_X509_digest ();
17044 >  ;
17045 >  return 0;
17046 > }
17047 > _ACEOF
17048 > if ac_fn_c_try_link "$LINENO"; then :
17049 >  ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes
17050   else
17051 <  halfops="no"
17051 >  ac_cv_lib_wolfssl_wolfSSL_X509_digest=no
17052 > fi
17053 > rm -f core conftest.err conftest.$ac_objext \
17054 >    conftest$ac_exeext conftest.$ac_ext
17055 > LIBS=$ac_check_lib_save_LIBS
17056 > fi
17057 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5
17058 > $as_echo "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; }
17059 > if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes; then :
17060 >  cat >>confdefs.h <<_ACEOF
17061 > #define HAVE_LIBWOLFSSL 1
17062 > _ACEOF
17063 >
17064 >  LIBS="-lwolfssl $LIBS"
17065 >
17066   fi
17067  
17068 <  if test "$halfops" = "yes" ; then
17068 > fi
17069 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17070 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
17071 > fi
17072  
17073 < $as_echo "#define HALFOPS 1" >>confdefs.h
17073 > fi
17074  
13585 –  fi
17075  
17076  
17077 <  # Check whether --enable-debugging was given.
17078 < if test "${enable_debugging+set}" = set; then :
17079 <  enableval=$enable_debugging; debugging="$enableval"
17077 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5
17078 > $as_echo_n "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; }
17079 >    if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"; then :
17080 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
17081 > $as_echo "found" >&6; }
17082   else
17083 <  debugging="no"
17083 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5
17084 > $as_echo "no - wolfSSL support disabled" >&6; }
17085   fi
17086  
17087 <  if test "$debugging" = "yes" ; then
17087 >  fi
17088 > fi
17089  
13597 – $as_echo "#define DEBUG 1" >>confdefs.h
17090  
17091 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13600 <  else
17091 > # Disable -Wformat-truncation
17092  
13602 – $as_echo "#define NDEBUG 1" >>confdefs.h
17093  
13604 –  fi
17094  
17095  
17096 <  # Check whether --enable-warnings was given.
17097 < if test "${enable_warnings+set}" = set; then :
17098 <  enableval=$enable_warnings; warnings="$enableval"
17096 > for flag in -Wno-format-truncation; do
17097 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17098 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17099 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17100 > if eval \${$as_CACHEVAR+:} false; then :
17101 >  $as_echo_n "(cached) " >&6
17102   else
13611 –  warnings="no"
13612 – fi
17103  
17104 <  if test "$warnings" = "yes" ; then
17105 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef"
17106 <  fi
17104 >  ax_check_save_flags=$CFLAGS
17105 >  CFLAGS="$CFLAGS  $flag"
17106 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 > /* end confdefs.h.  */
17108  
17109 + int
17110 + main ()
17111 + {
17112  
17113 <  for ac_header in syslog.h sys/syslog.h
17114 < do :
17115 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13622 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13623 < eval as_val=\$$as_ac_Header
13624 <   if test "x$as_val" = x""yes; then :
13625 <  cat >>confdefs.h <<_ACEOF
13626 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17113 >  ;
17114 >  return 0;
17115 > }
17116   _ACEOF
17117 <
17117 > if ac_fn_c_try_compile "$LINENO"; then :
17118 >  eval "$as_CACHEVAR=yes"
17119 > else
17120 >  eval "$as_CACHEVAR=no"
17121 > fi
17122 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17123 >  CFLAGS=$ax_check_save_flags
17124   fi
17125 + eval ac_res=\$$as_CACHEVAR
17126 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17127 + $as_echo "$ac_res" >&6; }
17128 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17129  
17130 < done
17130 > if ${CFLAGS+:} false; then :
17131  
17132 <  # Check whether --enable-syslog was given.
17133 < if test "${enable_syslog+set}" = set; then :
17134 <  enableval=$enable_syslog; syslog="$enableval"
17135 < else
17136 <  syslog="no"
17137 < fi
17132 >  case " $CFLAGS " in #(
17133 >  *" $flag "*) :
17134 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17135 >  (: CFLAGS already contains $flag) 2>&5
17136 >  ac_status=$?
17137 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17138 >  test $ac_status = 0; } ;; #(
17139 >  *) :
17140  
17141 <  if test "$enableval" != "no" ; then
17142 <    for option in $enableval ; do
17143 <      case "$option" in
17144 <        users)
17145 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
17146 < ;;
17147 <        oper)
17148 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13648 < ;;
13649 <        yes) : ;;
13650 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13651 <      esac
13652 <    done
17141 >     as_fn_append CFLAGS " $flag"
17142 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17143 >  (: CFLAGS="$CFLAGS") 2>&5
17144 >  ac_status=$?
17145 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17146 >  test $ac_status = 0; }
17147 >     ;;
17148 > esac
17149  
17150 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
17150 > else
17151  
17152 <  fi
17152 >  CFLAGS=$flag
17153 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17154 >  (: CFLAGS="$CFLAGS") 2>&5
17155 >  ac_status=$?
17156 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17157 >  test $ac_status = 0; }
17158 >
17159 > fi
17160 >
17161 > else
17162 >  :
17163 > fi
17164 >
17165 > done
17166  
17167  
17168  
# Line 13742 | Line 17251 | _ACEOF
17251    test "$exec_prefix_NONE" && exec_prefix=NONE
17252  
17253  
17254 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile"
17254 > 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"
17255  
17256  
17257   cat >confcache <<\_ACEOF
# Line 13809 | Line 17318 | $as_echo "$as_me: WARNING: cache variabl
17318       :end' >>confcache
17319   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17320    if test -w "$cache_file"; then
17321 <    test "x$cache_file" != "x/dev/null" &&
17321 >    if test "x$cache_file" != "x/dev/null"; then
17322        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17323   $as_echo "$as_me: updating cache $cache_file" >&6;}
17324 <    cat confcache >$cache_file
17324 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
17325 >        cat confcache >"$cache_file"
17326 >      else
17327 >        case $cache_file in #(
17328 >        */* | ?:*)
17329 >          mv -f confcache "$cache_file"$$ &&
17330 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
17331 >        *)
17332 >          mv -f confcache "$cache_file" ;;
17333 >        esac
17334 >      fi
17335 >    fi
17336    else
17337      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17338   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13828 | Line 17348 | DEFS=-DHAVE_CONFIG_H
17348  
17349   ac_libobjs=
17350   ac_ltlibobjs=
17351 + U=
17352   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17353    # 1. Remove the extension, and $U if already installed.
17354    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13842 | Line 17363 | LIBOBJS=$ac_libobjs
17363   LTLIBOBJS=$ac_ltlibobjs
17364  
17365  
17366 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17367 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
17368 +   if test -n "$am_sleep_pid"; then
17369 +     # Hide warnings about reused PIDs.
17370 +     wait $am_sleep_pid 2>/dev/null
17371 +   fi
17372 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17373 + $as_echo "done" >&6; }
17374   if test -n "$EXEEXT"; then
17375    am__EXEEXT_TRUE=
17376    am__EXEEXT_FALSE='#'
# Line 13851 | Line 17380 | else
17380   fi
17381  
17382   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17383 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
17383 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17384   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17385   fi
17386   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17387 <  as_fn_error "conditional \"AMDEP\" was never defined.
17387 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
17388   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17389   fi
17390   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17391 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
17391 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17392   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17393   fi
17394   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
17395 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
17395 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
17396   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17397   fi
17398   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
17399 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
17399 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
17400   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17401   fi
17402   LT_CONFIG_H=config.h
# Line 13888 | Line 17417 | LT_CONFIG_H=config.h
17417  
17418  
17419  
13891 – if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13892 –  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13893 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13894 – fi
13895 – if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13896 –  as_fn_error "conditional \"EFNET\" was never defined.
13897 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13898 – fi
17420  
17421 < : ${CONFIG_STATUS=./config.status}
17421 > : "${CONFIG_STATUS=./config.status}"
17422   ac_write_fail=0
17423   ac_clean_files_save=$ac_clean_files
17424   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13998 | Line 17519 | fi
17519   IFS=" ""        $as_nl"
17520  
17521   # Find who we are.  Look in the path if we contain no directory separator.
17522 + as_myself=
17523   case $0 in #((
17524    *[\\/]* ) as_myself=$0 ;;
17525    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14043 | Line 17565 | export LANGUAGE
17565   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17566  
17567  
17568 < # as_fn_error ERROR [LINENO LOG_FD]
17569 < # ---------------------------------
17568 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
17569 > # ----------------------------------------
17570   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17571   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17572 < # script with status $?, using 1 if that was 0.
17572 > # script with STATUS, using 1 if that was 0.
17573   as_fn_error ()
17574   {
17575 <  as_status=$?; test $as_status -eq 0 && as_status=1
17576 <  if test "$3"; then
17577 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17578 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17575 >  as_status=$1; test $as_status -eq 0 && as_status=1
17576 >  if test "$4"; then
17577 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17578 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17579    fi
17580 <  $as_echo "$as_me: error: $1" >&2
17580 >  $as_echo "$as_me: error: $2" >&2
17581    as_fn_exit $as_status
17582   } # as_fn_error
17583  
# Line 14193 | Line 17715 | if (echo >conf$$.file) 2>/dev/null; then
17715      # ... but there are two gotchas:
17716      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17717      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17718 <    # In both cases, we have to default to `cp -p'.
17718 >    # In both cases, we have to default to `cp -pR'.
17719      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17720 <      as_ln_s='cp -p'
17720 >      as_ln_s='cp -pR'
17721    elif ln conf$$.file conf$$ 2>/dev/null; then
17722      as_ln_s=ln
17723    else
17724 <    as_ln_s='cp -p'
17724 >    as_ln_s='cp -pR'
17725    fi
17726   else
17727 <  as_ln_s='cp -p'
17727 >  as_ln_s='cp -pR'
17728   fi
17729   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17730   rmdir conf$$.dir 2>/dev/null
# Line 14251 | Line 17773 | $as_echo X"$as_dir" |
17773        test -d "$as_dir" && break
17774      done
17775      test -z "$as_dirs" || eval "mkdir $as_dirs"
17776 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
17776 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17777  
17778  
17779   } # as_fn_mkdir_p
# Line 14262 | Line 17784 | else
17784    as_mkdir_p=false
17785   fi
17786  
17787 < if test -x / >/dev/null 2>&1; then
17788 <  as_test_x='test -x'
17789 < else
17790 <  if ls -dL / >/dev/null 2>&1; then
17791 <    as_ls_L_option=L
17792 <  else
17793 <    as_ls_L_option=
17794 <  fi
17795 <  as_test_x='
17796 <    eval sh -c '\''
14275 <      if test -d "$1"; then
14276 <        test -d "$1/.";
14277 <      else
14278 <        case $1 in #(
14279 <        -*)set "./$1";;
14280 <        esac;
14281 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14282 <        ???[sx]*):;;*)false;;esac;fi
14283 <    '\'' sh
14284 <  '
14285 < fi
14286 < as_executable_p=$as_test_x
17787 >
17788 > # as_fn_executable_p FILE
17789 > # -----------------------
17790 > # Test if FILE is an executable regular file.
17791 > as_fn_executable_p ()
17792 > {
17793 >  test -f "$1" && test -x "$1"
17794 > } # as_fn_executable_p
17795 > as_test_x='test -x'
17796 > as_executable_p=as_fn_executable_p
17797  
17798   # Sed expression to map a string onto a valid CPP name.
17799   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14304 | Line 17814 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
17814   # report actual input values of CONFIG_FILES etc. instead of their
17815   # values after options handling.
17816   ac_log="
17817 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
17818 < generated by GNU Autoconf 2.64.  Invocation command line was
17817 > This file was extended by ircd-hybrid $as_me TRUNK, which was
17818 > generated by GNU Autoconf 2.69.  Invocation command line was
17819  
17820    CONFIG_FILES    = $CONFIG_FILES
17821    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14345 | Line 17855 | Usage: $0 [OPTION]... [TAG]...
17855  
17856    -h, --help       print this help, then exit
17857    -V, --version    print version number and configuration settings, then exit
17858 +      --config     print configuration, then exit
17859    -q, --quiet, --silent
17860                     do not print progress messages
17861    -d, --debug      don't remove temporary files
# Line 14363 | Line 17874 | $config_headers
17874   Configuration commands:
17875   $config_commands
17876  
17877 < Report bugs to the package provider."
17877 > Report bugs to <bugs@ircd-hybrid.org>."
17878  
17879   _ACEOF
17880   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17881 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17882   ac_cs_version="\\
17883 < ircd-hybrid config.status 7.2.4
17884 < configured by $0, generated by GNU Autoconf 2.64,
17885 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17883 > ircd-hybrid config.status TRUNK
17884 > configured by $0, generated by GNU Autoconf 2.69,
17885 >  with options \\"\$ac_cs_config\\"
17886  
17887 < Copyright (C) 2009 Free Software Foundation, Inc.
17887 > Copyright (C) 2012 Free Software Foundation, Inc.
17888   This config.status script is free software; the Free Software Foundation
17889   gives unlimited permission to copy, distribute and modify it."
17890  
# Line 14390 | Line 17902 | ac_need_defaults=:
17902   while test $# != 0
17903   do
17904    case $1 in
17905 <  --*=*)
17905 >  --*=?*)
17906      ac_option=`expr "X$1" : 'X\([^=]*\)='`
17907      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17908      ac_shift=:
17909      ;;
17910 +  --*=)
17911 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17912 +    ac_optarg=
17913 +    ac_shift=:
17914 +    ;;
17915    *)
17916      ac_option=$1
17917      ac_optarg=$2
# Line 14408 | Line 17925 | do
17925      ac_cs_recheck=: ;;
17926    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17927      $as_echo "$ac_cs_version"; exit ;;
17928 +  --config | --confi | --conf | --con | --co | --c )
17929 +    $as_echo "$ac_cs_config"; exit ;;
17930    --debug | --debu | --deb | --de | --d | -d )
17931      debug=: ;;
17932    --file | --fil | --fi | --f )
17933      $ac_shift
17934      case $ac_optarg in
17935      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17936 +    '') as_fn_error $? "missing file argument" ;;
17937      esac
17938      as_fn_append CONFIG_FILES " '$ac_optarg'"
17939      ac_need_defaults=false;;
# Line 14426 | Line 17946 | do
17946      ac_need_defaults=false;;
17947    --he | --h)
17948      # Conflict between --help and --header
17949 <    as_fn_error "ambiguous option: \`$1'
17949 >    as_fn_error $? "ambiguous option: \`$1'
17950   Try \`$0 --help' for more information.";;
17951    --help | --hel | -h )
17952      $as_echo "$ac_cs_usage"; exit ;;
# Line 14435 | Line 17955 | Try \`$0 --help' for more information.";
17955      ac_cs_silent=: ;;
17956  
17957    # This is an error.
17958 <  -*) as_fn_error "unrecognized option: \`$1'
17958 >  -*) as_fn_error $? "unrecognized option: \`$1'
17959   Try \`$0 --help' for more information." ;;
17960  
17961    *) as_fn_append ac_config_targets " $1"
# Line 14455 | Line 17975 | fi
17975   _ACEOF
17976   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17977   if \$ac_cs_recheck; then
17978 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17978 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17979    shift
17980    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17981    CONFIG_SHELL='$SHELL'
# Line 14479 | Line 17999 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
17999   #
18000   # INIT-COMMANDS
18001   #
18002 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18002 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18003  
18004  
18005   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 14489 | Line 18009 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
18009   sed_quote_subst='$sed_quote_subst'
18010   double_quote_subst='$double_quote_subst'
18011   delay_variable_subst='$delay_variable_subst'
18012 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18013 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18014 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18015 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18016 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18017 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18018 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18019 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18020 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18021 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18022 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18023 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18024 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18025 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18026 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18027 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18028 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18029 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18030 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18031 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18032 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18033 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18034 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18035 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18036 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18037 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18038 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18039 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18040 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18041 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18042 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18043 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18044 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18045 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18046 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18047 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18048 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18049 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18050 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18051 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18052 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18053 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18054 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18055 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18056 < 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"`'
18057 < 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"`'
18058 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18059 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18060 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18061 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18062 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18063 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18064 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18065 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18066 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18067 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18068 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18069 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18070 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18071 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18072 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18073 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18074 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18075 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18076 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18077 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18078 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18079 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18080 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18081 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18082 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18083 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18084 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18085 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18086 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18087 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18088 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18089 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18090 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18091 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18092 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18093 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18094 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18095 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18096 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18097 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18098 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18099 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18100 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18101 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18102 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18103 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18104 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18105 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18106 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18107 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18108 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18109 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18110 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18111 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18112 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18113 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18114 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18115 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18116 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18117 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18118 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18119 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18120 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18121 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18122 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18123 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18124 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18125 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18126 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18127 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18128 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18129 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18012 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18013 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18014 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18015 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18016 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18017 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18018 > shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18019 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18020 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18021 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18022 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18023 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18024 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18025 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18026 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18027 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18028 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18029 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18030 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18031 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18032 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18033 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18034 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18035 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18036 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18037 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18038 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18039 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18040 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18041 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18042 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18043 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18044 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18045 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18046 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18047 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18048 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18049 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18050 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18051 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18052 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18053 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18054 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18055 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18056 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18057 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18058 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18059 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18060 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18061 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18062 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18063 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18064 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18065 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18066 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18067 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18068 > lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18069 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18070 > 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"`'
18071 > lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18072 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18073 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18074 > lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18075 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18076 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18077 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18078 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18079 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18080 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18081 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18082 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18083 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18084 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18085 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18086 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18087 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18088 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18089 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18090 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18091 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18092 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18093 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18094 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18095 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18096 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18097 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18098 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18099 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18100 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18101 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18102 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18103 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18104 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18105 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18106 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18107 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18108 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18109 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18110 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18111 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18112 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18113 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18114 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18115 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18116 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18117 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18118 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18119 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18120 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18121 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18122 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18123 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18124 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18125 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18126 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18127 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18128 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18129 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18130 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18131 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18132 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18133 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18134 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18135 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18136 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18137 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18138 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18139 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18140 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18141 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18142 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18143 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18144 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18145 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18146 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18147  
18148   LTCC='$LTCC'
18149   LTCFLAGS='$LTCFLAGS'
18150   compiler='$compiler_DEFAULT'
18151  
18152 + # A function that is used when there is no print builtin or printf.
18153 + func_fallback_echo ()
18154 + {
18155 +  eval 'cat <<_LTECHO_EOF
18156 + \$1
18157 + _LTECHO_EOF'
18158 + }
18159 +
18160   # Quote evaled strings.
18161 < for var in SED \
18161 > for var in SHELL \
18162 > ECHO \
18163 > PATH_SEPARATOR \
18164 > SED \
18165   GREP \
18166   EGREP \
18167   FGREP \
# Line 14626 | Line 18174 | reload_flag \
18174   OBJDUMP \
18175   deplibs_check_method \
18176   file_magic_cmd \
18177 + file_magic_glob \
18178 + want_nocaseglob \
18179 + DLLTOOL \
18180 + sharedlib_from_linklib_cmd \
18181   AR \
18182   AR_FLAGS \
18183 + archiver_list_spec \
18184   STRIP \
18185   RANLIB \
18186   CC \
# Line 14635 | Line 18188 | CFLAGS \
18188   compiler \
18189   lt_cv_sys_global_symbol_pipe \
18190   lt_cv_sys_global_symbol_to_cdecl \
18191 + lt_cv_sys_global_symbol_to_import \
18192   lt_cv_sys_global_symbol_to_c_name_address \
18193   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18194 < SHELL \
18195 < ECHO \
18194 > lt_cv_nm_interface \
18195 > nm_file_list_spec \
18196 > lt_cv_truncate_bin \
18197   lt_prog_compiler_no_builtin_flag \
14643 – lt_prog_compiler_wl \
18198   lt_prog_compiler_pic \
18199 + lt_prog_compiler_wl \
18200   lt_prog_compiler_static \
18201   lt_cv_prog_compiler_c_o \
18202   need_locks \
18203 + MANIFEST_TOOL \
18204   DSYMUTIL \
18205   NMEDIT \
18206   LIPO \
# Line 14658 | Line 18214 | with_gnu_ld \
18214   allow_undefined_flag \
18215   no_undefined_flag \
18216   hardcode_libdir_flag_spec \
14661 – hardcode_libdir_flag_spec_ld \
18217   hardcode_libdir_separator \
14663 – fix_srcfile_path \
18218   exclude_expsyms \
18219   include_expsyms \
18220   file_list_spec \
# Line 14668 | Line 18222 | variables_saved_for_relink \
18222   libname_spec \
18223   library_names_spec \
18224   soname_spec \
18225 + install_override_mode \
18226   finish_eval \
18227   old_striplib \
18228   striplib; do
18229 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18229 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18230      *[\\\\\\\`\\"\\\$]*)
18231 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18231 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18232        ;;
18233      *)
18234        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14695 | Line 18250 | module_cmds \
18250   module_expsym_cmds \
18251   export_symbols_cmds \
18252   prelink_cmds \
18253 + postlink_cmds \
18254   postinstall_cmds \
18255   postuninstall_cmds \
18256   finish_cmds \
18257   sys_lib_search_path_spec \
18258 < sys_lib_dlsearch_path_spec; do
18259 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18258 > configure_time_dlsearch_path \
18259 > configure_time_lt_sys_library_path; do
18260 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18261      *[\\\\\\\`\\"\\\$]*)
18262 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18262 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18263        ;;
18264      *)
18265        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14710 | Line 18267 | sys_lib_dlsearch_path_spec; do
18267      esac
18268   done
18269  
14713 – # Fix-up fallback echo if it was mangled by the above quoting rules.
14714 – case \$lt_ECHO in
14715 – *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14716 –  ;;
14717 – esac
14718 –
18270   ac_aux_dir='$ac_aux_dir'
14720 – xsi_shell='$xsi_shell'
14721 – lt_shell_append='$lt_shell_append'
18271  
18272 < # See if we are running on zsh, and set the options which allow our
18272 > # See if we are running on zsh, and set the options that allow our
18273   # commands through without removal of \ escapes INIT.
18274 < if test -n "\${ZSH_VERSION+set}" ; then
18274 > if test -n "\${ZSH_VERSION+set}"; then
18275     setopt NO_GLOB_SUBST
18276   fi
18277  
18278  
18279      PACKAGE='$PACKAGE'
18280      VERSION='$VERSION'
14732 –    TIMESTAMP='$TIMESTAMP'
18281      RM='$RM'
18282      ofile='$ofile'
18283  
# Line 14748 | Line 18296 | do
18296      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18297      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18298      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14751 –    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14752 –    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14753 –    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14754 –    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14755 –    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14756 –    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14757 –    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
18299      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18300 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
18300 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
18301      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
18302      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
18303 +    "modules/extra/Makefile") CONFIG_FILES="$CONFIG_FILES modules/extra/Makefile" ;;
18304      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18305      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14764 –    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14765 –    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14766 –    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14767 –    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
18306      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18307  
18308 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18308 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18309    esac
18310   done
18311  
# Line 14790 | Line 18328 | fi
18328   # after its creation but before its name has been assigned to `$tmp'.
18329   $debug ||
18330   {
18331 <  tmp=
18331 >  tmp= ac_tmp=
18332    trap 'exit_status=$?
18333 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18333 >  : "${ac_tmp:=$tmp}"
18334 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18335   ' 0
18336    trap 'as_fn_exit 1' 1 2 13 15
18337   }
# Line 14800 | Line 18339 | $debug ||
18339  
18340   {
18341    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18342 <  test -n "$tmp" && test -d "$tmp"
18342 >  test -d "$tmp"
18343   }  ||
18344   {
18345    tmp=./conf$$-$RANDOM
18346    (umask 077 && mkdir "$tmp")
18347 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
18347 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18348 > ac_tmp=$tmp
18349  
18350   # Set up the scripts for CONFIG_FILES section.
18351   # No need to generate them if there are no CONFIG_FILES.
# Line 14822 | Line 18362 | if test "x$ac_cr" = x; then
18362   fi
18363   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18364   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18365 <  ac_cs_awk_cr='\r'
18365 >  ac_cs_awk_cr='\\r'
18366   else
18367    ac_cs_awk_cr=$ac_cr
18368   fi
18369  
18370 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
18370 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18371   _ACEOF
18372  
18373  
# Line 14836 | Line 18376 | _ACEOF
18376    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18377    echo "_ACEOF"
18378   } >conf$$subs.sh ||
18379 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18380 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18379 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18380 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18381   ac_delim='%!_!# '
18382   for ac_last_try in false false false false false :; do
18383    . ./conf$$subs.sh ||
18384 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18384 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18385  
18386    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18387    if test $ac_delim_n = $ac_delim_num; then
18388      break
18389    elif $ac_last_try; then
18390 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18390 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18391    else
18392      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18393    fi
# Line 14855 | Line 18395 | done
18395   rm -f conf$$subs.sh
18396  
18397   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18398 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18398 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18399   _ACEOF
18400   sed -n '
18401   h
# Line 14869 | Line 18409 | s/'"$ac_delim"'$//
18409   t delim
18410   :nl
18411   h
18412 < s/\(.\{148\}\).*/\1/
18412 > s/\(.\{148\}\)..*/\1/
18413   t more1
18414   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18415   p
# Line 14883 | Line 18423 | s/.\{148\}//
18423   t nl
18424   :delim
18425   h
18426 < s/\(.\{148\}\).*/\1/
18426 > s/\(.\{148\}\)..*/\1/
18427   t more2
18428   s/["\\]/\\&/g; s/^/"/; s/$/"/
18429   p
# Line 14903 | Line 18443 | t delim
18443   rm -f conf$$subs.awk
18444   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18445   _ACAWK
18446 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18446 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18447    for (key in S) S_is_set[key] = 1
18448    FS = ""
18449  
# Line 14935 | Line 18475 | if sed "s/$ac_cr//" < /dev/null > /dev/n
18475    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18476   else
18477    cat
18478 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18479 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
18478 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18479 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18480   _ACEOF
18481  
18482 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
18483 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18482 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18483 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18484   # trailing colons and then remove the whole line if VPATH becomes empty
18485   # (actually we leave an empty line to preserve line numbers).
18486   if test "x$srcdir" = x.; then
18487 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
18488 < s/:*\$(srcdir):*/:/
18489 < s/:*\${srcdir}:*/:/
18490 < s/:*@srcdir@:*/:/
18491 < s/^\([^=]*=[     ]*\):*/\1/
18487 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18488 > h
18489 > s///
18490 > s/^/:/
18491 > s/[      ]*$/:/
18492 > s/:\$(srcdir):/:/g
18493 > s/:\${srcdir}:/:/g
18494 > s/:@srcdir@:/:/g
18495 > s/^:*//
18496   s/:*$//
18497 + x
18498 + s/\(=[   ]*\).*/\1/
18499 + G
18500 + s/\n//
18501   s/^[^=]*=[       ]*$//
18502   }'
18503   fi
# Line 14961 | Line 18509 | fi # test -n "$CONFIG_FILES"
18509   # No need to generate them if there are no CONFIG_HEADERS.
18510   # This happens for instance with `./config.status Makefile'.
18511   if test -n "$CONFIG_HEADERS"; then
18512 < cat >"$tmp/defines.awk" <<\_ACAWK ||
18512 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18513   BEGIN {
18514   _ACEOF
18515  
# Line 14973 | Line 18521 | _ACEOF
18521   # handling of long lines.
18522   ac_delim='%!_!# '
18523   for ac_last_try in false false :; do
18524 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18525 <  if test -z "$ac_t"; then
18524 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18525 >  if test -z "$ac_tt"; then
18526      break
18527    elif $ac_last_try; then
18528 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
18528 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18529    else
18530      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18531    fi
# Line 15062 | Line 18610 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
18610   _ACAWK
18611   _ACEOF
18612   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18613 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
18613 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18614   fi # test -n "$CONFIG_HEADERS"
18615  
18616  
# Line 15075 | Line 18623 | do
18623    esac
18624    case $ac_mode$ac_tag in
18625    :[FHL]*:*);;
18626 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
18626 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18627    :[FH]-) ac_tag=-:-;;
18628    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18629    esac
# Line 15094 | Line 18642 | do
18642      for ac_f
18643      do
18644        case $ac_f in
18645 <      -) ac_f="$tmp/stdin";;
18645 >      -) ac_f="$ac_tmp/stdin";;
18646        *) # Look for the file first in the build tree, then in the source tree
18647           # (if the path is not absolute).  The absolute path cannot be DOS-style,
18648           # because $ac_f cannot contain `:'.
# Line 15103 | Line 18651 | do
18651             [\\/$]*) false;;
18652             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18653             esac ||
18654 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18654 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18655        esac
18656        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18657        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15129 | Line 18677 | $as_echo "$as_me: creating $ac_file" >&6
18677      esac
18678  
18679      case $ac_tag in
18680 <    *:-:* | *:-) cat >"$tmp/stdin" \
18681 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
18680 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18681 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18682      esac
18683      ;;
18684    esac
# Line 15266 | Line 18814 | s&@INSTALL@&$ac_INSTALL&;t t
18814   s&@MKDIR_P@&$ac_MKDIR_P&;t t
18815   $ac_datarootdir_hack
18816   "
18817 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18818 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
18817 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18818 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18819  
18820   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18821 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18822 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18821 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18822 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18823 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18824    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18825 < which seems to be undefined.  Please make sure it is defined." >&5
18825 > which seems to be undefined.  Please make sure it is defined" >&5
18826   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18827 < which seems to be undefined.  Please make sure it is defined." >&2;}
18827 > which seems to be undefined.  Please make sure it is defined" >&2;}
18828  
18829 <  rm -f "$tmp/stdin"
18829 >  rm -f "$ac_tmp/stdin"
18830    case $ac_file in
18831 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
18832 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18831 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18832 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18833    esac \
18834 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
18834 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18835   ;;
18836    :H)
18837    #
# Line 15291 | Line 18840 | which seems to be undefined.  Please mak
18840    if test x"$ac_file" != x-; then
18841      {
18842        $as_echo "/* $configure_input  */" \
18843 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18844 <    } >"$tmp/config.h" \
18845 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
18846 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18843 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18844 >    } >"$ac_tmp/config.h" \
18845 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18846 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18847        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18848   $as_echo "$as_me: $ac_file is unchanged" >&6;}
18849      else
18850        rm -f "$ac_file"
18851 <      mv "$tmp/config.h" "$ac_file" \
18852 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
18851 >      mv "$ac_tmp/config.h" "$ac_file" \
18852 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18853      fi
18854    else
18855      $as_echo "/* $configure_input  */" \
18856 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18857 <      || as_fn_error "could not create -" "$LINENO" 5
18856 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18857 >      || as_fn_error $? "could not create -" "$LINENO" 5
18858    fi
18859   # Compute "$ac_file"'s index in $config_headers.
18860   _am_arg="$ac_file"
# Line 15351 | Line 18900 | $as_echo "$as_me: executing $ac_file com
18900  
18901    case $ac_file$ac_mode in
18902      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18903 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
18903 >  # Older Autoconf quotes --file arguments for eval, but not when files
18904    # are listed without --file.  Let's play safe and only enable the eval
18905    # if we detect the quoting.
18906 <  case $CONFIG_FILES in
18907 <  *\'*) eval set x "$CONFIG_FILES" ;;
18908 <  *)   set x $CONFIG_FILES ;;
18909 <  esac
18906 >  # TODO: see whether this extra hack can be removed once we start
18907 >  # requiring Autoconf 2.70 or later.
18908 >  case $CONFIG_FILES in #(
18909 >  *\'*) :
18910 >    eval set x "$CONFIG_FILES" ;; #(
18911 >  *) :
18912 >    set x $CONFIG_FILES ;; #(
18913 >  *) :
18914 >     ;;
18915 > esac
18916    shift
18917 <  for mf
18917 >  # Used to flag and report bootstrapping failures.
18918 >  am_rc=0
18919 >  for am_mf
18920    do
18921      # Strip MF so we end up with the name of the file.
18922 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
18923 <    # Check whether this is an Automake generated Makefile or not.
18924 <    # We used to match only the files named `Makefile.in', but
18925 <    # some people rename them; so instead we look at the file content.
15369 <    # Grep'ing the first line is not enough: some people post-process
15370 <    # each Makefile.in and add a new line on top of each file to say so.
15371 <    # Grep'ing the whole file is not good either: AIX grep has a line
18922 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18923 >    # Check whether this is an Automake generated Makefile which includes
18924 >    # dependency-tracking related rules and includes.
18925 >    # Grep'ing the whole file directly is not great: AIX grep has a line
18926      # limit of 2048, but all sed's we know have understand at least 4000.
18927 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18928 <      dirpart=`$as_dirname -- "$mf" ||
18929 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18930 <         X"$mf" : 'X\(//\)[^/]' \| \
18931 <         X"$mf" : 'X\(//\)$' \| \
18932 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18933 < $as_echo X"$mf" |
18927 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18928 >      || continue
18929 >    am_dirpart=`$as_dirname -- "$am_mf" ||
18930 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18931 >         X"$am_mf" : 'X\(//\)[^/]' \| \
18932 >         X"$am_mf" : 'X\(//\)$' \| \
18933 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18934 > $as_echo X"$am_mf" |
18935      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18936              s//\1/
18937              q
# Line 15394 | Line 18949 | $as_echo X"$mf" |
18949              q
18950            }
18951            s/.*/./; q'`
18952 <    else
18953 <      continue
18954 <    fi
18955 <    # Extract the definition of DEPDIR, am__include, and am__quote
18956 <    # from the Makefile without running `make'.
18957 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15403 <    test -z "$DEPDIR" && continue
15404 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15405 <    test -z "am__include" && continue
15406 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15407 <    # When using ansi2knr, U may be empty or an underscore; expand it
15408 <    U=`sed -n 's/^U = //p' < "$mf"`
15409 <    # Find all dependency output files, they are included files with
15410 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15411 <    # simplest approach to changing $(DEPDIR) to its actual value in the
15412 <    # expansion.
15413 <    for file in `sed -n "
15414 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15415 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15416 <      # Make sure the directory exists.
15417 <      test -f "$dirpart/$file" && continue
15418 <      fdir=`$as_dirname -- "$file" ||
15419 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15420 <         X"$file" : 'X\(//\)[^/]' \| \
15421 <         X"$file" : 'X\(//\)$' \| \
15422 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15423 < $as_echo X"$file" |
15424 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15425 <            s//\1/
15426 <            q
15427 <          }
15428 <          /^X\(\/\/\)[^/].*/{
18952 >    am_filepart=`$as_basename -- "$am_mf" ||
18953 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18954 >         X"$am_mf" : 'X\(//\)$' \| \
18955 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18956 > $as_echo X/"$am_mf" |
18957 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
18958              s//\1/
18959              q
18960            }
18961 <          /^X\(\/\/\)$/{
18961 >          /^X\/\(\/\/\)$/{
18962              s//\1/
18963              q
18964            }
18965 <          /^X\(\/\).*/{
18965 >          /^X\/\(\/\).*/{
18966              s//\1/
18967              q
18968            }
18969            s/.*/./; q'`
18970 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18971 <      # echo "creating $dirpart/$file"
18972 <      echo '# dummy' > "$dirpart/$file"
18973 <    done
18970 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18971 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18972 >        | $MAKE -f - am--depfiles" >&5
18973 >   (cd "$am_dirpart" \
18974 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18975 >        | $MAKE -f - am--depfiles) >&5 2>&5
18976 >   ac_status=$?
18977 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 >   (exit $ac_status); } || am_rc=$?
18979    done
18980 +  if test $am_rc -ne 0; then
18981 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18982 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18983 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
18984 +    for automatic dependency tracking.  Try re-running configure with the
18985 +    '--disable-dependency-tracking' option to at least be able to build
18986 +    the package (albeit without support for automatic dependency tracking).
18987 + See \`config.log' for more details" "$LINENO" 5; }
18988 +  fi
18989 +  { am_dirpart=; unset am_dirpart;}
18990 +  { am_filepart=; unset am_filepart;}
18991 +  { am_mf=; unset am_mf;}
18992 +  { am_rc=; unset am_rc;}
18993 +  rm -f conftest-deps.mk
18994   }
18995   ;;
18996      "libtool":C)
18997  
18998 <    # See if we are running on zsh, and set the options which allow our
18998 >    # See if we are running on zsh, and set the options that allow our
18999      # commands through without removal of \ escapes.
19000 <    if test -n "${ZSH_VERSION+set}" ; then
19000 >    if test -n "${ZSH_VERSION+set}"; then
19001        setopt NO_GLOB_SUBST
19002      fi
19003  
19004 <    cfgfile="${ofile}T"
19004 >    cfgfile=${ofile}T
19005      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19006      $RM "$cfgfile"
19007  
19008      cat <<_LT_EOF >> "$cfgfile"
19009   #! $SHELL
19010 <
15463 < # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15464 < # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15465 < # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19010 > # Generated automatically by $as_me ($PACKAGE) $VERSION
19011   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19012 +
19013 + # Provide generalized library-building support services.
19014 + # Written by Gordon Matzigkeit, 1996
19015 +
19016 + # Copyright (C) 2014 Free Software Foundation, Inc.
19017 + # This is free software; see the source for copying conditions.  There is NO
19018 + # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19019 +
19020 + # GNU Libtool is free software; you can redistribute it and/or modify
19021 + # it under the terms of the GNU General Public License as published by
19022 + # the Free Software Foundation; either version 2 of of the License, or
19023 + # (at your option) any later version.
19024   #
19025 < #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19026 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
19027 < #   Written by Gordon Matzigkeit, 1996
19028 < #
15472 < #   This file is part of GNU Libtool.
15473 < #
15474 < # GNU Libtool is free software; you can redistribute it and/or
15475 < # modify it under the terms of the GNU General Public License as
15476 < # published by the Free Software Foundation; either version 2 of
15477 < # the License, or (at your option) any later version.
15478 < #
15479 < # As a special exception to the GNU General Public License,
15480 < # if you distribute this file as part of a program or library that
15481 < # is built using GNU Libtool, you may include this file under the
15482 < # same distribution terms that you use for the rest of that program.
19025 > # As a special exception to the GNU General Public License, if you
19026 > # distribute this file as part of a program or library that is built
19027 > # using GNU Libtool, you may include this file under the  same
19028 > # distribution terms that you use for the rest of that program.
19029   #
19030 < # GNU Libtool is distributed in the hope that it will be useful,
19031 < # but WITHOUT ANY WARRANTY; without even the implied warranty of
19030 > # GNU Libtool is distributed in the hope that it will be useful, but
19031 > # WITHOUT ANY WARRANTY; without even the implied warranty of
19032   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19033   # GNU General Public License for more details.
19034   #
19035   # You should have received a copy of the GNU General Public License
19036 < # along with GNU Libtool; see the file COPYING.  If not, a copy
15491 < # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15492 < # obtained by writing to the Free Software Foundation, Inc.,
15493 < # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19036 > # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19037  
19038  
19039   # The names of the tagged configurations supported by this script.
19040 < available_tags=""
19040 > available_tags=''
19041 >
19042 > # Configured defaults for sys_lib_dlsearch_path munging.
19043 > : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19044  
19045   # ### BEGIN LIBTOOL CONFIG
19046  
# Line 15514 | Line 19060 | pic_mode=$pic_mode
19060   # Whether or not to optimize for fast installation.
19061   fast_install=$enable_fast_install
19062  
19063 + # Shared archive member basename,for filename based shared library versioning on AIX.
19064 + shared_archive_member_spec=$shared_archive_member_spec
19065 +
19066 + # Shell to use when invoking shell scripts.
19067 + SHELL=$lt_SHELL
19068 +
19069 + # An echo program that protects backslashes.
19070 + ECHO=$lt_ECHO
19071 +
19072 + # The PATH separator for the build system.
19073 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
19074 +
19075   # The host system.
19076   host_alias=$host_alias
19077   host=$host
# Line 15563 | Line 19121 | SP2NL=$lt_lt_SP2NL
19121   # turn newlines into spaces.
19122   NL2SP=$lt_lt_NL2SP
19123  
19124 < # How to create reloadable object files.
19125 < reload_flag=$lt_reload_flag
19126 < reload_cmds=$lt_reload_cmds
19124 > # convert \$build file names to \$host format.
19125 > to_host_file_cmd=$lt_cv_to_host_file_cmd
19126 >
19127 > # convert \$build files to toolchain format.
19128 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19129  
19130   # An object symbol dumper.
19131   OBJDUMP=$lt_OBJDUMP
# Line 15573 | Line 19133 | OBJDUMP=$lt_OBJDUMP
19133   # Method to check whether dependent libraries are shared objects.
19134   deplibs_check_method=$lt_deplibs_check_method
19135  
19136 < # Command to use when deplibs_check_method == "file_magic".
19136 > # Command to use when deplibs_check_method = "file_magic".
19137   file_magic_cmd=$lt_file_magic_cmd
19138  
19139 + # How to find potential files when deplibs_check_method = "file_magic".
19140 + file_magic_glob=$lt_file_magic_glob
19141 +
19142 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19143 + want_nocaseglob=$lt_want_nocaseglob
19144 +
19145 + # DLL creation program.
19146 + DLLTOOL=$lt_DLLTOOL
19147 +
19148 + # Command to associate shared and link libraries.
19149 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19150 +
19151   # The archiver.
19152   AR=$lt_AR
19153 +
19154 + # Flags to create an archive.
19155   AR_FLAGS=$lt_AR_FLAGS
19156  
19157 + # How to feed a file listing to the archiver.
19158 + archiver_list_spec=$lt_archiver_list_spec
19159 +
19160   # A symbol stripping program.
19161   STRIP=$lt_STRIP
19162  
# Line 15588 | Line 19165 | RANLIB=$lt_RANLIB
19165   old_postinstall_cmds=$lt_old_postinstall_cmds
19166   old_postuninstall_cmds=$lt_old_postuninstall_cmds
19167  
19168 + # Whether to use a lock for old archive extraction.
19169 + lock_old_archive_extraction=$lock_old_archive_extraction
19170 +
19171   # A C compiler.
19172   LTCC=$lt_CC
19173  
# Line 15600 | Line 19180 | global_symbol_pipe=$lt_lt_cv_sys_global_
19180   # Transform the output of nm in a proper C declaration.
19181   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19182  
19183 + # Transform the output of nm into a list of symbols to manually relocate.
19184 + global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19185 +
19186   # Transform the output of nm in a C name address pair.
19187   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19188  
19189   # Transform the output of nm in a C name address pair when lib prefix is needed.
19190   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19191  
19192 < # The name of the directory that contains temporary libtool files.
19193 < objdir=$objdir
19192 > # The name lister interface.
19193 > nm_interface=$lt_lt_cv_nm_interface
19194  
19195 < # Shell to use when invoking shell scripts.
19196 < SHELL=$lt_SHELL
19195 > # Specify filename containing input files for \$NM.
19196 > nm_file_list_spec=$lt_nm_file_list_spec
19197  
19198 < # An echo program that does not interpret backslashes.
19199 < ECHO=$lt_ECHO
19198 > # The root where to search for dependent libraries,and where our libraries should be installed.
19199 > lt_sysroot=$lt_sysroot
19200 >
19201 > # Command to truncate a binary pipe.
19202 > lt_truncate_bin=$lt_lt_cv_truncate_bin
19203 >
19204 > # The name of the directory that contains temporary libtool files.
19205 > objdir=$objdir
19206  
19207   # Used to examine libraries when file_magic_cmd begins with "file".
19208   MAGIC_CMD=$MAGIC_CMD
# Line 15621 | Line 19210 | MAGIC_CMD=$MAGIC_CMD
19210   # Must we lock files when doing compilation?
19211   need_locks=$lt_need_locks
19212  
19213 + # Manifest tool.
19214 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
19215 +
19216   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19217   DSYMUTIL=$lt_DSYMUTIL
19218  
# Line 15677 | Line 19269 | library_names_spec=$lt_library_names_spe
19269   # The coded name of the library, if different from the real name.
19270   soname_spec=$lt_soname_spec
19271  
19272 + # Permission mode override for installation of shared libraries.
19273 + install_override_mode=$lt_install_override_mode
19274 +
19275   # Command to use after installation of a shared archive.
19276   postinstall_cmds=$lt_postinstall_cmds
19277  
# Line 15696 | Line 19291 | hardcode_into_libs=$hardcode_into_libs
19291   # Compile-time system search path for libraries.
19292   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19293  
19294 < # Run-time system search path for libraries.
19295 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19294 > # Detected run-time system search path for libraries.
19295 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19296 >
19297 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19298 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19299  
19300   # Whether dlopen is supported.
19301   dlopen_support=$enable_dlopen
# Line 15716 | Line 19314 | striplib=$lt_striplib
19314   # The linker used to build libraries.
19315   LD=$lt_LD
19316  
19317 + # How to create reloadable object files.
19318 + reload_flag=$lt_reload_flag
19319 + reload_cmds=$lt_reload_cmds
19320 +
19321   # Commands used to build an old-style archive.
19322   old_archive_cmds=$lt_old_archive_cmds
19323  
# Line 15728 | Line 19330 | with_gcc=$GCC
19330   # Compiler flag to turn off builtin functions.
19331   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19332  
15731 – # How to pass a linker flag through the compiler.
15732 – wl=$lt_lt_prog_compiler_wl
15733 –
19333   # Additional compiler flags for building library objects.
19334   pic_flag=$lt_lt_prog_compiler_pic
19335  
19336 + # How to pass a linker flag through the compiler.
19337 + wl=$lt_lt_prog_compiler_wl
19338 +
19339   # Compiler flag to prevent dynamic linking.
19340   link_static_flag=$lt_lt_prog_compiler_static
19341  
# Line 15783 | Line 19385 | no_undefined_flag=$lt_no_undefined_flag
19385   # This must work even if \$libdir does not exist
19386   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19387  
15786 – # If ld is used when linking, flag to hardcode \$libdir into a binary
15787 – # during linking.  This must work even if \$libdir does not exist.
15788 – hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15789 –
19388   # Whether we need a single "-rpath" flag with a separated argument.
19389   hardcode_libdir_separator=$lt_hardcode_libdir_separator
19390  
19391 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19391 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19392   # DIR into the resulting binary.
19393   hardcode_direct=$hardcode_direct
19394  
19395 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19395 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19396   # DIR into the resulting binary and the resulting library dependency is
19397 < # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19397 > # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19398   # library is relocated.
19399   hardcode_direct_absolute=$hardcode_direct_absolute
19400  
# Line 15820 | Line 19418 | inherit_rpath=$inherit_rpath
19418   # Whether libtool must link a program against all its dependency libraries.
19419   link_all_deplibs=$link_all_deplibs
19420  
15823 – # Fix the shell variable \$srcfile for the compiler.
15824 – fix_srcfile_path=$lt_fix_srcfile_path
15825 –
19421   # Set to "yes" if exported symbols are required.
19422   always_export_symbols=$always_export_symbols
19423  
# Line 15838 | Line 19433 | include_expsyms=$lt_include_expsyms
19433   # Commands necessary for linking programs (against libraries) with templates.
19434   prelink_cmds=$lt_prelink_cmds
19435  
19436 + # Commands necessary for finishing linking programs.
19437 + postlink_cmds=$lt_postlink_cmds
19438 +
19439   # Specify filename containing input files.
19440   file_list_spec=$lt_file_list_spec
19441  
# Line 15848 | Line 19446 | hardcode_action=$hardcode_action
19446  
19447   _LT_EOF
19448  
19449 +    cat <<'_LT_EOF' >> "$cfgfile"
19450 +
19451 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19452 +
19453 + # func_munge_path_list VARIABLE PATH
19454 + # -----------------------------------
19455 + # VARIABLE is name of variable containing _space_ separated list of
19456 + # directories to be munged by the contents of PATH, which is string
19457 + # having a format:
19458 + # "DIR[:DIR]:"
19459 + #       string "DIR[ DIR]" will be prepended to VARIABLE
19460 + # ":DIR[:DIR]"
19461 + #       string "DIR[ DIR]" will be appended to VARIABLE
19462 + # "DIRP[:DIRP]::[DIRA:]DIRA"
19463 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19464 + #       "DIRA[ DIRA]" will be appended to VARIABLE
19465 + # "DIR[:DIR]"
19466 + #       VARIABLE will be replaced by "DIR[ DIR]"
19467 + func_munge_path_list ()
19468 + {
19469 +    case x$2 in
19470 +    x)
19471 +        ;;
19472 +    *:)
19473 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19474 +        ;;
19475 +    x:*)
19476 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19477 +        ;;
19478 +    *::*)
19479 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19480 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19481 +        ;;
19482 +    *)
19483 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19484 +        ;;
19485 +    esac
19486 + }
19487 +
19488 +
19489 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19490 + func_cc_basename ()
19491 + {
19492 +    for cc_temp in $*""; do
19493 +      case $cc_temp in
19494 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19495 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19496 +        \-*) ;;
19497 +        *) break;;
19498 +      esac
19499 +    done
19500 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19501 + }
19502 +
19503 +
19504 + # ### END FUNCTIONS SHARED WITH CONFIGURE
19505 +
19506 + _LT_EOF
19507 +
19508    case $host_os in
19509    aix3*)
19510      cat <<\_LT_EOF >> "$cfgfile"
19511   # AIX sometimes has problems with the GCC collect2 program.  For some
19512   # reason, if we set the COLLECT_NAMES environment variable, the problems
19513   # vanish in a puff of smoke.
19514 < if test "X${COLLECT_NAMES+set}" != Xset; then
19514 > if test set != "${COLLECT_NAMES+set}"; then
19515    COLLECT_NAMES=
19516    export COLLECT_NAMES
19517   fi
# Line 15863 | Line 19520 | _LT_EOF
19520    esac
19521  
19522  
19523 < ltmain="$ac_aux_dir/ltmain.sh"
19523 > ltmain=$ac_aux_dir/ltmain.sh
19524  
19525  
19526    # We use sed instead of cat because bash on DJGPP gets confused if
19527    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19528    # text mode, it properly converts lines to CR/LF.  This bash problem
19529    # is reportedly fixed, but why not run on old versions too?
19530 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19531 <    || (rm -f "$cfgfile"; exit 1)
15875 <
15876 <  case $xsi_shell in
15877 <  yes)
15878 <    cat << \_LT_EOF >> "$cfgfile"
15879 <
15880 < # func_dirname file append nondir_replacement
15881 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15882 < # otherwise set result to NONDIR_REPLACEMENT.
15883 < func_dirname ()
15884 < {
15885 <  case ${1} in
15886 <    */*) func_dirname_result="${1%/*}${2}" ;;
15887 <    *  ) func_dirname_result="${3}" ;;
15888 <  esac
15889 < }
15890 <
15891 < # func_basename file
15892 < func_basename ()
15893 < {
15894 <  func_basename_result="${1##*/}"
15895 < }
15896 <
15897 < # func_dirname_and_basename file append nondir_replacement
15898 < # perform func_basename and func_dirname in a single function
15899 < # call:
15900 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15901 < #             add APPEND to the result, otherwise set result
15902 < #             to NONDIR_REPLACEMENT.
15903 < #             value returned in "$func_dirname_result"
15904 < #   basename: Compute filename of FILE.
15905 < #             value retuned in "$func_basename_result"
15906 < # Implementation must be kept synchronized with func_dirname
15907 < # and func_basename. For efficiency, we do not delegate to
15908 < # those functions but instead duplicate the functionality here.
15909 < func_dirname_and_basename ()
15910 < {
15911 <  case ${1} in
15912 <    */*) func_dirname_result="${1%/*}${2}" ;;
15913 <    *  ) func_dirname_result="${3}" ;;
15914 <  esac
15915 <  func_basename_result="${1##*/}"
15916 < }
15917 <
15918 < # func_stripname prefix suffix name
15919 < # strip PREFIX and SUFFIX off of NAME.
15920 < # PREFIX and SUFFIX must not contain globbing or regex special
15921 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15922 < # dot (in which case that matches only a dot).
15923 < func_stripname ()
15924 < {
15925 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15926 <  # positional parameters, so assign one to ordinary parameter first.
15927 <  func_stripname_result=${3}
15928 <  func_stripname_result=${func_stripname_result#"${1}"}
15929 <  func_stripname_result=${func_stripname_result%"${2}"}
15930 < }
15931 <
15932 < # func_opt_split
15933 < func_opt_split ()
15934 < {
15935 <  func_opt_split_opt=${1%%=*}
15936 <  func_opt_split_arg=${1#*=}
15937 < }
19530 >  sed '$q' "$ltmain" >> "$cfgfile" \
19531 >     || (rm -f "$cfgfile"; exit 1)
19532  
19533 < # func_lo2o object
15940 < func_lo2o ()
15941 < {
15942 <  case ${1} in
15943 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15944 <    *)    func_lo2o_result=${1} ;;
15945 <  esac
15946 < }
15947 <
15948 < # func_xform libobj-or-source
15949 < func_xform ()
15950 < {
15951 <  func_xform_result=${1%.*}.lo
15952 < }
15953 <
15954 < # func_arith arithmetic-term...
15955 < func_arith ()
15956 < {
15957 <  func_arith_result=$(( $* ))
15958 < }
15959 <
15960 < # func_len string
15961 < # STRING may not start with a hyphen.
15962 < func_len ()
15963 < {
15964 <  func_len_result=${#1}
15965 < }
15966 <
15967 < _LT_EOF
15968 <    ;;
15969 <  *) # Bourne compatible functions.
15970 <    cat << \_LT_EOF >> "$cfgfile"
15971 <
15972 < # func_dirname file append nondir_replacement
15973 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15974 < # otherwise set result to NONDIR_REPLACEMENT.
15975 < func_dirname ()
15976 < {
15977 <  # Extract subdirectory from the argument.
15978 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15979 <  if test "X$func_dirname_result" = "X${1}"; then
15980 <    func_dirname_result="${3}"
15981 <  else
15982 <    func_dirname_result="$func_dirname_result${2}"
15983 <  fi
15984 < }
15985 <
15986 < # func_basename file
15987 < func_basename ()
15988 < {
15989 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15990 < }
15991 <
15992 <
15993 < # func_stripname prefix suffix name
15994 < # strip PREFIX and SUFFIX off of NAME.
15995 < # PREFIX and SUFFIX must not contain globbing or regex special
15996 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15997 < # dot (in which case that matches only a dot).
15998 < # func_strip_suffix prefix name
15999 < func_stripname ()
16000 < {
16001 <  case ${2} in
16002 <    .*) func_stripname_result=`$ECHO "X${3}" \
16003 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16004 <    *)  func_stripname_result=`$ECHO "X${3}" \
16005 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16006 <  esac
16007 < }
16008 <
16009 < # sed scripts:
16010 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16011 < my_sed_long_arg='1s/^-[^=]*=//'
16012 <
16013 < # func_opt_split
16014 < func_opt_split ()
16015 < {
16016 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16017 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16018 < }
16019 <
16020 < # func_lo2o object
16021 < func_lo2o ()
16022 < {
16023 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16024 < }
16025 <
16026 < # func_xform libobj-or-source
16027 < func_xform ()
16028 < {
16029 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16030 < }
16031 <
16032 < # func_arith arithmetic-term...
16033 < func_arith ()
16034 < {
16035 <  func_arith_result=`expr "$@"`
16036 < }
16037 <
16038 < # func_len string
16039 < # STRING may not start with a hyphen.
16040 < func_len ()
16041 < {
16042 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16043 < }
16044 <
16045 < _LT_EOF
16046 < esac
16047 <
16048 < case $lt_shell_append in
16049 <  yes)
16050 <    cat << \_LT_EOF >> "$cfgfile"
16051 <
16052 < # func_append var value
16053 < # Append VALUE to the end of shell variable VAR.
16054 < func_append ()
16055 < {
16056 <  eval "$1+=\$2"
16057 < }
16058 < _LT_EOF
16059 <    ;;
16060 <  *)
16061 <    cat << \_LT_EOF >> "$cfgfile"
16062 <
16063 < # func_append var value
16064 < # Append VALUE to the end of shell variable VAR.
16065 < func_append ()
16066 < {
16067 <  eval "$1=\$$1\$2"
16068 < }
16069 <
16070 < _LT_EOF
16071 <    ;;
16072 <  esac
16073 <
16074 <
16075 <  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16076 <    || (rm -f "$cfgfile"; exit 1)
16077 <
16078 <  mv -f "$cfgfile" "$ofile" ||
19533 >   mv -f "$cfgfile" "$ofile" ||
19534      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19535    chmod +x "$ofile"
19536  
# Line 16090 | Line 19545 | _ACEOF
19545   ac_clean_files=$ac_clean_files_save
19546  
19547   test $ac_write_fail = 0 ||
19548 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
19548 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19549  
19550  
19551   # configure is writing to config.log, and then calls config.status.
# Line 16111 | Line 19566 | if test "$no_create" != yes; then
19566    exec 5>>config.log
19567    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19568    # would make configure fail if this is the last instruction.
19569 <  $ac_cs_success || as_fn_exit $?
16115 < fi
16116 <
16117 < #
16118 < # CONFIG_SUBDIRS section.
16119 < #
16120 < if test "$no_recursion" != yes; then
16121 <
16122 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16123 <  # so they do not pile up.
16124 <  ac_sub_configure_args=
16125 <  ac_prev=
16126 <  eval "set x $ac_configure_args"
16127 <  shift
16128 <  for ac_arg
16129 <  do
16130 <    if test -n "$ac_prev"; then
16131 <      ac_prev=
16132 <      continue
16133 <    fi
16134 <    case $ac_arg in
16135 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16136 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16137 <      ac_prev=cache_file ;;
16138 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16139 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16140 <    | --c=*)
16141 <      ;;
16142 <    --config-cache | -C)
16143 <      ;;
16144 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16145 <      ac_prev=srcdir ;;
16146 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16147 <      ;;
16148 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16149 <      ac_prev=prefix ;;
16150 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16151 <      ;;
16152 <    --disable-option-checking)
16153 <      ;;
16154 <    *)
16155 <      case $ac_arg in
16156 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16157 <      esac
16158 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16159 <    esac
16160 <  done
16161 <
16162 <  # Always prepend --prefix to ensure using the same prefix
16163 <  # in subdir configurations.
16164 <  ac_arg="--prefix=$prefix"
16165 <  case $ac_arg in
16166 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16167 <  esac
16168 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16169 <
16170 <  # Pass --silent
16171 <  if test "$silent" = yes; then
16172 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16173 <  fi
16174 <
16175 <  # Always prepend --disable-option-checking to silence warnings, since
16176 <  # different subdirs can have different --enable and --with options.
16177 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16178 <
16179 <  ac_popdir=`pwd`
16180 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16181 <
16182 <    # Do not complain, so a configure script can configure whichever
16183 <    # parts of a large source tree are present.
16184 <    test -d "$srcdir/$ac_dir" || continue
16185 <
16186 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16187 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16188 <    $as_echo "$ac_msg" >&6
16189 <    as_dir="$ac_dir"; as_fn_mkdir_p
16190 <    ac_builddir=.
16191 <
16192 < case "$ac_dir" in
16193 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16194 < *)
16195 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16196 <  # A ".." for each directory in $ac_dir_suffix.
16197 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16198 <  case $ac_top_builddir_sub in
16199 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16200 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16201 <  esac ;;
16202 < esac
16203 < ac_abs_top_builddir=$ac_pwd
16204 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16205 < # for backward compatibility:
16206 < ac_top_builddir=$ac_top_build_prefix
16207 <
16208 < case $srcdir in
16209 <  .)  # We are building in place.
16210 <    ac_srcdir=.
16211 <    ac_top_srcdir=$ac_top_builddir_sub
16212 <    ac_abs_top_srcdir=$ac_pwd ;;
16213 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16214 <    ac_srcdir=$srcdir$ac_dir_suffix;
16215 <    ac_top_srcdir=$srcdir
16216 <    ac_abs_top_srcdir=$srcdir ;;
16217 <  *) # Relative name.
16218 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16219 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16220 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16221 < esac
16222 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16223 <
16224 <
16225 <    cd "$ac_dir"
16226 <
16227 <    # Check for guested configure; otherwise get Cygnus style configure.
16228 <    if test -f "$ac_srcdir/configure.gnu"; then
16229 <      ac_sub_configure=$ac_srcdir/configure.gnu
16230 <    elif test -f "$ac_srcdir/configure"; then
16231 <      ac_sub_configure=$ac_srcdir/configure
16232 <    elif test -f "$ac_srcdir/configure.in"; then
16233 <      # This should be Cygnus configure.
16234 <      ac_sub_configure=$ac_aux_dir/configure
16235 <    else
16236 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16237 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16238 <      ac_sub_configure=
16239 <    fi
16240 <
16241 <    # The recursion is here.
16242 <    if test -n "$ac_sub_configure"; then
16243 <      # Make the cache file name correct relative to the subdirectory.
16244 <      case $cache_file in
16245 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16246 <      *) # Relative name.
16247 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16248 <      esac
16249 <
16250 <      { $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
16251 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16252 <      # The eval makes quoting arguments work.
16253 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16254 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16255 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16256 <    fi
16257 <
16258 <    cd "$ac_popdir"
16259 <  done
19569 >  $ac_cs_success || as_fn_exit 1
19570   fi
19571   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19572    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19573   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19574   fi
19575  
19576 +
19577 + echo "###############################################################################"
19578 + echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
19579 + echo
19580 + echo "ircd-hybrid will be installed in ${prefix}.  To change this, run:"
19581 + echo "   ./configure --prefix=DIRECTORY"
19582 + echo "###############################################################################"

Comparing:
ircd-hybrid-7.2/configure (property svn:eol-style), Revision 998 by michael, Sun Aug 23 12:43:17 2009 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 9169 by michael, Sat Jan 18 19:08:44 2020 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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