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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 977 by michael, Sat Aug 8 07:33:08 2009 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 9183 by michael, Mon Jan 20 16:50:49 2020 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael .
2 > # From configure.ac Id: configure.ac 9182 2020-01-19 20:15:04Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.27.
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 –
572  
573 < lt_ltdl_dir='libltdl'
574 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
680 <
681 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='8.2.27'
597 > PACKAGE_STRING='ircd-hybrid 8.2.27'
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 > with_tls
818   '
819        ac_precious_vars='build_alias
820   host_alias
# Line 937 | Line 826 | LIBS
826   CPPFLAGS
827   YACC
828   YFLAGS
829 + LT_SYS_LIBRARY_PATH
830   CPP'
831 < ac_subdirs_all='libltdl'
831 >
832  
833   # Initialize some variables set by options.
834   ac_init_help=
# Line 976 | Line 866 | datadir='${datarootdir}'
866   sysconfdir='${prefix}/etc'
867   sharedstatedir='${prefix}/com'
868   localstatedir='${prefix}/var'
869 + runstatedir='${localstatedir}/run'
870   includedir='${prefix}/include'
871   oldincludedir='/usr/include'
872   docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# Line 1000 | Line 891 | do
891    fi
892  
893    case $ac_option in
894 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 <  *)    ac_optarg=yes ;;
894 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 >  *=)   ac_optarg= ;;
896 >  *)    ac_optarg=yes ;;
897    esac
898  
899    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1046 | Line 938 | do
938      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
939      # Reject names that are not valid shell variable names.
940      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
941 <      as_fn_error "invalid feature name: $ac_useropt"
941 >      as_fn_error $? "invalid feature name: $ac_useropt"
942      ac_useropt_orig=$ac_useropt
943      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
944      case $ac_user_opts in
# Line 1072 | Line 964 | do
964      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
965      # Reject names that are not valid shell variable names.
966      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
967 <      as_fn_error "invalid feature name: $ac_useropt"
967 >      as_fn_error $? "invalid feature name: $ac_useropt"
968      ac_useropt_orig=$ac_useropt
969      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970      case $ac_user_opts in
# Line 1227 | Line 1119 | do
1119    | -silent | --silent | --silen | --sile | --sil)
1120      silent=yes ;;
1121  
1122 +  -runstatedir | --runstatedir | --runstatedi | --runstated \
1123 +  | --runstate | --runstat | --runsta | --runst | --runs \
1124 +  | --run | --ru | --r)
1125 +    ac_prev=runstatedir ;;
1126 +  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1127 +  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1128 +  | --run=* | --ru=* | --r=*)
1129 +    runstatedir=$ac_optarg ;;
1130 +
1131    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132      ac_prev=sbindir ;;
1133    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
# Line 1276 | Line 1177 | do
1177      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178      # Reject names that are not valid shell variable names.
1179      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 <      as_fn_error "invalid package name: $ac_useropt"
1180 >      as_fn_error $? "invalid package name: $ac_useropt"
1181      ac_useropt_orig=$ac_useropt
1182      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183      case $ac_user_opts in
# Line 1292 | Line 1193 | do
1193      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194      # Reject names that are not valid shell variable names.
1195      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 <      as_fn_error "invalid package name: $ac_useropt"
1196 >      as_fn_error $? "invalid package name: $ac_useropt"
1197      ac_useropt_orig=$ac_useropt
1198      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199      case $ac_user_opts in
# Line 1322 | Line 1223 | do
1223    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224      x_libraries=$ac_optarg ;;
1225  
1226 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1227 < Try \`$0 --help' for more information."
1226 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1227 > Try \`$0 --help' for more information"
1228      ;;
1229  
1230    *=*)
# Line 1331 | Line 1232 | Try \`$0 --help' for more information."
1232      # Reject names that are not valid shell variable names.
1233      case $ac_envvar in #(
1234        '' | [0-9]* | *[!_$as_cr_alnum]* )
1235 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1235 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1236      esac
1237      eval $ac_envvar=\$ac_optarg
1238      export $ac_envvar ;;
# Line 1341 | Line 1242 | Try \`$0 --help' for more information."
1242      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1245 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246      ;;
1247  
1248    esac
# Line 1349 | Line 1250 | done
1250  
1251   if test -n "$ac_prev"; then
1252    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253 <  as_fn_error "missing argument to $ac_option"
1253 >  as_fn_error $? "missing argument to $ac_option"
1254   fi
1255  
1256   if test -n "$ac_unrecognized_opts"; then
1257    case $enable_option_checking in
1258      no) ;;
1259 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1259 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1260      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261    esac
1262   fi
# Line 1364 | Line 1265 | fi
1265   for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266                  datadir sysconfdir sharedstatedir localstatedir includedir \
1267                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 <                libdir localedir mandir
1268 >                libdir localedir mandir runstatedir
1269   do
1270    eval ac_val=\$$ac_var
1271    # Remove trailing slashes.
# Line 1378 | Line 1279 | do
1279      [\\/$]* | ?:[\\/]* )  continue;;
1280      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281    esac
1282 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1282 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283   done
1284  
1285   # There might be people who depend on the old broken behavior: `$host'
# Line 1392 | Line 1293 | target=$target_alias
1293   if test "x$host_alias" != x; then
1294    if test "x$build_alias" = x; then
1295      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
1296    elif test "x$build_alias" != "x$host_alias"; then
1297      cross_compiling=yes
1298    fi
# Line 1408 | Line 1307 | test "$silent" = yes && exec 6>/dev/null
1307   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308   ac_ls_di=`ls -di .` &&
1309   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310 <  as_fn_error "working directory cannot be determined"
1310 >  as_fn_error $? "working directory cannot be determined"
1311   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 <  as_fn_error "pwd does not report name of working directory"
1312 >  as_fn_error $? "pwd does not report name of working directory"
1313  
1314  
1315   # Find the source files, if location was not specified.
# Line 1449 | Line 1348 | else
1348   fi
1349   if test ! -r "$srcdir/$ac_unique_file"; then
1350    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1351 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352   fi
1353   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354   ac_abs_confdir=`(
1355 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1355 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356          pwd)`
1357   # When building in place, set srcdir=.
1358   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1479 | Line 1378 | if test "$ac_init_help" = "long"; then
1378    # Omit some internal or obsolete options to make the list less imposing.
1379    # This message is too long to be a string in the A/UX 3.1 sh.
1380    cat <<_ACEOF
1381 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1381 > \`configure' configures ircd-hybrid 8.2.27 to adapt to many kinds of systems.
1382  
1383   Usage: $0 [OPTION]... [VAR=VALUE]...
1384  
# Line 1493 | Line 1392 | Configuration:
1392        --help=short        display options specific to this package
1393        --help=recursive    display the short help of all the included packages
1394    -V, --version           display version information and exit
1395 <  -q, --quiet, --silent   do not print \`checking...' messages
1395 >  -q, --quiet, --silent   do not print \`checking ...' messages
1396        --cache-file=FILE   cache test results in FILE [disabled]
1397    -C, --config-cache      alias for \`--cache-file=config.cache'
1398    -n, --no-create         do not create output files
# Line 1519 | Line 1418 | Fine tuning of the installation director
1418    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1419    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1420    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1421 +  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1422    --libdir=DIR            object code libraries [EPREFIX/lib]
1423    --includedir=DIR        C header files [PREFIX/include]
1424    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
# Line 1549 | Line 1449 | fi
1449  
1450   if test -n "$ac_init_help"; then
1451    case $ac_init_help in
1452 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1452 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.27:";;
1453     esac
1454    cat <<\_ACEOF
1455  
# Line 1557 | Line 1457 | Optional Features:
1457    --disable-option-checking  ignore unrecognized --enable/--with options
1458    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1459    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1460 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1461 <                          (and sometimes confusing) to the casual installer
1462 <  --disable-dependency-tracking  speeds up one-time build
1463 <  --enable-dependency-tracking   do not reject slow dependency extractors
1460 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1461 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1462 >  --enable-maintainer-mode
1463 >                          enable make rules and dependencies not useful (and
1464 >                          sometimes confusing) to the casual installer
1465 >  --enable-dependency-tracking
1466 >                          do not reject slow dependency extractors
1467 >  --disable-dependency-tracking
1468 >                          speeds up one-time build
1469    --enable-static[=PKGS]  build static libraries [default=no]
1470    --enable-shared[=PKGS]  build shared libraries [default=yes]
1471    --enable-fast-install[=PKGS]
1472                            optimize for fast installation [default=yes]
1473    --disable-libtool-lock  avoid locking (might break parallel builds)
1474    --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.
1475    --enable-kqueue         Force kqueue usage.
1476    --enable-epoll          Force epoll usage.
1477    --enable-devpoll        Force devpoll usage.
1578 –  --enable-rtsigio        Force rtsigio usage.
1478    --enable-poll           Force poll usage.
1479 <  --enable-select         Force select usage.
1581 <  --enable-efnet          For IRCDs running on EFnet.
1582 <  --enable-halfops        Enable halfops support.
1479 >  --enable-assert         Enable assert() statements
1480    --enable-debugging      Enable debugging.
1481    --enable-warnings       Enable compiler warnings.
1482 <  --enable-syslog="EVENTS"
1483 <                          Enable syslog for events: users oper (space
1587 <                          separated in quotes; default: disabled).
1482 >  --enable-efence         Enable linking with Electric Fence 'efence' memory
1483 >                          debugger library.
1484  
1485   Optional Packages:
1486    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1487    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1488 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1488 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1489                            both]
1490 +  --with-aix-soname=aix|svr4|both
1491 +                          shared library versioning (aka "SONAME") variant to
1492 +                          provide on AIX, [default=aix].
1493    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1494 +  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1495 +                          compiler's sysroot if not specified).
1496    --with-included-ltdl    use the GNU ltdl sources included here
1497    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1498    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1499 <  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1500 <  --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)
1499 >  --with-tls              Enables TLS with specified library. Options:
1500 >                          'openssl', 'wolfssl', 'gnutls' or 'none'
1501  
1502   Some influential environment variables:
1503    CC          C compiler command
# Line 1608 | Line 1505 | Some influential environment variables:
1505    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1506                nonstandard directory <lib dir>
1507    LIBS        libraries to pass to the linker, e.g. -l<library>
1508 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1508 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1509                you have headers in a nonstandard directory <include dir>
1510 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1511 <              the first program found out of: `bison -y', `byacc', `yacc'.
1510 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1511 >              Defaults to the first program found out of: `bison -y', `byacc',
1512 >              `yacc'.
1513    YFLAGS      The list of arguments that will be passed by default to $YACC.
1514                This script will default YFLAGS to the empty string to avoid a
1515                default value of `-d' given by some make applications.
1516 +  LT_SYS_LIBRARY_PATH
1517 +              User-defined run-time library search path.
1518    CPP         C preprocessor
1519  
1520   Use these variables to override the choices made by `configure' or to help
1521   it to find libraries and programs with nonstandard names/locations.
1522  
1523 < Report bugs to the package provider.
1523 > Report bugs to <bugs@ircd-hybrid.org>.
1524   _ACEOF
1525   ac_status=$?
1526   fi
# Line 1683 | Line 1583 | fi
1583   test -n "$ac_init_help" && exit $ac_status
1584   if $ac_init_version; then
1585    cat <<\_ACEOF
1586 < ircd-hybrid configure 7.2.4
1587 < generated by GNU Autoconf 2.64
1586 > ircd-hybrid configure 8.2.27
1587 > generated by GNU Autoconf 2.69
1588  
1589 < Copyright (C) 2009 Free Software Foundation, Inc.
1589 > Copyright (C) 2012 Free Software Foundation, Inc.
1590   This configure script is free software; the Free Software Foundation
1591   gives unlimited permission to copy, distribute and modify it.
1592   _ACEOF
# Line 1730 | Line 1630 | sed 's/^/| /' conftest.$ac_ext >&5
1630  
1631          ac_retval=1
1632   fi
1633 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1634 <  return $ac_retval
1633 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634 >  as_fn_set_status $ac_retval
1635  
1636   } # ac_fn_c_try_compile
1637  
# Line 1762 | Line 1662 | $as_echo "$ac_try_echo"; } >&5
1662           test ! -s conftest.err
1663         } && test -s conftest$ac_exeext && {
1664           test "$cross_compiling" = yes ||
1665 <         $as_test_x conftest$ac_exeext
1665 >         test -x conftest$ac_exeext
1666         }; then :
1667    ac_retval=0
1668   else
# Line 1776 | Line 1676 | fi
1676    # interfere with the next link command; also delete a directory that is
1677    # left behind by Apple's compiler.  We do this before executing the actions.
1678    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1680 <  return $ac_retval
1679 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 >  as_fn_set_status $ac_retval
1681  
1682   } # ac_fn_c_try_link
1683  
# Line 1790 | Line 1690 | ac_fn_c_check_header_compile ()
1690    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692   $as_echo_n "checking for $2... " >&6; }
1693 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1693 > if eval \${$3+:} false; then :
1694    $as_echo_n "(cached) " >&6
1695   else
1696    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1808 | Line 1708 | fi
1708   eval ac_res=\$$3
1709                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710   $as_echo "$ac_res" >&6; }
1711 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1711 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712  
1713   } # ac_fn_c_check_header_compile
1714  
# Line 1833 | Line 1733 | $as_echo "$ac_try_echo"; } >&5
1733      mv -f conftest.er1 conftest.err
1734    fi
1735    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 <  test $ac_status = 0; } >/dev/null && {
1736 >  test $ac_status = 0; } > conftest.i && {
1737           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738           test ! -s conftest.err
1739         }; then :
# Line 1844 | Line 1744 | sed 's/^/| /' conftest.$ac_ext >&5
1744  
1745      ac_retval=1
1746   fi
1747 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 <  return $ac_retval
1747 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 >  as_fn_set_status $ac_retval
1749  
1750   } # ac_fn_c_try_cpp
1751  
# Line 1886 | Line 1786 | sed 's/^/| /' conftest.$ac_ext >&5
1786         ac_retval=$ac_status
1787   fi
1788    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790 <  return $ac_retval
1789 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 >  as_fn_set_status $ac_retval
1791  
1792   } # ac_fn_c_try_run
1793  
# Line 1899 | Line 1799 | ac_fn_c_check_func ()
1799    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801   $as_echo_n "checking for $2... " >&6; }
1802 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1802 > if eval \${$3+:} false; then :
1803    $as_echo_n "(cached) " >&6
1804   else
1805    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1954 | Line 1854 | fi
1854   eval ac_res=\$$3
1855                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856   $as_echo "$ac_res" >&6; }
1857 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1857 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858  
1859   } # ac_fn_c_check_func
1860  
1861 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1862 < # ------------------------------------
1863 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1861 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1862 > # ---------------------------------------------
1863 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1864 > # accordingly.
1865   ac_fn_c_check_decl ()
1866   {
1867    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1869 < $as_echo_n "checking whether $2 is declared... " >&6; }
1870 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1868 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1869 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1870 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1871 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1872 > if eval \${$3+:} false; then :
1873    $as_echo_n "(cached) " >&6
1874   else
1875    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1975 | Line 1878 | $4
1878   int
1879   main ()
1880   {
1881 < #ifndef $2
1882 <  (void) $2;
1881 > #ifndef $as_decl_name
1882 > #ifdef __cplusplus
1883 >  (void) $as_decl_use;
1884 > #else
1885 >  (void) $as_decl_name;
1886 > #endif
1887   #endif
1888  
1889    ;
# Line 1993 | Line 1900 | fi
1900   eval ac_res=\$$3
1901                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902   $as_echo "$ac_res" >&6; }
1903 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904  
1905   } # ac_fn_c_check_decl
1906  
# Line 2006 | Line 1913 | ac_fn_c_check_type ()
1913    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1915   $as_echo_n "checking for $2... " >&6; }
1916 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1916 > if eval \${$3+:} false; then :
1917    $as_echo_n "(cached) " >&6
1918   else
1919    eval "$3=no"
# Line 2047 | Line 1954 | fi
1954   eval ac_res=\$$3
1955                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956   $as_echo "$ac_res" >&6; }
1957 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1957 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958  
1959   } # ac_fn_c_check_type
1960  
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 –
1961   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1962   # -------------------------------------------------------
1963   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2294 | Line 1966 | rm -f conftest.val
1966   ac_fn_c_check_header_mongrel ()
1967   {
1968    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1969 >  if eval \${$3+:} false; then :
1970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971   $as_echo_n "checking for $2... " >&6; }
1972 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1972 > if eval \${$3+:} false; then :
1973    $as_echo_n "(cached) " >&6
1974   fi
1975   eval ac_res=\$$3
# Line 2333 | Line 2005 | if ac_fn_c_try_cpp "$LINENO"; then :
2005   else
2006    ac_header_preproc=no
2007   fi
2008 < rm -f conftest.err conftest.$ac_ext
2008 > rm -f conftest.err conftest.i conftest.$ac_ext
2009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2010   $as_echo "$ac_header_preproc" >&6; }
2011  
# Line 2356 | Line 2028 | $as_echo "$as_me: WARNING: $2: see the A
2028   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2029      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2030   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2031 + ( $as_echo "## ----------------------------------- ##
2032 + ## Report this to bugs@ircd-hybrid.org ##
2033 + ## ----------------------------------- ##"
2034 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2035      ;;
2036   esac
2037    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038   $as_echo_n "checking for $2... " >&6; }
2039 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2039 > if eval \${$3+:} false; then :
2040    $as_echo_n "(cached) " >&6
2041   else
2042    eval "$3=\$ac_header_compiler"
# Line 2369 | Line 2045 | eval ac_res=\$$3
2045                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046   $as_echo "$ac_res" >&6; }
2047   fi
2048 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2048 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2049  
2050   } # ac_fn_c_check_header_mongrel
2051   cat >config.log <<_ACEOF
2052   This file contains any messages produced by compilers while
2053   running configure, to aid debugging if configure makes a mistake.
2054  
2055 < It was created by ircd-hybrid $as_me 7.2.4, which was
2056 < generated by GNU Autoconf 2.64.  Invocation command line was
2055 > It was created by ircd-hybrid $as_me 8.2.27, which was
2056 > generated by GNU Autoconf 2.69.  Invocation command line was
2057  
2058    $ $0 $@
2059  
# Line 2487 | Line 2163 | trap 'exit_status=$?
2163    {
2164      echo
2165  
2166 <    cat <<\_ASBOX
2491 < ## ---------------- ##
2166 >    $as_echo "## ---------------- ##
2167   ## Cache variables. ##
2168 < ## ---------------- ##
2494 < _ASBOX
2168 > ## ---------------- ##"
2169      echo
2170      # The following way of writing the cache mishandles newlines in values,
2171   (
# Line 2525 | Line 2199 | $as_echo "$as_me: WARNING: cache variabl
2199   )
2200      echo
2201  
2202 <    cat <<\_ASBOX
2529 < ## ----------------- ##
2202 >    $as_echo "## ----------------- ##
2203   ## Output variables. ##
2204 < ## ----------------- ##
2532 < _ASBOX
2204 > ## ----------------- ##"
2205      echo
2206      for ac_var in $ac_subst_vars
2207      do
# Line 2542 | Line 2214 | _ASBOX
2214      echo
2215  
2216      if test -n "$ac_subst_files"; then
2217 <      cat <<\_ASBOX
2546 < ## ------------------- ##
2217 >      $as_echo "## ------------------- ##
2218   ## File substitutions. ##
2219 < ## ------------------- ##
2549 < _ASBOX
2219 > ## ------------------- ##"
2220        echo
2221        for ac_var in $ac_subst_files
2222        do
# Line 2560 | Line 2230 | _ASBOX
2230      fi
2231  
2232      if test -s confdefs.h; then
2233 <      cat <<\_ASBOX
2564 < ## ----------- ##
2233 >      $as_echo "## ----------- ##
2234   ## confdefs.h. ##
2235 < ## ----------- ##
2567 < _ASBOX
2235 > ## ----------- ##"
2236        echo
2237        cat confdefs.h
2238        echo
# Line 2619 | Line 2287 | _ACEOF
2287   ac_site_file1=NONE
2288   ac_site_file2=NONE
2289   if test -n "$CONFIG_SITE"; then
2290 <  ac_site_file1=$CONFIG_SITE
2290 >  # We do not want a PATH search for config.site.
2291 >  case $CONFIG_SITE in #((
2292 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2293 >    */*) ac_site_file1=$CONFIG_SITE;;
2294 >    *)   ac_site_file1=./$CONFIG_SITE;;
2295 >  esac
2296   elif test "x$prefix" != xNONE; then
2297    ac_site_file1=$prefix/share/config.site
2298    ac_site_file2=$prefix/etc/config.site
# Line 2630 | Line 2303 | fi
2303   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2304   do
2305    test "x$ac_site_file" = xNONE && continue
2306 <  if test -r "$ac_site_file"; then
2306 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2307      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2308   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2309      sed 's/^/| /' "$ac_site_file" >&5
2310 <    . "$ac_site_file"
2310 >    . "$ac_site_file" \
2311 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2312 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313 > as_fn_error $? "failed to load site script $ac_site_file
2314 > See \`config.log' for more details" "$LINENO" 5; }
2315    fi
2316   done
2317  
2318   if test -r "$cache_file"; then
2319 <  # Some versions of bash will fail to source /dev/null (special
2320 <  # files actually), so we avoid doing that.
2321 <  if test -f "$cache_file"; then
2319 >  # Some versions of bash will fail to source /dev/null (special files
2320 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2321 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2322      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2323   $as_echo "$as_me: loading cache $cache_file" >&6;}
2324      case $cache_file in
# Line 2655 | Line 2332 | $as_echo "$as_me: creating cache $cache_
2332    >$cache_file
2333   fi
2334  
2335 < as_fn_append ac_func_list " snprintf"
2659 < as_fn_append ac_func_list " vsnprintf"
2660 < as_fn_append ac_func_list " lrand48"
2661 < as_fn_append ac_func_list " srand48"
2662 < as_fn_append ac_func_list " mmap"
2335 > as_fn_append ac_func_list " accept4"
2336   as_fn_append ac_func_list " strtok_r"
2664 – as_fn_append ac_func_list " usleep"
2337   as_fn_append ac_func_list " strlcat"
2338   as_fn_append ac_func_list " strlcpy"
2667 – as_fn_append ac_func_list " basename"
2339   as_fn_append ac_header_list " crypt.h"
2669 – as_fn_append ac_header_list " inttypes.h"
2670 – as_fn_append ac_header_list " stdint.h"
2671 – as_fn_append ac_header_list " sys/resource.h"
2340   as_fn_append ac_header_list " sys/param.h"
2673 – as_fn_append ac_header_list " errno.h"
2674 – as_fn_append ac_header_list " sys/syslog.h"
2675 – as_fn_append ac_header_list " stddef.h"
2676 – as_fn_append ac_header_list " libgen.h"
2341   as_fn_append ac_header_list " types.h"
2342   as_fn_append ac_header_list " socket.h"
2343   as_fn_append ac_header_list " sys/wait.h"
2680 – as_fn_append ac_header_list " wait.h"
2681 – as_fn_append ac_header_list " link.h"
2344   # Check that the precious variables saved in the cache have kept the same
2345   # value.
2346   ac_cache_corrupted=false
# Line 2734 | Line 2396 | if $ac_cache_corrupted; then
2396   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2399 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2400   fi
2401   ## -------------------- ##
2402   ## Main body of script. ##
# Line 2747 | Line 2409 | ac_link='$CC -o conftest$ac_exeext $CFLA
2409   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2410  
2411  
2412 < am__api_version='1.11'
2412 > am__api_version='1.16'
2413  
2414   ac_aux_dir=
2415   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2416 <  for ac_t in install-sh install.sh shtool; do
2417 <    if test -f "$ac_dir/$ac_t"; then
2418 <      ac_aux_dir=$ac_dir
2419 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2420 <      break 2
2421 <    fi
2422 <  done
2416 >  if test -f "$ac_dir/install-sh"; then
2417 >    ac_aux_dir=$ac_dir
2418 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2419 >    break
2420 >  elif test -f "$ac_dir/install.sh"; then
2421 >    ac_aux_dir=$ac_dir
2422 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2423 >    break
2424 >  elif test -f "$ac_dir/shtool"; then
2425 >    ac_aux_dir=$ac_dir
2426 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2427 >    break
2428 >  fi
2429   done
2430   if test -z "$ac_aux_dir"; then
2431 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2431 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2432   fi
2433  
2434   # These three variables are undocumented and unsupported,
# Line 2789 | Line 2457 | ac_configure="$SHELL $ac_aux_dir/configu
2457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2458   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2459   if test -z "$INSTALL"; then
2460 < if test "${ac_cv_path_install+set}" = set; then :
2460 > if ${ac_cv_path_install+:} false; then :
2461    $as_echo_n "(cached) " >&6
2462   else
2463    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2809 | Line 2477 | case $as_dir/ in #((
2477      # by default.
2478      for ac_prog in ginstall scoinst install; do
2479        for ac_exec_ext in '' $ac_executable_extensions; do
2480 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2480 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2481            if test $ac_prog = install &&
2482              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2483              # AIX install.  It has an incompatible calling convention.
# Line 2867 | Line 2535 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2535  
2536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2537   $as_echo_n "checking whether build environment is sane... " >&6; }
2870 – # Just in case
2871 – sleep 1
2872 – echo timestamp > conftest.file
2538   # Reject unsafe characters in $srcdir or the absolute working directory
2539   # name.  Accept space and tab only in the latter.
2540   am_lf='
2541   '
2542   case `pwd` in
2543    *[\\\"\#\$\&\'\`$am_lf]*)
2544 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2544 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2545   esac
2546   case $srcdir in
2547    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2548 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2548 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2549   esac
2550  
2551 < # Do `set' in a subshell so we don't clobber the current shell's
2551 > # Do 'set' in a subshell so we don't clobber the current shell's
2552   # arguments.  Must try -L first in case configure is actually a
2553   # symlink; some systems play weird games with the mod time of symlinks
2554   # (eg FreeBSD returns the mod time of the symlink's containing
2555   # directory).
2556   if (
2557 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2558 <   if test "$*" = "X"; then
2559 <      # -L didn't work.
2560 <      set X `ls -t "$srcdir/configure" conftest.file`
2561 <   fi
2562 <   rm -f conftest.file
2563 <   if test "$*" != "X $srcdir/configure conftest.file" \
2564 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2565 <
2566 <      # If neither matched, then we have a broken ls.  This can happen
2902 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2903 <      # broken ls alias from the environment.  This has actually
2904 <      # happened.  Such a system could not be considered "sane".
2905 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2906 < alias in your environment" "$LINENO" 5
2907 <   fi
2557 >   am_has_slept=no
2558 >   for am_try in 1 2; do
2559 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2560 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2561 >     if test "$*" = "X"; then
2562 >        # -L didn't work.
2563 >        set X `ls -t "$srcdir/configure" conftest.file`
2564 >     fi
2565 >     if test "$*" != "X $srcdir/configure conftest.file" \
2566 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2567  
2568 +        # If neither matched, then we have a broken ls.  This can happen
2569 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2570 +        # broken ls alias from the environment.  This has actually
2571 +        # happened.  Such a system could not be considered "sane".
2572 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2573 +  alias in your environment" "$LINENO" 5
2574 +     fi
2575 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2576 +       break
2577 +     fi
2578 +     # Just in case.
2579 +     sleep 1
2580 +     am_has_slept=yes
2581 +   done
2582     test "$2" = conftest.file
2583     )
2584   then
2585     # Ok.
2586     :
2587   else
2588 <   as_fn_error "newly created file is older than distributed files!
2588 >   as_fn_error $? "newly created file is older than distributed files!
2589   Check your system clock" "$LINENO" 5
2590   fi
2591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592   $as_echo "yes" >&6; }
2593 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2594 + # generated files are strictly newer.
2595 + am_sleep_pid=
2596 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2597 +  ( sleep 1 ) &
2598 +  am_sleep_pid=$!
2599 + fi
2600 +
2601 + rm -f conftest.file
2602 +
2603   test "$program_prefix" != NONE &&
2604    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2605   # Use a double $ so make ignores it.
# Line 2927 | Line 2610 | test "$program_suffix" != NONE &&
2610   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2611   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2612  
2613 < # expand $ac_aux_dir to an absolute path
2614 < am_aux_dir=`cd $ac_aux_dir && pwd`
2613 > # Expand $ac_aux_dir to an absolute path.
2614 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2615  
2616   if test x"${MISSING+set}" != xset; then
2617    case $am_aux_dir in
# Line 2939 | Line 2622 | if test x"${MISSING+set}" != xset; then
2622    esac
2623   fi
2624   # Use eval to expand $SHELL
2625 < if eval "$MISSING --run true"; then
2626 <  am_missing_run="$MISSING --run "
2625 > if eval "$MISSING --is-lightweight"; then
2626 >  am_missing_run="$MISSING "
2627   else
2628    am_missing_run=
2629 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2630 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2629 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2630 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2631   fi
2632  
2633 < if test x"${install_sh}" != xset; then
2633 > if test x"${install_sh+set}" != xset; then
2634    case $am_aux_dir in
2635    *\ * | *\     *)
2636      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2956 | Line 2639 | if test x"${install_sh}" != xset; then
2639    esac
2640   fi
2641  
2642 < # Installed binaries are usually stripped using `strip' when the user
2643 < # run `make install-strip'.  However `strip' might not be the right
2642 > # Installed binaries are usually stripped using 'strip' when the user
2643 > # run "make install-strip".  However 'strip' might not be the right
2644   # tool to use in cross-compilation environments, therefore Automake
2645 < # will honor the `STRIP' environment variable to overrule this program.
2645 > # will honor the 'STRIP' environment variable to overrule this program.
2646   if test "$cross_compiling" != no; then
2647    if test -n "$ac_tool_prefix"; then
2648    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2649   set dummy ${ac_tool_prefix}strip; ac_word=$2
2650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651   $as_echo_n "checking for $ac_word... " >&6; }
2652 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2652 > if ${ac_cv_prog_STRIP+:} false; then :
2653    $as_echo_n "(cached) " >&6
2654   else
2655    if test -n "$STRIP"; then
# Line 2978 | Line 2661 | do
2661    IFS=$as_save_IFS
2662    test -z "$as_dir" && as_dir=.
2663      for ac_exec_ext in '' $ac_executable_extensions; do
2664 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2666      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667      break 2
# Line 3006 | Line 2689 | if test -z "$ac_cv_prog_STRIP"; then
2689   set dummy strip; ac_word=$2
2690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691   $as_echo_n "checking for $ac_word... " >&6; }
2692 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2692 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2693    $as_echo_n "(cached) " >&6
2694   else
2695    if test -n "$ac_ct_STRIP"; then
# Line 3018 | Line 2701 | do
2701    IFS=$as_save_IFS
2702    test -z "$as_dir" && as_dir=.
2703      for ac_exec_ext in '' $ac_executable_extensions; do
2704 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705      ac_cv_prog_ac_ct_STRIP="strip"
2706      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707      break 2
# Line 3059 | Line 2742 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2743   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2744   if test -z "$MKDIR_P"; then
2745 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2745 >  if ${ac_cv_path_mkdir+:} false; then :
2746    $as_echo_n "(cached) " >&6
2747   else
2748    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3069 | Line 2752 | do
2752    test -z "$as_dir" && as_dir=.
2753      for ac_prog in mkdir gmkdir; do
2754           for ac_exec_ext in '' $ac_executable_extensions; do
2755 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2755 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2756             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2757               'mkdir (GNU coreutils) '* | \
2758               'mkdir (coreutils) '* | \
# Line 3084 | Line 2767 | IFS=$as_save_IFS
2767  
2768   fi
2769  
2770 +  test -d ./--version && rmdir ./--version
2771    if test "${ac_cv_path_mkdir+set}" = set; then
2772      MKDIR_P="$ac_cv_path_mkdir -p"
2773    else
# Line 3091 | Line 2775 | fi
2775      # value for MKDIR_P within a source directory, because that will
2776      # break other packages using the cache if that directory is
2777      # removed, or if the value is a relative name.
3094 –    test -d ./--version && rmdir ./--version
2778      MKDIR_P="$ac_install_sh -d"
2779    fi
2780   fi
2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2782   $as_echo "$MKDIR_P" >&6; }
2783  
3101 – mkdir_p="$MKDIR_P"
3102 – case $mkdir_p in
3103 –  [\\/$]* | ?:[\\/]*) ;;
3104 –  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3105 – esac
3106 –
2784   for ac_prog in gawk mawk nawk awk
2785   do
2786    # Extract the first word of "$ac_prog", so it can be a program name with args.
2787   set dummy $ac_prog; ac_word=$2
2788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789   $as_echo_n "checking for $ac_word... " >&6; }
2790 < if test "${ac_cv_prog_AWK+set}" = set; then :
2790 > if ${ac_cv_prog_AWK+:} false; then :
2791    $as_echo_n "(cached) " >&6
2792   else
2793    if test -n "$AWK"; then
# Line 3122 | Line 2799 | do
2799    IFS=$as_save_IFS
2800    test -z "$as_dir" && as_dir=.
2801      for ac_exec_ext in '' $ac_executable_extensions; do
2802 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2802 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803      ac_cv_prog_AWK="$ac_prog"
2804      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805      break 2
# Line 3150 | Line 2827 | done
2827   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2828   set x ${MAKE-make}
2829   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2830 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2830 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2831    $as_echo_n "(cached) " >&6
2832   else
2833    cat >conftest.make <<\_ACEOF
# Line 3158 | Line 2835 | SHELL = /bin/sh
2835   all:
2836          @echo '@@@%%%=$(MAKE)=@@@%%%'
2837   _ACEOF
2838 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2838 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2839   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2840    *@@@%%%=?*=@@@%%%*)
2841      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3186 | Line 2863 | else
2863   fi
2864   rmdir .tst 2>/dev/null
2865  
2866 + # Check whether --enable-silent-rules was given.
2867 + if test "${enable_silent_rules+set}" = set; then :
2868 +  enableval=$enable_silent_rules;
2869 + fi
2870 +
2871 + case $enable_silent_rules in # (((
2872 +  yes) AM_DEFAULT_VERBOSITY=0;;
2873 +   no) AM_DEFAULT_VERBOSITY=1;;
2874 +    *) AM_DEFAULT_VERBOSITY=1;;
2875 + esac
2876 + am_make=${MAKE-make}
2877 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2878 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2879 + if ${am_cv_make_support_nested_variables+:} false; then :
2880 +  $as_echo_n "(cached) " >&6
2881 + else
2882 +  if $as_echo 'TRUE=$(BAR$(V))
2883 + BAR0=false
2884 + BAR1=true
2885 + V=1
2886 + am__doit:
2887 +        @$(TRUE)
2888 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2889 +  am_cv_make_support_nested_variables=yes
2890 + else
2891 +  am_cv_make_support_nested_variables=no
2892 + fi
2893 + fi
2894 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2895 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2896 + if test $am_cv_make_support_nested_variables = yes; then
2897 +    AM_V='$(V)'
2898 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2899 + else
2900 +  AM_V=$AM_DEFAULT_VERBOSITY
2901 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2902 + fi
2903 + AM_BACKSLASH='\'
2904 +
2905   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2906    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2907    # is not polluted with repeated "-I."
2908    am__isrc=' -I$(srcdir)'
2909    # test to see if srcdir already configured
2910    if test -f $srcdir/config.status; then
2911 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2911 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912    fi
2913   fi
2914  
# Line 3208 | Line 2924 | fi
2924  
2925   # Define the identity of the package.
2926   PACKAGE='ircd-hybrid'
2927 < VERSION='7.2.4'
2927 > VERSION='8.2.27'
2928  
2929  
2930   cat >>confdefs.h <<_ACEOF
# Line 3236 | Line 2952 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2952  
2953   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2954  
2955 < # We need awk for the "check" target.  The system "awk" is bad on
2956 < # some platforms.
2957 < # Always define AMTAR for backward compatibility.
2955 > # For better backward compatibility.  To be removed once Automake 1.9.x
2956 > # dies out for good.  For more background, see:
2957 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2958 > # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2959 > mkdir_p='$(MKDIR_P)'
2960 >
2961 > # We need awk for the "check" target (and possibly the TAP driver).  The
2962 > # system "awk" is bad on some platforms.
2963 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2964 > # in the wild :-(  We should find a proper way to deprecate it ...
2965 > AMTAR='$${TAR-tar}'
2966 >
2967 >
2968 > # We'll loop over all known methods to create a tar archive until one works.
2969 > _am_tools='gnutar  pax cpio none'
2970 >
2971 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2972  
3243 – AMTAR=${AMTAR-"${am_missing_run}tar"}
2973  
3245 – am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2974  
2975  
2976  
2977  
2978 + # POSIX will say in a future version that running "rm -f" with no argument
2979 + # is OK; and we want to be able to make that assumption in our Makefile
2980 + # recipes.  So use an aggressive probe to check that the usage we want is
2981 + # actually supported "in the wild" to an acceptable degree.
2982 + # See automake bug#10828.
2983 + # To make any issue more visible, cause the running configure to be aborted
2984 + # by default if the 'rm' program in use doesn't match our expectations; the
2985 + # user can still override this though.
2986 + if rm -f && rm -fr && rm -rf; then : OK; else
2987 +  cat >&2 <<'END'
2988 + Oops!
2989 +
2990 + Your 'rm' program seems unable to run without file operands specified
2991 + on the command line, even when the '-f' option is present.  This is contrary
2992 + to the behaviour of most rm programs out there, and not conforming with
2993 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2994 +
2995 + Please tell bug-automake@gnu.org about your system, including the value
2996 + of your $PATH and any error possibly output before this message.  This
2997 + can help us improve future automake versions.
2998 +
2999 + END
3000 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3001 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3002 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3003 +    echo >&2
3004 +  else
3005 +    cat >&2 <<'END'
3006 + Aborting the configuration process, to ensure you take notice of the issue.
3007 +
3008 + You can download and install GNU coreutils to get an 'rm' implementation
3009 + that behaves properly: <https://www.gnu.org/software/coreutils/>.
3010 +
3011 + If you want to complete the configuration process using your problematic
3012 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3013 + to "yes", and re-run configure.
3014 +
3015 + END
3016 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3017 +  fi
3018 + fi
3019  
3020  
3021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Line 3271 | Line 3040 | fi
3040    MAINT=$MAINTAINER_MODE_TRUE
3041  
3042  
3274 – ac_config_headers="$ac_config_headers config.h"
3043  
3044 + ac_config_headers="$ac_config_headers config.h"
3045  
3046  
3047  
3048   # Checks for programs.
3049 + DEPDIR="${am__leading_dot}deps"
3050 +
3051 + ac_config_commands="$ac_config_commands depfiles"
3052 +
3053 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3054 + $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3055 + cat > confinc.mk << 'END'
3056 + am__doit:
3057 +        @echo this is the am__doit target >confinc.out
3058 + .PHONY: am__doit
3059 + END
3060 + am__include="#"
3061 + am__quote=
3062 + # BSD make does it like this.
3063 + echo '.include "confinc.mk" # ignored' > confmf.BSD
3064 + # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3065 + echo 'include confinc.mk # ignored' > confmf.GNU
3066 + _am_result=no
3067 + for s in GNU BSD; do
3068 +  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3069 +   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3070 +   ac_status=$?
3071 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 +   (exit $ac_status); }
3073 +  case $?:`cat confinc.out 2>/dev/null` in #(
3074 +  '0:this is the am__doit target') :
3075 +    case $s in #(
3076 +  BSD) :
3077 +    am__include='.include' am__quote='"' ;; #(
3078 +  *) :
3079 +    am__include='include' am__quote='' ;;
3080 + esac ;; #(
3081 +  *) :
3082 +     ;;
3083 + esac
3084 +  if test "$am__include" != "#"; then
3085 +    _am_result="yes ($s style)"
3086 +    break
3087 +  fi
3088 + done
3089 + rm -f confinc.* confmf.*
3090 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3091 + $as_echo "${_am_result}" >&6; }
3092 +
3093 + # Check whether --enable-dependency-tracking was given.
3094 + if test "${enable_dependency_tracking+set}" = set; then :
3095 +  enableval=$enable_dependency_tracking;
3096 + fi
3097 +
3098 + if test "x$enable_dependency_tracking" != xno; then
3099 +  am_depcomp="$ac_aux_dir/depcomp"
3100 +  AMDEPBACKSLASH='\'
3101 +  am__nodep='_no'
3102 + fi
3103 + if test "x$enable_dependency_tracking" != xno; then
3104 +  AMDEP_TRUE=
3105 +  AMDEP_FALSE='#'
3106 + else
3107 +  AMDEP_TRUE='#'
3108 +  AMDEP_FALSE=
3109 + fi
3110 +
3111 +
3112   ac_ext=c
3113   ac_cpp='$CPP $CPPFLAGS'
3114   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3287 | Line 3119 | if test -n "$ac_tool_prefix"; then
3119   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121   $as_echo_n "checking for $ac_word... " >&6; }
3122 < if test "${ac_cv_prog_CC+set}" = set; then :
3122 > if ${ac_cv_prog_CC+:} false; then :
3123    $as_echo_n "(cached) " >&6
3124   else
3125    if test -n "$CC"; then
# Line 3299 | Line 3131 | do
3131    IFS=$as_save_IFS
3132    test -z "$as_dir" && as_dir=.
3133      for ac_exec_ext in '' $ac_executable_extensions; do
3134 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3136      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137      break 2
# Line 3327 | Line 3159 | if test -z "$ac_cv_prog_CC"; then
3159   set dummy gcc; ac_word=$2
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161   $as_echo_n "checking for $ac_word... " >&6; }
3162 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3162 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3163    $as_echo_n "(cached) " >&6
3164   else
3165    if test -n "$ac_ct_CC"; then
# Line 3339 | Line 3171 | do
3171    IFS=$as_save_IFS
3172    test -z "$as_dir" && as_dir=.
3173      for ac_exec_ext in '' $ac_executable_extensions; do
3174 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175      ac_cv_prog_ac_ct_CC="gcc"
3176      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177      break 2
# Line 3380 | Line 3212 | if test -z "$CC"; then
3212   set dummy ${ac_tool_prefix}cc; ac_word=$2
3213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214   $as_echo_n "checking for $ac_word... " >&6; }
3215 < if test "${ac_cv_prog_CC+set}" = set; then :
3215 > if ${ac_cv_prog_CC+:} false; then :
3216    $as_echo_n "(cached) " >&6
3217   else
3218    if test -n "$CC"; then
# Line 3392 | Line 3224 | do
3224    IFS=$as_save_IFS
3225    test -z "$as_dir" && as_dir=.
3226      for ac_exec_ext in '' $ac_executable_extensions; do
3227 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228      ac_cv_prog_CC="${ac_tool_prefix}cc"
3229      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3230      break 2
# Line 3420 | Line 3252 | if test -z "$CC"; then
3252   set dummy cc; ac_word=$2
3253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254   $as_echo_n "checking for $ac_word... " >&6; }
3255 < if test "${ac_cv_prog_CC+set}" = set; then :
3255 > if ${ac_cv_prog_CC+:} false; then :
3256    $as_echo_n "(cached) " >&6
3257   else
3258    if test -n "$CC"; then
# Line 3433 | Line 3265 | do
3265    IFS=$as_save_IFS
3266    test -z "$as_dir" && as_dir=.
3267      for ac_exec_ext in '' $ac_executable_extensions; do
3268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3270         ac_prog_rejected=yes
3271         continue
# Line 3479 | Line 3311 | if test -z "$CC"; then
3311   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313   $as_echo_n "checking for $ac_word... " >&6; }
3314 < if test "${ac_cv_prog_CC+set}" = set; then :
3314 > if ${ac_cv_prog_CC+:} false; then :
3315    $as_echo_n "(cached) " >&6
3316   else
3317    if test -n "$CC"; then
# Line 3491 | Line 3323 | do
3323    IFS=$as_save_IFS
3324    test -z "$as_dir" && as_dir=.
3325      for ac_exec_ext in '' $ac_executable_extensions; do
3326 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3326 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3327      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3328      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329      break 2
# Line 3523 | Line 3355 | do
3355   set dummy $ac_prog; ac_word=$2
3356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357   $as_echo_n "checking for $ac_word... " >&6; }
3358 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3358 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3359    $as_echo_n "(cached) " >&6
3360   else
3361    if test -n "$ac_ct_CC"; then
# Line 3535 | Line 3367 | do
3367    IFS=$as_save_IFS
3368    test -z "$as_dir" && as_dir=.
3369      for ac_exec_ext in '' $ac_executable_extensions; do
3370 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3371      ac_cv_prog_ac_ct_CC="$ac_prog"
3372      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373      break 2
# Line 3577 | Line 3409 | fi
3409  
3410   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 < as_fn_error "no acceptable C compiler found in \$PATH
3413 < See \`config.log' for more details." "$LINENO" 5; }
3412 > as_fn_error $? "no acceptable C compiler found in \$PATH
3413 > See \`config.log' for more details" "$LINENO" 5; }
3414  
3415   # Provide some information about the compiler.
3416   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3599 | Line 3431 | $as_echo "$ac_try_echo"; } >&5
3431   ... rest of stderr output deleted ...
3432           10q' conftest.err >conftest.er1
3433      cat conftest.er1 >&5
3602 –    rm -f conftest.er1 conftest.err
3434    fi
3435 +  rm -f conftest.er1 conftest.err
3436    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437    test $ac_status = 0; }
3438   done
3439  
3440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441   /* end confdefs.h.  */
3442 < #include <stdio.h>
3442 >
3443   int
3444   main ()
3445   {
3614 – FILE *f = fopen ("conftest.out", "w");
3615 – return ferror (f) || fclose (f) != 0;
3446  
3447    ;
3448    return 0;
3449   }
3450   _ACEOF
3451   ac_clean_files_save=$ac_clean_files
3452 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3452 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3453   # Try to create an executable without -o first, disregard a.out.
3454   # It will help us diagnose broken compilers, and finding out an intuition
3455   # of exeext.
3456 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3457 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3456 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3457 > $as_echo_n "checking whether the C compiler works... " >&6; }
3458   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3459  
3460   # The possible output files:
# Line 3686 | Line 3516 | test "$ac_cv_exeext" = no && ac_cv_exeex
3516   else
3517    ac_file=''
3518   fi
3689 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3690 – $as_echo "$ac_file" >&6; }
3519   if test -z "$ac_file"; then :
3520 <  $as_echo "$as_me: failed program was:" >&5
3520 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 > $as_echo "no" >&6; }
3522 > $as_echo "$as_me: failed program was:" >&5
3523   sed 's/^/| /' conftest.$ac_ext >&5
3524  
3525   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 < { as_fn_set_status 77
3528 < as_fn_error "C compiler cannot create executables
3529 < See \`config.log' for more details." "$LINENO" 5; }; }
3527 > as_fn_error 77 "C compiler cannot create executables
3528 > See \`config.log' for more details" "$LINENO" 5; }
3529 > else
3530 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3531 > $as_echo "yes" >&6; }
3532   fi
3533 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3534 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3535 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3536 + $as_echo "$ac_file" >&6; }
3537   ac_exeext=$ac_cv_exeext
3538  
3539 < # Check that the compiler produces executables we can run.  If not, either
3704 < # the compiler is broken, or we cross compile.
3705 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3706 < $as_echo_n "checking whether the C compiler works... " >&6; }
3707 < # If not cross compiling, check that we can run a simple program.
3708 < if test "$cross_compiling" != yes; then
3709 <  if { ac_try='./$ac_file'
3710 <  { { case "(($ac_try" in
3711 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3712 <  *) ac_try_echo=$ac_try;;
3713 < esac
3714 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715 < $as_echo "$ac_try_echo"; } >&5
3716 <  (eval "$ac_try") 2>&5
3717 <  ac_status=$?
3718 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 <  test $ac_status = 0; }; }; then
3720 <    cross_compiling=no
3721 <  else
3722 <    if test "$cross_compiling" = maybe; then
3723 <        cross_compiling=yes
3724 <    else
3725 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3726 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3727 < as_fn_error "cannot run C compiled programs.
3728 < If you meant to cross compile, use \`--host'.
3729 < See \`config.log' for more details." "$LINENO" 5; }
3730 <    fi
3731 <  fi
3732 < fi
3733 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3734 < $as_echo "yes" >&6; }
3735 <
3736 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3539 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3540   ac_clean_files=$ac_clean_files_save
3738 – # Check that the compiler produces executables we can run.  If not, either
3739 – # the compiler is broken, or we cross compile.
3740 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3741 – $as_echo_n "checking whether we are cross compiling... " >&6; }
3742 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3743 – $as_echo "$cross_compiling" >&6; }
3744 –
3541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3542   $as_echo_n "checking for suffix of executables... " >&6; }
3543   if { { ac_try="$ac_link"
# Line 3771 | Line 3567 | done
3567   else
3568    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3571 < See \`config.log' for more details." "$LINENO" 5; }
3570 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3571 > See \`config.log' for more details" "$LINENO" 5; }
3572   fi
3573 < rm -f conftest$ac_cv_exeext
3573 > rm -f conftest conftest$ac_cv_exeext
3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3575   $as_echo "$ac_cv_exeext" >&6; }
3576  
3577   rm -f conftest.$ac_ext
3578   EXEEXT=$ac_cv_exeext
3579   ac_exeext=$EXEEXT
3580 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 + /* end confdefs.h.  */
3582 + #include <stdio.h>
3583 + int
3584 + main ()
3585 + {
3586 + FILE *f = fopen ("conftest.out", "w");
3587 + return ferror (f) || fclose (f) != 0;
3588 +
3589 +  ;
3590 +  return 0;
3591 + }
3592 + _ACEOF
3593 + ac_clean_files="$ac_clean_files conftest.out"
3594 + # Check that the compiler produces executables we can run.  If not, either
3595 + # the compiler is broken, or we cross compile.
3596 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3597 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3598 + if test "$cross_compiling" != yes; then
3599 +  { { ac_try="$ac_link"
3600 + case "(($ac_try" in
3601 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 +  *) ac_try_echo=$ac_try;;
3603 + esac
3604 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3605 + $as_echo "$ac_try_echo"; } >&5
3606 +  (eval "$ac_link") 2>&5
3607 +  ac_status=$?
3608 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3609 +  test $ac_status = 0; }
3610 +  if { ac_try='./conftest$ac_cv_exeext'
3611 +  { { case "(($ac_try" in
3612 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 +  *) ac_try_echo=$ac_try;;
3614 + esac
3615 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 + $as_echo "$ac_try_echo"; } >&5
3617 +  (eval "$ac_try") 2>&5
3618 +  ac_status=$?
3619 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 +  test $ac_status = 0; }; }; then
3621 +    cross_compiling=no
3622 +  else
3623 +    if test "$cross_compiling" = maybe; then
3624 +        cross_compiling=yes
3625 +    else
3626 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3627 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3628 + as_fn_error $? "cannot run C compiled programs.
3629 + If you meant to cross compile, use \`--host'.
3630 + See \`config.log' for more details" "$LINENO" 5; }
3631 +    fi
3632 +  fi
3633 + fi
3634 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3635 + $as_echo "$cross_compiling" >&6; }
3636 +
3637 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3638 + ac_clean_files=$ac_clean_files_save
3639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3640   $as_echo_n "checking for suffix of object files... " >&6; }
3641 < if test "${ac_cv_objext+set}" = set; then :
3641 > if ${ac_cv_objext+:} false; then :
3642    $as_echo_n "(cached) " >&6
3643   else
3644    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3823 | Line 3678 | sed 's/^/| /' conftest.$ac_ext >&5
3678  
3679   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3680   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3681 < as_fn_error "cannot compute suffix of object files: cannot compile
3682 < See \`config.log' for more details." "$LINENO" 5; }
3681 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3682 > See \`config.log' for more details" "$LINENO" 5; }
3683   fi
3684   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3685   fi
# Line 3834 | Line 3689 | OBJEXT=$ac_cv_objext
3689   ac_objext=$OBJEXT
3690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3691   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3692 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3692 > if ${ac_cv_c_compiler_gnu+:} false; then :
3693    $as_echo_n "(cached) " >&6
3694   else
3695    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3871 | Line 3726 | ac_test_CFLAGS=${CFLAGS+set}
3726   ac_save_CFLAGS=$CFLAGS
3727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3728   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3729 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3729 > if ${ac_cv_prog_cc_g+:} false; then :
3730    $as_echo_n "(cached) " >&6
3731   else
3732    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3949 | Line 3804 | else
3804   fi
3805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3806   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3807 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3807 > if ${ac_cv_prog_cc_c89+:} false; then :
3808    $as_echo_n "(cached) " >&6
3809   else
3810    ac_cv_prog_cc_c89=no
# Line 3958 | Line 3813 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3813   /* end confdefs.h.  */
3814   #include <stdarg.h>
3815   #include <stdio.h>
3816 < #include <sys/types.h>
3962 < #include <sys/stat.h>
3816 > struct stat;
3817   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3818   struct buf { int x; };
3819   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 4043 | Line 3897 | ac_cpp='$CPP $CPPFLAGS'
3897   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3898   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3899   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046 – DEPDIR="${am__leading_dot}deps"
4047 –
4048 – ac_config_commands="$ac_config_commands depfiles"
4049 –
4050 –
4051 – am_make=${MAKE-make}
4052 – cat > confinc << 'END'
4053 – am__doit:
4054 –        @echo this is the am__doit target
4055 – .PHONY: am__doit
4056 – END
4057 – # If we don't find an include directive, just comment out the code.
4058 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4059 – $as_echo_n "checking for style of include used by $am_make... " >&6; }
4060 – am__include="#"
4061 – am__quote=
4062 – _am_result=none
4063 – # First try GNU make style include.
4064 – echo "include confinc" > confmf
4065 – # Ignore all kinds of additional output from `make'.
4066 – case `$am_make -s -f confmf 2> /dev/null` in #(
4067 – *the\ am__doit\ target*)
4068 –  am__include=include
4069 –  am__quote=
4070 –  _am_result=GNU
4071 –  ;;
4072 – esac
4073 – # Now try BSD make style include.
4074 – if test "$am__include" = "#"; then
4075 –   echo '.include "confinc"' > confmf
4076 –   case `$am_make -s -f confmf 2> /dev/null` in #(
4077 –   *the\ am__doit\ target*)
4078 –     am__include=.include
4079 –     am__quote="\""
4080 –     _am_result=BSD
4081 –     ;;
4082 –   esac
4083 – fi
3900  
3901 + ac_ext=c
3902 + 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
3906 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3907 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3908 + if ${am_cv_prog_cc_c_o+:} false; then :
3909 +  $as_echo_n "(cached) " >&6
3910 + else
3911 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 + /* end confdefs.h.  */
3913  
3914 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3915 < $as_echo "$_am_result" >&6; }
3916 < rm -f confinc confmf
4089 <
4090 < # Check whether --enable-dependency-tracking was given.
4091 < if test "${enable_dependency_tracking+set}" = set; then :
4092 <  enableval=$enable_dependency_tracking;
4093 < fi
3914 > int
3915 > main ()
3916 > {
3917  
3918 < if test "x$enable_dependency_tracking" != xno; then
3919 <  am_depcomp="$ac_aux_dir/depcomp"
3920 <  AMDEPBACKSLASH='\'
3918 >  ;
3919 >  return 0;
3920 > }
3921 > _ACEOF
3922 >  # Make sure it works both with $CC and with simple cc.
3923 >  # Following AC_PROG_CC_C_O, we do the test twice because some
3924 >  # compilers refuse to overwrite an existing .o file with -o,
3925 >  # though they will create one.
3926 >  am_cv_prog_cc_c_o=yes
3927 >  for am_i in 1 2; do
3928 >    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3929 >   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3930 >   ac_status=$?
3931 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 >   (exit $ac_status); } \
3933 >         && test -f conftest2.$ac_objext; then
3934 >      : OK
3935 >    else
3936 >      am_cv_prog_cc_c_o=no
3937 >      break
3938 >    fi
3939 >  done
3940 >  rm -f core conftest*
3941 >  unset am_i
3942   fi
3943 < if test "x$enable_dependency_tracking" != xno; then
3944 <  AMDEP_TRUE=
3945 <  AMDEP_FALSE='#'
3946 < else
3947 <  AMDEP_TRUE='#'
3948 <  AMDEP_FALSE=
3943 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3944 > $as_echo "$am_cv_prog_cc_c_o" >&6; }
3945 > if test "$am_cv_prog_cc_c_o" != yes; then
3946 >   # Losing compiler, so override with the script.
3947 >   # FIXME: It is wrong to rewrite CC.
3948 >   # But if we don't then we get into trouble of one sort or another.
3949 >   # A longer-term fix would be to have automake use am__CC in this case,
3950 >   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3951 >   CC="$am_aux_dir/compile $CC"
3952   fi
3953 <
3953 > ac_ext=c
3954 > ac_cpp='$CPP $CPPFLAGS'
3955 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3957 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3958  
3959  
3960   depcc="$CC"   am_compiler_list=
3961  
3962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3963   $as_echo_n "checking dependency style of $depcc... " >&6; }
3964 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3964 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3965    $as_echo_n "(cached) " >&6
3966   else
3967    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3968    # We make a subdir and do the tests there.  Otherwise we can end up
3969    # making bogus files that we don't know about and never remove.  For
3970    # instance it was reported that on HP-UX the gcc test will end up
3971 <  # making a dummy file named `D' -- because `-MD' means `put the output
3972 <  # in D'.
3971 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3972 >  # in D".
3973 >  rm -rf conftest.dir
3974    mkdir conftest.dir
3975    # Copy depcomp to subdir because otherwise we won't find it if we're
3976    # using a relative directory.
# Line 4152 | Line 4004 | else
4004      : > sub/conftest.c
4005      for i in 1 2 3 4 5 6; do
4006        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4007 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4008 <      # Solaris 8's {/usr,}/bin/sh.
4009 <      touch sub/conftst$i.h
4007 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4008 >      # Solaris 10 /bin/sh.
4009 >      echo '/* dummy */' > sub/conftst$i.h
4010      done
4011      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4012  
4013 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4013 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4014      # mode.  It turns out that the SunPro C++ compiler does not properly
4015 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4016 <    # versions had trouble with output in subdirs
4015 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4016 >    # versions had trouble with output in subdirs.
4017      am__obj=sub/conftest.${OBJEXT-o}
4018      am__minus_obj="-o $am__obj"
4019      case $depmode in
# Line 4170 | Line 4022 | else
4022        test "$am__universal" = false || continue
4023        ;;
4024      nosideeffect)
4025 <      # after this tag, mechanisms are not by side-effect, so they'll
4026 <      # only be used when explicitly requested
4025 >      # After this tag, mechanisms are not by side-effect, so they'll
4026 >      # only be used when explicitly requested.
4027        if test "x$enable_dependency_tracking" = xyes; then
4028          continue
4029        else
4030          break
4031        fi
4032        ;;
4033 <    msvisualcpp | msvcmsys)
4034 <      # This compiler won't grok `-c -o', but also, the minuso test has
4033 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4034 >      # This compiler won't grok '-c -o', but also, the minuso test has
4035        # not run yet.  These depmodes are late enough in the game, and
4036        # so weak that their functioning should not be impacted.
4037        am__obj=conftest.${OBJEXT-o}
# Line 4233 | Line 4085 | else
4085   fi
4086  
4087  
4088 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4089 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4090 + if ${ac_cv_prog_cc_c99+:} false; then :
4091 +  $as_echo_n "(cached) " >&6
4092 + else
4093 +  ac_cv_prog_cc_c99=no
4094 + ac_save_CC=$CC
4095 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 + /* end confdefs.h.  */
4097 + #include <stdarg.h>
4098 + #include <stdbool.h>
4099 + #include <stdlib.h>
4100 + #include <wchar.h>
4101 + #include <stdio.h>
4102 +
4103 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4104 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4105 + #define showlist(...) puts (#__VA_ARGS__)
4106 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4107 + static void
4108 + test_varargs_macros (void)
4109 + {
4110 +  int x = 1234;
4111 +  int y = 5678;
4112 +  debug ("Flag");
4113 +  debug ("X = %d\n", x);
4114 +  showlist (The first, second, and third items.);
4115 +  report (x>y, "x is %d but y is %d", x, y);
4116 + }
4117 +
4118 + // Check long long types.
4119 + #define BIG64 18446744073709551615ull
4120 + #define BIG32 4294967295ul
4121 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4122 + #if !BIG_OK
4123 +  your preprocessor is broken;
4124 + #endif
4125 + #if BIG_OK
4126 + #else
4127 +  your preprocessor is broken;
4128 + #endif
4129 + static long long int bignum = -9223372036854775807LL;
4130 + static unsigned long long int ubignum = BIG64;
4131 +
4132 + struct incomplete_array
4133 + {
4134 +  int datasize;
4135 +  double data[];
4136 + };
4137 +
4138 + struct named_init {
4139 +  int number;
4140 +  const wchar_t *name;
4141 +  double average;
4142 + };
4143 +
4144 + typedef const char *ccp;
4145 +
4146 + static inline int
4147 + test_restrict (ccp restrict text)
4148 + {
4149 +  // See if C++-style comments work.
4150 +  // Iterate through items via the restricted pointer.
4151 +  // Also check for declarations in for loops.
4152 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4153 +    continue;
4154 +  return 0;
4155 + }
4156 +
4157 + // Check varargs and va_copy.
4158 + static void
4159 + test_varargs (const char *format, ...)
4160 + {
4161 +  va_list args;
4162 +  va_start (args, format);
4163 +  va_list args_copy;
4164 +  va_copy (args_copy, args);
4165 +
4166 +  const char *str;
4167 +  int number;
4168 +  float fnumber;
4169 +
4170 +  while (*format)
4171 +    {
4172 +      switch (*format++)
4173 +        {
4174 +        case 's': // string
4175 +          str = va_arg (args_copy, const char *);
4176 +          break;
4177 +        case 'd': // int
4178 +          number = va_arg (args_copy, int);
4179 +          break;
4180 +        case 'f': // float
4181 +          fnumber = va_arg (args_copy, double);
4182 +          break;
4183 +        default:
4184 +          break;
4185 +        }
4186 +    }
4187 +  va_end (args_copy);
4188 +  va_end (args);
4189 + }
4190 +
4191 + int
4192 + main ()
4193 + {
4194 +
4195 +  // Check bool.
4196 +  _Bool success = false;
4197 +
4198 +  // Check restrict.
4199 +  if (test_restrict ("String literal") == 0)
4200 +    success = true;
4201 +  char *restrict newvar = "Another string";
4202 +
4203 +  // Check varargs.
4204 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4205 +  test_varargs_macros ();
4206 +
4207 +  // Check flexible array members.
4208 +  struct incomplete_array *ia =
4209 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4210 +  ia->datasize = 10;
4211 +  for (int i = 0; i < ia->datasize; ++i)
4212 +    ia->data[i] = i * 1.234;
4213 +
4214 +  // Check named initializers.
4215 +  struct named_init ni = {
4216 +    .number = 34,
4217 +    .name = L"Test wide string",
4218 +    .average = 543.34343,
4219 +  };
4220 +
4221 +  ni.number = 58;
4222 +
4223 +  int dynamic_array[ni.number];
4224 +  dynamic_array[ni.number - 1] = 543;
4225 +
4226 +  // work around unused variable warnings
4227 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4228 +          || dynamic_array[ni.number - 1] != 543);
4229 +
4230 +  ;
4231 +  return 0;
4232 + }
4233 + _ACEOF
4234 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4235 + do
4236 +  CC="$ac_save_CC $ac_arg"
4237 +  if ac_fn_c_try_compile "$LINENO"; then :
4238 +  ac_cv_prog_cc_c99=$ac_arg
4239 + fi
4240 + rm -f core conftest.err conftest.$ac_objext
4241 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4242 + done
4243 + rm -f conftest.$ac_ext
4244 + CC=$ac_save_CC
4245 +
4246 + fi
4247 + # AC_CACHE_VAL
4248 + case "x$ac_cv_prog_cc_c99" in
4249 +  x)
4250 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4251 + $as_echo "none needed" >&6; } ;;
4252 +  xno)
4253 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4254 + $as_echo "unsupported" >&6; } ;;
4255 +  *)
4256 +    CC="$CC $ac_cv_prog_cc_c99"
4257 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4258 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4259 + esac
4260 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4261 +
4262 + fi
4263 +
4264 +
4265 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4266 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4267 + fi
4268   for ac_prog in 'bison -y' byacc
4269   do
4270    # Extract the first word of "$ac_prog", so it can be a program name with args.
4271   set dummy $ac_prog; ac_word=$2
4272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273   $as_echo_n "checking for $ac_word... " >&6; }
4274 < if test "${ac_cv_prog_YACC+set}" = set; then :
4274 > if ${ac_cv_prog_YACC+:} false; then :
4275    $as_echo_n "(cached) " >&6
4276   else
4277    if test -n "$YACC"; then
# Line 4251 | Line 4283 | do
4283    IFS=$as_save_IFS
4284    test -z "$as_dir" && as_dir=.
4285      for ac_exec_ext in '' $ac_executable_extensions; do
4286 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4286 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4287      ac_cv_prog_YACC="$ac_prog"
4288      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289      break 2
# Line 4283 | Line 4315 | do
4315   set dummy $ac_prog; ac_word=$2
4316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4317   $as_echo_n "checking for $ac_word... " >&6; }
4318 < if test "${ac_cv_prog_LEX+set}" = set; then :
4318 > if ${ac_cv_prog_LEX+:} false; then :
4319    $as_echo_n "(cached) " >&6
4320   else
4321    if test -n "$LEX"; then
# Line 4295 | Line 4327 | do
4327    IFS=$as_save_IFS
4328    test -z "$as_dir" && as_dir=.
4329      for ac_exec_ext in '' $ac_executable_extensions; do
4330 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4331      ac_cv_prog_LEX="$ac_prog"
4332      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333      break 2
# Line 4327 | Line 4359 | a { ECHO; }
4359   b { REJECT; }
4360   c { yymore (); }
4361   d { yyless (1); }
4362 < e { yyless (input () != 0); }
4362 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4363 >    yyless ((input () != 0)); }
4364   f { unput (yytext[0]); }
4365   . { BEGIN INITIAL; }
4366   %%
# Line 4353 | Line 4386 | $as_echo "$ac_try_echo"; } >&5
4386    test $ac_status = 0; }
4387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4388   $as_echo_n "checking lex output file root... " >&6; }
4389 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4389 > if ${ac_cv_prog_lex_root+:} false; then :
4390    $as_echo_n "(cached) " >&6
4391   else
4392  
# Line 4362 | Line 4395 | if test -f lex.yy.c; then
4395   elif test -f lexyy.c; then
4396    ac_cv_prog_lex_root=lexyy
4397   else
4398 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4398 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4399   fi
4400   fi
4401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4372 | Line 4405 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4405   if test -z "${LEXLIB+set}"; then
4406    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4407   $as_echo_n "checking lex library... " >&6; }
4408 < if test "${ac_cv_lib_lex+set}" = set; then :
4408 > if ${ac_cv_lib_lex+:} false; then :
4409    $as_echo_n "(cached) " >&6
4410   else
4411  
# Line 4402 | Line 4435 | fi
4435  
4436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4437   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4438 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4438 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4439    $as_echo_n "(cached) " >&6
4440   else
4441    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4413 | Line 4446 | ac_save_LIBS=$LIBS
4446   LIBS="$LEXLIB $ac_save_LIBS"
4447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448   /* end confdefs.h.  */
4449 < #define YYTEXT_POINTER 1
4449 >
4450 >  #define YYTEXT_POINTER 1
4451   `cat $LEX_OUTPUT_ROOT.c`
4452   _ACEOF
4453   if ac_fn_c_try_link "$LINENO"; then :
# Line 4439 | Line 4473 | if test "$LEX" = :; then
4473   fi
4474  
4475  
4476 + # Initializing libtool.
4477 +
4478 +
4479 +
4480 +
4481 +
4482 +
4483  
4443 – #ltdl stuff
4484   case `pwd` in
4485    *\ * | *\     *)
4486      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4449 | Line 4489 | esac
4489  
4490  
4491  
4492 < macro_version='2.2.6'
4493 < macro_revision='1.3012'
4492 > macro_version='2.4.6'
4493 > macro_revision='2.4.6'
4494  
4495  
4496  
# Line 4464 | Line 4504 | macro_revision='1.3012'
4504  
4505  
4506  
4507 < ltmain="$ac_aux_dir/ltmain.sh"
4507 > ltmain=$ac_aux_dir/ltmain.sh
4508  
4509   # Make sure we can run config.sub.
4510   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4511 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4511 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4512  
4513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4514   $as_echo_n "checking build system type... " >&6; }
4515 < if test "${ac_cv_build+set}" = set; then :
4515 > if ${ac_cv_build+:} false; then :
4516    $as_echo_n "(cached) " >&6
4517   else
4518    ac_build_alias=$build_alias
4519   test "x$ac_build_alias" = x &&
4520    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4521   test "x$ac_build_alias" = x &&
4522 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4522 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4523   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4524 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4524 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4525  
4526   fi
4527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4528   $as_echo "$ac_cv_build" >&6; }
4529   case $ac_cv_build in
4530   *-*-*) ;;
4531 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4531 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4532   esac
4533   build=$ac_cv_build
4534   ac_save_IFS=$IFS; IFS='-'
# Line 4506 | Line 4546 | case $build_os in *\ *) build_os=`echo "
4546  
4547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4548   $as_echo_n "checking host system type... " >&6; }
4549 < if test "${ac_cv_host+set}" = set; then :
4549 > if ${ac_cv_host+:} false; then :
4550    $as_echo_n "(cached) " >&6
4551   else
4552    if test "x$host_alias" = x; then
4553    ac_cv_host=$ac_cv_build
4554   else
4555    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4556 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4556 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4557   fi
4558  
4559   fi
# Line 4521 | Line 4561 | fi
4561   $as_echo "$ac_cv_host" >&6; }
4562   case $ac_cv_host in
4563   *-*-*) ;;
4564 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4564 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4565   esac
4566   host=$ac_cv_host
4567   ac_save_IFS=$IFS; IFS='-'
# Line 4537 | Line 4577 | IFS=$ac_save_IFS
4577   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4578  
4579  
4580 + # Backslashify metacharacters that are still active within
4581 + # double-quoted strings.
4582 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4583 +
4584 + # Same as above, but do not quote variable references.
4585 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4586 +
4587 + # Sed substitution to delay expansion of an escaped shell variable in a
4588 + # double_quote_subst'ed string.
4589 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4590 +
4591 + # Sed substitution to delay expansion of an escaped single quote.
4592 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4593 +
4594 + # Sed substitution to avoid accidental globbing in evaled expressions
4595 + no_glob_subst='s/\*/\\\*/g'
4596 +
4597 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4598 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4599 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4600 +
4601 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4602 + $as_echo_n "checking how to print strings... " >&6; }
4603 + # Test print first, because it will be a builtin if present.
4604 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4605 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4606 +  ECHO='print -r --'
4607 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4608 +  ECHO='printf %s\n'
4609 + else
4610 +  # Use this function as a fallback that always works.
4611 +  func_fallback_echo ()
4612 +  {
4613 +    eval 'cat <<_LTECHO_EOF
4614 + $1
4615 + _LTECHO_EOF'
4616 +  }
4617 +  ECHO='func_fallback_echo'
4618 + fi
4619 +
4620 + # func_echo_all arg...
4621 + # Invoke $ECHO with all args, space-separated.
4622 + func_echo_all ()
4623 + {
4624 +    $ECHO ""
4625 + }
4626 +
4627 + case $ECHO in
4628 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4629 + $as_echo "printf" >&6; } ;;
4630 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4631 + $as_echo "print -r" >&6; } ;;
4632 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4633 + $as_echo "cat" >&6; } ;;
4634 + esac
4635 +
4636 +
4637 +
4638 +
4639 +
4640 +
4641 +
4642 +
4643 +
4644 +
4645 +
4646 +
4647 +
4648 +
4649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4650   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4651 < if test "${ac_cv_path_SED+set}" = set; then :
4651 > if ${ac_cv_path_SED+:} false; then :
4652    $as_echo_n "(cached) " >&6
4653   else
4654              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4559 | Line 4668 | do
4668      for ac_prog in sed gsed; do
4669      for ac_exec_ext in '' $ac_executable_extensions; do
4670        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4671 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4671 >      as_fn_executable_p "$ac_path_SED" || continue
4672   # Check for GNU ac_path_SED and select it if it is found.
4673    # Check for GNU $ac_path_SED
4674   case `"$ac_path_SED" --version 2>&1` in
# Line 4594 | Line 4703 | esac
4703    done
4704   IFS=$as_save_IFS
4705    if test -z "$ac_cv_path_SED"; then
4706 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4706 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4707    fi
4708   else
4709    ac_cv_path_SED=$SED
# Line 4621 | Line 4730 | Xsed="$SED -e 1s/^X//"
4730  
4731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4732   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4733 < if test "${ac_cv_path_GREP+set}" = set; then :
4733 > if ${ac_cv_path_GREP+:} false; then :
4734    $as_echo_n "(cached) " >&6
4735   else
4736    if test -z "$GREP"; then
# Line 4635 | Line 4744 | do
4744      for ac_prog in grep ggrep; do
4745      for ac_exec_ext in '' $ac_executable_extensions; do
4746        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4747 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4747 >      as_fn_executable_p "$ac_path_GREP" || continue
4748   # Check for GNU ac_path_GREP and select it if it is found.
4749    # Check for GNU $ac_path_GREP
4750   case `"$ac_path_GREP" --version 2>&1` in
# Line 4670 | Line 4779 | esac
4779    done
4780   IFS=$as_save_IFS
4781    if test -z "$ac_cv_path_GREP"; then
4782 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4782 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4783    fi
4784   else
4785    ac_cv_path_GREP=$GREP
# Line 4684 | Line 4793 | $as_echo "$ac_cv_path_GREP" >&6; }
4793  
4794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4795   $as_echo_n "checking for egrep... " >&6; }
4796 < if test "${ac_cv_path_EGREP+set}" = set; then :
4796 > if ${ac_cv_path_EGREP+:} false; then :
4797    $as_echo_n "(cached) " >&6
4798   else
4799    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4701 | Line 4810 | do
4810      for ac_prog in egrep; do
4811      for ac_exec_ext in '' $ac_executable_extensions; do
4812        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4813 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4813 >      as_fn_executable_p "$ac_path_EGREP" || continue
4814   # Check for GNU ac_path_EGREP and select it if it is found.
4815    # Check for GNU $ac_path_EGREP
4816   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4736 | Line 4845 | esac
4845    done
4846   IFS=$as_save_IFS
4847    if test -z "$ac_cv_path_EGREP"; then
4848 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4848 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4849    fi
4850   else
4851    ac_cv_path_EGREP=$EGREP
# Line 4751 | Line 4860 | $as_echo "$ac_cv_path_EGREP" >&6; }
4860  
4861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4862   $as_echo_n "checking for fgrep... " >&6; }
4863 < if test "${ac_cv_path_FGREP+set}" = set; then :
4863 > if ${ac_cv_path_FGREP+:} false; then :
4864    $as_echo_n "(cached) " >&6
4865   else
4866    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4768 | Line 4877 | do
4877      for ac_prog in fgrep; do
4878      for ac_exec_ext in '' $ac_executable_extensions; do
4879        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4880 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4880 >      as_fn_executable_p "$ac_path_FGREP" || continue
4881   # Check for GNU ac_path_FGREP and select it if it is found.
4882    # Check for GNU $ac_path_FGREP
4883   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4803 | Line 4912 | esac
4912    done
4913   IFS=$as_save_IFS
4914    if test -z "$ac_cv_path_FGREP"; then
4915 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4915 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4916    fi
4917   else
4918    ac_cv_path_FGREP=$FGREP
# Line 4838 | Line 4947 | test -z "$GREP" && GREP=grep
4947  
4948   # Check whether --with-gnu-ld was given.
4949   if test "${with_gnu_ld+set}" = set; then :
4950 <  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4950 >  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4951   else
4952    with_gnu_ld=no
4953   fi
4954  
4955   ac_prog=ld
4956 < if test "$GCC" = yes; then
4956 > if test yes = "$GCC"; then
4957    # Check if gcc -print-prog-name=ld gives a path.
4958    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4959   $as_echo_n "checking for ld used by $CC... " >&6; }
4960    case $host in
4961    *-*-mingw*)
4962 <    # gcc leaves a trailing carriage return which upsets mingw
4962 >    # gcc leaves a trailing carriage return, which upsets mingw
4963      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4964    *)
4965      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
# Line 4864 | Line 4973 | $as_echo_n "checking for ld used by $CC.
4973        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4974          ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4975        done
4976 <      test -z "$LD" && LD="$ac_prog"
4976 >      test -z "$LD" && LD=$ac_prog
4977        ;;
4978    "")
4979      # If it fails, then pretend we aren't using GCC.
# Line 4875 | Line 4984 | $as_echo_n "checking for ld used by $CC.
4984      with_gnu_ld=unknown
4985      ;;
4986    esac
4987 < elif test "$with_gnu_ld" = yes; then
4987 > elif test yes = "$with_gnu_ld"; then
4988    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4989   $as_echo_n "checking for GNU ld... " >&6; }
4990   else
4991    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4992   $as_echo_n "checking for non-GNU ld... " >&6; }
4993   fi
4994 < if test "${lt_cv_path_LD+set}" = set; then :
4994 > if ${lt_cv_path_LD+:} false; then :
4995    $as_echo_n "(cached) " >&6
4996   else
4997    if test -z "$LD"; then
4998 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4998 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4999    for ac_dir in $PATH; do
5000 <    IFS="$lt_save_ifs"
5000 >    IFS=$lt_save_ifs
5001      test -z "$ac_dir" && ac_dir=.
5002      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5003 <      lt_cv_path_LD="$ac_dir/$ac_prog"
5003 >      lt_cv_path_LD=$ac_dir/$ac_prog
5004        # Check to see if the program is GNU ld.  I'd rather use --version,
5005        # but apparently some variants of GNU ld only accept -v.
5006        # Break only if it was the GNU/non-GNU ld that we prefer.
5007        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5008        *GNU* | *'with BFD'*)
5009 <        test "$with_gnu_ld" != no && break
5009 >        test no != "$with_gnu_ld" && break
5010          ;;
5011        *)
5012 <        test "$with_gnu_ld" != yes && break
5012 >        test yes != "$with_gnu_ld" && break
5013          ;;
5014        esac
5015      fi
5016    done
5017 <  IFS="$lt_save_ifs"
5017 >  IFS=$lt_save_ifs
5018   else
5019 <  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5019 >  lt_cv_path_LD=$LD # Let the user override the test with a path.
5020   fi
5021   fi
5022  
5023 < LD="$lt_cv_path_LD"
5023 > LD=$lt_cv_path_LD
5024   if test -n "$LD"; then
5025    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5026   $as_echo "$LD" >&6; }
# Line 4919 | Line 5028 | else
5028    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029   $as_echo "no" >&6; }
5030   fi
5031 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5031 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5033   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5034 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5034 > if ${lt_cv_prog_gnu_ld+:} false; then :
5035    $as_echo_n "(cached) " >&6
5036   else
5037    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4949 | Line 5058 | with_gnu_ld=$lt_cv_prog_gnu_ld
5058  
5059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5060   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5061 < if test "${lt_cv_path_NM+set}" = set; then :
5061 > if ${lt_cv_path_NM+:} false; then :
5062    $as_echo_n "(cached) " >&6
5063   else
5064    if test -n "$NM"; then
5065    # Let the user override the test.
5066 <  lt_cv_path_NM="$NM"
5066 >  lt_cv_path_NM=$NM
5067   else
5068 <  lt_nm_to_check="${ac_tool_prefix}nm"
5068 >  lt_nm_to_check=${ac_tool_prefix}nm
5069    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5070      lt_nm_to_check="$lt_nm_to_check nm"
5071    fi
5072    for lt_tmp_nm in $lt_nm_to_check; do
5073 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5073 >    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5074      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5075 <      IFS="$lt_save_ifs"
5075 >      IFS=$lt_save_ifs
5076        test -z "$ac_dir" && ac_dir=.
5077 <      tmp_nm="$ac_dir/$lt_tmp_nm"
5078 <      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5077 >      tmp_nm=$ac_dir/$lt_tmp_nm
5078 >      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5079          # Check to see if the nm accepts a BSD-compat flag.
5080 <        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5080 >        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5081          #   nm: unknown option "B" ignored
5082          # Tru64's nm complains that /dev/null is an invalid object file
5083 <        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5084 <        */dev/null* | *'Invalid file or object type'*)
5083 >        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5084 >        case $build_os in
5085 >        mingw*) lt_bad_file=conftest.nm/nofile ;;
5086 >        *) lt_bad_file=/dev/null ;;
5087 >        esac
5088 >        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5089 >        *$lt_bad_file* | *'Invalid file or object type'*)
5090            lt_cv_path_NM="$tmp_nm -B"
5091 <          break
5091 >          break 2
5092            ;;
5093          *)
5094            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5095            */dev/null*)
5096              lt_cv_path_NM="$tmp_nm -p"
5097 <            break
5097 >            break 2
5098              ;;
5099            *)
5100              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
# Line 4991 | Line 5105 | else
5105          esac
5106        fi
5107      done
5108 <    IFS="$lt_save_ifs"
5108 >    IFS=$lt_save_ifs
5109    done
5110    : ${lt_cv_path_NM=no}
5111   fi
5112   fi
5113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5114   $as_echo "$lt_cv_path_NM" >&6; }
5115 < if test "$lt_cv_path_NM" != "no"; then
5116 <  NM="$lt_cv_path_NM"
5115 > if test no != "$lt_cv_path_NM"; then
5116 >  NM=$lt_cv_path_NM
5117   else
5118    # Didn't find any BSD compatible name lister, look for dumpbin.
5119 <  if test -n "$ac_tool_prefix"; then
5120 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5119 >  if test -n "$DUMPBIN"; then :
5120 >    # Let the user override the test.
5121 >  else
5122 >    if test -n "$ac_tool_prefix"; then
5123 >  for ac_prog in dumpbin "link -dump"
5124    do
5125      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128   $as_echo_n "checking for $ac_word... " >&6; }
5129 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5129 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5130    $as_echo_n "(cached) " >&6
5131   else
5132    if test -n "$DUMPBIN"; then
# Line 5021 | Line 5138 | do
5138    IFS=$as_save_IFS
5139    test -z "$as_dir" && as_dir=.
5140      for ac_exec_ext in '' $ac_executable_extensions; do
5141 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5141 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5142      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5143      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144      break 2
# Line 5047 | Line 5164 | fi
5164   fi
5165   if test -z "$DUMPBIN"; then
5166    ac_ct_DUMPBIN=$DUMPBIN
5167 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5167 >  for ac_prog in dumpbin "link -dump"
5168   do
5169    # Extract the first word of "$ac_prog", so it can be a program name with args.
5170   set dummy $ac_prog; ac_word=$2
5171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172   $as_echo_n "checking for $ac_word... " >&6; }
5173 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5173 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5174    $as_echo_n "(cached) " >&6
5175   else
5176    if test -n "$ac_ct_DUMPBIN"; then
# Line 5065 | Line 5182 | do
5182    IFS=$as_save_IFS
5183    test -z "$as_dir" && as_dir=.
5184      for ac_exec_ext in '' $ac_executable_extensions; do
5185 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5185 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5187      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188      break 2
# Line 5102 | Line 5219 | esac
5219    fi
5220   fi
5221  
5222 +    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5223 +    *COFF*)
5224 +      DUMPBIN="$DUMPBIN -symbols -headers"
5225 +      ;;
5226 +    *)
5227 +      DUMPBIN=:
5228 +      ;;
5229 +    esac
5230 +  fi
5231  
5232 <  if test "$DUMPBIN" != ":"; then
5233 <    NM="$DUMPBIN"
5232 >  if test : != "$DUMPBIN"; then
5233 >    NM=$DUMPBIN
5234    fi
5235   fi
5236   test -z "$NM" && NM=nm
# Line 5116 | Line 5242 | test -z "$NM" && NM=nm
5242  
5243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5244   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5245 < if test "${lt_cv_nm_interface+set}" = set; then :
5245 > if ${lt_cv_nm_interface+:} false; then :
5246    $as_echo_n "(cached) " >&6
5247   else
5248    lt_cv_nm_interface="BSD nm"
5249    echo "int some_variable = 0;" > conftest.$ac_ext
5250 <  (eval echo "\"\$as_me:5124: $ac_compile\"" >&5)
5250 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5251    (eval "$ac_compile" 2>conftest.err)
5252    cat conftest.err >&5
5253 <  (eval echo "\"\$as_me:5127: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5253 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5254    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5255    cat conftest.err >&5
5256 <  (eval echo "\"\$as_me:5130: output\"" >&5)
5256 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5257    cat conftest.out >&5
5258    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5259      lt_cv_nm_interface="MS dumpbin"
# Line 5151 | Line 5277 | fi
5277   # find the maximum length of command line arguments
5278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5279   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5280 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5280 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5281    $as_echo_n "(cached) " >&6
5282   else
5283      i=0
5284 <  teststring="ABCD"
5284 >  teststring=ABCD
5285  
5286    case $build_os in
5287    msdosdjgpp*)
# Line 5184 | Line 5310 | else
5310      lt_cv_sys_max_cmd_len=8192;
5311      ;;
5312  
5313 +  mint*)
5314 +    # On MiNT this can take a long time and run out of memory.
5315 +    lt_cv_sys_max_cmd_len=8192;
5316 +    ;;
5317 +
5318    amigaos*)
5319      # On AmigaOS with pdksh, this test takes hours, literally.
5320      # So we just punt and use a minimum line length of 8192.
5321      lt_cv_sys_max_cmd_len=8192;
5322      ;;
5323  
5324 <  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5324 >  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5325      # This has been around since 386BSD, at least.  Likely further.
5326      if test -x /sbin/sysctl; then
5327        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
# Line 5209 | Line 5340 | else
5340      lt_cv_sys_max_cmd_len=196608
5341      ;;
5342  
5343 +  os2*)
5344 +    # The test takes a long time on OS/2.
5345 +    lt_cv_sys_max_cmd_len=8192
5346 +    ;;
5347 +
5348    osf*)
5349      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5350      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5235 | Line 5371 | else
5371      ;;
5372    *)
5373      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5374 <    if test -n "$lt_cv_sys_max_cmd_len"; then
5374 >    if test -n "$lt_cv_sys_max_cmd_len" && \
5375 >       test undefined != "$lt_cv_sys_max_cmd_len"; then
5376        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5377        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5378      else
5379        # Make teststring a little bigger before we do anything with it.
5380        # a 1K string should be a reasonable start.
5381 <      for i in 1 2 3 4 5 6 7 8 ; do
5381 >      for i in 1 2 3 4 5 6 7 8; do
5382          teststring=$teststring$teststring
5383        done
5384        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5385        # If test is not a shell built-in, we'll probably end up computing a
5386        # maximum length that is only half of the actual maximum length, but
5387        # we can't tell.
5388 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5389 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5390 <              test $i != 17 # 1/2 MB should be enough
5388 >      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5389 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5390 >              test 17 != "$i" # 1/2 MB should be enough
5391        do
5392          i=`expr $i + 1`
5393          teststring=$teststring$teststring
# Line 5268 | Line 5405 | else
5405  
5406   fi
5407  
5408 < if test -n $lt_cv_sys_max_cmd_len ; then
5408 > if test -n "$lt_cv_sys_max_cmd_len"; then
5409    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5410   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5411   else
# Line 5286 | Line 5423 | max_cmd_len=$lt_cv_sys_max_cmd_len
5423   : ${MV="mv -f"}
5424   : ${RM="rm -f"}
5425  
5289 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5290 – $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5291 – # Try some XSI features
5292 – xsi_shell=no
5293 – ( _lt_dummy="a/b/c"
5294 –  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5295 –      = c,a/b,, \
5296 –    && eval 'test $(( 1 + 1 )) -eq 2 \
5297 –    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5298 –  && xsi_shell=yes
5299 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5300 – $as_echo "$xsi_shell" >&6; }
5301 –
5302 –
5303 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5304 – $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5305 – lt_shell_append=no
5306 – ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5307 –    >/dev/null 2>&1 \
5308 –  && lt_shell_append=yes
5309 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5310 – $as_echo "$lt_shell_append" >&6; }
5311 –
5312 –
5426   if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5427    lt_unset=unset
5428   else
# Line 5341 | Line 5454 | esac
5454  
5455  
5456  
5457 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5458 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5459 + if ${lt_cv_to_host_file_cmd+:} false; then :
5460 +  $as_echo_n "(cached) " >&6
5461 + else
5462 +  case $host in
5463 +  *-*-mingw* )
5464 +    case $build in
5465 +      *-*-mingw* ) # actually msys
5466 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5467 +        ;;
5468 +      *-*-cygwin* )
5469 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5470 +        ;;
5471 +      * ) # otherwise, assume *nix
5472 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5473 +        ;;
5474 +    esac
5475 +    ;;
5476 +  *-*-cygwin* )
5477 +    case $build in
5478 +      *-*-mingw* ) # actually msys
5479 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5480 +        ;;
5481 +      *-*-cygwin* )
5482 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5483 +        ;;
5484 +      * ) # otherwise, assume *nix
5485 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5486 +        ;;
5487 +    esac
5488 +    ;;
5489 +  * ) # unhandled hosts (and "normal" native builds)
5490 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5491 +    ;;
5492 + esac
5493 +
5494 + fi
5495 +
5496 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5497 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5498 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5499 +
5500 +
5501 +
5502 +
5503 +
5504 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5505 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5506 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5507 +  $as_echo_n "(cached) " >&6
5508 + else
5509 +  #assume ordinary cross tools, or native build.
5510 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5511 + case $host in
5512 +  *-*-mingw* )
5513 +    case $build in
5514 +      *-*-mingw* ) # actually msys
5515 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5516 +        ;;
5517 +    esac
5518 +    ;;
5519 + esac
5520 +
5521 + fi
5522 +
5523 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5524 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5525 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5526 +
5527 +
5528 +
5529 +
5530 +
5531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5532   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5533 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5533 > if ${lt_cv_ld_reload_flag+:} false; then :
5534    $as_echo_n "(cached) " >&6
5535   else
5536    lt_cv_ld_reload_flag='-r'
# Line 5357 | Line 5544 | case $reload_flag in
5544   esac
5545   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5546   case $host_os in
5547 +  cygwin* | mingw* | pw32* | cegcc*)
5548 +    if test yes != "$GCC"; then
5549 +      reload_cmds=false
5550 +    fi
5551 +    ;;
5552    darwin*)
5553 <    if test "$GCC" = yes; then
5554 <      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5553 >    if test yes = "$GCC"; then
5554 >      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5555      else
5556        reload_cmds='$LD$reload_flag -o $output$reload_objs'
5557      fi
# Line 5379 | Line 5571 | if test -n "$ac_tool_prefix"; then
5571   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573   $as_echo_n "checking for $ac_word... " >&6; }
5574 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5574 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5575    $as_echo_n "(cached) " >&6
5576   else
5577    if test -n "$OBJDUMP"; then
# Line 5391 | Line 5583 | do
5583    IFS=$as_save_IFS
5584    test -z "$as_dir" && as_dir=.
5585      for ac_exec_ext in '' $ac_executable_extensions; do
5586 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5588      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589      break 2
# Line 5419 | Line 5611 | if test -z "$ac_cv_prog_OBJDUMP"; then
5611   set dummy objdump; ac_word=$2
5612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613   $as_echo_n "checking for $ac_word... " >&6; }
5614 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5614 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5615    $as_echo_n "(cached) " >&6
5616   else
5617    if test -n "$ac_ct_OBJDUMP"; then
# Line 5431 | Line 5623 | do
5623    IFS=$as_save_IFS
5624    test -z "$as_dir" && as_dir=.
5625      for ac_exec_ext in '' $ac_executable_extensions; do
5626 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5626 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5628      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629      break 2
# Line 5478 | Line 5670 | test -z "$OBJDUMP" && OBJDUMP=objdump
5670  
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5672   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5673 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5673 > if ${lt_cv_deplibs_check_method+:} false; then :
5674    $as_echo_n "(cached) " >&6
5675   else
5676    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5487 | Line 5679 | lt_cv_deplibs_check_method='unknown'
5679   # Need to set the preceding variable on all platforms that support
5680   # interlibrary dependencies.
5681   # 'none' -- dependencies not supported.
5682 < # `unknown' -- same as none, but documents that we really don't know.
5682 > # 'unknown' -- same as none, but documents that we really don't know.
5683   # 'pass_all' -- all dependencies passed with no checks.
5684   # 'test_compile' -- check by making test program.
5685   # 'file_magic [[regex]]' -- check by looking for files in library path
5686 < # which responds to the $file_magic_cmd with a given extended regex.
5687 < # If you have `file' or equivalent on your system and you're not sure
5688 < # whether `pass_all' will *always* work, you probably want this one.
5686 > # that responds to the $file_magic_cmd with a given extended regex.
5687 > # If you have 'file' or equivalent on your system and you're not sure
5688 > # whether 'pass_all' will *always* work, you probably want this one.
5689  
5690   case $host_os in
5691   aix[4-9]*)
# Line 5524 | Line 5716 | mingw* | pw32*)
5716      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5717      lt_cv_file_magic_cmd='func_win32_libid'
5718    else
5719 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5719 >    # Keep this pattern in sync with the one in func_win32_libid.
5720 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5721      lt_cv_file_magic_cmd='$OBJDUMP -f'
5722    fi
5723    ;;
5724  
5725 < cegcc)
5725 > cegcc*)
5726    # use the weaker test based on 'objdump'. See mingw*.
5727    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5728    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5555 | Line 5748 | freebsd* | dragonfly*)
5748    fi
5749    ;;
5750  
5751 < gnu*)
5751 > haiku*)
5752    lt_cv_deplibs_check_method=pass_all
5753    ;;
5754  
# Line 5567 | Line 5760 | hpux10.20* | hpux11*)
5760      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5761      ;;
5762    hppa*64*)
5763 <    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]'
5763 >    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]'
5764      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5765      ;;
5766    *)
5767 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5767 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5768      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5769      ;;
5770    esac
# Line 5592 | Line 5785 | irix5* | irix6* | nonstopux*)
5785    lt_cv_deplibs_check_method=pass_all
5786    ;;
5787  
5788 < # This must be Linux ELF.
5789 < linux* | k*bsd*-gnu)
5788 > # This must be glibc/ELF.
5789 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5790    lt_cv_deplibs_check_method=pass_all
5791    ;;
5792  
5793 < netbsd*)
5793 > netbsd* | netbsdelf*-gnu)
5794    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5795      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5796    else
# Line 5615 | Line 5808 | newos6*)
5808    lt_cv_deplibs_check_method=pass_all
5809    ;;
5810  
5811 < openbsd*)
5812 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5811 > openbsd* | bitrig*)
5812 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5813      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5814    else
5815      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
# Line 5669 | Line 5862 | sysv4 | sysv4.3*)
5862   tpf*)
5863    lt_cv_deplibs_check_method=pass_all
5864    ;;
5865 + os2*)
5866 +  lt_cv_deplibs_check_method=pass_all
5867 +  ;;
5868   esac
5869  
5870   fi
5871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5872   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5873 +
5874 + file_magic_glob=
5875 + want_nocaseglob=no
5876 + if test "$build" = "$host"; then
5877 +  case $host_os in
5878 +  mingw* | pw32*)
5879 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5880 +      want_nocaseglob=yes
5881 +    else
5882 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5883 +    fi
5884 +    ;;
5885 +  esac
5886 + fi
5887 +
5888   file_magic_cmd=$lt_cv_file_magic_cmd
5889   deplibs_check_method=$lt_cv_deplibs_check_method
5890   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5689 | Line 5900 | test -z "$deplibs_check_method" && depli
5900  
5901  
5902  
5903 +
5904 +
5905 +
5906 +
5907 +
5908 +
5909 +
5910 +
5911 +
5912 +
5913 + if test -n "$ac_tool_prefix"; then
5914 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5915 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5916 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 + $as_echo_n "checking for $ac_word... " >&6; }
5918 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5919 +  $as_echo_n "(cached) " >&6
5920 + else
5921 +  if test -n "$DLLTOOL"; then
5922 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5923 + else
5924 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 + for as_dir in $PATH
5926 + do
5927 +  IFS=$as_save_IFS
5928 +  test -z "$as_dir" && as_dir=.
5929 +    for ac_exec_ext in '' $ac_executable_extensions; do
5930 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5932 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 +    break 2
5934 +  fi
5935 + done
5936 +  done
5937 + IFS=$as_save_IFS
5938 +
5939 + fi
5940 + fi
5941 + DLLTOOL=$ac_cv_prog_DLLTOOL
5942 + if test -n "$DLLTOOL"; then
5943 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5944 + $as_echo "$DLLTOOL" >&6; }
5945 + else
5946 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 + $as_echo "no" >&6; }
5948 + fi
5949 +
5950 +
5951 + fi
5952 + if test -z "$ac_cv_prog_DLLTOOL"; then
5953 +  ac_ct_DLLTOOL=$DLLTOOL
5954 +  # Extract the first word of "dlltool", so it can be a program name with args.
5955 + set dummy dlltool; ac_word=$2
5956 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 + $as_echo_n "checking for $ac_word... " >&6; }
5958 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5959 +  $as_echo_n "(cached) " >&6
5960 + else
5961 +  if test -n "$ac_ct_DLLTOOL"; then
5962 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5963 + else
5964 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 + for as_dir in $PATH
5966 + do
5967 +  IFS=$as_save_IFS
5968 +  test -z "$as_dir" && as_dir=.
5969 +    for ac_exec_ext in '' $ac_executable_extensions; do
5970 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5972 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 +    break 2
5974 +  fi
5975 + done
5976 +  done
5977 + IFS=$as_save_IFS
5978 +
5979 + fi
5980 + fi
5981 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5982 + if test -n "$ac_ct_DLLTOOL"; then
5983 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5984 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5985 + else
5986 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 + $as_echo "no" >&6; }
5988 + fi
5989 +
5990 +  if test "x$ac_ct_DLLTOOL" = x; then
5991 +    DLLTOOL="false"
5992 +  else
5993 +    case $cross_compiling:$ac_tool_warned in
5994 + yes:)
5995 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5996 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5997 + ac_tool_warned=yes ;;
5998 + esac
5999 +    DLLTOOL=$ac_ct_DLLTOOL
6000 +  fi
6001 + else
6002 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
6003 + fi
6004 +
6005 + test -z "$DLLTOOL" && DLLTOOL=dlltool
6006 +
6007 +
6008 +
6009 +
6010 +
6011 +
6012 +
6013 +
6014 +
6015 +
6016 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6017 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6018 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6019 +  $as_echo_n "(cached) " >&6
6020 + else
6021 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6022 +
6023 + case $host_os in
6024 + cygwin* | mingw* | pw32* | cegcc*)
6025 +  # two different shell functions defined in ltmain.sh;
6026 +  # decide which one to use based on capabilities of $DLLTOOL
6027 +  case `$DLLTOOL --help 2>&1` in
6028 +  *--identify-strict*)
6029 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6030 +    ;;
6031 +  *)
6032 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6033 +    ;;
6034 +  esac
6035 +  ;;
6036 + *)
6037 +  # fallback: assume linklib IS sharedlib
6038 +  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6039 +  ;;
6040 + esac
6041 +
6042 + fi
6043 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6044 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6045 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6046 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6047 +
6048 +
6049 +
6050 +
6051 +
6052 +
6053 +
6054   if test -n "$ac_tool_prefix"; then
6055 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6056 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6055 >  for ac_prog in ar
6056 >  do
6057 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6058 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060   $as_echo_n "checking for $ac_word... " >&6; }
6061 < if test "${ac_cv_prog_AR+set}" = set; then :
6061 > if ${ac_cv_prog_AR+:} false; then :
6062    $as_echo_n "(cached) " >&6
6063   else
6064    if test -n "$AR"; then
# Line 5706 | Line 6070 | do
6070    IFS=$as_save_IFS
6071    test -z "$as_dir" && as_dir=.
6072      for ac_exec_ext in '' $ac_executable_extensions; do
6073 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6073 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6075      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076      break 2
6077    fi
# Line 5727 | Line 6091 | $as_echo "no" >&6; }
6091   fi
6092  
6093  
6094 +    test -n "$AR" && break
6095 +  done
6096   fi
6097 < if test -z "$ac_cv_prog_AR"; then
6097 > if test -z "$AR"; then
6098    ac_ct_AR=$AR
6099 <  # Extract the first word of "ar", so it can be a program name with args.
6100 < set dummy ar; ac_word=$2
6099 >  for ac_prog in ar
6100 > do
6101 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6102 > set dummy $ac_prog; ac_word=$2
6103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104   $as_echo_n "checking for $ac_word... " >&6; }
6105 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6105 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6106    $as_echo_n "(cached) " >&6
6107   else
6108    if test -n "$ac_ct_AR"; then
# Line 5746 | Line 6114 | do
6114    IFS=$as_save_IFS
6115    test -z "$as_dir" && as_dir=.
6116      for ac_exec_ext in '' $ac_executable_extensions; do
6117 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6118 <    ac_cv_prog_ac_ct_AR="ar"
6117 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6118 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6119      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120      break 2
6121    fi
# Line 5766 | Line 6134 | else
6134   $as_echo "no" >&6; }
6135   fi
6136  
6137 +
6138 +  test -n "$ac_ct_AR" && break
6139 + done
6140 +
6141    if test "x$ac_ct_AR" = x; then
6142      AR="false"
6143    else
# Line 5777 | Line 6149 | ac_tool_warned=yes ;;
6149   esac
6150      AR=$ac_ct_AR
6151    fi
5780 – else
5781 –  AR="$ac_cv_prog_AR"
6152   fi
6153  
6154 < test -z "$AR" && AR=ar
6155 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6154 > : ${AR=ar}
6155 > : ${AR_FLAGS=cru}
6156  
6157  
6158  
# Line 5794 | Line 6164 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6164  
6165  
6166  
6167 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6168 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6169 + if ${lt_cv_ar_at_file+:} false; then :
6170 +  $as_echo_n "(cached) " >&6
6171 + else
6172 +  lt_cv_ar_at_file=no
6173 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174 + /* end confdefs.h.  */
6175 +
6176 + int
6177 + main ()
6178 + {
6179 +
6180 +  ;
6181 +  return 0;
6182 + }
6183 + _ACEOF
6184 + if ac_fn_c_try_compile "$LINENO"; then :
6185 +  echo conftest.$ac_objext > conftest.lst
6186 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6187 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6188 +  (eval $lt_ar_try) 2>&5
6189 +  ac_status=$?
6190 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6191 +  test $ac_status = 0; }
6192 +      if test 0 -eq "$ac_status"; then
6193 +        # Ensure the archiver fails upon bogus file names.
6194 +        rm -f conftest.$ac_objext libconftest.a
6195 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6196 +  (eval $lt_ar_try) 2>&5
6197 +  ac_status=$?
6198 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6199 +  test $ac_status = 0; }
6200 +        if test 0 -ne "$ac_status"; then
6201 +          lt_cv_ar_at_file=@
6202 +        fi
6203 +      fi
6204 +      rm -f conftest.* libconftest.a
6205 +
6206 + fi
6207 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6208 +
6209 + fi
6210 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6211 + $as_echo "$lt_cv_ar_at_file" >&6; }
6212 +
6213 + if test no = "$lt_cv_ar_at_file"; then
6214 +  archiver_list_spec=
6215 + else
6216 +  archiver_list_spec=$lt_cv_ar_at_file
6217 + fi
6218 +
6219 +
6220 +
6221 +
6222 +
6223 +
6224 +
6225   if test -n "$ac_tool_prefix"; then
6226    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6227   set dummy ${ac_tool_prefix}strip; ac_word=$2
6228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229   $as_echo_n "checking for $ac_word... " >&6; }
6230 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6230 > if ${ac_cv_prog_STRIP+:} false; then :
6231    $as_echo_n "(cached) " >&6
6232   else
6233    if test -n "$STRIP"; then
# Line 5811 | Line 6239 | do
6239    IFS=$as_save_IFS
6240    test -z "$as_dir" && as_dir=.
6241      for ac_exec_ext in '' $ac_executable_extensions; do
6242 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6242 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6244      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245      break 2
# Line 5839 | Line 6267 | if test -z "$ac_cv_prog_STRIP"; then
6267   set dummy strip; ac_word=$2
6268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269   $as_echo_n "checking for $ac_word... " >&6; }
6270 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6270 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6271    $as_echo_n "(cached) " >&6
6272   else
6273    if test -n "$ac_ct_STRIP"; then
# Line 5851 | Line 6279 | do
6279    IFS=$as_save_IFS
6280    test -z "$as_dir" && as_dir=.
6281      for ac_exec_ext in '' $ac_executable_extensions; do
6282 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6282 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6283      ac_cv_prog_ac_ct_STRIP="strip"
6284      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6285      break 2
# Line 5898 | Line 6326 | if test -n "$ac_tool_prefix"; then
6326   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328   $as_echo_n "checking for $ac_word... " >&6; }
6329 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6329 > if ${ac_cv_prog_RANLIB+:} false; then :
6330    $as_echo_n "(cached) " >&6
6331   else
6332    if test -n "$RANLIB"; then
# Line 5910 | Line 6338 | do
6338    IFS=$as_save_IFS
6339    test -z "$as_dir" && as_dir=.
6340      for ac_exec_ext in '' $ac_executable_extensions; do
6341 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344      break 2
# Line 5938 | Line 6366 | if test -z "$ac_cv_prog_RANLIB"; then
6366   set dummy ranlib; ac_word=$2
6367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6368   $as_echo_n "checking for $ac_word... " >&6; }
6369 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6369 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6370    $as_echo_n "(cached) " >&6
6371   else
6372    if test -n "$ac_ct_RANLIB"; then
# Line 5950 | Line 6378 | do
6378    IFS=$as_save_IFS
6379    test -z "$as_dir" && as_dir=.
6380      for ac_exec_ext in '' $ac_executable_extensions; do
6381 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6381 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6382      ac_cv_prog_ac_ct_RANLIB="ranlib"
6383      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6384      break 2
# Line 5999 | Line 6427 | old_postuninstall_cmds=
6427  
6428   if test -n "$RANLIB"; then
6429    case $host_os in
6430 <  openbsd*)
6431 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6430 >  bitrig* | openbsd*)
6431 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6432      ;;
6433    *)
6434 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6434 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6435      ;;
6436    esac
6437 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6437 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6438   fi
6439  
6440 + case $host_os in
6441 +  darwin*)
6442 +    lock_old_archive_extraction=yes ;;
6443 +  *)
6444 +    lock_old_archive_extraction=no ;;
6445 + esac
6446 +
6447 +
6448 +
6449 +
6450 +
6451 +
6452  
6453  
6454  
# Line 6055 | Line 6495 | compiler=$CC
6495   # Check for command to grab the raw symbol name followed by C symbol from nm.
6496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6497   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6498 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6498 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6499    $as_echo_n "(cached) " >&6
6500   else
6501  
# Line 6077 | Line 6517 | cygwin* | mingw* | pw32* | cegcc*)
6517    symcode='[ABCDGISTW]'
6518    ;;
6519   hpux*)
6520 <  if test "$host_cpu" = ia64; then
6520 >  if test ia64 = "$host_cpu"; then
6521      symcode='[ABCDEGRST]'
6522    fi
6523    ;;
# Line 6110 | Line 6550 | case `$NM -V 2>&1` in
6550    symcode='[ABCDGIRSTW]' ;;
6551   esac
6552  
6553 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6554 +  # Gets list of data symbols to import.
6555 +  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6556 +  # Adjust the below global symbol transforms to fixup imported variables.
6557 +  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6558 +  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6559 +  lt_c_name_lib_hook="\
6560 +  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6561 +  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6562 + else
6563 +  # Disable hooks by default.
6564 +  lt_cv_sys_global_symbol_to_import=
6565 +  lt_cdecl_hook=
6566 +  lt_c_name_hook=
6567 +  lt_c_name_lib_hook=
6568 + fi
6569 +
6570   # Transform an extracted symbol line into a proper C declaration.
6571   # Some systems (esp. on ia64) link data and code symbols differently,
6572   # so use this general approach.
6573 < lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6573 > lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6574 > $lt_cdecl_hook\
6575 > " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6576 > " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6577  
6578   # Transform an extracted symbol line into symbol name and symbol address
6579 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6580 < 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'"
6579 > lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6580 > $lt_c_name_hook\
6581 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6582 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6583 >
6584 > # Transform an extracted symbol line into symbol name with lib prefix and
6585 > # symbol address.
6586 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6587 > $lt_c_name_lib_hook\
6588 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6589 > " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6590 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6591  
6592   # Handle CRLF in mingw tool chain
6593   opt_cr=
# Line 6135 | Line 6605 | for ac_symprfx in "" "_"; do
6605  
6606    # Write the raw and C identifiers.
6607    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6608 <    # Fake it for dumpbin and say T for any non-static function
6609 <    # and D for any global variable.
6608 >    # Fake it for dumpbin and say T for any non-static function,
6609 >    # D for any global variable and I for any imported variable.
6610      # Also find C++ and __fastcall symbols from MSVC++,
6611      # which start with @ or ?.
6612      lt_cv_sys_global_symbol_pipe="$AWK '"\
6613   "     {last_section=section; section=\$ 3};"\
6614 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6615   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6616 + "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6617 + "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6618 + "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6619   "     \$ 0!~/External *\|/{next};"\
6620   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6621   "     {if(hide[section]) next};"\
6622 < "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6623 < "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6624 < "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6625 < "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6622 > "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6623 > "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6624 > "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6625 > "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6626   "     ' prfx=^$ac_symprfx"
6627    else
6628      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6629    fi
6630 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6631  
6632    # Check to see that the pipe works correctly.
6633    pipe_works=no
# Line 6178 | Line 6653 | _LT_EOF
6653    test $ac_status = 0; }; then
6654      # Now try to grab the symbols.
6655      nlist=conftest.nm
6656 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6657 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6183 <  ac_status=$?
6184 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6185 <  test $ac_status = 0; } && test -s "$nlist"; then
6656 >    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6657 >    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6658        # Try sorting and uniquifying the output.
6659        if sort "$nlist" | uniq > "$nlist"T; then
6660          mv -f "$nlist"T "$nlist"
# Line 6194 | Line 6666 | _LT_EOF
6666        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6667          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6668            cat <<_LT_EOF > conftest.$ac_ext
6669 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6670 + #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6671 + /* DATA imports from DLLs on WIN32 can't be const, because runtime
6672 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6673 + # define LT_DLSYM_CONST
6674 + #elif defined __osf__
6675 + /* This system does not cope well with relocations in const data.  */
6676 + # define LT_DLSYM_CONST
6677 + #else
6678 + # define LT_DLSYM_CONST const
6679 + #endif
6680 +
6681   #ifdef __cplusplus
6682   extern "C" {
6683   #endif
# Line 6205 | Line 6689 | _LT_EOF
6689            cat <<_LT_EOF >> conftest.$ac_ext
6690  
6691   /* The mapping between symbol names and symbols.  */
6692 < const struct {
6692 > LT_DLSYM_CONST struct {
6693    const char *name;
6694    void       *address;
6695   }
# Line 6213 | Line 6697 | lt__PROGRAM__LTX_preloaded_symbols[] =
6697   {
6698    { "@PROGRAM@", (void *) 0 },
6699   _LT_EOF
6700 <          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6700 >          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6701            cat <<\_LT_EOF >> conftest.$ac_ext
6702    {0, (void *) 0}
6703   };
# Line 6231 | Line 6715 | static const void *lt_preloaded_setup()
6715   _LT_EOF
6716            # Now try linking the two files.
6717            mv conftest.$ac_objext conftstm.$ac_objext
6718 <          lt_save_LIBS="$LIBS"
6719 <          lt_save_CFLAGS="$CFLAGS"
6720 <          LIBS="conftstm.$ac_objext"
6718 >          lt_globsym_save_LIBS=$LIBS
6719 >          lt_globsym_save_CFLAGS=$CFLAGS
6720 >          LIBS=conftstm.$ac_objext
6721            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6722            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6723    (eval $ac_link) 2>&5
6724    ac_status=$?
6725    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6726 <  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6726 >  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6727              pipe_works=yes
6728            fi
6729 <          LIBS="$lt_save_LIBS"
6730 <          CFLAGS="$lt_save_CFLAGS"
6729 >          LIBS=$lt_globsym_save_LIBS
6730 >          CFLAGS=$lt_globsym_save_CFLAGS
6731          else
6732            echo "cannot find nm_test_func in $nlist" >&5
6733          fi
# Line 6260 | Line 6744 | _LT_EOF
6744    rm -rf conftest* conftst*
6745  
6746    # Do not use the global_symbol_pipe unless it works.
6747 <  if test "$pipe_works" = yes; then
6747 >  if test yes = "$pipe_works"; then
6748      break
6749    else
6750      lt_cv_sys_global_symbol_pipe=
# Line 6280 | Line 6764 | else
6764   $as_echo "ok" >&6; }
6765   fi
6766  
6767 + # Response file support.
6768 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6769 +  nm_file_list_spec='@'
6770 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6771 +  nm_file_list_spec='@'
6772 + fi
6773 +
6774 +
6775 +
6776 +
6777 +
6778 +
6779 +
6780 +
6781 +
6782 +
6783 +
6784 +
6785 +
6786 +
6787 +
6788  
6789  
6790  
# Line 6301 | Line 6806 | fi
6806  
6807  
6808  
6809 +
6810 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6811 + $as_echo_n "checking for sysroot... " >&6; }
6812 +
6813 + # Check whether --with-sysroot was given.
6814 + if test "${with_sysroot+set}" = set; then :
6815 +  withval=$with_sysroot;
6816 + else
6817 +  with_sysroot=no
6818 + fi
6819 +
6820 +
6821 + lt_sysroot=
6822 + case $with_sysroot in #(
6823 + yes)
6824 +   if test yes = "$GCC"; then
6825 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6826 +   fi
6827 +   ;; #(
6828 + /*)
6829 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6830 +   ;; #(
6831 + no|'')
6832 +   ;; #(
6833 + *)
6834 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6835 + $as_echo "$with_sysroot" >&6; }
6836 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6837 +   ;;
6838 + esac
6839 +
6840 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6841 + $as_echo "${lt_sysroot:-no}" >&6; }
6842 +
6843 +
6844 +
6845 +
6846 +
6847 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6848 + $as_echo_n "checking for a working dd... " >&6; }
6849 + if ${ac_cv_path_lt_DD+:} false; then :
6850 +  $as_echo_n "(cached) " >&6
6851 + else
6852 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6853 + cat conftest.i conftest.i >conftest2.i
6854 + : ${lt_DD:=$DD}
6855 + if test -z "$lt_DD"; then
6856 +  ac_path_lt_DD_found=false
6857 +  # Loop through the user's path and test for each of PROGNAME-LIST
6858 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859 + for as_dir in $PATH
6860 + do
6861 +  IFS=$as_save_IFS
6862 +  test -z "$as_dir" && as_dir=.
6863 +    for ac_prog in dd; do
6864 +    for ac_exec_ext in '' $ac_executable_extensions; do
6865 +      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6866 +      as_fn_executable_p "$ac_path_lt_DD" || continue
6867 + if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6868 +  cmp -s conftest.i conftest.out \
6869 +  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6870 + fi
6871 +      $ac_path_lt_DD_found && break 3
6872 +    done
6873 +  done
6874 +  done
6875 + IFS=$as_save_IFS
6876 +  if test -z "$ac_cv_path_lt_DD"; then
6877 +    :
6878 +  fi
6879 + else
6880 +  ac_cv_path_lt_DD=$lt_DD
6881 + fi
6882 +
6883 + rm -f conftest.i conftest2.i conftest.out
6884 + fi
6885 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6886 + $as_echo "$ac_cv_path_lt_DD" >&6; }
6887 +
6888 +
6889 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6890 + $as_echo_n "checking how to truncate binary pipes... " >&6; }
6891 + if ${lt_cv_truncate_bin+:} false; then :
6892 +  $as_echo_n "(cached) " >&6
6893 + else
6894 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6895 + cat conftest.i conftest.i >conftest2.i
6896 + lt_cv_truncate_bin=
6897 + if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6898 +  cmp -s conftest.i conftest.out \
6899 +  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6900 + fi
6901 + rm -f conftest.i conftest2.i conftest.out
6902 + test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6903 + fi
6904 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6905 + $as_echo "$lt_cv_truncate_bin" >&6; }
6906 +
6907 +
6908 +
6909 +
6910 +
6911 +
6912 +
6913 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6914 + func_cc_basename ()
6915 + {
6916 +    for cc_temp in $*""; do
6917 +      case $cc_temp in
6918 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6919 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6920 +        \-*) ;;
6921 +        *) break;;
6922 +      esac
6923 +    done
6924 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6925 + }
6926 +
6927   # Check whether --enable-libtool-lock was given.
6928   if test "${enable_libtool_lock+set}" = set; then :
6929    enableval=$enable_libtool_lock;
6930   fi
6931  
6932 < test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6932 > test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6933  
6934   # Some flags need to be propagated to the compiler or linker for good
6935   # libtool support.
6936   case $host in
6937   ia64-*-hpux*)
6938 <  # Find out which ABI we are using.
6938 >  # Find out what ABI is being produced by ac_compile, and set mode
6939 >  # options accordingly.
6940    echo 'int i;' > conftest.$ac_ext
6941    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6942    (eval $ac_compile) 2>&5
# Line 6321 | Line 6945 | ia64-*-hpux*)
6945    test $ac_status = 0; }; then
6946      case `/usr/bin/file conftest.$ac_objext` in
6947        *ELF-32*)
6948 <        HPUX_IA64_MODE="32"
6948 >        HPUX_IA64_MODE=32
6949          ;;
6950        *ELF-64*)
6951 <        HPUX_IA64_MODE="64"
6951 >        HPUX_IA64_MODE=64
6952          ;;
6953      esac
6954    fi
6955    rm -rf conftest*
6956    ;;
6957   *-*-irix6*)
6958 <  # Find out which ABI we are using.
6959 <  echo '#line 6335 "configure"' > conftest.$ac_ext
6958 >  # Find out what ABI is being produced by ac_compile, and set linker
6959 >  # options accordingly.
6960 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6961    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6962    (eval $ac_compile) 2>&5
6963    ac_status=$?
6964    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6965    test $ac_status = 0; }; then
6966 <    if test "$lt_cv_prog_gnu_ld" = yes; then
6966 >    if test yes = "$lt_cv_prog_gnu_ld"; then
6967        case `/usr/bin/file conftest.$ac_objext` in
6968          *32-bit*)
6969            LD="${LD-ld} -melf32bsmip"
# Line 6367 | Line 6992 | ia64-*-hpux*)
6992    rm -rf conftest*
6993    ;;
6994  
6995 < x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6995 > mips64*-*linux*)
6996 >  # Find out what ABI is being produced by ac_compile, and set linker
6997 >  # options accordingly.
6998 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6999 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7000 >  (eval $ac_compile) 2>&5
7001 >  ac_status=$?
7002 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7003 >  test $ac_status = 0; }; then
7004 >    emul=elf
7005 >    case `/usr/bin/file conftest.$ac_objext` in
7006 >      *32-bit*)
7007 >        emul="${emul}32"
7008 >        ;;
7009 >      *64-bit*)
7010 >        emul="${emul}64"
7011 >        ;;
7012 >    esac
7013 >    case `/usr/bin/file conftest.$ac_objext` in
7014 >      *MSB*)
7015 >        emul="${emul}btsmip"
7016 >        ;;
7017 >      *LSB*)
7018 >        emul="${emul}ltsmip"
7019 >        ;;
7020 >    esac
7021 >    case `/usr/bin/file conftest.$ac_objext` in
7022 >      *N32*)
7023 >        emul="${emul}n32"
7024 >        ;;
7025 >    esac
7026 >    LD="${LD-ld} -m $emul"
7027 >  fi
7028 >  rm -rf conftest*
7029 >  ;;
7030 >
7031 > x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7032   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7033 <  # Find out which ABI we are using.
7033 >  # Find out what ABI is being produced by ac_compile, and set linker
7034 >  # options accordingly.  Note that the listed cases only cover the
7035 >  # situations where additional linker options are needed (such as when
7036 >  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7037 >  # vice versa); the common cases where no linker options are needed do
7038 >  # not appear in the list.
7039    echo 'int i;' > conftest.$ac_ext
7040    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7041    (eval $ac_compile) 2>&5
# Line 6383 | Line 7049 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7049              LD="${LD-ld} -m elf_i386_fbsd"
7050              ;;
7051            x86_64-*linux*)
7052 <            LD="${LD-ld} -m elf_i386"
7052 >            case `/usr/bin/file conftest.o` in
7053 >              *x86-64*)
7054 >                LD="${LD-ld} -m elf32_x86_64"
7055 >                ;;
7056 >              *)
7057 >                LD="${LD-ld} -m elf_i386"
7058 >                ;;
7059 >            esac
7060              ;;
7061 <          ppc64-*linux*|powerpc64-*linux*)
7061 >          powerpc64le-*linux*)
7062 >            LD="${LD-ld} -m elf32lppclinux"
7063 >            ;;
7064 >          powerpc64-*linux*)
7065              LD="${LD-ld} -m elf32ppclinux"
7066              ;;
7067            s390x-*linux*)
# Line 6404 | Line 7080 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7080            x86_64-*linux*)
7081              LD="${LD-ld} -m elf_x86_64"
7082              ;;
7083 <          ppc*-*linux*|powerpc*-*linux*)
7083 >          powerpcle-*linux*)
7084 >            LD="${LD-ld} -m elf64lppc"
7085 >            ;;
7086 >          powerpc-*linux*)
7087              LD="${LD-ld} -m elf64ppc"
7088              ;;
7089            s390*-*linux*|s390*-*tpf*)
# Line 6422 | Line 7101 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7101  
7102   *-*-sco3.2v5*)
7103    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7104 <  SAVE_CFLAGS="$CFLAGS"
7104 >  SAVE_CFLAGS=$CFLAGS
7105    CFLAGS="$CFLAGS -belf"
7106    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7107   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7108 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
7108 > if ${lt_cv_cc_needs_belf+:} false; then :
7109    $as_echo_n "(cached) " >&6
7110   else
7111    ac_ext=c
# Line 6462 | Line 7141 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7141   fi
7142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7143   $as_echo "$lt_cv_cc_needs_belf" >&6; }
7144 <  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7144 >  if test yes != "$lt_cv_cc_needs_belf"; then
7145      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7146 <    CFLAGS="$SAVE_CFLAGS"
7146 >    CFLAGS=$SAVE_CFLAGS
7147    fi
7148    ;;
7149 < sparc*-*solaris*)
7150 <  # Find out which ABI we are using.
7149 > *-*solaris*)
7150 >  # Find out what ABI is being produced by ac_compile, and set linker
7151 >  # options accordingly.
7152    echo 'int i;' > conftest.$ac_ext
7153    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7154    (eval $ac_compile) 2>&5
# Line 6478 | Line 7158 | sparc*-*solaris*)
7158      case `/usr/bin/file conftest.o` in
7159      *64-bit*)
7160        case $lt_cv_prog_gnu_ld in
7161 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7161 >      yes*)
7162 >        case $host in
7163 >        i?86-*-solaris*|x86_64-*-solaris*)
7164 >          LD="${LD-ld} -m elf_x86_64"
7165 >          ;;
7166 >        sparc*-*-solaris*)
7167 >          LD="${LD-ld} -m elf64_sparc"
7168 >          ;;
7169 >        esac
7170 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7171 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7172 >          LD=${LD-ld}_sol2
7173 >        fi
7174 >        ;;
7175        *)
7176          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7177            LD="${LD-ld} -64"
# Line 6492 | Line 7185 | sparc*-*solaris*)
7185    ;;
7186   esac
7187  
7188 < need_locks="$enable_libtool_lock"
7188 > need_locks=$enable_libtool_lock
7189 >
7190 > if test -n "$ac_tool_prefix"; then
7191 >  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7192 > set dummy ${ac_tool_prefix}mt; ac_word=$2
7193 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 > $as_echo_n "checking for $ac_word... " >&6; }
7195 > if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7196 >  $as_echo_n "(cached) " >&6
7197 > else
7198 >  if test -n "$MANIFEST_TOOL"; then
7199 >  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7200 > else
7201 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 > for as_dir in $PATH
7203 > do
7204 >  IFS=$as_save_IFS
7205 >  test -z "$as_dir" && as_dir=.
7206 >    for ac_exec_ext in '' $ac_executable_extensions; do
7207 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208 >    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7209 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 >    break 2
7211 >  fi
7212 > done
7213 >  done
7214 > IFS=$as_save_IFS
7215 >
7216 > fi
7217 > fi
7218 > MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7219 > if test -n "$MANIFEST_TOOL"; then
7220 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7221 > $as_echo "$MANIFEST_TOOL" >&6; }
7222 > else
7223 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 > $as_echo "no" >&6; }
7225 > fi
7226 >
7227 >
7228 > fi
7229 > if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7230 >  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7231 >  # Extract the first word of "mt", so it can be a program name with args.
7232 > set dummy mt; ac_word=$2
7233 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 > $as_echo_n "checking for $ac_word... " >&6; }
7235 > if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7236 >  $as_echo_n "(cached) " >&6
7237 > else
7238 >  if test -n "$ac_ct_MANIFEST_TOOL"; then
7239 >  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7240 > else
7241 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 > for as_dir in $PATH
7243 > do
7244 >  IFS=$as_save_IFS
7245 >  test -z "$as_dir" && as_dir=.
7246 >    for ac_exec_ext in '' $ac_executable_extensions; do
7247 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248 >    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7249 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 >    break 2
7251 >  fi
7252 > done
7253 >  done
7254 > IFS=$as_save_IFS
7255 >
7256 > fi
7257 > fi
7258 > ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7259 > if test -n "$ac_ct_MANIFEST_TOOL"; then
7260 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7261 > $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7262 > else
7263 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 > $as_echo "no" >&6; }
7265 > fi
7266 >
7267 >  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7268 >    MANIFEST_TOOL=":"
7269 >  else
7270 >    case $cross_compiling:$ac_tool_warned in
7271 > yes:)
7272 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7273 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7274 > ac_tool_warned=yes ;;
7275 > esac
7276 >    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7277 >  fi
7278 > else
7279 >  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7280 > fi
7281 >
7282 > test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7283 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7284 > $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7285 > if ${lt_cv_path_mainfest_tool+:} false; then :
7286 >  $as_echo_n "(cached) " >&6
7287 > else
7288 >  lt_cv_path_mainfest_tool=no
7289 >  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7290 >  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7291 >  cat conftest.err >&5
7292 >  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7293 >    lt_cv_path_mainfest_tool=yes
7294 >  fi
7295 >  rm -f conftest*
7296 > fi
7297 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7298 > $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7299 > if test yes != "$lt_cv_path_mainfest_tool"; then
7300 >  MANIFEST_TOOL=:
7301 > fi
7302 >
7303 >
7304 >
7305 >
7306  
7307  
7308    case $host_os in
# Line 6502 | Line 7312 | need_locks="$enable_libtool_lock"
7312   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7314   $as_echo_n "checking for $ac_word... " >&6; }
7315 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7315 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7316    $as_echo_n "(cached) " >&6
7317   else
7318    if test -n "$DSYMUTIL"; then
# Line 6514 | Line 7324 | do
7324    IFS=$as_save_IFS
7325    test -z "$as_dir" && as_dir=.
7326      for ac_exec_ext in '' $ac_executable_extensions; do
7327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7328      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7330      break 2
# Line 6542 | Line 7352 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7352   set dummy dsymutil; ac_word=$2
7353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354   $as_echo_n "checking for $ac_word... " >&6; }
7355 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7355 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7356    $as_echo_n "(cached) " >&6
7357   else
7358    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6554 | Line 7364 | do
7364    IFS=$as_save_IFS
7365    test -z "$as_dir" && as_dir=.
7366      for ac_exec_ext in '' $ac_executable_extensions; do
7367 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7367 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7368      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7370      break 2
# Line 6594 | Line 7404 | fi
7404   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7406   $as_echo_n "checking for $ac_word... " >&6; }
7407 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7407 > if ${ac_cv_prog_NMEDIT+:} false; then :
7408    $as_echo_n "(cached) " >&6
7409   else
7410    if test -n "$NMEDIT"; then
# Line 6606 | Line 7416 | do
7416    IFS=$as_save_IFS
7417    test -z "$as_dir" && as_dir=.
7418      for ac_exec_ext in '' $ac_executable_extensions; do
7419 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7419 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7420      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7421      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7422      break 2
# Line 6634 | Line 7444 | if test -z "$ac_cv_prog_NMEDIT"; then
7444   set dummy nmedit; ac_word=$2
7445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7446   $as_echo_n "checking for $ac_word... " >&6; }
7447 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7447 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7448    $as_echo_n "(cached) " >&6
7449   else
7450    if test -n "$ac_ct_NMEDIT"; then
# Line 6646 | Line 7456 | do
7456    IFS=$as_save_IFS
7457    test -z "$as_dir" && as_dir=.
7458      for ac_exec_ext in '' $ac_executable_extensions; do
7459 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7459 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7460      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7461      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7462      break 2
# Line 6686 | Line 7496 | fi
7496   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7498   $as_echo_n "checking for $ac_word... " >&6; }
7499 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7499 > if ${ac_cv_prog_LIPO+:} false; then :
7500    $as_echo_n "(cached) " >&6
7501   else
7502    if test -n "$LIPO"; then
# Line 6698 | Line 7508 | do
7508    IFS=$as_save_IFS
7509    test -z "$as_dir" && as_dir=.
7510      for ac_exec_ext in '' $ac_executable_extensions; do
7511 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7511 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7512      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7513      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7514      break 2
# Line 6726 | Line 7536 | if test -z "$ac_cv_prog_LIPO"; then
7536   set dummy lipo; ac_word=$2
7537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7538   $as_echo_n "checking for $ac_word... " >&6; }
7539 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7539 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7540    $as_echo_n "(cached) " >&6
7541   else
7542    if test -n "$ac_ct_LIPO"; then
# Line 6738 | Line 7548 | do
7548    IFS=$as_save_IFS
7549    test -z "$as_dir" && as_dir=.
7550      for ac_exec_ext in '' $ac_executable_extensions; do
7551 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7551 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7552      ac_cv_prog_ac_ct_LIPO="lipo"
7553      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7554      break 2
# Line 6778 | Line 7588 | fi
7588   set dummy ${ac_tool_prefix}otool; ac_word=$2
7589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590   $as_echo_n "checking for $ac_word... " >&6; }
7591 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7591 > if ${ac_cv_prog_OTOOL+:} false; then :
7592    $as_echo_n "(cached) " >&6
7593   else
7594    if test -n "$OTOOL"; then
# Line 6790 | Line 7600 | do
7600    IFS=$as_save_IFS
7601    test -z "$as_dir" && as_dir=.
7602      for ac_exec_ext in '' $ac_executable_extensions; do
7603 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7603 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7604      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7605      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606      break 2
# Line 6818 | Line 7628 | if test -z "$ac_cv_prog_OTOOL"; then
7628   set dummy otool; ac_word=$2
7629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630   $as_echo_n "checking for $ac_word... " >&6; }
7631 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7631 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7632    $as_echo_n "(cached) " >&6
7633   else
7634    if test -n "$ac_ct_OTOOL"; then
# Line 6830 | Line 7640 | do
7640    IFS=$as_save_IFS
7641    test -z "$as_dir" && as_dir=.
7642      for ac_exec_ext in '' $ac_executable_extensions; do
7643 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7644      ac_cv_prog_ac_ct_OTOOL="otool"
7645      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646      break 2
# Line 6870 | Line 7680 | fi
7680   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7682   $as_echo_n "checking for $ac_word... " >&6; }
7683 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7683 > if ${ac_cv_prog_OTOOL64+:} false; then :
7684    $as_echo_n "(cached) " >&6
7685   else
7686    if test -n "$OTOOL64"; then
# Line 6882 | Line 7692 | do
7692    IFS=$as_save_IFS
7693    test -z "$as_dir" && as_dir=.
7694      for ac_exec_ext in '' $ac_executable_extensions; do
7695 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7696      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7697      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7698      break 2
# Line 6910 | Line 7720 | if test -z "$ac_cv_prog_OTOOL64"; then
7720   set dummy otool64; ac_word=$2
7721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7722   $as_echo_n "checking for $ac_word... " >&6; }
7723 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7723 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7724    $as_echo_n "(cached) " >&6
7725   else
7726    if test -n "$ac_ct_OTOOL64"; then
# Line 6922 | Line 7732 | do
7732    IFS=$as_save_IFS
7733    test -z "$as_dir" && as_dir=.
7734      for ac_exec_ext in '' $ac_executable_extensions; do
7735 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7736      ac_cv_prog_ac_ct_OTOOL64="otool64"
7737      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7738      break 2
# Line 6985 | Line 7795 | fi
7795  
7796      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7797   $as_echo_n "checking for -single_module linker flag... " >&6; }
7798 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7798 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7799    $as_echo_n "(cached) " >&6
7800   else
7801    lt_cv_apple_cc_single_mod=no
7802 <      if test -z "${LT_MULTI_MODULE}"; then
7802 >      if test -z "$LT_MULTI_MODULE"; then
7803          # By default we will add the -single_module flag. You can override
7804          # by either setting the environment variable LT_MULTI_MODULE
7805          # non-empty at configure time, or by adding -multi_module to the
# Line 7001 | Line 7811 | else
7811          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7812            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7813          _lt_result=$?
7814 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7814 >        # If there is a non-empty error log, and "single_module"
7815 >        # appears in it, assume the flag caused a linker warning
7816 >        if test -s conftest.err && $GREP single_module conftest.err; then
7817 >          cat conftest.err >&5
7818 >        # Otherwise, if the output was created with a 0 exit code from
7819 >        # the compiler, it worked.
7820 >        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7821            lt_cv_apple_cc_single_mod=yes
7822          else
7823            cat conftest.err >&5
# Line 7012 | Line 7828 | else
7828   fi
7829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7830   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7831 +
7832      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7833   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7834 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7834 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7835    $as_echo_n "(cached) " >&6
7836   else
7837    lt_cv_ld_exported_symbols_list=no
# Line 7039 | Line 7856 | else
7856   fi
7857   rm -f core conftest.err conftest.$ac_objext \
7858      conftest$ac_exeext conftest.$ac_ext
7859 <        LDFLAGS="$save_LDFLAGS"
7859 >        LDFLAGS=$save_LDFLAGS
7860  
7861   fi
7862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7863   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7864 +
7865 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7866 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7867 + if ${lt_cv_ld_force_load+:} false; then :
7868 +  $as_echo_n "(cached) " >&6
7869 + else
7870 +  lt_cv_ld_force_load=no
7871 +      cat > conftest.c << _LT_EOF
7872 + int forced_loaded() { return 2;}
7873 + _LT_EOF
7874 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7875 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7876 +      echo "$AR cru libconftest.a conftest.o" >&5
7877 +      $AR cru libconftest.a conftest.o 2>&5
7878 +      echo "$RANLIB libconftest.a" >&5
7879 +      $RANLIB libconftest.a 2>&5
7880 +      cat > conftest.c << _LT_EOF
7881 + int main() { return 0;}
7882 + _LT_EOF
7883 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7884 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7885 +      _lt_result=$?
7886 +      if test -s conftest.err && $GREP force_load conftest.err; then
7887 +        cat conftest.err >&5
7888 +      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7889 +        lt_cv_ld_force_load=yes
7890 +      else
7891 +        cat conftest.err >&5
7892 +      fi
7893 +        rm -f conftest.err libconftest.a conftest conftest.c
7894 +        rm -rf conftest.dSYM
7895 +
7896 + fi
7897 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7898 + $as_echo "$lt_cv_ld_force_load" >&6; }
7899      case $host_os in
7900      rhapsody* | darwin1.[012])
7901 <      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7901 >      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7902      darwin1.*)
7903 <      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7903 >      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7904      darwin*) # darwin 5.x on
7905        # if running on 10.5 or later, the deployment target defaults
7906        # to the OS version, if on x86, and 10.4, the deployment
7907        # target defaults to 10.4. Don't you love it?
7908        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7909          10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7910 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7911 <        10.[012]*)
7912 <          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7910 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7911 >        10.[012][,.]*)
7912 >          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7913          10.*)
7914 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7914 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7915        esac
7916      ;;
7917    esac
7918 <    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7918 >    if test yes = "$lt_cv_apple_cc_single_mod"; then
7919        _lt_dar_single_mod='$single_module'
7920      fi
7921 <    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7922 <      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7921 >    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7922 >      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7923      else
7924 <      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7924 >      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7925      fi
7926 <    if test "$DSYMUTIL" != ":"; then
7926 >    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7927        _lt_dsymutil='~$DSYMUTIL $lib || :'
7928      else
7929        _lt_dsymutil=
# Line 7079 | Line 7931 | $as_echo "$lt_cv_ld_exported_symbols_lis
7931      ;;
7932    esac
7933  
7934 + # func_munge_path_list VARIABLE PATH
7935 + # -----------------------------------
7936 + # VARIABLE is name of variable containing _space_ separated list of
7937 + # directories to be munged by the contents of PATH, which is string
7938 + # having a format:
7939 + # "DIR[:DIR]:"
7940 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7941 + # ":DIR[:DIR]"
7942 + #       string "DIR[ DIR]" will be appended to VARIABLE
7943 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7944 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7945 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7946 + # "DIR[:DIR]"
7947 + #       VARIABLE will be replaced by "DIR[ DIR]"
7948 + func_munge_path_list ()
7949 + {
7950 +    case x$2 in
7951 +    x)
7952 +        ;;
7953 +    *:)
7954 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7955 +        ;;
7956 +    x:*)
7957 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7958 +        ;;
7959 +    *::*)
7960 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7961 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7962 +        ;;
7963 +    *)
7964 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7965 +        ;;
7966 +    esac
7967 + }
7968 +
7969   ac_ext=c
7970   ac_cpp='$CPP $CPPFLAGS'
7971   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7091 | Line 7978 | if test -n "$CPP" && test -d "$CPP"; the
7978    CPP=
7979   fi
7980   if test -z "$CPP"; then
7981 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7981 >  if ${ac_cv_prog_CPP+:} false; then :
7982    $as_echo_n "(cached) " >&6
7983   else
7984        # Double quotes because CPP needs to be expanded
# Line 7121 | Line 8008 | else
8008    # Broken: fails on valid input.
8009   continue
8010   fi
8011 < rm -f conftest.err conftest.$ac_ext
8011 > rm -f conftest.err conftest.i conftest.$ac_ext
8012  
8013    # OK, works on sane cases.  Now check whether nonexistent headers
8014    # can be detected and how.
# Line 7137 | Line 8024 | else
8024   ac_preproc_ok=:
8025   break
8026   fi
8027 < rm -f conftest.err conftest.$ac_ext
8027 > rm -f conftest.err conftest.i conftest.$ac_ext
8028  
8029   done
8030   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8031 < rm -f conftest.err conftest.$ac_ext
8031 > rm -f conftest.i conftest.err conftest.$ac_ext
8032   if $ac_preproc_ok; then :
8033    break
8034   fi
# Line 7180 | Line 8067 | else
8067    # Broken: fails on valid input.
8068   continue
8069   fi
8070 < rm -f conftest.err conftest.$ac_ext
8070 > rm -f conftest.err conftest.i conftest.$ac_ext
8071  
8072    # OK, works on sane cases.  Now check whether nonexistent headers
8073    # can be detected and how.
# Line 7196 | Line 8083 | else
8083   ac_preproc_ok=:
8084   break
8085   fi
8086 < rm -f conftest.err conftest.$ac_ext
8086 > rm -f conftest.err conftest.i conftest.$ac_ext
8087  
8088   done
8089   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8090 < rm -f conftest.err conftest.$ac_ext
8090 > rm -f conftest.i conftest.err conftest.$ac_ext
8091   if $ac_preproc_ok; then :
8092  
8093   else
8094    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8095   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8096 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
8097 < See \`config.log' for more details." "$LINENO" 5; }
8096 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8097 > See \`config.log' for more details" "$LINENO" 5; }
8098   fi
8099  
8100   ac_ext=c
# Line 7219 | Line 8106 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8106  
8107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8108   $as_echo_n "checking for ANSI C header files... " >&6; }
8109 < if test "${ac_cv_header_stdc+set}" = set; then :
8109 > if ${ac_cv_header_stdc+:} false; then :
8110    $as_echo_n "(cached) " >&6
8111   else
8112    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7336 | Line 8223 | do :
8223    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8224   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8225   "
8226 < eval as_val=\$$as_ac_Header
7340 <   if test "x$as_val" = x""yes; then :
8226 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8227    cat >>confdefs.h <<_ACEOF
8228   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8229   _ACEOF
# Line 7351 | Line 8237 | for ac_header in dlfcn.h
8237   do :
8238    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8239   "
8240 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8240 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8241    cat >>confdefs.h <<_ACEOF
8242   #define HAVE_DLFCN_H 1
8243   _ACEOF
# Line 7362 | Line 8248 | done
8248  
8249  
8250  
8251 +
8252 +
8253   # Set options
8254   enable_dlopen=yes
8255   # Check whether --enable-static was given.
# Line 7373 | Line 8261 | if test "${enable_static+set}" = set; th
8261      *)
8262       enable_static=no
8263        # Look at the argument we got.  We use all the common list separators.
8264 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8264 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8265        for pkg in $enableval; do
8266 <        IFS="$lt_save_ifs"
8266 >        IFS=$lt_save_ifs
8267          if test "X$pkg" = "X$p"; then
8268            enable_static=yes
8269          fi
8270        done
8271 <      IFS="$lt_save_ifs"
8271 >      IFS=$lt_save_ifs
8272        ;;
8273      esac
8274   else
# Line 7409 | Line 8297 | if test "${enable_shared+set}" = set; th
8297      *)
8298        enable_shared=no
8299        # Look at the argument we got.  We use all the common list separators.
8300 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8300 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8301        for pkg in $enableval; do
8302 <        IFS="$lt_save_ifs"
8302 >        IFS=$lt_save_ifs
8303          if test "X$pkg" = "X$p"; then
8304            enable_shared=yes
8305          fi
8306        done
8307 <      IFS="$lt_save_ifs"
8307 >      IFS=$lt_save_ifs
8308        ;;
8309      esac
8310   else
# Line 7435 | Line 8323 | fi
8323  
8324   # Check whether --with-pic was given.
8325   if test "${with_pic+set}" = set; then :
8326 <  withval=$with_pic; pic_mode="$withval"
8326 >  withval=$with_pic; lt_p=${PACKAGE-default}
8327 >    case $withval in
8328 >    yes|no) pic_mode=$withval ;;
8329 >    *)
8330 >      pic_mode=default
8331 >      # Look at the argument we got.  We use all the common list separators.
8332 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8333 >      for lt_pkg in $withval; do
8334 >        IFS=$lt_save_ifs
8335 >        if test "X$lt_pkg" = "X$lt_p"; then
8336 >          pic_mode=yes
8337 >        fi
8338 >      done
8339 >      IFS=$lt_save_ifs
8340 >      ;;
8341 >    esac
8342   else
8343    pic_mode=default
8344   fi
8345  
8346  
7444 – test -z "$pic_mode" && pic_mode=default
7445 –
8347  
8348  
8349  
# Line 7458 | Line 8359 | if test "${enable_fast_install+set}" = s
8359      *)
8360        enable_fast_install=no
8361        # Look at the argument we got.  We use all the common list separators.
8362 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8362 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8363        for pkg in $enableval; do
8364 <        IFS="$lt_save_ifs"
8364 >        IFS=$lt_save_ifs
8365          if test "X$pkg" = "X$p"; then
8366            enable_fast_install=yes
8367          fi
8368        done
8369 <      IFS="$lt_save_ifs"
8369 >      IFS=$lt_save_ifs
8370        ;;
8371      esac
8372   else
# Line 7479 | Line 8380 | fi
8380  
8381  
8382  
8383 +  shared_archive_member_spec=
8384 + case $host,$enable_shared in
8385 + power*-*-aix[5-9]*,yes)
8386 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8387 + $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8388 +
8389 + # Check whether --with-aix-soname was given.
8390 + if test "${with_aix_soname+set}" = set; then :
8391 +  withval=$with_aix_soname; case $withval in
8392 +    aix|svr4|both)
8393 +      ;;
8394 +    *)
8395 +      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8396 +      ;;
8397 +    esac
8398 +    lt_cv_with_aix_soname=$with_aix_soname
8399 + else
8400 +  if ${lt_cv_with_aix_soname+:} false; then :
8401 +  $as_echo_n "(cached) " >&6
8402 + else
8403 +  lt_cv_with_aix_soname=aix
8404 + fi
8405 +
8406 +    with_aix_soname=$lt_cv_with_aix_soname
8407 + fi
8408 +
8409 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8410 + $as_echo "$with_aix_soname" >&6; }
8411 +  if test aix != "$with_aix_soname"; then
8412 +    # For the AIX way of multilib, we name the shared archive member
8413 +    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8414 +    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8415 +    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8416 +    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8417 +    if test 64 = "${OBJECT_MODE-32}"; then
8418 +      shared_archive_member_spec=shr_64
8419 +    else
8420 +      shared_archive_member_spec=shr
8421 +    fi
8422 +  fi
8423 +  ;;
8424 + *)
8425 +  with_aix_soname=aix
8426 +  ;;
8427 + esac
8428 +
8429 +
8430 +
8431 +
8432 +
8433 +
8434 +
8435  
8436  
8437  
8438   # This can be used to rebuild libtool when needed
8439 < LIBTOOL_DEPS="$ltmain"
8439 > LIBTOOL_DEPS=$ltmain
8440  
8441   # Always use our own libtool.
8442   LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Line 7512 | Line 8465 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8465  
8466  
8467  
8468 +
8469 +
8470 +
8471 +
8472 +
8473   test -z "$LN_S" && LN_S="ln -s"
8474  
8475  
# Line 7527 | Line 8485 | test -z "$LN_S" && LN_S="ln -s"
8485  
8486  
8487  
8488 < if test -n "${ZSH_VERSION+set}" ; then
8488 > if test -n "${ZSH_VERSION+set}"; then
8489     setopt NO_GLOB_SUBST
8490   fi
8491  
8492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8493   $as_echo_n "checking for objdir... " >&6; }
8494 < if test "${lt_cv_objdir+set}" = set; then :
8494 > if ${lt_cv_objdir+:} false; then :
8495    $as_echo_n "(cached) " >&6
8496   else
8497    rm -f .libs 2>/dev/null
# Line 7561 | Line 8519 | _ACEOF
8519  
8520  
8521  
7564 –
7565 –
7566 –
7567 –
7568 –
7569 –
7570 –
7571 –
7572 –
7573 –
7574 –
7575 –
7576 –
8522   case $host_os in
8523   aix3*)
8524    # AIX sometimes has problems with the GCC collect2 program.  For some
8525    # reason, if we set the COLLECT_NAMES environment variable, the problems
8526    # vanish in a puff of smoke.
8527 <  if test "X${COLLECT_NAMES+set}" != Xset; then
8527 >  if test set != "${COLLECT_NAMES+set}"; then
8528      COLLECT_NAMES=
8529      export COLLECT_NAMES
8530    fi
8531    ;;
8532   esac
8533  
7589 – # Sed substitution that helps us do robust quoting.  It backslashifies
7590 – # metacharacters that are still active within double-quoted strings.
7591 – sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7592 –
7593 – # Same as above, but do not quote variable references.
7594 – double_quote_subst='s/\(["`\\]\)/\\\1/g'
7595 –
7596 – # Sed substitution to delay expansion of an escaped shell variable in a
7597 – # double_quote_subst'ed string.
7598 – delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7599 –
7600 – # Sed substitution to delay expansion of an escaped single quote.
7601 – delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7602 –
7603 – # Sed substitution to avoid accidental globbing in evaled expressions
7604 – no_glob_subst='s/\*/\\\*/g'
7605 –
8534   # Global variables:
8535   ofile=libtool
8536   can_build_shared=yes
8537  
8538 < # All known linkers require a `.a' archive for static linking (except MSVC,
8538 > # All known linkers require a '.a' archive for static linking (except MSVC,
8539   # which needs '.lib').
8540   libext=a
8541  
8542 < with_gnu_ld="$lt_cv_prog_gnu_ld"
8542 > with_gnu_ld=$lt_cv_prog_gnu_ld
8543  
8544 < old_CC="$CC"
8545 < old_CFLAGS="$CFLAGS"
8544 > old_CC=$CC
8545 > old_CFLAGS=$CFLAGS
8546  
8547   # Set sane defaults for various variables
8548   test -z "$CC" && CC=cc
# Line 7623 | Line 8551 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8551   test -z "$LD" && LD=ld
8552   test -z "$ac_objext" && ac_objext=o
8553  
8554 < for cc_temp in $compiler""; do
8555 <  case $cc_temp in
7628 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7629 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7630 <    \-*) ;;
7631 <    *) break;;
7632 <  esac
7633 < done
7634 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8554 > func_cc_basename $compiler
8555 > cc_basename=$func_cc_basename_result
8556  
8557  
8558   # Only perform the check for file, if the check method requires it
# Line 7641 | Line 8562 | file_magic*)
8562    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8563      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8564   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8565 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8565 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8566    $as_echo_n "(cached) " >&6
8567   else
8568    case $MAGIC_CMD in
8569   [\\/*] |  ?:[\\/]*)
8570 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8570 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8571    ;;
8572   *)
8573 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8574 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8573 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8574 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8575    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8576    for ac_dir in $ac_dummy; do
8577 <    IFS="$lt_save_ifs"
8577 >    IFS=$lt_save_ifs
8578      test -z "$ac_dir" && ac_dir=.
8579 <    if test -f $ac_dir/${ac_tool_prefix}file; then
8580 <      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8579 >    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8580 >      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8581        if test -n "$file_magic_test_file"; then
8582          case $deplibs_check_method in
8583          "file_magic "*)
8584            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8585 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8585 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8586            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8587              $EGREP "$file_magic_regex" > /dev/null; then
8588              :
# Line 7684 | Line 8605 | _LT_EOF
8605        break
8606      fi
8607    done
8608 <  IFS="$lt_save_ifs"
8609 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8608 >  IFS=$lt_save_ifs
8609 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8610    ;;
8611   esac
8612   fi
8613  
8614 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8614 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8615   if test -n "$MAGIC_CMD"; then
8616    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8617   $as_echo "$MAGIC_CMD" >&6; }
# Line 7707 | Line 8628 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8628    if test -n "$ac_tool_prefix"; then
8629      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8630   $as_echo_n "checking for file... " >&6; }
8631 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8631 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8632    $as_echo_n "(cached) " >&6
8633   else
8634    case $MAGIC_CMD in
8635   [\\/*] |  ?:[\\/]*)
8636 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8636 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8637    ;;
8638   *)
8639 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8640 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8639 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8640 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8641    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8642    for ac_dir in $ac_dummy; do
8643 <    IFS="$lt_save_ifs"
8643 >    IFS=$lt_save_ifs
8644      test -z "$ac_dir" && ac_dir=.
8645 <    if test -f $ac_dir/file; then
8646 <      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8645 >    if test -f "$ac_dir/file"; then
8646 >      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8647        if test -n "$file_magic_test_file"; then
8648          case $deplibs_check_method in
8649          "file_magic "*)
8650            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8651 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8651 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8652            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8653              $EGREP "$file_magic_regex" > /dev/null; then
8654              :
# Line 7750 | Line 8671 | _LT_EOF
8671        break
8672      fi
8673    done
8674 <  IFS="$lt_save_ifs"
8675 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8674 >  IFS=$lt_save_ifs
8675 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8676    ;;
8677   esac
8678   fi
8679  
8680 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8680 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8681   if test -n "$MAGIC_CMD"; then
8682    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8683   $as_echo "$MAGIC_CMD" >&6; }
# Line 7777 | Line 8698 | esac
8698  
8699   # Use C for the default configuration in the libtool script
8700  
8701 < lt_save_CC="$CC"
8701 > lt_save_CC=$CC
8702   ac_ext=c
8703   ac_cpp='$CPP $CPPFLAGS'
8704   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7831 | Line 8752 | _lt_linker_boilerplate=`cat conftest.err
8752   $RM -r conftest*
8753  
8754  
8755 + ## CAVEAT EMPTOR:
8756 + ## There is no encapsulation within the following macros, do not change
8757 + ## the running order or otherwise move them around unless you know exactly
8758 + ## what you are doing...
8759   if test -n "$compiler"; then
8760  
8761   lt_prog_compiler_no_builtin_flag=
8762  
8763 < if test "$GCC" = yes; then
8764 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8763 > if test yes = "$GCC"; then
8764 >  case $cc_basename in
8765 >  nvcc*)
8766 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8767 >  *)
8768 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8769 >  esac
8770  
8771    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8772   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8773 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8773 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8774    $as_echo_n "(cached) " >&6
8775   else
8776    lt_cv_prog_compiler_rtti_exceptions=no
8777     ac_outfile=conftest.$ac_objext
8778     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8779 <   lt_compiler_flag="-fno-rtti -fno-exceptions"
8779 >   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8780     # Insert the option either (1) after the last *FLAGS variable, or
8781     # (2) before a word containing "conftest.", or (3) at the end.
8782     # Note that $ac_compile itself does not contain backslashes and begins
# Line 7856 | Line 8786 | else
8786     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8787     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8788     -e 's:$: $lt_compiler_flag:'`
8789 <   (eval echo "\"\$as_me:7859: $lt_compile\"" >&5)
8789 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8790     (eval "$lt_compile" 2>conftest.err)
8791     ac_status=$?
8792     cat conftest.err >&5
8793 <   echo "$as_me:7863: \$? = $ac_status" >&5
8793 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794     if (exit $ac_status) && test -s "$ac_outfile"; then
8795       # The compiler can only warn and ignore the option if not recognized
8796       # So say no if there are warnings other than the usual output.
8797 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8797 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8798       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8799       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8800         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7876 | Line 8806 | fi
8806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8807   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8808  
8809 < if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8809 > if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8810      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8811   else
8812      :
# Line 7893 | Line 8823 | fi
8823   lt_prog_compiler_pic=
8824   lt_prog_compiler_static=
8825  
7896 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7897 – $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8826  
8827 <  if test "$GCC" = yes; then
8827 >  if test yes = "$GCC"; then
8828      lt_prog_compiler_wl='-Wl,'
8829      lt_prog_compiler_static='-static'
8830  
8831      case $host_os in
8832        aix*)
8833        # All AIX code is PIC.
8834 <      if test "$host_cpu" = ia64; then
8834 >      if test ia64 = "$host_cpu"; then
8835          # AIX 5 now supports IA64 processor
8836          lt_prog_compiler_static='-Bstatic'
8837        fi
8838 +      lt_prog_compiler_pic='-fPIC'
8839        ;;
8840  
8841      amigaos*)
# Line 7917 | Line 8846 | $as_echo_n "checking for $compiler optio
8846          ;;
8847        m68k)
8848              # FIXME: we need at least 68020 code to build shared libraries, but
8849 <            # adding the `-m68020' flag to GCC prevents building anything better,
8850 <            # like `-m68040'.
8849 >            # adding the '-m68020' flag to GCC prevents building anything better,
8850 >            # like '-m68040'.
8851              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8852          ;;
8853        esac
# Line 7934 | Line 8863 | $as_echo_n "checking for $compiler optio
8863        # Although the cygwin gcc ignores -fPIC, still need this for old-style
8864        # (--disable-auto-import) libraries
8865        lt_prog_compiler_pic='-DDLL_EXPORT'
8866 +      case $host_os in
8867 +      os2*)
8868 +        lt_prog_compiler_static='$wl-static'
8869 +        ;;
8870 +      esac
8871        ;;
8872  
8873      darwin* | rhapsody*)
# Line 7942 | Line 8876 | $as_echo_n "checking for $compiler optio
8876        lt_prog_compiler_pic='-fno-common'
8877        ;;
8878  
8879 +    haiku*)
8880 +      # PIC is the default for Haiku.
8881 +      # The "-static" flag exists, but is broken.
8882 +      lt_prog_compiler_static=
8883 +      ;;
8884 +
8885      hpux*)
8886        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8887        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7984 | Line 8924 | $as_echo_n "checking for $compiler optio
8924        lt_prog_compiler_pic='-fPIC'
8925        ;;
8926      esac
8927 +
8928 +    case $cc_basename in
8929 +    nvcc*) # Cuda Compiler Driver 2.2
8930 +      lt_prog_compiler_wl='-Xlinker '
8931 +      if test -n "$lt_prog_compiler_pic"; then
8932 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8933 +      fi
8934 +      ;;
8935 +    esac
8936    else
8937      # PORTME Check for flag to pass linker flags through the system compiler.
8938      case $host_os in
8939      aix*)
8940        lt_prog_compiler_wl='-Wl,'
8941 <      if test "$host_cpu" = ia64; then
8941 >      if test ia64 = "$host_cpu"; then
8942          # AIX 5 now supports IA64 processor
8943          lt_prog_compiler_static='-Bstatic'
8944        else
# Line 7997 | Line 8946 | $as_echo_n "checking for $compiler optio
8946        fi
8947        ;;
8948  
8949 +    darwin* | rhapsody*)
8950 +      # PIC is the default on this platform
8951 +      # Common symbols not allowed in MH_DYLIB files
8952 +      lt_prog_compiler_pic='-fno-common'
8953 +      case $cc_basename in
8954 +      nagfor*)
8955 +        # NAG Fortran compiler
8956 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8957 +        lt_prog_compiler_pic='-PIC'
8958 +        lt_prog_compiler_static='-Bstatic'
8959 +        ;;
8960 +      esac
8961 +      ;;
8962 +
8963      mingw* | cygwin* | pw32* | os2* | cegcc*)
8964        # This hack is so that the source file can tell whether it is being
8965        # built for inclusion in a dll (and should export symbols for example).
8966        lt_prog_compiler_pic='-DDLL_EXPORT'
8967 +      case $host_os in
8968 +      os2*)
8969 +        lt_prog_compiler_static='$wl-static'
8970 +        ;;
8971 +      esac
8972        ;;
8973  
8974      hpux9* | hpux10* | hpux11*)
# Line 8016 | Line 8984 | $as_echo_n "checking for $compiler optio
8984          ;;
8985        esac
8986        # Is there a better lt_prog_compiler_static that works with the bundled CC?
8987 <      lt_prog_compiler_static='${wl}-a ${wl}archive'
8987 >      lt_prog_compiler_static='$wl-a ${wl}archive'
8988        ;;
8989  
8990      irix5* | irix6* | nonstopux*)
# Line 8025 | Line 8993 | $as_echo_n "checking for $compiler optio
8993        lt_prog_compiler_static='-non_shared'
8994        ;;
8995  
8996 <    linux* | k*bsd*-gnu)
8996 >    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8997        case $cc_basename in
8998 <      # old Intel for x86_64 which still supported -KPIC.
8998 >      # old Intel for x86_64, which still supported -KPIC.
8999        ecc*)
9000          lt_prog_compiler_wl='-Wl,'
9001          lt_prog_compiler_pic='-KPIC'
9002          lt_prog_compiler_static='-static'
9003          ;;
9004 +      # flang / f18. f95 an alias for gfortran or flang on Debian
9005 +      flang* | f18* | f95*)
9006 +        lt_prog_compiler_wl='-Wl,'
9007 +        lt_prog_compiler_pic='-fPIC'
9008 +        lt_prog_compiler_static='-static'
9009 +        ;;
9010        # icc used to be incompatible with GCC.
9011        # ICC 10 doesn't accept -KPIC any more.
9012        icc* | ifort*)
# Line 8046 | Line 9020 | $as_echo_n "checking for $compiler optio
9020          lt_prog_compiler_pic='--shared'
9021          lt_prog_compiler_static='--static'
9022          ;;
9023 <      pgcc* | pgf77* | pgf90* | pgf95*)
9023 >      nagfor*)
9024 >        # NAG Fortran compiler
9025 >        lt_prog_compiler_wl='-Wl,-Wl,,'
9026 >        lt_prog_compiler_pic='-PIC'
9027 >        lt_prog_compiler_static='-Bstatic'
9028 >        ;;
9029 >      tcc*)
9030 >        # Fabrice Bellard et al's Tiny C Compiler
9031 >        lt_prog_compiler_wl='-Wl,'
9032 >        lt_prog_compiler_pic='-fPIC'
9033 >        lt_prog_compiler_static='-static'
9034 >        ;;
9035 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9036          # Portland Group compilers (*not* the Pentium gcc compiler,
9037          # which looks to be a dead project)
9038          lt_prog_compiler_wl='-Wl,'
# Line 8058 | Line 9044 | $as_echo_n "checking for $compiler optio
9044          # All Alpha code is PIC.
9045          lt_prog_compiler_static='-non_shared'
9046          ;;
9047 <      xl*)
9048 <        # IBM XL C 8.0/Fortran 10.1 on PPC
9047 >      xl* | bgxl* | bgf* | mpixl*)
9048 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9049          lt_prog_compiler_wl='-Wl,'
9050          lt_prog_compiler_pic='-qpic'
9051          lt_prog_compiler_static='-qstaticlink'
9052          ;;
9053        *)
9054          case `$CC -V 2>&1 | sed 5q` in
9055 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9056 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9057 +          lt_prog_compiler_pic='-KPIC'
9058 +          lt_prog_compiler_static='-Bstatic'
9059 +          lt_prog_compiler_wl=''
9060 +          ;;
9061 +        *Sun\ F* | *Sun*Fortran*)
9062 +          lt_prog_compiler_pic='-KPIC'
9063 +          lt_prog_compiler_static='-Bstatic'
9064 +          lt_prog_compiler_wl='-Qoption ld '
9065 +          ;;
9066          *Sun\ C*)
9067            # Sun C 5.9
9068            lt_prog_compiler_pic='-KPIC'
9069            lt_prog_compiler_static='-Bstatic'
9070            lt_prog_compiler_wl='-Wl,'
9071            ;;
9072 <        *Sun\ F*)
9073 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9074 <          lt_prog_compiler_pic='-KPIC'
9072 >        *Intel*\ [CF]*Compiler*)
9073 >          lt_prog_compiler_wl='-Wl,'
9074 >          lt_prog_compiler_pic='-fPIC'
9075 >          lt_prog_compiler_static='-static'
9076 >          ;;
9077 >        *Portland\ Group*)
9078 >          lt_prog_compiler_wl='-Wl,'
9079 >          lt_prog_compiler_pic='-fpic'
9080            lt_prog_compiler_static='-Bstatic'
8079 –          lt_prog_compiler_wl=''
9081            ;;
9082          esac
9083          ;;
# Line 8108 | Line 9109 | $as_echo_n "checking for $compiler optio
9109        lt_prog_compiler_pic='-KPIC'
9110        lt_prog_compiler_static='-Bstatic'
9111        case $cc_basename in
9112 <      f77* | f90* | f95*)
9112 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9113          lt_prog_compiler_wl='-Qoption ld ';;
9114        *)
9115          lt_prog_compiler_wl='-Wl,';;
# Line 8128 | Line 9129 | $as_echo_n "checking for $compiler optio
9129        ;;
9130  
9131      sysv4*MP*)
9132 <      if test -d /usr/nec ;then
9132 >      if test -d /usr/nec; then
9133          lt_prog_compiler_pic='-Kconform_pic'
9134          lt_prog_compiler_static='-Bstatic'
9135        fi
# Line 8157 | Line 9158 | $as_echo_n "checking for $compiler optio
9158    fi
9159  
9160   case $host_os in
9161 <  # For platforms which do not support PIC, -DPIC is meaningless:
9161 >  # For platforms that do not support PIC, -DPIC is meaningless:
9162    *djgpp*)
9163      lt_prog_compiler_pic=
9164      ;;
# Line 8165 | Line 9166 | case $host_os in
9166      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9167      ;;
9168   esac
8168 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8169 – $as_echo "$lt_prog_compiler_pic" >&6; }
8170 –
8171 –
8172 –
8173 –
9169  
9170 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9171 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9172 + if ${lt_cv_prog_compiler_pic+:} false; then :
9173 +  $as_echo_n "(cached) " >&6
9174 + else
9175 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9176 + fi
9177 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9178 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9179 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9180  
9181   #
9182   # Check to make sure the PIC flag actually works.
# Line 8179 | Line 9184 | $as_echo "$lt_prog_compiler_pic" >&6; }
9184   if test -n "$lt_prog_compiler_pic"; then
9185    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9186   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9187 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9187 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
9188    $as_echo_n "(cached) " >&6
9189   else
9190    lt_cv_prog_compiler_pic_works=no
9191     ac_outfile=conftest.$ac_objext
9192     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9193 <   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9193 >   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9194     # Insert the option either (1) after the last *FLAGS variable, or
9195     # (2) before a word containing "conftest.", or (3) at the end.
9196     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8195 | Line 9200 | else
9200     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9201     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9202     -e 's:$: $lt_compiler_flag:'`
9203 <   (eval echo "\"\$as_me:8198: $lt_compile\"" >&5)
9203 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9204     (eval "$lt_compile" 2>conftest.err)
9205     ac_status=$?
9206     cat conftest.err >&5
9207 <   echo "$as_me:8202: \$? = $ac_status" >&5
9207 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208     if (exit $ac_status) && test -s "$ac_outfile"; then
9209       # The compiler can only warn and ignore the option if not recognized
9210       # So say no if there are warnings other than the usual output.
9211 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9211 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9212       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9213       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9214         lt_cv_prog_compiler_pic_works=yes
# Line 8215 | Line 9220 | fi
9220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9221   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9222  
9223 < if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9223 > if test yes = "$lt_cv_prog_compiler_pic_works"; then
9224      case $lt_prog_compiler_pic in
9225       "" | " "*) ;;
9226       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
# Line 8232 | Line 9237 | fi
9237  
9238  
9239  
9240 +
9241 +
9242 +
9243 +
9244 +
9245   #
9246   # Check to make sure the static flag actually works.
9247   #
9248   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9250   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9251 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9251 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9252    $as_echo_n "(cached) " >&6
9253   else
9254    lt_cv_prog_compiler_static_works=no
9255 <   save_LDFLAGS="$LDFLAGS"
9255 >   save_LDFLAGS=$LDFLAGS
9256     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9257     echo "$lt_simple_link_test_code" > conftest.$ac_ext
9258     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 8251 | Line 9261 | else
9261       if test -s conftest.err; then
9262         # Append any errors to the config.log.
9263         cat conftest.err 1>&5
9264 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9264 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9265         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9266         if diff conftest.exp conftest.er2 >/dev/null; then
9267           lt_cv_prog_compiler_static_works=yes
# Line 8261 | Line 9271 | else
9271       fi
9272     fi
9273     $RM -r conftest*
9274 <   LDFLAGS="$save_LDFLAGS"
9274 >   LDFLAGS=$save_LDFLAGS
9275  
9276   fi
9277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9278   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9279  
9280 < if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9280 > if test yes = "$lt_cv_prog_compiler_static_works"; then
9281      :
9282   else
9283      lt_prog_compiler_static=
# Line 8281 | Line 9291 | fi
9291  
9292    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9293   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9294 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9294 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9295    $as_echo_n "(cached) " >&6
9296   else
9297    lt_cv_prog_compiler_c_o=no
# Line 8300 | Line 9310 | else
9310     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9311     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9312     -e 's:$: $lt_compiler_flag:'`
9313 <   (eval echo "\"\$as_me:8303: $lt_compile\"" >&5)
9313 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9314     (eval "$lt_compile" 2>out/conftest.err)
9315     ac_status=$?
9316     cat out/conftest.err >&5
9317 <   echo "$as_me:8307: \$? = $ac_status" >&5
9317 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9319     then
9320       # The compiler can only warn and ignore the option if not recognized
9321       # So say no if there are warnings
9322 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9322 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9323       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9324       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9325         lt_cv_prog_compiler_c_o=yes
# Line 8336 | Line 9346 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9346  
9347    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9348   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9349 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9349 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9350    $as_echo_n "(cached) " >&6
9351   else
9352    lt_cv_prog_compiler_c_o=no
# Line 8355 | Line 9365 | else
9365     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9366     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9367     -e 's:$: $lt_compiler_flag:'`
9368 <   (eval echo "\"\$as_me:8358: $lt_compile\"" >&5)
9368 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9369     (eval "$lt_compile" 2>out/conftest.err)
9370     ac_status=$?
9371     cat out/conftest.err >&5
9372 <   echo "$as_me:8362: \$? = $ac_status" >&5
9372 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9374     then
9375       # The compiler can only warn and ignore the option if not recognized
9376       # So say no if there are warnings
9377 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9377 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9378       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9379       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9380         lt_cv_prog_compiler_c_o=yes
# Line 8387 | Line 9397 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9397  
9398  
9399  
9400 < hard_links="nottested"
9401 < if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9400 > hard_links=nottested
9401 > if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9402    # do not overwrite the value of need_locks provided by the user
9403    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9404   $as_echo_n "checking if we can lock with hard links... " >&6; }
# Line 8400 | Line 9410 | $as_echo_n "checking if we can lock with
9410    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9411    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9412   $as_echo "$hard_links" >&6; }
9413 <  if test "$hard_links" = no; then
9414 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9415 < $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9413 >  if test no = "$hard_links"; then
9414 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9415 > $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9416      need_locks=warn
9417    fi
9418   else
# Line 8430 | Line 9440 | $as_echo_n "checking whether the $compil
9440    hardcode_direct=no
9441    hardcode_direct_absolute=no
9442    hardcode_libdir_flag_spec=
8433 –  hardcode_libdir_flag_spec_ld=
9443    hardcode_libdir_separator=
9444    hardcode_minus_L=no
9445    hardcode_shlibpath_var=unsupported
# Line 8446 | Line 9455 | $as_echo_n "checking whether the $compil
9455    # included in the symbol list
9456    include_expsyms=
9457    # exclude_expsyms can be an extended regexp of symbols to exclude
9458 <  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9459 <  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9460 <  # as well as any symbol that contains `d'.
9458 >  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9459 >  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9460 >  # as well as any symbol that contains 'd'.
9461    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9462    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9463    # platforms (ab)use it in PIC code, but their linkers get confused if
# Line 8463 | Line 9472 | $as_echo_n "checking whether the $compil
9472      # FIXME: the MSVC++ port hasn't been tested in a loooong time
9473      # When not using gcc, we currently assume that we are using
9474      # Microsoft Visual C++.
9475 <    if test "$GCC" != yes; then
9475 >    if test yes != "$GCC"; then
9476        with_gnu_ld=no
9477      fi
9478      ;;
# Line 8471 | Line 9480 | $as_echo_n "checking whether the $compil
9480      # we just hope/assume this is gcc and not c89 (= MSVC++)
9481      with_gnu_ld=yes
9482      ;;
9483 <  openbsd*)
9483 >  openbsd* | bitrig*)
9484      with_gnu_ld=no
9485      ;;
9486 +  linux* | k*bsd*-gnu | gnu*)
9487 +    link_all_deplibs=no
9488 +    ;;
9489    esac
9490  
9491    ld_shlibs=yes
9492 <  if test "$with_gnu_ld" = yes; then
9492 >
9493 >  # On some targets, GNU ld is compatible enough with the native linker
9494 >  # that we're better off using the native interface for both.
9495 >  lt_use_gnu_ld_interface=no
9496 >  if test yes = "$with_gnu_ld"; then
9497 >    case $host_os in
9498 >      aix*)
9499 >        # The AIX port of GNU ld has always aspired to compatibility
9500 >        # with the native linker.  However, as the warning in the GNU ld
9501 >        # block says, versions before 2.19.5* couldn't really create working
9502 >        # shared libraries, regardless of the interface used.
9503 >        case `$LD -v 2>&1` in
9504 >          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9505 >          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9506 >          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9507 >          *)
9508 >            lt_use_gnu_ld_interface=yes
9509 >            ;;
9510 >        esac
9511 >        ;;
9512 >      *)
9513 >        lt_use_gnu_ld_interface=yes
9514 >        ;;
9515 >    esac
9516 >  fi
9517 >
9518 >  if test yes = "$lt_use_gnu_ld_interface"; then
9519      # If archive_cmds runs LD, not CC, wlarc should be empty
9520 <    wlarc='${wl}'
9520 >    wlarc='$wl'
9521  
9522      # Set some defaults for GNU ld with shared library support. These
9523      # are reset later if shared libraries are not supported. Putting them
9524      # here allows them to be overridden if necessary.
9525      runpath_var=LD_RUN_PATH
9526 <    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9527 <    export_dynamic_flag_spec='${wl}--export-dynamic'
9526 >    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9527 >    export_dynamic_flag_spec='$wl--export-dynamic'
9528      # ancient GNU ld didn't support --whole-archive et. al.
9529      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9530 <      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9530 >      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9531      else
9532        whole_archive_flag_spec=
9533      fi
9534      supports_anon_versioning=no
9535 <    case `$LD -v 2>&1` in
9535 >    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9536 >      *GNU\ gold*) supports_anon_versioning=yes ;;
9537        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9538        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9539        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8506 | Line 9545 | $as_echo_n "checking whether the $compil
9545      case $host_os in
9546      aix[3-9]*)
9547        # On AIX/PPC, the GNU linker is very broken
9548 <      if test "$host_cpu" != ia64; then
9548 >      if test ia64 != "$host_cpu"; then
9549          ld_shlibs=no
9550          cat <<_LT_EOF 1>&2
9551  
9552 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9552 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9553   *** to be unable to reliably create shared libraries on AIX.
9554   *** Therefore, libtool is disabling shared libraries support.  If you
9555 < *** really care for shared libraries, you may want to modify your PATH
9556 < *** so that a non-GNU linker is found, and then restart.
9555 > *** really care for shared libraries, you may want to install binutils
9556 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9557 > *** You will then need to restart the configuration process.
9558  
9559   _LT_EOF
9560        fi
# Line 8524 | Line 9564 | _LT_EOF
9564        case $host_cpu in
9565        powerpc)
9566              # see comment about AmigaOS4 .so support
9567 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9567 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9568              archive_expsym_cmds=''
9569          ;;
9570        m68k)
# Line 8540 | Line 9580 | _LT_EOF
9580          allow_undefined_flag=unsupported
9581          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9582          # support --undefined.  This deserves some investigation.  FIXME
9583 <        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9583 >        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9584        else
9585          ld_shlibs=no
9586        fi
# Line 8550 | Line 9590 | _LT_EOF
9590        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9591        # as there is no search path for DLLs.
9592        hardcode_libdir_flag_spec='-L$libdir'
9593 +      export_dynamic_flag_spec='$wl--export-all-symbols'
9594        allow_undefined_flag=unsupported
9595        always_export_symbols=no
9596        enable_shared_with_static_runtimes=yes
9597 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9597 >      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'
9598 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9599  
9600        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9601 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9602 <        # If the export-symbols file already is a .def file (1st line
9603 <        # is EXPORTS), use it as is; otherwise, prepend...
9604 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9605 <          cp $export_symbols $output_objdir/$soname.def;
9606 <        else
9607 <          echo EXPORTS > $output_objdir/$soname.def;
9608 <          cat $export_symbols >> $output_objdir/$soname.def;
9609 <        fi~
9610 <        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9601 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9602 >        # If the export-symbols file already is a .def file, use it as
9603 >        # is; otherwise, prepend EXPORTS...
9604 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9605 >          cp $export_symbols $output_objdir/$soname.def;
9606 >        else
9607 >          echo EXPORTS > $output_objdir/$soname.def;
9608 >          cat $export_symbols >> $output_objdir/$soname.def;
9609 >        fi~
9610 >        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9611        else
9612          ld_shlibs=no
9613        fi
9614        ;;
9615  
9616 +    haiku*)
9617 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9618 +      link_all_deplibs=yes
9619 +      ;;
9620 +
9621 +    os2*)
9622 +      hardcode_libdir_flag_spec='-L$libdir'
9623 +      hardcode_minus_L=yes
9624 +      allow_undefined_flag=unsupported
9625 +      shrext_cmds=.dll
9626 +      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9627 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9628 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9629 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9630 +        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9631 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9632 +        emximp -o $lib $output_objdir/$libname.def'
9633 +      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9634 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9635 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9636 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9637 +        prefix_cmds="$SED"~
9638 +        if test EXPORTS = "`$SED 1q $export_symbols`"; then
9639 +          prefix_cmds="$prefix_cmds -e 1d";
9640 +        fi~
9641 +        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9642 +        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9643 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9644 +        emximp -o $lib $output_objdir/$libname.def'
9645 +      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9646 +      enable_shared_with_static_runtimes=yes
9647 +      ;;
9648 +
9649      interix[3-9]*)
9650        hardcode_direct=no
9651        hardcode_shlibpath_var=no
9652 <      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9653 <      export_dynamic_flag_spec='${wl}-E'
9652 >      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9653 >      export_dynamic_flag_spec='$wl-E'
9654        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9655        # Instead, shared libraries are loaded at an image base (0x10000000 by
9656        # default) and relocated if they conflict, which is a slow very memory
9657        # consuming and fragmenting process.  To avoid this, we pick a random,
9658        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9659        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9660 <      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9661 <      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'
9660 >      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9661 >      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'
9662        ;;
9663  
9664 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9664 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9665        tmp_diet=no
9666 <      if test "$host_os" = linux-dietlibc; then
9666 >      if test linux-dietlibc = "$host_os"; then
9667          case $cc_basename in
9668            diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9669          esac
9670        fi
9671        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9672 <         && test "$tmp_diet" = no
9672 >         && test no = "$tmp_diet"
9673        then
9674 <        tmp_addflag=
9674 >        tmp_addflag=' $pic_flag'
9675          tmp_sharedflag='-shared'
9676          case $cc_basename,$host_cpu in
9677          pgcc*)                          # Portland Group C compiler
9678 <          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'
9678 >          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'
9679            tmp_addflag=' $pic_flag'
9680            ;;
9681 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9682 <          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'
9681 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9682 >                                        # Portland Group f77 and f90 compilers
9683 >          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'
9684            tmp_addflag=' $pic_flag -Mnomain' ;;
9685          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9686            tmp_addflag=' -i_dynamic' ;;
# Line 8615 | Line 9691 | _LT_EOF
9691          lf95*)                          # Lahey Fortran 8.1
9692            whole_archive_flag_spec=
9693            tmp_sharedflag='--shared' ;;
9694 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9694 >        nagfor*)                        # NAGFOR 5.3
9695 >          tmp_sharedflag='-Wl,-shared' ;;
9696 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9697            tmp_sharedflag='-qmkshrobj'
9698            tmp_addflag= ;;
9699 +        nvcc*)  # Cuda Compiler Driver 2.2
9700 +          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'
9701 +          compiler_needs_object=yes
9702 +          ;;
9703          esac
9704          case `$CC -V 2>&1 | sed 5q` in
9705          *Sun\ C*)                       # Sun C 5.9
9706 <          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'
9706 >          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'
9707            compiler_needs_object=yes
9708            tmp_sharedflag='-G' ;;
9709          *Sun\ F*)                       # Sun Fortran 8.3
9710            tmp_sharedflag='-G' ;;
9711          esac
9712 <        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9712 >        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9713  
9714 <        if test "x$supports_anon_versioning" = xyes; then
9714 >        if test yes = "$supports_anon_versioning"; then
9715            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9716 <            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9717 <            echo "local: *; };" >> $output_objdir/$libname.ver~
9718 <            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9716 >            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9717 >            echo "local: *; };" >> $output_objdir/$libname.ver~
9718 >            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9719          fi
9720  
9721          case $cc_basename in
9722 <        xlf*)
9722 >        tcc*)
9723 >          export_dynamic_flag_spec='-rdynamic'
9724 >          ;;
9725 >        xlf* | bgf* | bgxlf* | mpixlf*)
9726            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9727            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9728 <          hardcode_libdir_flag_spec=
9729 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9730 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8646 <          if test "x$supports_anon_versioning" = xyes; then
9728 >          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9729 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9730 >          if test yes = "$supports_anon_versioning"; then
9731              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9732 <              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9733 <              echo "local: *; };" >> $output_objdir/$libname.ver~
9734 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9732 >              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9733 >              echo "local: *; };" >> $output_objdir/$libname.ver~
9734 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9735            fi
9736            ;;
9737          esac
# Line 8656 | Line 9740 | _LT_EOF
9740        fi
9741        ;;
9742  
9743 <    netbsd*)
9743 >    netbsd* | netbsdelf*-gnu)
9744        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9745          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9746          wlarc=
9747        else
9748 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9749 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9748 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9749 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9750        fi
9751        ;;
9752  
# Line 8680 | Line 9764 | _LT_EOF
9764  
9765   _LT_EOF
9766        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9767 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9768 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9767 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9768 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9769        else
9770          ld_shlibs=no
9771        fi
# Line 8693 | Line 9777 | _LT_EOF
9777          ld_shlibs=no
9778          cat <<_LT_EOF 1>&2
9779  
9780 < *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9780 > *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9781   *** reliably create shared libraries on SCO systems.  Therefore, libtool
9782   *** is disabling shared libraries support.  We urge you to upgrade GNU
9783   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
# Line 8708 | Line 9792 | _LT_EOF
9792            # DT_RUNPATH tag from executables and libraries.  But doing so
9793            # requires that you compile everything twice, which is a pain.
9794            if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9795 <            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9796 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9797 <            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9795 >            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9796 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9797 >            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9798            else
9799              ld_shlibs=no
9800            fi
# Line 8727 | Line 9811 | _LT_EOF
9811  
9812      *)
9813        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9814 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9815 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9814 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9815 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9816        else
9817          ld_shlibs=no
9818        fi
9819        ;;
9820      esac
9821  
9822 <    if test "$ld_shlibs" = no; then
9822 >    if test no = "$ld_shlibs"; then
9823        runpath_var=
9824        hardcode_libdir_flag_spec=
9825        export_dynamic_flag_spec=
# Line 8751 | Line 9835 | _LT_EOF
9835        # Note: this linker hardcodes the directories in LIBPATH if there
9836        # are no directories specified by -L.
9837        hardcode_minus_L=yes
9838 <      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9838 >      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9839          # Neither direct hardcoding nor static linking is supported with a
9840          # broken collect2.
9841          hardcode_direct=unsupported
# Line 8759 | Line 9843 | _LT_EOF
9843        ;;
9844  
9845      aix[4-9]*)
9846 <      if test "$host_cpu" = ia64; then
9846 >      if test ia64 = "$host_cpu"; then
9847          # On IA64, the linker does run time linking by default, so we don't
9848          # have to do anything special.
9849          aix_use_runtimelinking=no
9850          exp_sym_flag='-Bexport'
9851 <        no_entry_flag=""
9851 >        no_entry_flag=
9852        else
9853          # If we're using GNU nm, then we don't want the "-C" option.
9854 <        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9854 >        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9855 >        # Without the "-l" option, or with the "-B" option, AIX nm treats
9856 >        # weak defined symbols like other global defined symbols, whereas
9857 >        # GNU nm marks them as "W".
9858 >        # While the 'weak' keyword is ignored in the Export File, we need
9859 >        # it in the Import File for the 'aix-soname' feature, so we have
9860 >        # to replace the "-B" option with "-P" for AIX nm.
9861          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9862 <          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'
9862 >          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'
9863          else
9864 <          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'
9864 >          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'
9865          fi
9866          aix_use_runtimelinking=no
9867  
9868          # Test if we are trying to use run time linking or normal
9869          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9870 <        # need to do runtime linking.
9870 >        # have runtime linking enabled, and use it for executables.
9871 >        # For shared libraries, we enable/disable runtime linking
9872 >        # depending on the kind of the shared library created -
9873 >        # when "with_aix_soname,aix_use_runtimelinking" is:
9874 >        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9875 >        # "aix,yes"  lib.so          shared, rtl:yes, for executables
9876 >        #            lib.a           static archive
9877 >        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
9878 >        #            lib.a(lib.so.V) shared, rtl:no,  for executables
9879 >        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9880 >        #            lib.a(lib.so.V) shared, rtl:no
9881 >        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9882 >        #            lib.a           static archive
9883          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9884            for ld_flag in $LDFLAGS; do
9885 <          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9885 >          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9886              aix_use_runtimelinking=yes
9887              break
9888            fi
9889            done
9890 +          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9891 +            # With aix-soname=svr4, we create the lib.so.V shared archives only,
9892 +            # so we don't have lib.a shared libs to link our executables.
9893 +            # We have to force runtime linking in this case.
9894 +            aix_use_runtimelinking=yes
9895 +            LDFLAGS="$LDFLAGS -Wl,-brtl"
9896 +          fi
9897            ;;
9898          esac
9899  
# Line 8803 | Line 9912 | _LT_EOF
9912        hardcode_direct_absolute=yes
9913        hardcode_libdir_separator=':'
9914        link_all_deplibs=yes
9915 <      file_list_spec='${wl}-f,'
9915 >      file_list_spec='$wl-f,'
9916 >      case $with_aix_soname,$aix_use_runtimelinking in
9917 >      aix,*) ;; # traditional, no import file
9918 >      svr4,* | *,yes) # use import file
9919 >        # The Import File defines what to hardcode.
9920 >        hardcode_direct=no
9921 >        hardcode_direct_absolute=no
9922 >        ;;
9923 >      esac
9924  
9925 <      if test "$GCC" = yes; then
9925 >      if test yes = "$GCC"; then
9926          case $host_os in aix4.[012]|aix4.[012].*)
9927          # We only want to do this on AIX 4.2 and lower, the check
9928          # below for broken collect2 doesn't work under 4.3+
9929 <          collect2name=`${CC} -print-prog-name=collect2`
9929 >          collect2name=`$CC -print-prog-name=collect2`
9930            if test -f "$collect2name" &&
9931             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9932            then
# Line 8828 | Line 9945 | _LT_EOF
9945            ;;
9946          esac
9947          shared_flag='-shared'
9948 <        if test "$aix_use_runtimelinking" = yes; then
9949 <          shared_flag="$shared_flag "'${wl}-G'
9948 >        if test yes = "$aix_use_runtimelinking"; then
9949 >          shared_flag="$shared_flag "'$wl-G'
9950          fi
9951 <        link_all_deplibs=no
9951 >        # Need to ensure runtime linking is disabled for the traditional
9952 >        # shared library, or the linker may eventually find shared libraries
9953 >        # /with/ Import File - we do not want to mix them.
9954 >        shared_flag_aix='-shared'
9955 >        shared_flag_svr4='-shared $wl-G'
9956        else
9957          # not using gcc
9958 <        if test "$host_cpu" = ia64; then
9958 >        if test ia64 = "$host_cpu"; then
9959          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9960          # chokes on -Wl,-G. The following line is correct:
9961            shared_flag='-G'
9962          else
9963 <          if test "$aix_use_runtimelinking" = yes; then
9964 <            shared_flag='${wl}-G'
9963 >          if test yes = "$aix_use_runtimelinking"; then
9964 >            shared_flag='$wl-G'
9965            else
9966 <            shared_flag='${wl}-bM:SRE'
9966 >            shared_flag='$wl-bM:SRE'
9967            fi
9968 +          shared_flag_aix='$wl-bM:SRE'
9969 +          shared_flag_svr4='$wl-G'
9970          fi
9971        fi
9972  
9973 <      export_dynamic_flag_spec='${wl}-bexpall'
9973 >      export_dynamic_flag_spec='$wl-bexpall'
9974        # It seems that -bexpall does not export symbols beginning with
9975        # underscore (_), so it is better to generate a list of symbols to export.
9976        always_export_symbols=yes
9977 <      if test "$aix_use_runtimelinking" = yes; then
9977 >      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9978          # Warning - without using the other runtime loading flags (-brtl),
9979          # -berok will link without error, but may produce a broken library.
9980          allow_undefined_flag='-berok'
9981          # Determine the default libpath from the value encoded in an
9982          # empty executable.
9983 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 >        if test set = "${lt_cv_aix_libpath+set}"; then
9984 >  aix_libpath=$lt_cv_aix_libpath
9985 > else
9986 >  if ${lt_cv_aix_libpath_+:} false; then :
9987 >  $as_echo_n "(cached) " >&6
9988 > else
9989 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990   /* end confdefs.h.  */
9991  
9992   int
# Line 8870 | Line 9999 | main ()
9999   _ACEOF
10000   if ac_fn_c_try_link "$LINENO"; then :
10001  
10002 < lt_aix_libpath_sed='
10003 <    /Import File Strings/,/^$/ {
10004 <        /^0/ {
10005 <            s/^0  *\(.*\)$/\1/
10006 <            p
10007 <        }
10008 <    }'
10009 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10010 < # Check for a 64-bit object if we didn't find anything.
10011 < if test -z "$aix_libpath"; then
10012 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10013 < fi
10002 >  lt_aix_libpath_sed='
10003 >      /Import File Strings/,/^$/ {
10004 >          /^0/ {
10005 >              s/^0  *\([^ ]*\) *$/\1/
10006 >              p
10007 >          }
10008 >      }'
10009 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10010 >  # Check for a 64-bit object if we didn't find anything.
10011 >  if test -z "$lt_cv_aix_libpath_"; then
10012 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10013 >  fi
10014   fi
10015   rm -f core conftest.err conftest.$ac_objext \
10016      conftest$ac_exeext conftest.$ac_ext
10017 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10017 >  if test -z "$lt_cv_aix_libpath_"; then
10018 >    lt_cv_aix_libpath_=/usr/lib:/lib
10019 >  fi
10020 >
10021 > fi
10022  
10023 <        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10024 <        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"
10023 >  aix_libpath=$lt_cv_aix_libpath_
10024 > fi
10025 >
10026 >        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10027 >        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
10028        else
10029 <        if test "$host_cpu" = ia64; then
10030 <          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10029 >        if test ia64 = "$host_cpu"; then
10030 >          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10031            allow_undefined_flag="-z nodefs"
10032 <          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"
10032 >          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"
10033          else
10034           # Determine the default libpath from the value encoded in an
10035           # empty executable.
10036 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 >         if test set = "${lt_cv_aix_libpath+set}"; then
10037 >  aix_libpath=$lt_cv_aix_libpath
10038 > else
10039 >  if ${lt_cv_aix_libpath_+:} false; then :
10040 >  $as_echo_n "(cached) " >&6
10041 > else
10042 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043   /* end confdefs.h.  */
10044  
10045   int
# Line 8910 | Line 10052 | main ()
10052   _ACEOF
10053   if ac_fn_c_try_link "$LINENO"; then :
10054  
10055 < lt_aix_libpath_sed='
10056 <    /Import File Strings/,/^$/ {
10057 <        /^0/ {
10058 <            s/^0  *\(.*\)$/\1/
10059 <            p
10060 <        }
10061 <    }'
10062 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10063 < # Check for a 64-bit object if we didn't find anything.
10064 < if test -z "$aix_libpath"; then
10065 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10066 < fi
10055 >  lt_aix_libpath_sed='
10056 >      /Import File Strings/,/^$/ {
10057 >          /^0/ {
10058 >              s/^0  *\([^ ]*\) *$/\1/
10059 >              p
10060 >          }
10061 >      }'
10062 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10063 >  # Check for a 64-bit object if we didn't find anything.
10064 >  if test -z "$lt_cv_aix_libpath_"; then
10065 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10066 >  fi
10067   fi
10068   rm -f core conftest.err conftest.$ac_objext \
10069      conftest$ac_exeext conftest.$ac_ext
10070 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10070 >  if test -z "$lt_cv_aix_libpath_"; then
10071 >    lt_cv_aix_libpath_=/usr/lib:/lib
10072 >  fi
10073 >
10074 > fi
10075 >
10076 >  aix_libpath=$lt_cv_aix_libpath_
10077 > fi
10078  
10079 <         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10079 >         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10080            # Warning - without using the other run time loading flags,
10081            # -berok will link without error, but may produce a broken library.
10082 <          no_undefined_flag=' ${wl}-bernotok'
10083 <          allow_undefined_flag=' ${wl}-berok'
10084 <          # Exported symbols can be pulled into shared objects from archives
10085 <          whole_archive_flag_spec='$convenience'
10082 >          no_undefined_flag=' $wl-bernotok'
10083 >          allow_undefined_flag=' $wl-berok'
10084 >          if test yes = "$with_gnu_ld"; then
10085 >            # We only use this code for GNU lds that support --whole-archive.
10086 >            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10087 >          else
10088 >            # Exported symbols can be pulled into shared objects from archives
10089 >            whole_archive_flag_spec='$convenience'
10090 >          fi
10091            archive_cmds_need_lc=yes
10092 <          # This is similar to how AIX traditionally builds its shared libraries.
10093 <          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'
10092 >          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10093 >          # -brtl affects multiple linker settings, -berok does not and is overridden later
10094 >          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10095 >          if test svr4 != "$with_aix_soname"; then
10096 >            # This is similar to how AIX traditionally builds its shared libraries.
10097 >            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'
10098 >          fi
10099 >          if test aix != "$with_aix_soname"; then
10100 >            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'
10101 >          else
10102 >            # used by -dlpreopen to get the symbols
10103 >            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10104 >          fi
10105 >          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10106          fi
10107        fi
10108        ;;
# Line 8945 | Line 10111 | if test -z "$aix_libpath"; then aix_libp
10111        case $host_cpu in
10112        powerpc)
10113              # see comment about AmigaOS4 .so support
10114 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10114 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10115              archive_expsym_cmds=''
10116          ;;
10117        m68k)
# Line 8965 | Line 10131 | if test -z "$aix_libpath"; then aix_libp
10131        # Microsoft Visual C++.
10132        # hardcode_libdir_flag_spec is actually meaningless, as there is
10133        # no search path for DLLs.
10134 <      hardcode_libdir_flag_spec=' '
10135 <      allow_undefined_flag=unsupported
10136 <      # Tell ltmain to make .lib files, not .a files.
10137 <      libext=lib
10138 <      # Tell ltmain to make .dll files, not .so files.
10139 <      shrext_cmds=".dll"
10140 <      # FIXME: Setting linknames here is a bad hack.
10141 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10142 <      # The linker will automatically build a .lib file if we build a DLL.
10143 <      old_archive_from_new_cmds='true'
10144 <      # FIXME: Should let the user specify the lib program.
10145 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10146 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
10147 <      enable_shared_with_static_runtimes=yes
10134 >      case $cc_basename in
10135 >      cl*)
10136 >        # Native MSVC
10137 >        hardcode_libdir_flag_spec=' '
10138 >        allow_undefined_flag=unsupported
10139 >        always_export_symbols=yes
10140 >        file_list_spec='@'
10141 >        # Tell ltmain to make .lib files, not .a files.
10142 >        libext=lib
10143 >        # Tell ltmain to make .dll files, not .so files.
10144 >        shrext_cmds=.dll
10145 >        # FIXME: Setting linknames here is a bad hack.
10146 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10147 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10148 >            cp "$export_symbols" "$output_objdir/$soname.def";
10149 >            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10150 >          else
10151 >            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10152 >          fi~
10153 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10154 >          linknames='
10155 >        # The linker will not automatically build a static lib if we build a DLL.
10156 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10157 >        enable_shared_with_static_runtimes=yes
10158 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10159 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10160 >        # Don't use ranlib
10161 >        old_postinstall_cmds='chmod 644 $oldlib'
10162 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
10163 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
10164 >          case $lt_outputfile in
10165 >            *.exe|*.EXE) ;;
10166 >            *)
10167 >              lt_outputfile=$lt_outputfile.exe
10168 >              lt_tool_outputfile=$lt_tool_outputfile.exe
10169 >              ;;
10170 >          esac~
10171 >          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10172 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10173 >            $RM "$lt_outputfile.manifest";
10174 >          fi'
10175 >        ;;
10176 >      *)
10177 >        # Assume MSVC wrapper
10178 >        hardcode_libdir_flag_spec=' '
10179 >        allow_undefined_flag=unsupported
10180 >        # Tell ltmain to make .lib files, not .a files.
10181 >        libext=lib
10182 >        # Tell ltmain to make .dll files, not .so files.
10183 >        shrext_cmds=.dll
10184 >        # FIXME: Setting linknames here is a bad hack.
10185 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10186 >        # The linker will automatically build a .lib file if we build a DLL.
10187 >        old_archive_from_new_cmds='true'
10188 >        # FIXME: Should let the user specify the lib program.
10189 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10190 >        enable_shared_with_static_runtimes=yes
10191 >        ;;
10192 >      esac
10193        ;;
10194  
10195      darwin* | rhapsody*)
# Line 8988 | Line 10199 | if test -z "$aix_libpath"; then aix_libp
10199    hardcode_direct=no
10200    hardcode_automatic=yes
10201    hardcode_shlibpath_var=unsupported
10202 <  whole_archive_flag_spec=''
10202 >  if test yes = "$lt_cv_ld_force_load"; then
10203 >    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\"`'
10204 >
10205 >  else
10206 >    whole_archive_flag_spec=''
10207 >  fi
10208    link_all_deplibs=yes
10209 <  allow_undefined_flag="$_lt_dar_allow_undefined"
10209 >  allow_undefined_flag=$_lt_dar_allow_undefined
10210    case $cc_basename in
10211 <     ifort*) _lt_dar_can_shared=yes ;;
10211 >     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10212       *) _lt_dar_can_shared=$GCC ;;
10213    esac
10214 <  if test "$_lt_dar_can_shared" = "yes"; then
10215 <    output_verbose_link_cmd=echo
10216 <    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10217 <    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10218 <    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}"
10219 <    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}"
10214 >  if test yes = "$_lt_dar_can_shared"; then
10215 >    output_verbose_link_cmd=func_echo_all
10216 >    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10217 >    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10218 >    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"
10219 >    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  
10221    else
10222    ld_shlibs=no
# Line 9014 | Line 10230 | if test -z "$aix_libpath"; then aix_libp
10230        hardcode_shlibpath_var=no
10231        ;;
10232  
9017 –    freebsd1*)
9018 –      ld_shlibs=no
9019 –      ;;
9020 –
10233      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10234      # support.  Future versions do this automatically, but an explicit c++rt0.o
10235      # does not break anything, and helps significantly (at the cost of a little
# Line 9030 | Line 10242 | if test -z "$aix_libpath"; then aix_libp
10242        ;;
10243  
10244      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10245 <    freebsd2*)
10245 >    freebsd2.*)
10246        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10247        hardcode_direct=yes
10248        hardcode_minus_L=yes
# Line 9039 | Line 10251 | if test -z "$aix_libpath"; then aix_libp
10251  
10252      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10253      freebsd* | dragonfly*)
10254 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10254 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10255        hardcode_libdir_flag_spec='-R$libdir'
10256        hardcode_direct=yes
10257        hardcode_shlibpath_var=no
10258        ;;
10259  
10260      hpux9*)
10261 <      if test "$GCC" = yes; then
10262 <        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'
10261 >      if test yes = "$GCC"; then
10262 >        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'
10263        else
10264 <        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'
10264 >        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'
10265        fi
10266 <      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10266 >      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10267        hardcode_libdir_separator=:
10268        hardcode_direct=yes
10269  
10270        # hardcode_minus_L: Not really in the search PATH,
10271        # but as the default location of the library.
10272        hardcode_minus_L=yes
10273 <      export_dynamic_flag_spec='${wl}-E'
10273 >      export_dynamic_flag_spec='$wl-E'
10274        ;;
10275  
10276      hpux10*)
10277 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10278 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10277 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10278 >        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10279        else
10280          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10281        fi
10282 <      if test "$with_gnu_ld" = no; then
10283 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9072 <        hardcode_libdir_flag_spec_ld='+b $libdir'
10282 >      if test no = "$with_gnu_ld"; then
10283 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10284          hardcode_libdir_separator=:
10285          hardcode_direct=yes
10286          hardcode_direct_absolute=yes
10287 <        export_dynamic_flag_spec='${wl}-E'
10287 >        export_dynamic_flag_spec='$wl-E'
10288          # hardcode_minus_L: Not really in the search PATH,
10289          # but as the default location of the library.
10290          hardcode_minus_L=yes
# Line 9081 | Line 10292 | if test -z "$aix_libpath"; then aix_libp
10292        ;;
10293  
10294      hpux11*)
10295 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10295 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10296          case $host_cpu in
10297          hppa*64*)
10298 <          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10298 >          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10299            ;;
10300          ia64*)
10301 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10301 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10302            ;;
10303          *)
10304 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10304 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10305            ;;
10306          esac
10307        else
10308          case $host_cpu in
10309          hppa*64*)
10310 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10310 >          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10311            ;;
10312          ia64*)
10313 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10313 >          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10314            ;;
10315          *)
10316 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10316 >
10317 >          # Older versions of the 11.00 compiler do not understand -b yet
10318 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10319 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10320 > $as_echo_n "checking if $CC understands -b... " >&6; }
10321 > if ${lt_cv_prog_compiler__b+:} false; then :
10322 >  $as_echo_n "(cached) " >&6
10323 > else
10324 >  lt_cv_prog_compiler__b=no
10325 >   save_LDFLAGS=$LDFLAGS
10326 >   LDFLAGS="$LDFLAGS -b"
10327 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10328 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10329 >     # The linker can only warn and ignore the option if not recognized
10330 >     # So say no if there are warnings
10331 >     if test -s conftest.err; then
10332 >       # Append any errors to the config.log.
10333 >       cat conftest.err 1>&5
10334 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10335 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10336 >       if diff conftest.exp conftest.er2 >/dev/null; then
10337 >         lt_cv_prog_compiler__b=yes
10338 >       fi
10339 >     else
10340 >       lt_cv_prog_compiler__b=yes
10341 >     fi
10342 >   fi
10343 >   $RM -r conftest*
10344 >   LDFLAGS=$save_LDFLAGS
10345 >
10346 > fi
10347 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10348 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10349 >
10350 > if test yes = "$lt_cv_prog_compiler__b"; then
10351 >    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10352 > else
10353 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10354 > fi
10355 >
10356            ;;
10357          esac
10358        fi
10359 <      if test "$with_gnu_ld" = no; then
10360 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10359 >      if test no = "$with_gnu_ld"; then
10360 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10361          hardcode_libdir_separator=:
10362  
10363          case $host_cpu in
# Line 9118 | Line 10368 | if test -z "$aix_libpath"; then aix_libp
10368          *)
10369            hardcode_direct=yes
10370            hardcode_direct_absolute=yes
10371 <          export_dynamic_flag_spec='${wl}-E'
10371 >          export_dynamic_flag_spec='$wl-E'
10372  
10373            # hardcode_minus_L: Not really in the search PATH,
10374            # but as the default location of the library.
# Line 9129 | Line 10379 | if test -z "$aix_libpath"; then aix_libp
10379        ;;
10380  
10381      irix5* | irix6* | nonstopux*)
10382 <      if test "$GCC" = yes; then
10383 <        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'
10382 >      if test yes = "$GCC"; then
10383 >        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'
10384          # Try to use the -exported_symbol ld option, if it does not
10385          # work, assume that -exports_file does not work either and
10386          # implicitly export all symbols.
10387 <        save_LDFLAGS="$LDFLAGS"
10388 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10389 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 >        # This should be the same for all languages, so no per-tag cache variable.
10388 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10389 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10390 > if ${lt_cv_irix_exported_symbol+:} false; then :
10391 >  $as_echo_n "(cached) " >&6
10392 > else
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
10396   /* end confdefs.h.  */
10397 < int foo(void) {}
10397 > int foo (void) { return 0; }
10398   _ACEOF
10399   if ac_fn_c_try_link "$LINENO"; then :
10400 <  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'
10401 <
10400 >  lt_cv_irix_exported_symbol=yes
10401 > else
10402 >  lt_cv_irix_exported_symbol=no
10403   fi
10404   rm -f core conftest.err conftest.$ac_objext \
10405      conftest$ac_exeext conftest.$ac_ext
10406 <        LDFLAGS="$save_LDFLAGS"
10406 >           LDFLAGS=$save_LDFLAGS
10407 > fi
10408 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10409 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10410 >        if test yes = "$lt_cv_irix_exported_symbol"; then
10411 >          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'
10412 >        fi
10413 >        link_all_deplibs=no
10414        else
10415 <        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'
10416 <        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'
10415 >        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'
10416 >        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'
10417        fi
10418        archive_cmds_need_lc='no'
10419 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10419 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10420        hardcode_libdir_separator=:
10421        inherit_rpath=yes
10422        link_all_deplibs=yes
10423        ;;
10424  
10425 <    netbsd*)
10425 >    linux*)
10426 >      case $cc_basename in
10427 >      tcc*)
10428 >        # Fabrice Bellard et al's Tiny C Compiler
10429 >        ld_shlibs=yes
10430 >        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10431 >        ;;
10432 >      esac
10433 >      ;;
10434 >
10435 >    netbsd* | netbsdelf*-gnu)
10436        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10437          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10438        else
# Line 9172 | Line 10446 | rm -f core conftest.err conftest.$ac_obj
10446      newsos6)
10447        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10448        hardcode_direct=yes
10449 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10449 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10450        hardcode_libdir_separator=:
10451        hardcode_shlibpath_var=no
10452        ;;
# Line 9180 | Line 10454 | rm -f core conftest.err conftest.$ac_obj
10454      *nto* | *qnx*)
10455        ;;
10456  
10457 <    openbsd*)
10457 >    openbsd* | bitrig*)
10458        if test -f /usr/libexec/ld.so; then
10459          hardcode_direct=yes
10460          hardcode_shlibpath_var=no
10461          hardcode_direct_absolute=yes
10462 <        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10462 >        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10463            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10464 <          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10465 <          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10466 <          export_dynamic_flag_spec='${wl}-E'
10464 >          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10465 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10466 >          export_dynamic_flag_spec='$wl-E'
10467          else
10468 <          case $host_os in
10469 <           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9196 <             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9197 <             hardcode_libdir_flag_spec='-R$libdir'
9198 <             ;;
9199 <           *)
9200 <             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9201 <             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9202 <             ;;
9203 <          esac
10468 >          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10469 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10470          fi
10471        else
10472          ld_shlibs=no
# Line 9211 | Line 10477 | rm -f core conftest.err conftest.$ac_obj
10477        hardcode_libdir_flag_spec='-L$libdir'
10478        hardcode_minus_L=yes
10479        allow_undefined_flag=unsupported
10480 <      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'
10481 <      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10480 >      shrext_cmds=.dll
10481 >      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10482 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10483 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10484 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10485 >        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10486 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10487 >        emximp -o $lib $output_objdir/$libname.def'
10488 >      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10489 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10490 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10491 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10492 >        prefix_cmds="$SED"~
10493 >        if test EXPORTS = "`$SED 1q $export_symbols`"; then
10494 >          prefix_cmds="$prefix_cmds -e 1d";
10495 >        fi~
10496 >        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10497 >        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10498 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10499 >        emximp -o $lib $output_objdir/$libname.def'
10500 >      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10501 >      enable_shared_with_static_runtimes=yes
10502        ;;
10503  
10504      osf3*)
10505 <      if test "$GCC" = yes; then
10506 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10507 <        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'
10505 >      if test yes = "$GCC"; then
10506 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10507 >        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'
10508        else
10509          allow_undefined_flag=' -expect_unresolved \*'
10510 <        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'
10510 >        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'
10511        fi
10512        archive_cmds_need_lc='no'
10513 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10513 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10514        hardcode_libdir_separator=:
10515        ;;
10516  
10517      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10518 <      if test "$GCC" = yes; then
10519 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10520 <        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'
10521 <        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10518 >      if test yes = "$GCC"; then
10519 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10520 >        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'
10521 >        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10522        else
10523          allow_undefined_flag=' -expect_unresolved \*'
10524 <        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'
10524 >        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'
10525          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~
10526 <        $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'
10526 >          $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'
10527  
10528          # Both c and cxx compiler support -rpath directly
10529          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9248 | Line 10534 | rm -f core conftest.err conftest.$ac_obj
10534  
10535      solaris*)
10536        no_undefined_flag=' -z defs'
10537 <      if test "$GCC" = yes; then
10538 <        wlarc='${wl}'
10539 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10537 >      if test yes = "$GCC"; then
10538 >        wlarc='$wl'
10539 >        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10540          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10541 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10541 >          $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'
10542        else
10543          case `$CC -V 2>&1` in
10544          *"Compilers 5.0"*)
10545            wlarc=''
10546 <          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10546 >          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10547            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10548 <          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10548 >            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10549            ;;
10550          *)
10551 <          wlarc='${wl}'
10552 <          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10551 >          wlarc='$wl'
10552 >          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10553            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10554 <          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10554 >            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10555            ;;
10556          esac
10557        fi
# Line 9275 | Line 10561 | rm -f core conftest.err conftest.$ac_obj
10561        solaris2.[0-5] | solaris2.[0-5].*) ;;
10562        *)
10563          # The compiler driver will combine and reorder linker options,
10564 <        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10564 >        # but understands '-z linker_flag'.  GCC discards it without '$wl',
10565          # but is careful enough not to reorder.
10566          # Supported since Solaris 2.6 (maybe 2.5.1?)
10567 <        if test "$GCC" = yes; then
10568 <          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10567 >        if test yes = "$GCC"; then
10568 >          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10569          else
10570            whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10571          fi
# Line 9289 | Line 10575 | rm -f core conftest.err conftest.$ac_obj
10575        ;;
10576  
10577      sunos4*)
10578 <      if test "x$host_vendor" = xsequent; then
10578 >      if test sequent = "$host_vendor"; then
10579          # Use $CC to link under sequent, because it throws in some extra .o
10580          # files that make .init and .fini sections work.
10581 <        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10581 >        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10582        else
10583          archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10584        fi
# Line 9341 | Line 10627 | rm -f core conftest.err conftest.$ac_obj
10627        ;;
10628  
10629      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10630 <      no_undefined_flag='${wl}-z,text'
10630 >      no_undefined_flag='$wl-z,text'
10631        archive_cmds_need_lc=no
10632        hardcode_shlibpath_var=no
10633        runpath_var='LD_RUN_PATH'
10634  
10635 <      if test "$GCC" = yes; then
10636 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10637 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10635 >      if test yes = "$GCC"; then
10636 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10637 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10638        else
10639 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10640 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10639 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10640 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10641        fi
10642        ;;
10643  
10644      sysv5* | sco3.2v5* | sco5v6*)
10645 <      # Note: We can NOT use -z defs as we might desire, because we do not
10645 >      # Note: We CANNOT use -z defs as we might desire, because we do not
10646        # link with -lc, and that would cause any symbols used from libc to
10647        # always be unresolved, which means just about no library would
10648        # ever link correctly.  If we're not using GNU ld we use -z text
10649        # though, which does catch some bad symbols but isn't as heavy-handed
10650        # as -z defs.
10651 <      no_undefined_flag='${wl}-z,text'
10652 <      allow_undefined_flag='${wl}-z,nodefs'
10651 >      no_undefined_flag='$wl-z,text'
10652 >      allow_undefined_flag='$wl-z,nodefs'
10653        archive_cmds_need_lc=no
10654        hardcode_shlibpath_var=no
10655 <      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10655 >      hardcode_libdir_flag_spec='$wl-R,$libdir'
10656        hardcode_libdir_separator=':'
10657        link_all_deplibs=yes
10658 <      export_dynamic_flag_spec='${wl}-Bexport'
10658 >      export_dynamic_flag_spec='$wl-Bexport'
10659        runpath_var='LD_RUN_PATH'
10660  
10661 <      if test "$GCC" = yes; then
10662 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10661 >      if test yes = "$GCC"; then
10662 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664        else
10665 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10667        fi
10668        ;;
10669  
# Line 9392 | Line 10678 | rm -f core conftest.err conftest.$ac_obj
10678        ;;
10679      esac
10680  
10681 <    if test x$host_vendor = xsni; then
10681 >    if test sni = "$host_vendor"; then
10682        case $host in
10683        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10684 <        export_dynamic_flag_spec='${wl}-Blargedynsym'
10684 >        export_dynamic_flag_spec='$wl-Blargedynsym'
10685          ;;
10686        esac
10687      fi
# Line 9403 | Line 10689 | rm -f core conftest.err conftest.$ac_obj
10689  
10690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10691   $as_echo "$ld_shlibs" >&6; }
10692 < test "$ld_shlibs" = no && can_build_shared=no
10692 > test no = "$ld_shlibs" && can_build_shared=no
10693  
10694   with_gnu_ld=$with_gnu_ld
10695  
# Line 9429 | Line 10715 | x|xyes)
10715    # Assume -lc should be added
10716    archive_cmds_need_lc=yes
10717  
10718 <  if test "$enable_shared" = yes && test "$GCC" = yes; then
10718 >  if test yes,yes = "$GCC,$enable_shared"; then
10719      case $archive_cmds in
10720      *'~'*)
10721        # FIXME: we may have to deal with multi-command sequences.
# Line 9440 | Line 10726 | x|xyes)
10726        # to ld, don't add -lc before -lgcc.
10727        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10728   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10729 <      $RM conftest*
10730 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10729 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10730 >  $as_echo_n "(cached) " >&6
10731 > else
10732 >  $RM conftest*
10733 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10734  
10735 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10735 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10736    (eval $ac_compile) 2>&5
10737    ac_status=$?
10738    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10739    test $ac_status = 0; } 2>conftest.err; then
10740 <        soname=conftest
10741 <        lib=conftest
10742 <        libobjs=conftest.$ac_objext
10743 <        deplibs=
10744 <        wl=$lt_prog_compiler_wl
10745 <        pic_flag=$lt_prog_compiler_pic
10746 <        compiler_flags=-v
10747 <        linker_flags=-v
10748 <        verstring=
10749 <        output_objdir=.
10750 <        libname=conftest
10751 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10752 <        allow_undefined_flag=
10753 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10740 >          soname=conftest
10741 >          lib=conftest
10742 >          libobjs=conftest.$ac_objext
10743 >          deplibs=
10744 >          wl=$lt_prog_compiler_wl
10745 >          pic_flag=$lt_prog_compiler_pic
10746 >          compiler_flags=-v
10747 >          linker_flags=-v
10748 >          verstring=
10749 >          output_objdir=.
10750 >          libname=conftest
10751 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10752 >          allow_undefined_flag=
10753 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10754    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10755    ac_status=$?
10756    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10757    test $ac_status = 0; }
10758 <        then
10759 <          archive_cmds_need_lc=no
10760 <        else
10761 <          archive_cmds_need_lc=yes
10762 <        fi
10763 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10764 <      else
10765 <        cat conftest.err 1>&5
10766 <      fi
10767 <      $RM conftest*
10768 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10769 < $as_echo "$archive_cmds_need_lc" >&6; }
10758 >          then
10759 >            lt_cv_archive_cmds_need_lc=no
10760 >          else
10761 >            lt_cv_archive_cmds_need_lc=yes
10762 >          fi
10763 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10764 >        else
10765 >          cat conftest.err 1>&5
10766 >        fi
10767 >        $RM conftest*
10768 >
10769 > fi
10770 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10771 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10772 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10773        ;;
10774      esac
10775    fi
# Line 9635 | Line 10927 | esac
10927  
10928  
10929  
9638 –
9639 –
9640 –
9641 –
9642 –
10930    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10931   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10932  
10933 < if test "$GCC" = yes; then
10933 > if test yes = "$GCC"; then
10934 >  case $host_os in
10935 >    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10936 >    *) lt_awk_arg='/^libraries:/' ;;
10937 >  esac
10938    case $host_os in
10939 <    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10940 <    *) lt_awk_arg="/^libraries:/" ;;
10939 >    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10940 >    *) lt_sed_strip_eq='s|=/|/|g' ;;
10941    esac
10942 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10943 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10942 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10943 >  case $lt_search_path_spec in
10944 >  *\;*)
10945      # if the path contains ";" then we assume it to be the separator
10946      # otherwise default to the standard path separator (i.e. ":") - it is
10947      # assumed that no part of a normal pathname contains ";" but that should
10948      # okay in the real world where ";" in dirpaths is itself problematic.
10949 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10950 <  else
10951 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10952 <  fi
10949 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10950 >    ;;
10951 >  *)
10952 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10953 >    ;;
10954 >  esac
10955    # Ok, now we have the path, separated by spaces, we can step through it
10956 <  # and add multilib dir if necessary.
10956 >  # and add multilib dir if necessary...
10957    lt_tmp_lt_search_path_spec=
10958 <  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10958 >  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10959 >  # ...but if some path component already ends with the multilib dir we assume
10960 >  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10961 >  case "$lt_multi_os_dir; $lt_search_path_spec " in
10962 >  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10963 >    lt_multi_os_dir=
10964 >    ;;
10965 >  esac
10966    for lt_sys_path in $lt_search_path_spec; do
10967 <    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10968 <      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10969 <    else
10967 >    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10968 >      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10969 >    elif test -n "$lt_multi_os_dir"; then
10970        test -d "$lt_sys_path" && \
10971          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10972      fi
10973    done
10974 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10975 < BEGIN {RS=" "; FS="/|\n";} {
10976 <  lt_foo="";
10977 <  lt_count=0;
10974 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10975 > BEGIN {RS = " "; FS = "/|\n";} {
10976 >  lt_foo = "";
10977 >  lt_count = 0;
10978    for (lt_i = NF; lt_i > 0; lt_i--) {
10979      if ($lt_i != "" && $lt_i != ".") {
10980        if ($lt_i == "..") {
10981          lt_count++;
10982        } else {
10983          if (lt_count == 0) {
10984 <          lt_foo="/" $lt_i lt_foo;
10984 >          lt_foo = "/" $lt_i lt_foo;
10985          } else {
10986            lt_count--;
10987          }
# Line 9690 | Line 10991 | BEGIN {RS=" "; FS="/|\n";} {
10991    if (lt_foo != "") { lt_freq[lt_foo]++; }
10992    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10993   }'`
10994 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10994 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10995 >  # for these hosts.
10996 >  case $host_os in
10997 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10998 >      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10999 >  esac
11000 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11001   else
11002    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11003   fi
11004   library_names_spec=
11005   libname_spec='lib$name'
11006   soname_spec=
11007 < shrext_cmds=".so"
11007 > shrext_cmds=.so
11008   postinstall_cmds=
11009   postuninstall_cmds=
11010   finish_cmds=
# Line 9714 | Line 11021 | hardcode_into_libs=no
11021   # flags to be left without arguments
11022   need_version=unknown
11023  
11024 +
11025 +
11026   case $host_os in
11027   aix3*)
11028 <  version_type=linux
11029 <  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11028 >  version_type=linux # correct to gnu/linux during the next big refactor
11029 >  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11030    shlibpath_var=LIBPATH
11031  
11032    # AIX 3 has no versioning support, so we append a major version to the name.
11033 <  soname_spec='${libname}${release}${shared_ext}$major'
11033 >  soname_spec='$libname$release$shared_ext$major'
11034    ;;
11035  
11036   aix[4-9]*)
11037 <  version_type=linux
11037 >  version_type=linux # correct to gnu/linux during the next big refactor
11038    need_lib_prefix=no
11039    need_version=no
11040    hardcode_into_libs=yes
11041 <  if test "$host_cpu" = ia64; then
11041 >  if test ia64 = "$host_cpu"; then
11042      # AIX 5 supports IA64
11043 <    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11043 >    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11044      shlibpath_var=LD_LIBRARY_PATH
11045    else
11046      # With GCC up to 2.95.x, collect2 would create an import file
11047      # for dependence libraries.  The import file would start with
11048 <    # the line `#! .'.  This would cause the generated library to
11049 <    # depend on `.', always an invalid library.  This was fixed in
11048 >    # the line '#! .'.  This would cause the generated library to
11049 >    # depend on '.', always an invalid library.  This was fixed in
11050      # development snapshots of GCC prior to 3.0.
11051      case $host_os in
11052        aix4 | aix4.[01] | aix4.[01].*)
11053        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11054             echo ' yes '
11055 <           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11055 >           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11056          :
11057        else
11058          can_build_shared=no
11059        fi
11060        ;;
11061      esac
11062 <    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11062 >    # Using Import Files as archive members, it is possible to support
11063 >    # filename-based versioning of shared library archives on AIX. While
11064 >    # this would work for both with and without runtime linking, it will
11065 >    # prevent static linking of such archives. So we do filename-based
11066 >    # shared library versioning with .so extension only, which is used
11067 >    # when both runtime linking and shared linking is enabled.
11068 >    # Unfortunately, runtime linking may impact performance, so we do
11069 >    # not want this to be the default eventually. Also, we use the
11070 >    # versioned .so libs for executables only if there is the -brtl
11071 >    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11072 >    # To allow for filename-based versioning support, we need to create
11073 >    # libNAME.so.V as an archive file, containing:
11074 >    # *) an Import File, referring to the versioned filename of the
11075 >    #    archive as well as the shared archive member, telling the
11076 >    #    bitwidth (32 or 64) of that shared object, and providing the
11077 >    #    list of exported symbols of that shared object, eventually
11078 >    #    decorated with the 'weak' keyword
11079 >    # *) the shared object with the F_LOADONLY flag set, to really avoid
11080 >    #    it being seen by the linker.
11081 >    # At run time we better use the real file rather than another symlink,
11082 >    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11083 >
11084 >    case $with_aix_soname,$aix_use_runtimelinking in
11085 >    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11086      # soname into executable. Probably we can add versioning support to
11087      # collect2, so additional links can be useful in future.
11088 <    if test "$aix_use_runtimelinking" = yes; then
11088 >    aix,yes) # traditional libtool
11089 >      dynamic_linker='AIX unversionable lib.so'
11090        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11091        # instead of lib<name>.a to let people know that these are not
11092        # typical AIX shared libraries.
11093 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 <    else
11093 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11094 >      ;;
11095 >    aix,no) # traditional AIX only
11096 >      dynamic_linker='AIX lib.a(lib.so.V)'
11097        # We preserve .a as extension for shared libraries through AIX4.2
11098        # and later when we are not doing run time linking.
11099 <      library_names_spec='${libname}${release}.a $libname.a'
11100 <      soname_spec='${libname}${release}${shared_ext}$major'
11101 <    fi
11099 >      library_names_spec='$libname$release.a $libname.a'
11100 >      soname_spec='$libname$release$shared_ext$major'
11101 >      ;;
11102 >    svr4,*) # full svr4 only
11103 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11104 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11105 >      # We do not specify a path in Import Files, so LIBPATH fires.
11106 >      shlibpath_overrides_runpath=yes
11107 >      ;;
11108 >    *,yes) # both, prefer svr4
11109 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11110 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11111 >      # unpreferred sharedlib libNAME.a needs extra handling
11112 >      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"'
11113 >      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"'
11114 >      # We do not specify a path in Import Files, so LIBPATH fires.
11115 >      shlibpath_overrides_runpath=yes
11116 >      ;;
11117 >    *,no) # both, prefer aix
11118 >      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11119 >      library_names_spec='$libname$release.a $libname.a'
11120 >      soname_spec='$libname$release$shared_ext$major'
11121 >      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11122 >      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)'
11123 >      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"'
11124 >      ;;
11125 >    esac
11126      shlibpath_var=LIBPATH
11127    fi
11128    ;;
# Line 9773 | Line 11132 | amigaos*)
11132    powerpc)
11133      # Since July 2007 AmigaOS4 officially supports .so libraries.
11134      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11135 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11135 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11136      ;;
11137    m68k)
11138      library_names_spec='$libname.ixlibrary $libname.a'
11139      # Create ${libname}_ixlibrary.a entries in /sys/libs.
11140 <    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'
11140 >    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'
11141      ;;
11142    esac
11143    ;;
11144  
11145   beos*)
11146 <  library_names_spec='${libname}${shared_ext}'
11146 >  library_names_spec='$libname$shared_ext'
11147    dynamic_linker="$host_os ld.so"
11148    shlibpath_var=LIBRARY_PATH
11149    ;;
11150  
11151   bsdi[45]*)
11152 <  version_type=linux
11152 >  version_type=linux # correct to gnu/linux during the next big refactor
11153    need_version=no
11154 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155 <  soname_spec='${libname}${release}${shared_ext}$major'
11154 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11155 >  soname_spec='$libname$release$shared_ext$major'
11156    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11157    shlibpath_var=LD_LIBRARY_PATH
11158    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
# Line 9805 | Line 11164 | bsdi[45]*)
11164  
11165   cygwin* | mingw* | pw32* | cegcc*)
11166    version_type=windows
11167 <  shrext_cmds=".dll"
11167 >  shrext_cmds=.dll
11168    need_version=no
11169    need_lib_prefix=no
11170  
11171 <  case $GCC,$host_os in
11172 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11171 >  case $GCC,$cc_basename in
11172 >  yes,*)
11173 >    # gcc
11174      library_names_spec='$libname.dll.a'
11175      # DLL is installed to $(libdir)/../bin by postinstall_cmds
11176 <    postinstall_cmds='base_file=`basename \${file}`~
11177 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11176 >    postinstall_cmds='base_file=`basename \$file`~
11177 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11178        dldir=$destdir/`dirname \$dlpath`~
11179        test -d \$dldir || mkdir -p \$dldir~
11180        $install_prog $dir/$dlname \$dldir/$dlname~
# Line 9830 | Line 11190 | cygwin* | mingw* | pw32* | cegcc*)
11190      case $host_os in
11191      cygwin*)
11192        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11193 <      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11194 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11193 >      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11194 >
11195 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11196        ;;
11197      mingw* | cegcc*)
11198        # MinGW DLLs use traditional 'lib' prefix
11199 <      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11200 <      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11199 >      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11200 >      ;;
11201 >    pw32*)
11202 >      # pw32 DLLs use 'pw' prefix rather than 'lib'
11203 >      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11204 >      ;;
11205 >    esac
11206 >    dynamic_linker='Win32 ld.exe'
11207 >    ;;
11208 >
11209 >  *,cl*)
11210 >    # Native MSVC
11211 >    libname_spec='$name'
11212 >    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11213 >    library_names_spec='$libname.dll.lib'
11214 >
11215 >    case $build_os in
11216 >    mingw*)
11217 >      sys_lib_search_path_spec=
11218 >      lt_save_ifs=$IFS
11219 >      IFS=';'
11220 >      for lt_path in $LIB
11221 >      do
11222 >        IFS=$lt_save_ifs
11223 >        # Let DOS variable expansion print the short 8.3 style file name.
11224 >        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11225 >        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11226 >      done
11227 >      IFS=$lt_save_ifs
11228 >      # Convert to MSYS style.
11229 >      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11230 >      ;;
11231 >    cygwin*)
11232 >      # Convert to unix form, then to dos form, then back to unix form
11233 >      # but this time dos style (no spaces!) so that the unix form looks
11234 >      # like /cygdrive/c/PROGRA~1:/cygdr...
11235 >      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11236 >      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11237 >      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11238 >      ;;
11239 >    *)
11240 >      sys_lib_search_path_spec=$LIB
11241        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11242 <        # It is most probably a Windows format PATH printed by
9842 <        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9843 <        # path with ; separators, and with drive letters. We can handle the
9844 <        # drive letters (cygwin fileutils understands them), so leave them,
9845 <        # especially as we might pass files found there to a mingw objdump,
9846 <        # which wouldn't understand a cygwinified path. Ahh.
11242 >        # It is most probably a Windows format PATH.
11243          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11244        else
11245 <        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11245 >        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11246        fi
11247 <      ;;
11248 <    pw32*)
9853 <      # pw32 DLLs use 'pw' prefix rather than 'lib'
9854 <      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11247 >      # FIXME: find the short name or the path components, as spaces are
11248 >      # common. (e.g. "Program Files" -> "PROGRA~1")
11249        ;;
11250      esac
11251 +
11252 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11253 +    postinstall_cmds='base_file=`basename \$file`~
11254 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11255 +      dldir=$destdir/`dirname \$dlpath`~
11256 +      test -d \$dldir || mkdir -p \$dldir~
11257 +      $install_prog $dir/$dlname \$dldir/$dlname'
11258 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11259 +      dlpath=$dir/\$dldll~
11260 +       $RM \$dlpath'
11261 +    shlibpath_overrides_runpath=yes
11262 +    dynamic_linker='Win32 link.exe'
11263      ;;
11264  
11265    *)
11266 <    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11266 >    # Assume MSVC wrapper
11267 >    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11268 >    dynamic_linker='Win32 ld.exe'
11269      ;;
11270    esac
9863 –  dynamic_linker='Win32 ld.exe'
11271    # FIXME: first we should search . and the directory the executable is in
11272    shlibpath_var=PATH
11273    ;;
# Line 9870 | Line 11277 | darwin* | rhapsody*)
11277    version_type=darwin
11278    need_lib_prefix=no
11279    need_version=no
11280 <  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11281 <  soname_spec='${libname}${release}${major}$shared_ext'
11280 >  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11281 >  soname_spec='$libname$release$major$shared_ext'
11282    shlibpath_overrides_runpath=yes
11283    shlibpath_var=DYLD_LIBRARY_PATH
11284    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
# Line 9881 | Line 11288 | darwin* | rhapsody*)
11288    ;;
11289  
11290   dgux*)
11291 <  version_type=linux
11291 >  version_type=linux # correct to gnu/linux during the next big refactor
11292    need_lib_prefix=no
11293    need_version=no
11294 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11295 <  soname_spec='${libname}${release}${shared_ext}$major'
11294 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11295 >  soname_spec='$libname$release$shared_ext$major'
11296    shlibpath_var=LD_LIBRARY_PATH
11297    ;;
11298  
9892 – freebsd1*)
9893 –  dynamic_linker=no
9894 –  ;;
9895 –
11299   freebsd* | dragonfly*)
11300    # DragonFly does not have aout.  When/if they implement a new
11301    # versioning mechanism, adjust this.
# Line 9900 | Line 11303 | freebsd* | dragonfly*)
11303      objformat=`/usr/bin/objformat`
11304    else
11305      case $host_os in
11306 <    freebsd[123]*) objformat=aout ;;
11306 >    freebsd[23].*) objformat=aout ;;
11307      *) objformat=elf ;;
11308      esac
11309    fi
11310    version_type=freebsd-$objformat
11311    case $version_type in
11312      freebsd-elf*)
11313 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11313 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11314 >      soname_spec='$libname$release$shared_ext$major'
11315        need_version=no
11316        need_lib_prefix=no
11317        ;;
11318      freebsd-*)
11319 <      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11319 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11320        need_version=yes
11321        ;;
11322    esac
11323    shlibpath_var=LD_LIBRARY_PATH
11324    case $host_os in
11325 <  freebsd2*)
11325 >  freebsd2.*)
11326      shlibpath_overrides_runpath=yes
11327      ;;
11328    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9937 | Line 11341 | freebsd* | dragonfly*)
11341    esac
11342    ;;
11343  
11344 < gnu*)
11345 <  version_type=linux
11344 > haiku*)
11345 >  version_type=linux # correct to gnu/linux during the next big refactor
11346    need_lib_prefix=no
11347    need_version=no
11348 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11349 <  soname_spec='${libname}${release}${shared_ext}$major'
11350 <  shlibpath_var=LD_LIBRARY_PATH
11348 >  dynamic_linker="$host_os runtime_loader"
11349 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11350 >  soname_spec='$libname$release$shared_ext$major'
11351 >  shlibpath_var=LIBRARY_PATH
11352 >  shlibpath_overrides_runpath=no
11353 >  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11354    hardcode_into_libs=yes
11355    ;;
11356  
# Line 9960 | Line 11367 | hpux9* | hpux10* | hpux11*)
11367      dynamic_linker="$host_os dld.so"
11368      shlibpath_var=LD_LIBRARY_PATH
11369      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11370 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371 <    soname_spec='${libname}${release}${shared_ext}$major'
11372 <    if test "X$HPUX_IA64_MODE" = X32; then
11370 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11371 >    soname_spec='$libname$release$shared_ext$major'
11372 >    if test 32 = "$HPUX_IA64_MODE"; then
11373        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11374 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11375      else
11376        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11377 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11378      fi
9970 –    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11379      ;;
11380    hppa*64*)
11381      shrext_cmds='.sl'
# Line 9975 | Line 11383 | hpux9* | hpux10* | hpux11*)
11383      dynamic_linker="$host_os dld.sl"
11384      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11385      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11386 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387 <    soname_spec='${libname}${release}${shared_ext}$major'
11386 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11387 >    soname_spec='$libname$release$shared_ext$major'
11388      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11389      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11390      ;;
# Line 9985 | Line 11393 | hpux9* | hpux10* | hpux11*)
11393      dynamic_linker="$host_os dld.sl"
11394      shlibpath_var=SHLIB_PATH
11395      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11396 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11397 <    soname_spec='${libname}${release}${shared_ext}$major'
11396 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11397 >    soname_spec='$libname$release$shared_ext$major'
11398      ;;
11399    esac
11400 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11400 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11401    postinstall_cmds='chmod 555 $lib'
11402 +  # or fails outright, so override atomically:
11403 +  install_override_mode=555
11404    ;;
11405  
11406   interix[3-9]*)
11407 <  version_type=linux
11407 >  version_type=linux # correct to gnu/linux during the next big refactor
11408    need_lib_prefix=no
11409    need_version=no
11410 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11411 <  soname_spec='${libname}${release}${shared_ext}$major'
11410 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11411 >  soname_spec='$libname$release$shared_ext$major'
11412    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11413    shlibpath_var=LD_LIBRARY_PATH
11414    shlibpath_overrides_runpath=no
# Line 10009 | Line 11419 | irix5* | irix6* | nonstopux*)
11419    case $host_os in
11420      nonstopux*) version_type=nonstopux ;;
11421      *)
11422 <        if test "$lt_cv_prog_gnu_ld" = yes; then
11423 <                version_type=linux
11422 >        if test yes = "$lt_cv_prog_gnu_ld"; then
11423 >                version_type=linux # correct to gnu/linux during the next big refactor
11424          else
11425                  version_type=irix
11426          fi ;;
11427    esac
11428    need_lib_prefix=no
11429    need_version=no
11430 <  soname_spec='${libname}${release}${shared_ext}$major'
11431 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11430 >  soname_spec='$libname$release$shared_ext$major'
11431 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11432    case $host_os in
11433    irix5* | nonstopux*)
11434      libsuff= shlibsuff=
# Line 10037 | Line 11447 | irix5* | irix6* | nonstopux*)
11447    esac
11448    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11449    shlibpath_overrides_runpath=no
11450 <  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11451 <  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11450 >  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11451 >  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11452    hardcode_into_libs=yes
11453    ;;
11454  
# Line 10047 | Line 11457 | linux*oldld* | linux*aout* | linux*coff*
11457    dynamic_linker=no
11458    ;;
11459  
11460 < # This must be Linux ELF.
11461 < linux* | k*bsd*-gnu)
10052 <  version_type=linux
11460 > linux*android*)
11461 >  version_type=none # Android doesn't support versioned libraries.
11462    need_lib_prefix=no
11463    need_version=no
11464 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11465 <  soname_spec='${libname}${release}${shared_ext}$major'
11464 >  library_names_spec='$libname$release$shared_ext'
11465 >  soname_spec='$libname$release$shared_ext'
11466 >  finish_cmds=
11467 >  shlibpath_var=LD_LIBRARY_PATH
11468 >  shlibpath_overrides_runpath=yes
11469 >
11470 >  # This implies no fast_install, which is unacceptable.
11471 >  # Some rework will be needed to allow for fast_install
11472 >  # before this can be enabled.
11473 >  hardcode_into_libs=yes
11474 >
11475 >  dynamic_linker='Android linker'
11476 >  # Don't embed -rpath directories since the linker doesn't support them.
11477 >  hardcode_libdir_flag_spec='-L$libdir'
11478 >  ;;
11479 >
11480 > # This must be glibc/ELF.
11481 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11482 >  version_type=linux # correct to gnu/linux during the next big refactor
11483 >  need_lib_prefix=no
11484 >  need_version=no
11485 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11486 >  soname_spec='$libname$release$shared_ext$major'
11487    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11488    shlibpath_var=LD_LIBRARY_PATH
11489    shlibpath_overrides_runpath=no
11490 +
11491    # Some binutils ld are patched to set DT_RUNPATH
11492 <  save_LDFLAGS=$LDFLAGS
11493 <  save_libdir=$libdir
11494 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11495 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11496 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11493 >  $as_echo_n "(cached) " >&6
11494 > else
11495 >  lt_cv_shlibpath_overrides_runpath=no
11496 >    save_LDFLAGS=$LDFLAGS
11497 >    save_libdir=$libdir
11498 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11499 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11500 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501   /* end confdefs.h.  */
11502  
11503   int
# Line 10075 | Line 11510 | main ()
11510   _ACEOF
11511   if ac_fn_c_try_link "$LINENO"; then :
11512    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11513 <  shlibpath_overrides_runpath=yes
11513 >  lt_cv_shlibpath_overrides_runpath=yes
11514   fi
11515   fi
11516   rm -f core conftest.err conftest.$ac_objext \
11517      conftest$ac_exeext conftest.$ac_ext
11518 <  LDFLAGS=$save_LDFLAGS
11519 <  libdir=$save_libdir
11518 >    LDFLAGS=$save_LDFLAGS
11519 >    libdir=$save_libdir
11520 >
11521 > fi
11522 >
11523 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11524  
11525    # This implies no fast_install, which is unacceptable.
11526    # Some rework will be needed to allow for fast_install
11527    # before this can be enabled.
11528    hardcode_into_libs=yes
11529  
11530 <  # find out which ABI we are using
11531 <  libsuff=
11532 <  case "$host_cpu" in
11533 <  x86_64*|s390x*|powerpc64*)
11534 <    echo '#line 10095 "configure"' > conftest.$ac_ext
11535 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10097 <  (eval $ac_compile) 2>&5
10098 <  ac_status=$?
10099 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10100 <  test $ac_status = 0; }; then
10101 <      case `/usr/bin/file conftest.$ac_objext` in
10102 <      *64-bit*)
10103 <        libsuff=64
10104 <        ;;
10105 <      esac
10106 <    fi
10107 <    rm -rf conftest*
10108 <    ;;
10109 <  esac
10110 <
10111 <  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10112 <
10113 <  # Append ld.so.conf contents to the search path
11530 >  # Ideally, we could use ldconfig to report *all* directores which are
11531 >  # searched for libraries, however this is still not possible.  Aside from not
11532 >  # being certain /sbin/ldconfig is available, command
11533 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11534 >  # even though it is searched at run-time.  Try to do the best guess by
11535 >  # appending ld.so.conf contents (and includes) to the search path.
11536    if test -f /etc/ld.so.conf; then
11537 <    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' ' '`
11538 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11537 >    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' ' '`
11538 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11539    fi
11540  
11541    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10125 | Line 11547 | rm -f core conftest.err conftest.$ac_obj
11547    dynamic_linker='GNU/Linux ld.so'
11548    ;;
11549  
11550 + netbsdelf*-gnu)
11551 +  version_type=linux
11552 +  need_lib_prefix=no
11553 +  need_version=no
11554 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11555 +  soname_spec='${libname}${release}${shared_ext}$major'
11556 +  shlibpath_var=LD_LIBRARY_PATH
11557 +  shlibpath_overrides_runpath=no
11558 +  hardcode_into_libs=yes
11559 +  dynamic_linker='NetBSD ld.elf_so'
11560 +  ;;
11561 +
11562   netbsd*)
11563    version_type=sunos
11564    need_lib_prefix=no
11565    need_version=no
11566    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11567 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11567 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11568      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11569      dynamic_linker='NetBSD (a.out) ld.so'
11570    else
11571 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11572 <    soname_spec='${libname}${release}${shared_ext}$major'
11571 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11572 >    soname_spec='$libname$release$shared_ext$major'
11573      dynamic_linker='NetBSD ld.elf_so'
11574    fi
11575    shlibpath_var=LD_LIBRARY_PATH
# Line 10144 | Line 11578 | netbsd*)
11578    ;;
11579  
11580   newsos6)
11581 <  version_type=linux
11582 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11581 >  version_type=linux # correct to gnu/linux during the next big refactor
11582 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11583    shlibpath_var=LD_LIBRARY_PATH
11584    shlibpath_overrides_runpath=yes
11585    ;;
# Line 10154 | Line 11588 | newsos6)
11588    version_type=qnx
11589    need_lib_prefix=no
11590    need_version=no
11591 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592 <  soname_spec='${libname}${release}${shared_ext}$major'
11591 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11592 >  soname_spec='$libname$release$shared_ext$major'
11593    shlibpath_var=LD_LIBRARY_PATH
11594    shlibpath_overrides_runpath=no
11595    hardcode_into_libs=yes
11596    dynamic_linker='ldqnx.so'
11597    ;;
11598  
11599 < openbsd*)
11599 > openbsd* | bitrig*)
11600    version_type=sunos
11601 <  sys_lib_dlsearch_path_spec="/usr/lib"
11601 >  sys_lib_dlsearch_path_spec=/usr/lib
11602    need_lib_prefix=no
11603 <  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11604 <  case $host_os in
10171 <    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10172 <    *)                          need_version=no  ;;
10173 <  esac
10174 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10175 <  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10176 <  shlibpath_var=LD_LIBRARY_PATH
10177 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10178 <    case $host_os in
10179 <      openbsd2.[89] | openbsd2.[89].*)
10180 <        shlibpath_overrides_runpath=no
10181 <        ;;
10182 <      *)
10183 <        shlibpath_overrides_runpath=yes
10184 <        ;;
10185 <      esac
11603 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11604 >    need_version=no
11605    else
11606 <    shlibpath_overrides_runpath=yes
11606 >    need_version=yes
11607    fi
11608 +  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11609 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11610 +  shlibpath_var=LD_LIBRARY_PATH
11611 +  shlibpath_overrides_runpath=yes
11612    ;;
11613  
11614   os2*)
11615    libname_spec='$name'
11616 <  shrext_cmds=".dll"
11616 >  version_type=windows
11617 >  shrext_cmds=.dll
11618 >  need_version=no
11619    need_lib_prefix=no
11620 <  library_names_spec='$libname${shared_ext} $libname.a'
11620 >  # OS/2 can only load a DLL with a base name of 8 characters or less.
11621 >  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11622 >    v=$($ECHO $release$versuffix | tr -d .-);
11623 >    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11624 >    $ECHO $n$v`$shared_ext'
11625 >  library_names_spec='${libname}_dll.$libext'
11626    dynamic_linker='OS/2 ld.exe'
11627 <  shlibpath_var=LIBPATH
11627 >  shlibpath_var=BEGINLIBPATH
11628 >  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11629 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11630 >  postinstall_cmds='base_file=`basename \$file`~
11631 >    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11632 >    dldir=$destdir/`dirname \$dlpath`~
11633 >    test -d \$dldir || mkdir -p \$dldir~
11634 >    $install_prog $dir/$dlname \$dldir/$dlname~
11635 >    chmod a+x \$dldir/$dlname~
11636 >    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11637 >      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11638 >    fi'
11639 >  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11640 >    dlpath=$dir/\$dldll~
11641 >    $RM \$dlpath'
11642    ;;
11643  
11644   osf3* | osf4* | osf5*)
11645    version_type=osf
11646    need_lib_prefix=no
11647    need_version=no
11648 <  soname_spec='${libname}${release}${shared_ext}$major'
11649 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11648 >  soname_spec='$libname$release$shared_ext$major'
11649 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11650    shlibpath_var=LD_LIBRARY_PATH
11651    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11652 <  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11652 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11653    ;;
11654  
11655   rdos*)
# Line 10213 | Line 11657 | rdos*)
11657    ;;
11658  
11659   solaris*)
11660 <  version_type=linux
11660 >  version_type=linux # correct to gnu/linux during the next big refactor
11661    need_lib_prefix=no
11662    need_version=no
11663 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11664 <  soname_spec='${libname}${release}${shared_ext}$major'
11663 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11664 >  soname_spec='$libname$release$shared_ext$major'
11665    shlibpath_var=LD_LIBRARY_PATH
11666    shlibpath_overrides_runpath=yes
11667    hardcode_into_libs=yes
# Line 10227 | Line 11671 | solaris*)
11671  
11672   sunos4*)
11673    version_type=sunos
11674 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11674 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11675    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11676    shlibpath_var=LD_LIBRARY_PATH
11677    shlibpath_overrides_runpath=yes
11678 <  if test "$with_gnu_ld" = yes; then
11678 >  if test yes = "$with_gnu_ld"; then
11679      need_lib_prefix=no
11680    fi
11681    need_version=yes
11682    ;;
11683  
11684   sysv4 | sysv4.3*)
11685 <  version_type=linux
11686 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11687 <  soname_spec='${libname}${release}${shared_ext}$major'
11685 >  version_type=linux # correct to gnu/linux during the next big refactor
11686 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11687 >  soname_spec='$libname$release$shared_ext$major'
11688    shlibpath_var=LD_LIBRARY_PATH
11689    case $host_vendor in
11690      sni)
# Line 10261 | Line 11705 | sysv4 | sysv4.3*)
11705    ;;
11706  
11707   sysv4*MP*)
11708 <  if test -d /usr/nec ;then
11709 <    version_type=linux
11710 <    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11711 <    soname_spec='$libname${shared_ext}.$major'
11708 >  if test -d /usr/nec; then
11709 >    version_type=linux # correct to gnu/linux during the next big refactor
11710 >    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11711 >    soname_spec='$libname$shared_ext.$major'
11712      shlibpath_var=LD_LIBRARY_PATH
11713    fi
11714    ;;
11715  
11716   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11717 <  version_type=freebsd-elf
11717 >  version_type=sco
11718    need_lib_prefix=no
11719    need_version=no
11720 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11721 <  soname_spec='${libname}${release}${shared_ext}$major'
11720 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11721 >  soname_spec='$libname$release$shared_ext$major'
11722    shlibpath_var=LD_LIBRARY_PATH
11723    shlibpath_overrides_runpath=yes
11724    hardcode_into_libs=yes
11725 <  if test "$with_gnu_ld" = yes; then
11725 >  if test yes = "$with_gnu_ld"; then
11726      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11727    else
11728      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
# Line 10293 | Line 11737 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11737  
11738   tpf*)
11739    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11740 <  version_type=linux
11740 >  version_type=linux # correct to gnu/linux during the next big refactor
11741    need_lib_prefix=no
11742    need_version=no
11743 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11743 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11744    shlibpath_var=LD_LIBRARY_PATH
11745    shlibpath_overrides_runpath=no
11746    hardcode_into_libs=yes
11747    ;;
11748  
11749   uts4*)
11750 <  version_type=linux
11751 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11752 <  soname_spec='${libname}${release}${shared_ext}$major'
11750 >  version_type=linux # correct to gnu/linux during the next big refactor
11751 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11752 >  soname_spec='$libname$release$shared_ext$major'
11753    shlibpath_var=LD_LIBRARY_PATH
11754    ;;
11755  
# Line 10315 | Line 11759 | uts4*)
11759   esac
11760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11761   $as_echo "$dynamic_linker" >&6; }
11762 < test "$dynamic_linker" = no && can_build_shared=no
11762 > test no = "$dynamic_linker" && can_build_shared=no
11763  
11764   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11765 < if test "$GCC" = yes; then
11765 > if test yes = "$GCC"; then
11766    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11767   fi
11768  
11769 < if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11770 <  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11769 > if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11770 >  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11771   fi
11772 < if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11773 <  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11772 >
11773 > if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11774 >  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11775   fi
11776  
11777 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11778 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11779 +
11780 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11781 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11782 +
11783 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11784 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11785 +
11786 +
11787 +
11788 +
11789 +
11790 +
11791 +
11792 +
11793 +
11794 +
11795 +
11796  
11797  
11798  
# Line 10420 | Line 11884 | $as_echo_n "checking how to hardcode lib
11884   hardcode_action=
11885   if test -n "$hardcode_libdir_flag_spec" ||
11886     test -n "$runpath_var" ||
11887 <   test "X$hardcode_automatic" = "Xyes" ; then
11887 >   test yes = "$hardcode_automatic"; then
11888  
11889    # We can hardcode non-existent directories.
11890 <  if test "$hardcode_direct" != no &&
11890 >  if test no != "$hardcode_direct" &&
11891       # If the only mechanism to avoid hardcoding is shlibpath_var, we
11892       # have to relink, otherwise we might link with an installed library
11893       # when we should be linking with a yet-to-be-installed one
11894 <     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11895 <     test "$hardcode_minus_L" != no; then
11894 >     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11895 >     test no != "$hardcode_minus_L"; then
11896      # Linking always hardcodes the temporary library directory.
11897      hardcode_action=relink
11898    else
# Line 10443 | Line 11907 | fi
11907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11908   $as_echo "$hardcode_action" >&6; }
11909  
11910 < if test "$hardcode_action" = relink ||
11911 <   test "$inherit_rpath" = yes; then
11910 > if test relink = "$hardcode_action" ||
11911 >   test yes = "$inherit_rpath"; then
11912    # Fast installation is not supported
11913    enable_fast_install=no
11914 < elif test "$shlibpath_overrides_runpath" = yes ||
11915 <     test "$enable_shared" = no; then
11914 > elif test yes = "$shlibpath_overrides_runpath" ||
11915 >     test no = "$enable_shared"; then
11916    # Fast installation is not necessary
11917    enable_fast_install=needless
11918   fi
# Line 10458 | Line 11922 | fi
11922  
11923  
11924  
11925 <  if test "x$enable_dlopen" != xyes; then
11925 >  if test yes != "$enable_dlopen"; then
11926    enable_dlopen=unknown
11927    enable_dlopen_self=unknown
11928    enable_dlopen_self_static=unknown
# Line 10468 | Line 11932 | else
11932  
11933    case $host_os in
11934    beos*)
11935 <    lt_cv_dlopen="load_add_on"
11935 >    lt_cv_dlopen=load_add_on
11936      lt_cv_dlopen_libs=
11937      lt_cv_dlopen_self=yes
11938      ;;
11939  
11940    mingw* | pw32* | cegcc*)
11941 <    lt_cv_dlopen="LoadLibrary"
11941 >    lt_cv_dlopen=LoadLibrary
11942      lt_cv_dlopen_libs=
11943      ;;
11944  
11945    cygwin*)
11946 <    lt_cv_dlopen="dlopen"
11946 >    lt_cv_dlopen=dlopen
11947      lt_cv_dlopen_libs=
11948      ;;
11949  
11950    darwin*)
11951 <  # if libdl is installed we need to link against it
11951 >    # if libdl is installed we need to link against it
11952      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11953   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11954 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11954 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11955    $as_echo_n "(cached) " >&6
11956   else
11957    ac_check_lib_save_LIBS=$LIBS
# Line 10521 | Line 11985 | LIBS=$ac_check_lib_save_LIBS
11985   fi
11986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11987   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11988 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11989 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11988 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11989 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11990   else
11991  
11992 <    lt_cv_dlopen="dyld"
11992 >    lt_cv_dlopen=dyld
11993      lt_cv_dlopen_libs=
11994      lt_cv_dlopen_self=yes
11995  
# Line 10533 | Line 11997 | fi
11997  
11998      ;;
11999  
12000 +  tpf*)
12001 +    # Don't try to run any link tests for TPF.  We know it's impossible
12002 +    # because TPF is a cross-compiler, and we know how we open DSOs.
12003 +    lt_cv_dlopen=dlopen
12004 +    lt_cv_dlopen_libs=
12005 +    lt_cv_dlopen_self=no
12006 +    ;;
12007 +
12008    *)
12009      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12010 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12011 <  lt_cv_dlopen="shl_load"
12010 > if test "x$ac_cv_func_shl_load" = xyes; then :
12011 >  lt_cv_dlopen=shl_load
12012   else
12013    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12014   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12015 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12015 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12016    $as_echo_n "(cached) " >&6
12017   else
12018    ac_check_lib_save_LIBS=$LIBS
# Line 10574 | Line 12046 | LIBS=$ac_check_lib_save_LIBS
12046   fi
12047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12048   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12049 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12050 <  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12049 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12050 >  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12051   else
12052    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12053 < if test "x$ac_cv_func_dlopen" = x""yes; then :
12054 <  lt_cv_dlopen="dlopen"
12053 > if test "x$ac_cv_func_dlopen" = xyes; then :
12054 >  lt_cv_dlopen=dlopen
12055   else
12056    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12057   $as_echo_n "checking for dlopen in -ldl... " >&6; }
12058 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12058 > if ${ac_cv_lib_dl_dlopen+:} false; then :
12059    $as_echo_n "(cached) " >&6
12060   else
12061    ac_check_lib_save_LIBS=$LIBS
# Line 10617 | Line 12089 | LIBS=$ac_check_lib_save_LIBS
12089   fi
12090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12091   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12092 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12093 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12092 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12093 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12094   else
12095    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12096   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12097 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12097 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12098    $as_echo_n "(cached) " >&6
12099   else
12100    ac_check_lib_save_LIBS=$LIBS
# Line 10656 | Line 12128 | LIBS=$ac_check_lib_save_LIBS
12128   fi
12129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12130   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12131 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12132 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12131 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12132 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12133   else
12134    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12135   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12136 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12136 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12137    $as_echo_n "(cached) " >&6
12138   else
12139    ac_check_lib_save_LIBS=$LIBS
# Line 10695 | Line 12167 | LIBS=$ac_check_lib_save_LIBS
12167   fi
12168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12169   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12170 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12171 <  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12170 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12171 >  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12172   fi
12173  
12174  
# Line 10717 | Line 12189 | fi
12189      ;;
12190    esac
12191  
12192 <  if test "x$lt_cv_dlopen" != xno; then
10721 <    enable_dlopen=yes
10722 <  else
12192 >  if test no = "$lt_cv_dlopen"; then
12193      enable_dlopen=no
12194 +  else
12195 +    enable_dlopen=yes
12196    fi
12197  
12198    case $lt_cv_dlopen in
12199    dlopen)
12200 <    save_CPPFLAGS="$CPPFLAGS"
12201 <    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12200 >    save_CPPFLAGS=$CPPFLAGS
12201 >    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12202  
12203 <    save_LDFLAGS="$LDFLAGS"
12203 >    save_LDFLAGS=$LDFLAGS
12204      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12205  
12206 <    save_LIBS="$LIBS"
12206 >    save_LIBS=$LIBS
12207      LIBS="$lt_cv_dlopen_libs $LIBS"
12208  
12209      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12210   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12211 < if test "${lt_cv_dlopen_self+set}" = set; then :
12211 > if ${lt_cv_dlopen_self+:} false; then :
12212    $as_echo_n "(cached) " >&6
12213   else
12214 <          if test "$cross_compiling" = yes; then :
12214 >          if test yes = "$cross_compiling"; then :
12215    lt_cv_dlopen_self=cross
12216   else
12217    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12218    lt_status=$lt_dlunknown
12219    cat > conftest.$ac_ext <<_LT_EOF
12220 < #line 10748 "configure"
12220 > #line $LINENO "configure"
12221   #include "confdefs.h"
12222  
12223   #if HAVE_DLFCN_H
# Line 10786 | Line 12258 | else
12258   #  endif
12259   #endif
12260  
12261 < void fnord() { int i=42;}
12261 > /* When -fvisibility=hidden is used, assume the code has been annotated
12262 >   correspondingly for the symbols needed.  */
12263 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12264 > int fnord () __attribute__((visibility("default")));
12265 > #endif
12266 >
12267 > int fnord () { return 42; }
12268   int main ()
12269   {
12270    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10795 | Line 12273 | int main ()
12273    if (self)
12274      {
12275        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12276 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12276 >      else
12277 >        {
12278 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12279 >          else puts (dlerror ());
12280 >        }
12281        /* dlclose (self); */
12282      }
12283    else
# Line 10808 | Line 12290 | _LT_EOF
12290    (eval $ac_link) 2>&5
12291    ac_status=$?
12292    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12293 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12293 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12294      (./conftest; exit; ) >&5 2>/dev/null
12295      lt_status=$?
12296      case x$lt_status in
# Line 10828 | Line 12310 | fi
12310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12311   $as_echo "$lt_cv_dlopen_self" >&6; }
12312  
12313 <    if test "x$lt_cv_dlopen_self" = xyes; then
12313 >    if test yes = "$lt_cv_dlopen_self"; then
12314        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12315        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12316   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12317 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
12317 > if ${lt_cv_dlopen_self_static+:} false; then :
12318    $as_echo_n "(cached) " >&6
12319   else
12320 <          if test "$cross_compiling" = yes; then :
12320 >          if test yes = "$cross_compiling"; then :
12321    lt_cv_dlopen_self_static=cross
12322   else
12323    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12324    lt_status=$lt_dlunknown
12325    cat > conftest.$ac_ext <<_LT_EOF
12326 < #line 10844 "configure"
12326 > #line $LINENO "configure"
12327   #include "confdefs.h"
12328  
12329   #if HAVE_DLFCN_H
# Line 10882 | Line 12364 | else
12364   #  endif
12365   #endif
12366  
12367 < void fnord() { int i=42;}
12367 > /* When -fvisibility=hidden is used, assume the code has been annotated
12368 >   correspondingly for the symbols needed.  */
12369 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12370 > int fnord () __attribute__((visibility("default")));
12371 > #endif
12372 >
12373 > int fnord () { return 42; }
12374   int main ()
12375   {
12376    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10891 | Line 12379 | int main ()
12379    if (self)
12380      {
12381        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12382 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12382 >      else
12383 >        {
12384 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12385 >          else puts (dlerror ());
12386 >        }
12387        /* dlclose (self); */
12388      }
12389    else
# Line 10904 | Line 12396 | _LT_EOF
12396    (eval $ac_link) 2>&5
12397    ac_status=$?
12398    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12399 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12399 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12400      (./conftest; exit; ) >&5 2>/dev/null
12401      lt_status=$?
12402      case x$lt_status in
# Line 10925 | Line 12417 | fi
12417   $as_echo "$lt_cv_dlopen_self_static" >&6; }
12418      fi
12419  
12420 <    CPPFLAGS="$save_CPPFLAGS"
12421 <    LDFLAGS="$save_LDFLAGS"
12422 <    LIBS="$save_LIBS"
12420 >    CPPFLAGS=$save_CPPFLAGS
12421 >    LDFLAGS=$save_LDFLAGS
12422 >    LIBS=$save_LIBS
12423      ;;
12424    esac
12425  
# Line 10971 | Line 12463 | else
12463   # FIXME - insert some real tests, host_os isn't really good enough
12464    case $host_os in
12465    darwin*)
12466 <    if test -n "$STRIP" ; then
12466 >    if test -n "$STRIP"; then
12467        striplib="$STRIP -x"
12468        old_striplib="$STRIP -S"
12469        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 10999 | Line 12491 | fi
12491  
12492  
12493  
12494 <  # Report which library types will actually be built
12494 >  # Report what library types will actually be built
12495    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12496   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12497    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
# Line 11007 | Line 12499 | $as_echo "$can_build_shared" >&6; }
12499  
12500    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12501   $as_echo_n "checking whether to build shared libraries... " >&6; }
12502 <  test "$can_build_shared" = "no" && enable_shared=no
12502 >  test no = "$can_build_shared" && enable_shared=no
12503  
12504    # On AIX, shared libraries and static libraries use the same namespace, and
12505    # are all built from PIC.
12506    case $host_os in
12507    aix3*)
12508 <    test "$enable_shared" = yes && enable_static=no
12508 >    test yes = "$enable_shared" && enable_static=no
12509      if test -n "$RANLIB"; then
12510        archive_cmds="$archive_cmds~\$RANLIB \$lib"
12511        postinstall_cmds='$RANLIB $lib'
# Line 11021 | Line 12513 | $as_echo_n "checking whether to build sh
12513      ;;
12514  
12515    aix[4-9]*)
12516 <    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12517 <      test "$enable_shared" = yes && enable_static=no
12516 >    if test ia64 != "$host_cpu"; then
12517 >      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12518 >      yes,aix,yes) ;;                   # shared object as lib.so file only
12519 >      yes,svr4,*) ;;                    # shared object as lib.so archive member only
12520 >      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12521 >      esac
12522      fi
12523      ;;
12524    esac
# Line 11032 | Line 12528 | $as_echo "$enable_shared" >&6; }
12528    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12529   $as_echo_n "checking whether to build static libraries... " >&6; }
12530    # Make sure either enable_shared or enable_static is yes.
12531 <  test "$enable_shared" = yes || enable_static=yes
12531 >  test yes = "$enable_shared" || enable_static=yes
12532    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12533   $as_echo "$enable_static" >&6; }
12534  
# Line 11046 | Line 12542 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12542   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12543   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12544  
12545 < CC="$lt_save_CC"
12545 > CC=$lt_save_CC
12546 >
12547 >
12548  
12549  
12550  
# Line 11068 | Line 12566 | CC="$lt_save_CC"
12566   # Only expand once:
12567  
12568  
12569 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12570 < $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12571 < if test "${libltdl_cv_shlibext+set}" = set; then :
12569 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12570 > $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12571 > if ${libltdl_cv_shlibext+:} false; then :
12572    $as_echo_n "(cached) " >&6
12573   else
12574  
12575   module=yes
12576   eval libltdl_cv_shlibext=$shrext_cmds
12577 + module=no
12578 + eval libltdl_cv_shrext=$shrext_cmds
12579  
12580   fi
12581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11087 | Line 12587 | cat >>confdefs.h <<_ACEOF
12587   _ACEOF
12588  
12589   fi
12590 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12591 +
12592 + cat >>confdefs.h <<_ACEOF
12593 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12594 + _ACEOF
12595 +
12596 + fi
12597 + if test -n "$shared_archive_member_spec"; then
12598 +
12599 + cat >>confdefs.h <<_ACEOF
12600 + #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12601 + _ACEOF
12602 +
12603 + fi
12604  
12605 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12606 < $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12607 < if test "${lt_cv_module_path_var+set}" = set; then :
12605 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12606 > $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12607 > if ${lt_cv_module_path_var+:} false; then :
12608    $as_echo_n "(cached) " >&6
12609   else
12610 <  lt_cv_module_path_var="$shlibpath_var"
12610 >  lt_cv_module_path_var=$shlibpath_var
12611   fi
12612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12613   $as_echo "$lt_cv_module_path_var" >&6; }
# Line 11107 | Line 12621 | fi
12621  
12622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12623   $as_echo_n "checking for the default library search path... " >&6; }
12624 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12624 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12625    $as_echo_n "(cached) " >&6
12626   else
12627 <  lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12627 >  lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
12628   fi
12629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12630   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
# Line 11118 | Line 12632 | if test -n "$lt_cv_sys_dlsearch_path"; t
12632    sys_dlsearch_path=
12633    for dir in $lt_cv_sys_dlsearch_path; do
12634      if test -z "$sys_dlsearch_path"; then
12635 <      sys_dlsearch_path="$dir"
12635 >      sys_dlsearch_path=$dir
12636      else
12637 <      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12637 >      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
12638      fi
12639    done
12640  
# Line 11140 | Line 12654 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12654   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12655   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12656  
12657 + lt_dlload_save_LIBS=$LIBS
12658  
12659   LIBADD_DLOPEN=
12660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12661   $as_echo_n "checking for library containing dlopen... " >&6; }
12662 < if test "${ac_cv_search_dlopen+set}" = set; then :
12662 > if ${ac_cv_search_dlopen+:} false; then :
12663    $as_echo_n "(cached) " >&6
12664   else
12665    ac_func_search_save_LIBS=$LIBS
# Line 11178 | Line 12693 | for ac_lib in '' dl; do
12693   fi
12694   rm -f core conftest.err conftest.$ac_objext \
12695      conftest$ac_exeext
12696 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12696 >  if ${ac_cv_search_dlopen+:} false; then :
12697    break
12698   fi
12699   done
12700 < if test "${ac_cv_search_dlopen+set}" = set; then :
12700 > if ${ac_cv_search_dlopen+:} false; then :
12701  
12702   else
12703    ac_cv_search_dlopen=no
# Line 11198 | Line 12713 | if test "$ac_res" != no; then :
12713  
12714   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12715  
12716 <        if test "$ac_cv_search_dlopen" != "none required" ; then
12717 <          LIBADD_DLOPEN="-ldl"
12716 >        if test "$ac_cv_search_dlopen" != "none required"; then
12717 >          LIBADD_DLOPEN=-ldl
12718          fi
12719 <        libltdl_cv_lib_dl_dlopen="yes"
12719 >        libltdl_cv_lib_dl_dlopen=yes
12720          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12721   else
12722    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 11222 | Line 12737 | if ac_fn_c_try_link "$LINENO"; then :
12737  
12738   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12739  
12740 <            libltdl_cv_func_dlopen="yes"
12740 >            libltdl_cv_func_dlopen=yes
12741              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12742   else
12743    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12744   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12745 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12745 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12746    $as_echo_n "(cached) " >&6
12747   else
12748    ac_check_lib_save_LIBS=$LIBS
# Line 11261 | Line 12776 | LIBS=$ac_check_lib_save_LIBS
12776   fi
12777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12778   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12779 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12779 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12780  
12781   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12782  
12783 <                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12783 >                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
12784                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12785   fi
12786  
# Line 11274 | Line 12789 | rm -f core conftest.err conftest.$ac_obj
12789      conftest$ac_exeext conftest.$ac_ext
12790   fi
12791  
12792 < if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12792 > if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
12793   then
12794 <  lt_save_LIBS="$LIBS"
12794 >  lt_save_LIBS=$LIBS
12795    LIBS="$LIBS $LIBADD_DLOPEN"
12796    for ac_func in dlerror
12797   do :
12798    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12799 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12799 > if test "x$ac_cv_func_dlerror" = xyes; then :
12800    cat >>confdefs.h <<_ACEOF
12801   #define HAVE_DLERROR 1
12802   _ACEOF
# Line 11289 | Line 12804 | _ACEOF
12804   fi
12805   done
12806  
12807 <  LIBS="$lt_save_LIBS"
12807 >  LIBS=$lt_save_LIBS
12808   fi
12809  
12810  
12811   LIBADD_SHL_LOAD=
12812   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12813 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12813 > if test "x$ac_cv_func_shl_load" = xyes; then :
12814  
12815   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12816  
# Line 11303 | Line 12818 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12818   else
12819    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12820   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12821 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12821 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12822    $as_echo_n "(cached) " >&6
12823   else
12824    ac_check_lib_save_LIBS=$LIBS
# Line 11337 | Line 12852 | LIBS=$ac_check_lib_save_LIBS
12852   fi
12853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12854   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12855 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12855 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12856  
12857   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12858  
12859              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12860 <            LIBADD_SHL_LOAD="-ldld"
12860 >            LIBADD_SHL_LOAD=-ldld
12861   fi
12862  
12863   fi
# Line 11353 | Line 12868 | case $host_os in
12868   darwin[1567].*)
12869   # We only want this for pre-Mac OS X 10.4.
12870    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12871 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12871 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12872  
12873   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12874  
# Line 11364 | Line 12879 | fi
12879   beos*)
12880    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12881    ;;
12882 < cygwin* | mingw* | os2* | pw32*)
12882 > cygwin* | mingw* | pw32*)
12883    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12884   "
12885 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12885 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12886    ac_have_decl=1
12887   else
12888    ac_have_decl=0
# Line 11383 | Line 12898 | esac
12898  
12899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12900   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12901 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12901 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12902    $as_echo_n "(cached) " >&6
12903   else
12904    ac_check_lib_save_LIBS=$LIBS
# Line 11417 | Line 12932 | LIBS=$ac_check_lib_save_LIBS
12932   fi
12933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12934   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12935 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12935 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12936  
12937   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12938  
# Line 11442 | Line 12957 | fi
12957   LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12958  
12959  
12960 + LIBS=$lt_dlload_save_LIBS
12961   ac_ext=c
12962   ac_cpp='$CPP $CPPFLAGS'
12963   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 11451 | Line 12967 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12967  
12968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12969   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12970 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12970 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12971    $as_echo_n "(cached) " >&6
12972   else
12973    lt_cv_sys_symbol_underscore=no
# Line 11496 | Line 13012 | $as_echo "$lt_cv_sys_symbol_underscore"
13012    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
13013  
13014  
13015 < if test x"$lt_cv_sys_symbol_underscore" = xyes; then
13016 <  if test x"$libltdl_cv_func_dlopen" = xyes ||
13017 <     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11502 <        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13015 > if test yes = "$lt_cv_sys_symbol_underscore"; then
13016 >  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
13017 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13018   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
13019 < if test "${libltdl_cv_need_uscore+set}" = set; then :
13019 > if ${libltdl_cv_need_uscore+:} false; then :
13020    $as_echo_n "(cached) " >&6
13021   else
13022    libltdl_cv_need_uscore=unknown
13023 <          save_LIBS="$LIBS"
13024 <          LIBS="$LIBS $LIBADD_DLOPEN"
13025 <          if test "$cross_compiling" = yes; then :
13026 <  libltdl_cv_need_uscore=cross
13027 < else
11513 <  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 <  lt_status=$lt_dlunknown
11515 <  cat > conftest.$ac_ext <<_LT_EOF
11516 < #line 11516 "configure"
13023 >      dlsym_uscore_save_LIBS=$LIBS
13024 >      LIBS="$LIBS $LIBADD_DLOPEN"
13025 >      libname=conftmod # stay within 8.3 filename limits!
13026 >      cat >$libname.$ac_ext <<_LT_EOF
13027 > #line $LINENO "configure"
13028   #include "confdefs.h"
13029 + /* When -fvisibility=hidden is used, assume the code has been annotated
13030 +   correspondingly for the symbols needed.  */
13031 + #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13032 + int fnord () __attribute__((visibility("default")));
13033 + #endif
13034 + int fnord () { return 42; }
13035 + _LT_EOF
13036  
13037 +      # ltfn_module_cmds module_cmds
13038 +      # Execute tilde-delimited MODULE_CMDS with environment primed for
13039 +      # $module_cmds or $archive_cmds type content.
13040 +      ltfn_module_cmds ()
13041 +      {( # subshell avoids polluting parent global environment
13042 +          module_cmds_save_ifs=$IFS; IFS='~'
13043 +          for cmd in $1; do
13044 +            IFS=$module_cmds_save_ifs
13045 +            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
13046 +            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
13047 +            major=; versuffix=; verstring=; deplibs=
13048 +            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
13049 +            eval $cmd
13050 +          done
13051 +          IFS=$module_cmds_save_ifs
13052 +      )}
13053 +
13054 +      # Compile a loadable module using libtool macro expansion results.
13055 +      $CC $pic_flag -c $libname.$ac_ext
13056 +      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
13057 +
13058 +      # Try to fetch fnord with dlsym().
13059 +      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
13060 +      cat >conftest.$ac_ext <<_LT_EOF
13061 + #line $LINENO "configure"
13062 + #include "confdefs.h"
13063   #if HAVE_DLFCN_H
13064   #include <dlfcn.h>
13065   #endif
11522 –
13066   #include <stdio.h>
13067 <
11525 < #ifdef RTLD_GLOBAL
11526 < #  define LT_DLGLOBAL           RTLD_GLOBAL
11527 < #else
13067 > #ifndef RTLD_GLOBAL
13068   #  ifdef DL_GLOBAL
13069 < #    define LT_DLGLOBAL         DL_GLOBAL
13069 > #    define RTLD_GLOBAL DL_GLOBAL
13070   #  else
13071 < #    define LT_DLGLOBAL         0
13071 > #    define RTLD_GLOBAL 0
13072   #  endif
13073   #endif
13074 <
13075 < /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13076 <   find out it does not work in some platform. */
11537 < #ifndef LT_DLLAZY_OR_NOW
11538 < #  ifdef RTLD_LAZY
11539 < #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13074 > #ifndef RTLD_NOW
13075 > #  ifdef DL_NOW
13076 > #    define RTLD_NOW DL_NOW
13077   #  else
13078 < #    ifdef DL_LAZY
11542 < #      define LT_DLLAZY_OR_NOW          DL_LAZY
11543 < #    else
11544 < #      ifdef RTLD_NOW
11545 < #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11546 < #      else
11547 < #        ifdef DL_NOW
11548 < #          define LT_DLLAZY_OR_NOW      DL_NOW
11549 < #        else
11550 < #          define LT_DLLAZY_OR_NOW      0
11551 < #        endif
11552 < #      endif
11553 < #    endif
13078 > #    define RTLD_NOW 0
13079   #  endif
13080   #endif
13081 <
13082 < void fnord() { int i=42;}
13083 < int main ()
13084 < {
13085 <  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13086 <  int status = $lt_dlunknown;
13087 <
13088 <  if (self)
13089 <    {
13090 <      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13091 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11567 <      /* dlclose (self); */
13081 > int main () {
13082 >  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
13083 >  int status = $libltdl_dlunknown;
13084 >  if (handle) {
13085 >    if (dlsym (handle, "fnord"))
13086 >      status = $libltdl_dlnouscore;
13087 >    else {
13088 >      if (dlsym (handle, "_fnord"))
13089 >        status = $libltdl_dluscore;
13090 >      else
13091 >        puts (dlerror ());
13092      }
13093 <  else
13093 >    dlclose (handle);
13094 >  } else
13095      puts (dlerror ());
11571 –
13096    return status;
13097   }
13098   _LT_EOF
13099 <  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13099 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13100    (eval $ac_link) 2>&5
13101    ac_status=$?
13102    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13103 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13104 <    (./conftest; exit; ) >&5 2>/dev/null
13105 <    lt_status=$?
13106 <    case x$lt_status in
13107 <      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
13108 <      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
13109 <      x$lt_dlunknown|x*)  ;;
13110 <    esac
13111 <  else :
13112 <    # compilation failed
13113 <
11590 <  fi
11591 < fi
11592 < rm -fr conftest*
11593 <
11594 <          LIBS="$save_LIBS"
13103 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13104 >        (./conftest; exit; ) >&5 2>/dev/null
13105 >        libltdl_status=$?
13106 >        case x$libltdl_status in
13107 >          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
13108 >          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
13109 >          x*) libltdl_cv_need_uscore=unknown ;;
13110 >        esac
13111 >      fi
13112 >      rm -rf conftest* $libname*
13113 >      LIBS=$dlsym_uscore_save_LIBS
13114  
13115   fi
13116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
# Line 11599 | Line 13118 | $as_echo "$libltdl_cv_need_uscore" >&6;
13118    fi
13119   fi
13120  
13121 < if test x"$libltdl_cv_need_uscore" = xyes; then
13121 > if test yes = "$libltdl_cv_need_uscore"; then
13122  
13123   $as_echo "#define NEED_USCORE 1" >>confdefs.h
13124  
# Line 11607 | Line 13126 | fi
13126  
13127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
13128   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
13129 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
13129 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
13130    $as_echo_n "(cached) " >&6
13131   else
13132    # PORTME does your system automatically load deplibs for dlopen?
# Line 11618 | Line 13137 | else
13137    case $host_os in
13138    aix3*|aix4.1.*|aix4.2.*)
13139      # Unknown whether this is true for these versions of AIX, but
13140 <    # we want this `case' here to explicitly catch those versions.
13140 >    # we want this 'case' here to explicitly catch those versions.
13141      lt_cv_sys_dlopen_deplibs=unknown
13142      ;;
13143    aix[4-9]*)
# Line 11631 | Line 13150 | else
13150        ;;
13151      esac
13152      ;;
13153 +  bitrig*)
13154 +    lt_cv_sys_dlopen_deplibs=yes
13155 +    ;;
13156    darwin*)
13157      # Assuming the user has installed a libdl from somewhere, this is true
13158      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
# Line 11639 | Line 13161 | else
13161    freebsd* | dragonfly*)
13162      lt_cv_sys_dlopen_deplibs=yes
13163      ;;
13164 <  gnu* | linux* | k*bsd*-gnu)
13164 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
13165      # GNU and its variants, using gnu ld.so (Glibc)
13166      lt_cv_sys_dlopen_deplibs=yes
13167      ;;
# Line 11659 | Line 13181 | else
13181      # at 6.2 and later dlopen does load deplibs.
13182      lt_cv_sys_dlopen_deplibs=yes
13183      ;;
13184 <  netbsd*)
13184 >  netbsd* | netbsdelf*-gnu)
13185      lt_cv_sys_dlopen_deplibs=yes
13186      ;;
13187    openbsd*)
# Line 11668 | Line 13190 | else
13190    osf[1234]*)
13191      # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
13192      # it did *not* use an RPATH in a shared library to find objects the
13193 <    # library depends on, so we explicitly say `no'.
13193 >    # library depends on, so we explicitly say 'no'.
13194      lt_cv_sys_dlopen_deplibs=no
13195      ;;
13196    osf5.0|osf5.0a|osf5.1)
# Line 11677 | Line 13199 | else
13199      # that the library depends on, but there's no easy way to know if that
13200      # patch is installed.  Since this is the case, all we can really
13201      # say is unknown -- it depends on the patch being installed.  If
13202 <    # it is, this changes to `yes'.  Without it, it would be `no'.
13202 >    # it is, this changes to 'yes'.  Without it, it would be 'no'.
13203      lt_cv_sys_dlopen_deplibs=unknown
13204      ;;
13205    osf*)
13206      # the two cases above should catch all versions of osf <= 5.1.  Read
13207      # the comments above for what we know about them.
13208      # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
13209 <    # is used to find them so we can finally say `yes'.
13209 >    # is used to find them so we can finally say 'yes'.
13210      lt_cv_sys_dlopen_deplibs=yes
13211      ;;
13212    qnx*)
# Line 11701 | Line 13223 | else
13223   fi
13224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13225   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13226 < if test "$lt_cv_sys_dlopen_deplibs" != yes; then
13226 > if test yes != "$lt_cv_sys_dlopen_deplibs"; then
13227  
13228   $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13229  
13230   fi
13231  
11710 – :
13232  
13233   for ac_header in argz.h
13234   do :
13235    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13236   "
13237 < if test "x$ac_cv_header_argz_h" = x""yes; then :
13237 > if test "x$ac_cv_header_argz_h" = xyes; then :
13238    cat >>confdefs.h <<_ACEOF
13239   #define HAVE_ARGZ_H 1
13240   _ACEOF
# Line 11727 | Line 13248 | ac_fn_c_check_type "$LINENO" "error_t" "
13248   #  include <argz.h>
13249   #endif
13250   "
13251 < if test "x$ac_cv_type_error_t" = x""yes; then :
13251 > if test "x$ac_cv_type_error_t" = xyes; then :
13252  
13253   cat >>confdefs.h <<_ACEOF
13254   #define HAVE_ERROR_T 1
# Line 11744 | Line 13265 | $as_echo "#define __error_t_defined 1" >
13265   fi
13266  
13267  
13268 < ARGZ_H=
13268 > LT_ARGZ_H=
13269   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13270          argz_next argz_stringify
13271   do :
13272    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13273   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13274 < eval as_val=\$$as_ac_var
11754 <   if test "x$as_val" = x""yes; then :
13274 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13275    cat >>confdefs.h <<_ACEOF
13276   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13277   _ACEOF
13278  
13279   else
13280 <  ARGZ_H=argz.h;
13280 >  LT_ARGZ_H=lt__argz.h;
13281  
13282 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13282 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13283  
13284   fi
13285   done
13286  
13287  
13288 < if test -z "$ARGZ_H"; then :
13288 > if test -z "$LT_ARGZ_H"; then :
13289    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13290   $as_echo_n "checking if argz actually works... " >&6; }
13291 < if test "${lt_cv_sys_argz_works+set}" = set; then :
13291 > if ${lt_cv_sys_argz_works+:} false; then :
13292    $as_echo_n "(cached) " >&6
13293   else
13294    case $host_os in #(
13295           *cygwin*)
13296             lt_cv_sys_argz_works=no
13297 <           if test "$cross_compiling" != no; then
13297 >           if test no != "$cross_compiling"; then
13298               lt_cv_sys_argz_works="guessing no"
13299             else
13300               lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
# Line 11785 | Line 13305 | else
13305               lt_os_major=${2-0}
13306               lt_os_minor=${3-0}
13307               lt_os_micro=${4-0}
13308 <             if test "$lt_os_major" -gt 1 \
13309 <                || { test "$lt_os_major" -eq 1 \
13310 <                  && { test "$lt_os_minor" -gt 5 \
13311 <                    || { test "$lt_os_minor" -eq 5 \
13312 <                      && test "$lt_os_micro" -gt 24; }; }; }; then
13308 >             if test 1 -lt "$lt_os_major" \
13309 >                || { test 1 -eq "$lt_os_major" \
13310 >                  && { test 5 -lt "$lt_os_minor" \
13311 >                    || { test 5 -eq "$lt_os_minor" \
13312 >                      && test 24 -lt "$lt_os_micro"; }; }; }; then
13313                 lt_cv_sys_argz_works=yes
13314               fi
13315             fi
# Line 11799 | Line 13319 | else
13319   fi
13320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13321   $as_echo "$lt_cv_sys_argz_works" >&6; }
13322 <     if test $lt_cv_sys_argz_works = yes; then :
13322 >     if test yes = "$lt_cv_sys_argz_works"; then :
13323  
13324   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13325  
13326   else
13327 <  ARGZ_H=argz.h
13327 >  LT_ARGZ_H=lt__argz.h
13328  
13329  
13330 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13330 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13331  
13332   fi
13333   fi
# Line 11816 | Line 13336 | fi
13336  
13337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13338   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13339 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
13339 > if ${libltdl_cv_preloaded_symbols+:} false; then :
13340    $as_echo_n "(cached) " >&6
13341   else
13342    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11828 | Line 13348 | else
13348   fi
13349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13350   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13351 < if test x"$libltdl_cv_preloaded_symbols" = xyes; then
13351 > if test yes = "$libltdl_cv_preloaded_symbols"; then
13352  
13353   $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13354  
13355   fi
13356  
11837 –
11838 –
13357   # Set options
13358  
13359  
# Line 11848 | Line 13366 | fi
13366  
13367  
13368  
11851 –
13369   # Check whether --with-included_ltdl was given.
13370   if test "${with_included_ltdl+set}" = set; then :
13371    withval=$with_included_ltdl;
13372   fi
13373  
13374  
13375 < if test "x$with_included_ltdl" != xyes; then
13375 > if test yes != "$with_included_ltdl"; then
13376    # We are not being forced to use the included libltdl sources, so
13377    # decide whether there is a useful installed version we can use.
13378    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13379  
13380   "
13381 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
13381 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
13382    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13383              #include <ltdl.h>
13384   "
13385 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
13385 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
13386    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13387   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13388 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
13388 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
13389    $as_echo_n "(cached) " >&6
13390   else
13391    ac_check_lib_save_LIBS=$LIBS
# Line 11902 | Line 13419 | LIBS=$ac_check_lib_save_LIBS
13419   fi
13420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13421   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13422 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
13422 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
13423    with_included_ltdl=no
13424   else
13425    with_included_ltdl=yes
# Line 11922 | Line 13439 | fi
13439  
13440  
13441  
11925 –
11926 –
11927 –
11928 –
11929 –
13442   # Check whether --with-ltdl_include was given.
13443   if test "${with_ltdl_include+set}" = set; then :
13444    withval=$with_ltdl_include;
# Line 11936 | Line 13448 | fi
13448   if test -n "$with_ltdl_include"; then
13449    if test -f "$with_ltdl_include/ltdl.h"; then :
13450    else
13451 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13451 >    as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
13452    fi
13453   else
13454    with_ltdl_include=no
# Line 11952 | Line 13464 | fi
13464   if test -n "$with_ltdl_lib"; then
13465    if test -f "$with_ltdl_lib/libltdl.la"; then :
13466    else
13467 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13467 >    as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
13468    fi
13469   else
13470    with_ltdl_lib=no
# Line 11961 | Line 13473 | fi
13473   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13474    ,yes,no,no,)
13475          case $enable_ltdl_convenience in
13476 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13476 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13477    "") enable_ltdl_convenience=yes
13478        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13479   esac
13480 < LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13480 > LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13481   LTDLDEPS=$LIBLTDL
13482 < LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13482 > LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13483  
13484  
13485  
13486  
13487  
13488   # For backwards non-gettext consistent compatibility...
13489 < INCLTDL="$LTDLINCL"
13489 > INCLTDL=$LTDLINCL
13490  
13491  
13492          ;;
# Line 11989 | Line 13501 | $as_echo "#define HAVE_LTDL 1" >>confdef
13501          LTDLINCL=
13502          ;;
13503    ,no*,no,*)
13504 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13504 >        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
13505          ;;
13506    *)    with_included_ltdl=no
13507          LIBLTDL="-L$with_ltdl_lib -lltdl"
13508          LTDLDEPS=
13509 <        LTDLINCL="-I$with_ltdl_include"
13509 >        LTDLINCL=-I$with_ltdl_include
13510          ;;
13511   esac
13512 < INCLTDL="$LTDLINCL"
13512 > INCLTDL=$LTDLINCL
13513  
13514   # Report our decision...
13515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
# Line 12017 | Line 13529 | if test "${enable_ltdl_install+set}" = s
13529   fi
13530  
13531  
13532 < case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13532 > case ,$enable_ltdl_install,$enable_ltdl_convenience in
13533    *yes*) ;;
13534    *) enable_ltdl_convenience=yes ;;
13535   esac
13536  
13537 < if test x"${enable_ltdl_install-no}" != xno; then
13537 > if test no != "${enable_ltdl_install-no}"; then
13538    INSTALL_LTDL_TRUE=
13539    INSTALL_LTDL_FALSE='#'
13540   else
# Line 12030 | Line 13542 | else
13542    INSTALL_LTDL_FALSE=
13543   fi
13544  
13545 <  if test x"${enable_ltdl_convenience-no}" != xno; then
13545 >  if test no != "${enable_ltdl_convenience-no}"; then
13546    CONVENIENCE_LTDL_TRUE=
13547    CONVENIENCE_LTDL_FALSE='#'
13548   else
# Line 12040 | Line 13552 | fi
13552  
13553  
13554  
12043 –    subdirs="$subdirs libltdl"
12044 –
12045 –
13555  
13556  
13557  
# Line 12059 | Line 13568 | do :
13568    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13569   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13570   "
13571 < eval as_val=\$$as_ac_Header
12063 <   if test "x$as_val" = x""yes; then :
13571 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13572    cat >>confdefs.h <<_ACEOF
13573   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13574   _ACEOF
# Line 12074 | Line 13582 | for ac_func in closedir opendir readdir
13582   do :
13583    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13584   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13585 < eval as_val=\$$as_ac_var
12078 <   if test "x$as_val" = x""yes; then :
13585 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13586    cat >>confdefs.h <<_ACEOF
13587   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13588   _ACEOF
# Line 12092 | Line 13599 | for ac_func in strlcat strlcpy
13599   do :
13600    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13601   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13602 < eval as_val=\$$as_ac_var
12096 <   if test "x$as_val" = x""yes; then :
13602 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13603    cat >>confdefs.h <<_ACEOF
13604   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13605   _ACEOF
# Line 12113 | Line 13619 | cat >>confdefs.h <<_ACEOF
13619   _ACEOF
13620  
13621  
13622 + name=
13623 + eval "lt_libprefix=\"$libname_spec\""
13624 +
13625 + cat >>confdefs.h <<_ACEOF
13626 + #define LT_LIBPREFIX "$lt_libprefix"
13627 + _ACEOF
13628 +
13629 +
13630   name=ltdl
13631 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13631 > eval "LTDLOPEN=\"$libname_spec\""
13632  
13633  
13634  
# Line 12128 | Line 13642 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13642  
13643   LIBTOOL="$LIBTOOL --silent"
13644  
12131 –
13645   # Checks for libraries.
13646  
13647 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13648 < $as_echo_n "checking for library containing socket... " >&6; }
13649 < if test "${ac_cv_search_socket+set}" = set; then :
13647 >
13648 >  if test "X$CC" != "X"; then
13649 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
13650 > $as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
13651 > if ${ssp_cv_cc+:} false; then :
13652 >  $as_echo_n "(cached) " >&6
13653 > else
13654 >  ssp_old_cflags="$CFLAGS"
13655 >       CFLAGS="$CFLAGS -fstack-protector-strong"
13656 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 > /* end confdefs.h.  */
13658 >
13659 > int
13660 > main ()
13661 > {
13662 >
13663 >  ;
13664 >  return 0;
13665 > }
13666 > _ACEOF
13667 > if ac_fn_c_try_compile "$LINENO"; then :
13668 >  ssp_cv_cc=yes
13669 > else
13670 >  ssp_cv_cc=no
13671 > fi
13672 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13673 >       CFLAGS="$ssp_old_cflags"
13674 >
13675 > fi
13676 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13677 > $as_echo "$ssp_cv_cc" >&6; }
13678 >    if test $ssp_cv_cc = yes; then
13679 >      CFLAGS="$CFLAGS -fstack-protector-strong"
13680 >
13681 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13682 >
13683 >    else
13684 >      unset ssp_cv_cc
13685 >      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13686 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13687 > if ${ssp_cv_cc+:} false; then :
13688 >  $as_echo_n "(cached) " >&6
13689 > else
13690 >  ssp_old_cflags="$CFLAGS"
13691 >         CFLAGS="$CFLAGS -fstack-protector"
13692 >         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13693 > /* end confdefs.h.  */
13694 >
13695 > int
13696 > main ()
13697 > {
13698 >
13699 >  ;
13700 >  return 0;
13701 > }
13702 > _ACEOF
13703 > if ac_fn_c_try_compile "$LINENO"; then :
13704 >  ssp_cv_cc=yes
13705 > else
13706 >  ssp_cv_cc=no
13707 > fi
13708 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13709 >         CFLAGS="$ssp_old_cflags"
13710 >
13711 > fi
13712 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13713 > $as_echo "$ssp_cv_cc" >&6; }
13714 >      if test $ssp_cv_cc = yes; then
13715 >        CFLAGS="$CFLAGS -fstack-protector"
13716 >
13717 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13718 >
13719 >      fi
13720 >    fi
13721 >  fi
13722 >
13723 >
13724 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13725 > $as_echo_n "checking whether libssp exists... " >&6; }
13726 > if ${ssp_cv_lib+:} false; then :
13727 >  $as_echo_n "(cached) " >&6
13728 > else
13729 >  ssp_old_libs="$LIBS"
13730 >     LIBS="$LIBS -lssp"
13731 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 > /* end confdefs.h.  */
13733 >
13734 > int
13735 > main ()
13736 > {
13737 >
13738 >  ;
13739 >  return 0;
13740 > }
13741 > _ACEOF
13742 > if ac_fn_c_try_link "$LINENO"; then :
13743 >  ssp_cv_lib=yes
13744 > else
13745 >  ssp_cv_lib=no
13746 > fi
13747 > rm -f core conftest.err conftest.$ac_objext \
13748 >    conftest$ac_exeext conftest.$ac_ext
13749 >     LIBS="$ssp_old_libs"
13750 >
13751 > fi
13752 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13753 > $as_echo "$ssp_cv_lib" >&6; }
13754 >  if test $ssp_cv_lib = yes; then
13755 >    LIBS="$LIBS -lssp"
13756 >  fi
13757 >
13758 >
13759 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13760 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13761 >
13762 > else
13763 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13764 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13765 > if ${ac_cv_search_getaddrinfo+:} false; then :
13766    $as_echo_n "(cached) " >&6
13767   else
13768    ac_func_search_save_LIBS=$LIBS
# Line 12146 | Line 13775 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13775   #ifdef __cplusplus
13776   extern "C"
13777   #endif
13778 < char socket ();
13778 > char getaddrinfo ();
13779   int
13780   main ()
13781   {
13782 < return socket ();
13782 > return getaddrinfo ();
13783    ;
13784    return 0;
13785   }
13786   _ACEOF
13787 < for ac_lib in '' socket; do
13787 > for ac_lib in '' nsl; do
13788    if test -z "$ac_lib"; then
13789      ac_res="none required"
13790    else
# Line 12163 | Line 13792 | for ac_lib in '' socket; do
13792      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13793    fi
13794    if ac_fn_c_try_link "$LINENO"; then :
13795 <  ac_cv_search_socket=$ac_res
13795 >  ac_cv_search_getaddrinfo=$ac_res
13796   fi
13797   rm -f core conftest.err conftest.$ac_objext \
13798      conftest$ac_exeext
13799 <  if test "${ac_cv_search_socket+set}" = set; then :
13799 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13800    break
13801   fi
13802   done
13803 < if test "${ac_cv_search_socket+set}" = set; then :
13803 > if ${ac_cv_search_getaddrinfo+:} false; then :
13804  
13805   else
13806 <  ac_cv_search_socket=no
13806 >  ac_cv_search_getaddrinfo=no
13807   fi
13808   rm conftest.$ac_ext
13809   LIBS=$ac_func_search_save_LIBS
13810   fi
13811 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13812 < $as_echo "$ac_cv_search_socket" >&6; }
13813 < ac_res=$ac_cv_search_socket
13811 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13812 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13813 > ac_res=$ac_cv_search_getaddrinfo
13814   if test "$ac_res" != no; then :
13815    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13816  
12188 – else
12189 –  as_fn_error "socket library not found" "$LINENO" 5
13817   fi
13818  
12192 –  for ac_func in inet_aton inet_ntop inet_pton
12193 – do :
12194 –  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12195 – ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12196 – eval as_val=\$$as_ac_var
12197 –   if test "x$as_val" = x""yes; then :
12198 –  cat >>confdefs.h <<_ACEOF
12199 – #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12200 – _ACEOF
12201 –
13819   fi
12203 – done
13820  
13821 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13822 <   #include <sys/socket.h>
12207 <   #include <netdb.h>
13821 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13822 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13823  
13824 < "
13825 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13824 > else
13825 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13826 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13827 > if ${ac_cv_search_getnameinfo+:} false; then :
13828 >  $as_echo_n "(cached) " >&6
13829 > else
13830 >  ac_func_search_save_LIBS=$LIBS
13831 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13832 > /* end confdefs.h.  */
13833  
13834 < cat >>confdefs.h <<_ACEOF
13835 < #define HAVE_STRUCT_SOCKADDR_IN 1
13834 > /* Override any GCC internal prototype to avoid an error.
13835 >   Use char because int might match the return type of a GCC
13836 >   builtin and then its argument prototype would still apply.  */
13837 > #ifdef __cplusplus
13838 > extern "C"
13839 > #endif
13840 > char getnameinfo ();
13841 > int
13842 > main ()
13843 > {
13844 > return getnameinfo ();
13845 >  ;
13846 >  return 0;
13847 > }
13848   _ACEOF
13849 <
13850 <
13849 > for ac_lib in '' nsl; do
13850 >  if test -z "$ac_lib"; then
13851 >    ac_res="none required"
13852 >  else
13853 >    ac_res=-l$ac_lib
13854 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13855 >  fi
13856 >  if ac_fn_c_try_link "$LINENO"; then :
13857 >  ac_cv_search_getnameinfo=$ac_res
13858   fi
13859 < ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13860 <   #include <sys/socket.h>
13861 <   #include <netdb.h>
13862 <
12222 < "
12223 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12224 <
12225 < cat >>confdefs.h <<_ACEOF
12226 < #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12227 < _ACEOF
12228 <
12229 <
13859 > rm -f core conftest.err conftest.$ac_objext \
13860 >    conftest$ac_exeext
13861 >  if ${ac_cv_search_getnameinfo+:} false; then :
13862 >  break
13863   fi
13864 < ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13865 <   #include <sys/socket.h>
12233 <   #include <netdb.h>
12234 <
12235 < "
12236 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12237 <
12238 < cat >>confdefs.h <<_ACEOF
12239 < #define HAVE_STRUCT_ADDRINFO 1
12240 < _ACEOF
12241 <
13864 > done
13865 > if ${ac_cv_search_getnameinfo+:} false; then :
13866  
13867 + else
13868 +  ac_cv_search_getnameinfo=no
13869   fi
13870 <
13871 <  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12246 <  <sys/socket.h>
12247 < "
12248 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12249 <
12250 < cat >>confdefs.h <<_ACEOF
12251 < #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
12252 < _ACEOF
12253 <
12254 <
13870 > rm conftest.$ac_ext
13871 > LIBS=$ac_func_search_save_LIBS
13872   fi
13873 <
13874 <
13875 <
13876 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13877 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
12261 <
12262 < cat >>confdefs.h <<_ACEOF
12263 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12264 < _ACEOF
12265 <
12266 <
12267 < else
12268 <
12269 < $as_echo "#define IPV6 1" >>confdefs.h
13873 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13874 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
13875 > ac_res=$ac_cv_search_getnameinfo
13876 > if test "$ac_res" != no; then :
13877 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13878  
13879   fi
13880  
13881 + fi
13882  
13883 <
13884 <
13885 < # Checks for typedefs, structures, and compiler characteristics.
12277 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12278 < $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12279 < if test "${ac_cv_c_const+set}" = set; then :
13883 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13884 > $as_echo_n "checking for library containing socket... " >&6; }
13885 > if ${ac_cv_search_socket+:} false; then :
13886    $as_echo_n "(cached) " >&6
13887   else
13888 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 >  ac_func_search_save_LIBS=$LIBS
13889 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890   /* end confdefs.h.  */
13891  
13892 + /* Override any GCC internal prototype to avoid an error.
13893 +   Use char because int might match the return type of a GCC
13894 +   builtin and then its argument prototype would still apply.  */
13895 + #ifdef __cplusplus
13896 + extern "C"
13897 + #endif
13898 + char socket ();
13899   int
13900   main ()
13901   {
13902 < /* FIXME: Include the comments suggested by Paul. */
12289 < #ifndef __cplusplus
12290 <  /* Ultrix mips cc rejects this.  */
12291 <  typedef int charset[2];
12292 <  const charset cs;
12293 <  /* SunOS 4.1.1 cc rejects this.  */
12294 <  char const *const *pcpcc;
12295 <  char **ppc;
12296 <  /* NEC SVR4.0.2 mips cc rejects this.  */
12297 <  struct point {int x, y;};
12298 <  static struct point const zero = {0,0};
12299 <  /* AIX XL C 1.02.0.0 rejects this.
12300 <     It does not let you subtract one const X* pointer from another in
12301 <     an arm of an if-expression whose if-part is not a constant
12302 <     expression */
12303 <  const char *g = "string";
12304 <  pcpcc = &g + (g ? g-g : 0);
12305 <  /* HPUX 7.0 cc rejects these. */
12306 <  ++pcpcc;
12307 <  ppc = (char**) pcpcc;
12308 <  pcpcc = (char const *const *) ppc;
12309 <  { /* SCO 3.2v4 cc rejects this.  */
12310 <    char *t;
12311 <    char const *s = 0 ? (char *) 0 : (char const *) 0;
12312 <
12313 <    *t++ = 0;
12314 <    if (s) return 0;
12315 <  }
12316 <  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12317 <    int x[] = {25, 17};
12318 <    const int *foo = &x[0];
12319 <    ++foo;
12320 <  }
12321 <  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12322 <    typedef const int *iptr;
12323 <    iptr p = 0;
12324 <    ++p;
12325 <  }
12326 <  { /* AIX XL C 1.02.0.0 rejects this saying
12327 <       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12328 <    struct s { int j; const int *ap[3]; };
12329 <    struct s *b; b->j = 5;
12330 <  }
12331 <  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12332 <    const int foo = 10;
12333 <    if (!foo) return 0;
12334 <  }
12335 <  return !cs[0] && !zero.x;
12336 < #endif
12337 <
13902 > return socket ();
13903    ;
13904    return 0;
13905   }
13906   _ACEOF
13907 < if ac_fn_c_try_compile "$LINENO"; then :
13908 <  ac_cv_c_const=yes
13909 < else
13910 <  ac_cv_c_const=no
13907 > for ac_lib in '' socket; do
13908 >  if test -z "$ac_lib"; then
13909 >    ac_res="none required"
13910 >  else
13911 >    ac_res=-l$ac_lib
13912 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13913 >  fi
13914 >  if ac_fn_c_try_link "$LINENO"; then :
13915 >  ac_cv_search_socket=$ac_res
13916   fi
13917 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13917 > rm -f core conftest.err conftest.$ac_objext \
13918 >    conftest$ac_exeext
13919 >  if ${ac_cv_search_socket+:} false; then :
13920 >  break
13921   fi
13922 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13923 < $as_echo "$ac_cv_c_const" >&6; }
12351 < if test $ac_cv_c_const = no; then
12352 <
12353 < $as_echo "#define const /**/" >>confdefs.h
13922 > done
13923 > if ${ac_cv_search_socket+:} false; then :
13924  
13925 + else
13926 +  ac_cv_search_socket=no
13927 + fi
13928 + rm conftest.$ac_ext
13929 + LIBS=$ac_func_search_save_LIBS
13930   fi
13931 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13932 + $as_echo "$ac_cv_search_socket" >&6; }
13933 + ac_res=$ac_cv_search_socket
13934 + if test "$ac_res" != no; then :
13935 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13936  
12357 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12358 – $as_echo_n "checking for inline... " >&6; }
12359 – if test "${ac_cv_c_inline+set}" = set; then :
12360 –  $as_echo_n "(cached) " >&6
13937   else
13938 <  ac_cv_c_inline=no
12363 < for ac_kw in inline __inline__ __inline; do
12364 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 < /* end confdefs.h.  */
12366 < #ifndef __cplusplus
12367 < typedef int foo_t;
12368 < static $ac_kw foo_t static_foo () {return 0; }
12369 < $ac_kw foo_t foo () {return 0; }
12370 < #endif
12371 <
12372 < _ACEOF
12373 < if ac_fn_c_try_compile "$LINENO"; then :
12374 <  ac_cv_c_inline=$ac_kw
13938 >  as_fn_error $? "socket library not found" "$LINENO" 5
13939   fi
12376 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12377 –  test "$ac_cv_c_inline" != no && break
12378 – done
13940  
12380 – fi
12381 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12382 – $as_echo "$ac_cv_c_inline" >&6; }
13941  
12384 – case $ac_cv_c_inline in
12385 –  inline | yes) ;;
12386 –  *)
12387 –    case $ac_cv_c_inline in
12388 –      no) ac_val=;;
12389 –      *) ac_val=$ac_cv_c_inline;;
12390 –    esac
12391 –    cat >>confdefs.h <<_ACEOF
12392 – #ifndef __cplusplus
12393 – #define inline $ac_val
12394 – #endif
12395 – _ACEOF
12396 –    ;;
12397 – esac
13942  
13943 + # Checks for typedefs, structures, and compiler characteristics.
13944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13945   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13946 < if test "${ac_cv_c_bigendian+set}" = set; then :
13946 > if ${ac_cv_c_bigendian+:} false; then :
13947    $as_echo_n "(cached) " >&6
13948   else
13949    ac_cv_c_bigendian=unknown
# Line 12616 | Line 14161 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14161  
14162       ;; #(
14163     *)
14164 <     as_fn_error "unknown endianness
14164 >     as_fn_error $? "unknown endianness
14165   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14166   esac
14167  
14168  
14169 < # The cast to long int works around a bug in the HP C Compiler
14170 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14171 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14172 < # This bug is HP SR number 8606223364.
14173 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
14174 < $as_echo_n "checking size of int64_t... " >&6; }
14175 < if test "${ac_cv_sizeof_int64_t+set}" = set; then :
14169 > # Checks for library functions.
14170 >
14171 >
14172 >
14173 >  for ac_func in $ac_func_list
14174 > do :
14175 >  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14176 > ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14177 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14178 >  cat >>confdefs.h <<_ACEOF
14179 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14180 > _ACEOF
14181 >
14182 > fi
14183 > done
14184 >
14185 >
14186 >
14187 >
14188 >
14189 >
14190 >
14191 >
14192 >
14193 >
14194 >
14195 > # Checks for header files.
14196 >
14197 >
14198 >
14199 >  for ac_header in $ac_header_list
14200 > do :
14201 >  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14202 > ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14203 > "
14204 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14205 >  cat >>confdefs.h <<_ACEOF
14206 > #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14207 > _ACEOF
14208 >
14209 > fi
14210 >
14211 > done
14212 >
14213 >
14214 >
14215 >
14216 >
14217 >
14218 >
14219 >
14220 >
14221 >
14222 >
14223 >
14224 >
14225 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14226 > $as_echo_n "checking for library containing crypt... " >&6; }
14227 > if ${ac_cv_search_crypt+:} false; then :
14228    $as_echo_n "(cached) " >&6
14229   else
14230 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
14230 >  ac_func_search_save_LIBS=$LIBS
14231 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 > /* end confdefs.h.  */
14233 >
14234 > /* Override any GCC internal prototype to avoid an error.
14235 >   Use char because int might match the return type of a GCC
14236 >   builtin and then its argument prototype would still apply.  */
14237 > #ifdef __cplusplus
14238 > extern "C"
14239 > #endif
14240 > char crypt ();
14241 > int
14242 > main ()
14243 > {
14244 > return crypt ();
14245 >  ;
14246 >  return 0;
14247 > }
14248 > _ACEOF
14249 > for ac_lib in '' crypt; do
14250 >  if test -z "$ac_lib"; then
14251 >    ac_res="none required"
14252 >  else
14253 >    ac_res=-l$ac_lib
14254 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14255 >  fi
14256 >  if ac_fn_c_try_link "$LINENO"; then :
14257 >  ac_cv_search_crypt=$ac_res
14258 > fi
14259 > rm -f core conftest.err conftest.$ac_objext \
14260 >    conftest$ac_exeext
14261 >  if ${ac_cv_search_crypt+:} false; then :
14262 >  break
14263 > fi
14264 > done
14265 > if ${ac_cv_search_crypt+:} false; then :
14266  
14267   else
14268 <  if test "$ac_cv_type_int64_t" = yes; then
14269 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14270 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14271 < { as_fn_set_status 77
12640 < as_fn_error "cannot compute sizeof (int64_t)
12641 < See \`config.log' for more details." "$LINENO" 5; }; }
12642 <   else
12643 <     ac_cv_sizeof_int64_t=0
12644 <   fi
14268 >  ac_cv_search_crypt=no
14269 > fi
14270 > rm conftest.$ac_ext
14271 > LIBS=$ac_func_search_save_LIBS
14272   fi
14273 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
14274 + $as_echo "$ac_cv_search_crypt" >&6; }
14275 + ac_res=$ac_cv_search_crypt
14276 + if test "$ac_res" != no; then :
14277 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14278 +
14279 + fi
14280 +
14281  
14282 + # Argument processing.
14283 +
14284 +  desired_iopoll_mechanism="none"
14285 +
14286 +  # Check whether --enable-kqueue was given.
14287 + if test "${enable_kqueue+set}" = set; then :
14288 +  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14289   fi
12648 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12649 – $as_echo "$ac_cv_sizeof_int64_t" >&6; }
14290  
14291 +  # Check whether --enable-epoll was given.
14292 + if test "${enable_epoll+set}" = set; then :
14293 +  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
14294 + fi
14295  
14296 +  # Check whether --enable-devpoll was given.
14297 + if test "${enable_devpoll+set}" = set; then :
14298 +  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14299 + fi
14300 +
14301 +  # Check whether --enable-poll was given.
14302 + if test "${enable_poll+set}" = set; then :
14303 +  enableval=$enable_poll; desired_iopoll_mechanism="poll"
14304 + fi
14305 +
14306 +
14307 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14308 + $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14309 +
14310 +  iopoll_mechanism_none=0
14311  
14312   cat >>confdefs.h <<_ACEOF
14313 < #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
14313 > #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14314   _ACEOF
14315  
14316  
14317 < # The cast to long int works around a bug in the HP C Compiler
14318 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14319 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14320 < # This bug is HP SR number 8606223364.
14321 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
14322 < $as_echo_n "checking size of long long... " >&6; }
14323 < if test "${ac_cv_sizeof_long_long+set}" = set; then :
14324 <  $as_echo_n "(cached) " >&6
14317 >  iopoll_mechanism_kqueue=1
14318 >
14319 > cat >>confdefs.h <<_ACEOF
14320 > #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14321 > _ACEOF
14322 >
14323 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 > /* end confdefs.h.  */
14325 > /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
14326 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14327 > #define kevent innocuous_kevent
14328 >
14329 > /* System header to define __stub macros and hopefully few prototypes,
14330 >    which can conflict with char kevent (); below.
14331 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14332 >    <limits.h> exists even on freestanding compilers.  */
14333 >
14334 > #ifdef __STDC__
14335 > # include <limits.h>
14336 > #else
14337 > # include <assert.h>
14338 > #endif
14339 >
14340 > #undef kevent
14341 >
14342 > /* Override any GCC internal prototype to avoid an error.
14343 >   Use char because int might match the return type of a GCC
14344 >   builtin and then its argument prototype would still apply.  */
14345 > #ifdef __cplusplus
14346 > extern "C"
14347 > #endif
14348 > char kevent ();
14349 > /* The GNU C library defines this for functions which it implements
14350 >    to always fail with ENOSYS.  Some functions are actually named
14351 >    something starting with __ and the normal name is an alias.  */
14352 > #if defined __stub_kevent || defined __stub___kevent
14353 > choke me
14354 > #endif
14355 >
14356 > int
14357 > main ()
14358 > {
14359 > return kevent ();
14360 >  ;
14361 >  return 0;
14362 > }
14363 > _ACEOF
14364 > if ac_fn_c_try_link "$LINENO"; then :
14365 >  is_kqueue_mechanism_available="yes"
14366   else
14367 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
14367 >  is_kqueue_mechanism_available="no"
14368 > fi
14369 > rm -f core conftest.err conftest.$ac_objext \
14370 >    conftest$ac_exeext conftest.$ac_ext
14371 >
14372 >  iopoll_mechanism_epoll=2
14373  
14374 + cat >>confdefs.h <<_ACEOF
14375 + #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14376 + _ACEOF
14377 +
14378 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 + /* end confdefs.h.  */
14380 + #include <sys/epoll.h>
14381 + int
14382 + main ()
14383 + {
14384 + epoll_create1(EPOLL_CLOEXEC);
14385 +  ;
14386 +  return 0;
14387 + }
14388 + _ACEOF
14389 + if ac_fn_c_try_link "$LINENO"; then :
14390 +  is_epoll_mechanism_available="yes"
14391   else
14392 <  if test "$ac_cv_type_long_long" = yes; then
12671 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12672 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12673 < { as_fn_set_status 77
12674 < as_fn_error "cannot compute sizeof (long long)
12675 < See \`config.log' for more details." "$LINENO" 5; }; }
12676 <   else
12677 <     ac_cv_sizeof_long_long=0
12678 <   fi
14392 >  is_epoll_mechanism_available="no"
14393   fi
14394 + rm -f core conftest.err conftest.$ac_objext \
14395 +    conftest$ac_exeext conftest.$ac_ext
14396  
14397 +  iopoll_mechanism_devpoll=3
14398 +
14399 + cat >>confdefs.h <<_ACEOF
14400 + #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14401 + _ACEOF
14402 +
14403 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404 + /* end confdefs.h.  */
14405 + #include <devpoll.h>
14406 + int
14407 + main ()
14408 + {
14409 +
14410 +  ;
14411 +  return 0;
14412 + }
14413 + _ACEOF
14414 + if ac_fn_c_try_compile "$LINENO"; then :
14415 +  is_devpoll_mechanism_available="yes"
14416 + else
14417 +  is_devpoll_mechanism_available="no"
14418   fi
14419 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
14420 < $as_echo "$ac_cv_sizeof_long_long" >&6; }
14419 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14420 >  if test "$is_devpoll_mechanism_available" = "yes" ; then
14421  
14422 + $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14423  
14424 +  fi
14425 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 + /* end confdefs.h.  */
14427 + #include <sys/devpoll.h>
14428 + int
14429 + main ()
14430 + {
14431 +
14432 +  ;
14433 +  return 0;
14434 + }
14435 + _ACEOF
14436 + if ac_fn_c_try_compile "$LINENO"; then :
14437 +  is_devpoll_mechanism_available="yes"
14438 + else
14439 +  is_devpoll_mechanism_available="no"
14440 + fi
14441 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14442 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14443 +
14444 + $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14445 +
14446 +  fi
14447 +
14448 +  iopoll_mechanism_poll=4
14449  
14450   cat >>confdefs.h <<_ACEOF
14451 < #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14451 > #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14452   _ACEOF
14453  
14454 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 + /* end confdefs.h.  */
14456 + /* Define poll to an innocuous variant, in case <limits.h> declares poll.
14457 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14458 + #define poll innocuous_poll
14459  
14460 + /* System header to define __stub macros and hopefully few prototypes,
14461 +    which can conflict with char poll (); below.
14462 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14463 +    <limits.h> exists even on freestanding compilers.  */
14464  
14465 < if test "$ac_cv_sizeof_int64_t" = 8; then
14466 <  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
14467 < if test "x$ac_cv_type_uint64_t" = x""yes; then :
14465 > #ifdef __STDC__
14466 > # include <limits.h>
14467 > #else
14468 > # include <assert.h>
14469 > #endif
14470  
14471 < fi
14471 > #undef poll
14472  
14473 <  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
14474 < if test "x$ac_cv_type_int64_t" = x""yes; then :
14473 > /* Override any GCC internal prototype to avoid an error.
14474 >   Use char because int might match the return type of a GCC
14475 >   builtin and then its argument prototype would still apply.  */
14476 > #ifdef __cplusplus
14477 > extern "C"
14478 > #endif
14479 > char poll ();
14480 > /* The GNU C library defines this for functions which it implements
14481 >    to always fail with ENOSYS.  Some functions are actually named
14482 >    something starting with __ and the normal name is an alias.  */
14483 > #if defined __stub_poll || defined __stub___poll
14484 > choke me
14485 > #endif
14486  
14487 + int
14488 + main ()
14489 + {
14490 + return poll ();
14491 +  ;
14492 +  return 0;
14493 + }
14494 + _ACEOF
14495 + if ac_fn_c_try_link "$LINENO"; then :
14496 +  is_poll_mechanism_available="yes"
14497 + else
14498 +  is_poll_mechanism_available="no"
14499   fi
14500 + rm -f core conftest.err conftest.$ac_objext \
14501 +    conftest$ac_exeext conftest.$ac_ext
14502  
14503 < elif test "$ac_cv_sizeof_long_long" = 8; then
14504 <  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
14505 < if test "x$ac_cv_type_uint64_t" = x""yes; then :
14503 >  optimal_iopoll_mechanism="none"
14504 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14505 >    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14506 >    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14507 >      optimal_iopoll_mechanism="$mechanism"
14508 >      break
14509 >    fi
14510 >  done
14511  
14512 < else
14512 >  if test "$desired_iopoll_mechanism" = "none" ; then
14513 >    if test "$optimal_iopoll_mechanism" = "none" ; then
14514 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14515 > $as_echo "none" >&6; }
14516 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14517 >    else
14518 >      selected_iopoll_mechanism=$optimal_iopoll_mechanism
14519 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14520 > $as_echo "$selected_iopoll_mechanism" >&6; }
14521 >    fi
14522 >  else
14523 >    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
14524 >    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
14525 >      selected_iopoll_mechanism=$desired_iopoll_mechanism
14526 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14527 > $as_echo "$selected_iopoll_mechanism" >&6; }
14528 >    else
14529 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14530 > $as_echo "none" >&6; }
14531 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14532 >    fi
14533 >  fi
14534 >
14535 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14536  
14537   cat >>confdefs.h <<_ACEOF
14538 < #define uint64_t unsigned long long
14538 > #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
14539   _ACEOF
14540  
14541 +
14542 +
14543 +  # Check whether --enable-assert was given.
14544 + if test "${enable_assert+set}" = set; then :
14545 +  enableval=$enable_assert; assert=$enableval
14546 + else
14547 +  assert=no
14548   fi
14549  
12716 –  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12717 – if test "x$ac_cv_type_int64_t" = x""yes; then :
14550  
14551 +  if test "$assert" = "no"; then :
14552 +
14553 + $as_echo "#define NDEBUG 1" >>confdefs.h
14554 +
14555 + fi
14556 +
14557 +
14558 +  # Check whether --enable-debugging was given.
14559 + if test "${enable_debugging+set}" = set; then :
14560 +  enableval=$enable_debugging; debugging="$enableval"
14561   else
14562 +  debugging="no"
14563 + fi
14564  
14565 < cat >>confdefs.h <<_ACEOF
14566 < #define int64_t long long
14567 < _ACEOF
14565 >
14566 >  if test "$debugging" = "yes"; then :
14567 >
14568 >    CFLAGS="-Wall -g -O0"
14569  
14570   fi
14571  
14572 +
14573 +  # Check whether --enable-warnings was given.
14574 + if test "${enable_warnings+set}" = set; then :
14575 +  enableval=$enable_warnings; warnings="$enableval"
14576   else
14577 <  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
14577 >  warnings="no"
14578   fi
14579  
14580  
14581 < # Checks for library functions.
14581 >  if test "$warnings" = "yes"; then :
14582  
14583  
14584  
14585 <  for ac_func in $ac_func_list
14586 < do :
14587 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14588 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14589 < eval as_val=\$$as_ac_var
14590 <   if test "x$as_val" = x""yes; then :
14591 <  cat >>confdefs.h <<_ACEOF
14592 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14585 >
14586 >
14587 > for flag in -Wall; do
14588 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14589 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14590 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14591 > if eval \${$as_CACHEVAR+:} false; then :
14592 >  $as_echo_n "(cached) " >&6
14593 > else
14594 >
14595 >  ax_check_save_flags=$CFLAGS
14596 >  CFLAGS="$CFLAGS  $flag"
14597 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 > /* end confdefs.h.  */
14599 >
14600 > int
14601 > main ()
14602 > {
14603 >
14604 >  ;
14605 >  return 0;
14606 > }
14607   _ACEOF
14608 + if ac_fn_c_try_compile "$LINENO"; then :
14609 +  eval "$as_CACHEVAR=yes"
14610 + else
14611 +  eval "$as_CACHEVAR=no"
14612 + fi
14613 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14614 +  CFLAGS=$ax_check_save_flags
14615 + fi
14616 + eval ac_res=\$$as_CACHEVAR
14617 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14618 + $as_echo "$ac_res" >&6; }
14619 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14620 +
14621 + if ${CFLAGS+:} false; then :
14622 +
14623 +  case " $CFLAGS " in #(
14624 +  *" $flag "*) :
14625 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14626 +  (: CFLAGS already contains $flag) 2>&5
14627 +  ac_status=$?
14628 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14629 +  test $ac_status = 0; } ;; #(
14630 +  *) :
14631 +
14632 +     as_fn_append CFLAGS " $flag"
14633 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14634 +  (: CFLAGS="$CFLAGS") 2>&5
14635 +  ac_status=$?
14636 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14637 +  test $ac_status = 0; }
14638 +     ;;
14639 + esac
14640 +
14641 + else
14642 +
14643 +  CFLAGS=$flag
14644 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14645 +  (: CFLAGS="$CFLAGS") 2>&5
14646 +  ac_status=$?
14647 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14648 +  test $ac_status = 0; }
14649  
14650   fi
12747 – done
14651  
14652 + else
14653 +  :
14654 + fi
14655  
14656 + done
14657  
14658  
14659  
14660  
14661  
14662 + for flag in -Wbad-function-cast; do
14663 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14664 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14665 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14666 + if eval \${$as_CACHEVAR+:} false; then :
14667 +  $as_echo_n "(cached) " >&6
14668 + else
14669  
14670 +  ax_check_save_flags=$CFLAGS
14671 +  CFLAGS="$CFLAGS  $flag"
14672 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 + /* end confdefs.h.  */
14674  
14675 + int
14676 + main ()
14677 + {
14678  
14679 +  ;
14680 +  return 0;
14681 + }
14682 + _ACEOF
14683 + if ac_fn_c_try_compile "$LINENO"; then :
14684 +  eval "$as_CACHEVAR=yes"
14685 + else
14686 +  eval "$as_CACHEVAR=no"
14687 + fi
14688 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14689 +  CFLAGS=$ax_check_save_flags
14690 + fi
14691 + eval ac_res=\$$as_CACHEVAR
14692 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14693 + $as_echo "$ac_res" >&6; }
14694 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14695  
14696 + if ${CFLAGS+:} false; then :
14697  
14698 +  case " $CFLAGS " in #(
14699 +  *" $flag "*) :
14700 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14701 +  (: CFLAGS already contains $flag) 2>&5
14702 +  ac_status=$?
14703 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14704 +  test $ac_status = 0; } ;; #(
14705 +  *) :
14706  
14707 +     as_fn_append CFLAGS " $flag"
14708 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14709 +  (: CFLAGS="$CFLAGS") 2>&5
14710 +  ac_status=$?
14711 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14712 +  test $ac_status = 0; }
14713 +     ;;
14714 + esac
14715  
14716 + else
14717  
14718 +  CFLAGS=$flag
14719 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14720 +  (: CFLAGS="$CFLAGS") 2>&5
14721 +  ac_status=$?
14722 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14723 +  test $ac_status = 0; }
14724  
14725 + fi
14726  
14727 + else
14728 +  :
14729 + fi
14730  
14731 + done
14732  
14733  
14734  
14735  
14736  
14737 < # Checks for header files.
14737 > for flag in -Wcast-align; do
14738 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14739 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14740 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14741 > if eval \${$as_CACHEVAR+:} false; then :
14742 >  $as_echo_n "(cached) " >&6
14743 > else
14744  
14745 +  ax_check_save_flags=$CFLAGS
14746 +  CFLAGS="$CFLAGS  $flag"
14747 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 + /* end confdefs.h.  */
14749  
14750 + int
14751 + main ()
14752 + {
14753  
14754 <  for ac_header in $ac_header_list
14755 < do :
14756 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12778 < ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12779 < "
12780 < eval as_val=\$$as_ac_Header
12781 <   if test "x$as_val" = x""yes; then :
12782 <  cat >>confdefs.h <<_ACEOF
12783 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14754 >  ;
14755 >  return 0;
14756 > }
14757   _ACEOF
14758 + if ac_fn_c_try_compile "$LINENO"; then :
14759 +  eval "$as_CACHEVAR=yes"
14760 + else
14761 +  eval "$as_CACHEVAR=no"
14762 + fi
14763 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14764 +  CFLAGS=$ax_check_save_flags
14765 + fi
14766 + eval ac_res=\$$as_CACHEVAR
14767 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14768 + $as_echo "$ac_res" >&6; }
14769 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14770 +
14771 + if ${CFLAGS+:} false; then :
14772 +
14773 +  case " $CFLAGS " in #(
14774 +  *" $flag "*) :
14775 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14776 +  (: CFLAGS already contains $flag) 2>&5
14777 +  ac_status=$?
14778 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14779 +  test $ac_status = 0; } ;; #(
14780 +  *) :
14781 +
14782 +     as_fn_append CFLAGS " $flag"
14783 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14784 +  (: CFLAGS="$CFLAGS") 2>&5
14785 +  ac_status=$?
14786 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14787 +  test $ac_status = 0; }
14788 +     ;;
14789 + esac
14790 +
14791 + else
14792 +
14793 +  CFLAGS=$flag
14794 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14795 +  (: CFLAGS="$CFLAGS") 2>&5
14796 +  ac_status=$?
14797 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14798 +  test $ac_status = 0; }
14799 +
14800 + fi
14801  
14802 + else
14803 +  :
14804   fi
14805  
14806   done
# Line 12791 | Line 14809 | done
14809  
14810  
14811  
14812 + for flag in -Wcast-function-type; do
14813 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14814 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14815 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14816 + if eval \${$as_CACHEVAR+:} false; then :
14817 +  $as_echo_n "(cached) " >&6
14818 + else
14819  
14820 +  ax_check_save_flags=$CFLAGS
14821 +  CFLAGS="$CFLAGS  $flag"
14822 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 + /* end confdefs.h.  */
14824  
14825 + int
14826 + main ()
14827 + {
14828  
14829 +  ;
14830 +  return 0;
14831 + }
14832 + _ACEOF
14833 + if ac_fn_c_try_compile "$LINENO"; then :
14834 +  eval "$as_CACHEVAR=yes"
14835 + else
14836 +  eval "$as_CACHEVAR=no"
14837 + fi
14838 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 +  CFLAGS=$ax_check_save_flags
14840 + fi
14841 + eval ac_res=\$$as_CACHEVAR
14842 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14843 + $as_echo "$ac_res" >&6; }
14844 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14845  
14846 + if ${CFLAGS+:} false; then :
14847  
14848 +  case " $CFLAGS " in #(
14849 +  *" $flag "*) :
14850 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14851 +  (: CFLAGS already contains $flag) 2>&5
14852 +  ac_status=$?
14853 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14854 +  test $ac_status = 0; } ;; #(
14855 +  *) :
14856  
14857 +     as_fn_append CFLAGS " $flag"
14858 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14859 +  (: CFLAGS="$CFLAGS") 2>&5
14860 +  ac_status=$?
14861 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14862 +  test $ac_status = 0; }
14863 +     ;;
14864 + esac
14865  
14866 + else
14867  
14868 +  CFLAGS=$flag
14869 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14870 +  (: CFLAGS="$CFLAGS") 2>&5
14871 +  ac_status=$?
14872 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14873 +  test $ac_status = 0; }
14874  
14875 + fi
14876 +
14877 + else
14878 +  :
14879 + fi
14880 +
14881 + done
14882  
14883  
14884  
14885  
14886  
14887 + for flag in -Wcast-qual; do
14888 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14889 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14890 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14891 + if eval \${$as_CACHEVAR+:} false; then :
14892 +  $as_echo_n "(cached) " >&6
14893 + else
14894 +
14895 +  ax_check_save_flags=$CFLAGS
14896 +  CFLAGS="$CFLAGS  $flag"
14897 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 + /* end confdefs.h.  */
14899 +
14900 + int
14901 + main ()
14902 + {
14903  
14904 +  ;
14905 +  return 0;
14906 + }
14907 + _ACEOF
14908 + if ac_fn_c_try_compile "$LINENO"; then :
14909 +  eval "$as_CACHEVAR=yes"
14910 + else
14911 +  eval "$as_CACHEVAR=no"
14912 + fi
14913 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14914 +  CFLAGS=$ax_check_save_flags
14915 + fi
14916 + eval ac_res=\$$as_CACHEVAR
14917 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14918 + $as_echo "$ac_res" >&6; }
14919 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14920  
14921 + if ${CFLAGS+:} false; then :
14922  
14923 +  case " $CFLAGS " in #(
14924 +  *" $flag "*) :
14925 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14926 +  (: CFLAGS already contains $flag) 2>&5
14927 +  ac_status=$?
14928 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14929 +  test $ac_status = 0; } ;; #(
14930 +  *) :
14931  
14932 +     as_fn_append CFLAGS " $flag"
14933 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14934 +  (: CFLAGS="$CFLAGS") 2>&5
14935 +  ac_status=$?
14936 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14937 +  test $ac_status = 0; }
14938 +     ;;
14939 + esac
14940  
14941 + else
14942  
14943 +  CFLAGS=$flag
14944 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14945 +  (: CFLAGS="$CFLAGS") 2>&5
14946 +  ac_status=$?
14947 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14948 +  test $ac_status = 0; }
14949  
14950 + fi
14951  
14952 + else
14953 +  :
14954 + fi
14955  
14956 + done
14957  
14958  
14959  
12820 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12821 – $as_echo_n "checking for /dev/null... " >&6; }
12822 – if test -c /dev/null ; then
14960  
12824 – $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
14961  
14962 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14963 < $as_echo "yes" >&6; }
14962 > for flag in -Wclobbered; do
14963 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14964 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14965 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14966 > if eval \${$as_CACHEVAR+:} false; then :
14967 >  $as_echo_n "(cached) " >&6
14968   else
14969  
14970 < $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
14970 >  ax_check_save_flags=$CFLAGS
14971 >  CFLAGS="$CFLAGS  $flag"
14972 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 > /* end confdefs.h.  */
14974 >
14975 > int
14976 > main ()
14977 > {
14978  
14979 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
14980 < $as_echo "no - using devnull.log" >&6; }
14979 >  ;
14980 >  return 0;
14981 > }
14982 > _ACEOF
14983 > if ac_fn_c_try_compile "$LINENO"; then :
14984 >  eval "$as_CACHEVAR=yes"
14985 > else
14986 >  eval "$as_CACHEVAR=no"
14987 > fi
14988 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14989 >  CFLAGS=$ax_check_save_flags
14990   fi
14991 + eval ac_res=\$$as_CACHEVAR
14992 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14993 + $as_echo "$ac_res" >&6; }
14994 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14995  
14996 + if ${CFLAGS+:} false; then :
14997  
14998 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14999 < $as_echo_n "checking for library containing crypt... " >&6; }
15000 < if test "${ac_cv_search_crypt+set}" = set; then :
14998 >  case " $CFLAGS " in #(
14999 >  *" $flag "*) :
15000 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15001 >  (: CFLAGS already contains $flag) 2>&5
15002 >  ac_status=$?
15003 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 >  test $ac_status = 0; } ;; #(
15005 >  *) :
15006 >
15007 >     as_fn_append CFLAGS " $flag"
15008 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15009 >  (: CFLAGS="$CFLAGS") 2>&5
15010 >  ac_status=$?
15011 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15012 >  test $ac_status = 0; }
15013 >     ;;
15014 > esac
15015 >
15016 > else
15017 >
15018 >  CFLAGS=$flag
15019 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15020 >  (: CFLAGS="$CFLAGS") 2>&5
15021 >  ac_status=$?
15022 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15023 >  test $ac_status = 0; }
15024 >
15025 > fi
15026 >
15027 > else
15028 >  :
15029 > fi
15030 >
15031 > done
15032 >
15033 >
15034 >
15035 >
15036 >
15037 > for flag in -Wduplicated-cond; do
15038 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15039 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15040 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15041 > if eval \${$as_CACHEVAR+:} false; then :
15042    $as_echo_n "(cached) " >&6
15043   else
15044 <  ac_func_search_save_LIBS=$LIBS
15045 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 >
15045 >  ax_check_save_flags=$CFLAGS
15046 >  CFLAGS="$CFLAGS  $flag"
15047 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15048   /* end confdefs.h.  */
15049  
12846 – /* Override any GCC internal prototype to avoid an error.
12847 –   Use char because int might match the return type of a GCC
12848 –   builtin and then its argument prototype would still apply.  */
12849 – #ifdef __cplusplus
12850 – extern "C"
12851 – #endif
12852 – char crypt ();
15050   int
15051   main ()
15052   {
15053 < return crypt ();
15053 >
15054    ;
15055    return 0;
15056   }
15057   _ACEOF
15058 < for ac_lib in '' crypt; do
15059 <  if test -z "$ac_lib"; then
15060 <    ac_res="none required"
15061 <  else
12865 <    ac_res=-l$ac_lib
12866 <    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12867 <  fi
12868 <  if ac_fn_c_try_link "$LINENO"; then :
12869 <  ac_cv_search_crypt=$ac_res
15058 > if ac_fn_c_try_compile "$LINENO"; then :
15059 >  eval "$as_CACHEVAR=yes"
15060 > else
15061 >  eval "$as_CACHEVAR=no"
15062   fi
15063 < rm -f core conftest.err conftest.$ac_objext \
15064 <    conftest$ac_exeext
15065 <  if test "${ac_cv_search_crypt+set}" = set; then :
15066 <  break
15063 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15064 >  CFLAGS=$ax_check_save_flags
15065 > fi
15066 > eval ac_res=\$$as_CACHEVAR
15067 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15068 > $as_echo "$ac_res" >&6; }
15069 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15070 >
15071 > if ${CFLAGS+:} false; then :
15072 >
15073 >  case " $CFLAGS " in #(
15074 >  *" $flag "*) :
15075 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15076 >  (: CFLAGS already contains $flag) 2>&5
15077 >  ac_status=$?
15078 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15079 >  test $ac_status = 0; } ;; #(
15080 >  *) :
15081 >
15082 >     as_fn_append CFLAGS " $flag"
15083 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15084 >  (: CFLAGS="$CFLAGS") 2>&5
15085 >  ac_status=$?
15086 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15087 >  test $ac_status = 0; }
15088 >     ;;
15089 > esac
15090 >
15091 > else
15092 >
15093 >  CFLAGS=$flag
15094 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15095 >  (: CFLAGS="$CFLAGS") 2>&5
15096 >  ac_status=$?
15097 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15098 >  test $ac_status = 0; }
15099 >
15100   fi
15101 +
15102 + else
15103 +  :
15104 + fi
15105 +
15106   done
12877 – if test "${ac_cv_search_crypt+set}" = set; then :
15107  
15108 +
15109 +
15110 +
15111 +
15112 + for flag in -Wempty-body; do
15113 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15114 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15115 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15116 + if eval \${$as_CACHEVAR+:} false; then :
15117 +  $as_echo_n "(cached) " >&6
15118   else
15119 <  ac_cv_search_crypt=no
15119 >
15120 >  ax_check_save_flags=$CFLAGS
15121 >  CFLAGS="$CFLAGS  $flag"
15122 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 > /* end confdefs.h.  */
15124 >
15125 > int
15126 > main ()
15127 > {
15128 >
15129 >  ;
15130 >  return 0;
15131 > }
15132 > _ACEOF
15133 > if ac_fn_c_try_compile "$LINENO"; then :
15134 >  eval "$as_CACHEVAR=yes"
15135 > else
15136 >  eval "$as_CACHEVAR=no"
15137   fi
15138 < rm conftest.$ac_ext
15139 < LIBS=$ac_func_search_save_LIBS
15138 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15139 >  CFLAGS=$ax_check_save_flags
15140   fi
15141 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
15142 < $as_echo "$ac_cv_search_crypt" >&6; }
15143 < ac_res=$ac_cv_search_crypt
15144 < if test "$ac_res" != no; then :
15145 <  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15141 > eval ac_res=\$$as_CACHEVAR
15142 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15143 > $as_echo "$ac_res" >&6; }
15144 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15145 >
15146 > if ${CFLAGS+:} false; then :
15147 >
15148 >  case " $CFLAGS " in #(
15149 >  *" $flag "*) :
15150 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15151 >  (: CFLAGS already contains $flag) 2>&5
15152 >  ac_status=$?
15153 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15154 >  test $ac_status = 0; } ;; #(
15155 >  *) :
15156 >
15157 >     as_fn_append CFLAGS " $flag"
15158 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15159 >  (: CFLAGS="$CFLAGS") 2>&5
15160 >  ac_status=$?
15161 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15162 >  test $ac_status = 0; }
15163 >     ;;
15164 > esac
15165 >
15166 > else
15167 >
15168 >  CFLAGS=$flag
15169 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15170 >  (: CFLAGS="$CFLAGS") 2>&5
15171 >  ac_status=$?
15172 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15173 >  test $ac_status = 0; }
15174  
15175   fi
15176  
15177 + else
15178 +  :
15179 + fi
15180 +
15181 + done
15182 +
15183 +
15184 +
15185 +
15186 +
15187 + for flag in -Wignored-qualifiers; do
15188 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15189 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15190 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15191 + if eval \${$as_CACHEVAR+:} false; then :
15192 +  $as_echo_n "(cached) " >&6
15193 + else
15194  
15195 +  ax_check_save_flags=$CFLAGS
15196 +  CFLAGS="$CFLAGS  $flag"
15197 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 + /* end confdefs.h.  */
15199  
15200 + int
15201 + main ()
15202 + {
15203  
15204 < # Check whether --with-zlib-path was given.
15205 < if test "${with_zlib_path+set}" = set; then :
15206 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
15204 >  ;
15205 >  return 0;
15206 > }
15207 > _ACEOF
15208 > if ac_fn_c_try_compile "$LINENO"; then :
15209 >  eval "$as_CACHEVAR=yes"
15210 > else
15211 >  eval "$as_CACHEVAR=no"
15212 > fi
15213 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15214 >  CFLAGS=$ax_check_save_flags
15215   fi
15216 + eval ac_res=\$$as_CACHEVAR
15217 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15218 + $as_echo "$ac_res" >&6; }
15219 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15220 +
15221 + if ${CFLAGS+:} false; then :
15222 +
15223 +  case " $CFLAGS " in #(
15224 +  *" $flag "*) :
15225 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15226 +  (: CFLAGS already contains $flag) 2>&5
15227 +  ac_status=$?
15228 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15229 +  test $ac_status = 0; } ;; #(
15230 +  *) :
15231  
15232 +     as_fn_append CFLAGS " $flag"
15233 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15234 +  (: CFLAGS="$CFLAGS") 2>&5
15235 +  ac_status=$?
15236 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15237 +  test $ac_status = 0; }
15238 +     ;;
15239 + esac
15240  
12902 – # Check whether --enable-zlib was given.
12903 – if test "${enable_zlib+set}" = set; then :
12904 –  enableval=$enable_zlib; zlib=$enableval
15241   else
15242 <  zlib=yes
15242 >
15243 >  CFLAGS=$flag
15244 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15245 >  (: CFLAGS="$CFLAGS") 2>&5
15246 >  ac_status=$?
15247 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15248 >  test $ac_status = 0; }
15249 >
15250   fi
15251  
15252 + else
15253 +  :
15254 + fi
15255 +
15256 + done
15257 +
15258 +
15259 +
15260  
15261 < if test "$zlib" = yes; then
15262 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
15263 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
15264 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
15265 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
15266 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
15261 >
15262 > for flag in -Wlogical-op; do
15263 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15264 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15265 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15266 > if eval \${$as_CACHEVAR+:} false; then :
15267    $as_echo_n "(cached) " >&6
15268   else
15269 <  ac_check_lib_save_LIBS=$LIBS
15270 < LIBS="-lz  $LIBS"
15271 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269 >
15270 >  ax_check_save_flags=$CFLAGS
15271 >  CFLAGS="$CFLAGS  $flag"
15272 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273   /* end confdefs.h.  */
15274  
12923 – /* Override any GCC internal prototype to avoid an error.
12924 –   Use char because int might match the return type of a GCC
12925 –   builtin and then its argument prototype would still apply.  */
12926 – #ifdef __cplusplus
12927 – extern "C"
12928 – #endif
12929 – char zlibVersion ();
15275   int
15276   main ()
15277   {
15278 < return zlibVersion ();
15278 >
15279    ;
15280    return 0;
15281   }
15282   _ACEOF
15283 < if ac_fn_c_try_link "$LINENO"; then :
15284 <  ac_cv_lib_z_zlibVersion=yes
15283 > if ac_fn_c_try_compile "$LINENO"; then :
15284 >  eval "$as_CACHEVAR=yes"
15285   else
15286 <  ac_cv_lib_z_zlibVersion=no
15286 >  eval "$as_CACHEVAR=no"
15287   fi
15288 < rm -f core conftest.err conftest.$ac_objext \
15289 <    conftest$ac_exeext conftest.$ac_ext
12945 < LIBS=$ac_check_lib_save_LIBS
15288 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289 >  CFLAGS=$ax_check_save_flags
15290   fi
15291 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
15292 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
15293 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
15291 > eval ac_res=\$$as_CACHEVAR
15292 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15293 > $as_echo "$ac_res" >&6; }
15294 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15295 >
15296 > if ${CFLAGS+:} false; then :
15297 >
15298 >  case " $CFLAGS " in #(
15299 >  *" $flag "*) :
15300 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15301 >  (: CFLAGS already contains $flag) 2>&5
15302 >  ac_status=$?
15303 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15304 >  test $ac_status = 0; } ;; #(
15305 >  *) :
15306 >
15307 >     as_fn_append CFLAGS " $flag"
15308 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15309 >  (: CFLAGS="$CFLAGS") 2>&5
15310 >  ac_status=$?
15311 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15312 >  test $ac_status = 0; }
15313 >     ;;
15314 > esac
15315  
15316 <      LIBS="-lz $LIBS"
15316 > else
15317  
15318 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
15318 >  CFLAGS=$flag
15319 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15320 >  (: CFLAGS="$CFLAGS") 2>&5
15321 >  ac_status=$?
15322 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15323 >  test $ac_status = 0; }
15324  
15325 + fi
15326  
15327   else
15328 <  zlib=no
15328 >  :
15329   fi
15330  
15331 + done
15332 +
15333  
15334 +
15335 +
15336 +
15337 + for flag in -Wmissing-declarations; do
15338 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15339 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15340 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15341 + if eval \${$as_CACHEVAR+:} false; then :
15342 +  $as_echo_n "(cached) " >&6
15343   else
12962 –  zlib=no
12963 – fi
15344  
15345 +  ax_check_save_flags=$CFLAGS
15346 +  CFLAGS="$CFLAGS  $flag"
15347 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15348 + /* end confdefs.h.  */
15349 +
15350 + int
15351 + main ()
15352 + {
15353  
15354 +  ;
15355 +  return 0;
15356 + }
15357 + _ACEOF
15358 + if ac_fn_c_try_compile "$LINENO"; then :
15359 +  eval "$as_CACHEVAR=yes"
15360 + else
15361 +  eval "$as_CACHEVAR=no"
15362 + fi
15363 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15364 +  CFLAGS=$ax_check_save_flags
15365   fi
15366 + eval ac_res=\$$as_CACHEVAR
15367 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15368 + $as_echo "$ac_res" >&6; }
15369 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15370 +
15371 + if ${CFLAGS+:} false; then :
15372 +
15373 +  case " $CFLAGS " in #(
15374 +  *" $flag "*) :
15375 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15376 +  (: CFLAGS already contains $flag) 2>&5
15377 +  ac_status=$?
15378 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15379 +  test $ac_status = 0; } ;; #(
15380 +  *) :
15381  
15382 +     as_fn_append CFLAGS " $flag"
15383 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15384 +  (: CFLAGS="$CFLAGS") 2>&5
15385 +  ac_status=$?
15386 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15387 +  test $ac_status = 0; }
15388 +     ;;
15389 + esac
15390  
12969 – # Check whether --enable-openssl was given.
12970 – if test "${enable_openssl+set}" = set; then :
12971 –  enableval=$enable_openssl;  cf_enable_openssl=$enableval
15391   else
15392 <   cf_enable_openssl="auto"
15392 >
15393 >  CFLAGS=$flag
15394 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15395 >  (: CFLAGS="$CFLAGS") 2>&5
15396 >  ac_status=$?
15397 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15398 >  test $ac_status = 0; }
15399 >
15400   fi
15401  
15402 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
15403 < $as_echo_n "checking for OpenSSL... " >&6; }
15404 < if test "$cf_enable_openssl" != "no"; then
12979 <  cf_openssl_basedir=""
12980 <  if test "$cf_enable_openssl" != "auto" &&
12981 <     test "$cf_enable_openssl" != "yes"; then
12982 <          cf_openssl_basedir="${cf_enable_openssl}"
12983 <  else
12984 <        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12985 <                /opt /opt/openssl /usr/local/openssl; do
12986 <      if test -f "${dirs}/include/openssl/opensslv.h"; then
12987 <        cf_openssl_basedir="${dirs}"
12988 <        break
12989 <      fi
12990 <    done
12991 <    unset dirs
12992 <  fi
15402 > else
15403 >  :
15404 > fi
15405  
15406 <    if test ! -z "$cf_openssl_basedir"; then
12995 <    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
12996 <      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
12997 <      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
12998 <    else
12999 <                  cf_openssl_basedir=""
13000 <    fi
13001 <  else
13002 <                            if test -f "/usr/include/openssl/opensslv.h"; then
13003 <      cf_openssl_basedir="/usr"
13004 <    fi
13005 <  fi
15406 > done
15407  
13007 –      if test ! -z "$cf_openssl_basedir"; then
13008 –    LIBS="-lcrypto -lssl $LIBS"
13009 –    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13010 – $as_echo "$cf_openssl_basedir" >&6; }
13011 –    cf_enable_openssl="yes"
15408  
13013 – $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
15409  
15410 <  else
15411 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
15412 < $as_echo "not found.  Please check your path." >&6; }
15413 <    cf_enable_openssl="no"
15414 <  fi
15415 <  unset cf_openssl_basedir
15410 >
15411 >
15412 > for flag in -Wmissing-field-initializers; do
15413 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15414 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15415 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15416 > if eval \${$as_CACHEVAR+:} false; then :
15417 >  $as_echo_n "(cached) " >&6
15418 > else
15419 >
15420 >  ax_check_save_flags=$CFLAGS
15421 >  CFLAGS="$CFLAGS  $flag"
15422 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 > /* end confdefs.h.  */
15424 >
15425 > int
15426 > main ()
15427 > {
15428 >
15429 >  ;
15430 >  return 0;
15431 > }
15432 > _ACEOF
15433 > if ac_fn_c_try_compile "$LINENO"; then :
15434 >  eval "$as_CACHEVAR=yes"
15435   else
15436 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15437 < $as_echo "disabled" >&6; }
15436 >  eval "$as_CACHEVAR=no"
15437 > fi
15438 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15439 >  CFLAGS=$ax_check_save_flags
15440   fi
15441 < if test "$cf_enable_openssl" = yes; then
15442 <  ENABLE_SSL_TRUE=
15443 <  ENABLE_SSL_FALSE='#'
15441 > eval ac_res=\$$as_CACHEVAR
15442 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15443 > $as_echo "$ac_res" >&6; }
15444 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15445 >
15446 > if ${CFLAGS+:} false; then :
15447 >
15448 >  case " $CFLAGS " in #(
15449 >  *" $flag "*) :
15450 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15451 >  (: CFLAGS already contains $flag) 2>&5
15452 >  ac_status=$?
15453 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15454 >  test $ac_status = 0; } ;; #(
15455 >  *) :
15456 >
15457 >     as_fn_append CFLAGS " $flag"
15458 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15459 >  (: CFLAGS="$CFLAGS") 2>&5
15460 >  ac_status=$?
15461 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15462 >  test $ac_status = 0; }
15463 >     ;;
15464 > esac
15465 >
15466   else
15467 <  ENABLE_SSL_TRUE='#'
15468 <  ENABLE_SSL_FALSE=
15467 >
15468 >  CFLAGS=$flag
15469 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15470 >  (: CFLAGS="$CFLAGS") 2>&5
15471 >  ac_status=$?
15472 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15473 >  test $ac_status = 0; }
15474 >
15475   fi
15476  
15477 + else
15478 +  :
15479 + fi
15480  
15481 + done
15482  
15483 < # Check whether --enable-assert was given.
15484 < if test "${enable_assert+set}" = set; then :
15485 <  enableval=$enable_assert; assert=$enableval
15483 >
15484 >
15485 >
15486 >
15487 > for flag in -Wmissing-include-dirs; do
15488 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15489 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15490 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15491 > if eval \${$as_CACHEVAR+:} false; then :
15492 >  $as_echo_n "(cached) " >&6
15493   else
15494 <  assert=no
15494 >
15495 >  ax_check_save_flags=$CFLAGS
15496 >  CFLAGS="$CFLAGS  $flag"
15497 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15498 > /* end confdefs.h.  */
15499 >
15500 > int
15501 > main ()
15502 > {
15503 >
15504 >  ;
15505 >  return 0;
15506 > }
15507 > _ACEOF
15508 > if ac_fn_c_try_compile "$LINENO"; then :
15509 >  eval "$as_CACHEVAR=yes"
15510 > else
15511 >  eval "$as_CACHEVAR=no"
15512 > fi
15513 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15514 >  CFLAGS=$ax_check_save_flags
15515   fi
15516 + eval ac_res=\$$as_CACHEVAR
15517 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15518 + $as_echo "$ac_res" >&6; }
15519 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15520  
15521 < if test "$assert" = no; then
15521 > if ${CFLAGS+:} false; then :
15522  
15523 < $as_echo "#define NDEBUG 1" >>confdefs.h
15523 >  case " $CFLAGS " in #(
15524 >  *" $flag "*) :
15525 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15526 >  (: CFLAGS already contains $flag) 2>&5
15527 >  ac_status=$?
15528 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15529 >  test $ac_status = 0; } ;; #(
15530 >  *) :
15531 >
15532 >     as_fn_append CFLAGS " $flag"
15533 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15534 >  (: CFLAGS="$CFLAGS") 2>&5
15535 >  ac_status=$?
15536 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15537 >  test $ac_status = 0; }
15538 >     ;;
15539 > esac
15540 >
15541 > else
15542 >
15543 >  CFLAGS=$flag
15544 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15545 >  (: CFLAGS="$CFLAGS") 2>&5
15546 >  ac_status=$?
15547 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15548 >  test $ac_status = 0; }
15549  
15550   fi
15551  
15552 + else
15553 +  :
15554 + fi
15555 +
15556 + done
15557 +
15558 +
15559 +
15560 +
15561  
15562 < # Check whether --enable-small-net was given.
15563 < if test "${enable_small_net+set}" = set; then :
15564 <  enableval=$enable_small_net; small_net=$enableval
15562 > for flag in -Wmissing-parameter-type; do
15563 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15564 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15565 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15566 > if eval \${$as_CACHEVAR+:} false; then :
15567 >  $as_echo_n "(cached) " >&6
15568   else
15569 <  small_net=no
15569 >
15570 >  ax_check_save_flags=$CFLAGS
15571 >  CFLAGS="$CFLAGS  $flag"
15572 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15573 > /* end confdefs.h.  */
15574 >
15575 > int
15576 > main ()
15577 > {
15578 >
15579 >  ;
15580 >  return 0;
15581 > }
15582 > _ACEOF
15583 > if ac_fn_c_try_compile "$LINENO"; then :
15584 >  eval "$as_CACHEVAR=yes"
15585 > else
15586 >  eval "$as_CACHEVAR=no"
15587 > fi
15588 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 >  CFLAGS=$ax_check_save_flags
15590   fi
15591 + eval ac_res=\$$as_CACHEVAR
15592 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15593 + $as_echo "$ac_res" >&6; }
15594 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15595 +
15596 + if ${CFLAGS+:} false; then :
15597 +
15598 +  case " $CFLAGS " in #(
15599 +  *" $flag "*) :
15600 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15601 +  (: CFLAGS already contains $flag) 2>&5
15602 +  ac_status=$?
15603 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15604 +  test $ac_status = 0; } ;; #(
15605 +  *) :
15606 +
15607 +     as_fn_append CFLAGS " $flag"
15608 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15609 +  (: CFLAGS="$CFLAGS") 2>&5
15610 +  ac_status=$?
15611 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15612 +  test $ac_status = 0; }
15613 +     ;;
15614 + esac
15615  
15616 + else
15617  
15618 < if test "$small_net" = yes; then
15618 >  CFLAGS=$flag
15619 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15620 >  (: CFLAGS="$CFLAGS") 2>&5
15621 >  ac_status=$?
15622 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15623 >  test $ac_status = 0; }
15624  
15625 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
15625 > fi
15626  
15627 + else
15628 +  :
15629 + fi
15630  
15631 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
15631 > done
15632  
15633  
13065 – $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
15634  
15635  
13068 – $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
15636  
15637 + for flag in -Wmissing-prototypes; do
15638 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15639 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15640 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15641 + if eval \${$as_CACHEVAR+:} false; then :
15642 +  $as_echo_n "(cached) " >&6
15643 + else
15644  
15645 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
15645 >  ax_check_save_flags=$CFLAGS
15646 >  CFLAGS="$CFLAGS  $flag"
15647 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648 > /* end confdefs.h.  */
15649  
15650 + int
15651 + main ()
15652 + {
15653  
15654 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
15654 >  ;
15655 >  return 0;
15656 > }
15657 > _ACEOF
15658 > if ac_fn_c_try_compile "$LINENO"; then :
15659 >  eval "$as_CACHEVAR=yes"
15660 > else
15661 >  eval "$as_CACHEVAR=no"
15662 > fi
15663 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 >  CFLAGS=$ax_check_save_flags
15665 > fi
15666 > eval ac_res=\$$as_CACHEVAR
15667 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15668 > $as_echo "$ac_res" >&6; }
15669 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15670  
15671 + if ${CFLAGS+:} false; then :
15672  
15673 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
15673 >  case " $CFLAGS " in #(
15674 >  *" $flag "*) :
15675 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15676 >  (: CFLAGS already contains $flag) 2>&5
15677 >  ac_status=$?
15678 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15679 >  test $ac_status = 0; } ;; #(
15680 >  *) :
15681 >
15682 >     as_fn_append CFLAGS " $flag"
15683 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15684 >  (: CFLAGS="$CFLAGS") 2>&5
15685 >  ac_status=$?
15686 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15687 >  test $ac_status = 0; }
15688 >     ;;
15689 > esac
15690 >
15691 > else
15692  
15693 +  CFLAGS=$flag
15694 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15695 +  (: CFLAGS="$CFLAGS") 2>&5
15696 +  ac_status=$?
15697 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15698 +  test $ac_status = 0; }
15699  
15700 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
15700 > fi
15701  
15702   else
15703 +  :
15704 + fi
15705  
15706 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
15706 > done
15707  
15708  
13087 – $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
15709  
15710  
13090 – $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
15711  
15712 + for flag in -Wnested-externs; do
15713 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15714 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15715 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15716 + if eval \${$as_CACHEVAR+:} false; then :
15717 +  $as_echo_n "(cached) " >&6
15718 + else
15719  
15720 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
15720 >  ax_check_save_flags=$CFLAGS
15721 >  CFLAGS="$CFLAGS  $flag"
15722 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 > /* end confdefs.h.  */
15724  
15725 + int
15726 + main ()
15727 + {
15728  
15729 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
15729 >  ;
15730 >  return 0;
15731 > }
15732 > _ACEOF
15733 > if ac_fn_c_try_compile "$LINENO"; then :
15734 >  eval "$as_CACHEVAR=yes"
15735 > else
15736 >  eval "$as_CACHEVAR=no"
15737 > fi
15738 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 >  CFLAGS=$ax_check_save_flags
15740 > fi
15741 > eval ac_res=\$$as_CACHEVAR
15742 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15743 > $as_echo "$ac_res" >&6; }
15744 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15745  
15746 + if ${CFLAGS+:} false; then :
15747  
15748 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
15748 >  case " $CFLAGS " in #(
15749 >  *" $flag "*) :
15750 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15751 >  (: CFLAGS already contains $flag) 2>&5
15752 >  ac_status=$?
15753 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15754 >  test $ac_status = 0; } ;; #(
15755 >  *) :
15756  
15757 +     as_fn_append CFLAGS " $flag"
15758 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15759 +  (: CFLAGS="$CFLAGS") 2>&5
15760 +  ac_status=$?
15761 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15762 +  test $ac_status = 0; }
15763 +     ;;
15764 + esac
15765  
15766 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
15766 > else
15767  
15768 +  CFLAGS=$flag
15769 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15770 +  (: CFLAGS="$CFLAGS") 2>&5
15771 +  ac_status=$?
15772 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15773 +  test $ac_status = 0; }
15774  
15775 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
15775 > fi
15776  
15777 + else
15778 +  :
15779   fi
15780  
15781 + done
15782  
13110 – # Argument processing.
15783  
15784 <    desired_iopoll_mechanism="none"
15785 <    # Check whether --enable-kqueue was given.
15786 < if test "${enable_kqueue+set}" = set; then :
15787 <  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
15784 >
15785 >
15786 >
15787 > for flag in -Wold-style-declaration; do
15788 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15789 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15790 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15791 > if eval \${$as_CACHEVAR+:} false; then :
15792 >  $as_echo_n "(cached) " >&6
15793 > else
15794 >
15795 >  ax_check_save_flags=$CFLAGS
15796 >  CFLAGS="$CFLAGS  $flag"
15797 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15798 > /* end confdefs.h.  */
15799 >
15800 > int
15801 > main ()
15802 > {
15803 >
15804 >  ;
15805 >  return 0;
15806 > }
15807 > _ACEOF
15808 > if ac_fn_c_try_compile "$LINENO"; then :
15809 >  eval "$as_CACHEVAR=yes"
15810 > else
15811 >  eval "$as_CACHEVAR=no"
15812 > fi
15813 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15814 >  CFLAGS=$ax_check_save_flags
15815   fi
15816 + eval ac_res=\$$as_CACHEVAR
15817 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15818 + $as_echo "$ac_res" >&6; }
15819 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15820 +
15821 + if ${CFLAGS+:} false; then :
15822 +
15823 +  case " $CFLAGS " in #(
15824 +  *" $flag "*) :
15825 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15826 +  (: CFLAGS already contains $flag) 2>&5
15827 +  ac_status=$?
15828 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15829 +  test $ac_status = 0; } ;; #(
15830 +  *) :
15831 +
15832 +     as_fn_append CFLAGS " $flag"
15833 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15834 +  (: CFLAGS="$CFLAGS") 2>&5
15835 +  ac_status=$?
15836 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15837 +  test $ac_status = 0; }
15838 +     ;;
15839 + esac
15840 +
15841 + else
15842 +
15843 +  CFLAGS=$flag
15844 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15845 +  (: CFLAGS="$CFLAGS") 2>&5
15846 +  ac_status=$?
15847 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15848 +  test $ac_status = 0; }
15849  
13118 –  # Check whether --enable-epoll was given.
13119 – if test "${enable_epoll+set}" = set; then :
13120 –  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
15850   fi
15851  
15852 <  # Check whether --enable-devpoll was given.
15853 < if test "${enable_devpoll+set}" = set; then :
13125 <  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
15852 > else
15853 >  :
15854   fi
15855  
15856 <  # Check whether --enable-rtsigio was given.
15857 < if test "${enable_rtsigio+set}" = set; then :
15858 <  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
15856 > done
15857 >
15858 >
15859 >
15860 >
15861 >
15862 > for flag in -Woverride-init; do
15863 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15864 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15865 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15866 > if eval \${$as_CACHEVAR+:} false; then :
15867 >  $as_echo_n "(cached) " >&6
15868 > else
15869 >
15870 >  ax_check_save_flags=$CFLAGS
15871 >  CFLAGS="$CFLAGS  $flag"
15872 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 > /* end confdefs.h.  */
15874 >
15875 > int
15876 > main ()
15877 > {
15878 >
15879 >  ;
15880 >  return 0;
15881 > }
15882 > _ACEOF
15883 > if ac_fn_c_try_compile "$LINENO"; then :
15884 >  eval "$as_CACHEVAR=yes"
15885 > else
15886 >  eval "$as_CACHEVAR=no"
15887 > fi
15888 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 >  CFLAGS=$ax_check_save_flags
15890   fi
15891 + eval ac_res=\$$as_CACHEVAR
15892 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15893 + $as_echo "$ac_res" >&6; }
15894 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15895 +
15896 + if ${CFLAGS+:} false; then :
15897 +
15898 +  case " $CFLAGS " in #(
15899 +  *" $flag "*) :
15900 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15901 +  (: CFLAGS already contains $flag) 2>&5
15902 +  ac_status=$?
15903 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15904 +  test $ac_status = 0; } ;; #(
15905 +  *) :
15906 +
15907 +     as_fn_append CFLAGS " $flag"
15908 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15909 +  (: CFLAGS="$CFLAGS") 2>&5
15910 +  ac_status=$?
15911 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15912 +  test $ac_status = 0; }
15913 +     ;;
15914 + esac
15915 +
15916 + else
15917 +
15918 +  CFLAGS=$flag
15919 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15920 +  (: CFLAGS="$CFLAGS") 2>&5
15921 +  ac_status=$?
15922 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15923 +  test $ac_status = 0; }
15924  
13133 –  # Check whether --enable-poll was given.
13134 – if test "${enable_poll+set}" = set; then :
13135 –  enableval=$enable_poll; desired_iopoll_mechanism="poll"
15925   fi
15926  
15927 <  # Check whether --enable-select was given.
15928 < if test "${enable_select+set}" = set; then :
13140 <  enableval=$enable_select; desired_iopoll_mechanism="select"
15927 > else
15928 >  :
15929   fi
15930  
15931 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13144 < $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13145 <  iopoll_mechanism_none=0
15931 > done
15932  
13147 – cat >>confdefs.h <<_ACEOF
13148 – #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13149 – _ACEOF
15933  
13151 –      iopoll_mechanism_kqueue=1
15934  
13153 – cat >>confdefs.h <<_ACEOF
13154 – #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13155 – _ACEOF
15935  
15936 +
15937 + for flag in -Wpointer-arith; do
15938 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15939 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15940 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15941 + if eval \${$as_CACHEVAR+:} false; then :
15942 +  $as_echo_n "(cached) " >&6
15943 + else
15944 +
15945 +  ax_check_save_flags=$CFLAGS
15946 +  CFLAGS="$CFLAGS  $flag"
15947    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948   /* end confdefs.h.  */
13159 – /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13160 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13161 – #define kevent innocuous_kevent
15949  
15950 < /* System header to define __stub macros and hopefully few prototypes,
15951 <    which can conflict with char kevent (); below.
15952 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13166 <    <limits.h> exists even on freestanding compilers.  */
15950 > int
15951 > main ()
15952 > {
15953  
15954 < #ifdef __STDC__
15955 < # include <limits.h>
15956 < #else
15957 < # include <assert.h>
15958 < #endif
15954 >  ;
15955 >  return 0;
15956 > }
15957 > _ACEOF
15958 > if ac_fn_c_try_compile "$LINENO"; then :
15959 >  eval "$as_CACHEVAR=yes"
15960 > else
15961 >  eval "$as_CACHEVAR=no"
15962 > fi
15963 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964 >  CFLAGS=$ax_check_save_flags
15965 > fi
15966 > eval ac_res=\$$as_CACHEVAR
15967 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15968 > $as_echo "$ac_res" >&6; }
15969 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
15970  
15971 < #undef kevent
15971 > if ${CFLAGS+:} false; then :
15972  
15973 < /* Override any GCC internal prototype to avoid an error.
15974 <   Use char because int might match the return type of a GCC
15975 <   builtin and then its argument prototype would still apply.  */
15976 < #ifdef __cplusplus
15977 < extern "C"
15978 < #endif
15979 < char kevent ();
15980 < /* The GNU C library defines this for functions which it implements
15981 <    to always fail with ENOSYS.  Some functions are actually named
15982 <    something starting with __ and the normal name is an alias.  */
15983 < #if defined __stub_kevent || defined __stub___kevent
15984 < choke me
15985 < #endif
15973 >  case " $CFLAGS " in #(
15974 >  *" $flag "*) :
15975 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15976 >  (: CFLAGS already contains $flag) 2>&5
15977 >  ac_status=$?
15978 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15979 >  test $ac_status = 0; } ;; #(
15980 >  *) :
15981 >
15982 >     as_fn_append CFLAGS " $flag"
15983 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15984 >  (: CFLAGS="$CFLAGS") 2>&5
15985 >  ac_status=$?
15986 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15987 >  test $ac_status = 0; }
15988 >     ;;
15989 > esac
15990 >
15991 > else
15992 >
15993 >  CFLAGS=$flag
15994 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15995 >  (: CFLAGS="$CFLAGS") 2>&5
15996 >  ac_status=$?
15997 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15998 >  test $ac_status = 0; }
15999 >
16000 > fi
16001 >
16002 > else
16003 >  :
16004 > fi
16005 >
16006 > done
16007 >
16008 >
16009 >
16010 >
16011 >
16012 > for flag in -Wredundant-decls; do
16013 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16014 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16015 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16016 > if eval \${$as_CACHEVAR+:} false; then :
16017 >  $as_echo_n "(cached) " >&6
16018 > else
16019 >
16020 >  ax_check_save_flags=$CFLAGS
16021 >  CFLAGS="$CFLAGS  $flag"
16022 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16023 > /* end confdefs.h.  */
16024  
16025   int
16026   main ()
16027   {
16028 < return kevent ();
16028 >
16029    ;
16030    return 0;
16031   }
16032   _ACEOF
16033 < if ac_fn_c_try_link "$LINENO"; then :
16034 <  is_kqueue_mechanism_available="yes"
16033 > if ac_fn_c_try_compile "$LINENO"; then :
16034 >  eval "$as_CACHEVAR=yes"
16035   else
16036 <  is_kqueue_mechanism_available="no"
16036 >  eval "$as_CACHEVAR=no"
16037   fi
16038 < rm -f core conftest.err conftest.$ac_objext \
16039 <    conftest$ac_exeext conftest.$ac_ext
16040 <      iopoll_mechanism_epoll=2
16038 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16039 >  CFLAGS=$ax_check_save_flags
16040 > fi
16041 > eval ac_res=\$$as_CACHEVAR
16042 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16043 > $as_echo "$ac_res" >&6; }
16044 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16045  
16046 < cat >>confdefs.h <<_ACEOF
13208 < #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
13209 < _ACEOF
16046 > if ${CFLAGS+:} false; then :
16047  
16048 <  if test "$cross_compiling" = yes; then :
16049 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16050 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16051 < as_fn_error "cannot run test program while cross compiling
16052 < See \`config.log' for more details." "$LINENO" 5; }
16048 >  case " $CFLAGS " in #(
16049 >  *" $flag "*) :
16050 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16051 >  (: CFLAGS already contains $flag) 2>&5
16052 >  ac_status=$?
16053 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16054 >  test $ac_status = 0; } ;; #(
16055 >  *) :
16056 >
16057 >     as_fn_append CFLAGS " $flag"
16058 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16059 >  (: CFLAGS="$CFLAGS") 2>&5
16060 >  ac_status=$?
16061 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16062 >  test $ac_status = 0; }
16063 >     ;;
16064 > esac
16065 >
16066 > else
16067 >
16068 >  CFLAGS=$flag
16069 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16070 >  (: CFLAGS="$CFLAGS") 2>&5
16071 >  ac_status=$?
16072 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16073 >  test $ac_status = 0; }
16074 >
16075 > fi
16076 >
16077 > else
16078 >  :
16079 > fi
16080 >
16081 > done
16082 >
16083 >
16084 >
16085 >
16086 >
16087 > for flag in -Wshadow; do
16088 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16089 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16090 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16091 > if eval \${$as_CACHEVAR+:} false; then :
16092 >  $as_echo_n "(cached) " >&6
16093   else
16094 +
16095 +  ax_check_save_flags=$CFLAGS
16096 +  CFLAGS="$CFLAGS  $flag"
16097    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16098   /* end confdefs.h.  */
16099  
16100 < #include <sys/epoll.h>
16101 < #include <sys/syscall.h>
16102 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
13223 < #if !defined(__NR_epoll_create)
13224 < #if defined(__ia64__)
13225 < #define __NR_epoll_create 1243
13226 < #elif defined(__x86_64__)
13227 < #define __NR_epoll_create 214
13228 < #elif defined(__sparc64__) || defined(__sparc__)
13229 < #define __NR_epoll_create 193
13230 < #elif defined(__s390__) || defined(__m68k__)
13231 < #define __NR_epoll_create 249
13232 < #elif defined(__ppc64__) || defined(__ppc__)
13233 < #define __NR_epoll_create 236
13234 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13235 < #define __NR_epoll_create 224
13236 < #elif defined(__alpha__)
13237 < #define __NR_epoll_create 407
13238 < #elif defined(__sh64__)
13239 < #define __NR_epoll_create 282
13240 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13241 < #define __NR_epoll_create 254
13242 < #else
13243 < #error No system call numbers defined for epoll family.
13244 < #endif
13245 < #endif
13246 < _syscall1(int, epoll_create, int, size)
13247 < #endif
13248 < main() { return epoll_create(256) == -1 ? 1 : 0; }
16100 > int
16101 > main ()
16102 > {
16103  
16104 +  ;
16105 +  return 0;
16106 + }
16107   _ACEOF
16108 < if ac_fn_c_try_run "$LINENO"; then :
16109 <  is_epoll_mechanism_available="yes"
16108 > if ac_fn_c_try_compile "$LINENO"; then :
16109 >  eval "$as_CACHEVAR=yes"
16110   else
16111 <  is_epoll_mechanism_available="no"
16111 >  eval "$as_CACHEVAR=no"
16112   fi
16113 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16114 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
16113 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16114 >  CFLAGS=$ax_check_save_flags
16115   fi
16116 + eval ac_res=\$$as_CACHEVAR
16117 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16118 + $as_echo "$ac_res" >&6; }
16119 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16120  
16121 <      iopoll_mechanism_devpoll=3
16121 > if ${CFLAGS+:} false; then :
16122  
16123 < cat >>confdefs.h <<_ACEOF
16124 < #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
16125 < _ACEOF
16123 >  case " $CFLAGS " in #(
16124 >  *" $flag "*) :
16125 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16126 >  (: CFLAGS already contains $flag) 2>&5
16127 >  ac_status=$?
16128 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16129 >  test $ac_status = 0; } ;; #(
16130 >  *) :
16131  
16132 +     as_fn_append CFLAGS " $flag"
16133 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16134 +  (: CFLAGS="$CFLAGS") 2>&5
16135 +  ac_status=$?
16136 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16137 +  test $ac_status = 0; }
16138 +     ;;
16139 + esac
16140 +
16141 + else
16142 +
16143 +  CFLAGS=$flag
16144 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16145 +  (: CFLAGS="$CFLAGS") 2>&5
16146 +  ac_status=$?
16147 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16148 +  test $ac_status = 0; }
16149 +
16150 + fi
16151 +
16152 + else
16153 +  :
16154 + fi
16155 +
16156 + done
16157 +
16158 +
16159 +
16160 +
16161 +
16162 + for flag in -Wshift-negative-value; do
16163 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16164 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16165 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16166 + if eval \${$as_CACHEVAR+:} false; then :
16167 +  $as_echo_n "(cached) " >&6
16168 + else
16169 +
16170 +  ax_check_save_flags=$CFLAGS
16171 +  CFLAGS="$CFLAGS  $flag"
16172    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173   /* end confdefs.h.  */
16174 < #include <devpoll.h>
16174 >
16175   int
16176   main ()
16177   {
# Line 13275 | Line 16181 | main ()
16181   }
16182   _ACEOF
16183   if ac_fn_c_try_compile "$LINENO"; then :
16184 <  is_devpoll_mechanism_available="yes"
16184 >  eval "$as_CACHEVAR=yes"
16185   else
16186 <  is_devpoll_mechanism_available="no"
16186 >  eval "$as_CACHEVAR=no"
16187   fi
16188   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16189 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
16189 >  CFLAGS=$ax_check_save_flags
16190 > fi
16191 > eval ac_res=\$$as_CACHEVAR
16192 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16193 > $as_echo "$ac_res" >&6; }
16194 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16195  
16196 < $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
16196 > if ${CFLAGS+:} false; then :
16197  
16198 <  fi
16198 >  case " $CFLAGS " in #(
16199 >  *" $flag "*) :
16200 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16201 >  (: CFLAGS already contains $flag) 2>&5
16202 >  ac_status=$?
16203 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16204 >  test $ac_status = 0; } ;; #(
16205 >  *) :
16206 >
16207 >     as_fn_append CFLAGS " $flag"
16208 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16209 >  (: CFLAGS="$CFLAGS") 2>&5
16210 >  ac_status=$?
16211 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16212 >  test $ac_status = 0; }
16213 >     ;;
16214 > esac
16215 >
16216 > else
16217 >
16218 >  CFLAGS=$flag
16219 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16220 >  (: CFLAGS="$CFLAGS") 2>&5
16221 >  ac_status=$?
16222 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16223 >  test $ac_status = 0; }
16224 >
16225 > fi
16226 >
16227 > else
16228 >  :
16229 > fi
16230 >
16231 > done
16232 >
16233 >
16234 >
16235 >
16236 >
16237 > for flag in -Wsign-compare; do
16238 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16239 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16240 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16241 > if eval \${$as_CACHEVAR+:} false; then :
16242 >  $as_echo_n "(cached) " >&6
16243 > else
16244 >
16245 >  ax_check_save_flags=$CFLAGS
16246 >  CFLAGS="$CFLAGS  $flag"
16247    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248   /* end confdefs.h.  */
16249 < #include <sys/devpoll.h>
16249 >
16250   int
16251   main ()
16252   {
# Line 13297 | Line 16256 | main ()
16256   }
16257   _ACEOF
16258   if ac_fn_c_try_compile "$LINENO"; then :
16259 <  is_devpoll_mechanism_available="yes"
16259 >  eval "$as_CACHEVAR=yes"
16260   else
16261 <  is_devpoll_mechanism_available="no"
16261 >  eval "$as_CACHEVAR=no"
16262   fi
16263   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16264 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
16264 >  CFLAGS=$ax_check_save_flags
16265 > fi
16266 > eval ac_res=\$$as_CACHEVAR
16267 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16268 > $as_echo "$ac_res" >&6; }
16269 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16270  
16271 < $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
16271 > if ${CFLAGS+:} false; then :
16272  
16273 <  fi
16274 <      iopoll_mechanism_rtsigio=4
16273 >  case " $CFLAGS " in #(
16274 >  *" $flag "*) :
16275 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16276 >  (: CFLAGS already contains $flag) 2>&5
16277 >  ac_status=$?
16278 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16279 >  test $ac_status = 0; } ;; #(
16280 >  *) :
16281  
16282 < cat >>confdefs.h <<_ACEOF
16283 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
16284 < _ACEOF
16282 >     as_fn_append CFLAGS " $flag"
16283 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16284 >  (: CFLAGS="$CFLAGS") 2>&5
16285 >  ac_status=$?
16286 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16287 >  test $ac_status = 0; }
16288 >     ;;
16289 > esac
16290 >
16291 > else
16292 >
16293 >  CFLAGS=$flag
16294 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16295 >  (: CFLAGS="$CFLAGS") 2>&5
16296 >  ac_status=$?
16297 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16298 >  test $ac_status = 0; }
16299 >
16300 > fi
16301  
13316 –  if test "$cross_compiling" = yes; then :
13317 –  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13318 – $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13319 – as_fn_error "cannot run test program while cross compiling
13320 – See \`config.log' for more details." "$LINENO" 5; }
16302   else
16303 +  :
16304 + fi
16305 +
16306 + done
16307 +
16308 +
16309 +
16310 +
16311 +
16312 + for flag in -Wtype-limits; do
16313 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16314 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16315 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16316 + if eval \${$as_CACHEVAR+:} false; then :
16317 +  $as_echo_n "(cached) " >&6
16318 + else
16319 +
16320 +  ax_check_save_flags=$CFLAGS
16321 +  CFLAGS="$CFLAGS  $flag"
16322    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16323   /* end confdefs.h.  */
16324  
16325 < #include <fcntl.h>
16326 < #ifdef F_SETSIG
16327 < main () { return 0; } /* F_SETSIG defined */
16328 < #else
16329 < main () { return 1; } /* F_SETSIG not defined */
16330 < #endif
16325 > int
16326 > main ()
16327 > {
16328 >
16329 >  ;
16330 >  return 0;
16331 > }
16332 > _ACEOF
16333 > if ac_fn_c_try_compile "$LINENO"; then :
16334 >  eval "$as_CACHEVAR=yes"
16335 > else
16336 >  eval "$as_CACHEVAR=no"
16337 > fi
16338 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16339 >  CFLAGS=$ax_check_save_flags
16340 > fi
16341 > eval ac_res=\$$as_CACHEVAR
16342 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16343 > $as_echo "$ac_res" >&6; }
16344 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16345 >
16346 > if ${CFLAGS+:} false; then :
16347 >
16348 >  case " $CFLAGS " in #(
16349 >  *" $flag "*) :
16350 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16351 >  (: CFLAGS already contains $flag) 2>&5
16352 >  ac_status=$?
16353 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16354 >  test $ac_status = 0; } ;; #(
16355 >  *) :
16356 >
16357 >     as_fn_append CFLAGS " $flag"
16358 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16359 >  (: CFLAGS="$CFLAGS") 2>&5
16360 >  ac_status=$?
16361 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16362 >  test $ac_status = 0; }
16363 >     ;;
16364 > esac
16365 >
16366 > else
16367 >
16368 >  CFLAGS=$flag
16369 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16370 >  (: CFLAGS="$CFLAGS") 2>&5
16371 >  ac_status=$?
16372 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16373 >  test $ac_status = 0; }
16374 >
16375 > fi
16376 >
16377 > else
16378 >  :
16379 > fi
16380 >
16381 > done
16382 >
16383 >
16384 >
16385 >
16386 >
16387 > for flag in -Wundef; do
16388 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16389 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16390 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16391 > if eval \${$as_CACHEVAR+:} false; then :
16392 >  $as_echo_n "(cached) " >&6
16393 > else
16394 >
16395 >  ax_check_save_flags=$CFLAGS
16396 >  CFLAGS="$CFLAGS  $flag"
16397 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16398 > /* end confdefs.h.  */
16399  
16400   int
16401   main ()
# Line 13337 | Line 16405 | main ()
16405    return 0;
16406   }
16407   _ACEOF
16408 < if ac_fn_c_try_run "$LINENO"; then :
16409 <  is_rtsigio_mechanism_available="yes"
16408 > if ac_fn_c_try_compile "$LINENO"; then :
16409 >  eval "$as_CACHEVAR=yes"
16410   else
16411 <  is_rtsigio_mechanism_available="no"
16411 >  eval "$as_CACHEVAR=no"
16412   fi
16413 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16414 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
16413 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16414 >  CFLAGS=$ax_check_save_flags
16415   fi
16416 + eval ac_res=\$$as_CACHEVAR
16417 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16418 + $as_echo "$ac_res" >&6; }
16419 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16420  
16421 <      iopoll_mechanism_poll=5
16421 > if ${CFLAGS+:} false; then :
16422  
16423 < cat >>confdefs.h <<_ACEOF
16424 < #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
16423 >  case " $CFLAGS " in #(
16424 >  *" $flag "*) :
16425 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16426 >  (: CFLAGS already contains $flag) 2>&5
16427 >  ac_status=$?
16428 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16429 >  test $ac_status = 0; } ;; #(
16430 >  *) :
16431 >
16432 >     as_fn_append CFLAGS " $flag"
16433 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16434 >  (: CFLAGS="$CFLAGS") 2>&5
16435 >  ac_status=$?
16436 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16437 >  test $ac_status = 0; }
16438 >     ;;
16439 > esac
16440 >
16441 > else
16442 >
16443 >  CFLAGS=$flag
16444 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16445 >  (: CFLAGS="$CFLAGS") 2>&5
16446 >  ac_status=$?
16447 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16448 >  test $ac_status = 0; }
16449 >
16450 > fi
16451 >
16452 > else
16453 >  :
16454 > fi
16455 >
16456 > done
16457 >
16458 >
16459 >
16460 >
16461 >
16462 > for flag in -Wuninitialized; do
16463 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16464 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16465 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16466 > if eval \${$as_CACHEVAR+:} false; then :
16467 >  $as_echo_n "(cached) " >&6
16468 > else
16469 >
16470 >  ax_check_save_flags=$CFLAGS
16471 >  CFLAGS="$CFLAGS  $flag"
16472 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16473 > /* end confdefs.h.  */
16474 >
16475 > int
16476 > main ()
16477 > {
16478 >
16479 >  ;
16480 >  return 0;
16481 > }
16482   _ACEOF
16483 + if ac_fn_c_try_compile "$LINENO"; then :
16484 +  eval "$as_CACHEVAR=yes"
16485 + else
16486 +  eval "$as_CACHEVAR=no"
16487 + fi
16488 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16489 +  CFLAGS=$ax_check_save_flags
16490 + fi
16491 + eval ac_res=\$$as_CACHEVAR
16492 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16493 + $as_echo "$ac_res" >&6; }
16494 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16495 +
16496 + if ${CFLAGS+:} false; then :
16497 +
16498 +  case " $CFLAGS " in #(
16499 +  *" $flag "*) :
16500 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16501 +  (: CFLAGS already contains $flag) 2>&5
16502 +  ac_status=$?
16503 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16504 +  test $ac_status = 0; } ;; #(
16505 +  *) :
16506 +
16507 +     as_fn_append CFLAGS " $flag"
16508 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16509 +  (: CFLAGS="$CFLAGS") 2>&5
16510 +  ac_status=$?
16511 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16512 +  test $ac_status = 0; }
16513 +     ;;
16514 + esac
16515 +
16516 + else
16517 +
16518 +  CFLAGS=$flag
16519 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16520 +  (: CFLAGS="$CFLAGS") 2>&5
16521 +  ac_status=$?
16522 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16523 +  test $ac_status = 0; }
16524 +
16525 + fi
16526 +
16527 + else
16528 +  :
16529 + fi
16530 +
16531 + done
16532 +
16533 +
16534 +
16535  
16536 +
16537 + for flag in -Wwrite-strings; do
16538 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16539 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16540 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16541 + if eval \${$as_CACHEVAR+:} false; then :
16542 +  $as_echo_n "(cached) " >&6
16543 + else
16544 +
16545 +  ax_check_save_flags=$CFLAGS
16546 +  CFLAGS="$CFLAGS  $flag"
16547    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548   /* end confdefs.h.  */
13357 – /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13358 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13359 – #define poll innocuous_poll
16549  
16550 < /* System header to define __stub macros and hopefully few prototypes,
16551 <    which can conflict with char poll (); below.
16552 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13364 <    <limits.h> exists even on freestanding compilers.  */
16550 > int
16551 > main ()
16552 > {
16553  
16554 < #ifdef __STDC__
16555 < # include <limits.h>
16556 < #else
16557 < # include <assert.h>
16558 < #endif
16554 >  ;
16555 >  return 0;
16556 > }
16557 > _ACEOF
16558 > if ac_fn_c_try_compile "$LINENO"; then :
16559 >  eval "$as_CACHEVAR=yes"
16560 > else
16561 >  eval "$as_CACHEVAR=no"
16562 > fi
16563 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16564 >  CFLAGS=$ax_check_save_flags
16565 > fi
16566 > eval ac_res=\$$as_CACHEVAR
16567 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16568 > $as_echo "$ac_res" >&6; }
16569 > if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
16570  
16571 < #undef poll
16571 > if ${CFLAGS+:} false; then :
16572 >
16573 >  case " $CFLAGS " in #(
16574 >  *" $flag "*) :
16575 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16576 >  (: CFLAGS already contains $flag) 2>&5
16577 >  ac_status=$?
16578 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16579 >  test $ac_status = 0; } ;; #(
16580 >  *) :
16581 >
16582 >     as_fn_append CFLAGS " $flag"
16583 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16584 >  (: CFLAGS="$CFLAGS") 2>&5
16585 >  ac_status=$?
16586 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16587 >  test $ac_status = 0; }
16588 >     ;;
16589 > esac
16590 >
16591 > else
16592 >
16593 >  CFLAGS=$flag
16594 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
16595 >  (: CFLAGS="$CFLAGS") 2>&5
16596 >  ac_status=$?
16597 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16598 >  test $ac_status = 0; }
16599 >
16600 > fi
16601 >
16602 > else
16603 >  :
16604 > fi
16605 >
16606 > done
16607 >
16608 >
16609 > fi
16610 >
16611 >
16612 >  # Check whether --enable-efence was given.
16613 > if test "${enable_efence+set}" = set; then :
16614 >  enableval=$enable_efence; efence="$enableval"
16615 > else
16616 >  efence="no"
16617 > fi
16618 >
16619 >
16620 >  if test "$efence" = "yes"; then :
16621 >
16622 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
16623 > $as_echo_n "checking for library containing EF_Print... " >&6; }
16624 > if ${ac_cv_search_EF_Print+:} false; then :
16625 >  $as_echo_n "(cached) " >&6
16626 > else
16627 >  ac_func_search_save_LIBS=$LIBS
16628 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 > /* end confdefs.h.  */
16630  
16631   /* Override any GCC internal prototype to avoid an error.
16632     Use char because int might match the return type of a GCC
# Line 13377 | Line 16634 | _ACEOF
16634   #ifdef __cplusplus
16635   extern "C"
16636   #endif
16637 < char poll ();
13381 < /* The GNU C library defines this for functions which it implements
13382 <    to always fail with ENOSYS.  Some functions are actually named
13383 <    something starting with __ and the normal name is an alias.  */
13384 < #if defined __stub_poll || defined __stub___poll
13385 < choke me
13386 < #endif
13387 <
16637 > char EF_Print ();
16638   int
16639   main ()
16640   {
16641 < return poll ();
16641 > return EF_Print ();
16642    ;
16643    return 0;
16644   }
16645   _ACEOF
16646 < if ac_fn_c_try_link "$LINENO"; then :
16647 <  is_poll_mechanism_available="yes"
16648 < else
16649 <  is_poll_mechanism_available="no"
16646 > for ac_lib in '' efence; do
16647 >  if test -z "$ac_lib"; then
16648 >    ac_res="none required"
16649 >  else
16650 >    ac_res=-l$ac_lib
16651 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16652 >  fi
16653 >  if ac_fn_c_try_link "$LINENO"; then :
16654 >  ac_cv_search_EF_Print=$ac_res
16655   fi
16656   rm -f core conftest.err conftest.$ac_objext \
16657 <    conftest$ac_exeext conftest.$ac_ext
16658 <      iopoll_mechanism_select=6
16657 >    conftest$ac_exeext
16658 >  if ${ac_cv_search_EF_Print+:} false; then :
16659 >  break
16660 > fi
16661 > done
16662 > if ${ac_cv_search_EF_Print+:} false; then :
16663  
16664 < cat >>confdefs.h <<_ACEOF
16665 < #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
16666 < _ACEOF
16664 > else
16665 >  ac_cv_search_EF_Print=no
16666 > fi
16667 > rm conftest.$ac_ext
16668 > LIBS=$ac_func_search_save_LIBS
16669 > fi
16670 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
16671 > $as_echo "$ac_cv_search_EF_Print" >&6; }
16672 > ac_res=$ac_cv_search_EF_Print
16673 > if test "$ac_res" != no; then :
16674 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16675 >
16676 > else
16677 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16678 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16679 > as_fn_error $? "Electric Fence 'efence' library not found
16680 > See \`config.log' for more details" "$LINENO" 5; }
16681 > fi
16682 >
16683 >
16684 > fi
16685 >
16686 >
16687 >
16688 >
16689 > # Check whether --with-tls was given.
16690 > if test "${with_tls+set}" = set; then :
16691 >  withval=$with_tls; with_tls=$withval
16692 > else
16693 >  with_tls=auto
16694 > fi
16695  
16696 +
16697 + if test "$with_tls" = "openssl" ||
16698 +   test "$with_tls" = "auto"; then
16699 +    ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
16700 + if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
16701 +
16702 +      if test "$cross_compiling" = yes; then :
16703 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16704 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16705 + as_fn_error $? "cannot run test program while cross compiling
16706 + See \`config.log' for more details" "$LINENO" 5; }
16707 + else
16708    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16709   /* end confdefs.h.  */
13411 – /* Define select to an innocuous variant, in case <limits.h> declares select.
13412 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13413 – #define select innocuous_select
16710  
13415 – /* System header to define __stub macros and hopefully few prototypes,
13416 –    which can conflict with char select (); below.
13417 –    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13418 –    <limits.h> exists even on freestanding compilers.  */
16711  
16712 < #ifdef __STDC__
16713 < # include <limits.h>
16714 < #else
16715 < # include <assert.h>
16716 < #endif
16712 >          #include <openssl/opensslv.h>
16713 >          #include <stdlib.h>
16714 > int
16715 > main ()
16716 > {
16717  
16718 < #undef select
16718 >          exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL));
16719 >  ;
16720 >  return 0;
16721 > }
16722 > _ACEOF
16723 > if ac_fn_c_try_run "$LINENO"; then :
16724 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16725 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16726 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
16727 >  $as_echo_n "(cached) " >&6
16728 > else
16729 >  ac_check_lib_save_LIBS=$LIBS
16730 > LIBS="-lcrypto  $LIBS"
16731 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 > /* end confdefs.h.  */
16733  
16734   /* Override any GCC internal prototype to avoid an error.
16735     Use char because int might match the return type of a GCC
# Line 13431 | Line 16737 | _ACEOF
16737   #ifdef __cplusplus
16738   extern "C"
16739   #endif
16740 < char select ();
13435 < /* The GNU C library defines this for functions which it implements
13436 <    to always fail with ENOSYS.  Some functions are actually named
13437 <    something starting with __ and the normal name is an alias.  */
13438 < #if defined __stub_select || defined __stub___select
13439 < choke me
13440 < #endif
13441 <
16740 > char RSA_free ();
16741   int
16742   main ()
16743   {
16744 < return select ();
16744 > return RSA_free ();
16745    ;
16746    return 0;
16747   }
16748   _ACEOF
16749   if ac_fn_c_try_link "$LINENO"; then :
16750 <  is_select_mechanism_available="yes"
16750 >  ac_cv_lib_crypto_RSA_free=yes
16751   else
16752 <  is_select_mechanism_available="no"
16752 >  ac_cv_lib_crypto_RSA_free=no
16753   fi
16754   rm -f core conftest.err conftest.$ac_objext \
16755      conftest$ac_exeext conftest.$ac_ext
16756 <      optimal_iopoll_mechanism="none"
16757 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
16758 <    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
16759 <    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
16760 <      optimal_iopoll_mechanism="$mechanism"
16761 <      break
16762 <    fi
16763 <  done
16764 <      if test "$desired_iopoll_mechanism" = "none" ; then
16765 <    if test "$optimal_iopoll_mechanism" = "none" ; then
16766 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
16767 < $as_echo "none" >&6; }
16768 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
16769 <    else
13471 <      selected_iopoll_mechanism=$optimal_iopoll_mechanism
13472 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13473 < $as_echo "$selected_iopoll_mechanism" >&6; }
13474 <    fi
13475 <  else
13476 <    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13477 <    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13478 <      selected_iopoll_mechanism=$desired_iopoll_mechanism
13479 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13480 < $as_echo "$selected_iopoll_mechanism" >&6; }
13481 <    else
13482 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13483 < $as_echo "none" >&6; }
13484 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13485 <    fi
13486 <  fi
13487 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
16756 > LIBS=$ac_check_lib_save_LIBS
16757 > fi
16758 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16759 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16760 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
16761 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
16762 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
16763 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
16764 >  $as_echo_n "(cached) " >&6
16765 > else
16766 >  ac_check_lib_save_LIBS=$LIBS
16767 > LIBS="-lssl  $LIBS"
16768 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16769 > /* end confdefs.h.  */
16770  
16771 < cat >>confdefs.h <<_ACEOF
16772 < #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
16771 > /* Override any GCC internal prototype to avoid an error.
16772 >   Use char because int might match the return type of a GCC
16773 >   builtin and then its argument prototype would still apply.  */
16774 > #ifdef __cplusplus
16775 > extern "C"
16776 > #endif
16777 > char SSL_connect ();
16778 > int
16779 > main ()
16780 > {
16781 > return SSL_connect ();
16782 >  ;
16783 >  return 0;
16784 > }
16785 > _ACEOF
16786 > if ac_fn_c_try_link "$LINENO"; then :
16787 >  ac_cv_lib_ssl_SSL_connect=yes
16788 > else
16789 >  ac_cv_lib_ssl_SSL_connect=no
16790 > fi
16791 > rm -f core conftest.err conftest.$ac_objext \
16792 >    conftest$ac_exeext conftest.$ac_ext
16793 > LIBS=$ac_check_lib_save_LIBS
16794 > fi
16795 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
16796 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
16797 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
16798 >  cat >>confdefs.h <<_ACEOF
16799 > #define HAVE_LIBSSL 1
16800   _ACEOF
16801  
16802 +  LIBS="-lssl $LIBS"
16803  
13494 –
13495 –
13496 – # Check whether --with-nicklen was given.
13497 – if test "${with_nicklen+set}" = set; then :
13498 –  withval=$with_nicklen; nicklen="$withval"
13499 – else
13500 –  nicklen="9"
16804   fi
16805  
16806 + fi
16807  
16808 < cat >>confdefs.h <<_ACEOF
16809 < #define NICKLEN ($nicklen+1)
16810 < _ACEOF
16808 > fi
16809 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16810 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
16811 > fi
16812  
16813 + fi
16814  
16815  
16816  
16817 < # Check whether --with-topiclen was given.
16818 < if test "${with_topiclen+set}" = set; then :
16819 <  withval=$with_topiclen; topiclen="$withval"
16817 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
16818 > $as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
16819 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
16820 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16821 > $as_echo "found" >&6; }
16822   else
16823 <  topiclen="160"
16823 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
16824 > $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
16825   fi
16826  
16827 + fi
16828  
16829 < cat >>confdefs.h <<_ACEOF
16830 < #define TOPICLEN ($topiclen+1)
16831 < _ACEOF
16829 > if test "$with_tls" = "gnutls" ||
16830 >   test "$with_tls" = "auto"; then
16831 >  if test "$ac_cv_lib_ssl_SSL_connect" != "yes"; then
16832 >
16833 >    ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16834 > if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
16835 >
16836 >      if test "$cross_compiling" = yes; then :
16837 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16838 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16839 > as_fn_error $? "cannot run test program while cross compiling
16840 > See \`config.log' for more details" "$LINENO" 5; }
16841 > else
16842 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 > /* end confdefs.h.  */
16844  
16845  
16846 +          #include <gnutls/gnutls.h>
16847 +          #include <stdlib.h>
16848 + int
16849 + main ()
16850 + {
16851  
16852 +          exit(!(GNUTLS_VERSION_NUMBER >= 0x030605));
16853 +  ;
16854 +  return 0;
16855 + }
16856 + _ACEOF
16857 + if ac_fn_c_try_run "$LINENO"; then :
16858 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5
16859 + $as_echo_n "checking for gnutls_init in -lgnutls... " >&6; }
16860 + if ${ac_cv_lib_gnutls_gnutls_init+:} false; then :
16861 +  $as_echo_n "(cached) " >&6
16862 + else
16863 +  ac_check_lib_save_LIBS=$LIBS
16864 + LIBS="-lgnutls  $LIBS"
16865 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 + /* end confdefs.h.  */
16867  
16868 < # Check whether --with-syslog-facility was given.
16869 < if test "${with_syslog_facility+set}" = set; then :
16870 <  withval=$with_syslog_facility; syslog_facility="$withval"
16868 > /* Override any GCC internal prototype to avoid an error.
16869 >   Use char because int might match the return type of a GCC
16870 >   builtin and then its argument prototype would still apply.  */
16871 > #ifdef __cplusplus
16872 > extern "C"
16873 > #endif
16874 > char gnutls_init ();
16875 > int
16876 > main ()
16877 > {
16878 > return gnutls_init ();
16879 >  ;
16880 >  return 0;
16881 > }
16882 > _ACEOF
16883 > if ac_fn_c_try_link "$LINENO"; then :
16884 >  ac_cv_lib_gnutls_gnutls_init=yes
16885   else
16886 <  syslog_facility="LOG_LOCAL4"
16886 >  ac_cv_lib_gnutls_gnutls_init=no
16887   fi
16888 + rm -f core conftest.err conftest.$ac_objext \
16889 +    conftest$ac_exeext conftest.$ac_ext
16890 + LIBS=$ac_check_lib_save_LIBS
16891 + fi
16892 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5
16893 + $as_echo "$ac_cv_lib_gnutls_gnutls_init" >&6; }
16894 + if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes; then :
16895 +  cat >>confdefs.h <<_ACEOF
16896 + #define HAVE_LIBGNUTLS 1
16897 + _ACEOF
16898  
16899 +  LIBS="-lgnutls $LIBS"
16900  
16901 < cat >>confdefs.h <<_ACEOF
16902 < #define LOG_FACILITY $syslog_facility
16903 < _ACEOF
16901 > fi
16902 >
16903 > fi
16904 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16905 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
16906 > fi
16907 >
16908 > fi
16909  
16910  
16911  
16912 <  # Check whether --enable-efnet was given.
16913 < if test "${enable_efnet+set}" = set; then :
16914 <  enableval=$enable_efnet; efnet="$enableval"
16912 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5
16913 > $as_echo_n "checking for GnuTLS 3.6.5 and above... " >&6; }
16914 >    if test "$ac_cv_lib_gnutls_gnutls_init" = "yes"; then :
16915 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16916 > $as_echo "found" >&6; }
16917   else
16918 <  efnet="no"
16918 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5
16919 > $as_echo "no - GnuTLS support disabled" >&6; }
16920   fi
16921  
16922 <  if test "$efnet" = "yes" ; then
16923 <                use_efnet="yes"
16922 >  fi
16923 > fi
16924  
16925 < $as_echo "#define EFNET 1" >>confdefs.h
16925 > if test "$with_tls" = "wolfssl" ||
16926 >   test "$with_tls" = "auto"; then
16927 >  if test "$ac_cv_lib_ssl_SSL_connect" != "yes" &&
16928 >     test "$ac_cv_lib_gnutls_gnutls_init" != "yes"; then
16929  
16930 +    ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default"
16931 + if test "x$ac_cv_header_wolfssl_ssl_h" = xyes; then :
16932  
16933 < $as_echo "#define TS5_ONLY 1" >>confdefs.h
16933 >      if test "$cross_compiling" = yes; then :
16934 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16935 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16936 > as_fn_error $? "cannot run test program while cross compiling
16937 > See \`config.log' for more details" "$LINENO" 5; }
16938 > else
16939 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 > /* end confdefs.h.  */
16941  
13555 –        else
16942  
16943 < $as_echo "#define INVARIANTS 1" >>confdefs.h
16943 >          #include <wolfssl/version.h>
16944 >          #include <stdlib.h>
16945 > int
16946 > main ()
16947 > {
16948  
16949 <                use_efnet="no"
16950 <  fi
16951 <   if test "$use_efnet" = "yes"; then
16952 <  EFNET_TRUE=
16953 <  EFNET_FALSE='#'
16949 >          exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000));
16950 >  ;
16951 >  return 0;
16952 > }
16953 > _ACEOF
16954 > if ac_fn_c_try_run "$LINENO"; then :
16955 >   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5
16956 > $as_echo_n "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; }
16957 > if ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+:} false; then :
16958 >  $as_echo_n "(cached) " >&6
16959   else
16960 <  EFNET_TRUE='#'
16961 <  EFNET_FALSE=
16962 < fi
16960 >  ac_check_lib_save_LIBS=$LIBS
16961 > LIBS="-lwolfssl  $LIBS"
16962 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 > /* end confdefs.h.  */
16964  
16965 + /* Override any GCC internal prototype to avoid an error.
16966 +   Use char because int might match the return type of a GCC
16967 +   builtin and then its argument prototype would still apply.  */
16968 + #ifdef __cplusplus
16969 + extern "C"
16970 + #endif
16971 + char wolfSSL_X509_digest ();
16972 + int
16973 + main ()
16974 + {
16975 + return wolfSSL_X509_digest ();
16976 +  ;
16977 +  return 0;
16978 + }
16979 + _ACEOF
16980 + if ac_fn_c_try_link "$LINENO"; then :
16981 +  ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes
16982 + else
16983 +  ac_cv_lib_wolfssl_wolfSSL_X509_digest=no
16984 + fi
16985 + rm -f core conftest.err conftest.$ac_objext \
16986 +    conftest$ac_exeext conftest.$ac_ext
16987 + LIBS=$ac_check_lib_save_LIBS
16988 + fi
16989 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5
16990 + $as_echo "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; }
16991 + if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes; then :
16992 +  cat >>confdefs.h <<_ACEOF
16993 + #define HAVE_LIBWOLFSSL 1
16994 + _ACEOF
16995  
16996 +  LIBS="-lwolfssl $LIBS"
16997  
13571 –  # Check whether --enable-halfops was given.
13572 – if test "${enable_halfops+set}" = set; then :
13573 –  enableval=$enable_halfops; halfops="$enableval"
13574 – else
13575 –  halfops="no"
16998   fi
16999  
17000 <  if test "$halfops" = "yes" ; then
17000 > fi
17001 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17002 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
17003 > fi
17004  
17005 < $as_echo "#define HALFOPS 1" >>confdefs.h
17005 > fi
17006  
13582 –  fi
17007  
17008  
17009 <  # Check whether --enable-debugging was given.
17010 < if test "${enable_debugging+set}" = set; then :
17011 <  enableval=$enable_debugging; debugging="$enableval"
17009 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5
17010 > $as_echo_n "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; }
17011 >    if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes"; then :
17012 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
17013 > $as_echo "found" >&6; }
17014   else
17015 <  debugging="no"
17015 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5
17016 > $as_echo "no - wolfSSL support disabled" >&6; }
17017 > fi
17018 >
17019 >  fi
17020   fi
17021  
13592 –  if test "$debugging" = "yes" ; then
17022  
13594 – $as_echo "#define DEBUG 1" >>confdefs.h
17023  
17024 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13597 <  else
17024 > # Disable -Wformat-truncation
17025  
13599 – $as_echo "#define NDEBUG 1" >>confdefs.h
17026  
13601 –  fi
17027  
17028  
17029 <  # Check whether --enable-warnings was given.
17030 < if test "${enable_warnings+set}" = set; then :
17031 <  enableval=$enable_warnings; warnings="$enableval"
17029 > for flag in -Wno-format-truncation; do
17030 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
17031 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
17032 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
17033 > if eval \${$as_CACHEVAR+:} false; then :
17034 >  $as_echo_n "(cached) " >&6
17035   else
13608 –  warnings="no"
13609 – fi
17036  
17037 <  if test "$warnings" = "yes" ; then
17038 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
17039 <  fi
17037 >  ax_check_save_flags=$CFLAGS
17038 >  CFLAGS="$CFLAGS  $flag"
17039 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 > /* end confdefs.h.  */
17041  
17042 + int
17043 + main ()
17044 + {
17045  
17046 <  for ac_header in syslog.h sys/syslog.h
17047 < do :
17048 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13619 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13620 < eval as_val=\$$as_ac_Header
13621 <   if test "x$as_val" = x""yes; then :
13622 <  cat >>confdefs.h <<_ACEOF
13623 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17046 >  ;
17047 >  return 0;
17048 > }
17049   _ACEOF
17050 <
17050 > if ac_fn_c_try_compile "$LINENO"; then :
17051 >  eval "$as_CACHEVAR=yes"
17052 > else
17053 >  eval "$as_CACHEVAR=no"
17054 > fi
17055 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056 >  CFLAGS=$ax_check_save_flags
17057   fi
17058 + eval ac_res=\$$as_CACHEVAR
17059 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17060 + $as_echo "$ac_res" >&6; }
17061 + if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17062  
17063 < done
17063 > if ${CFLAGS+:} false; then :
17064  
17065 <  # Check whether --enable-syslog was given.
17066 < if test "${enable_syslog+set}" = set; then :
17067 <  enableval=$enable_syslog; syslog="$enableval"
17068 < else
17069 <  syslog="no"
17070 < fi
17065 >  case " $CFLAGS " in #(
17066 >  *" $flag "*) :
17067 >    { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
17068 >  (: CFLAGS already contains $flag) 2>&5
17069 >  ac_status=$?
17070 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17071 >  test $ac_status = 0; } ;; #(
17072 >  *) :
17073  
17074 <  if test "$enableval" != "no" ; then
17075 <    for option in $enableval ; do
17076 <      case "$option" in
17077 <        users)
17078 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
17079 < ;;
17080 <        oper)
17081 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13645 < ;;
13646 <        yes) : ;;
13647 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13648 <      esac
13649 <    done
17074 >     as_fn_append CFLAGS " $flag"
17075 >     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17076 >  (: CFLAGS="$CFLAGS") 2>&5
17077 >  ac_status=$?
17078 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17079 >  test $ac_status = 0; }
17080 >     ;;
17081 > esac
17082  
17083 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
17083 > else
17084  
17085 <  fi
17085 >  CFLAGS=$flag
17086 >  { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
17087 >  (: CFLAGS="$CFLAGS") 2>&5
17088 >  ac_status=$?
17089 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17090 >  test $ac_status = 0; }
17091 >
17092 > fi
17093 >
17094 > else
17095 >  :
17096 > fi
17097 >
17098 > done
17099  
17100  
17101  
# Line 13739 | Line 17184 | _ACEOF
17184    test "$exec_prefix_NONE" && exec_prefix=NONE
17185  
17186  
17187 < 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"
17187 > 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"
17188  
17189  
17190   cat >confcache <<\_ACEOF
# Line 13806 | Line 17251 | $as_echo "$as_me: WARNING: cache variabl
17251       :end' >>confcache
17252   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17253    if test -w "$cache_file"; then
17254 <    test "x$cache_file" != "x/dev/null" &&
17254 >    if test "x$cache_file" != "x/dev/null"; then
17255        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17256   $as_echo "$as_me: updating cache $cache_file" >&6;}
17257 <    cat confcache >$cache_file
17257 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
17258 >        cat confcache >"$cache_file"
17259 >      else
17260 >        case $cache_file in #(
17261 >        */* | ?:*)
17262 >          mv -f confcache "$cache_file"$$ &&
17263 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
17264 >        *)
17265 >          mv -f confcache "$cache_file" ;;
17266 >        esac
17267 >      fi
17268 >    fi
17269    else
17270      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17271   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13825 | Line 17281 | DEFS=-DHAVE_CONFIG_H
17281  
17282   ac_libobjs=
17283   ac_ltlibobjs=
17284 + U=
17285   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17286    # 1. Remove the extension, and $U if already installed.
17287    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13839 | Line 17296 | LIBOBJS=$ac_libobjs
17296   LTLIBOBJS=$ac_ltlibobjs
17297  
17298  
17299 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17300 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
17301 +   if test -n "$am_sleep_pid"; then
17302 +     # Hide warnings about reused PIDs.
17303 +     wait $am_sleep_pid 2>/dev/null
17304 +   fi
17305 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17306 + $as_echo "done" >&6; }
17307   if test -n "$EXEEXT"; then
17308    am__EXEEXT_TRUE=
17309    am__EXEEXT_FALSE='#'
# Line 13848 | Line 17313 | else
17313   fi
17314  
17315   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17316 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
17316 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17317   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17318   fi
17319   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17320 <  as_fn_error "conditional \"AMDEP\" was never defined.
17320 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
17321   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17322   fi
17323   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17324 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
17324 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17325   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17326   fi
17327   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
17328 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
17328 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
17329   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17330   fi
17331   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
17332 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
17332 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
17333   Usually this means the macro was only invoked conditionally." "$LINENO" 5
17334   fi
17335   LT_CONFIG_H=config.h
# Line 13885 | Line 17350 | LT_CONFIG_H=config.h
17350  
17351  
17352  
13888 – if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13889 –  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13890 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13891 – fi
13892 – if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13893 –  as_fn_error "conditional \"EFNET\" was never defined.
13894 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13895 – fi
17353  
17354 < : ${CONFIG_STATUS=./config.status}
17354 > : "${CONFIG_STATUS=./config.status}"
17355   ac_write_fail=0
17356   ac_clean_files_save=$ac_clean_files
17357   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13995 | Line 17452 | fi
17452   IFS=" ""        $as_nl"
17453  
17454   # Find who we are.  Look in the path if we contain no directory separator.
17455 + as_myself=
17456   case $0 in #((
17457    *[\\/]* ) as_myself=$0 ;;
17458    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14040 | Line 17498 | export LANGUAGE
17498   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17499  
17500  
17501 < # as_fn_error ERROR [LINENO LOG_FD]
17502 < # ---------------------------------
17501 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
17502 > # ----------------------------------------
17503   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17504   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17505 < # script with status $?, using 1 if that was 0.
17505 > # script with STATUS, using 1 if that was 0.
17506   as_fn_error ()
17507   {
17508 <  as_status=$?; test $as_status -eq 0 && as_status=1
17509 <  if test "$3"; then
17510 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17511 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17508 >  as_status=$1; test $as_status -eq 0 && as_status=1
17509 >  if test "$4"; then
17510 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17511 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17512    fi
17513 <  $as_echo "$as_me: error: $1" >&2
17513 >  $as_echo "$as_me: error: $2" >&2
17514    as_fn_exit $as_status
17515   } # as_fn_error
17516  
# Line 14190 | Line 17648 | if (echo >conf$$.file) 2>/dev/null; then
17648      # ... but there are two gotchas:
17649      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17650      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17651 <    # In both cases, we have to default to `cp -p'.
17651 >    # In both cases, we have to default to `cp -pR'.
17652      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17653 <      as_ln_s='cp -p'
17653 >      as_ln_s='cp -pR'
17654    elif ln conf$$.file conf$$ 2>/dev/null; then
17655      as_ln_s=ln
17656    else
17657 <    as_ln_s='cp -p'
17657 >    as_ln_s='cp -pR'
17658    fi
17659   else
17660 <  as_ln_s='cp -p'
17660 >  as_ln_s='cp -pR'
17661   fi
17662   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17663   rmdir conf$$.dir 2>/dev/null
# Line 14248 | Line 17706 | $as_echo X"$as_dir" |
17706        test -d "$as_dir" && break
17707      done
17708      test -z "$as_dirs" || eval "mkdir $as_dirs"
17709 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
17709 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17710  
17711  
17712   } # as_fn_mkdir_p
# Line 14259 | Line 17717 | else
17717    as_mkdir_p=false
17718   fi
17719  
17720 < if test -x / >/dev/null 2>&1; then
17721 <  as_test_x='test -x'
17722 < else
17723 <  if ls -dL / >/dev/null 2>&1; then
17724 <    as_ls_L_option=L
17725 <  else
17726 <    as_ls_L_option=
17727 <  fi
17728 <  as_test_x='
17729 <    eval sh -c '\''
14272 <      if test -d "$1"; then
14273 <        test -d "$1/.";
14274 <      else
14275 <        case $1 in #(
14276 <        -*)set "./$1";;
14277 <        esac;
14278 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14279 <        ???[sx]*):;;*)false;;esac;fi
14280 <    '\'' sh
14281 <  '
14282 < fi
14283 < as_executable_p=$as_test_x
17720 >
17721 > # as_fn_executable_p FILE
17722 > # -----------------------
17723 > # Test if FILE is an executable regular file.
17724 > as_fn_executable_p ()
17725 > {
17726 >  test -f "$1" && test -x "$1"
17727 > } # as_fn_executable_p
17728 > as_test_x='test -x'
17729 > as_executable_p=as_fn_executable_p
17730  
17731   # Sed expression to map a string onto a valid CPP name.
17732   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14301 | Line 17747 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
17747   # report actual input values of CONFIG_FILES etc. instead of their
17748   # values after options handling.
17749   ac_log="
17750 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
17751 < generated by GNU Autoconf 2.64.  Invocation command line was
17750 > This file was extended by ircd-hybrid $as_me 8.2.27, which was
17751 > generated by GNU Autoconf 2.69.  Invocation command line was
17752  
17753    CONFIG_FILES    = $CONFIG_FILES
17754    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14342 | Line 17788 | Usage: $0 [OPTION]... [TAG]...
17788  
17789    -h, --help       print this help, then exit
17790    -V, --version    print version number and configuration settings, then exit
17791 +      --config     print configuration, then exit
17792    -q, --quiet, --silent
17793                     do not print progress messages
17794    -d, --debug      don't remove temporary files
# Line 14360 | Line 17807 | $config_headers
17807   Configuration commands:
17808   $config_commands
17809  
17810 < Report bugs to the package provider."
17810 > Report bugs to <bugs@ircd-hybrid.org>."
17811  
17812   _ACEOF
17813   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17814 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17815   ac_cs_version="\\
17816 < ircd-hybrid config.status 7.2.4
17817 < configured by $0, generated by GNU Autoconf 2.64,
17818 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17816 > ircd-hybrid config.status 8.2.27
17817 > configured by $0, generated by GNU Autoconf 2.69,
17818 >  with options \\"\$ac_cs_config\\"
17819  
17820 < Copyright (C) 2009 Free Software Foundation, Inc.
17820 > Copyright (C) 2012 Free Software Foundation, Inc.
17821   This config.status script is free software; the Free Software Foundation
17822   gives unlimited permission to copy, distribute and modify it."
17823  
# Line 14387 | Line 17835 | ac_need_defaults=:
17835   while test $# != 0
17836   do
17837    case $1 in
17838 <  --*=*)
17838 >  --*=?*)
17839      ac_option=`expr "X$1" : 'X\([^=]*\)='`
17840      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17841      ac_shift=:
17842      ;;
17843 +  --*=)
17844 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17845 +    ac_optarg=
17846 +    ac_shift=:
17847 +    ;;
17848    *)
17849      ac_option=$1
17850      ac_optarg=$2
# Line 14405 | Line 17858 | do
17858      ac_cs_recheck=: ;;
17859    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17860      $as_echo "$ac_cs_version"; exit ;;
17861 +  --config | --confi | --conf | --con | --co | --c )
17862 +    $as_echo "$ac_cs_config"; exit ;;
17863    --debug | --debu | --deb | --de | --d | -d )
17864      debug=: ;;
17865    --file | --fil | --fi | --f )
17866      $ac_shift
17867      case $ac_optarg in
17868      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17869 +    '') as_fn_error $? "missing file argument" ;;
17870      esac
17871      as_fn_append CONFIG_FILES " '$ac_optarg'"
17872      ac_need_defaults=false;;
# Line 14423 | Line 17879 | do
17879      ac_need_defaults=false;;
17880    --he | --h)
17881      # Conflict between --help and --header
17882 <    as_fn_error "ambiguous option: \`$1'
17882 >    as_fn_error $? "ambiguous option: \`$1'
17883   Try \`$0 --help' for more information.";;
17884    --help | --hel | -h )
17885      $as_echo "$ac_cs_usage"; exit ;;
# Line 14432 | Line 17888 | Try \`$0 --help' for more information.";
17888      ac_cs_silent=: ;;
17889  
17890    # This is an error.
17891 <  -*) as_fn_error "unrecognized option: \`$1'
17891 >  -*) as_fn_error $? "unrecognized option: \`$1'
17892   Try \`$0 --help' for more information." ;;
17893  
17894    *) as_fn_append ac_config_targets " $1"
# Line 14452 | Line 17908 | fi
17908   _ACEOF
17909   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17910   if \$ac_cs_recheck; then
17911 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17911 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17912    shift
17913    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17914    CONFIG_SHELL='$SHELL'
# Line 14476 | Line 17932 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
17932   #
17933   # INIT-COMMANDS
17934   #
17935 < AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17935 > AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17936  
17937  
17938   # The HP-UX ksh and POSIX shell print the target directory to stdout
# Line 14486 | Line 17942 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
17942   sed_quote_subst='$sed_quote_subst'
17943   double_quote_subst='$double_quote_subst'
17944   delay_variable_subst='$delay_variable_subst'
17945 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17946 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17947 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17948 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17949 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17950 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17951 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17952 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17953 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17954 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17955 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17956 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17957 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17958 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17959 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17960 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17961 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17962 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17963 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17964 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17965 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17966 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17967 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17968 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17969 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17970 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17971 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17972 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17973 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17974 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17975 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17976 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17977 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17978 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17979 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17980 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17981 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17982 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17983 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17984 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17985 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17986 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17987 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17988 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17989 < 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"`'
17990 < 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"`'
17991 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17992 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17993 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17994 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17995 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17996 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17997 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17998 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17999 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18000 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18001 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18002 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18003 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18004 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18005 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18006 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18007 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18008 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18009 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18010 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18011 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18012 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18013 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18014 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18015 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18016 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18017 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18018 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18019 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18020 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18021 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18022 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18023 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18024 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18025 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18026 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18027 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18028 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18029 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18030 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18031 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18032 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18033 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18034 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18035 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18036 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18037 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18038 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18039 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18040 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18041 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18042 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18043 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18044 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18045 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18046 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18047 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18048 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18049 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18050 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18051 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18052 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18053 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18054 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18055 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18056 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18057 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18058 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18059 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18060 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18061 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18062 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17945 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17946 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17947 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17948 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17949 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17950 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17951 > shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17952 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17953 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17954 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17955 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17956 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17957 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17958 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17959 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17960 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17961 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17962 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17963 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17964 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17965 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17966 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17967 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17968 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17969 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17970 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17971 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17972 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17973 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17974 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17975 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17976 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17977 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17978 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17979 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17980 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17981 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17982 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17983 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17984 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17985 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17986 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17987 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17988 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17989 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17990 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17991 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17992 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17993 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17994 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17995 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17996 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17997 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17998 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17999 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18000 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18001 > lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18002 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18003 > 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"`'
18004 > lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18005 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18006 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18007 > lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18008 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18009 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18010 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18011 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18012 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18013 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18014 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18015 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18016 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18017 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18018 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18019 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18020 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18021 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18022 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18023 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18024 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18025 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18026 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18027 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18028 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18029 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18030 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18031 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18032 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18033 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18034 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18035 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18036 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18037 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18038 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18039 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18040 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18041 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18042 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18043 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18044 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18045 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18046 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18047 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18048 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18049 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18050 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18051 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18052 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18053 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18054 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18055 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18056 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18057 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18058 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18059 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18060 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18061 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18062 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18063 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18064 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18065 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18066 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18067 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18068 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18069 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18070 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18071 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18072 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18073 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18074 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18075 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18076 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18077 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18078 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18079 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18080  
18081   LTCC='$LTCC'
18082   LTCFLAGS='$LTCFLAGS'
18083   compiler='$compiler_DEFAULT'
18084  
18085 + # A function that is used when there is no print builtin or printf.
18086 + func_fallback_echo ()
18087 + {
18088 +  eval 'cat <<_LTECHO_EOF
18089 + \$1
18090 + _LTECHO_EOF'
18091 + }
18092 +
18093   # Quote evaled strings.
18094 < for var in SED \
18094 > for var in SHELL \
18095 > ECHO \
18096 > PATH_SEPARATOR \
18097 > SED \
18098   GREP \
18099   EGREP \
18100   FGREP \
# Line 14623 | Line 18107 | reload_flag \
18107   OBJDUMP \
18108   deplibs_check_method \
18109   file_magic_cmd \
18110 + file_magic_glob \
18111 + want_nocaseglob \
18112 + DLLTOOL \
18113 + sharedlib_from_linklib_cmd \
18114   AR \
18115   AR_FLAGS \
18116 + archiver_list_spec \
18117   STRIP \
18118   RANLIB \
18119   CC \
# Line 14632 | Line 18121 | CFLAGS \
18121   compiler \
18122   lt_cv_sys_global_symbol_pipe \
18123   lt_cv_sys_global_symbol_to_cdecl \
18124 + lt_cv_sys_global_symbol_to_import \
18125   lt_cv_sys_global_symbol_to_c_name_address \
18126   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18127 < SHELL \
18128 < ECHO \
18127 > lt_cv_nm_interface \
18128 > nm_file_list_spec \
18129 > lt_cv_truncate_bin \
18130   lt_prog_compiler_no_builtin_flag \
14640 – lt_prog_compiler_wl \
18131   lt_prog_compiler_pic \
18132 + lt_prog_compiler_wl \
18133   lt_prog_compiler_static \
18134   lt_cv_prog_compiler_c_o \
18135   need_locks \
18136 + MANIFEST_TOOL \
18137   DSYMUTIL \
18138   NMEDIT \
18139   LIPO \
# Line 14655 | Line 18147 | with_gnu_ld \
18147   allow_undefined_flag \
18148   no_undefined_flag \
18149   hardcode_libdir_flag_spec \
14658 – hardcode_libdir_flag_spec_ld \
18150   hardcode_libdir_separator \
14660 – fix_srcfile_path \
18151   exclude_expsyms \
18152   include_expsyms \
18153   file_list_spec \
# Line 14665 | Line 18155 | variables_saved_for_relink \
18155   libname_spec \
18156   library_names_spec \
18157   soname_spec \
18158 + install_override_mode \
18159   finish_eval \
18160   old_striplib \
18161   striplib; do
18162 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18162 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18163      *[\\\\\\\`\\"\\\$]*)
18164 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18164 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18165        ;;
18166      *)
18167        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14692 | Line 18183 | module_cmds \
18183   module_expsym_cmds \
18184   export_symbols_cmds \
18185   prelink_cmds \
18186 + postlink_cmds \
18187   postinstall_cmds \
18188   postuninstall_cmds \
18189   finish_cmds \
18190   sys_lib_search_path_spec \
18191 < sys_lib_dlsearch_path_spec; do
18192 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18191 > configure_time_dlsearch_path \
18192 > configure_time_lt_sys_library_path; do
18193 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18194      *[\\\\\\\`\\"\\\$]*)
18195 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18195 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18196        ;;
18197      *)
18198        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14707 | Line 18200 | sys_lib_dlsearch_path_spec; do
18200      esac
18201   done
18202  
14710 – # Fix-up fallback echo if it was mangled by the above quoting rules.
14711 – case \$lt_ECHO in
14712 – *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14713 –  ;;
14714 – esac
14715 –
18203   ac_aux_dir='$ac_aux_dir'
14717 – xsi_shell='$xsi_shell'
14718 – lt_shell_append='$lt_shell_append'
18204  
18205 < # See if we are running on zsh, and set the options which allow our
18205 > # See if we are running on zsh, and set the options that allow our
18206   # commands through without removal of \ escapes INIT.
18207 < if test -n "\${ZSH_VERSION+set}" ; then
18207 > if test -n "\${ZSH_VERSION+set}"; then
18208     setopt NO_GLOB_SUBST
18209   fi
18210  
18211  
18212      PACKAGE='$PACKAGE'
18213      VERSION='$VERSION'
14729 –    TIMESTAMP='$TIMESTAMP'
18214      RM='$RM'
18215      ofile='$ofile'
18216  
# Line 14745 | Line 18229 | do
18229      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18230      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18231      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14748 –    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14749 –    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14750 –    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14751 –    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14752 –    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14753 –    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14754 –    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
18232      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18233 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
18233 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
18234      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
18235      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
18236 +    "modules/extra/Makefile") CONFIG_FILES="$CONFIG_FILES modules/extra/Makefile" ;;
18237      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18238      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14761 –    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14762 –    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14763 –    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14764 –    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
18239      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18240  
18241 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18241 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18242    esac
18243   done
18244  
# Line 14787 | Line 18261 | fi
18261   # after its creation but before its name has been assigned to `$tmp'.
18262   $debug ||
18263   {
18264 <  tmp=
18264 >  tmp= ac_tmp=
18265    trap 'exit_status=$?
18266 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18266 >  : "${ac_tmp:=$tmp}"
18267 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18268   ' 0
18269    trap 'as_fn_exit 1' 1 2 13 15
18270   }
# Line 14797 | Line 18272 | $debug ||
18272  
18273   {
18274    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18275 <  test -n "$tmp" && test -d "$tmp"
18275 >  test -d "$tmp"
18276   }  ||
18277   {
18278    tmp=./conf$$-$RANDOM
18279    (umask 077 && mkdir "$tmp")
18280 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
18280 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18281 > ac_tmp=$tmp
18282  
18283   # Set up the scripts for CONFIG_FILES section.
18284   # No need to generate them if there are no CONFIG_FILES.
# Line 14819 | Line 18295 | if test "x$ac_cr" = x; then
18295   fi
18296   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18297   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18298 <  ac_cs_awk_cr='\r'
18298 >  ac_cs_awk_cr='\\r'
18299   else
18300    ac_cs_awk_cr=$ac_cr
18301   fi
18302  
18303 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
18303 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18304   _ACEOF
18305  
18306  
# Line 14833 | Line 18309 | _ACEOF
18309    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18310    echo "_ACEOF"
18311   } >conf$$subs.sh ||
18312 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18313 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18312 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18313 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18314   ac_delim='%!_!# '
18315   for ac_last_try in false false false false false :; do
18316    . ./conf$$subs.sh ||
18317 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18317 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18318  
18319    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18320    if test $ac_delim_n = $ac_delim_num; then
18321      break
18322    elif $ac_last_try; then
18323 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18323 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18324    else
18325      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18326    fi
# Line 14852 | Line 18328 | done
18328   rm -f conf$$subs.sh
18329  
18330   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18331 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18331 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18332   _ACEOF
18333   sed -n '
18334   h
# Line 14866 | Line 18342 | s/'"$ac_delim"'$//
18342   t delim
18343   :nl
18344   h
18345 < s/\(.\{148\}\).*/\1/
18345 > s/\(.\{148\}\)..*/\1/
18346   t more1
18347   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18348   p
# Line 14880 | Line 18356 | s/.\{148\}//
18356   t nl
18357   :delim
18358   h
18359 < s/\(.\{148\}\).*/\1/
18359 > s/\(.\{148\}\)..*/\1/
18360   t more2
18361   s/["\\]/\\&/g; s/^/"/; s/$/"/
18362   p
# Line 14900 | Line 18376 | t delim
18376   rm -f conf$$subs.awk
18377   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18378   _ACAWK
18379 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18379 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18380    for (key in S) S_is_set[key] = 1
18381    FS = ""
18382  
# Line 14932 | Line 18408 | if sed "s/$ac_cr//" < /dev/null > /dev/n
18408    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18409   else
18410    cat
18411 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18412 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
18411 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18412 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18413   _ACEOF
18414  
18415 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
18416 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18415 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18416 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18417   # trailing colons and then remove the whole line if VPATH becomes empty
18418   # (actually we leave an empty line to preserve line numbers).
18419   if test "x$srcdir" = x.; then
18420 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
18421 < s/:*\$(srcdir):*/:/
18422 < s/:*\${srcdir}:*/:/
18423 < s/:*@srcdir@:*/:/
18424 < s/^\([^=]*=[     ]*\):*/\1/
18420 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18421 > h
18422 > s///
18423 > s/^/:/
18424 > s/[      ]*$/:/
18425 > s/:\$(srcdir):/:/g
18426 > s/:\${srcdir}:/:/g
18427 > s/:@srcdir@:/:/g
18428 > s/^:*//
18429   s/:*$//
18430 + x
18431 + s/\(=[   ]*\).*/\1/
18432 + G
18433 + s/\n//
18434   s/^[^=]*=[       ]*$//
18435   }'
18436   fi
# Line 14958 | Line 18442 | fi # test -n "$CONFIG_FILES"
18442   # No need to generate them if there are no CONFIG_HEADERS.
18443   # This happens for instance with `./config.status Makefile'.
18444   if test -n "$CONFIG_HEADERS"; then
18445 < cat >"$tmp/defines.awk" <<\_ACAWK ||
18445 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18446   BEGIN {
18447   _ACEOF
18448  
# Line 14970 | Line 18454 | _ACEOF
18454   # handling of long lines.
18455   ac_delim='%!_!# '
18456   for ac_last_try in false false :; do
18457 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18458 <  if test -z "$ac_t"; then
18457 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18458 >  if test -z "$ac_tt"; then
18459      break
18460    elif $ac_last_try; then
18461 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
18461 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18462    else
18463      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18464    fi
# Line 15059 | Line 18543 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
18543   _ACAWK
18544   _ACEOF
18545   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18546 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
18546 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18547   fi # test -n "$CONFIG_HEADERS"
18548  
18549  
# Line 15072 | Line 18556 | do
18556    esac
18557    case $ac_mode$ac_tag in
18558    :[FHL]*:*);;
18559 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
18559 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18560    :[FH]-) ac_tag=-:-;;
18561    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18562    esac
# Line 15091 | Line 18575 | do
18575      for ac_f
18576      do
18577        case $ac_f in
18578 <      -) ac_f="$tmp/stdin";;
18578 >      -) ac_f="$ac_tmp/stdin";;
18579        *) # Look for the file first in the build tree, then in the source tree
18580           # (if the path is not absolute).  The absolute path cannot be DOS-style,
18581           # because $ac_f cannot contain `:'.
# Line 15100 | Line 18584 | do
18584             [\\/$]*) false;;
18585             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18586             esac ||
18587 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18587 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18588        esac
18589        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18590        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15126 | Line 18610 | $as_echo "$as_me: creating $ac_file" >&6
18610      esac
18611  
18612      case $ac_tag in
18613 <    *:-:* | *:-) cat >"$tmp/stdin" \
18614 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
18613 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18614 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18615      esac
18616      ;;
18617    esac
# Line 15263 | Line 18747 | s&@INSTALL@&$ac_INSTALL&;t t
18747   s&@MKDIR_P@&$ac_MKDIR_P&;t t
18748   $ac_datarootdir_hack
18749   "
18750 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18751 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
18750 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18751 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18752  
18753   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18754 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18755 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18754 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18755 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18756 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18757    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18758 < which seems to be undefined.  Please make sure it is defined." >&5
18758 > which seems to be undefined.  Please make sure it is defined" >&5
18759   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18760 < which seems to be undefined.  Please make sure it is defined." >&2;}
18760 > which seems to be undefined.  Please make sure it is defined" >&2;}
18761  
18762 <  rm -f "$tmp/stdin"
18762 >  rm -f "$ac_tmp/stdin"
18763    case $ac_file in
18764 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
18765 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18764 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18765 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18766    esac \
18767 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
18767 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18768   ;;
18769    :H)
18770    #
# Line 15288 | Line 18773 | which seems to be undefined.  Please mak
18773    if test x"$ac_file" != x-; then
18774      {
18775        $as_echo "/* $configure_input  */" \
18776 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18777 <    } >"$tmp/config.h" \
18778 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
18779 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18776 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18777 >    } >"$ac_tmp/config.h" \
18778 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18779 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18780        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18781   $as_echo "$as_me: $ac_file is unchanged" >&6;}
18782      else
18783        rm -f "$ac_file"
18784 <      mv "$tmp/config.h" "$ac_file" \
18785 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
18784 >      mv "$ac_tmp/config.h" "$ac_file" \
18785 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18786      fi
18787    else
18788      $as_echo "/* $configure_input  */" \
18789 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18790 <      || as_fn_error "could not create -" "$LINENO" 5
18789 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18790 >      || as_fn_error $? "could not create -" "$LINENO" 5
18791    fi
18792   # Compute "$ac_file"'s index in $config_headers.
18793   _am_arg="$ac_file"
# Line 15348 | Line 18833 | $as_echo "$as_me: executing $ac_file com
18833  
18834    case $ac_file$ac_mode in
18835      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18836 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
18836 >  # Older Autoconf quotes --file arguments for eval, but not when files
18837    # are listed without --file.  Let's play safe and only enable the eval
18838    # if we detect the quoting.
18839 <  case $CONFIG_FILES in
18840 <  *\'*) eval set x "$CONFIG_FILES" ;;
18841 <  *)   set x $CONFIG_FILES ;;
18842 <  esac
18839 >  # TODO: see whether this extra hack can be removed once we start
18840 >  # requiring Autoconf 2.70 or later.
18841 >  case $CONFIG_FILES in #(
18842 >  *\'*) :
18843 >    eval set x "$CONFIG_FILES" ;; #(
18844 >  *) :
18845 >    set x $CONFIG_FILES ;; #(
18846 >  *) :
18847 >     ;;
18848 > esac
18849    shift
18850 <  for mf
18850 >  # Used to flag and report bootstrapping failures.
18851 >  am_rc=0
18852 >  for am_mf
18853    do
18854      # Strip MF so we end up with the name of the file.
18855 <    mf=`echo "$mf" | sed -e 's/:.*$//'`
18856 <    # Check whether this is an Automake generated Makefile or not.
18857 <    # We used to match only the files named `Makefile.in', but
18858 <    # some people rename them; so instead we look at the file content.
15366 <    # Grep'ing the first line is not enough: some people post-process
15367 <    # each Makefile.in and add a new line on top of each file to say so.
15368 <    # Grep'ing the whole file is not good either: AIX grep has a line
18855 >    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18856 >    # Check whether this is an Automake generated Makefile which includes
18857 >    # dependency-tracking related rules and includes.
18858 >    # Grep'ing the whole file directly is not great: AIX grep has a line
18859      # limit of 2048, but all sed's we know have understand at least 4000.
18860 <    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18861 <      dirpart=`$as_dirname -- "$mf" ||
18862 < $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18863 <         X"$mf" : 'X\(//\)[^/]' \| \
18864 <         X"$mf" : 'X\(//\)$' \| \
18865 <         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18866 < $as_echo X"$mf" |
18860 >    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18861 >      || continue
18862 >    am_dirpart=`$as_dirname -- "$am_mf" ||
18863 > $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18864 >         X"$am_mf" : 'X\(//\)[^/]' \| \
18865 >         X"$am_mf" : 'X\(//\)$' \| \
18866 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18867 > $as_echo X"$am_mf" |
18868      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18869              s//\1/
18870              q
# Line 15391 | Line 18882 | $as_echo X"$mf" |
18882              q
18883            }
18884            s/.*/./; q'`
18885 <    else
18886 <      continue
18887 <    fi
18888 <    # Extract the definition of DEPDIR, am__include, and am__quote
18889 <    # from the Makefile without running `make'.
18890 <    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15400 <    test -z "$DEPDIR" && continue
15401 <    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15402 <    test -z "am__include" && continue
15403 <    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15404 <    # When using ansi2knr, U may be empty or an underscore; expand it
15405 <    U=`sed -n 's/^U = //p' < "$mf"`
15406 <    # Find all dependency output files, they are included files with
15407 <    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15408 <    # simplest approach to changing $(DEPDIR) to its actual value in the
15409 <    # expansion.
15410 <    for file in `sed -n "
15411 <      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15412 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15413 <      # Make sure the directory exists.
15414 <      test -f "$dirpart/$file" && continue
15415 <      fdir=`$as_dirname -- "$file" ||
15416 < $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15417 <         X"$file" : 'X\(//\)[^/]' \| \
15418 <         X"$file" : 'X\(//\)$' \| \
15419 <         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15420 < $as_echo X"$file" |
15421 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15422 <            s//\1/
15423 <            q
15424 <          }
15425 <          /^X\(\/\/\)[^/].*/{
18885 >    am_filepart=`$as_basename -- "$am_mf" ||
18886 > $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18887 >         X"$am_mf" : 'X\(//\)$' \| \
18888 >         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18889 > $as_echo X/"$am_mf" |
18890 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
18891              s//\1/
18892              q
18893            }
18894 <          /^X\(\/\/\)$/{
18894 >          /^X\/\(\/\/\)$/{
18895              s//\1/
18896              q
18897            }
18898 <          /^X\(\/\).*/{
18898 >          /^X\/\(\/\).*/{
18899              s//\1/
18900              q
18901            }
18902            s/.*/./; q'`
18903 <      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18904 <      # echo "creating $dirpart/$file"
18905 <      echo '# dummy' > "$dirpart/$file"
18906 <    done
18903 >    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18904 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18905 >        | $MAKE -f - am--depfiles" >&5
18906 >   (cd "$am_dirpart" \
18907 >      && sed -e '/# am--include-marker/d' "$am_filepart" \
18908 >        | $MAKE -f - am--depfiles) >&5 2>&5
18909 >   ac_status=$?
18910 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 >   (exit $ac_status); } || am_rc=$?
18912    done
18913 +  if test $am_rc -ne 0; then
18914 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18915 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18916 + as_fn_error $? "Something went wrong bootstrapping makefile fragments
18917 +    for automatic dependency tracking.  Try re-running configure with the
18918 +    '--disable-dependency-tracking' option to at least be able to build
18919 +    the package (albeit without support for automatic dependency tracking).
18920 + See \`config.log' for more details" "$LINENO" 5; }
18921 +  fi
18922 +  { am_dirpart=; unset am_dirpart;}
18923 +  { am_filepart=; unset am_filepart;}
18924 +  { am_mf=; unset am_mf;}
18925 +  { am_rc=; unset am_rc;}
18926 +  rm -f conftest-deps.mk
18927   }
18928   ;;
18929      "libtool":C)
18930  
18931 <    # See if we are running on zsh, and set the options which allow our
18931 >    # See if we are running on zsh, and set the options that allow our
18932      # commands through without removal of \ escapes.
18933 <    if test -n "${ZSH_VERSION+set}" ; then
18933 >    if test -n "${ZSH_VERSION+set}"; then
18934        setopt NO_GLOB_SUBST
18935      fi
18936  
18937 <    cfgfile="${ofile}T"
18937 >    cfgfile=${ofile}T
18938      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18939      $RM "$cfgfile"
18940  
18941      cat <<_LT_EOF >> "$cfgfile"
18942   #! $SHELL
18943 <
15460 < # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15461 < # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15462 < # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18943 > # Generated automatically by $as_me ($PACKAGE) $VERSION
18944   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18945 +
18946 + # Provide generalized library-building support services.
18947 + # Written by Gordon Matzigkeit, 1996
18948 +
18949 + # Copyright (C) 2014 Free Software Foundation, Inc.
18950 + # This is free software; see the source for copying conditions.  There is NO
18951 + # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18952 +
18953 + # GNU Libtool is free software; you can redistribute it and/or modify
18954 + # it under the terms of the GNU General Public License as published by
18955 + # the Free Software Foundation; either version 2 of of the License, or
18956 + # (at your option) any later version.
18957   #
18958 < #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18959 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
18960 < #   Written by Gordon Matzigkeit, 1996
18961 < #
15469 < #   This file is part of GNU Libtool.
15470 < #
15471 < # GNU Libtool is free software; you can redistribute it and/or
15472 < # modify it under the terms of the GNU General Public License as
15473 < # published by the Free Software Foundation; either version 2 of
15474 < # the License, or (at your option) any later version.
15475 < #
15476 < # As a special exception to the GNU General Public License,
15477 < # if you distribute this file as part of a program or library that
15478 < # is built using GNU Libtool, you may include this file under the
15479 < # same distribution terms that you use for the rest of that program.
18958 > # As a special exception to the GNU General Public License, if you
18959 > # distribute this file as part of a program or library that is built
18960 > # using GNU Libtool, you may include this file under the  same
18961 > # distribution terms that you use for the rest of that program.
18962   #
18963 < # GNU Libtool is distributed in the hope that it will be useful,
18964 < # but WITHOUT ANY WARRANTY; without even the implied warranty of
18963 > # GNU Libtool is distributed in the hope that it will be useful, but
18964 > # WITHOUT ANY WARRANTY; without even the implied warranty of
18965   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18966   # GNU General Public License for more details.
18967   #
18968   # You should have received a copy of the GNU General Public License
18969 < # along with GNU Libtool; see the file COPYING.  If not, a copy
15488 < # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15489 < # obtained by writing to the Free Software Foundation, Inc.,
15490 < # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18969 > # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18970  
18971  
18972   # The names of the tagged configurations supported by this script.
18973 < available_tags=""
18973 > available_tags=''
18974 >
18975 > # Configured defaults for sys_lib_dlsearch_path munging.
18976 > : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18977  
18978   # ### BEGIN LIBTOOL CONFIG
18979  
# Line 15511 | Line 18993 | pic_mode=$pic_mode
18993   # Whether or not to optimize for fast installation.
18994   fast_install=$enable_fast_install
18995  
18996 + # Shared archive member basename,for filename based shared library versioning on AIX.
18997 + shared_archive_member_spec=$shared_archive_member_spec
18998 +
18999 + # Shell to use when invoking shell scripts.
19000 + SHELL=$lt_SHELL
19001 +
19002 + # An echo program that protects backslashes.
19003 + ECHO=$lt_ECHO
19004 +
19005 + # The PATH separator for the build system.
19006 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
19007 +
19008   # The host system.
19009   host_alias=$host_alias
19010   host=$host
# Line 15560 | Line 19054 | SP2NL=$lt_lt_SP2NL
19054   # turn newlines into spaces.
19055   NL2SP=$lt_lt_NL2SP
19056  
19057 < # How to create reloadable object files.
19058 < reload_flag=$lt_reload_flag
19059 < reload_cmds=$lt_reload_cmds
19057 > # convert \$build file names to \$host format.
19058 > to_host_file_cmd=$lt_cv_to_host_file_cmd
19059 >
19060 > # convert \$build files to toolchain format.
19061 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19062  
19063   # An object symbol dumper.
19064   OBJDUMP=$lt_OBJDUMP
# Line 15570 | Line 19066 | OBJDUMP=$lt_OBJDUMP
19066   # Method to check whether dependent libraries are shared objects.
19067   deplibs_check_method=$lt_deplibs_check_method
19068  
19069 < # Command to use when deplibs_check_method == "file_magic".
19069 > # Command to use when deplibs_check_method = "file_magic".
19070   file_magic_cmd=$lt_file_magic_cmd
19071  
19072 + # How to find potential files when deplibs_check_method = "file_magic".
19073 + file_magic_glob=$lt_file_magic_glob
19074 +
19075 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19076 + want_nocaseglob=$lt_want_nocaseglob
19077 +
19078 + # DLL creation program.
19079 + DLLTOOL=$lt_DLLTOOL
19080 +
19081 + # Command to associate shared and link libraries.
19082 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19083 +
19084   # The archiver.
19085   AR=$lt_AR
19086 +
19087 + # Flags to create an archive.
19088   AR_FLAGS=$lt_AR_FLAGS
19089  
19090 + # How to feed a file listing to the archiver.
19091 + archiver_list_spec=$lt_archiver_list_spec
19092 +
19093   # A symbol stripping program.
19094   STRIP=$lt_STRIP
19095  
# Line 15585 | Line 19098 | RANLIB=$lt_RANLIB
19098   old_postinstall_cmds=$lt_old_postinstall_cmds
19099   old_postuninstall_cmds=$lt_old_postuninstall_cmds
19100  
19101 + # Whether to use a lock for old archive extraction.
19102 + lock_old_archive_extraction=$lock_old_archive_extraction
19103 +
19104   # A C compiler.
19105   LTCC=$lt_CC
19106  
# Line 15597 | Line 19113 | global_symbol_pipe=$lt_lt_cv_sys_global_
19113   # Transform the output of nm in a proper C declaration.
19114   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19115  
19116 + # Transform the output of nm into a list of symbols to manually relocate.
19117 + global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19118 +
19119   # Transform the output of nm in a C name address pair.
19120   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19121  
19122   # Transform the output of nm in a C name address pair when lib prefix is needed.
19123   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19124  
19125 < # The name of the directory that contains temporary libtool files.
19126 < objdir=$objdir
19125 > # The name lister interface.
19126 > nm_interface=$lt_lt_cv_nm_interface
19127  
19128 < # Shell to use when invoking shell scripts.
19129 < SHELL=$lt_SHELL
19128 > # Specify filename containing input files for \$NM.
19129 > nm_file_list_spec=$lt_nm_file_list_spec
19130  
19131 < # An echo program that does not interpret backslashes.
19132 < ECHO=$lt_ECHO
19131 > # The root where to search for dependent libraries,and where our libraries should be installed.
19132 > lt_sysroot=$lt_sysroot
19133 >
19134 > # Command to truncate a binary pipe.
19135 > lt_truncate_bin=$lt_lt_cv_truncate_bin
19136 >
19137 > # The name of the directory that contains temporary libtool files.
19138 > objdir=$objdir
19139  
19140   # Used to examine libraries when file_magic_cmd begins with "file".
19141   MAGIC_CMD=$MAGIC_CMD
# Line 15618 | Line 19143 | MAGIC_CMD=$MAGIC_CMD
19143   # Must we lock files when doing compilation?
19144   need_locks=$lt_need_locks
19145  
19146 + # Manifest tool.
19147 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
19148 +
19149   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19150   DSYMUTIL=$lt_DSYMUTIL
19151  
# Line 15674 | Line 19202 | library_names_spec=$lt_library_names_spe
19202   # The coded name of the library, if different from the real name.
19203   soname_spec=$lt_soname_spec
19204  
19205 + # Permission mode override for installation of shared libraries.
19206 + install_override_mode=$lt_install_override_mode
19207 +
19208   # Command to use after installation of a shared archive.
19209   postinstall_cmds=$lt_postinstall_cmds
19210  
# Line 15693 | Line 19224 | hardcode_into_libs=$hardcode_into_libs
19224   # Compile-time system search path for libraries.
19225   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19226  
19227 < # Run-time system search path for libraries.
19228 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19227 > # Detected run-time system search path for libraries.
19228 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19229 >
19230 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19231 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19232  
19233   # Whether dlopen is supported.
19234   dlopen_support=$enable_dlopen
# Line 15713 | Line 19247 | striplib=$lt_striplib
19247   # The linker used to build libraries.
19248   LD=$lt_LD
19249  
19250 + # How to create reloadable object files.
19251 + reload_flag=$lt_reload_flag
19252 + reload_cmds=$lt_reload_cmds
19253 +
19254   # Commands used to build an old-style archive.
19255   old_archive_cmds=$lt_old_archive_cmds
19256  
# Line 15725 | Line 19263 | with_gcc=$GCC
19263   # Compiler flag to turn off builtin functions.
19264   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19265  
15728 – # How to pass a linker flag through the compiler.
15729 – wl=$lt_lt_prog_compiler_wl
15730 –
19266   # Additional compiler flags for building library objects.
19267   pic_flag=$lt_lt_prog_compiler_pic
19268  
19269 + # How to pass a linker flag through the compiler.
19270 + wl=$lt_lt_prog_compiler_wl
19271 +
19272   # Compiler flag to prevent dynamic linking.
19273   link_static_flag=$lt_lt_prog_compiler_static
19274  
# Line 15780 | Line 19318 | no_undefined_flag=$lt_no_undefined_flag
19318   # This must work even if \$libdir does not exist
19319   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19320  
15783 – # If ld is used when linking, flag to hardcode \$libdir into a binary
15784 – # during linking.  This must work even if \$libdir does not exist.
15785 – hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15786 –
19321   # Whether we need a single "-rpath" flag with a separated argument.
19322   hardcode_libdir_separator=$lt_hardcode_libdir_separator
19323  
19324 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19324 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19325   # DIR into the resulting binary.
19326   hardcode_direct=$hardcode_direct
19327  
19328 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19328 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19329   # DIR into the resulting binary and the resulting library dependency is
19330 < # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19330 > # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19331   # library is relocated.
19332   hardcode_direct_absolute=$hardcode_direct_absolute
19333  
# Line 15817 | Line 19351 | inherit_rpath=$inherit_rpath
19351   # Whether libtool must link a program against all its dependency libraries.
19352   link_all_deplibs=$link_all_deplibs
19353  
15820 – # Fix the shell variable \$srcfile for the compiler.
15821 – fix_srcfile_path=$lt_fix_srcfile_path
15822 –
19354   # Set to "yes" if exported symbols are required.
19355   always_export_symbols=$always_export_symbols
19356  
# Line 15835 | Line 19366 | include_expsyms=$lt_include_expsyms
19366   # Commands necessary for linking programs (against libraries) with templates.
19367   prelink_cmds=$lt_prelink_cmds
19368  
19369 + # Commands necessary for finishing linking programs.
19370 + postlink_cmds=$lt_postlink_cmds
19371 +
19372   # Specify filename containing input files.
19373   file_list_spec=$lt_file_list_spec
19374  
# Line 15845 | Line 19379 | hardcode_action=$hardcode_action
19379  
19380   _LT_EOF
19381  
19382 +    cat <<'_LT_EOF' >> "$cfgfile"
19383 +
19384 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19385 +
19386 + # func_munge_path_list VARIABLE PATH
19387 + # -----------------------------------
19388 + # VARIABLE is name of variable containing _space_ separated list of
19389 + # directories to be munged by the contents of PATH, which is string
19390 + # having a format:
19391 + # "DIR[:DIR]:"
19392 + #       string "DIR[ DIR]" will be prepended to VARIABLE
19393 + # ":DIR[:DIR]"
19394 + #       string "DIR[ DIR]" will be appended to VARIABLE
19395 + # "DIRP[:DIRP]::[DIRA:]DIRA"
19396 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19397 + #       "DIRA[ DIRA]" will be appended to VARIABLE
19398 + # "DIR[:DIR]"
19399 + #       VARIABLE will be replaced by "DIR[ DIR]"
19400 + func_munge_path_list ()
19401 + {
19402 +    case x$2 in
19403 +    x)
19404 +        ;;
19405 +    *:)
19406 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19407 +        ;;
19408 +    x:*)
19409 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19410 +        ;;
19411 +    *::*)
19412 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19413 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19414 +        ;;
19415 +    *)
19416 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19417 +        ;;
19418 +    esac
19419 + }
19420 +
19421 +
19422 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19423 + func_cc_basename ()
19424 + {
19425 +    for cc_temp in $*""; do
19426 +      case $cc_temp in
19427 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19428 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19429 +        \-*) ;;
19430 +        *) break;;
19431 +      esac
19432 +    done
19433 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19434 + }
19435 +
19436 +
19437 + # ### END FUNCTIONS SHARED WITH CONFIGURE
19438 +
19439 + _LT_EOF
19440 +
19441    case $host_os in
19442    aix3*)
19443      cat <<\_LT_EOF >> "$cfgfile"
19444   # AIX sometimes has problems with the GCC collect2 program.  For some
19445   # reason, if we set the COLLECT_NAMES environment variable, the problems
19446   # vanish in a puff of smoke.
19447 < if test "X${COLLECT_NAMES+set}" != Xset; then
19447 > if test set != "${COLLECT_NAMES+set}"; then
19448    COLLECT_NAMES=
19449    export COLLECT_NAMES
19450   fi
# Line 15860 | Line 19453 | _LT_EOF
19453    esac
19454  
19455  
19456 < ltmain="$ac_aux_dir/ltmain.sh"
19456 > ltmain=$ac_aux_dir/ltmain.sh
19457  
19458  
19459    # We use sed instead of cat because bash on DJGPP gets confused if
19460    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19461    # text mode, it properly converts lines to CR/LF.  This bash problem
19462    # is reportedly fixed, but why not run on old versions too?
19463 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19464 <    || (rm -f "$cfgfile"; exit 1)
15872 <
15873 <  case $xsi_shell in
15874 <  yes)
15875 <    cat << \_LT_EOF >> "$cfgfile"
15876 <
15877 < # func_dirname file append nondir_replacement
15878 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15879 < # otherwise set result to NONDIR_REPLACEMENT.
15880 < func_dirname ()
15881 < {
15882 <  case ${1} in
15883 <    */*) func_dirname_result="${1%/*}${2}" ;;
15884 <    *  ) func_dirname_result="${3}" ;;
15885 <  esac
15886 < }
15887 <
15888 < # func_basename file
15889 < func_basename ()
15890 < {
15891 <  func_basename_result="${1##*/}"
15892 < }
15893 <
15894 < # func_dirname_and_basename file append nondir_replacement
15895 < # perform func_basename and func_dirname in a single function
15896 < # call:
15897 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15898 < #             add APPEND to the result, otherwise set result
15899 < #             to NONDIR_REPLACEMENT.
15900 < #             value returned in "$func_dirname_result"
15901 < #   basename: Compute filename of FILE.
15902 < #             value retuned in "$func_basename_result"
15903 < # Implementation must be kept synchronized with func_dirname
15904 < # and func_basename. For efficiency, we do not delegate to
15905 < # those functions but instead duplicate the functionality here.
15906 < func_dirname_and_basename ()
15907 < {
15908 <  case ${1} in
15909 <    */*) func_dirname_result="${1%/*}${2}" ;;
15910 <    *  ) func_dirname_result="${3}" ;;
15911 <  esac
15912 <  func_basename_result="${1##*/}"
15913 < }
15914 <
15915 < # func_stripname prefix suffix name
15916 < # strip PREFIX and SUFFIX off of NAME.
15917 < # PREFIX and SUFFIX must not contain globbing or regex special
15918 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15919 < # dot (in which case that matches only a dot).
15920 < func_stripname ()
15921 < {
15922 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15923 <  # positional parameters, so assign one to ordinary parameter first.
15924 <  func_stripname_result=${3}
15925 <  func_stripname_result=${func_stripname_result#"${1}"}
15926 <  func_stripname_result=${func_stripname_result%"${2}"}
15927 < }
15928 <
15929 < # func_opt_split
15930 < func_opt_split ()
15931 < {
15932 <  func_opt_split_opt=${1%%=*}
15933 <  func_opt_split_arg=${1#*=}
15934 < }
15935 <
15936 < # func_lo2o object
15937 < func_lo2o ()
15938 < {
15939 <  case ${1} in
15940 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15941 <    *)    func_lo2o_result=${1} ;;
15942 <  esac
15943 < }
15944 <
15945 < # func_xform libobj-or-source
15946 < func_xform ()
15947 < {
15948 <  func_xform_result=${1%.*}.lo
15949 < }
15950 <
15951 < # func_arith arithmetic-term...
15952 < func_arith ()
15953 < {
15954 <  func_arith_result=$(( $* ))
15955 < }
19463 >  sed '$q' "$ltmain" >> "$cfgfile" \
19464 >     || (rm -f "$cfgfile"; exit 1)
19465  
19466 < # func_len string
15958 < # STRING may not start with a hyphen.
15959 < func_len ()
15960 < {
15961 <  func_len_result=${#1}
15962 < }
15963 <
15964 < _LT_EOF
15965 <    ;;
15966 <  *) # Bourne compatible functions.
15967 <    cat << \_LT_EOF >> "$cfgfile"
15968 <
15969 < # func_dirname file append nondir_replacement
15970 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15971 < # otherwise set result to NONDIR_REPLACEMENT.
15972 < func_dirname ()
15973 < {
15974 <  # Extract subdirectory from the argument.
15975 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15976 <  if test "X$func_dirname_result" = "X${1}"; then
15977 <    func_dirname_result="${3}"
15978 <  else
15979 <    func_dirname_result="$func_dirname_result${2}"
15980 <  fi
15981 < }
15982 <
15983 < # func_basename file
15984 < func_basename ()
15985 < {
15986 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15987 < }
15988 <
15989 <
15990 < # func_stripname prefix suffix name
15991 < # strip PREFIX and SUFFIX off of NAME.
15992 < # PREFIX and SUFFIX must not contain globbing or regex special
15993 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15994 < # dot (in which case that matches only a dot).
15995 < # func_strip_suffix prefix name
15996 < func_stripname ()
15997 < {
15998 <  case ${2} in
15999 <    .*) func_stripname_result=`$ECHO "X${3}" \
16000 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16001 <    *)  func_stripname_result=`$ECHO "X${3}" \
16002 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16003 <  esac
16004 < }
16005 <
16006 < # sed scripts:
16007 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16008 < my_sed_long_arg='1s/^-[^=]*=//'
16009 <
16010 < # func_opt_split
16011 < func_opt_split ()
16012 < {
16013 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16014 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16015 < }
16016 <
16017 < # func_lo2o object
16018 < func_lo2o ()
16019 < {
16020 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16021 < }
16022 <
16023 < # func_xform libobj-or-source
16024 < func_xform ()
16025 < {
16026 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16027 < }
16028 <
16029 < # func_arith arithmetic-term...
16030 < func_arith ()
16031 < {
16032 <  func_arith_result=`expr "$@"`
16033 < }
16034 <
16035 < # func_len string
16036 < # STRING may not start with a hyphen.
16037 < func_len ()
16038 < {
16039 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16040 < }
16041 <
16042 < _LT_EOF
16043 < esac
16044 <
16045 < case $lt_shell_append in
16046 <  yes)
16047 <    cat << \_LT_EOF >> "$cfgfile"
16048 <
16049 < # func_append var value
16050 < # Append VALUE to the end of shell variable VAR.
16051 < func_append ()
16052 < {
16053 <  eval "$1+=\$2"
16054 < }
16055 < _LT_EOF
16056 <    ;;
16057 <  *)
16058 <    cat << \_LT_EOF >> "$cfgfile"
16059 <
16060 < # func_append var value
16061 < # Append VALUE to the end of shell variable VAR.
16062 < func_append ()
16063 < {
16064 <  eval "$1=\$$1\$2"
16065 < }
16066 <
16067 < _LT_EOF
16068 <    ;;
16069 <  esac
16070 <
16071 <
16072 <  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16073 <    || (rm -f "$cfgfile"; exit 1)
16074 <
16075 <  mv -f "$cfgfile" "$ofile" ||
19466 >   mv -f "$cfgfile" "$ofile" ||
19467      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19468    chmod +x "$ofile"
19469  
# Line 16087 | Line 19478 | _ACEOF
19478   ac_clean_files=$ac_clean_files_save
19479  
19480   test $ac_write_fail = 0 ||
19481 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
19481 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19482  
19483  
19484   # configure is writing to config.log, and then calls config.status.
# Line 16108 | Line 19499 | if test "$no_create" != yes; then
19499    exec 5>>config.log
19500    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19501    # would make configure fail if this is the last instruction.
19502 <  $ac_cs_success || as_fn_exit $?
16112 < fi
16113 <
16114 < #
16115 < # CONFIG_SUBDIRS section.
16116 < #
16117 < if test "$no_recursion" != yes; then
16118 <
16119 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16120 <  # so they do not pile up.
16121 <  ac_sub_configure_args=
16122 <  ac_prev=
16123 <  eval "set x $ac_configure_args"
16124 <  shift
16125 <  for ac_arg
16126 <  do
16127 <    if test -n "$ac_prev"; then
16128 <      ac_prev=
16129 <      continue
16130 <    fi
16131 <    case $ac_arg in
16132 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16133 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16134 <      ac_prev=cache_file ;;
16135 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16136 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16137 <    | --c=*)
16138 <      ;;
16139 <    --config-cache | -C)
16140 <      ;;
16141 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16142 <      ac_prev=srcdir ;;
16143 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16144 <      ;;
16145 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16146 <      ac_prev=prefix ;;
16147 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16148 <      ;;
16149 <    --disable-option-checking)
16150 <      ;;
16151 <    *)
16152 <      case $ac_arg in
16153 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16154 <      esac
16155 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16156 <    esac
16157 <  done
16158 <
16159 <  # Always prepend --prefix to ensure using the same prefix
16160 <  # in subdir configurations.
16161 <  ac_arg="--prefix=$prefix"
16162 <  case $ac_arg in
16163 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16164 <  esac
16165 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16166 <
16167 <  # Pass --silent
16168 <  if test "$silent" = yes; then
16169 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16170 <  fi
16171 <
16172 <  # Always prepend --disable-option-checking to silence warnings, since
16173 <  # different subdirs can have different --enable and --with options.
16174 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16175 <
16176 <  ac_popdir=`pwd`
16177 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16178 <
16179 <    # Do not complain, so a configure script can configure whichever
16180 <    # parts of a large source tree are present.
16181 <    test -d "$srcdir/$ac_dir" || continue
16182 <
16183 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16184 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16185 <    $as_echo "$ac_msg" >&6
16186 <    as_dir="$ac_dir"; as_fn_mkdir_p
16187 <    ac_builddir=.
16188 <
16189 < case "$ac_dir" in
16190 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16191 < *)
16192 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16193 <  # A ".." for each directory in $ac_dir_suffix.
16194 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16195 <  case $ac_top_builddir_sub in
16196 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16197 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16198 <  esac ;;
16199 < esac
16200 < ac_abs_top_builddir=$ac_pwd
16201 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16202 < # for backward compatibility:
16203 < ac_top_builddir=$ac_top_build_prefix
16204 <
16205 < case $srcdir in
16206 <  .)  # We are building in place.
16207 <    ac_srcdir=.
16208 <    ac_top_srcdir=$ac_top_builddir_sub
16209 <    ac_abs_top_srcdir=$ac_pwd ;;
16210 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16211 <    ac_srcdir=$srcdir$ac_dir_suffix;
16212 <    ac_top_srcdir=$srcdir
16213 <    ac_abs_top_srcdir=$srcdir ;;
16214 <  *) # Relative name.
16215 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16216 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16217 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16218 < esac
16219 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16220 <
16221 <
16222 <    cd "$ac_dir"
16223 <
16224 <    # Check for guested configure; otherwise get Cygnus style configure.
16225 <    if test -f "$ac_srcdir/configure.gnu"; then
16226 <      ac_sub_configure=$ac_srcdir/configure.gnu
16227 <    elif test -f "$ac_srcdir/configure"; then
16228 <      ac_sub_configure=$ac_srcdir/configure
16229 <    elif test -f "$ac_srcdir/configure.in"; then
16230 <      # This should be Cygnus configure.
16231 <      ac_sub_configure=$ac_aux_dir/configure
16232 <    else
16233 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16234 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16235 <      ac_sub_configure=
16236 <    fi
16237 <
16238 <    # The recursion is here.
16239 <    if test -n "$ac_sub_configure"; then
16240 <      # Make the cache file name correct relative to the subdirectory.
16241 <      case $cache_file in
16242 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16243 <      *) # Relative name.
16244 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16245 <      esac
16246 <
16247 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16248 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16249 <      # The eval makes quoting arguments work.
16250 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16251 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16252 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16253 <    fi
16254 <
16255 <    cd "$ac_popdir"
16256 <  done
19502 >  $ac_cs_success || as_fn_exit 1
19503   fi
19504   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19505    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19506   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19507   fi
19508  
19509 +
19510 + echo "###############################################################################"
19511 + echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
19512 + echo
19513 + echo "ircd-hybrid will be installed in ${prefix}.  To change this, run:"
19514 + echo "   ./configure --prefix=DIRECTORY"
19515 + echo "###############################################################################"

Comparing:
ircd-hybrid-7.2/configure (property svn:eol-style), Revision 977 by michael, Sat Aug 8 07:33:08 2009 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 9183 by michael, Mon Jan 20 16:50:49 2020 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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