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.3/configure (file contents), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4960 by michael, Sun Nov 30 17:50:57 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1068 2010-02-16 23:01:26Z michael .
2 > # From configure.ac Id: configure.ac 4901 2014-11-22 18:31:53Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 136 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 169 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 214 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 320 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 360 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 445 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 479 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 500 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
505 < else
506 <  if ls -dL / >/dev/null 2>&1; then
507 <    as_ls_L_option=L
508 <  else
509 <    as_ls_L_option=
510 <  fi
511 <  as_test_x='
512 <    eval sh -c '\''
513 <      if test -d "$1"; then
514 <        test -d "$1/.";
515 <      else
516 <        case $1 in #(
517 <        -*)set "./$1";;
518 <        esac;
519 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 <        ???[sx]*):;;*)false;;esac;fi
521 <    '\'' sh
522 <  '
523 < fi
524 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 529 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
532
568   lt_ltdl_dir='libltdl'
569  
535
536 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
539 case X$lt_ECHO in
540 X*--fallback-echo)
541  # Remove one level of quotation (which was required for Make).
542  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
543  ;;
544 esac
545
546 ECHO=${lt_ECHO-echo}
547 if test "X$1" = X--no-reexec; then
548  # Discard the --no-reexec flag, and continue.
549  shift
550 elif test "X$1" = X--fallback-echo; then
551  # Avoid inline document here, it may be left over
552  :
553 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
554  # Yippee, $ECHO works!
555  :
556 else
557  # Restart under the correct shell.
558  exec $SHELL "$0" --no-reexec ${1+"$@"}
559 fi
560
561 if test "X$1" = X--fallback-echo; then
562  # used as fallback echo
563  shift
564  cat <<_LT_EOF
565 $*
566 _LT_EOF
567  exit 0
568 fi
569
570 # The HP-UX ksh and POSIX shell print the target directory to stdout
571 # if CDPATH is set.
572 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
573
574 if test -z "$lt_ECHO"; then
575  if test "X${echo_test_string+set}" != Xset; then
576    # find a string as large as possible, as long as the shell can cope with it
577    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
578      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
579      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
580         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581      then
582        break
583      fi
584    done
585  fi
586
587  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
588     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
589     test "X$echo_testing_string" = "X$echo_test_string"; then
590    :
591  else
592    # The Solaris, AIX, and Digital Unix default echo programs unquote
593    # backslashes.  This makes it impossible to quote backslashes using
594    #   echo "$something" | sed 's/\\/\\\\/g'
595    #
596    # So, first we look for a working echo in the user's PATH.
597
598    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
599    for dir in $PATH /usr/ucb; do
600      IFS="$lt_save_ifs"
601      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
602         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
603         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
604         test "X$echo_testing_string" = "X$echo_test_string"; then
605        ECHO="$dir/echo"
606        break
607      fi
608    done
609    IFS="$lt_save_ifs"
610
611    if test "X$ECHO" = Xecho; then
612      # We didn't find a better echo, so look for alternatives.
613      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
614         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
615         test "X$echo_testing_string" = "X$echo_test_string"; then
616        # This shell has a builtin print -r that does the trick.
617        ECHO='print -r'
618      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
619           test "X$CONFIG_SHELL" != X/bin/ksh; then
620        # If we have ksh, try running configure again with it.
621        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
622        export ORIGINAL_CONFIG_SHELL
623        CONFIG_SHELL=/bin/ksh
624        export CONFIG_SHELL
625        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626      else
627        # Try using printf.
628        ECHO='printf %s\n'
629        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631           test "X$echo_testing_string" = "X$echo_test_string"; then
632          # Cool, printf works
633          :
634        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
635             test "X$echo_testing_string" = 'X\t' &&
636             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
637             test "X$echo_testing_string" = "X$echo_test_string"; then
638          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
639          export CONFIG_SHELL
640          SHELL="$CONFIG_SHELL"
641          export SHELL
642          ECHO="$CONFIG_SHELL $0 --fallback-echo"
643        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
644             test "X$echo_testing_string" = 'X\t' &&
645             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
646             test "X$echo_testing_string" = "X$echo_test_string"; then
647          ECHO="$CONFIG_SHELL $0 --fallback-echo"
648        else
649          # maybe with a smaller string...
650          prev=:
651
652          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
653            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654            then
655              break
656            fi
657            prev="$cmd"
658          done
659
660          if test "$prev" != 'sed 50q "$0"'; then
661            echo_test_string=`eval $prev`
662            export echo_test_string
663            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664          else
665            # Oops.  We lost completely, so just stick with echo.
666            ECHO=echo
667          fi
668        fi
669      fi
670    fi
671  fi
672 fi
673
674 # Copy echo and quote the copy suitably for passing to libtool from
675 # the Makefile, instead of quoting the original, which is used later.
676 lt_ECHO=$ECHO
677 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
678   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 fi
680
681
682
683
684 lt_dlopen_dir="$lt_ltdl_dir"
572  
573   test -n "$DJDIR" || exec 7<&0 </dev/null
574   exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 706 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='8.2.1'
597 > PACKAGE_STRING='ircd-hybrid 8.2.1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 748 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
751 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 762 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
765 EFNET_FALSE
766 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
769 ENABLE_PCRE_FALSE
770 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
773 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
658   INSTALL_LTDL_TRUE
659 < ARGZ_H
659 > LT_ARGZ_H
660   sys_symbol_underscore
661   LIBADD_DL
662   LT_DLPREOPEN
# Line 793 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 823 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 839 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 903 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
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
809 < with_zlib_path
919 < enable_zlib
920 < with_libpcre_path
921 < enable_libpcre
922 < enable_openssl
809 > enable_libgeoip
810   enable_assert
924 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
928 enable_rtsigio
814   enable_poll
930 enable_select
931 with_nicklen
932 with_topiclen
933 with_syslog_facility
934 enable_efnet
935 enable_halfops
815   enable_debugging
816   enable_warnings
817 < enable_syslog
817 > enable_openssl
818   '
819        ac_precious_vars='build_alias
820   host_alias
# Line 948 | Line 827 | CPPFLAGS
827   YACC
828   YFLAGS
829   CPP'
830 < ac_subdirs_all='libltdl'
830 >
831  
832   # Initialize some variables set by options.
833   ac_init_help=
# Line 1010 | Line 889 | do
889    fi
890  
891    case $ac_option in
892 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 <  *)    ac_optarg=yes ;;
892 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 >  *=)   ac_optarg= ;;
894 >  *)    ac_optarg=yes ;;
895    esac
896  
897    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 936 | do
936      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937      # Reject names that are not valid shell variable names.
938      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 <      as_fn_error "invalid feature name: $ac_useropt"
939 >      as_fn_error $? "invalid feature name: $ac_useropt"
940      ac_useropt_orig=$ac_useropt
941      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942      case $ac_user_opts in
# Line 1082 | Line 962 | do
962      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963      # Reject names that are not valid shell variable names.
964      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965 <      as_fn_error "invalid feature name: $ac_useropt"
965 >      as_fn_error $? "invalid feature name: $ac_useropt"
966      ac_useropt_orig=$ac_useropt
967      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968      case $ac_user_opts in
# Line 1286 | Line 1166 | do
1166      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167      # Reject names that are not valid shell variable names.
1168      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 <      as_fn_error "invalid package name: $ac_useropt"
1169 >      as_fn_error $? "invalid package name: $ac_useropt"
1170      ac_useropt_orig=$ac_useropt
1171      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172      case $ac_user_opts in
# Line 1302 | Line 1182 | do
1182      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183      # Reject names that are not valid shell variable names.
1184      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 <      as_fn_error "invalid package name: $ac_useropt"
1185 >      as_fn_error $? "invalid package name: $ac_useropt"
1186      ac_useropt_orig=$ac_useropt
1187      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188      case $ac_user_opts in
# Line 1332 | Line 1212 | do
1212    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213      x_libraries=$ac_optarg ;;
1214  
1215 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1216 < Try \`$0 --help' for more information."
1215 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 > Try \`$0 --help' for more information"
1217      ;;
1218  
1219    *=*)
# Line 1341 | Line 1221 | Try \`$0 --help' for more information."
1221      # Reject names that are not valid shell variable names.
1222      case $ac_envvar in #(
1223        '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1224 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1225      esac
1226      eval $ac_envvar=\$ac_optarg
1227      export $ac_envvar ;;
# Line 1351 | Line 1231 | Try \`$0 --help' for more information."
1231      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1234 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1235      ;;
1236  
1237    esac
# Line 1359 | Line 1239 | done
1239  
1240   if test -n "$ac_prev"; then
1241    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242 <  as_fn_error "missing argument to $ac_option"
1242 >  as_fn_error $? "missing argument to $ac_option"
1243   fi
1244  
1245   if test -n "$ac_unrecognized_opts"; then
1246    case $enable_option_checking in
1247      no) ;;
1248 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1248 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250    esac
1251   fi
# Line 1388 | Line 1268 | do
1268      [\\/$]* | ?:[\\/]* )  continue;;
1269      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270    esac
1271 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1271 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272   done
1273  
1274   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1282 | target=$target_alias
1282   if test "x$host_alias" != x; then
1283    if test "x$build_alias" = x; then
1284      cross_compiling=maybe
1405    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406    If a cross compiler is detected then cross compile mode will be used." >&2
1285    elif test "x$build_alias" != "x$host_alias"; then
1286      cross_compiling=yes
1287    fi
# Line 1418 | Line 1296 | test "$silent" = yes && exec 6>/dev/null
1296   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297   ac_ls_di=`ls -di .` &&
1298   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299 <  as_fn_error "working directory cannot be determined"
1299 >  as_fn_error $? "working directory cannot be determined"
1300   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 <  as_fn_error "pwd does not report name of working directory"
1301 >  as_fn_error $? "pwd does not report name of working directory"
1302  
1303  
1304   # Find the source files, if location was not specified.
# Line 1459 | Line 1337 | else
1337   fi
1338   if test ! -r "$srcdir/$ac_unique_file"; then
1339    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1340 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1340 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1341   fi
1342   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1343   ac_abs_confdir=`(
1344 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1344 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1345          pwd)`
1346   # When building in place, set srcdir=.
1347   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1367 | if test "$ac_init_help" = "long"; then
1367    # Omit some internal or obsolete options to make the list less imposing.
1368    # This message is too long to be a string in the A/UX 3.1 sh.
1369    cat <<_ACEOF
1370 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1370 > \`configure' configures ircd-hybrid 8.2.1 to adapt to many kinds of systems.
1371  
1372   Usage: $0 [OPTION]... [VAR=VALUE]...
1373  
# Line 1503 | Line 1381 | Configuration:
1381        --help=short        display options specific to this package
1382        --help=recursive    display the short help of all the included packages
1383    -V, --version           display version information and exit
1384 <  -q, --quiet, --silent   do not print \`checking...' messages
1384 >  -q, --quiet, --silent   do not print \`checking ...' messages
1385        --cache-file=FILE   cache test results in FILE [disabled]
1386    -C, --config-cache      alias for \`--cache-file=config.cache'
1387    -n, --no-create         do not create output files
# Line 1559 | Line 1437 | fi
1437  
1438   if test -n "$ac_init_help"; then
1439    case $ac_init_help in
1440 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1440 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.1:";;
1441     esac
1442    cat <<\_ACEOF
1443  
# Line 1567 | Line 1445 | Optional Features:
1445    --disable-option-checking  ignore unrecognized --enable/--with options
1446    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1447    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1448 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1449 <                          (and sometimes confusing) to the casual installer
1450 <  --disable-dependency-tracking  speeds up one-time build
1451 <  --enable-dependency-tracking   do not reject slow dependency extractors
1448 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1449 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1450 >  --enable-maintainer-mode
1451 >                          enable make rules and dependencies not useful (and
1452 >                          sometimes confusing) to the casual installer
1453 >  --enable-dependency-tracking
1454 >                          do not reject slow dependency extractors
1455 >  --disable-dependency-tracking
1456 >                          speeds up one-time build
1457    --enable-static[=PKGS]  build static libraries [default=no]
1458    --enable-shared[=PKGS]  build shared libraries [default=yes]
1459    --enable-fast-install[=PKGS]
1460                            optimize for fast installation [default=yes]
1461    --disable-libtool-lock  avoid locking (might break parallel builds)
1462    --enable-ltdl-install   install libltdl
1463 <  --disable-zlib          Disable ziplinks support
1581 <  --disable-libpcre       Disable PCRE support
1582 <  --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1583 <  --disable-openssl            Disable OpenSSL support.
1463 >  --disable-libgeoip      Disable GeoIP support
1464    --enable-assert         Enable assert() statements
1585  --enable-small-net      Enable small network support.
1465    --enable-kqueue         Force kqueue usage.
1466    --enable-epoll          Force epoll usage.
1467    --enable-devpoll        Force devpoll usage.
1589  --enable-rtsigio        Force rtsigio usage.
1468    --enable-poll           Force poll usage.
1591  --enable-select         Force select usage.
1592  --enable-efnet          For IRCDs running on EFnet.
1593  --enable-halfops        Enable halfops support.
1469    --enable-debugging      Enable debugging.
1470    --enable-warnings       Enable compiler warnings.
1471 <  --enable-syslog="EVENTS"
1472 <                          Enable syslog for events: users oper (space
1598 <                          separated in quotes; default: disabled).
1471 >  --enable-openssl=DIR       Enable LibreSSL/OpenSSL support (DIR optional).
1472 >  --disable-openssl            Disable LibreSSL/OpenSSL support.
1473  
1474   Optional Packages:
1475    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1476    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1477 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1477 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1478                            both]
1479 +  --with-aix-soname=aix|svr4|both
1480 +                          shared library versioning (aka "SONAME") variant to
1481 +                          provide on AIX, [default=aix].
1482    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1483 +  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1484 +                          compiler's sysroot if not specified).
1485    --with-included-ltdl    use the GNU ltdl sources included here
1486    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1487    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611  --with-nicklen=<value>  Set nickname length (default 9).
1612  --with-topiclen=<value> Set topic length (default 160).
1613  --with-syslog-facility=LOG
1614                          Define the syslog facility to use (default:
1615                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1622 | Line 1494 | Some influential environment variables:
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1695 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.3-rc1
1572 < generated by GNU Autoconf 2.65
1571 > ircd-hybrid configure 8.2.1
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 2009 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1742 | Line 1615 | sed 's/^/| /' conftest.$ac_ext >&5
1615  
1616          ac_retval=1
1617   fi
1618 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619    as_fn_set_status $ac_retval
1620  
1621   } # ac_fn_c_try_compile
# Line 1774 | Line 1647 | $as_echo "$ac_try_echo"; } >&5
1647           test ! -s conftest.err
1648         } && test -s conftest$ac_exeext && {
1649           test "$cross_compiling" = yes ||
1650 <         $as_test_x conftest$ac_exeext
1650 >         test -x conftest$ac_exeext
1651         }; then :
1652    ac_retval=0
1653   else
# Line 1788 | Line 1661 | fi
1661    # interfere with the next link command; also delete a directory that is
1662    # left behind by Apple's compiler.  We do this before executing the actions.
1663    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665    as_fn_set_status $ac_retval
1666  
1667   } # ac_fn_c_try_link
# Line 1802 | Line 1675 | ac_fn_c_check_header_compile ()
1675    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677   $as_echo_n "checking for $2... " >&6; }
1678 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1678 > if eval \${$3+:} false; then :
1679    $as_echo_n "(cached) " >&6
1680   else
1681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1693 | fi
1693   eval ac_res=\$$3
1694                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695   $as_echo "$ac_res" >&6; }
1696 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697  
1698   } # ac_fn_c_check_header_compile
1699  
# Line 1845 | Line 1718 | $as_echo "$ac_try_echo"; } >&5
1718      mv -f conftest.er1 conftest.err
1719    fi
1720    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 <  test $ac_status = 0; } >/dev/null && {
1721 >  test $ac_status = 0; } > conftest.i && {
1722           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1723           test ! -s conftest.err
1724         }; then :
# Line 1856 | Line 1729 | sed 's/^/| /' conftest.$ac_ext >&5
1729  
1730      ac_retval=1
1731   fi
1732 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733    as_fn_set_status $ac_retval
1734  
1735   } # ac_fn_c_try_cpp
# Line 1898 | Line 1771 | sed 's/^/| /' conftest.$ac_ext >&5
1771         ac_retval=$ac_status
1772   fi
1773    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775    as_fn_set_status $ac_retval
1776  
1777   } # ac_fn_c_try_run
# Line 1911 | Line 1784 | ac_fn_c_check_func ()
1784    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786   $as_echo_n "checking for $2... " >&6; }
1787 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 > if eval \${$3+:} false; then :
1788    $as_echo_n "(cached) " >&6
1789   else
1790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1839 | fi
1839   eval ac_res=\$$3
1840                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841   $as_echo "$ac_res" >&6; }
1842 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843  
1844   } # ac_fn_c_check_func
1845  
1846 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1847 < # ------------------------------------
1848 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1846 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1847 > # ---------------------------------------------
1848 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1849 > # accordingly.
1850   ac_fn_c_check_decl ()
1851   {
1852    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1854 < $as_echo_n "checking whether $2 is declared... " >&6; }
1855 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1854 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1855 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1856 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1857 > if eval \${$3+:} false; then :
1858    $as_echo_n "(cached) " >&6
1859   else
1860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1863 | $4
1863   int
1864   main ()
1865   {
1866 < #ifndef $2
1867 <  (void) $2;
1866 > #ifndef $as_decl_name
1867 > #ifdef __cplusplus
1868 >  (void) $as_decl_use;
1869 > #else
1870 >  (void) $as_decl_name;
1871 > #endif
1872   #endif
1873  
1874    ;
# Line 2005 | Line 1885 | fi
1885   eval ac_res=\$$3
1886                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887   $as_echo "$ac_res" >&6; }
1888 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889  
1890   } # ac_fn_c_check_decl
1891  
# Line 2018 | Line 1898 | ac_fn_c_check_type ()
1898    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900   $as_echo_n "checking for $2... " >&6; }
1901 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 > if eval \${$3+:} false; then :
1902    $as_echo_n "(cached) " >&6
1903   else
1904    eval "$3=no"
# Line 2059 | Line 1939 | fi
1939   eval ac_res=\$$3
1940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941   $as_echo "$ac_res" >&6; }
1942 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943  
1944   } # ac_fn_c_check_type
1945  
2066 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2067 # ----------------------------------------------------
2068 # Tries to find if the field MEMBER exists in type AGGR, after including
2069 # INCLUDES, setting cache variable VAR accordingly.
2070 ac_fn_c_check_member ()
2071 {
2072  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2074 $as_echo_n "checking for $2.$3... " >&6; }
2075 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2076  $as_echo_n "(cached) " >&6
2077 else
2078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h.  */
2080 $5
2081 int
2082 main ()
2083 {
2084 static $2 ac_aggr;
2085 if (ac_aggr.$3)
2086 return 0;
2087  ;
2088  return 0;
2089 }
2090 _ACEOF
2091 if ac_fn_c_try_compile "$LINENO"; then :
2092  eval "$4=yes"
2093 else
2094  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h.  */
2096 $5
2097 int
2098 main ()
2099 {
2100 static $2 ac_aggr;
2101 if (sizeof ac_aggr.$3)
2102 return 0;
2103  ;
2104  return 0;
2105 }
2106 _ACEOF
2107 if ac_fn_c_try_compile "$LINENO"; then :
2108  eval "$4=yes"
2109 else
2110  eval "$4=no"
2111 fi
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 fi
2116 eval ac_res=\$$4
2117               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120
2121 } # ac_fn_c_check_member
2122
1946   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1947   # -------------------------------------------------------
1948   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2128 | Line 1951 | $as_echo "$ac_res" >&6; }
1951   ac_fn_c_check_header_mongrel ()
1952   {
1953    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1954 >  if eval \${$3+:} false; then :
1955    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956   $as_echo_n "checking for $2... " >&6; }
1957 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1957 > if eval \${$3+:} false; then :
1958    $as_echo_n "(cached) " >&6
1959   fi
1960   eval ac_res=\$$3
# Line 2167 | Line 1990 | if ac_fn_c_try_cpp "$LINENO"; then :
1990   else
1991    ac_header_preproc=no
1992   fi
1993 < rm -f conftest.err conftest.$ac_ext
1993 > rm -f conftest.err conftest.i conftest.$ac_ext
1994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1995   $as_echo "$ac_header_preproc" >&6; }
1996  
# Line 2190 | Line 2013 | $as_echo "$as_me: WARNING: $2: see the A
2013   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2014      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2015   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2016 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2016 > ( $as_echo "## ----------------------------------- ##
2017   ## Report this to bugs@ircd-hybrid.org ##
2018 < ## ----------------------------------- ##
2197 < _ASBOX
2018 > ## ----------------------------------- ##"
2019       ) | sed "s/^/$as_me: WARNING:     /" >&2
2020      ;;
2021   esac
2022    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023   $as_echo_n "checking for $2... " >&6; }
2024 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2024 > if eval \${$3+:} false; then :
2025    $as_echo_n "(cached) " >&6
2026   else
2027    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2030 | eval ac_res=\$$3
2030                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031   $as_echo "$ac_res" >&6; }
2032   fi
2033 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034  
2035   } # ac_fn_c_check_header_mongrel
2036   cat >config.log <<_ACEOF
2037   This file contains any messages produced by compilers while
2038   running configure, to aid debugging if configure makes a mistake.
2039  
2040 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2041 < generated by GNU Autoconf 2.65.  Invocation command line was
2040 > It was created by ircd-hybrid $as_me 8.2.1, which was
2041 > generated by GNU Autoconf 2.69.  Invocation command line was
2042  
2043    $ $0 $@
2044  
# Line 2327 | Line 2148 | trap 'exit_status=$?
2148    {
2149      echo
2150  
2151 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2151 >    $as_echo "## ---------------- ##
2152   ## Cache variables. ##
2153 < ## ---------------- ##
2334 < _ASBOX
2153 > ## ---------------- ##"
2154      echo
2155      # The following way of writing the cache mishandles newlines in values,
2156   (
# Line 2365 | Line 2184 | $as_echo "$as_me: WARNING: cache variabl
2184   )
2185      echo
2186  
2187 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2187 >    $as_echo "## ----------------- ##
2188   ## Output variables. ##
2189 < ## ----------------- ##
2372 < _ASBOX
2189 > ## ----------------- ##"
2190      echo
2191      for ac_var in $ac_subst_vars
2192      do
# Line 2382 | Line 2199 | _ASBOX
2199      echo
2200  
2201      if test -n "$ac_subst_files"; then
2202 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2202 >      $as_echo "## ------------------- ##
2203   ## File substitutions. ##
2204 < ## ------------------- ##
2389 < _ASBOX
2204 > ## ------------------- ##"
2205        echo
2206        for ac_var in $ac_subst_files
2207        do
# Line 2400 | Line 2215 | _ASBOX
2215      fi
2216  
2217      if test -s confdefs.h; then
2218 <      cat <<\_ASBOX
2404 < ## ----------- ##
2218 >      $as_echo "## ----------- ##
2219   ## confdefs.h. ##
2220 < ## ----------- ##
2407 < _ASBOX
2220 > ## ----------- ##"
2221        echo
2222        cat confdefs.h
2223        echo
# Line 2459 | Line 2272 | _ACEOF
2272   ac_site_file1=NONE
2273   ac_site_file2=NONE
2274   if test -n "$CONFIG_SITE"; then
2275 <  ac_site_file1=$CONFIG_SITE
2275 >  # We do not want a PATH search for config.site.
2276 >  case $CONFIG_SITE in #((
2277 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2278 >    */*) ac_site_file1=$CONFIG_SITE;;
2279 >    *)   ac_site_file1=./$CONFIG_SITE;;
2280 >  esac
2281   elif test "x$prefix" != xNONE; then
2282    ac_site_file1=$prefix/share/config.site
2283    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2292 | do
2292      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2293   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2294      sed 's/^/| /' "$ac_site_file" >&5
2295 <    . "$ac_site_file"
2295 >    . "$ac_site_file" \
2296 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2297 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298 > as_fn_error $? "failed to load site script $ac_site_file
2299 > See \`config.log' for more details" "$LINENO" 5; }
2300    fi
2301   done
2302  
# Line 2495 | Line 2317 | $as_echo "$as_me: creating cache $cache_
2317    >$cache_file
2318   fi
2319  
2498 as_fn_append ac_func_list " mmap"
2320   as_fn_append ac_func_list " strtok_r"
2321   as_fn_append ac_func_list " usleep"
2322   as_fn_append ac_func_list " strlcat"
2323   as_fn_append ac_func_list " strlcpy"
2324   as_fn_append ac_header_list " crypt.h"
2504 as_fn_append ac_header_list " inttypes.h"
2505 as_fn_append ac_header_list " stdint.h"
2325   as_fn_append ac_header_list " sys/resource.h"
2326   as_fn_append ac_header_list " sys/param.h"
2508 as_fn_append ac_header_list " errno.h"
2509 as_fn_append ac_header_list " sys/syslog.h"
2327   as_fn_append ac_header_list " types.h"
2328   as_fn_append ac_header_list " socket.h"
2329   as_fn_append ac_header_list " sys/wait.h"
2330   as_fn_append ac_header_list " wait.h"
2514 as_fn_append ac_header_list " link.h"
2331   # Check that the precious variables saved in the cache have kept the same
2332   # value.
2333   ac_cache_corrupted=false
# Line 2567 | Line 2383 | if $ac_cache_corrupted; then
2383   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2384    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2385   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2386 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2387   fi
2388   ## -------------------- ##
2389   ## Main body of script. ##
# Line 2580 | Line 2396 | ac_link='$CC -o conftest$ac_exeext $CFLA
2396   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2397  
2398  
2399 < am__api_version='1.11'
2399 > am__api_version='1.14'
2400  
2401   ac_aux_dir=
2402   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2403 <  for ac_t in install-sh install.sh shtool; do
2404 <    if test -f "$ac_dir/$ac_t"; then
2405 <      ac_aux_dir=$ac_dir
2406 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2407 <      break 2
2408 <    fi
2409 <  done
2403 >  if test -f "$ac_dir/install-sh"; then
2404 >    ac_aux_dir=$ac_dir
2405 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2406 >    break
2407 >  elif test -f "$ac_dir/install.sh"; then
2408 >    ac_aux_dir=$ac_dir
2409 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2410 >    break
2411 >  elif test -f "$ac_dir/shtool"; then
2412 >    ac_aux_dir=$ac_dir
2413 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2414 >    break
2415 >  fi
2416   done
2417   if test -z "$ac_aux_dir"; then
2418 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2418 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2419   fi
2420  
2421   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2444 | ac_configure="$SHELL $ac_aux_dir/configu
2444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2445   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2446   if test -z "$INSTALL"; then
2447 < if test "${ac_cv_path_install+set}" = set; then :
2447 > if ${ac_cv_path_install+:} false; then :
2448    $as_echo_n "(cached) " >&6
2449   else
2450    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2642 | Line 2464 | case $as_dir/ in #((
2464      # by default.
2465      for ac_prog in ginstall scoinst install; do
2466        for ac_exec_ext in '' $ac_executable_extensions; do
2467 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2467 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2468            if test $ac_prog = install &&
2469              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2470              # AIX install.  It has an incompatible calling convention.
# Line 2700 | Line 2522 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2522  
2523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2524   $as_echo_n "checking whether build environment is sane... " >&6; }
2703 # Just in case
2704 sleep 1
2705 echo timestamp > conftest.file
2525   # Reject unsafe characters in $srcdir or the absolute working directory
2526   # name.  Accept space and tab only in the latter.
2527   am_lf='
2528   '
2529   case `pwd` in
2530    *[\\\"\#\$\&\'\`$am_lf]*)
2531 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2531 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2532   esac
2533   case $srcdir in
2534    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2535 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2535 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2536   esac
2537  
2538 < # Do `set' in a subshell so we don't clobber the current shell's
2538 > # Do 'set' in a subshell so we don't clobber the current shell's
2539   # arguments.  Must try -L first in case configure is actually a
2540   # symlink; some systems play weird games with the mod time of symlinks
2541   # (eg FreeBSD returns the mod time of the symlink's containing
2542   # directory).
2543   if (
2544 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2545 <   if test "$*" = "X"; then
2546 <      # -L didn't work.
2547 <      set X `ls -t "$srcdir/configure" conftest.file`
2548 <   fi
2549 <   rm -f conftest.file
2550 <   if test "$*" != "X $srcdir/configure conftest.file" \
2551 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2552 <
2553 <      # If neither matched, then we have a broken ls.  This can happen
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   fi
2544 >   am_has_slept=no
2545 >   for am_try in 1 2; do
2546 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2547 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2548 >     if test "$*" = "X"; then
2549 >        # -L didn't work.
2550 >        set X `ls -t "$srcdir/configure" conftest.file`
2551 >     fi
2552 >     if test "$*" != "X $srcdir/configure conftest.file" \
2553 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2554  
2555 +        # If neither matched, then we have a broken ls.  This can happen
2556 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2557 +        # broken ls alias from the environment.  This has actually
2558 +        # happened.  Such a system could not be considered "sane".
2559 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2560 +  alias in your environment" "$LINENO" 5
2561 +     fi
2562 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2563 +       break
2564 +     fi
2565 +     # Just in case.
2566 +     sleep 1
2567 +     am_has_slept=yes
2568 +   done
2569     test "$2" = conftest.file
2570     )
2571   then
2572     # Ok.
2573     :
2574   else
2575 <   as_fn_error "newly created file is older than distributed files!
2575 >   as_fn_error $? "newly created file is older than distributed files!
2576   Check your system clock" "$LINENO" 5
2577   fi
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2579   $as_echo "yes" >&6; }
2580 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2581 + # generated files are strictly newer.
2582 + am_sleep_pid=
2583 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2584 +  ( sleep 1 ) &
2585 +  am_sleep_pid=$!
2586 + fi
2587 +
2588 + rm -f conftest.file
2589 +
2590   test "$program_prefix" != NONE &&
2591    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2592   # Use a double $ so make ignores it.
# Line 2772 | Line 2609 | if test x"${MISSING+set}" != xset; then
2609    esac
2610   fi
2611   # Use eval to expand $SHELL
2612 < if eval "$MISSING --run true"; then
2613 <  am_missing_run="$MISSING --run "
2612 > if eval "$MISSING --is-lightweight"; then
2613 >  am_missing_run="$MISSING "
2614   else
2615    am_missing_run=
2616 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2617 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2616 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2617 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2618   fi
2619  
2620   if test x"${install_sh}" != xset; then
# Line 2789 | Line 2626 | if test x"${install_sh}" != xset; then
2626    esac
2627   fi
2628  
2629 < # Installed binaries are usually stripped using `strip' when the user
2630 < # run `make install-strip'.  However `strip' might not be the right
2629 > # Installed binaries are usually stripped using 'strip' when the user
2630 > # run "make install-strip".  However 'strip' might not be the right
2631   # tool to use in cross-compilation environments, therefore Automake
2632 < # will honor the `STRIP' environment variable to overrule this program.
2632 > # will honor the 'STRIP' environment variable to overrule this program.
2633   if test "$cross_compiling" != no; then
2634    if test -n "$ac_tool_prefix"; then
2635    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2636   set dummy ${ac_tool_prefix}strip; ac_word=$2
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638   $as_echo_n "checking for $ac_word... " >&6; }
2639 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2639 > if ${ac_cv_prog_STRIP+:} false; then :
2640    $as_echo_n "(cached) " >&6
2641   else
2642    if test -n "$STRIP"; then
# Line 2811 | Line 2648 | do
2648    IFS=$as_save_IFS
2649    test -z "$as_dir" && as_dir=.
2650      for ac_exec_ext in '' $ac_executable_extensions; do
2651 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2653      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654      break 2
# Line 2839 | Line 2676 | if test -z "$ac_cv_prog_STRIP"; then
2676   set dummy strip; ac_word=$2
2677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678   $as_echo_n "checking for $ac_word... " >&6; }
2679 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2679 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2680    $as_echo_n "(cached) " >&6
2681   else
2682    if test -n "$ac_ct_STRIP"; then
# Line 2851 | Line 2688 | do
2688    IFS=$as_save_IFS
2689    test -z "$as_dir" && as_dir=.
2690      for ac_exec_ext in '' $ac_executable_extensions; do
2691 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692      ac_cv_prog_ac_ct_STRIP="strip"
2693      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694      break 2
# Line 2892 | Line 2729 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2730   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2731   if test -z "$MKDIR_P"; then
2732 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2732 >  if ${ac_cv_path_mkdir+:} false; then :
2733    $as_echo_n "(cached) " >&6
2734   else
2735    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2902 | Line 2739 | do
2739    test -z "$as_dir" && as_dir=.
2740      for ac_prog in mkdir gmkdir; do
2741           for ac_exec_ext in '' $ac_executable_extensions; do
2742 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2742 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2743             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2744               'mkdir (GNU coreutils) '* | \
2745               'mkdir (coreutils) '* | \
# Line 2931 | Line 2768 | fi
2768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2769   $as_echo "$MKDIR_P" >&6; }
2770  
2934 mkdir_p="$MKDIR_P"
2935 case $mkdir_p in
2936  [\\/$]* | ?:[\\/]*) ;;
2937  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 esac
2939
2771   for ac_prog in gawk mawk nawk awk
2772   do
2773    # Extract the first word of "$ac_prog", so it can be a program name with args.
2774   set dummy $ac_prog; ac_word=$2
2775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776   $as_echo_n "checking for $ac_word... " >&6; }
2777 < if test "${ac_cv_prog_AWK+set}" = set; then :
2777 > if ${ac_cv_prog_AWK+:} false; then :
2778    $as_echo_n "(cached) " >&6
2779   else
2780    if test -n "$AWK"; then
# Line 2955 | Line 2786 | do
2786    IFS=$as_save_IFS
2787    test -z "$as_dir" && as_dir=.
2788      for ac_exec_ext in '' $ac_executable_extensions; do
2789 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2790      ac_cv_prog_AWK="$ac_prog"
2791      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792      break 2
# Line 2983 | Line 2814 | done
2814   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2815   set x ${MAKE-make}
2816   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2817 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2817 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2818    $as_echo_n "(cached) " >&6
2819   else
2820    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2822 | SHELL = /bin/sh
2822   all:
2823          @echo '@@@%%%=$(MAKE)=@@@%%%'
2824   _ACEOF
2825 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2825 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2826   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2827    *@@@%%%=?*=@@@%%%*)
2828      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3019 | Line 2850 | else
2850   fi
2851   rmdir .tst 2>/dev/null
2852  
2853 + # Check whether --enable-silent-rules was given.
2854 + if test "${enable_silent_rules+set}" = set; then :
2855 +  enableval=$enable_silent_rules;
2856 + fi
2857 +
2858 + case $enable_silent_rules in # (((
2859 +  yes) AM_DEFAULT_VERBOSITY=0;;
2860 +   no) AM_DEFAULT_VERBOSITY=1;;
2861 +    *) AM_DEFAULT_VERBOSITY=1;;
2862 + esac
2863 + am_make=${MAKE-make}
2864 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2865 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2866 + if ${am_cv_make_support_nested_variables+:} false; then :
2867 +  $as_echo_n "(cached) " >&6
2868 + else
2869 +  if $as_echo 'TRUE=$(BAR$(V))
2870 + BAR0=false
2871 + BAR1=true
2872 + V=1
2873 + am__doit:
2874 +        @$(TRUE)
2875 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2876 +  am_cv_make_support_nested_variables=yes
2877 + else
2878 +  am_cv_make_support_nested_variables=no
2879 + fi
2880 + fi
2881 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2882 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2883 + if test $am_cv_make_support_nested_variables = yes; then
2884 +    AM_V='$(V)'
2885 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2886 + else
2887 +  AM_V=$AM_DEFAULT_VERBOSITY
2888 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2889 + fi
2890 + AM_BACKSLASH='\'
2891 +
2892   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2893    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2894    # is not polluted with repeated "-I."
2895    am__isrc=' -I$(srcdir)'
2896    # test to see if srcdir already configured
2897    if test -f $srcdir/config.status; then
2898 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2898 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2899    fi
2900   fi
2901  
# Line 3041 | Line 2911 | fi
2911  
2912   # Define the identity of the package.
2913   PACKAGE='ircd-hybrid'
2914 < VERSION='7.3-rc1'
2914 > VERSION='8.2.1'
2915  
2916  
2917   cat >>confdefs.h <<_ACEOF
# Line 3069 | Line 2939 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2939  
2940   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2941  
2942 + # For better backward compatibility.  To be removed once Automake 1.9.x
2943 + # dies out for good.  For more background, see:
2944 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2945 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2946 + mkdir_p='$(MKDIR_P)'
2947 +
2948   # We need awk for the "check" target.  The system "awk" is bad on
2949   # some platforms.
2950 < # Always define AMTAR for backward compatibility.
2950 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2951 > # in the wild :-(  We should find a proper way to deprecate it ...
2952 > AMTAR='$${TAR-tar}'
2953  
3076 AMTAR=${AMTAR-"${am_missing_run}tar"}
2954  
2955 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2955 > # We'll loop over all known methods to create a tar archive until one works.
2956 > _am_tools='gnutar  pax cpio none'
2957  
2958 + am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2959  
2960  
2961  
2962  
2963  
2964 +
2965 + # POSIX will say in a future version that running "rm -f" with no argument
2966 + # is OK; and we want to be able to make that assumption in our Makefile
2967 + # recipes.  So use an aggressive probe to check that the usage we want is
2968 + # actually supported "in the wild" to an acceptable degree.
2969 + # See automake bug#10828.
2970 + # To make any issue more visible, cause the running configure to be aborted
2971 + # by default if the 'rm' program in use doesn't match our expectations; the
2972 + # user can still override this though.
2973 + if rm -f && rm -fr && rm -rf; then : OK; else
2974 +  cat >&2 <<'END'
2975 + Oops!
2976 +
2977 + Your 'rm' program seems unable to run without file operands specified
2978 + on the command line, even when the '-f' option is present.  This is contrary
2979 + to the behaviour of most rm programs out there, and not conforming with
2980 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2981 +
2982 + Please tell bug-automake@gnu.org about your system, including the value
2983 + of your $PATH and any error possibly output before this message.  This
2984 + can help us improve future automake versions.
2985 +
2986 + END
2987 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2988 +    echo 'Configuration will proceed anyway, since you have set the' >&2
2989 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2990 +    echo >&2
2991 +  else
2992 +    cat >&2 <<'END'
2993 + Aborting the configuration process, to ensure you take notice of the issue.
2994 +
2995 + You can download and install GNU coreutils to get an 'rm' implementation
2996 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
2997 +
2998 + If you want to complete the configuration process using your problematic
2999 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3000 + to "yes", and re-run configure.
3001 +
3002 + END
3003 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3004 +  fi
3005 + fi
3006 +
3007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3008   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3009      # Check whether --enable-maintainer-mode was given.
# Line 3104 | Line 3026 | fi
3026    MAINT=$MAINTAINER_MODE_TRUE
3027  
3028  
3029 +
3030   ac_config_headers="$ac_config_headers config.h"
3031  
3032  
# Line 3128 | Line 3051 | am__quote=
3051   _am_result=none
3052   # First try GNU make style include.
3053   echo "include confinc" > confmf
3054 < # Ignore all kinds of additional output from `make'.
3054 > # Ignore all kinds of additional output from 'make'.
3055   case `$am_make -s -f confmf 2> /dev/null` in #(
3056   *the\ am__doit\ target*)
3057    am__include=include
# Line 3161 | Line 3084 | fi
3084   if test "x$enable_dependency_tracking" != xno; then
3085    am_depcomp="$ac_aux_dir/depcomp"
3086    AMDEPBACKSLASH='\'
3087 +  am__nodep='_no'
3088   fi
3089   if test "x$enable_dependency_tracking" != xno; then
3090    AMDEP_TRUE=
# Line 3181 | Line 3105 | if test -n "$ac_tool_prefix"; then
3105   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107   $as_echo_n "checking for $ac_word... " >&6; }
3108 < if test "${ac_cv_prog_CC+set}" = set; then :
3108 > if ${ac_cv_prog_CC+:} false; then :
3109    $as_echo_n "(cached) " >&6
3110   else
3111    if test -n "$CC"; then
# Line 3193 | Line 3117 | do
3117    IFS=$as_save_IFS
3118    test -z "$as_dir" && as_dir=.
3119      for ac_exec_ext in '' $ac_executable_extensions; do
3120 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3120 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3122      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123      break 2
# Line 3221 | Line 3145 | if test -z "$ac_cv_prog_CC"; then
3145   set dummy gcc; ac_word=$2
3146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147   $as_echo_n "checking for $ac_word... " >&6; }
3148 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3148 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3149    $as_echo_n "(cached) " >&6
3150   else
3151    if test -n "$ac_ct_CC"; then
# Line 3233 | Line 3157 | do
3157    IFS=$as_save_IFS
3158    test -z "$as_dir" && as_dir=.
3159      for ac_exec_ext in '' $ac_executable_extensions; do
3160 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3160 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161      ac_cv_prog_ac_ct_CC="gcc"
3162      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163      break 2
# Line 3274 | Line 3198 | if test -z "$CC"; then
3198   set dummy ${ac_tool_prefix}cc; ac_word=$2
3199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200   $as_echo_n "checking for $ac_word... " >&6; }
3201 < if test "${ac_cv_prog_CC+set}" = set; then :
3201 > if ${ac_cv_prog_CC+:} false; then :
3202    $as_echo_n "(cached) " >&6
3203   else
3204    if test -n "$CC"; then
# Line 3286 | Line 3210 | do
3210    IFS=$as_save_IFS
3211    test -z "$as_dir" && as_dir=.
3212      for ac_exec_ext in '' $ac_executable_extensions; do
3213 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214      ac_cv_prog_CC="${ac_tool_prefix}cc"
3215      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216      break 2
# Line 3314 | Line 3238 | if test -z "$CC"; then
3238   set dummy cc; ac_word=$2
3239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240   $as_echo_n "checking for $ac_word... " >&6; }
3241 < if test "${ac_cv_prog_CC+set}" = set; then :
3241 > if ${ac_cv_prog_CC+:} false; then :
3242    $as_echo_n "(cached) " >&6
3243   else
3244    if test -n "$CC"; then
# Line 3327 | Line 3251 | do
3251    IFS=$as_save_IFS
3252    test -z "$as_dir" && as_dir=.
3253      for ac_exec_ext in '' $ac_executable_extensions; do
3254 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3255      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3256         ac_prog_rejected=yes
3257         continue
# Line 3373 | Line 3297 | if test -z "$CC"; then
3297   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299   $as_echo_n "checking for $ac_word... " >&6; }
3300 < if test "${ac_cv_prog_CC+set}" = set; then :
3300 > if ${ac_cv_prog_CC+:} false; then :
3301    $as_echo_n "(cached) " >&6
3302   else
3303    if test -n "$CC"; then
# Line 3385 | Line 3309 | do
3309    IFS=$as_save_IFS
3310    test -z "$as_dir" && as_dir=.
3311      for ac_exec_ext in '' $ac_executable_extensions; do
3312 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3312 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3313      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3314      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3315      break 2
# Line 3417 | Line 3341 | do
3341   set dummy $ac_prog; ac_word=$2
3342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343   $as_echo_n "checking for $ac_word... " >&6; }
3344 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3344 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3345    $as_echo_n "(cached) " >&6
3346   else
3347    if test -n "$ac_ct_CC"; then
# Line 3429 | Line 3353 | do
3353    IFS=$as_save_IFS
3354    test -z "$as_dir" && as_dir=.
3355      for ac_exec_ext in '' $ac_executable_extensions; do
3356 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3356 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3357      ac_cv_prog_ac_ct_CC="$ac_prog"
3358      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3359      break 2
# Line 3471 | Line 3395 | fi
3395  
3396   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 < as_fn_error "no acceptable C compiler found in \$PATH
3399 < See \`config.log' for more details." "$LINENO" 5; }
3398 > as_fn_error $? "no acceptable C compiler found in \$PATH
3399 > See \`config.log' for more details" "$LINENO" 5; }
3400  
3401   # Provide some information about the compiler.
3402   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3510 | sed 's/^/| /' conftest.$ac_ext >&5
3510  
3511   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 < { as_fn_set_status 77
3514 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3513 > as_fn_error 77 "C compiler cannot create executables
3514 > See \`config.log' for more details" "$LINENO" 5; }
3515   else
3516    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3517   $as_echo "yes" >&6; }
# Line 3630 | Line 3553 | done
3553   else
3554    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3557 < See \`config.log' for more details." "$LINENO" 5; }
3556 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3557 > See \`config.log' for more details" "$LINENO" 5; }
3558   fi
3559   rm -f conftest conftest$ac_cv_exeext
3560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3611 | $as_echo "$ac_try_echo"; } >&5
3611      else
3612          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 < as_fn_error "cannot run C compiled programs.
3614 > as_fn_error $? "cannot run C compiled programs.
3615   If you meant to cross compile, use \`--host'.
3616 < See \`config.log' for more details." "$LINENO" 5; }
3616 > See \`config.log' for more details" "$LINENO" 5; }
3617      fi
3618    fi
3619   fi
# Line 3701 | Line 3624 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3624   ac_clean_files=$ac_clean_files_save
3625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3626   $as_echo_n "checking for suffix of object files... " >&6; }
3627 < if test "${ac_cv_objext+set}" = set; then :
3627 > if ${ac_cv_objext+:} false; then :
3628    $as_echo_n "(cached) " >&6
3629   else
3630    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3664 | sed 's/^/| /' conftest.$ac_ext >&5
3664  
3665   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 < as_fn_error "cannot compute suffix of object files: cannot compile
3668 < See \`config.log' for more details." "$LINENO" 5; }
3667 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3668 > See \`config.log' for more details" "$LINENO" 5; }
3669   fi
3670   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3671   fi
# Line 3752 | Line 3675 | OBJEXT=$ac_cv_objext
3675   ac_objext=$OBJEXT
3676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3677   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3678 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3678 > if ${ac_cv_c_compiler_gnu+:} false; then :
3679    $as_echo_n "(cached) " >&6
3680   else
3681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3712 | ac_test_CFLAGS=${CFLAGS+set}
3712   ac_save_CFLAGS=$CFLAGS
3713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3714   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3715 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3715 > if ${ac_cv_prog_cc_g+:} false; then :
3716    $as_echo_n "(cached) " >&6
3717   else
3718    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3790 | else
3790   fi
3791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3792   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3793 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3793 > if ${ac_cv_prog_cc_c89+:} false; then :
3794    $as_echo_n "(cached) " >&6
3795   else
3796    ac_cv_prog_cc_c89=no
# Line 3876 | Line 3799 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3799   /* end confdefs.h.  */
3800   #include <stdarg.h>
3801   #include <stdio.h>
3802 < #include <sys/types.h>
3880 < #include <sys/stat.h>
3802 > struct stat;
3803   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3804   struct buf { int x; };
3805   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3962 | Line 3884 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3884   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3886  
3887 + ac_ext=c
3888 + ac_cpp='$CPP $CPPFLAGS'
3889 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3892 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3893 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3894 + if ${am_cv_prog_cc_c_o+:} false; then :
3895 +  $as_echo_n "(cached) " >&6
3896 + else
3897 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 + /* end confdefs.h.  */
3899 +
3900 + int
3901 + main ()
3902 + {
3903 +
3904 +  ;
3905 +  return 0;
3906 + }
3907 + _ACEOF
3908 +  # Make sure it works both with $CC and with simple cc.
3909 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3910 +  # compilers refuse to overwrite an existing .o file with -o,
3911 +  # though they will create one.
3912 +  am_cv_prog_cc_c_o=yes
3913 +  for am_i in 1 2; do
3914 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3915 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3916 +   ac_status=$?
3917 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 +   (exit $ac_status); } \
3919 +         && test -f conftest2.$ac_objext; then
3920 +      : OK
3921 +    else
3922 +      am_cv_prog_cc_c_o=no
3923 +      break
3924 +    fi
3925 +  done
3926 +  rm -f core conftest*
3927 +  unset am_i
3928 + fi
3929 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3930 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3931 + if test "$am_cv_prog_cc_c_o" != yes; then
3932 +   # Losing compiler, so override with the script.
3933 +   # FIXME: It is wrong to rewrite CC.
3934 +   # But if we don't then we get into trouble of one sort or another.
3935 +   # A longer-term fix would be to have automake use am__CC in this case,
3936 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3937 +   CC="$am_aux_dir/compile $CC"
3938 + fi
3939 + ac_ext=c
3940 + ac_cpp='$CPP $CPPFLAGS'
3941 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 +
3945 +
3946   depcc="$CC"   am_compiler_list=
3947  
3948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3949   $as_echo_n "checking dependency style of $depcc... " >&6; }
3950 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3950 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3951    $as_echo_n "(cached) " >&6
3952   else
3953    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3954    # We make a subdir and do the tests there.  Otherwise we can end up
3955    # making bogus files that we don't know about and never remove.  For
3956    # instance it was reported that on HP-UX the gcc test will end up
3957 <  # making a dummy file named `D' -- because `-MD' means `put the output
3958 <  # in D'.
3957 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3958 >  # in D".
3959 >  rm -rf conftest.dir
3960    mkdir conftest.dir
3961    # Copy depcomp to subdir because otherwise we won't find it if we're
3962    # using a relative directory.
# Line 4008 | Line 3990 | else
3990      : > sub/conftest.c
3991      for i in 1 2 3 4 5 6; do
3992        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3993 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3994 <      # Solaris 8's {/usr,}/bin/sh.
3995 <      touch sub/conftst$i.h
3993 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3994 >      # Solaris 10 /bin/sh.
3995 >      echo '/* dummy */' > sub/conftst$i.h
3996      done
3997      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3998  
3999 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3999 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4000      # mode.  It turns out that the SunPro C++ compiler does not properly
4001 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4002 <    # versions had trouble with output in subdirs
4001 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4002 >    # versions had trouble with output in subdirs.
4003      am__obj=sub/conftest.${OBJEXT-o}
4004      am__minus_obj="-o $am__obj"
4005      case $depmode in
# Line 4026 | Line 4008 | else
4008        test "$am__universal" = false || continue
4009        ;;
4010      nosideeffect)
4011 <      # after this tag, mechanisms are not by side-effect, so they'll
4012 <      # only be used when explicitly requested
4011 >      # After this tag, mechanisms are not by side-effect, so they'll
4012 >      # only be used when explicitly requested.
4013        if test "x$enable_dependency_tracking" = xyes; then
4014          continue
4015        else
4016          break
4017        fi
4018        ;;
4019 <    msvisualcpp | msvcmsys)
4020 <      # This compiler won't grok `-c -o', but also, the minuso test has
4019 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4020 >      # This compiler won't grok '-c -o', but also, the minuso test has
4021        # not run yet.  These depmodes are late enough in the game, and
4022        # so weak that their functioning should not be impacted.
4023        am__obj=conftest.${OBJEXT-o}
# Line 4091 | Line 4073 | fi
4073  
4074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4075   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4076 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4076 > if ${ac_cv_prog_cc_c99+:} false; then :
4077    $as_echo_n "(cached) " >&6
4078   else
4079    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4217 | main ()
4217    return 0;
4218   }
4219   _ACEOF
4220 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4220 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4221   do
4222    CC="$ac_save_CC $ac_arg"
4223    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4267 | Line 4249 | fi
4249  
4250  
4251   if test "$ac_cv_prog_cc_c99" = "no"; then :
4252 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4252 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4253   fi
4254   for ac_prog in 'bison -y' byacc
4255   do
# Line 4275 | Line 4257 | do
4257   set dummy $ac_prog; ac_word=$2
4258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259   $as_echo_n "checking for $ac_word... " >&6; }
4260 < if test "${ac_cv_prog_YACC+set}" = set; then :
4260 > if ${ac_cv_prog_YACC+:} false; then :
4261    $as_echo_n "(cached) " >&6
4262   else
4263    if test -n "$YACC"; then
# Line 4287 | Line 4269 | do
4269    IFS=$as_save_IFS
4270    test -z "$as_dir" && as_dir=.
4271      for ac_exec_ext in '' $ac_executable_extensions; do
4272 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4273      ac_cv_prog_YACC="$ac_prog"
4274      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4275      break 2
# Line 4319 | Line 4301 | do
4301   set dummy $ac_prog; ac_word=$2
4302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303   $as_echo_n "checking for $ac_word... " >&6; }
4304 < if test "${ac_cv_prog_LEX+set}" = set; then :
4304 > if ${ac_cv_prog_LEX+:} false; then :
4305    $as_echo_n "(cached) " >&6
4306   else
4307    if test -n "$LEX"; then
# Line 4331 | Line 4313 | do
4313    IFS=$as_save_IFS
4314    test -z "$as_dir" && as_dir=.
4315      for ac_exec_ext in '' $ac_executable_extensions; do
4316 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4316 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317      ac_cv_prog_LEX="$ac_prog"
4318      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319      break 2
# Line 4363 | Line 4345 | a { ECHO; }
4345   b { REJECT; }
4346   c { yymore (); }
4347   d { yyless (1); }
4348 < e { yyless (input () != 0); }
4348 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4349 >    yyless ((input () != 0)); }
4350   f { unput (yytext[0]); }
4351   . { BEGIN INITIAL; }
4352   %%
# Line 4389 | Line 4372 | $as_echo "$ac_try_echo"; } >&5
4372    test $ac_status = 0; }
4373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4374   $as_echo_n "checking lex output file root... " >&6; }
4375 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4375 > if ${ac_cv_prog_lex_root+:} false; then :
4376    $as_echo_n "(cached) " >&6
4377   else
4378  
# Line 4398 | Line 4381 | if test -f lex.yy.c; then
4381   elif test -f lexyy.c; then
4382    ac_cv_prog_lex_root=lexyy
4383   else
4384 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4384 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4385   fi
4386   fi
4387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4391 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4391   if test -z "${LEXLIB+set}"; then
4392    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4393   $as_echo_n "checking lex library... " >&6; }
4394 < if test "${ac_cv_lib_lex+set}" = set; then :
4394 > if ${ac_cv_lib_lex+:} false; then :
4395    $as_echo_n "(cached) " >&6
4396   else
4397  
# Line 4438 | Line 4421 | fi
4421  
4422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4423   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4424 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4424 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4425    $as_echo_n "(cached) " >&6
4426   else
4427    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4432 | ac_save_LIBS=$LIBS
4432   LIBS="$LEXLIB $ac_save_LIBS"
4433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434   /* end confdefs.h.  */
4435 < #define YYTEXT_POINTER 1
4435 >
4436 >  #define YYTEXT_POINTER 1
4437   `cat $LEX_OUTPUT_ROOT.c`
4438   _ACEOF
4439   if ac_fn_c_try_link "$LINENO"; then :
# Line 4483 | Line 4467 | fi
4467  
4468  
4469  
4486
4470   case `pwd` in
4471    *\ * | *\     *)
4472      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4492 | Line 4475 | esac
4475  
4476  
4477  
4478 < macro_version='2.2.6b'
4479 < macro_revision='1.3017'
4478 > macro_version='2.4.4'
4479 > macro_revision='2.4.4'
4480  
4481  
4482  
# Line 4507 | Line 4490 | macro_revision='1.3017'
4490  
4491  
4492  
4493 < ltmain="$ac_aux_dir/ltmain.sh"
4493 > ltmain=$ac_aux_dir/ltmain.sh
4494  
4495   # Make sure we can run config.sub.
4496   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4497 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4497 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4498  
4499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4500   $as_echo_n "checking build system type... " >&6; }
4501 < if test "${ac_cv_build+set}" = set; then :
4501 > if ${ac_cv_build+:} false; then :
4502    $as_echo_n "(cached) " >&6
4503   else
4504    ac_build_alias=$build_alias
4505   test "x$ac_build_alias" = x &&
4506    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4507   test "x$ac_build_alias" = x &&
4508 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4508 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4509   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4510 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4510 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4511  
4512   fi
4513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4514   $as_echo "$ac_cv_build" >&6; }
4515   case $ac_cv_build in
4516   *-*-*) ;;
4517 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4517 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4518   esac
4519   build=$ac_cv_build
4520   ac_save_IFS=$IFS; IFS='-'
# Line 4549 | Line 4532 | case $build_os in *\ *) build_os=`echo "
4532  
4533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4534   $as_echo_n "checking host system type... " >&6; }
4535 < if test "${ac_cv_host+set}" = set; then :
4535 > if ${ac_cv_host+:} false; then :
4536    $as_echo_n "(cached) " >&6
4537   else
4538    if test "x$host_alias" = x; then
4539    ac_cv_host=$ac_cv_build
4540   else
4541    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4542 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4542 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4543   fi
4544  
4545   fi
# Line 4564 | Line 4547 | fi
4547   $as_echo "$ac_cv_host" >&6; }
4548   case $ac_cv_host in
4549   *-*-*) ;;
4550 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4550 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4551   esac
4552   host=$ac_cv_host
4553   ac_save_IFS=$IFS; IFS='-'
# Line 4580 | Line 4563 | IFS=$ac_save_IFS
4563   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4564  
4565  
4566 + # Backslashify metacharacters that are still active within
4567 + # double-quoted strings.
4568 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4569 +
4570 + # Same as above, but do not quote variable references.
4571 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4572 +
4573 + # Sed substitution to delay expansion of an escaped shell variable in a
4574 + # double_quote_subst'ed string.
4575 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4576 +
4577 + # Sed substitution to delay expansion of an escaped single quote.
4578 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4579 +
4580 + # Sed substitution to avoid accidental globbing in evaled expressions
4581 + no_glob_subst='s/\*/\\\*/g'
4582 +
4583 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4584 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4585 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4586 +
4587 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4588 + $as_echo_n "checking how to print strings... " >&6; }
4589 + # Test print first, because it will be a builtin if present.
4590 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4591 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4592 +  ECHO='print -r --'
4593 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4594 +  ECHO='printf %s\n'
4595 + else
4596 +  # Use this function as a fallback that always works.
4597 +  func_fallback_echo ()
4598 +  {
4599 +    eval 'cat <<_LTECHO_EOF
4600 + $1
4601 + _LTECHO_EOF'
4602 +  }
4603 +  ECHO='func_fallback_echo'
4604 + fi
4605 +
4606 + # func_echo_all arg...
4607 + # Invoke $ECHO with all args, space-separated.
4608 + func_echo_all ()
4609 + {
4610 +    $ECHO ""
4611 + }
4612 +
4613 + case $ECHO in
4614 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4615 + $as_echo "printf" >&6; } ;;
4616 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4617 + $as_echo "print -r" >&6; } ;;
4618 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4619 + $as_echo "cat" >&6; } ;;
4620 + esac
4621 +
4622 +
4623 +
4624 +
4625 +
4626 +
4627 +
4628 +
4629 +
4630 +
4631 +
4632 +
4633 +
4634 +
4635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4636   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4637 < if test "${ac_cv_path_SED+set}" = set; then :
4637 > if ${ac_cv_path_SED+:} false; then :
4638    $as_echo_n "(cached) " >&6
4639   else
4640              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4602 | Line 4654 | do
4654      for ac_prog in sed gsed; do
4655      for ac_exec_ext in '' $ac_executable_extensions; do
4656        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4657 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4657 >      as_fn_executable_p "$ac_path_SED" || continue
4658   # Check for GNU ac_path_SED and select it if it is found.
4659    # Check for GNU $ac_path_SED
4660   case `"$ac_path_SED" --version 2>&1` in
# Line 4637 | Line 4689 | esac
4689    done
4690   IFS=$as_save_IFS
4691    if test -z "$ac_cv_path_SED"; then
4692 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4692 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4693    fi
4694   else
4695    ac_cv_path_SED=$SED
# Line 4664 | Line 4716 | Xsed="$SED -e 1s/^X//"
4716  
4717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4718   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4719 < if test "${ac_cv_path_GREP+set}" = set; then :
4719 > if ${ac_cv_path_GREP+:} false; then :
4720    $as_echo_n "(cached) " >&6
4721   else
4722    if test -z "$GREP"; then
# Line 4678 | Line 4730 | do
4730      for ac_prog in grep ggrep; do
4731      for ac_exec_ext in '' $ac_executable_extensions; do
4732        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4733 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4733 >      as_fn_executable_p "$ac_path_GREP" || continue
4734   # Check for GNU ac_path_GREP and select it if it is found.
4735    # Check for GNU $ac_path_GREP
4736   case `"$ac_path_GREP" --version 2>&1` in
# Line 4713 | Line 4765 | esac
4765    done
4766   IFS=$as_save_IFS
4767    if test -z "$ac_cv_path_GREP"; then
4768 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4768 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4769    fi
4770   else
4771    ac_cv_path_GREP=$GREP
# Line 4727 | Line 4779 | $as_echo "$ac_cv_path_GREP" >&6; }
4779  
4780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4781   $as_echo_n "checking for egrep... " >&6; }
4782 < if test "${ac_cv_path_EGREP+set}" = set; then :
4782 > if ${ac_cv_path_EGREP+:} false; then :
4783    $as_echo_n "(cached) " >&6
4784   else
4785    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4744 | Line 4796 | do
4796      for ac_prog in egrep; do
4797      for ac_exec_ext in '' $ac_executable_extensions; do
4798        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4799 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4799 >      as_fn_executable_p "$ac_path_EGREP" || continue
4800   # Check for GNU ac_path_EGREP and select it if it is found.
4801    # Check for GNU $ac_path_EGREP
4802   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4779 | Line 4831 | esac
4831    done
4832   IFS=$as_save_IFS
4833    if test -z "$ac_cv_path_EGREP"; then
4834 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4834 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4835    fi
4836   else
4837    ac_cv_path_EGREP=$EGREP
# Line 4794 | Line 4846 | $as_echo "$ac_cv_path_EGREP" >&6; }
4846  
4847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4848   $as_echo_n "checking for fgrep... " >&6; }
4849 < if test "${ac_cv_path_FGREP+set}" = set; then :
4849 > if ${ac_cv_path_FGREP+:} false; then :
4850    $as_echo_n "(cached) " >&6
4851   else
4852    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4811 | Line 4863 | do
4863      for ac_prog in fgrep; do
4864      for ac_exec_ext in '' $ac_executable_extensions; do
4865        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4866 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4866 >      as_fn_executable_p "$ac_path_FGREP" || continue
4867   # Check for GNU ac_path_FGREP and select it if it is found.
4868    # Check for GNU $ac_path_FGREP
4869   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4846 | Line 4898 | esac
4898    done
4899   IFS=$as_save_IFS
4900    if test -z "$ac_cv_path_FGREP"; then
4901 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4901 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4902    fi
4903   else
4904    ac_cv_path_FGREP=$FGREP
# Line 4881 | Line 4933 | test -z "$GREP" && GREP=grep
4933  
4934   # Check whether --with-gnu-ld was given.
4935   if test "${with_gnu_ld+set}" = set; then :
4936 <  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4936 >  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4937   else
4938    with_gnu_ld=no
4939   fi
4940  
4941   ac_prog=ld
4942 < if test "$GCC" = yes; then
4942 > if test yes = "$GCC"; then
4943    # Check if gcc -print-prog-name=ld gives a path.
4944    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4945   $as_echo_n "checking for ld used by $CC... " >&6; }
4946    case $host in
4947    *-*-mingw*)
4948 <    # gcc leaves a trailing carriage return which upsets mingw
4948 >    # gcc leaves a trailing carriage return, which upsets mingw
4949      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4950    *)
4951      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
# Line 4907 | Line 4959 | $as_echo_n "checking for ld used by $CC.
4959        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4960          ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4961        done
4962 <      test -z "$LD" && LD="$ac_prog"
4962 >      test -z "$LD" && LD=$ac_prog
4963        ;;
4964    "")
4965      # If it fails, then pretend we aren't using GCC.
# Line 4918 | Line 4970 | $as_echo_n "checking for ld used by $CC.
4970      with_gnu_ld=unknown
4971      ;;
4972    esac
4973 < elif test "$with_gnu_ld" = yes; then
4973 > elif test yes = "$with_gnu_ld"; then
4974    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4975   $as_echo_n "checking for GNU ld... " >&6; }
4976   else
4977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4978   $as_echo_n "checking for non-GNU ld... " >&6; }
4979   fi
4980 < if test "${lt_cv_path_LD+set}" = set; then :
4980 > if ${lt_cv_path_LD+:} false; then :
4981    $as_echo_n "(cached) " >&6
4982   else
4983    if test -z "$LD"; then
4984 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4984 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4985    for ac_dir in $PATH; do
4986 <    IFS="$lt_save_ifs"
4986 >    IFS=$lt_save_ifs
4987      test -z "$ac_dir" && ac_dir=.
4988      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4989 <      lt_cv_path_LD="$ac_dir/$ac_prog"
4989 >      lt_cv_path_LD=$ac_dir/$ac_prog
4990        # Check to see if the program is GNU ld.  I'd rather use --version,
4991        # but apparently some variants of GNU ld only accept -v.
4992        # Break only if it was the GNU/non-GNU ld that we prefer.
4993        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4994        *GNU* | *'with BFD'*)
4995 <        test "$with_gnu_ld" != no && break
4995 >        test no != "$with_gnu_ld" && break
4996          ;;
4997        *)
4998 <        test "$with_gnu_ld" != yes && break
4998 >        test yes != "$with_gnu_ld" && break
4999          ;;
5000        esac
5001      fi
5002    done
5003 <  IFS="$lt_save_ifs"
5003 >  IFS=$lt_save_ifs
5004   else
5005 <  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5005 >  lt_cv_path_LD=$LD # Let the user override the test with a path.
5006   fi
5007   fi
5008  
5009 < LD="$lt_cv_path_LD"
5009 > LD=$lt_cv_path_LD
5010   if test -n "$LD"; then
5011    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5012   $as_echo "$LD" >&6; }
# Line 4962 | Line 5014 | else
5014    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015   $as_echo "no" >&6; }
5016   fi
5017 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5017 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5019   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5020 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5020 > if ${lt_cv_prog_gnu_ld+:} false; then :
5021    $as_echo_n "(cached) " >&6
5022   else
5023    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4992 | Line 5044 | with_gnu_ld=$lt_cv_prog_gnu_ld
5044  
5045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5046   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5047 < if test "${lt_cv_path_NM+set}" = set; then :
5047 > if ${lt_cv_path_NM+:} false; then :
5048    $as_echo_n "(cached) " >&6
5049   else
5050    if test -n "$NM"; then
5051    # Let the user override the test.
5052 <  lt_cv_path_NM="$NM"
5052 >  lt_cv_path_NM=$NM
5053   else
5054 <  lt_nm_to_check="${ac_tool_prefix}nm"
5054 >  lt_nm_to_check=${ac_tool_prefix}nm
5055    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5056      lt_nm_to_check="$lt_nm_to_check nm"
5057    fi
5058    for lt_tmp_nm in $lt_nm_to_check; do
5059 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5059 >    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5060      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5061 <      IFS="$lt_save_ifs"
5061 >      IFS=$lt_save_ifs
5062        test -z "$ac_dir" && ac_dir=.
5063 <      tmp_nm="$ac_dir/$lt_tmp_nm"
5064 <      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5063 >      tmp_nm=$ac_dir/$lt_tmp_nm
5064 >      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5065          # Check to see if the nm accepts a BSD-compat flag.
5066 <        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5066 >        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5067          #   nm: unknown option "B" ignored
5068          # Tru64's nm complains that /dev/null is an invalid object file
5069 <        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5070 <        */dev/null* | *'Invalid file or object type'*)
5069 >        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5070 >        case $build_os in
5071 >        mingw*) lt_bad_file=conftest.nm/nofile ;;
5072 >        *) lt_bad_file=/dev/null ;;
5073 >        esac
5074 >        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5075 >        *$lt_bad_file* | *'Invalid file or object type'*)
5076            lt_cv_path_NM="$tmp_nm -B"
5077 <          break
5077 >          break 2
5078            ;;
5079          *)
5080            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5081            */dev/null*)
5082              lt_cv_path_NM="$tmp_nm -p"
5083 <            break
5083 >            break 2
5084              ;;
5085            *)
5086              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
# Line 5034 | Line 5091 | else
5091          esac
5092        fi
5093      done
5094 <    IFS="$lt_save_ifs"
5094 >    IFS=$lt_save_ifs
5095    done
5096    : ${lt_cv_path_NM=no}
5097   fi
5098   fi
5099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5100   $as_echo "$lt_cv_path_NM" >&6; }
5101 < if test "$lt_cv_path_NM" != "no"; then
5102 <  NM="$lt_cv_path_NM"
5101 > if test no != "$lt_cv_path_NM"; then
5102 >  NM=$lt_cv_path_NM
5103   else
5104    # Didn't find any BSD compatible name lister, look for dumpbin.
5105 <  if test -n "$ac_tool_prefix"; then
5106 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5105 >  if test -n "$DUMPBIN"; then :
5106 >    # Let the user override the test.
5107 >  else
5108 >    if test -n "$ac_tool_prefix"; then
5109 >  for ac_prog in dumpbin "link -dump"
5110    do
5111      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5112   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114   $as_echo_n "checking for $ac_word... " >&6; }
5115 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5115 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5116    $as_echo_n "(cached) " >&6
5117   else
5118    if test -n "$DUMPBIN"; then
# Line 5064 | Line 5124 | do
5124    IFS=$as_save_IFS
5125    test -z "$as_dir" && as_dir=.
5126      for ac_exec_ext in '' $ac_executable_extensions; do
5127 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5128      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5129      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130      break 2
# Line 5090 | Line 5150 | fi
5150   fi
5151   if test -z "$DUMPBIN"; then
5152    ac_ct_DUMPBIN=$DUMPBIN
5153 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5153 >  for ac_prog in dumpbin "link -dump"
5154   do
5155    # Extract the first word of "$ac_prog", so it can be a program name with args.
5156   set dummy $ac_prog; ac_word=$2
5157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158   $as_echo_n "checking for $ac_word... " >&6; }
5159 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5159 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5160    $as_echo_n "(cached) " >&6
5161   else
5162    if test -n "$ac_ct_DUMPBIN"; then
# Line 5108 | Line 5168 | do
5168    IFS=$as_save_IFS
5169    test -z "$as_dir" && as_dir=.
5170      for ac_exec_ext in '' $ac_executable_extensions; do
5171 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5171 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5173      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174      break 2
# Line 5145 | Line 5205 | esac
5205    fi
5206   fi
5207  
5208 +    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5209 +    *COFF*)
5210 +      DUMPBIN="$DUMPBIN -symbols -headers"
5211 +      ;;
5212 +    *)
5213 +      DUMPBIN=:
5214 +      ;;
5215 +    esac
5216 +  fi
5217  
5218 <  if test "$DUMPBIN" != ":"; then
5219 <    NM="$DUMPBIN"
5218 >  if test : != "$DUMPBIN"; then
5219 >    NM=$DUMPBIN
5220    fi
5221   fi
5222   test -z "$NM" && NM=nm
# Line 5159 | Line 5228 | test -z "$NM" && NM=nm
5228  
5229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5230   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5231 < if test "${lt_cv_nm_interface+set}" = set; then :
5231 > if ${lt_cv_nm_interface+:} false; then :
5232    $as_echo_n "(cached) " >&6
5233   else
5234    lt_cv_nm_interface="BSD nm"
5235    echo "int some_variable = 0;" > conftest.$ac_ext
5236 <  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5236 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5237    (eval "$ac_compile" 2>conftest.err)
5238    cat conftest.err >&5
5239 <  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5239 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5240    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5241    cat conftest.err >&5
5242 <  (eval echo "\"\$as_me:5173: output\"" >&5)
5242 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5243    cat conftest.out >&5
5244    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5245      lt_cv_nm_interface="MS dumpbin"
# Line 5194 | Line 5263 | fi
5263   # find the maximum length of command line arguments
5264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5265   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5266 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5266 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5267    $as_echo_n "(cached) " >&6
5268   else
5269      i=0
5270 <  teststring="ABCD"
5270 >  teststring=ABCD
5271  
5272    case $build_os in
5273    msdosdjgpp*)
# Line 5227 | Line 5296 | else
5296      lt_cv_sys_max_cmd_len=8192;
5297      ;;
5298  
5299 +  mint*)
5300 +    # On MiNT this can take a long time and run out of memory.
5301 +    lt_cv_sys_max_cmd_len=8192;
5302 +    ;;
5303 +
5304    amigaos*)
5305      # On AmigaOS with pdksh, this test takes hours, literally.
5306      # So we just punt and use a minimum line length of 8192.
5307      lt_cv_sys_max_cmd_len=8192;
5308      ;;
5309  
5310 <  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5310 >  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5311      # This has been around since 386BSD, at least.  Likely further.
5312      if test -x /sbin/sysctl; then
5313        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
# Line 5252 | Line 5326 | else
5326      lt_cv_sys_max_cmd_len=196608
5327      ;;
5328  
5329 +  os2*)
5330 +    # The test takes a long time on OS/2.
5331 +    lt_cv_sys_max_cmd_len=8192
5332 +    ;;
5333 +
5334    osf*)
5335      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5336      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5278 | Line 5357 | else
5357      ;;
5358    *)
5359      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5360 <    if test -n "$lt_cv_sys_max_cmd_len"; then
5360 >    if test -n "$lt_cv_sys_max_cmd_len" && \
5361 >       test undefined != "$lt_cv_sys_max_cmd_len"; then
5362        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5363        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5364      else
5365        # Make teststring a little bigger before we do anything with it.
5366        # a 1K string should be a reasonable start.
5367 <      for i in 1 2 3 4 5 6 7 8 ; do
5367 >      for i in 1 2 3 4 5 6 7 8; do
5368          teststring=$teststring$teststring
5369        done
5370        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5371        # If test is not a shell built-in, we'll probably end up computing a
5372        # maximum length that is only half of the actual maximum length, but
5373        # we can't tell.
5374 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5375 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5376 <              test $i != 17 # 1/2 MB should be enough
5374 >      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5375 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5376 >              test 17 != "$i" # 1/2 MB should be enough
5377        do
5378          i=`expr $i + 1`
5379          teststring=$teststring$teststring
# Line 5311 | Line 5391 | else
5391  
5392   fi
5393  
5394 < if test -n $lt_cv_sys_max_cmd_len ; then
5394 > if test -n "$lt_cv_sys_max_cmd_len"; then
5395    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5396   $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5397   else
# Line 5329 | Line 5409 | max_cmd_len=$lt_cv_sys_max_cmd_len
5409   : ${MV="mv -f"}
5410   : ${RM="rm -f"}
5411  
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5333 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5334 # Try some XSI features
5335 xsi_shell=no
5336 ( _lt_dummy="a/b/c"
5337  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5338      = c,a/b,, \
5339    && eval 'test $(( 1 + 1 )) -eq 2 \
5340    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5341  && xsi_shell=yes
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5343 $as_echo "$xsi_shell" >&6; }
5344
5345
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5347 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5348 lt_shell_append=no
5349 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5350    >/dev/null 2>&1 \
5351  && lt_shell_append=yes
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5353 $as_echo "$lt_shell_append" >&6; }
5354
5355
5412   if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5413    lt_unset=unset
5414   else
# Line 5384 | Line 5440 | esac
5440  
5441  
5442  
5443 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5444 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5445 + if ${lt_cv_to_host_file_cmd+:} false; then :
5446 +  $as_echo_n "(cached) " >&6
5447 + else
5448 +  case $host in
5449 +  *-*-mingw* )
5450 +    case $build in
5451 +      *-*-mingw* ) # actually msys
5452 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5453 +        ;;
5454 +      *-*-cygwin* )
5455 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5456 +        ;;
5457 +      * ) # otherwise, assume *nix
5458 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5459 +        ;;
5460 +    esac
5461 +    ;;
5462 +  *-*-cygwin* )
5463 +    case $build in
5464 +      *-*-mingw* ) # actually msys
5465 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5466 +        ;;
5467 +      *-*-cygwin* )
5468 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5469 +        ;;
5470 +      * ) # otherwise, assume *nix
5471 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5472 +        ;;
5473 +    esac
5474 +    ;;
5475 +  * ) # unhandled hosts (and "normal" native builds)
5476 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5477 +    ;;
5478 + esac
5479 +
5480 + fi
5481 +
5482 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5483 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5484 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5485 +
5486 +
5487 +
5488 +
5489 +
5490 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5491 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5492 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5493 +  $as_echo_n "(cached) " >&6
5494 + else
5495 +  #assume ordinary cross tools, or native build.
5496 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5497 + case $host in
5498 +  *-*-mingw* )
5499 +    case $build in
5500 +      *-*-mingw* ) # actually msys
5501 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5502 +        ;;
5503 +    esac
5504 +    ;;
5505 + esac
5506 +
5507 + fi
5508 +
5509 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5510 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5511 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5512 +
5513 +
5514 +
5515 +
5516 +
5517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5518   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5519 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5519 > if ${lt_cv_ld_reload_flag+:} false; then :
5520    $as_echo_n "(cached) " >&6
5521   else
5522    lt_cv_ld_reload_flag='-r'
# Line 5400 | Line 5530 | case $reload_flag in
5530   esac
5531   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5532   case $host_os in
5533 +  cygwin* | mingw* | pw32* | cegcc*)
5534 +    if test yes != "$GCC"; then
5535 +      reload_cmds=false
5536 +    fi
5537 +    ;;
5538    darwin*)
5539 <    if test "$GCC" = yes; then
5540 <      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5539 >    if test yes = "$GCC"; then
5540 >      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5541      else
5542        reload_cmds='$LD$reload_flag -o $output$reload_objs'
5543      fi
# Line 5422 | Line 5557 | if test -n "$ac_tool_prefix"; then
5557   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559   $as_echo_n "checking for $ac_word... " >&6; }
5560 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5560 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5561    $as_echo_n "(cached) " >&6
5562   else
5563    if test -n "$OBJDUMP"; then
# Line 5434 | Line 5569 | do
5569    IFS=$as_save_IFS
5570    test -z "$as_dir" && as_dir=.
5571      for ac_exec_ext in '' $ac_executable_extensions; do
5572 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5572 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5574      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575      break 2
# Line 5462 | Line 5597 | if test -z "$ac_cv_prog_OBJDUMP"; then
5597   set dummy objdump; ac_word=$2
5598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599   $as_echo_n "checking for $ac_word... " >&6; }
5600 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5600 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5601    $as_echo_n "(cached) " >&6
5602   else
5603    if test -n "$ac_ct_OBJDUMP"; then
# Line 5474 | Line 5609 | do
5609    IFS=$as_save_IFS
5610    test -z "$as_dir" && as_dir=.
5611      for ac_exec_ext in '' $ac_executable_extensions; do
5612 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5612 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5614      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615      break 2
# Line 5521 | Line 5656 | test -z "$OBJDUMP" && OBJDUMP=objdump
5656  
5657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5658   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5659 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5659 > if ${lt_cv_deplibs_check_method+:} false; then :
5660    $as_echo_n "(cached) " >&6
5661   else
5662    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5530 | Line 5665 | lt_cv_deplibs_check_method='unknown'
5665   # Need to set the preceding variable on all platforms that support
5666   # interlibrary dependencies.
5667   # 'none' -- dependencies not supported.
5668 < # `unknown' -- same as none, but documents that we really don't know.
5668 > # 'unknown' -- same as none, but documents that we really don't know.
5669   # 'pass_all' -- all dependencies passed with no checks.
5670   # 'test_compile' -- check by making test program.
5671   # 'file_magic [[regex]]' -- check by looking for files in library path
5672 < # which responds to the $file_magic_cmd with a given extended regex.
5673 < # If you have `file' or equivalent on your system and you're not sure
5674 < # whether `pass_all' will *always* work, you probably want this one.
5672 > # that responds to the $file_magic_cmd with a given extended regex.
5673 > # If you have 'file' or equivalent on your system and you're not sure
5674 > # whether 'pass_all' will *always* work, you probably want this one.
5675  
5676   case $host_os in
5677   aix[4-9]*)
# Line 5567 | Line 5702 | mingw* | pw32*)
5702      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5703      lt_cv_file_magic_cmd='func_win32_libid'
5704    else
5705 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5705 >    # Keep this pattern in sync with the one in func_win32_libid.
5706 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5707      lt_cv_file_magic_cmd='$OBJDUMP -f'
5708    fi
5709    ;;
5710  
5711 < cegcc)
5711 > cegcc*)
5712    # use the weaker test based on 'objdump'. See mingw*.
5713    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5714    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5598 | Line 5734 | freebsd* | dragonfly*)
5734    fi
5735    ;;
5736  
5737 < gnu*)
5737 > haiku*)
5738    lt_cv_deplibs_check_method=pass_all
5739    ;;
5740  
# Line 5610 | Line 5746 | hpux10.20* | hpux11*)
5746      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5747      ;;
5748    hppa*64*)
5749 <    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]'
5749 >    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]'
5750      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5751      ;;
5752    *)
5753 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5753 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5754      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5755      ;;
5756    esac
# Line 5635 | Line 5771 | irix5* | irix6* | nonstopux*)
5771    lt_cv_deplibs_check_method=pass_all
5772    ;;
5773  
5774 < # This must be Linux ELF.
5775 < linux* | k*bsd*-gnu)
5774 > # This must be glibc/ELF.
5775 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5776    lt_cv_deplibs_check_method=pass_all
5777    ;;
5778  
# Line 5658 | Line 5794 | newos6*)
5794    lt_cv_deplibs_check_method=pass_all
5795    ;;
5796  
5797 < openbsd*)
5798 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5797 > openbsd* | bitrig*)
5798 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5799      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5800    else
5801      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
# Line 5712 | Line 5848 | sysv4 | sysv4.3*)
5848   tpf*)
5849    lt_cv_deplibs_check_method=pass_all
5850    ;;
5851 + os2*)
5852 +  lt_cv_deplibs_check_method=pass_all
5853 +  ;;
5854   esac
5855  
5856   fi
5857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5858   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5859 +
5860 + file_magic_glob=
5861 + want_nocaseglob=no
5862 + if test "$build" = "$host"; then
5863 +  case $host_os in
5864 +  mingw* | pw32*)
5865 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5866 +      want_nocaseglob=yes
5867 +    else
5868 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5869 +    fi
5870 +    ;;
5871 +  esac
5872 + fi
5873 +
5874   file_magic_cmd=$lt_cv_file_magic_cmd
5875   deplibs_check_method=$lt_cv_deplibs_check_method
5876   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5732 | Line 5886 | test -z "$deplibs_check_method" && depli
5886  
5887  
5888  
5889 +
5890 +
5891 +
5892 +
5893 +
5894 +
5895 +
5896 +
5897 +
5898 +
5899   if test -n "$ac_tool_prefix"; then
5900 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5901 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5900 >  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5901 > set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903   $as_echo_n "checking for $ac_word... " >&6; }
5904 < if test "${ac_cv_prog_AR+set}" = set; then :
5904 > if ${ac_cv_prog_DLLTOOL+:} false; then :
5905 >  $as_echo_n "(cached) " >&6
5906 > else
5907 >  if test -n "$DLLTOOL"; then
5908 >  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5909 > else
5910 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 > for as_dir in $PATH
5912 > do
5913 >  IFS=$as_save_IFS
5914 >  test -z "$as_dir" && as_dir=.
5915 >    for ac_exec_ext in '' $ac_executable_extensions; do
5916 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 >    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5918 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 >    break 2
5920 >  fi
5921 > done
5922 >  done
5923 > IFS=$as_save_IFS
5924 >
5925 > fi
5926 > fi
5927 > DLLTOOL=$ac_cv_prog_DLLTOOL
5928 > if test -n "$DLLTOOL"; then
5929 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5930 > $as_echo "$DLLTOOL" >&6; }
5931 > else
5932 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 > $as_echo "no" >&6; }
5934 > fi
5935 >
5936 >
5937 > fi
5938 > if test -z "$ac_cv_prog_DLLTOOL"; then
5939 >  ac_ct_DLLTOOL=$DLLTOOL
5940 >  # Extract the first word of "dlltool", so it can be a program name with args.
5941 > set dummy dlltool; ac_word=$2
5942 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5943 > $as_echo_n "checking for $ac_word... " >&6; }
5944 > if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5945 >  $as_echo_n "(cached) " >&6
5946 > else
5947 >  if test -n "$ac_ct_DLLTOOL"; then
5948 >  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5949 > else
5950 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 > for as_dir in $PATH
5952 > do
5953 >  IFS=$as_save_IFS
5954 >  test -z "$as_dir" && as_dir=.
5955 >    for ac_exec_ext in '' $ac_executable_extensions; do
5956 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5957 >    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5958 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 >    break 2
5960 >  fi
5961 > done
5962 >  done
5963 > IFS=$as_save_IFS
5964 >
5965 > fi
5966 > fi
5967 > ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5968 > if test -n "$ac_ct_DLLTOOL"; then
5969 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5970 > $as_echo "$ac_ct_DLLTOOL" >&6; }
5971 > else
5972 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5973 > $as_echo "no" >&6; }
5974 > fi
5975 >
5976 >  if test "x$ac_ct_DLLTOOL" = x; then
5977 >    DLLTOOL="false"
5978 >  else
5979 >    case $cross_compiling:$ac_tool_warned in
5980 > yes:)
5981 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5982 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5983 > ac_tool_warned=yes ;;
5984 > esac
5985 >    DLLTOOL=$ac_ct_DLLTOOL
5986 >  fi
5987 > else
5988 >  DLLTOOL="$ac_cv_prog_DLLTOOL"
5989 > fi
5990 >
5991 > test -z "$DLLTOOL" && DLLTOOL=dlltool
5992 >
5993 >
5994 >
5995 >
5996 >
5997 >
5998 >
5999 >
6000 >
6001 >
6002 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6003 > $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6004 > if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6005 >  $as_echo_n "(cached) " >&6
6006 > else
6007 >  lt_cv_sharedlib_from_linklib_cmd='unknown'
6008 >
6009 > case $host_os in
6010 > cygwin* | mingw* | pw32* | cegcc*)
6011 >  # two different shell functions defined in ltmain.sh;
6012 >  # decide which one to use based on capabilities of $DLLTOOL
6013 >  case `$DLLTOOL --help 2>&1` in
6014 >  *--identify-strict*)
6015 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6016 >    ;;
6017 >  *)
6018 >    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6019 >    ;;
6020 >  esac
6021 >  ;;
6022 > *)
6023 >  # fallback: assume linklib IS sharedlib
6024 >  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6025 >  ;;
6026 > esac
6027 >
6028 > fi
6029 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6030 > $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6031 > sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6032 > test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6033 >
6034 >
6035 >
6036 >
6037 >
6038 >
6039 >
6040 > if test -n "$ac_tool_prefix"; then
6041 >  for ac_prog in ar
6042 >  do
6043 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6044 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6045 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 > $as_echo_n "checking for $ac_word... " >&6; }
6047 > if ${ac_cv_prog_AR+:} false; then :
6048    $as_echo_n "(cached) " >&6
6049   else
6050    if test -n "$AR"; then
# Line 5749 | Line 6056 | do
6056    IFS=$as_save_IFS
6057    test -z "$as_dir" && as_dir=.
6058      for ac_exec_ext in '' $ac_executable_extensions; do
6059 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6060 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6059 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6061      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062      break 2
6063    fi
# Line 5770 | Line 6077 | $as_echo "no" >&6; }
6077   fi
6078  
6079  
6080 +    test -n "$AR" && break
6081 +  done
6082   fi
6083 < if test -z "$ac_cv_prog_AR"; then
6083 > if test -z "$AR"; then
6084    ac_ct_AR=$AR
6085 <  # Extract the first word of "ar", so it can be a program name with args.
6086 < set dummy ar; ac_word=$2
6085 >  for ac_prog in ar
6086 > do
6087 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 > set dummy $ac_prog; ac_word=$2
6089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090   $as_echo_n "checking for $ac_word... " >&6; }
6091 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6091 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6092    $as_echo_n "(cached) " >&6
6093   else
6094    if test -n "$ac_ct_AR"; then
# Line 5789 | Line 6100 | do
6100    IFS=$as_save_IFS
6101    test -z "$as_dir" && as_dir=.
6102      for ac_exec_ext in '' $ac_executable_extensions; do
6103 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 <    ac_cv_prog_ac_ct_AR="ar"
6103 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6104 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6105      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106      break 2
6107    fi
# Line 5809 | Line 6120 | else
6120   $as_echo "no" >&6; }
6121   fi
6122  
6123 +
6124 +  test -n "$ac_ct_AR" && break
6125 + done
6126 +
6127    if test "x$ac_ct_AR" = x; then
6128      AR="false"
6129    else
# Line 5820 | Line 6135 | ac_tool_warned=yes ;;
6135   esac
6136      AR=$ac_ct_AR
6137    fi
5823 else
5824  AR="$ac_cv_prog_AR"
6138   fi
6139  
6140 < test -z "$AR" && AR=ar
6141 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6140 > : ${AR=ar}
6141 > : ${AR_FLAGS=cru}
6142 >
6143 >
6144 >
6145 >
6146 >
6147 >
6148 >
6149 >
6150  
6151  
6152  
6153 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6154 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6155 + if ${lt_cv_ar_at_file+:} false; then :
6156 +  $as_echo_n "(cached) " >&6
6157 + else
6158 +  lt_cv_ar_at_file=no
6159 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6160 + /* end confdefs.h.  */
6161 +
6162 + int
6163 + main ()
6164 + {
6165 +
6166 +  ;
6167 +  return 0;
6168 + }
6169 + _ACEOF
6170 + if ac_fn_c_try_compile "$LINENO"; then :
6171 +  echo conftest.$ac_objext > conftest.lst
6172 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6173 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6174 +  (eval $lt_ar_try) 2>&5
6175 +  ac_status=$?
6176 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6177 +  test $ac_status = 0; }
6178 +      if test 0 -eq "$ac_status"; then
6179 +        # Ensure the archiver fails upon bogus file names.
6180 +        rm -f conftest.$ac_objext libconftest.a
6181 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6182 +  (eval $lt_ar_try) 2>&5
6183 +  ac_status=$?
6184 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6185 +  test $ac_status = 0; }
6186 +        if test 0 -ne "$ac_status"; then
6187 +          lt_cv_ar_at_file=@
6188 +        fi
6189 +      fi
6190 +      rm -f conftest.* libconftest.a
6191 +
6192 + fi
6193 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6194 +
6195 + fi
6196 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6197 + $as_echo "$lt_cv_ar_at_file" >&6; }
6198  
6199 + if test no = "$lt_cv_ar_at_file"; then
6200 +  archiver_list_spec=
6201 + else
6202 +  archiver_list_spec=$lt_cv_ar_at_file
6203 + fi
6204  
6205  
6206  
# Line 5842 | Line 6213 | if test -n "$ac_tool_prefix"; then
6213   set dummy ${ac_tool_prefix}strip; ac_word=$2
6214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6215   $as_echo_n "checking for $ac_word... " >&6; }
6216 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6216 > if ${ac_cv_prog_STRIP+:} false; then :
6217    $as_echo_n "(cached) " >&6
6218   else
6219    if test -n "$STRIP"; then
# Line 5854 | Line 6225 | do
6225    IFS=$as_save_IFS
6226    test -z "$as_dir" && as_dir=.
6227      for ac_exec_ext in '' $ac_executable_extensions; do
6228 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6228 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6229      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6230      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231      break 2
# Line 5882 | Line 6253 | if test -z "$ac_cv_prog_STRIP"; then
6253   set dummy strip; ac_word=$2
6254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255   $as_echo_n "checking for $ac_word... " >&6; }
6256 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6256 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6257    $as_echo_n "(cached) " >&6
6258   else
6259    if test -n "$ac_ct_STRIP"; then
# Line 5894 | Line 6265 | do
6265    IFS=$as_save_IFS
6266    test -z "$as_dir" && as_dir=.
6267      for ac_exec_ext in '' $ac_executable_extensions; do
6268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269      ac_cv_prog_ac_ct_STRIP="strip"
6270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271      break 2
# Line 5941 | Line 6312 | if test -n "$ac_tool_prefix"; then
6312   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6314   $as_echo_n "checking for $ac_word... " >&6; }
6315 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6315 > if ${ac_cv_prog_RANLIB+:} false; then :
6316    $as_echo_n "(cached) " >&6
6317   else
6318    if test -n "$RANLIB"; then
# Line 5953 | Line 6324 | do
6324    IFS=$as_save_IFS
6325    test -z "$as_dir" && as_dir=.
6326      for ac_exec_ext in '' $ac_executable_extensions; do
6327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6328      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6330      break 2
# Line 5981 | Line 6352 | if test -z "$ac_cv_prog_RANLIB"; then
6352   set dummy ranlib; ac_word=$2
6353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354   $as_echo_n "checking for $ac_word... " >&6; }
6355 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6355 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6356    $as_echo_n "(cached) " >&6
6357   else
6358    if test -n "$ac_ct_RANLIB"; then
# Line 5993 | Line 6364 | do
6364    IFS=$as_save_IFS
6365    test -z "$as_dir" && as_dir=.
6366      for ac_exec_ext in '' $ac_executable_extensions; do
6367 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6367 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6368      ac_cv_prog_ac_ct_RANLIB="ranlib"
6369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370      break 2
# Line 6042 | Line 6413 | old_postuninstall_cmds=
6413  
6414   if test -n "$RANLIB"; then
6415    case $host_os in
6416 <  openbsd*)
6417 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6416 >  bitrig* | openbsd*)
6417 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6418      ;;
6419    *)
6420 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6420 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6421      ;;
6422    esac
6423 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6423 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6424   fi
6425  
6426 + case $host_os in
6427 +  darwin*)
6428 +    lock_old_archive_extraction=yes ;;
6429 +  *)
6430 +    lock_old_archive_extraction=no ;;
6431 + esac
6432 +
6433 +
6434 +
6435 +
6436 +
6437 +
6438  
6439  
6440  
# Line 6098 | Line 6481 | compiler=$CC
6481   # Check for command to grab the raw symbol name followed by C symbol from nm.
6482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6483   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6484 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6484 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6485    $as_echo_n "(cached) " >&6
6486   else
6487  
# Line 6120 | Line 6503 | cygwin* | mingw* | pw32* | cegcc*)
6503    symcode='[ABCDGISTW]'
6504    ;;
6505   hpux*)
6506 <  if test "$host_cpu" = ia64; then
6506 >  if test ia64 = "$host_cpu"; then
6507      symcode='[ABCDEGRST]'
6508    fi
6509    ;;
# Line 6153 | Line 6536 | case `$NM -V 2>&1` in
6536    symcode='[ABCDGIRSTW]' ;;
6537   esac
6538  
6539 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6540 +  # Gets list of data symbols to import.
6541 +  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6542 +  # Adjust the below global symbol transforms to fixup imported variables.
6543 +  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6544 +  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6545 +  lt_c_name_lib_hook="\
6546 +  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6547 +  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6548 + else
6549 +  # Disable hooks by default.
6550 +  lt_cv_sys_global_symbol_to_import=
6551 +  lt_cdecl_hook=
6552 +  lt_c_name_hook=
6553 +  lt_c_name_lib_hook=
6554 + fi
6555 +
6556   # Transform an extracted symbol line into a proper C declaration.
6557   # Some systems (esp. on ia64) link data and code symbols differently,
6558   # so use this general approach.
6559 < lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6559 > lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6560 > $lt_cdecl_hook\
6561 > " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6562 > " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6563  
6564   # Transform an extracted symbol line into symbol name and symbol address
6565 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6566 < 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'"
6565 > lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6566 > $lt_c_name_hook\
6567 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6568 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6569 >
6570 > # Transform an extracted symbol line into symbol name with lib prefix and
6571 > # symbol address.
6572 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6573 > $lt_c_name_lib_hook\
6574 > " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6575 > " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6576 > " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6577  
6578   # Handle CRLF in mingw tool chain
6579   opt_cr=
# Line 6178 | Line 6591 | for ac_symprfx in "" "_"; do
6591  
6592    # Write the raw and C identifiers.
6593    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6594 <    # Fake it for dumpbin and say T for any non-static function
6595 <    # and D for any global variable.
6594 >    # Fake it for dumpbin and say T for any non-static function,
6595 >    # D for any global variable and I for any imported variable.
6596      # Also find C++ and __fastcall symbols from MSVC++,
6597      # which start with @ or ?.
6598      lt_cv_sys_global_symbol_pipe="$AWK '"\
6599   "     {last_section=section; section=\$ 3};"\
6600 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6601   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6602 + "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6603 + "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6604 + "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6605   "     \$ 0!~/External *\|/{next};"\
6606   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6607   "     {if(hide[section]) next};"\
6608 < "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6609 < "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6610 < "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6611 < "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6608 > "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6609 > "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6610 > "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6611 > "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6612   "     ' prfx=^$ac_symprfx"
6613    else
6614      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6615    fi
6616 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6617  
6618    # Check to see that the pipe works correctly.
6619    pipe_works=no
# Line 6221 | Line 6639 | _LT_EOF
6639    test $ac_status = 0; }; then
6640      # Now try to grab the symbols.
6641      nlist=conftest.nm
6642 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6643 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6642 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6643 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6644    ac_status=$?
6645    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6237 | Line 6655 | _LT_EOF
6655        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6656          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6657            cat <<_LT_EOF > conftest.$ac_ext
6658 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6659 + #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6660 + /* DATA imports from DLLs on WIN32 can't be const, because runtime
6661 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6662 + # define LT_DLSYM_CONST
6663 + #elif defined __osf__
6664 + /* This system does not cope well with relocations in const data.  */
6665 + # define LT_DLSYM_CONST
6666 + #else
6667 + # define LT_DLSYM_CONST const
6668 + #endif
6669 +
6670   #ifdef __cplusplus
6671   extern "C" {
6672   #endif
# Line 6248 | Line 6678 | _LT_EOF
6678            cat <<_LT_EOF >> conftest.$ac_ext
6679  
6680   /* The mapping between symbol names and symbols.  */
6681 < const struct {
6681 > LT_DLSYM_CONST struct {
6682    const char *name;
6683    void       *address;
6684   }
# Line 6256 | Line 6686 | lt__PROGRAM__LTX_preloaded_symbols[] =
6686   {
6687    { "@PROGRAM@", (void *) 0 },
6688   _LT_EOF
6689 <          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6689 >          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6690            cat <<\_LT_EOF >> conftest.$ac_ext
6691    {0, (void *) 0}
6692   };
# Line 6274 | Line 6704 | static const void *lt_preloaded_setup()
6704   _LT_EOF
6705            # Now try linking the two files.
6706            mv conftest.$ac_objext conftstm.$ac_objext
6707 <          lt_save_LIBS="$LIBS"
6708 <          lt_save_CFLAGS="$CFLAGS"
6709 <          LIBS="conftstm.$ac_objext"
6707 >          lt_globsym_save_LIBS=$LIBS
6708 >          lt_globsym_save_CFLAGS=$CFLAGS
6709 >          LIBS=conftstm.$ac_objext
6710            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6711            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6712    (eval $ac_link) 2>&5
6713    ac_status=$?
6714    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715 <  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6715 >  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6716              pipe_works=yes
6717            fi
6718 <          LIBS="$lt_save_LIBS"
6719 <          CFLAGS="$lt_save_CFLAGS"
6718 >          LIBS=$lt_globsym_save_LIBS
6719 >          CFLAGS=$lt_globsym_save_CFLAGS
6720          else
6721            echo "cannot find nm_test_func in $nlist" >&5
6722          fi
# Line 6303 | Line 6733 | _LT_EOF
6733    rm -rf conftest* conftst*
6734  
6735    # Do not use the global_symbol_pipe unless it works.
6736 <  if test "$pipe_works" = yes; then
6736 >  if test yes = "$pipe_works"; then
6737      break
6738    else
6739      lt_cv_sys_global_symbol_pipe=
# Line 6323 | Line 6753 | else
6753   $as_echo "ok" >&6; }
6754   fi
6755  
6756 + # Response file support.
6757 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6758 +  nm_file_list_spec='@'
6759 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6760 +  nm_file_list_spec='@'
6761 + fi
6762 +
6763 +
6764 +
6765 +
6766 +
6767 +
6768 +
6769 +
6770 +
6771 +
6772 +
6773 +
6774 +
6775 +
6776 +
6777  
6778  
6779  
# Line 6344 | Line 6795 | fi
6795  
6796  
6797  
6798 +
6799 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6800 + $as_echo_n "checking for sysroot... " >&6; }
6801 +
6802 + # Check whether --with-sysroot was given.
6803 + if test "${with_sysroot+set}" = set; then :
6804 +  withval=$with_sysroot;
6805 + else
6806 +  with_sysroot=no
6807 + fi
6808 +
6809 +
6810 + lt_sysroot=
6811 + case $with_sysroot in #(
6812 + yes)
6813 +   if test yes = "$GCC"; then
6814 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6815 +   fi
6816 +   ;; #(
6817 + /*)
6818 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6819 +   ;; #(
6820 + no|'')
6821 +   ;; #(
6822 + *)
6823 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6824 + $as_echo "$with_sysroot" >&6; }
6825 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6826 +   ;;
6827 + esac
6828 +
6829 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6830 + $as_echo "${lt_sysroot:-no}" >&6; }
6831 +
6832 +
6833 +
6834 +
6835 +
6836 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6837 + $as_echo_n "checking for a working dd... " >&6; }
6838 + if ${ac_cv_path_lt_DD+:} false; then :
6839 +  $as_echo_n "(cached) " >&6
6840 + else
6841 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6842 + cat conftest.i conftest.i >conftest2.i
6843 + : ${lt_DD:=$DD}
6844 + if test -z "$lt_DD"; then
6845 +  ac_path_lt_DD_found=false
6846 +  # Loop through the user's path and test for each of PROGNAME-LIST
6847 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 + for as_dir in $PATH
6849 + do
6850 +  IFS=$as_save_IFS
6851 +  test -z "$as_dir" && as_dir=.
6852 +    for ac_prog in dd; do
6853 +    for ac_exec_ext in '' $ac_executable_extensions; do
6854 +      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6855 +      as_fn_executable_p "$ac_path_lt_DD" || continue
6856 + if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6857 +  cmp -s conftest.i conftest.out \
6858 +  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6859 + fi
6860 +      $ac_path_lt_DD_found && break 3
6861 +    done
6862 +  done
6863 +  done
6864 + IFS=$as_save_IFS
6865 +  if test -z "$ac_cv_path_lt_DD"; then
6866 +    :
6867 +  fi
6868 + else
6869 +  ac_cv_path_lt_DD=$lt_DD
6870 + fi
6871 +
6872 + rm -f conftest.i conftest2.i conftest.out
6873 + fi
6874 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6875 + $as_echo "$ac_cv_path_lt_DD" >&6; }
6876 +
6877 +
6878 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6879 + $as_echo_n "checking how to truncate binary pipes... " >&6; }
6880 + if ${lt_cv_truncate_bin+:} false; then :
6881 +  $as_echo_n "(cached) " >&6
6882 + else
6883 +  printf 0123456789abcdef0123456789abcdef >conftest.i
6884 + cat conftest.i conftest.i >conftest2.i
6885 + lt_cv_truncate_bin=
6886 + if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6887 +  cmp -s conftest.i conftest.out \
6888 +  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6889 + fi
6890 + rm -f conftest.i conftest2.i conftest.out
6891 + test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6892 + fi
6893 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6894 + $as_echo "$lt_cv_truncate_bin" >&6; }
6895 +
6896 +
6897 +
6898 +
6899 +
6900 +
6901   # Check whether --enable-libtool-lock was given.
6902   if test "${enable_libtool_lock+set}" = set; then :
6903    enableval=$enable_libtool_lock;
6904   fi
6905  
6906 < test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6906 > test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6907  
6908   # Some flags need to be propagated to the compiler or linker for good
6909   # libtool support.
6910   case $host in
6911   ia64-*-hpux*)
6912 <  # Find out which ABI we are using.
6912 >  # Find out what ABI is being produced by ac_compile, and set mode
6913 >  # options accordingly.
6914    echo 'int i;' > conftest.$ac_ext
6915    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6916    (eval $ac_compile) 2>&5
# Line 6364 | Line 6919 | ia64-*-hpux*)
6919    test $ac_status = 0; }; then
6920      case `/usr/bin/file conftest.$ac_objext` in
6921        *ELF-32*)
6922 <        HPUX_IA64_MODE="32"
6922 >        HPUX_IA64_MODE=32
6923          ;;
6924        *ELF-64*)
6925 <        HPUX_IA64_MODE="64"
6925 >        HPUX_IA64_MODE=64
6926          ;;
6927      esac
6928    fi
6929    rm -rf conftest*
6930    ;;
6931   *-*-irix6*)
6932 <  # Find out which ABI we are using.
6933 <  echo '#line 6378 "configure"' > conftest.$ac_ext
6932 >  # Find out what ABI is being produced by ac_compile, and set linker
6933 >  # options accordingly.
6934 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6935    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6936    (eval $ac_compile) 2>&5
6937    ac_status=$?
6938    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6939    test $ac_status = 0; }; then
6940 <    if test "$lt_cv_prog_gnu_ld" = yes; then
6940 >    if test yes = "$lt_cv_prog_gnu_ld"; then
6941        case `/usr/bin/file conftest.$ac_objext` in
6942          *32-bit*)
6943            LD="${LD-ld} -melf32bsmip"
# Line 6410 | Line 6966 | ia64-*-hpux*)
6966    rm -rf conftest*
6967    ;;
6968  
6969 < x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6969 > mips64*-*linux*)
6970 >  # Find out what ABI is being produced by ac_compile, and set linker
6971 >  # options accordingly.
6972 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6973 >  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6974 >  (eval $ac_compile) 2>&5
6975 >  ac_status=$?
6976 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6977 >  test $ac_status = 0; }; then
6978 >    emul=elf
6979 >    case `/usr/bin/file conftest.$ac_objext` in
6980 >      *32-bit*)
6981 >        emul="${emul}32"
6982 >        ;;
6983 >      *64-bit*)
6984 >        emul="${emul}64"
6985 >        ;;
6986 >    esac
6987 >    case `/usr/bin/file conftest.$ac_objext` in
6988 >      *MSB*)
6989 >        emul="${emul}btsmip"
6990 >        ;;
6991 >      *LSB*)
6992 >        emul="${emul}ltsmip"
6993 >        ;;
6994 >    esac
6995 >    case `/usr/bin/file conftest.$ac_objext` in
6996 >      *N32*)
6997 >        emul="${emul}n32"
6998 >        ;;
6999 >    esac
7000 >    LD="${LD-ld} -m $emul"
7001 >  fi
7002 >  rm -rf conftest*
7003 >  ;;
7004 >
7005 > x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7006   s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7007 <  # Find out which ABI we are using.
7007 >  # Find out what ABI is being produced by ac_compile, and set linker
7008 >  # options accordingly.  Note that the listed cases only cover the
7009 >  # situations where additional linker options are needed (such as when
7010 >  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7011 >  # vice versa); the common cases where no linker options are needed do
7012 >  # not appear in the list.
7013    echo 'int i;' > conftest.$ac_ext
7014    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7015    (eval $ac_compile) 2>&5
# Line 6426 | Line 7023 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7023              LD="${LD-ld} -m elf_i386_fbsd"
7024              ;;
7025            x86_64-*linux*)
7026 <            LD="${LD-ld} -m elf_i386"
7026 >            case `/usr/bin/file conftest.o` in
7027 >              *x86-64*)
7028 >                LD="${LD-ld} -m elf32_x86_64"
7029 >                ;;
7030 >              *)
7031 >                LD="${LD-ld} -m elf_i386"
7032 >                ;;
7033 >            esac
7034 >            ;;
7035 >          powerpc64le-*linux*)
7036 >            LD="${LD-ld} -m elf32lppclinux"
7037              ;;
7038 <          ppc64-*linux*|powerpc64-*linux*)
7038 >          powerpc64-*linux*)
7039              LD="${LD-ld} -m elf32ppclinux"
7040              ;;
7041            s390x-*linux*)
# Line 6447 | Line 7054 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7054            x86_64-*linux*)
7055              LD="${LD-ld} -m elf_x86_64"
7056              ;;
7057 <          ppc*-*linux*|powerpc*-*linux*)
7057 >          powerpcle-*linux*)
7058 >            LD="${LD-ld} -m elf64lppc"
7059 >            ;;
7060 >          powerpc-*linux*)
7061              LD="${LD-ld} -m elf64ppc"
7062              ;;
7063            s390*-*linux*|s390*-*tpf*)
# Line 6465 | Line 7075 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
7075  
7076   *-*-sco3.2v5*)
7077    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7078 <  SAVE_CFLAGS="$CFLAGS"
7078 >  SAVE_CFLAGS=$CFLAGS
7079    CFLAGS="$CFLAGS -belf"
7080    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7081   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7082 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
7082 > if ${lt_cv_cc_needs_belf+:} false; then :
7083    $as_echo_n "(cached) " >&6
7084   else
7085    ac_ext=c
# Line 6505 | Line 7115 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7115   fi
7116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7117   $as_echo "$lt_cv_cc_needs_belf" >&6; }
7118 <  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7118 >  if test yes != "$lt_cv_cc_needs_belf"; then
7119      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7120 <    CFLAGS="$SAVE_CFLAGS"
7120 >    CFLAGS=$SAVE_CFLAGS
7121    fi
7122    ;;
7123 < sparc*-*solaris*)
7124 <  # Find out which ABI we are using.
7123 > *-*solaris*)
7124 >  # Find out what ABI is being produced by ac_compile, and set linker
7125 >  # options accordingly.
7126    echo 'int i;' > conftest.$ac_ext
7127    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7128    (eval $ac_compile) 2>&5
# Line 6521 | Line 7132 | sparc*-*solaris*)
7132      case `/usr/bin/file conftest.o` in
7133      *64-bit*)
7134        case $lt_cv_prog_gnu_ld in
7135 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7135 >      yes*)
7136 >        case $host in
7137 >        i?86-*-solaris*|x86_64-*-solaris*)
7138 >          LD="${LD-ld} -m elf_x86_64"
7139 >          ;;
7140 >        sparc*-*-solaris*)
7141 >          LD="${LD-ld} -m elf64_sparc"
7142 >          ;;
7143 >        esac
7144 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7145 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7146 >          LD=${LD-ld}_sol2
7147 >        fi
7148 >        ;;
7149        *)
7150          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7151            LD="${LD-ld} -64"
# Line 6535 | Line 7159 | sparc*-*solaris*)
7159    ;;
7160   esac
7161  
7162 < need_locks="$enable_libtool_lock"
7162 > need_locks=$enable_libtool_lock
7163 >
7164 > if test -n "$ac_tool_prefix"; then
7165 >  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7166 > set dummy ${ac_tool_prefix}mt; ac_word=$2
7167 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 > $as_echo_n "checking for $ac_word... " >&6; }
7169 > if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7170 >  $as_echo_n "(cached) " >&6
7171 > else
7172 >  if test -n "$MANIFEST_TOOL"; then
7173 >  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7174 > else
7175 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 > for as_dir in $PATH
7177 > do
7178 >  IFS=$as_save_IFS
7179 >  test -z "$as_dir" && as_dir=.
7180 >    for ac_exec_ext in '' $ac_executable_extensions; do
7181 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 >    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7183 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 >    break 2
7185 >  fi
7186 > done
7187 >  done
7188 > IFS=$as_save_IFS
7189 >
7190 > fi
7191 > fi
7192 > MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7193 > if test -n "$MANIFEST_TOOL"; then
7194 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7195 > $as_echo "$MANIFEST_TOOL" >&6; }
7196 > else
7197 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 > $as_echo "no" >&6; }
7199 > fi
7200 >
7201 >
7202 > fi
7203 > if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7204 >  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7205 >  # Extract the first word of "mt", so it can be a program name with args.
7206 > set dummy mt; ac_word=$2
7207 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208 > $as_echo_n "checking for $ac_word... " >&6; }
7209 > if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7210 >  $as_echo_n "(cached) " >&6
7211 > else
7212 >  if test -n "$ac_ct_MANIFEST_TOOL"; then
7213 >  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7214 > else
7215 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 > for as_dir in $PATH
7217 > do
7218 >  IFS=$as_save_IFS
7219 >  test -z "$as_dir" && as_dir=.
7220 >    for ac_exec_ext in '' $ac_executable_extensions; do
7221 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222 >    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7223 >    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224 >    break 2
7225 >  fi
7226 > done
7227 >  done
7228 > IFS=$as_save_IFS
7229 >
7230 > fi
7231 > fi
7232 > ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7233 > if test -n "$ac_ct_MANIFEST_TOOL"; then
7234 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7235 > $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7236 > else
7237 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238 > $as_echo "no" >&6; }
7239 > fi
7240 >
7241 >  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7242 >    MANIFEST_TOOL=":"
7243 >  else
7244 >    case $cross_compiling:$ac_tool_warned in
7245 > yes:)
7246 > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7247 > $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7248 > ac_tool_warned=yes ;;
7249 > esac
7250 >    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7251 >  fi
7252 > else
7253 >  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7254 > fi
7255 >
7256 > test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7257 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7258 > $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7259 > if ${lt_cv_path_mainfest_tool+:} false; then :
7260 >  $as_echo_n "(cached) " >&6
7261 > else
7262 >  lt_cv_path_mainfest_tool=no
7263 >  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7264 >  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7265 >  cat conftest.err >&5
7266 >  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7267 >    lt_cv_path_mainfest_tool=yes
7268 >  fi
7269 >  rm -f conftest*
7270 > fi
7271 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7272 > $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7273 > if test yes != "$lt_cv_path_mainfest_tool"; then
7274 >  MANIFEST_TOOL=:
7275 > fi
7276 >
7277 >
7278 >
7279 >
7280  
7281  
7282    case $host_os in
# Line 6545 | Line 7286 | need_locks="$enable_libtool_lock"
7286   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7288   $as_echo_n "checking for $ac_word... " >&6; }
7289 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7289 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7290    $as_echo_n "(cached) " >&6
7291   else
7292    if test -n "$DSYMUTIL"; then
# Line 6557 | Line 7298 | do
7298    IFS=$as_save_IFS
7299    test -z "$as_dir" && as_dir=.
7300      for ac_exec_ext in '' $ac_executable_extensions; do
7301 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7301 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7303      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304      break 2
# Line 6585 | Line 7326 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7326   set dummy dsymutil; ac_word=$2
7327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328   $as_echo_n "checking for $ac_word... " >&6; }
7329 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7329 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7330    $as_echo_n "(cached) " >&6
7331   else
7332    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6597 | Line 7338 | do
7338    IFS=$as_save_IFS
7339    test -z "$as_dir" && as_dir=.
7340      for ac_exec_ext in '' $ac_executable_extensions; do
7341 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344      break 2
# Line 6637 | Line 7378 | fi
7378   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380   $as_echo_n "checking for $ac_word... " >&6; }
7381 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7381 > if ${ac_cv_prog_NMEDIT+:} false; then :
7382    $as_echo_n "(cached) " >&6
7383   else
7384    if test -n "$NMEDIT"; then
# Line 6649 | Line 7390 | do
7390    IFS=$as_save_IFS
7391    test -z "$as_dir" && as_dir=.
7392      for ac_exec_ext in '' $ac_executable_extensions; do
7393 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7395      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396      break 2
# Line 6677 | Line 7418 | if test -z "$ac_cv_prog_NMEDIT"; then
7418   set dummy nmedit; ac_word=$2
7419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420   $as_echo_n "checking for $ac_word... " >&6; }
7421 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7421 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7422    $as_echo_n "(cached) " >&6
7423   else
7424    if test -n "$ac_ct_NMEDIT"; then
# Line 6689 | Line 7430 | do
7430    IFS=$as_save_IFS
7431    test -z "$as_dir" && as_dir=.
7432      for ac_exec_ext in '' $ac_executable_extensions; do
7433 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7435      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436      break 2
# Line 6729 | Line 7470 | fi
7470   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7472   $as_echo_n "checking for $ac_word... " >&6; }
7473 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7473 > if ${ac_cv_prog_LIPO+:} false; then :
7474    $as_echo_n "(cached) " >&6
7475   else
7476    if test -n "$LIPO"; then
# Line 6741 | Line 7482 | do
7482    IFS=$as_save_IFS
7483    test -z "$as_dir" && as_dir=.
7484      for ac_exec_ext in '' $ac_executable_extensions; do
7485 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7486      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7487      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7488      break 2
# Line 6769 | Line 7510 | if test -z "$ac_cv_prog_LIPO"; then
7510   set dummy lipo; ac_word=$2
7511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512   $as_echo_n "checking for $ac_word... " >&6; }
7513 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7513 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7514    $as_echo_n "(cached) " >&6
7515   else
7516    if test -n "$ac_ct_LIPO"; then
# Line 6781 | Line 7522 | do
7522    IFS=$as_save_IFS
7523    test -z "$as_dir" && as_dir=.
7524      for ac_exec_ext in '' $ac_executable_extensions; do
7525 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526      ac_cv_prog_ac_ct_LIPO="lipo"
7527      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528      break 2
# Line 6821 | Line 7562 | fi
7562   set dummy ${ac_tool_prefix}otool; ac_word=$2
7563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7564   $as_echo_n "checking for $ac_word... " >&6; }
7565 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7565 > if ${ac_cv_prog_OTOOL+:} false; then :
7566    $as_echo_n "(cached) " >&6
7567   else
7568    if test -n "$OTOOL"; then
# Line 6833 | Line 7574 | do
7574    IFS=$as_save_IFS
7575    test -z "$as_dir" && as_dir=.
7576      for ac_exec_ext in '' $ac_executable_extensions; do
7577 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7578      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7579      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7580      break 2
# Line 6861 | Line 7602 | if test -z "$ac_cv_prog_OTOOL"; then
7602   set dummy otool; ac_word=$2
7603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7604   $as_echo_n "checking for $ac_word... " >&6; }
7605 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7605 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7606    $as_echo_n "(cached) " >&6
7607   else
7608    if test -n "$ac_ct_OTOOL"; then
# Line 6873 | Line 7614 | do
7614    IFS=$as_save_IFS
7615    test -z "$as_dir" && as_dir=.
7616      for ac_exec_ext in '' $ac_executable_extensions; do
7617 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7618      ac_cv_prog_ac_ct_OTOOL="otool"
7619      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7620      break 2
# Line 6913 | Line 7654 | fi
7654   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7656   $as_echo_n "checking for $ac_word... " >&6; }
7657 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7657 > if ${ac_cv_prog_OTOOL64+:} false; then :
7658    $as_echo_n "(cached) " >&6
7659   else
7660    if test -n "$OTOOL64"; then
# Line 6925 | Line 7666 | do
7666    IFS=$as_save_IFS
7667    test -z "$as_dir" && as_dir=.
7668      for ac_exec_ext in '' $ac_executable_extensions; do
7669 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7670      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7671      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7672      break 2
# Line 6953 | Line 7694 | if test -z "$ac_cv_prog_OTOOL64"; then
7694   set dummy otool64; ac_word=$2
7695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7696   $as_echo_n "checking for $ac_word... " >&6; }
7697 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7697 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7698    $as_echo_n "(cached) " >&6
7699   else
7700    if test -n "$ac_ct_OTOOL64"; then
# Line 6965 | Line 7706 | do
7706    IFS=$as_save_IFS
7707    test -z "$as_dir" && as_dir=.
7708      for ac_exec_ext in '' $ac_executable_extensions; do
7709 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7709 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7710      ac_cv_prog_ac_ct_OTOOL64="otool64"
7711      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7712      break 2
# Line 7028 | Line 7769 | fi
7769  
7770      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7771   $as_echo_n "checking for -single_module linker flag... " >&6; }
7772 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7772 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7773    $as_echo_n "(cached) " >&6
7774   else
7775    lt_cv_apple_cc_single_mod=no
7776 <      if test -z "${LT_MULTI_MODULE}"; then
7776 >      if test -z "$LT_MULTI_MODULE"; then
7777          # By default we will add the -single_module flag. You can override
7778          # by either setting the environment variable LT_MULTI_MODULE
7779          # non-empty at configure time, or by adding -multi_module to the
# Line 7044 | Line 7785 | else
7785          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7786            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7787          _lt_result=$?
7788 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7788 >        # If there is a non-empty error log, and "single_module"
7789 >        # appears in it, assume the flag caused a linker warning
7790 >        if test -s conftest.err && $GREP single_module conftest.err; then
7791 >          cat conftest.err >&5
7792 >        # Otherwise, if the output was created with a 0 exit code from
7793 >        # the compiler, it worked.
7794 >        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7795            lt_cv_apple_cc_single_mod=yes
7796          else
7797            cat conftest.err >&5
# Line 7055 | Line 7802 | else
7802   fi
7803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7804   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7805 +
7806      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7807   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7808 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7808 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7809    $as_echo_n "(cached) " >&6
7810   else
7811    lt_cv_ld_exported_symbols_list=no
# Line 7082 | Line 7830 | else
7830   fi
7831   rm -f core conftest.err conftest.$ac_objext \
7832      conftest$ac_exeext conftest.$ac_ext
7833 <        LDFLAGS="$save_LDFLAGS"
7833 >        LDFLAGS=$save_LDFLAGS
7834  
7835   fi
7836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7837   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7838 +
7839 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7840 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7841 + if ${lt_cv_ld_force_load+:} false; then :
7842 +  $as_echo_n "(cached) " >&6
7843 + else
7844 +  lt_cv_ld_force_load=no
7845 +      cat > conftest.c << _LT_EOF
7846 + int forced_loaded() { return 2;}
7847 + _LT_EOF
7848 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7849 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7850 +      echo "$AR cru libconftest.a conftest.o" >&5
7851 +      $AR cru libconftest.a conftest.o 2>&5
7852 +      echo "$RANLIB libconftest.a" >&5
7853 +      $RANLIB libconftest.a 2>&5
7854 +      cat > conftest.c << _LT_EOF
7855 + int main() { return 0;}
7856 + _LT_EOF
7857 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7858 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7859 +      _lt_result=$?
7860 +      if test -s conftest.err && $GREP force_load conftest.err; then
7861 +        cat conftest.err >&5
7862 +      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7863 +        lt_cv_ld_force_load=yes
7864 +      else
7865 +        cat conftest.err >&5
7866 +      fi
7867 +        rm -f conftest.err libconftest.a conftest conftest.c
7868 +        rm -rf conftest.dSYM
7869 +
7870 + fi
7871 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7872 + $as_echo "$lt_cv_ld_force_load" >&6; }
7873      case $host_os in
7874      rhapsody* | darwin1.[012])
7875 <      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7875 >      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7876      darwin1.*)
7877 <      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7877 >      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7878      darwin*) # darwin 5.x on
7879        # if running on 10.5 or later, the deployment target defaults
7880        # to the OS version, if on x86, and 10.4, the deployment
7881        # target defaults to 10.4. Don't you love it?
7882        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7883          10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7884 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7885 <        10.[012]*)
7886 <          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7884 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7885 >        10.[012][,.]*)
7886 >          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7887          10.*)
7888 <          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7888 >          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7889        esac
7890      ;;
7891    esac
7892 <    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7892 >    if test yes = "$lt_cv_apple_cc_single_mod"; then
7893        _lt_dar_single_mod='$single_module'
7894      fi
7895 <    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7896 <      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7895 >    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7896 >      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7897      else
7898 <      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7898 >      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7899      fi
7900 <    if test "$DSYMUTIL" != ":"; then
7900 >    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7901        _lt_dsymutil='~$DSYMUTIL $lib || :'
7902      else
7903        _lt_dsymutil=
# Line 7134 | Line 7917 | if test -n "$CPP" && test -d "$CPP"; the
7917    CPP=
7918   fi
7919   if test -z "$CPP"; then
7920 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7920 >  if ${ac_cv_prog_CPP+:} false; then :
7921    $as_echo_n "(cached) " >&6
7922   else
7923        # Double quotes because CPP needs to be expanded
# Line 7164 | Line 7947 | else
7947    # Broken: fails on valid input.
7948   continue
7949   fi
7950 < rm -f conftest.err conftest.$ac_ext
7950 > rm -f conftest.err conftest.i conftest.$ac_ext
7951  
7952    # OK, works on sane cases.  Now check whether nonexistent headers
7953    # can be detected and how.
# Line 7180 | Line 7963 | else
7963   ac_preproc_ok=:
7964   break
7965   fi
7966 < rm -f conftest.err conftest.$ac_ext
7966 > rm -f conftest.err conftest.i conftest.$ac_ext
7967  
7968   done
7969   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7970 < rm -f conftest.err conftest.$ac_ext
7970 > rm -f conftest.i conftest.err conftest.$ac_ext
7971   if $ac_preproc_ok; then :
7972    break
7973   fi
# Line 7223 | Line 8006 | else
8006    # Broken: fails on valid input.
8007   continue
8008   fi
8009 < rm -f conftest.err conftest.$ac_ext
8009 > rm -f conftest.err conftest.i conftest.$ac_ext
8010  
8011    # OK, works on sane cases.  Now check whether nonexistent headers
8012    # can be detected and how.
# Line 7239 | Line 8022 | else
8022   ac_preproc_ok=:
8023   break
8024   fi
8025 < rm -f conftest.err conftest.$ac_ext
8025 > rm -f conftest.err conftest.i conftest.$ac_ext
8026  
8027   done
8028   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8029 < rm -f conftest.err conftest.$ac_ext
8029 > rm -f conftest.i conftest.err conftest.$ac_ext
8030   if $ac_preproc_ok; then :
8031  
8032   else
8033    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8034   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8035 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
8036 < See \`config.log' for more details." "$LINENO" 5; }
8035 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8036 > See \`config.log' for more details" "$LINENO" 5; }
8037   fi
8038  
8039   ac_ext=c
# Line 7262 | Line 8045 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8045  
8046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8047   $as_echo_n "checking for ANSI C header files... " >&6; }
8048 < if test "${ac_cv_header_stdc+set}" = set; then :
8048 > if ${ac_cv_header_stdc+:} false; then :
8049    $as_echo_n "(cached) " >&6
8050   else
8051    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7379 | Line 8162 | do :
8162    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8163   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8164   "
8165 < eval as_val=\$$as_ac_Header
7383 <   if test "x$as_val" = x""yes; then :
8165 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8166    cat >>confdefs.h <<_ACEOF
8167   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8168   _ACEOF
# Line 7394 | Line 8176 | for ac_header in dlfcn.h
8176   do :
8177    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8178   "
8179 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8179 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8180    cat >>confdefs.h <<_ACEOF
8181   #define HAVE_DLFCN_H 1
8182   _ACEOF
# Line 7405 | Line 8187 | done
8187  
8188  
8189  
8190 +
8191 +
8192   # Set options
8193   enable_dlopen=yes
8194   # Check whether --enable-static was given.
# Line 7416 | Line 8200 | if test "${enable_static+set}" = set; th
8200      *)
8201       enable_static=no
8202        # Look at the argument we got.  We use all the common list separators.
8203 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8203 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8204        for pkg in $enableval; do
8205 <        IFS="$lt_save_ifs"
8205 >        IFS=$lt_save_ifs
8206          if test "X$pkg" = "X$p"; then
8207            enable_static=yes
8208          fi
8209        done
8210 <      IFS="$lt_save_ifs"
8210 >      IFS=$lt_save_ifs
8211        ;;
8212      esac
8213   else
# Line 7452 | Line 8236 | if test "${enable_shared+set}" = set; th
8236      *)
8237        enable_shared=no
8238        # Look at the argument we got.  We use all the common list separators.
8239 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8239 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8240        for pkg in $enableval; do
8241 <        IFS="$lt_save_ifs"
8241 >        IFS=$lt_save_ifs
8242          if test "X$pkg" = "X$p"; then
8243            enable_shared=yes
8244          fi
8245        done
8246 <      IFS="$lt_save_ifs"
8246 >      IFS=$lt_save_ifs
8247        ;;
8248      esac
8249   else
# Line 7478 | Line 8262 | fi
8262  
8263   # Check whether --with-pic was given.
8264   if test "${with_pic+set}" = set; then :
8265 <  withval=$with_pic; pic_mode="$withval"
8265 >  withval=$with_pic; lt_p=${PACKAGE-default}
8266 >    case $withval in
8267 >    yes|no) pic_mode=$withval ;;
8268 >    *)
8269 >      pic_mode=default
8270 >      # Look at the argument we got.  We use all the common list separators.
8271 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8272 >      for lt_pkg in $withval; do
8273 >        IFS=$lt_save_ifs
8274 >        if test "X$lt_pkg" = "X$lt_p"; then
8275 >          pic_mode=yes
8276 >        fi
8277 >      done
8278 >      IFS=$lt_save_ifs
8279 >      ;;
8280 >    esac
8281   else
8282    pic_mode=default
8283   fi
8284  
8285  
7487 test -z "$pic_mode" && pic_mode=default
7488
8286  
8287  
8288  
# Line 7501 | Line 8298 | if test "${enable_fast_install+set}" = s
8298      *)
8299        enable_fast_install=no
8300        # Look at the argument we got.  We use all the common list separators.
8301 <      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8301 >      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8302        for pkg in $enableval; do
8303 <        IFS="$lt_save_ifs"
8303 >        IFS=$lt_save_ifs
8304          if test "X$pkg" = "X$p"; then
8305            enable_fast_install=yes
8306          fi
8307        done
8308 <      IFS="$lt_save_ifs"
8308 >      IFS=$lt_save_ifs
8309        ;;
8310      esac
8311   else
# Line 7522 | Line 8319 | fi
8319  
8320  
8321  
8322 +  shared_archive_member_spec=
8323 + case $host,$enable_shared in
8324 + power*-*-aix[5-9]*,yes)
8325 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8326 + $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8327 +
8328 + # Check whether --with-aix-soname was given.
8329 + if test "${with_aix_soname+set}" = set; then :
8330 +  withval=$with_aix_soname; case $withval in
8331 +    aix|svr4|both)
8332 +      ;;
8333 +    *)
8334 +      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8335 +      ;;
8336 +    esac
8337 +    lt_cv_with_aix_soname=$with_aix_soname
8338 + else
8339 +  if ${lt_cv_with_aix_soname+:} false; then :
8340 +  $as_echo_n "(cached) " >&6
8341 + else
8342 +  lt_cv_with_aix_soname=aix
8343 + fi
8344 +
8345 +    with_aix_soname=$lt_cv_with_aix_soname
8346 + fi
8347 +
8348 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8349 + $as_echo "$with_aix_soname" >&6; }
8350 +  if test aix != "$with_aix_soname"; then
8351 +    # For the AIX way of multilib, we name the shared archive member
8352 +    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8353 +    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8354 +    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8355 +    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8356 +    if test 64 = "${OBJECT_MODE-32}"; then
8357 +      shared_archive_member_spec=shr_64
8358 +    else
8359 +      shared_archive_member_spec=shr
8360 +    fi
8361 +  fi
8362 +  ;;
8363 + *)
8364 +  with_aix_soname=aix
8365 +  ;;
8366 + esac
8367 +
8368 +
8369 +
8370 +
8371 +
8372 +
8373 +
8374  
8375  
8376  
8377   # This can be used to rebuild libtool when needed
8378 < LIBTOOL_DEPS="$ltmain"
8378 > LIBTOOL_DEPS=$ltmain
8379  
8380   # Always use our own libtool.
8381   LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Line 7555 | Line 8404 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8404  
8405  
8406  
8407 +
8408 +
8409 +
8410 +
8411 +
8412   test -z "$LN_S" && LN_S="ln -s"
8413  
8414  
# Line 7570 | Line 8424 | test -z "$LN_S" && LN_S="ln -s"
8424  
8425  
8426  
8427 < if test -n "${ZSH_VERSION+set}" ; then
8427 > if test -n "${ZSH_VERSION+set}"; then
8428     setopt NO_GLOB_SUBST
8429   fi
8430  
8431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8432   $as_echo_n "checking for objdir... " >&6; }
8433 < if test "${lt_cv_objdir+set}" = set; then :
8433 > if ${lt_cv_objdir+:} false; then :
8434    $as_echo_n "(cached) " >&6
8435   else
8436    rm -f .libs 2>/dev/null
# Line 7604 | Line 8458 | _ACEOF
8458  
8459  
8460  
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
8461   case $host_os in
8462   aix3*)
8463    # AIX sometimes has problems with the GCC collect2 program.  For some
8464    # reason, if we set the COLLECT_NAMES environment variable, the problems
8465    # vanish in a puff of smoke.
8466 <  if test "X${COLLECT_NAMES+set}" != Xset; then
8466 >  if test set != "${COLLECT_NAMES+set}"; then
8467      COLLECT_NAMES=
8468      export COLLECT_NAMES
8469    fi
8470    ;;
8471   esac
8472  
7632 # Sed substitution that helps us do robust quoting.  It backslashifies
7633 # metacharacters that are still active within double-quoted strings.
7634 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7635
7636 # Same as above, but do not quote variable references.
7637 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7638
7639 # Sed substitution to delay expansion of an escaped shell variable in a
7640 # double_quote_subst'ed string.
7641 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7642
7643 # Sed substitution to delay expansion of an escaped single quote.
7644 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7645
7646 # Sed substitution to avoid accidental globbing in evaled expressions
7647 no_glob_subst='s/\*/\\\*/g'
7648
8473   # Global variables:
8474   ofile=libtool
8475   can_build_shared=yes
8476  
8477 < # All known linkers require a `.a' archive for static linking (except MSVC,
8477 > # All known linkers require a '.a' archive for static linking (except MSVC,
8478   # which needs '.lib').
8479   libext=a
8480  
8481 < with_gnu_ld="$lt_cv_prog_gnu_ld"
8481 > with_gnu_ld=$lt_cv_prog_gnu_ld
8482  
8483 < old_CC="$CC"
8484 < old_CFLAGS="$CFLAGS"
8483 > old_CC=$CC
8484 > old_CFLAGS=$CFLAGS
8485  
8486   # Set sane defaults for various variables
8487   test -z "$CC" && CC=cc
# Line 7674 | Line 8498 | for cc_temp in $compiler""; do
8498      *) break;;
8499    esac
8500   done
8501 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8501 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8502  
8503  
8504   # Only perform the check for file, if the check method requires it
# Line 7684 | Line 8508 | file_magic*)
8508    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8509      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8510   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8511 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8511 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8512    $as_echo_n "(cached) " >&6
8513   else
8514    case $MAGIC_CMD in
8515   [\\/*] |  ?:[\\/]*)
8516 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8516 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8517    ;;
8518   *)
8519 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8520 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8519 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8520 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8521    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8522    for ac_dir in $ac_dummy; do
8523 <    IFS="$lt_save_ifs"
8523 >    IFS=$lt_save_ifs
8524      test -z "$ac_dir" && ac_dir=.
8525 <    if test -f $ac_dir/${ac_tool_prefix}file; then
8526 <      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8525 >    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8526 >      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8527        if test -n "$file_magic_test_file"; then
8528          case $deplibs_check_method in
8529          "file_magic "*)
8530            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8531 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8531 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8532            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8533              $EGREP "$file_magic_regex" > /dev/null; then
8534              :
# Line 7727 | Line 8551 | _LT_EOF
8551        break
8552      fi
8553    done
8554 <  IFS="$lt_save_ifs"
8555 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8554 >  IFS=$lt_save_ifs
8555 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8556    ;;
8557   esac
8558   fi
8559  
8560 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8560 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8561   if test -n "$MAGIC_CMD"; then
8562    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8563   $as_echo "$MAGIC_CMD" >&6; }
# Line 7750 | Line 8574 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8574    if test -n "$ac_tool_prefix"; then
8575      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8576   $as_echo_n "checking for file... " >&6; }
8577 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8577 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8578    $as_echo_n "(cached) " >&6
8579   else
8580    case $MAGIC_CMD in
8581   [\\/*] |  ?:[\\/]*)
8582 <  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8582 >  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8583    ;;
8584   *)
8585 <  lt_save_MAGIC_CMD="$MAGIC_CMD"
8586 <  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8585 >  lt_save_MAGIC_CMD=$MAGIC_CMD
8586 >  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8587    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8588    for ac_dir in $ac_dummy; do
8589 <    IFS="$lt_save_ifs"
8589 >    IFS=$lt_save_ifs
8590      test -z "$ac_dir" && ac_dir=.
8591 <    if test -f $ac_dir/file; then
8592 <      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8591 >    if test -f "$ac_dir/file"; then
8592 >      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8593        if test -n "$file_magic_test_file"; then
8594          case $deplibs_check_method in
8595          "file_magic "*)
8596            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8597 <          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8597 >          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8598            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8599              $EGREP "$file_magic_regex" > /dev/null; then
8600              :
# Line 7793 | Line 8617 | _LT_EOF
8617        break
8618      fi
8619    done
8620 <  IFS="$lt_save_ifs"
8621 <  MAGIC_CMD="$lt_save_MAGIC_CMD"
8620 >  IFS=$lt_save_ifs
8621 >  MAGIC_CMD=$lt_save_MAGIC_CMD
8622    ;;
8623   esac
8624   fi
8625  
8626 < MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8626 > MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8627   if test -n "$MAGIC_CMD"; then
8628    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8629   $as_echo "$MAGIC_CMD" >&6; }
# Line 7820 | Line 8644 | esac
8644  
8645   # Use C for the default configuration in the libtool script
8646  
8647 < lt_save_CC="$CC"
8647 > lt_save_CC=$CC
8648   ac_ext=c
8649   ac_cpp='$CPP $CPPFLAGS'
8650   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7874 | Line 8698 | _lt_linker_boilerplate=`cat conftest.err
8698   $RM -r conftest*
8699  
8700  
8701 + ## CAVEAT EMPTOR:
8702 + ## There is no encapsulation within the following macros, do not change
8703 + ## the running order or otherwise move them around unless you know exactly
8704 + ## what you are doing...
8705   if test -n "$compiler"; then
8706  
8707   lt_prog_compiler_no_builtin_flag=
8708  
8709 < if test "$GCC" = yes; then
8710 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8709 > if test yes = "$GCC"; then
8710 >  case $cc_basename in
8711 >  nvcc*)
8712 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8713 >  *)
8714 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8715 >  esac
8716  
8717    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8718   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8719 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8719 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8720    $as_echo_n "(cached) " >&6
8721   else
8722    lt_cv_prog_compiler_rtti_exceptions=no
8723     ac_outfile=conftest.$ac_objext
8724     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8725 <   lt_compiler_flag="-fno-rtti -fno-exceptions"
8725 >   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8726     # Insert the option either (1) after the last *FLAGS variable, or
8727     # (2) before a word containing "conftest.", or (3) at the end.
8728     # Note that $ac_compile itself does not contain backslashes and begins
# Line 7899 | Line 8732 | else
8732     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8733     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8734     -e 's:$: $lt_compiler_flag:'`
8735 <   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
8735 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8736     (eval "$lt_compile" 2>conftest.err)
8737     ac_status=$?
8738     cat conftest.err >&5
8739 <   echo "$as_me:7906: \$? = $ac_status" >&5
8739 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740     if (exit $ac_status) && test -s "$ac_outfile"; then
8741       # The compiler can only warn and ignore the option if not recognized
8742       # So say no if there are warnings other than the usual output.
8743 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8743 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8744       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8745       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8746         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7919 | Line 8752 | fi
8752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8753   $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8754  
8755 < if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8755 > if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8756      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8757   else
8758      :
# Line 7936 | Line 8769 | fi
8769   lt_prog_compiler_pic=
8770   lt_prog_compiler_static=
8771  
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7940 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8772  
8773 <  if test "$GCC" = yes; then
8773 >  if test yes = "$GCC"; then
8774      lt_prog_compiler_wl='-Wl,'
8775      lt_prog_compiler_static='-static'
8776  
8777      case $host_os in
8778        aix*)
8779        # All AIX code is PIC.
8780 <      if test "$host_cpu" = ia64; then
8780 >      if test ia64 = "$host_cpu"; then
8781          # AIX 5 now supports IA64 processor
8782          lt_prog_compiler_static='-Bstatic'
8783        fi
8784 +      lt_prog_compiler_pic='-fPIC'
8785        ;;
8786  
8787      amigaos*)
# Line 7960 | Line 8792 | $as_echo_n "checking for $compiler optio
8792          ;;
8793        m68k)
8794              # FIXME: we need at least 68020 code to build shared libraries, but
8795 <            # adding the `-m68020' flag to GCC prevents building anything better,
8796 <            # like `-m68040'.
8795 >            # adding the '-m68020' flag to GCC prevents building anything better,
8796 >            # like '-m68040'.
8797              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8798          ;;
8799        esac
# Line 7977 | Line 8809 | $as_echo_n "checking for $compiler optio
8809        # Although the cygwin gcc ignores -fPIC, still need this for old-style
8810        # (--disable-auto-import) libraries
8811        lt_prog_compiler_pic='-DDLL_EXPORT'
8812 +      case $host_os in
8813 +      os2*)
8814 +        lt_prog_compiler_static='$wl-static'
8815 +        ;;
8816 +      esac
8817        ;;
8818  
8819      darwin* | rhapsody*)
# Line 7985 | Line 8822 | $as_echo_n "checking for $compiler optio
8822        lt_prog_compiler_pic='-fno-common'
8823        ;;
8824  
8825 +    haiku*)
8826 +      # PIC is the default for Haiku.
8827 +      # The "-static" flag exists, but is broken.
8828 +      lt_prog_compiler_static=
8829 +      ;;
8830 +
8831      hpux*)
8832        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8833        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8027 | Line 8870 | $as_echo_n "checking for $compiler optio
8870        lt_prog_compiler_pic='-fPIC'
8871        ;;
8872      esac
8873 +
8874 +    case $cc_basename in
8875 +    nvcc*) # Cuda Compiler Driver 2.2
8876 +      lt_prog_compiler_wl='-Xlinker '
8877 +      if test -n "$lt_prog_compiler_pic"; then
8878 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8879 +      fi
8880 +      ;;
8881 +    esac
8882    else
8883      # PORTME Check for flag to pass linker flags through the system compiler.
8884      case $host_os in
8885      aix*)
8886        lt_prog_compiler_wl='-Wl,'
8887 <      if test "$host_cpu" = ia64; then
8887 >      if test ia64 = "$host_cpu"; then
8888          # AIX 5 now supports IA64 processor
8889          lt_prog_compiler_static='-Bstatic'
8890        else
# Line 8040 | Line 8892 | $as_echo_n "checking for $compiler optio
8892        fi
8893        ;;
8894  
8895 +    darwin* | rhapsody*)
8896 +      # PIC is the default on this platform
8897 +      # Common symbols not allowed in MH_DYLIB files
8898 +      lt_prog_compiler_pic='-fno-common'
8899 +      case $cc_basename in
8900 +      nagfor*)
8901 +        # NAG Fortran compiler
8902 +        lt_prog_compiler_wl='-Wl,-Wl,,'
8903 +        lt_prog_compiler_pic='-PIC'
8904 +        lt_prog_compiler_static='-Bstatic'
8905 +        ;;
8906 +      esac
8907 +      ;;
8908 +
8909      mingw* | cygwin* | pw32* | os2* | cegcc*)
8910        # This hack is so that the source file can tell whether it is being
8911        # built for inclusion in a dll (and should export symbols for example).
8912        lt_prog_compiler_pic='-DDLL_EXPORT'
8913 +      case $host_os in
8914 +      os2*)
8915 +        lt_prog_compiler_static='$wl-static'
8916 +        ;;
8917 +      esac
8918        ;;
8919  
8920      hpux9* | hpux10* | hpux11*)
# Line 8059 | Line 8930 | $as_echo_n "checking for $compiler optio
8930          ;;
8931        esac
8932        # Is there a better lt_prog_compiler_static that works with the bundled CC?
8933 <      lt_prog_compiler_static='${wl}-a ${wl}archive'
8933 >      lt_prog_compiler_static='$wl-a ${wl}archive'
8934        ;;
8935  
8936      irix5* | irix6* | nonstopux*)
# Line 8068 | Line 8939 | $as_echo_n "checking for $compiler optio
8939        lt_prog_compiler_static='-non_shared'
8940        ;;
8941  
8942 <    linux* | k*bsd*-gnu)
8942 >    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8943        case $cc_basename in
8944 <      # old Intel for x86_64 which still supported -KPIC.
8944 >      # old Intel for x86_64, which still supported -KPIC.
8945        ecc*)
8946          lt_prog_compiler_wl='-Wl,'
8947          lt_prog_compiler_pic='-KPIC'
# Line 8089 | Line 8960 | $as_echo_n "checking for $compiler optio
8960          lt_prog_compiler_pic='--shared'
8961          lt_prog_compiler_static='--static'
8962          ;;
8963 <      pgcc* | pgf77* | pgf90* | pgf95*)
8963 >      nagfor*)
8964 >        # NAG Fortran compiler
8965 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8966 >        lt_prog_compiler_pic='-PIC'
8967 >        lt_prog_compiler_static='-Bstatic'
8968 >        ;;
8969 >      tcc*)
8970 >        # Fabrice Bellard et al's Tiny C Compiler
8971 >        lt_prog_compiler_wl='-Wl,'
8972 >        lt_prog_compiler_pic='-fPIC'
8973 >        lt_prog_compiler_static='-static'
8974 >        ;;
8975 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8976          # Portland Group compilers (*not* the Pentium gcc compiler,
8977          # which looks to be a dead project)
8978          lt_prog_compiler_wl='-Wl,'
# Line 8101 | Line 8984 | $as_echo_n "checking for $compiler optio
8984          # All Alpha code is PIC.
8985          lt_prog_compiler_static='-non_shared'
8986          ;;
8987 <      xl*)
8988 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8987 >      xl* | bgxl* | bgf* | mpixl*)
8988 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8989          lt_prog_compiler_wl='-Wl,'
8990          lt_prog_compiler_pic='-qpic'
8991          lt_prog_compiler_static='-qstaticlink'
8992          ;;
8993        *)
8994          case `$CC -V 2>&1 | sed 5q` in
8995 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8996 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8997 +          lt_prog_compiler_pic='-KPIC'
8998 +          lt_prog_compiler_static='-Bstatic'
8999 +          lt_prog_compiler_wl=''
9000 +          ;;
9001 +        *Sun\ F* | *Sun*Fortran*)
9002 +          lt_prog_compiler_pic='-KPIC'
9003 +          lt_prog_compiler_static='-Bstatic'
9004 +          lt_prog_compiler_wl='-Qoption ld '
9005 +          ;;
9006          *Sun\ C*)
9007            # Sun C 5.9
9008            lt_prog_compiler_pic='-KPIC'
9009            lt_prog_compiler_static='-Bstatic'
9010            lt_prog_compiler_wl='-Wl,'
9011            ;;
9012 <        *Sun\ F*)
9013 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9014 <          lt_prog_compiler_pic='-KPIC'
9012 >        *Intel*\ [CF]*Compiler*)
9013 >          lt_prog_compiler_wl='-Wl,'
9014 >          lt_prog_compiler_pic='-fPIC'
9015 >          lt_prog_compiler_static='-static'
9016 >          ;;
9017 >        *Portland\ Group*)
9018 >          lt_prog_compiler_wl='-Wl,'
9019 >          lt_prog_compiler_pic='-fpic'
9020            lt_prog_compiler_static='-Bstatic'
8122          lt_prog_compiler_wl=''
9021            ;;
9022          esac
9023          ;;
# Line 8151 | Line 9049 | $as_echo_n "checking for $compiler optio
9049        lt_prog_compiler_pic='-KPIC'
9050        lt_prog_compiler_static='-Bstatic'
9051        case $cc_basename in
9052 <      f77* | f90* | f95*)
9052 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9053          lt_prog_compiler_wl='-Qoption ld ';;
9054        *)
9055          lt_prog_compiler_wl='-Wl,';;
# Line 8171 | Line 9069 | $as_echo_n "checking for $compiler optio
9069        ;;
9070  
9071      sysv4*MP*)
9072 <      if test -d /usr/nec ;then
9072 >      if test -d /usr/nec; then
9073          lt_prog_compiler_pic='-Kconform_pic'
9074          lt_prog_compiler_static='-Bstatic'
9075        fi
# Line 8200 | Line 9098 | $as_echo_n "checking for $compiler optio
9098    fi
9099  
9100   case $host_os in
9101 <  # For platforms which do not support PIC, -DPIC is meaningless:
9101 >  # For platforms that do not support PIC, -DPIC is meaningless:
9102    *djgpp*)
9103      lt_prog_compiler_pic=
9104      ;;
# Line 8208 | Line 9106 | case $host_os in
9106      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9107      ;;
9108   esac
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8212 $as_echo "$lt_prog_compiler_pic" >&6; }
8213
8214
8215
8216
9109  
9110 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9111 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9112 + if ${lt_cv_prog_compiler_pic+:} false; then :
9113 +  $as_echo_n "(cached) " >&6
9114 + else
9115 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9116 + fi
9117 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9118 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9119 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9120  
9121   #
9122   # Check to make sure the PIC flag actually works.
# Line 8222 | Line 9124 | $as_echo "$lt_prog_compiler_pic" >&6; }
9124   if test -n "$lt_prog_compiler_pic"; then
9125    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9126   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9127 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9127 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
9128    $as_echo_n "(cached) " >&6
9129   else
9130    lt_cv_prog_compiler_pic_works=no
9131     ac_outfile=conftest.$ac_objext
9132     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9133 <   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9133 >   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9134     # Insert the option either (1) after the last *FLAGS variable, or
9135     # (2) before a word containing "conftest.", or (3) at the end.
9136     # Note that $ac_compile itself does not contain backslashes and begins
# Line 8238 | Line 9140 | else
9140     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9141     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9142     -e 's:$: $lt_compiler_flag:'`
9143 <   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
9143 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9144     (eval "$lt_compile" 2>conftest.err)
9145     ac_status=$?
9146     cat conftest.err >&5
9147 <   echo "$as_me:8245: \$? = $ac_status" >&5
9147 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148     if (exit $ac_status) && test -s "$ac_outfile"; then
9149       # The compiler can only warn and ignore the option if not recognized
9150       # So say no if there are warnings other than the usual output.
9151 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9151 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9152       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9153       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9154         lt_cv_prog_compiler_pic_works=yes
# Line 8258 | Line 9160 | fi
9160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9161   $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9162  
9163 < if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9163 > if test yes = "$lt_cv_prog_compiler_pic_works"; then
9164      case $lt_prog_compiler_pic in
9165       "" | " "*) ;;
9166       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
# Line 8275 | Line 9177 | fi
9177  
9178  
9179  
9180 +
9181 +
9182 +
9183 +
9184 +
9185   #
9186   # Check to make sure the static flag actually works.
9187   #
9188   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9190   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9191 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9191 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9192    $as_echo_n "(cached) " >&6
9193   else
9194    lt_cv_prog_compiler_static_works=no
9195 <   save_LDFLAGS="$LDFLAGS"
9195 >   save_LDFLAGS=$LDFLAGS
9196     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9197     echo "$lt_simple_link_test_code" > conftest.$ac_ext
9198     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# Line 8294 | Line 9201 | else
9201       if test -s conftest.err; then
9202         # Append any errors to the config.log.
9203         cat conftest.err 1>&5
9204 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9204 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9205         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9206         if diff conftest.exp conftest.er2 >/dev/null; then
9207           lt_cv_prog_compiler_static_works=yes
# Line 8304 | Line 9211 | else
9211       fi
9212     fi
9213     $RM -r conftest*
9214 <   LDFLAGS="$save_LDFLAGS"
9214 >   LDFLAGS=$save_LDFLAGS
9215  
9216   fi
9217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9218   $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9219  
9220 < if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9220 > if test yes = "$lt_cv_prog_compiler_static_works"; then
9221      :
9222   else
9223      lt_prog_compiler_static=
# Line 8324 | Line 9231 | fi
9231  
9232    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9233   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9234 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9234 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9235    $as_echo_n "(cached) " >&6
9236   else
9237    lt_cv_prog_compiler_c_o=no
# Line 8343 | Line 9250 | else
9250     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9251     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9252     -e 's:$: $lt_compiler_flag:'`
9253 <   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
9253 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9254     (eval "$lt_compile" 2>out/conftest.err)
9255     ac_status=$?
9256     cat out/conftest.err >&5
9257 <   echo "$as_me:8350: \$? = $ac_status" >&5
9257 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9259     then
9260       # The compiler can only warn and ignore the option if not recognized
9261       # So say no if there are warnings
9262 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9262 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9263       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9264       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9265         lt_cv_prog_compiler_c_o=yes
# Line 8379 | Line 9286 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9286  
9287    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9288   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9289 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9289 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9290    $as_echo_n "(cached) " >&6
9291   else
9292    lt_cv_prog_compiler_c_o=no
# Line 8398 | Line 9305 | else
9305     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9306     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9307     -e 's:$: $lt_compiler_flag:'`
9308 <   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
9308 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9309     (eval "$lt_compile" 2>out/conftest.err)
9310     ac_status=$?
9311     cat out/conftest.err >&5
9312 <   echo "$as_me:8405: \$? = $ac_status" >&5
9312 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9314     then
9315       # The compiler can only warn and ignore the option if not recognized
9316       # So say no if there are warnings
9317 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9317 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9318       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9319       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9320         lt_cv_prog_compiler_c_o=yes
# Line 8430 | Line 9337 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9337  
9338  
9339  
9340 < hard_links="nottested"
9341 < if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9340 > hard_links=nottested
9341 > if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9342    # do not overwrite the value of need_locks provided by the user
9343    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9344   $as_echo_n "checking if we can lock with hard links... " >&6; }
# Line 8443 | Line 9350 | $as_echo_n "checking if we can lock with
9350    ln conftest.a conftest.b 2>/dev/null && hard_links=no
9351    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9352   $as_echo "$hard_links" >&6; }
9353 <  if test "$hard_links" = no; then
9354 <    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9355 < $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9353 >  if test no = "$hard_links"; then
9354 >    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9355 > $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9356      need_locks=warn
9357    fi
9358   else
# Line 8473 | Line 9380 | $as_echo_n "checking whether the $compil
9380    hardcode_direct=no
9381    hardcode_direct_absolute=no
9382    hardcode_libdir_flag_spec=
8476  hardcode_libdir_flag_spec_ld=
9383    hardcode_libdir_separator=
9384    hardcode_minus_L=no
9385    hardcode_shlibpath_var=unsupported
# Line 8489 | Line 9395 | $as_echo_n "checking whether the $compil
9395    # included in the symbol list
9396    include_expsyms=
9397    # exclude_expsyms can be an extended regexp of symbols to exclude
9398 <  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9399 <  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9400 <  # as well as any symbol that contains `d'.
9398 >  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9399 >  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9400 >  # as well as any symbol that contains 'd'.
9401    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9402    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9403    # platforms (ab)use it in PIC code, but their linkers get confused if
# Line 8506 | Line 9412 | $as_echo_n "checking whether the $compil
9412      # FIXME: the MSVC++ port hasn't been tested in a loooong time
9413      # When not using gcc, we currently assume that we are using
9414      # Microsoft Visual C++.
9415 <    if test "$GCC" != yes; then
9415 >    if test yes != "$GCC"; then
9416        with_gnu_ld=no
9417      fi
9418      ;;
# Line 8514 | Line 9420 | $as_echo_n "checking whether the $compil
9420      # we just hope/assume this is gcc and not c89 (= MSVC++)
9421      with_gnu_ld=yes
9422      ;;
9423 <  openbsd*)
9423 >  openbsd* | bitrig*)
9424      with_gnu_ld=no
9425      ;;
9426    esac
9427  
9428    ld_shlibs=yes
9429 <  if test "$with_gnu_ld" = yes; then
9429 >
9430 >  # On some targets, GNU ld is compatible enough with the native linker
9431 >  # that we're better off using the native interface for both.
9432 >  lt_use_gnu_ld_interface=no
9433 >  if test yes = "$with_gnu_ld"; then
9434 >    case $host_os in
9435 >      aix*)
9436 >        # The AIX port of GNU ld has always aspired to compatibility
9437 >        # with the native linker.  However, as the warning in the GNU ld
9438 >        # block says, versions before 2.19.5* couldn't really create working
9439 >        # shared libraries, regardless of the interface used.
9440 >        case `$LD -v 2>&1` in
9441 >          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9442 >          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9443 >          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9444 >          *)
9445 >            lt_use_gnu_ld_interface=yes
9446 >            ;;
9447 >        esac
9448 >        ;;
9449 >      *)
9450 >        lt_use_gnu_ld_interface=yes
9451 >        ;;
9452 >    esac
9453 >  fi
9454 >
9455 >  if test yes = "$lt_use_gnu_ld_interface"; then
9456      # If archive_cmds runs LD, not CC, wlarc should be empty
9457 <    wlarc='${wl}'
9457 >    wlarc='$wl'
9458  
9459      # Set some defaults for GNU ld with shared library support. These
9460      # are reset later if shared libraries are not supported. Putting them
9461      # here allows them to be overridden if necessary.
9462      runpath_var=LD_RUN_PATH
9463 <    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9464 <    export_dynamic_flag_spec='${wl}--export-dynamic'
9463 >    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9464 >    export_dynamic_flag_spec='$wl--export-dynamic'
9465      # ancient GNU ld didn't support --whole-archive et. al.
9466      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9467 <      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9467 >      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9468      else
9469        whole_archive_flag_spec=
9470      fi
9471      supports_anon_versioning=no
9472 <    case `$LD -v 2>&1` in
9472 >    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9473 >      *GNU\ gold*) supports_anon_versioning=yes ;;
9474        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9475        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9476        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8549 | Line 9482 | $as_echo_n "checking whether the $compil
9482      case $host_os in
9483      aix[3-9]*)
9484        # On AIX/PPC, the GNU linker is very broken
9485 <      if test "$host_cpu" != ia64; then
9485 >      if test ia64 != "$host_cpu"; then
9486          ld_shlibs=no
9487          cat <<_LT_EOF 1>&2
9488  
9489 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9489 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9490   *** to be unable to reliably create shared libraries on AIX.
9491   *** Therefore, libtool is disabling shared libraries support.  If you
9492 < *** really care for shared libraries, you may want to modify your PATH
9493 < *** so that a non-GNU linker is found, and then restart.
9492 > *** really care for shared libraries, you may want to install binutils
9493 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9494 > *** You will then need to restart the configuration process.
9495  
9496   _LT_EOF
9497        fi
# Line 8567 | Line 9501 | _LT_EOF
9501        case $host_cpu in
9502        powerpc)
9503              # see comment about AmigaOS4 .so support
9504 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9504 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9505              archive_expsym_cmds=''
9506          ;;
9507        m68k)
# Line 8583 | Line 9517 | _LT_EOF
9517          allow_undefined_flag=unsupported
9518          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9519          # support --undefined.  This deserves some investigation.  FIXME
9520 <        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9520 >        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9521        else
9522          ld_shlibs=no
9523        fi
# Line 8593 | Line 9527 | _LT_EOF
9527        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9528        # as there is no search path for DLLs.
9529        hardcode_libdir_flag_spec='-L$libdir'
9530 +      export_dynamic_flag_spec='$wl--export-all-symbols'
9531        allow_undefined_flag=unsupported
9532        always_export_symbols=no
9533        enable_shared_with_static_runtimes=yes
9534 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9534 >      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'
9535 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9536  
9537        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9538 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9539 <        # If the export-symbols file already is a .def file (1st line
9540 <        # is EXPORTS), use it as is; otherwise, prepend...
9541 <        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9542 <          cp $export_symbols $output_objdir/$soname.def;
9543 <        else
9544 <          echo EXPORTS > $output_objdir/$soname.def;
9545 <          cat $export_symbols >> $output_objdir/$soname.def;
9546 <        fi~
9547 <        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9538 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9539 >        # If the export-symbols file already is a .def file, use it as
9540 >        # is; otherwise, prepend EXPORTS...
9541 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9542 >          cp $export_symbols $output_objdir/$soname.def;
9543 >        else
9544 >          echo EXPORTS > $output_objdir/$soname.def;
9545 >          cat $export_symbols >> $output_objdir/$soname.def;
9546 >        fi~
9547 >        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9548        else
9549          ld_shlibs=no
9550        fi
9551        ;;
9552  
9553 +    haiku*)
9554 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9555 +      link_all_deplibs=yes
9556 +      ;;
9557 +
9558 +    os2*)
9559 +      hardcode_libdir_flag_spec='-L$libdir'
9560 +      hardcode_minus_L=yes
9561 +      allow_undefined_flag=unsupported
9562 +      shrext_cmds=.dll
9563 +      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9564 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9565 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9566 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9567 +        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9568 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9569 +        emximp -o $lib $output_objdir/$libname.def'
9570 +      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9571 +        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9572 +        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9573 +        $ECHO EXPORTS >> $output_objdir/$libname.def~
9574 +        prefix_cmds="$SED"~
9575 +        if test EXPORTS = "`$SED 1q $export_symbols`"; then
9576 +          prefix_cmds="$prefix_cmds -e 1d";
9577 +        fi~
9578 +        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9579 +        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9580 +        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9581 +        emximp -o $lib $output_objdir/$libname.def'
9582 +      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9583 +      enable_shared_with_static_runtimes=yes
9584 +      ;;
9585 +
9586      interix[3-9]*)
9587        hardcode_direct=no
9588        hardcode_shlibpath_var=no
9589 <      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9590 <      export_dynamic_flag_spec='${wl}-E'
9589 >      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9590 >      export_dynamic_flag_spec='$wl-E'
9591        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9592        # Instead, shared libraries are loaded at an image base (0x10000000 by
9593        # default) and relocated if they conflict, which is a slow very memory
9594        # consuming and fragmenting process.  To avoid this, we pick a random,
9595        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9596        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9597 <      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9598 <      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'
9597 >      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9598 >      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'
9599        ;;
9600  
9601 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9601 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9602        tmp_diet=no
9603 <      if test "$host_os" = linux-dietlibc; then
9603 >      if test linux-dietlibc = "$host_os"; then
9604          case $cc_basename in
9605            diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9606          esac
9607        fi
9608        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9609 <         && test "$tmp_diet" = no
9609 >         && test no = "$tmp_diet"
9610        then
9611 <        tmp_addflag=
9611 >        tmp_addflag=' $pic_flag'
9612          tmp_sharedflag='-shared'
9613          case $cc_basename,$host_cpu in
9614          pgcc*)                          # Portland Group C compiler
9615 <          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'
9615 >          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'
9616            tmp_addflag=' $pic_flag'
9617            ;;
9618 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9619 <          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'
9618 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9619 >                                        # Portland Group f77 and f90 compilers
9620 >          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'
9621            tmp_addflag=' $pic_flag -Mnomain' ;;
9622          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9623            tmp_addflag=' -i_dynamic' ;;
# Line 8658 | Line 9628 | _LT_EOF
9628          lf95*)                          # Lahey Fortran 8.1
9629            whole_archive_flag_spec=
9630            tmp_sharedflag='--shared' ;;
9631 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9631 >        nagfor*)                        # NAGFOR 5.3
9632 >          tmp_sharedflag='-Wl,-shared' ;;
9633 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9634            tmp_sharedflag='-qmkshrobj'
9635            tmp_addflag= ;;
9636 +        nvcc*)  # Cuda Compiler Driver 2.2
9637 +          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'
9638 +          compiler_needs_object=yes
9639 +          ;;
9640          esac
9641          case `$CC -V 2>&1 | sed 5q` in
9642          *Sun\ C*)                       # Sun C 5.9
9643 <          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'
9643 >          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'
9644            compiler_needs_object=yes
9645            tmp_sharedflag='-G' ;;
9646          *Sun\ F*)                       # Sun Fortran 8.3
9647            tmp_sharedflag='-G' ;;
9648          esac
9649 <        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9649 >        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9650  
9651 <        if test "x$supports_anon_versioning" = xyes; then
9651 >        if test yes = "$supports_anon_versioning"; then
9652            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9653 <            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9654 <            echo "local: *; };" >> $output_objdir/$libname.ver~
9655 <            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9653 >            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9654 >            echo "local: *; };" >> $output_objdir/$libname.ver~
9655 >            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9656          fi
9657  
9658          case $cc_basename in
9659 <        xlf*)
9659 >        tcc*)
9660 >          export_dynamic_flag_spec='-rdynamic'
9661 >          ;;
9662 >        xlf* | bgf* | bgxlf* | mpixlf*)
9663            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9664            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9665 <          hardcode_libdir_flag_spec=
9666 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9667 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8689 <          if test "x$supports_anon_versioning" = xyes; then
9665 >          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9666 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9667 >          if test yes = "$supports_anon_versioning"; then
9668              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9669 <              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9670 <              echo "local: *; };" >> $output_objdir/$libname.ver~
9671 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9669 >              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9670 >              echo "local: *; };" >> $output_objdir/$libname.ver~
9671 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9672            fi
9673            ;;
9674          esac
# Line 8704 | Line 9682 | _LT_EOF
9682          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9683          wlarc=
9684        else
9685 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9686 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9685 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9686 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9687        fi
9688        ;;
9689  
# Line 8723 | Line 9701 | _LT_EOF
9701  
9702   _LT_EOF
9703        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9704 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9705 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9704 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9705 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9706        else
9707          ld_shlibs=no
9708        fi
# Line 8736 | Line 9714 | _LT_EOF
9714          ld_shlibs=no
9715          cat <<_LT_EOF 1>&2
9716  
9717 < *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9717 > *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9718   *** reliably create shared libraries on SCO systems.  Therefore, libtool
9719   *** is disabling shared libraries support.  We urge you to upgrade GNU
9720   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
# Line 8751 | Line 9729 | _LT_EOF
9729            # DT_RUNPATH tag from executables and libraries.  But doing so
9730            # requires that you compile everything twice, which is a pain.
9731            if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9732 <            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9733 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9734 <            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9732 >            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9733 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9734 >            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9735            else
9736              ld_shlibs=no
9737            fi
# Line 8770 | Line 9748 | _LT_EOF
9748  
9749      *)
9750        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9751 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9752 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9751 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9752 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9753        else
9754          ld_shlibs=no
9755        fi
9756        ;;
9757      esac
9758  
9759 <    if test "$ld_shlibs" = no; then
9759 >    if test no = "$ld_shlibs"; then
9760        runpath_var=
9761        hardcode_libdir_flag_spec=
9762        export_dynamic_flag_spec=
# Line 8794 | Line 9772 | _LT_EOF
9772        # Note: this linker hardcodes the directories in LIBPATH if there
9773        # are no directories specified by -L.
9774        hardcode_minus_L=yes
9775 <      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9775 >      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9776          # Neither direct hardcoding nor static linking is supported with a
9777          # broken collect2.
9778          hardcode_direct=unsupported
# Line 8802 | Line 9780 | _LT_EOF
9780        ;;
9781  
9782      aix[4-9]*)
9783 <      if test "$host_cpu" = ia64; then
9783 >      if test ia64 = "$host_cpu"; then
9784          # On IA64, the linker does run time linking by default, so we don't
9785          # have to do anything special.
9786          aix_use_runtimelinking=no
9787          exp_sym_flag='-Bexport'
9788 <        no_entry_flag=""
9788 >        no_entry_flag=
9789        else
9790          # If we're using GNU nm, then we don't want the "-C" option.
9791 <        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9791 >        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9792 >        # Without the "-l" option, or with the "-B" option, AIX nm treats
9793 >        # weak defined symbols like other global defined symbols, whereas
9794 >        # GNU nm marks them as "W".
9795 >        # While the 'weak' keyword is ignored in the Export File, we need
9796 >        # it in the Import File for the 'aix-soname' feature, so we have
9797 >        # to replace the "-B" option with "-P" for AIX nm.
9798          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9799 <          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'
9799 >          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'
9800          else
9801 <          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'
9801 >          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'
9802          fi
9803          aix_use_runtimelinking=no
9804  
9805          # Test if we are trying to use run time linking or normal
9806          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9807 <        # need to do runtime linking.
9807 >        # have runtime linking enabled, and use it for executables.
9808 >        # For shared libraries, we enable/disable runtime linking
9809 >        # depending on the kind of the shared library created -
9810 >        # when "with_aix_soname,aix_use_runtimelinking" is:
9811 >        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9812 >        # "aix,yes"  lib.so          shared, rtl:yes, for executables
9813 >        #            lib.a           static archive
9814 >        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
9815 >        #            lib.a(lib.so.V) shared, rtl:no,  for executables
9816 >        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9817 >        #            lib.a(lib.so.V) shared, rtl:no
9818 >        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9819 >        #            lib.a           static archive
9820          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9821            for ld_flag in $LDFLAGS; do
9822 <          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9822 >          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9823              aix_use_runtimelinking=yes
9824              break
9825            fi
9826            done
9827 +          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9828 +            # With aix-soname=svr4, we create the lib.so.V shared archives only,
9829 +            # so we don't have lib.a shared libs to link our executables.
9830 +            # We have to force runtime linking in this case.
9831 +            aix_use_runtimelinking=yes
9832 +            LDFLAGS="$LDFLAGS -Wl,-brtl"
9833 +          fi
9834            ;;
9835          esac
9836  
# Line 8846 | Line 9849 | _LT_EOF
9849        hardcode_direct_absolute=yes
9850        hardcode_libdir_separator=':'
9851        link_all_deplibs=yes
9852 <      file_list_spec='${wl}-f,'
9852 >      file_list_spec='$wl-f,'
9853 >      case $with_aix_soname,$aix_use_runtimelinking in
9854 >      aix,*) ;; # traditional, no import file
9855 >      svr4,* | *,yes) # use import file
9856 >        # The Import File defines what to hardcode.
9857 >        hardcode_direct=no
9858 >        hardcode_direct_absolute=no
9859 >        ;;
9860 >      esac
9861  
9862 <      if test "$GCC" = yes; then
9862 >      if test yes = "$GCC"; then
9863          case $host_os in aix4.[012]|aix4.[012].*)
9864          # We only want to do this on AIX 4.2 and lower, the check
9865          # below for broken collect2 doesn't work under 4.3+
9866 <          collect2name=`${CC} -print-prog-name=collect2`
9866 >          collect2name=`$CC -print-prog-name=collect2`
9867            if test -f "$collect2name" &&
9868             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9869            then
# Line 8871 | Line 9882 | _LT_EOF
9882            ;;
9883          esac
9884          shared_flag='-shared'
9885 <        if test "$aix_use_runtimelinking" = yes; then
9886 <          shared_flag="$shared_flag "'${wl}-G'
9885 >        if test yes = "$aix_use_runtimelinking"; then
9886 >          shared_flag="$shared_flag "'$wl-G'
9887          fi
9888 +        # Need to ensure runtime linking is disabled for the traditional
9889 +        # shared library, or the linker may eventually find shared libraries
9890 +        # /with/ Import File - we do not want to mix them.
9891 +        shared_flag_aix='-shared'
9892 +        shared_flag_svr4='-shared $wl-G'
9893        else
9894          # not using gcc
9895 <        if test "$host_cpu" = ia64; then
9895 >        if test ia64 = "$host_cpu"; then
9896          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9897          # chokes on -Wl,-G. The following line is correct:
9898            shared_flag='-G'
9899          else
9900 <          if test "$aix_use_runtimelinking" = yes; then
9901 <            shared_flag='${wl}-G'
9900 >          if test yes = "$aix_use_runtimelinking"; then
9901 >            shared_flag='$wl-G'
9902            else
9903 <            shared_flag='${wl}-bM:SRE'
9903 >            shared_flag='$wl-bM:SRE'
9904            fi
9905 +          shared_flag_aix='$wl-bM:SRE'
9906 +          shared_flag_svr4='$wl-G'
9907          fi
9908        fi
9909  
9910 <      export_dynamic_flag_spec='${wl}-bexpall'
9910 >      export_dynamic_flag_spec='$wl-bexpall'
9911        # It seems that -bexpall does not export symbols beginning with
9912        # underscore (_), so it is better to generate a list of symbols to export.
9913        always_export_symbols=yes
9914 <      if test "$aix_use_runtimelinking" = yes; then
9914 >      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9915          # Warning - without using the other runtime loading flags (-brtl),
9916          # -berok will link without error, but may produce a broken library.
9917          allow_undefined_flag='-berok'
9918          # Determine the default libpath from the value encoded in an
9919          # empty executable.
9920 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 >        if test set = "${lt_cv_aix_libpath+set}"; then
9921 >  aix_libpath=$lt_cv_aix_libpath
9922 > else
9923 >  if ${lt_cv_aix_libpath_+:} false; then :
9924 >  $as_echo_n "(cached) " >&6
9925 > else
9926 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927   /* end confdefs.h.  */
9928  
9929   int
# Line 8912 | Line 9936 | main ()
9936   _ACEOF
9937   if ac_fn_c_try_link "$LINENO"; then :
9938  
9939 < lt_aix_libpath_sed='
9940 <    /Import File Strings/,/^$/ {
9941 <        /^0/ {
9942 <            s/^0  *\(.*\)$/\1/
9943 <            p
9944 <        }
9945 <    }'
9946 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9947 < # Check for a 64-bit object if we didn't find anything.
9948 < if test -z "$aix_libpath"; then
9949 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9950 < fi
9939 >  lt_aix_libpath_sed='
9940 >      /Import File Strings/,/^$/ {
9941 >          /^0/ {
9942 >              s/^0  *\([^ ]*\) *$/\1/
9943 >              p
9944 >          }
9945 >      }'
9946 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9947 >  # Check for a 64-bit object if we didn't find anything.
9948 >  if test -z "$lt_cv_aix_libpath_"; then
9949 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9950 >  fi
9951   fi
9952   rm -f core conftest.err conftest.$ac_objext \
9953      conftest$ac_exeext conftest.$ac_ext
9954 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9954 >  if test -z "$lt_cv_aix_libpath_"; then
9955 >    lt_cv_aix_libpath_=/usr/lib:/lib
9956 >  fi
9957 >
9958 > fi
9959 >
9960 >  aix_libpath=$lt_cv_aix_libpath_
9961 > fi
9962  
9963 <        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9964 <        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"
9963 >        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9964 >        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
9965        else
9966 <        if test "$host_cpu" = ia64; then
9967 <          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9966 >        if test ia64 = "$host_cpu"; then
9967 >          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9968            allow_undefined_flag="-z nodefs"
9969 <          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"
9969 >          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"
9970          else
9971           # Determine the default libpath from the value encoded in an
9972           # empty executable.
9973 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 >         if test set = "${lt_cv_aix_libpath+set}"; then
9974 >  aix_libpath=$lt_cv_aix_libpath
9975 > else
9976 >  if ${lt_cv_aix_libpath_+:} false; then :
9977 >  $as_echo_n "(cached) " >&6
9978 > else
9979 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980   /* end confdefs.h.  */
9981  
9982   int
# Line 8952 | Line 9989 | main ()
9989   _ACEOF
9990   if ac_fn_c_try_link "$LINENO"; then :
9991  
9992 < lt_aix_libpath_sed='
9993 <    /Import File Strings/,/^$/ {
9994 <        /^0/ {
9995 <            s/^0  *\(.*\)$/\1/
9996 <            p
9997 <        }
9998 <    }'
9999 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10000 < # Check for a 64-bit object if we didn't find anything.
10001 < if test -z "$aix_libpath"; then
10002 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10003 < fi
9992 >  lt_aix_libpath_sed='
9993 >      /Import File Strings/,/^$/ {
9994 >          /^0/ {
9995 >              s/^0  *\([^ ]*\) *$/\1/
9996 >              p
9997 >          }
9998 >      }'
9999 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10000 >  # Check for a 64-bit object if we didn't find anything.
10001 >  if test -z "$lt_cv_aix_libpath_"; then
10002 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10003 >  fi
10004   fi
10005   rm -f core conftest.err conftest.$ac_objext \
10006      conftest$ac_exeext conftest.$ac_ext
10007 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10007 >  if test -z "$lt_cv_aix_libpath_"; then
10008 >    lt_cv_aix_libpath_=/usr/lib:/lib
10009 >  fi
10010  
10011 <         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10011 > fi
10012 >
10013 >  aix_libpath=$lt_cv_aix_libpath_
10014 > fi
10015 >
10016 >         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10017            # Warning - without using the other run time loading flags,
10018            # -berok will link without error, but may produce a broken library.
10019 <          no_undefined_flag=' ${wl}-bernotok'
10020 <          allow_undefined_flag=' ${wl}-berok'
10021 <          # Exported symbols can be pulled into shared objects from archives
10022 <          whole_archive_flag_spec='$convenience'
10019 >          no_undefined_flag=' $wl-bernotok'
10020 >          allow_undefined_flag=' $wl-berok'
10021 >          if test yes = "$with_gnu_ld"; then
10022 >            # We only use this code for GNU lds that support --whole-archive.
10023 >            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10024 >          else
10025 >            # Exported symbols can be pulled into shared objects from archives
10026 >            whole_archive_flag_spec='$convenience'
10027 >          fi
10028            archive_cmds_need_lc=yes
10029 <          # This is similar to how AIX traditionally builds its shared libraries.
10030 <          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'
10029 >          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10030 >          # -brtl affects multiple linker settings, -berok does not and is overridden later
10031 >          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10032 >          if test svr4 != "$with_aix_soname"; then
10033 >            # This is similar to how AIX traditionally builds its shared libraries.
10034 >            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'
10035 >          fi
10036 >          if test aix != "$with_aix_soname"; then
10037 >            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'
10038 >          else
10039 >            # used by -dlpreopen to get the symbols
10040 >            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10041 >          fi
10042 >          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10043          fi
10044        fi
10045        ;;
# Line 8987 | Line 10048 | if test -z "$aix_libpath"; then aix_libp
10048        case $host_cpu in
10049        powerpc)
10050              # see comment about AmigaOS4 .so support
10051 <            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10051 >            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10052              archive_expsym_cmds=''
10053          ;;
10054        m68k)
# Line 9007 | Line 10068 | if test -z "$aix_libpath"; then aix_libp
10068        # Microsoft Visual C++.
10069        # hardcode_libdir_flag_spec is actually meaningless, as there is
10070        # no search path for DLLs.
10071 <      hardcode_libdir_flag_spec=' '
10072 <      allow_undefined_flag=unsupported
10073 <      # Tell ltmain to make .lib files, not .a files.
10074 <      libext=lib
10075 <      # Tell ltmain to make .dll files, not .so files.
10076 <      shrext_cmds=".dll"
10077 <      # FIXME: Setting linknames here is a bad hack.
10078 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10079 <      # The linker will automatically build a .lib file if we build a DLL.
10080 <      old_archive_from_new_cmds='true'
10081 <      # FIXME: Should let the user specify the lib program.
10082 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10083 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
10084 <      enable_shared_with_static_runtimes=yes
10071 >      case $cc_basename in
10072 >      cl*)
10073 >        # Native MSVC
10074 >        hardcode_libdir_flag_spec=' '
10075 >        allow_undefined_flag=unsupported
10076 >        always_export_symbols=yes
10077 >        file_list_spec='@'
10078 >        # Tell ltmain to make .lib files, not .a files.
10079 >        libext=lib
10080 >        # Tell ltmain to make .dll files, not .so files.
10081 >        shrext_cmds=.dll
10082 >        # FIXME: Setting linknames here is a bad hack.
10083 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10084 >        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10085 >            cp "$export_symbols" "$output_objdir/$soname.def";
10086 >            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10087 >          else
10088 >            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10089 >          fi~
10090 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10091 >          linknames='
10092 >        # The linker will not automatically build a static lib if we build a DLL.
10093 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10094 >        enable_shared_with_static_runtimes=yes
10095 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10096 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10097 >        # Don't use ranlib
10098 >        old_postinstall_cmds='chmod 644 $oldlib'
10099 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
10100 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
10101 >          case $lt_outputfile in
10102 >            *.exe|*.EXE) ;;
10103 >            *)
10104 >              lt_outputfile=$lt_outputfile.exe
10105 >              lt_tool_outputfile=$lt_tool_outputfile.exe
10106 >              ;;
10107 >          esac~
10108 >          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10109 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10110 >            $RM "$lt_outputfile.manifest";
10111 >          fi'
10112 >        ;;
10113 >      *)
10114 >        # Assume MSVC wrapper
10115 >        hardcode_libdir_flag_spec=' '
10116 >        allow_undefined_flag=unsupported
10117 >        # Tell ltmain to make .lib files, not .a files.
10118 >        libext=lib
10119 >        # Tell ltmain to make .dll files, not .so files.
10120 >        shrext_cmds=.dll
10121 >        # FIXME: Setting linknames here is a bad hack.
10122 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10123 >        # The linker will automatically build a .lib file if we build a DLL.
10124 >        old_archive_from_new_cmds='true'
10125 >        # FIXME: Should let the user specify the lib program.
10126 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10127 >        enable_shared_with_static_runtimes=yes
10128 >        ;;
10129 >      esac
10130        ;;
10131  
10132      darwin* | rhapsody*)
# Line 9030 | Line 10136 | if test -z "$aix_libpath"; then aix_libp
10136    hardcode_direct=no
10137    hardcode_automatic=yes
10138    hardcode_shlibpath_var=unsupported
10139 <  whole_archive_flag_spec=''
10139 >  if test yes = "$lt_cv_ld_force_load"; then
10140 >    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\"`'
10141 >
10142 >  else
10143 >    whole_archive_flag_spec=''
10144 >  fi
10145    link_all_deplibs=yes
10146 <  allow_undefined_flag="$_lt_dar_allow_undefined"
10146 >  allow_undefined_flag=$_lt_dar_allow_undefined
10147    case $cc_basename in
10148 <     ifort*) _lt_dar_can_shared=yes ;;
10148 >     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10149       *) _lt_dar_can_shared=$GCC ;;
10150    esac
10151 <  if test "$_lt_dar_can_shared" = "yes"; then
10152 <    output_verbose_link_cmd=echo
10153 <    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10154 <    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10155 <    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}"
10156 <    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}"
10151 >  if test yes = "$_lt_dar_can_shared"; then
10152 >    output_verbose_link_cmd=func_echo_all
10153 >    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10154 >    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10155 >    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"
10156 >    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"
10157  
10158    else
10159    ld_shlibs=no
# Line 9056 | Line 10167 | if test -z "$aix_libpath"; then aix_libp
10167        hardcode_shlibpath_var=no
10168        ;;
10169  
9059    freebsd1*)
9060      ld_shlibs=no
9061      ;;
9062
10170      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10171      # support.  Future versions do this automatically, but an explicit c++rt0.o
10172      # does not break anything, and helps significantly (at the cost of a little
# Line 9072 | Line 10179 | if test -z "$aix_libpath"; then aix_libp
10179        ;;
10180  
10181      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10182 <    freebsd2*)
10182 >    freebsd2.*)
10183        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10184        hardcode_direct=yes
10185        hardcode_minus_L=yes
# Line 9081 | Line 10188 | if test -z "$aix_libpath"; then aix_libp
10188  
10189      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10190      freebsd* | dragonfly*)
10191 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10191 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10192        hardcode_libdir_flag_spec='-R$libdir'
10193        hardcode_direct=yes
10194        hardcode_shlibpath_var=no
10195        ;;
10196  
10197      hpux9*)
10198 <      if test "$GCC" = yes; then
10199 <        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'
10198 >      if test yes = "$GCC"; then
10199 >        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'
10200        else
10201 <        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'
10201 >        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'
10202        fi
10203 <      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10203 >      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10204        hardcode_libdir_separator=:
10205        hardcode_direct=yes
10206  
10207        # hardcode_minus_L: Not really in the search PATH,
10208        # but as the default location of the library.
10209        hardcode_minus_L=yes
10210 <      export_dynamic_flag_spec='${wl}-E'
10210 >      export_dynamic_flag_spec='$wl-E'
10211        ;;
10212  
10213      hpux10*)
10214 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10215 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10214 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10215 >        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10216        else
10217          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10218        fi
10219 <      if test "$with_gnu_ld" = no; then
10220 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9114 <        hardcode_libdir_flag_spec_ld='+b $libdir'
10219 >      if test no = "$with_gnu_ld"; then
10220 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10221          hardcode_libdir_separator=:
10222          hardcode_direct=yes
10223          hardcode_direct_absolute=yes
10224 <        export_dynamic_flag_spec='${wl}-E'
10224 >        export_dynamic_flag_spec='$wl-E'
10225          # hardcode_minus_L: Not really in the search PATH,
10226          # but as the default location of the library.
10227          hardcode_minus_L=yes
# Line 9123 | Line 10229 | if test -z "$aix_libpath"; then aix_libp
10229        ;;
10230  
10231      hpux11*)
10232 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10232 >      if test yes,no = "$GCC,$with_gnu_ld"; then
10233          case $host_cpu in
10234          hppa*64*)
10235 <          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10235 >          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10236            ;;
10237          ia64*)
10238 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10238 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10239            ;;
10240          *)
10241 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10241 >          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10242            ;;
10243          esac
10244        else
10245          case $host_cpu in
10246          hppa*64*)
10247 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10247 >          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10248            ;;
10249          ia64*)
10250 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10250 >          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10251            ;;
10252          *)
10253 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10253 >
10254 >          # Older versions of the 11.00 compiler do not understand -b yet
10255 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10256 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10257 > $as_echo_n "checking if $CC understands -b... " >&6; }
10258 > if ${lt_cv_prog_compiler__b+:} false; then :
10259 >  $as_echo_n "(cached) " >&6
10260 > else
10261 >  lt_cv_prog_compiler__b=no
10262 >   save_LDFLAGS=$LDFLAGS
10263 >   LDFLAGS="$LDFLAGS -b"
10264 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10265 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10266 >     # The linker can only warn and ignore the option if not recognized
10267 >     # So say no if there are warnings
10268 >     if test -s conftest.err; then
10269 >       # Append any errors to the config.log.
10270 >       cat conftest.err 1>&5
10271 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10272 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10273 >       if diff conftest.exp conftest.er2 >/dev/null; then
10274 >         lt_cv_prog_compiler__b=yes
10275 >       fi
10276 >     else
10277 >       lt_cv_prog_compiler__b=yes
10278 >     fi
10279 >   fi
10280 >   $RM -r conftest*
10281 >   LDFLAGS=$save_LDFLAGS
10282 >
10283 > fi
10284 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10285 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10286 >
10287 > if test yes = "$lt_cv_prog_compiler__b"; then
10288 >    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10289 > else
10290 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10291 > fi
10292 >
10293            ;;
10294          esac
10295        fi
10296 <      if test "$with_gnu_ld" = no; then
10297 <        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10296 >      if test no = "$with_gnu_ld"; then
10297 >        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10298          hardcode_libdir_separator=:
10299  
10300          case $host_cpu in
# Line 9160 | Line 10305 | if test -z "$aix_libpath"; then aix_libp
10305          *)
10306            hardcode_direct=yes
10307            hardcode_direct_absolute=yes
10308 <          export_dynamic_flag_spec='${wl}-E'
10308 >          export_dynamic_flag_spec='$wl-E'
10309  
10310            # hardcode_minus_L: Not really in the search PATH,
10311            # but as the default location of the library.
# Line 9171 | Line 10316 | if test -z "$aix_libpath"; then aix_libp
10316        ;;
10317  
10318      irix5* | irix6* | nonstopux*)
10319 <      if test "$GCC" = yes; then
10320 <        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'
10319 >      if test yes = "$GCC"; then
10320 >        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'
10321          # Try to use the -exported_symbol ld option, if it does not
10322          # work, assume that -exports_file does not work either and
10323          # implicitly export all symbols.
10324 <        save_LDFLAGS="$LDFLAGS"
10325 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10326 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 >        # This should be the same for all languages, so no per-tag cache variable.
10325 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10326 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10327 > if ${lt_cv_irix_exported_symbol+:} false; then :
10328 >  $as_echo_n "(cached) " >&6
10329 > else
10330 >  save_LDFLAGS=$LDFLAGS
10331 >           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10332 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333   /* end confdefs.h.  */
10334 < int foo(void) {}
10334 > int foo (void) { return 0; }
10335   _ACEOF
10336   if ac_fn_c_try_link "$LINENO"; then :
10337 <  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'
10338 <
10337 >  lt_cv_irix_exported_symbol=yes
10338 > else
10339 >  lt_cv_irix_exported_symbol=no
10340   fi
10341   rm -f core conftest.err conftest.$ac_objext \
10342      conftest$ac_exeext conftest.$ac_ext
10343 <        LDFLAGS="$save_LDFLAGS"
10343 >           LDFLAGS=$save_LDFLAGS
10344 > fi
10345 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10346 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10347 >        if test yes = "$lt_cv_irix_exported_symbol"; then
10348 >          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'
10349 >        fi
10350        else
10351 <        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'
10352 <        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'
10351 >        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'
10352 >        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'
10353        fi
10354        archive_cmds_need_lc='no'
10355 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10355 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10356        hardcode_libdir_separator=:
10357        inherit_rpath=yes
10358        link_all_deplibs=yes
10359        ;;
10360  
10361 +    linux*)
10362 +      case $cc_basename in
10363 +      tcc*)
10364 +        # Fabrice Bellard et al's Tiny C Compiler
10365 +        ld_shlibs=yes
10366 +        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10367 +        ;;
10368 +      esac
10369 +      ;;
10370 +
10371      netbsd*)
10372        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10373          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
# Line 9214 | Line 10382 | rm -f core conftest.err conftest.$ac_obj
10382      newsos6)
10383        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10384        hardcode_direct=yes
10385 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10385 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10386        hardcode_libdir_separator=:
10387        hardcode_shlibpath_var=no
10388        ;;
# Line 9222 | Line 10390 | rm -f core conftest.err conftest.$ac_obj
10390      *nto* | *qnx*)
10391        ;;
10392  
10393 <    openbsd*)
10393 >    openbsd* | bitrig*)
10394        if test -f /usr/libexec/ld.so; then
10395          hardcode_direct=yes
10396          hardcode_shlibpath_var=no
10397          hardcode_direct_absolute=yes
10398 <        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10398 >        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10399            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10400 <          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10401 <          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10402 <          export_dynamic_flag_spec='${wl}-E'
10400 >          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10401 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10402 >          export_dynamic_flag_spec='$wl-E'
10403          else
10404 <          case $host_os in
10405 <           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9238 <             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9239 <             hardcode_libdir_flag_spec='-R$libdir'
9240 <             ;;
9241 <           *)
9242 <             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9243 <             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9244 <             ;;
9245 <          esac
10404 >          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10405 >          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10406          fi
10407        else
10408          ld_shlibs=no
# Line 9253 | Line 10413 | rm -f core conftest.err conftest.$ac_obj
10413        hardcode_libdir_flag_spec='-L$libdir'
10414        hardcode_minus_L=yes
10415        allow_undefined_flag=unsupported
10416 <      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'
10417 <      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10416 >      shrext_cmds=.dll
10417 >      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10418 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10419 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10420 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10421 >        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10422 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10423 >        emximp -o $lib $output_objdir/$libname.def'
10424 >      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10425 >        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10426 >        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10427 >        $ECHO EXPORTS >> $output_objdir/$libname.def~
10428 >        prefix_cmds="$SED"~
10429 >        if test EXPORTS = "`$SED 1q $export_symbols`"; then
10430 >          prefix_cmds="$prefix_cmds -e 1d";
10431 >        fi~
10432 >        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10433 >        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10434 >        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10435 >        emximp -o $lib $output_objdir/$libname.def'
10436 >      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10437 >      enable_shared_with_static_runtimes=yes
10438        ;;
10439  
10440      osf3*)
10441 <      if test "$GCC" = yes; then
10442 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10443 <        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'
10441 >      if test yes = "$GCC"; then
10442 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10443 >        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'
10444        else
10445          allow_undefined_flag=' -expect_unresolved \*'
10446 <        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'
10446 >        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'
10447        fi
10448        archive_cmds_need_lc='no'
10449 <      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10449 >      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10450        hardcode_libdir_separator=:
10451        ;;
10452  
10453      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10454 <      if test "$GCC" = yes; then
10455 <        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10456 <        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'
10457 <        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10454 >      if test yes = "$GCC"; then
10455 >        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10456 >        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'
10457 >        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10458        else
10459          allow_undefined_flag=' -expect_unresolved \*'
10460 <        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'
10460 >        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'
10461          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~
10462 <        $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'
10462 >          $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'
10463  
10464          # Both c and cxx compiler support -rpath directly
10465          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9290 | Line 10470 | rm -f core conftest.err conftest.$ac_obj
10470  
10471      solaris*)
10472        no_undefined_flag=' -z defs'
10473 <      if test "$GCC" = yes; then
10474 <        wlarc='${wl}'
10475 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10473 >      if test yes = "$GCC"; then
10474 >        wlarc='$wl'
10475 >        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10476          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10477 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10477 >          $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'
10478        else
10479          case `$CC -V 2>&1` in
10480          *"Compilers 5.0"*)
10481            wlarc=''
10482 <          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10482 >          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10483            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10484 <          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10484 >            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10485            ;;
10486          *)
10487 <          wlarc='${wl}'
10488 <          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10487 >          wlarc='$wl'
10488 >          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10489            archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10490 <          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10490 >            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10491            ;;
10492          esac
10493        fi
# Line 9317 | Line 10497 | rm -f core conftest.err conftest.$ac_obj
10497        solaris2.[0-5] | solaris2.[0-5].*) ;;
10498        *)
10499          # The compiler driver will combine and reorder linker options,
10500 <        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10500 >        # but understands '-z linker_flag'.  GCC discards it without '$wl',
10501          # but is careful enough not to reorder.
10502          # Supported since Solaris 2.6 (maybe 2.5.1?)
10503 <        if test "$GCC" = yes; then
10504 <          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10503 >        if test yes = "$GCC"; then
10504 >          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10505          else
10506            whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10507          fi
# Line 9331 | Line 10511 | rm -f core conftest.err conftest.$ac_obj
10511        ;;
10512  
10513      sunos4*)
10514 <      if test "x$host_vendor" = xsequent; then
10514 >      if test sequent = "$host_vendor"; then
10515          # Use $CC to link under sequent, because it throws in some extra .o
10516          # files that make .init and .fini sections work.
10517 <        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10517 >        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10518        else
10519          archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10520        fi
# Line 9383 | Line 10563 | rm -f core conftest.err conftest.$ac_obj
10563        ;;
10564  
10565      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10566 <      no_undefined_flag='${wl}-z,text'
10566 >      no_undefined_flag='$wl-z,text'
10567        archive_cmds_need_lc=no
10568        hardcode_shlibpath_var=no
10569        runpath_var='LD_RUN_PATH'
10570  
10571 <      if test "$GCC" = yes; then
10572 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10573 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10571 >      if test yes = "$GCC"; then
10572 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10573 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10574        else
10575 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10576 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10575 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10576 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10577        fi
10578        ;;
10579  
10580      sysv5* | sco3.2v5* | sco5v6*)
10581 <      # Note: We can NOT use -z defs as we might desire, because we do not
10581 >      # Note: We CANNOT use -z defs as we might desire, because we do not
10582        # link with -lc, and that would cause any symbols used from libc to
10583        # always be unresolved, which means just about no library would
10584        # ever link correctly.  If we're not using GNU ld we use -z text
10585        # though, which does catch some bad symbols but isn't as heavy-handed
10586        # as -z defs.
10587 <      no_undefined_flag='${wl}-z,text'
10588 <      allow_undefined_flag='${wl}-z,nodefs'
10587 >      no_undefined_flag='$wl-z,text'
10588 >      allow_undefined_flag='$wl-z,nodefs'
10589        archive_cmds_need_lc=no
10590        hardcode_shlibpath_var=no
10591 <      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10591 >      hardcode_libdir_flag_spec='$wl-R,$libdir'
10592        hardcode_libdir_separator=':'
10593        link_all_deplibs=yes
10594 <      export_dynamic_flag_spec='${wl}-Bexport'
10594 >      export_dynamic_flag_spec='$wl-Bexport'
10595        runpath_var='LD_RUN_PATH'
10596  
10597 <      if test "$GCC" = yes; then
10598 <        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10599 <        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10597 >      if test yes = "$GCC"; then
10598 >        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10599 >        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10600        else
10601 <        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10602 <        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10601 >        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10602 >        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10603        fi
10604        ;;
10605  
# Line 9434 | Line 10614 | rm -f core conftest.err conftest.$ac_obj
10614        ;;
10615      esac
10616  
10617 <    if test x$host_vendor = xsni; then
10617 >    if test sni = "$host_vendor"; then
10618        case $host in
10619        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10620 <        export_dynamic_flag_spec='${wl}-Blargedynsym'
10620 >        export_dynamic_flag_spec='$wl-Blargedynsym'
10621          ;;
10622        esac
10623      fi
# Line 9445 | Line 10625 | rm -f core conftest.err conftest.$ac_obj
10625  
10626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10627   $as_echo "$ld_shlibs" >&6; }
10628 < test "$ld_shlibs" = no && can_build_shared=no
10628 > test no = "$ld_shlibs" && can_build_shared=no
10629  
10630   with_gnu_ld=$with_gnu_ld
10631  
# Line 9471 | Line 10651 | x|xyes)
10651    # Assume -lc should be added
10652    archive_cmds_need_lc=yes
10653  
10654 <  if test "$enable_shared" = yes && test "$GCC" = yes; then
10654 >  if test yes,yes = "$GCC,$enable_shared"; then
10655      case $archive_cmds in
10656      *'~'*)
10657        # FIXME: we may have to deal with multi-command sequences.
# Line 9482 | Line 10662 | x|xyes)
10662        # to ld, don't add -lc before -lgcc.
10663        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10664   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10665 <      $RM conftest*
10666 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10665 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10666 >  $as_echo_n "(cached) " >&6
10667 > else
10668 >  $RM conftest*
10669 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10670  
10671 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10671 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10672    (eval $ac_compile) 2>&5
10673    ac_status=$?
10674    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10675    test $ac_status = 0; } 2>conftest.err; then
10676 <        soname=conftest
10677 <        lib=conftest
10678 <        libobjs=conftest.$ac_objext
10679 <        deplibs=
10680 <        wl=$lt_prog_compiler_wl
10681 <        pic_flag=$lt_prog_compiler_pic
10682 <        compiler_flags=-v
10683 <        linker_flags=-v
10684 <        verstring=
10685 <        output_objdir=.
10686 <        libname=conftest
10687 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10688 <        allow_undefined_flag=
10689 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10676 >          soname=conftest
10677 >          lib=conftest
10678 >          libobjs=conftest.$ac_objext
10679 >          deplibs=
10680 >          wl=$lt_prog_compiler_wl
10681 >          pic_flag=$lt_prog_compiler_pic
10682 >          compiler_flags=-v
10683 >          linker_flags=-v
10684 >          verstring=
10685 >          output_objdir=.
10686 >          libname=conftest
10687 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10688 >          allow_undefined_flag=
10689 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10690    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10691    ac_status=$?
10692    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10693    test $ac_status = 0; }
10694 <        then
10695 <          archive_cmds_need_lc=no
10696 <        else
10697 <          archive_cmds_need_lc=yes
10698 <        fi
10699 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10700 <      else
10701 <        cat conftest.err 1>&5
10702 <      fi
10703 <      $RM conftest*
10704 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10705 < $as_echo "$archive_cmds_need_lc" >&6; }
10694 >          then
10695 >            lt_cv_archive_cmds_need_lc=no
10696 >          else
10697 >            lt_cv_archive_cmds_need_lc=yes
10698 >          fi
10699 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10700 >        else
10701 >          cat conftest.err 1>&5
10702 >        fi
10703 >        $RM conftest*
10704 >
10705 > fi
10706 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10707 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10708 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10709        ;;
10710      esac
10711    fi
# Line 9677 | Line 10863 | esac
10863  
10864  
10865  
9680
9681
9682
9683
9684
10866    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10867   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10868  
10869 < if test "$GCC" = yes; then
10869 > if test yes = "$GCC"; then
10870 >  case $host_os in
10871 >    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10872 >    *) lt_awk_arg='/^libraries:/' ;;
10873 >  esac
10874    case $host_os in
10875 <    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10876 <    *) lt_awk_arg="/^libraries:/" ;;
10875 >    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10876 >    *) lt_sed_strip_eq='s|=/|/|g' ;;
10877    esac
10878 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10879 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10878 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10879 >  case $lt_search_path_spec in
10880 >  *\;*)
10881      # if the path contains ";" then we assume it to be the separator
10882      # otherwise default to the standard path separator (i.e. ":") - it is
10883      # assumed that no part of a normal pathname contains ";" but that should
10884      # okay in the real world where ";" in dirpaths is itself problematic.
10885 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10886 <  else
10887 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10888 <  fi
10885 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10886 >    ;;
10887 >  *)
10888 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10889 >    ;;
10890 >  esac
10891    # Ok, now we have the path, separated by spaces, we can step through it
10892 <  # and add multilib dir if necessary.
10892 >  # and add multilib dir if necessary...
10893    lt_tmp_lt_search_path_spec=
10894 <  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10894 >  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10895 >  # ...but if some path component already ends with the multilib dir we assume
10896 >  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10897 >  case "$lt_multi_os_dir; $lt_search_path_spec " in
10898 >  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10899 >    lt_multi_os_dir=
10900 >    ;;
10901 >  esac
10902    for lt_sys_path in $lt_search_path_spec; do
10903 <    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10904 <      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10905 <    else
10903 >    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10904 >      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10905 >    elif test -n "$lt_multi_os_dir"; then
10906        test -d "$lt_sys_path" && \
10907          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10908      fi
10909    done
10910 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10911 < BEGIN {RS=" "; FS="/|\n";} {
10912 <  lt_foo="";
10913 <  lt_count=0;
10910 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10911 > BEGIN {RS = " "; FS = "/|\n";} {
10912 >  lt_foo = "";
10913 >  lt_count = 0;
10914    for (lt_i = NF; lt_i > 0; lt_i--) {
10915      if ($lt_i != "" && $lt_i != ".") {
10916        if ($lt_i == "..") {
10917          lt_count++;
10918        } else {
10919          if (lt_count == 0) {
10920 <          lt_foo="/" $lt_i lt_foo;
10920 >          lt_foo = "/" $lt_i lt_foo;
10921          } else {
10922            lt_count--;
10923          }
# Line 9732 | Line 10927 | BEGIN {RS=" "; FS="/|\n";} {
10927    if (lt_foo != "") { lt_freq[lt_foo]++; }
10928    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10929   }'`
10930 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10930 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10931 >  # for these hosts.
10932 >  case $host_os in
10933 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10934 >      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10935 >  esac
10936 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10937   else
10938    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10939   fi
10940   library_names_spec=
10941   libname_spec='lib$name'
10942   soname_spec=
10943 < shrext_cmds=".so"
10943 > shrext_cmds=.so
10944   postinstall_cmds=
10945   postuninstall_cmds=
10946   finish_cmds=
# Line 9758 | Line 10959 | need_version=unknown
10959  
10960   case $host_os in
10961   aix3*)
10962 <  version_type=linux
10963 <  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10962 >  version_type=linux # correct to gnu/linux during the next big refactor
10963 >  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10964    shlibpath_var=LIBPATH
10965  
10966    # AIX 3 has no versioning support, so we append a major version to the name.
10967 <  soname_spec='${libname}${release}${shared_ext}$major'
10967 >  soname_spec='$libname$release$shared_ext$major'
10968    ;;
10969  
10970   aix[4-9]*)
10971 <  version_type=linux
10971 >  version_type=linux # correct to gnu/linux during the next big refactor
10972    need_lib_prefix=no
10973    need_version=no
10974    hardcode_into_libs=yes
10975 <  if test "$host_cpu" = ia64; then
10975 >  if test ia64 = "$host_cpu"; then
10976      # AIX 5 supports IA64
10977 <    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10977 >    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10978      shlibpath_var=LD_LIBRARY_PATH
10979    else
10980      # With GCC up to 2.95.x, collect2 would create an import file
10981      # for dependence libraries.  The import file would start with
10982 <    # the line `#! .'.  This would cause the generated library to
10983 <    # depend on `.', always an invalid library.  This was fixed in
10982 >    # the line '#! .'.  This would cause the generated library to
10983 >    # depend on '.', always an invalid library.  This was fixed in
10984      # development snapshots of GCC prior to 3.0.
10985      case $host_os in
10986        aix4 | aix4.[01] | aix4.[01].*)
10987        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10988             echo ' yes '
10989 <           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10989 >           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10990          :
10991        else
10992          can_build_shared=no
10993        fi
10994        ;;
10995      esac
10996 <    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10996 >    # Using Import Files as archive members, it is possible to support
10997 >    # filename-based versioning of shared library archives on AIX. While
10998 >    # this would work for both with and without runtime linking, it will
10999 >    # prevent static linking of such archives. So we do filename-based
11000 >    # shared library versioning with .so extension only, which is used
11001 >    # when both runtime linking and shared linking is enabled.
11002 >    # Unfortunately, runtime linking may impact performance, so we do
11003 >    # not want this to be the default eventually. Also, we use the
11004 >    # versioned .so libs for executables only if there is the -brtl
11005 >    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11006 >    # To allow for filename-based versioning support, we need to create
11007 >    # libNAME.so.V as an archive file, containing:
11008 >    # *) an Import File, referring to the versioned filename of the
11009 >    #    archive as well as the shared archive member, telling the
11010 >    #    bitwidth (32 or 64) of that shared object, and providing the
11011 >    #    list of exported symbols of that shared object, eventually
11012 >    #    decorated with the 'weak' keyword
11013 >    # *) the shared object with the F_LOADONLY flag set, to really avoid
11014 >    #    it being seen by the linker.
11015 >    # At run time we better use the real file rather than another symlink,
11016 >    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11017 >
11018 >    case $with_aix_soname,$aix_use_runtimelinking in
11019 >    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11020      # soname into executable. Probably we can add versioning support to
11021      # collect2, so additional links can be useful in future.
11022 <    if test "$aix_use_runtimelinking" = yes; then
11022 >    aix,yes) # traditional libtool
11023 >      dynamic_linker='AIX unversionable lib.so'
11024        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11025        # instead of lib<name>.a to let people know that these are not
11026        # typical AIX shared libraries.
11027 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11028 <    else
11027 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11028 >      ;;
11029 >    aix,no) # traditional AIX only
11030 >      dynamic_linker='AIX lib.a(lib.so.V)'
11031        # We preserve .a as extension for shared libraries through AIX4.2
11032        # and later when we are not doing run time linking.
11033 <      library_names_spec='${libname}${release}.a $libname.a'
11034 <      soname_spec='${libname}${release}${shared_ext}$major'
11035 <    fi
11033 >      library_names_spec='$libname$release.a $libname.a'
11034 >      soname_spec='$libname$release$shared_ext$major'
11035 >      ;;
11036 >    svr4,*) # full svr4 only
11037 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11038 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11039 >      # We do not specify a path in Import Files, so LIBPATH fires.
11040 >      shlibpath_overrides_runpath=yes
11041 >      ;;
11042 >    *,yes) # both, prefer svr4
11043 >      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11044 >      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11045 >      # unpreferred sharedlib libNAME.a needs extra handling
11046 >      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"'
11047 >      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"'
11048 >      # We do not specify a path in Import Files, so LIBPATH fires.
11049 >      shlibpath_overrides_runpath=yes
11050 >      ;;
11051 >    *,no) # both, prefer aix
11052 >      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11053 >      library_names_spec='$libname$release.a $libname.a'
11054 >      soname_spec='$libname$release$shared_ext$major'
11055 >      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11056 >      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)'
11057 >      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"'
11058 >      ;;
11059 >    esac
11060      shlibpath_var=LIBPATH
11061    fi
11062    ;;
# Line 9815 | Line 11066 | amigaos*)
11066    powerpc)
11067      # Since July 2007 AmigaOS4 officially supports .so libraries.
11068      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11069 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11070      ;;
11071    m68k)
11072      library_names_spec='$libname.ixlibrary $libname.a'
11073      # Create ${libname}_ixlibrary.a entries in /sys/libs.
11074 <    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'
11074 >    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'
11075      ;;
11076    esac
11077    ;;
11078  
11079   beos*)
11080 <  library_names_spec='${libname}${shared_ext}'
11080 >  library_names_spec='$libname$shared_ext'
11081    dynamic_linker="$host_os ld.so"
11082    shlibpath_var=LIBRARY_PATH
11083    ;;
11084  
11085   bsdi[45]*)
11086 <  version_type=linux
11086 >  version_type=linux # correct to gnu/linux during the next big refactor
11087    need_version=no
11088 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089 <  soname_spec='${libname}${release}${shared_ext}$major'
11088 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11089 >  soname_spec='$libname$release$shared_ext$major'
11090    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11091    shlibpath_var=LD_LIBRARY_PATH
11092    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
# Line 9847 | Line 11098 | bsdi[45]*)
11098  
11099   cygwin* | mingw* | pw32* | cegcc*)
11100    version_type=windows
11101 <  shrext_cmds=".dll"
11101 >  shrext_cmds=.dll
11102    need_version=no
11103    need_lib_prefix=no
11104  
11105 <  case $GCC,$host_os in
11106 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11105 >  case $GCC,$cc_basename in
11106 >  yes,*)
11107 >    # gcc
11108      library_names_spec='$libname.dll.a'
11109      # DLL is installed to $(libdir)/../bin by postinstall_cmds
11110 <    postinstall_cmds='base_file=`basename \${file}`~
11111 <      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11110 >    postinstall_cmds='base_file=`basename \$file`~
11111 >      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11112        dldir=$destdir/`dirname \$dlpath`~
11113        test -d \$dldir || mkdir -p \$dldir~
11114        $install_prog $dir/$dlname \$dldir/$dlname~
# Line 9872 | Line 11124 | cygwin* | mingw* | pw32* | cegcc*)
11124      case $host_os in
11125      cygwin*)
11126        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11127 <      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11128 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11127 >      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11128 >
11129 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11130        ;;
11131      mingw* | cegcc*)
11132        # MinGW DLLs use traditional 'lib' prefix
11133 <      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11134 <      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11133 >      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11134 >      ;;
11135 >    pw32*)
11136 >      # pw32 DLLs use 'pw' prefix rather than 'lib'
11137 >      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11138 >      ;;
11139 >    esac
11140 >    dynamic_linker='Win32 ld.exe'
11141 >    ;;
11142 >
11143 >  *,cl*)
11144 >    # Native MSVC
11145 >    libname_spec='$name'
11146 >    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11147 >    library_names_spec='$libname.dll.lib'
11148 >
11149 >    case $build_os in
11150 >    mingw*)
11151 >      sys_lib_search_path_spec=
11152 >      lt_save_ifs=$IFS
11153 >      IFS=';'
11154 >      for lt_path in $LIB
11155 >      do
11156 >        IFS=$lt_save_ifs
11157 >        # Let DOS variable expansion print the short 8.3 style file name.
11158 >        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11159 >        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11160 >      done
11161 >      IFS=$lt_save_ifs
11162 >      # Convert to MSYS style.
11163 >      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11164 >      ;;
11165 >    cygwin*)
11166 >      # Convert to unix form, then to dos form, then back to unix form
11167 >      # but this time dos style (no spaces!) so that the unix form looks
11168 >      # like /cygdrive/c/PROGRA~1:/cygdr...
11169 >      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11170 >      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11171 >      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11172 >      ;;
11173 >    *)
11174 >      sys_lib_search_path_spec=$LIB
11175        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11176 <        # It is most probably a Windows format PATH printed by
9884 <        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9885 <        # path with ; separators, and with drive letters. We can handle the
9886 <        # drive letters (cygwin fileutils understands them), so leave them,
9887 <        # especially as we might pass files found there to a mingw objdump,
9888 <        # which wouldn't understand a cygwinified path. Ahh.
11176 >        # It is most probably a Windows format PATH.
11177          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11178        else
11179 <        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11179 >        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11180        fi
11181 <      ;;
11182 <    pw32*)
9895 <      # pw32 DLLs use 'pw' prefix rather than 'lib'
9896 <      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11181 >      # FIXME: find the short name or the path components, as spaces are
11182 >      # common. (e.g. "Program Files" -> "PROGRA~1")
11183        ;;
11184      esac
11185 +
11186 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11187 +    postinstall_cmds='base_file=`basename \$file`~
11188 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11189 +      dldir=$destdir/`dirname \$dlpath`~
11190 +      test -d \$dldir || mkdir -p \$dldir~
11191 +      $install_prog $dir/$dlname \$dldir/$dlname'
11192 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11193 +      dlpath=$dir/\$dldll~
11194 +       $RM \$dlpath'
11195 +    shlibpath_overrides_runpath=yes
11196 +    dynamic_linker='Win32 link.exe'
11197      ;;
11198  
11199    *)
11200 <    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11200 >    # Assume MSVC wrapper
11201 >    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11202 >    dynamic_linker='Win32 ld.exe'
11203      ;;
11204    esac
9905  dynamic_linker='Win32 ld.exe'
11205    # FIXME: first we should search . and the directory the executable is in
11206    shlibpath_var=PATH
11207    ;;
# Line 9912 | Line 11211 | darwin* | rhapsody*)
11211    version_type=darwin
11212    need_lib_prefix=no
11213    need_version=no
11214 <  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11215 <  soname_spec='${libname}${release}${major}$shared_ext'
11214 >  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11215 >  soname_spec='$libname$release$major$shared_ext'
11216    shlibpath_overrides_runpath=yes
11217    shlibpath_var=DYLD_LIBRARY_PATH
11218    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
# Line 9923 | Line 11222 | darwin* | rhapsody*)
11222    ;;
11223  
11224   dgux*)
11225 <  version_type=linux
11225 >  version_type=linux # correct to gnu/linux during the next big refactor
11226    need_lib_prefix=no
11227    need_version=no
11228 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11229 <  soname_spec='${libname}${release}${shared_ext}$major'
11228 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11229 >  soname_spec='$libname$release$shared_ext$major'
11230    shlibpath_var=LD_LIBRARY_PATH
11231    ;;
11232  
9934 freebsd1*)
9935  dynamic_linker=no
9936  ;;
9937
11233   freebsd* | dragonfly*)
11234    # DragonFly does not have aout.  When/if they implement a new
11235    # versioning mechanism, adjust this.
# Line 9942 | Line 11237 | freebsd* | dragonfly*)
11237      objformat=`/usr/bin/objformat`
11238    else
11239      case $host_os in
11240 <    freebsd[123]*) objformat=aout ;;
11240 >    freebsd[23].*) objformat=aout ;;
11241      *) objformat=elf ;;
11242      esac
11243    fi
11244    version_type=freebsd-$objformat
11245    case $version_type in
11246      freebsd-elf*)
11247 <      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11247 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11248        need_version=no
11249        need_lib_prefix=no
11250        ;;
11251      freebsd-*)
11252 <      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11252 >      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11253        need_version=yes
11254        ;;
11255    esac
11256    shlibpath_var=LD_LIBRARY_PATH
11257    case $host_os in
11258 <  freebsd2*)
11258 >  freebsd2.*)
11259      shlibpath_overrides_runpath=yes
11260      ;;
11261    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9979 | Line 11274 | freebsd* | dragonfly*)
11274    esac
11275    ;;
11276  
11277 < gnu*)
11278 <  version_type=linux
11277 > haiku*)
11278 >  version_type=linux # correct to gnu/linux during the next big refactor
11279    need_lib_prefix=no
11280    need_version=no
11281 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11282 <  soname_spec='${libname}${release}${shared_ext}$major'
11283 <  shlibpath_var=LD_LIBRARY_PATH
11281 >  dynamic_linker="$host_os runtime_loader"
11282 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11283 >  soname_spec='$libname$release$shared_ext$major'
11284 >  shlibpath_var=LIBRARY_PATH
11285 >  shlibpath_overrides_runpath=no
11286 >  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11287    hardcode_into_libs=yes
11288    ;;
11289  
# Line 10002 | Line 11300 | hpux9* | hpux10* | hpux11*)
11300      dynamic_linker="$host_os dld.so"
11301      shlibpath_var=LD_LIBRARY_PATH
11302      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11303 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11304 <    soname_spec='${libname}${release}${shared_ext}$major'
11305 <    if test "X$HPUX_IA64_MODE" = X32; then
11303 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11304 >    soname_spec='$libname$release$shared_ext$major'
11305 >    if test 32 = "$HPUX_IA64_MODE"; then
11306        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11307      else
11308        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
# Line 10017 | Line 11315 | hpux9* | hpux10* | hpux11*)
11315      dynamic_linker="$host_os dld.sl"
11316      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11317      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11318 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11319 <    soname_spec='${libname}${release}${shared_ext}$major'
11318 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11319 >    soname_spec='$libname$release$shared_ext$major'
11320      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11321      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11322      ;;
# Line 10027 | Line 11325 | hpux9* | hpux10* | hpux11*)
11325      dynamic_linker="$host_os dld.sl"
11326      shlibpath_var=SHLIB_PATH
11327      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11328 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11329 <    soname_spec='${libname}${release}${shared_ext}$major'
11328 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11329 >    soname_spec='$libname$release$shared_ext$major'
11330      ;;
11331    esac
11332 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11332 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11333    postinstall_cmds='chmod 555 $lib'
11334 +  # or fails outright, so override atomically:
11335 +  install_override_mode=555
11336    ;;
11337  
11338   interix[3-9]*)
11339 <  version_type=linux
11339 >  version_type=linux # correct to gnu/linux during the next big refactor
11340    need_lib_prefix=no
11341    need_version=no
11342 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11343 <  soname_spec='${libname}${release}${shared_ext}$major'
11342 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11343 >  soname_spec='$libname$release$shared_ext$major'
11344    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11345    shlibpath_var=LD_LIBRARY_PATH
11346    shlibpath_overrides_runpath=no
# Line 10051 | Line 11351 | irix5* | irix6* | nonstopux*)
11351    case $host_os in
11352      nonstopux*) version_type=nonstopux ;;
11353      *)
11354 <        if test "$lt_cv_prog_gnu_ld" = yes; then
11355 <                version_type=linux
11354 >        if test yes = "$lt_cv_prog_gnu_ld"; then
11355 >                version_type=linux # correct to gnu/linux during the next big refactor
11356          else
11357                  version_type=irix
11358          fi ;;
11359    esac
11360    need_lib_prefix=no
11361    need_version=no
11362 <  soname_spec='${libname}${release}${shared_ext}$major'
11363 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11362 >  soname_spec='$libname$release$shared_ext$major'
11363 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11364    case $host_os in
11365    irix5* | nonstopux*)
11366      libsuff= shlibsuff=
# Line 10079 | Line 11379 | irix5* | irix6* | nonstopux*)
11379    esac
11380    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11381    shlibpath_overrides_runpath=no
11382 <  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11383 <  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11382 >  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11383 >  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11384    hardcode_into_libs=yes
11385    ;;
11386  
# Line 10089 | Line 11389 | linux*oldld* | linux*aout* | linux*coff*
11389    dynamic_linker=no
11390    ;;
11391  
11392 < # This must be Linux ELF.
11393 < linux* | k*bsd*-gnu)
10094 <  version_type=linux
11392 > linux*android*)
11393 >  version_type=none # Android doesn't support versioned libraries.
11394    need_lib_prefix=no
11395    need_version=no
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'
11397 >  soname_spec='$libname$release$shared_ext'
11398 >  finish_cmds=
11399 >  shlibpath_var=LD_LIBRARY_PATH
11400 >  shlibpath_overrides_runpath=yes
11401 >
11402 >  # This implies no fast_install, which is unacceptable.
11403 >  # Some rework will be needed to allow for fast_install
11404 >  # before this can be enabled.
11405 >  hardcode_into_libs=yes
11406 >
11407 >  dynamic_linker='Android linker'
11408 >  # Don't embed -rpath directories since the linker doesn't support them.
11409 >  hardcode_libdir_flag_spec='-L$libdir'
11410 >  ;;
11411 >
11412 > # This must be glibc/ELF.
11413 > linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11414 >  version_type=linux # correct to gnu/linux during the next big refactor
11415 >  need_lib_prefix=no
11416 >  need_version=no
11417 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11418 >  soname_spec='$libname$release$shared_ext$major'
11419    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11420    shlibpath_var=LD_LIBRARY_PATH
11421    shlibpath_overrides_runpath=no
11422 +
11423    # Some binutils ld are patched to set DT_RUNPATH
11424 <  save_LDFLAGS=$LDFLAGS
11425 <  save_libdir=$libdir
11426 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11427 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11428 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11425 >  $as_echo_n "(cached) " >&6
11426 > else
11427 >  lt_cv_shlibpath_overrides_runpath=no
11428 >    save_LDFLAGS=$LDFLAGS
11429 >    save_libdir=$libdir
11430 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11431 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11432 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433   /* end confdefs.h.  */
11434  
11435   int
# Line 10117 | Line 11442 | main ()
11442   _ACEOF
11443   if ac_fn_c_try_link "$LINENO"; then :
11444    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11445 <  shlibpath_overrides_runpath=yes
11445 >  lt_cv_shlibpath_overrides_runpath=yes
11446   fi
11447   fi
11448   rm -f core conftest.err conftest.$ac_objext \
11449      conftest$ac_exeext conftest.$ac_ext
11450 <  LDFLAGS=$save_LDFLAGS
11451 <  libdir=$save_libdir
11450 >    LDFLAGS=$save_LDFLAGS
11451 >    libdir=$save_libdir
11452 >
11453 > fi
11454 >
11455 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11456  
11457    # This implies no fast_install, which is unacceptable.
11458    # Some rework will be needed to allow for fast_install
# Line 10132 | Line 11461 | rm -f core conftest.err conftest.$ac_obj
11461  
11462    # Append ld.so.conf contents to the search path
11463    if test -f /etc/ld.so.conf; then
11464 <    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' ' '`
11464 >    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' ' '`
11465      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11466    fi
11467  
# Line 10150 | Line 11479 | netbsd*)
11479    need_lib_prefix=no
11480    need_version=no
11481    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11482 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11482 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11483      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11484      dynamic_linker='NetBSD (a.out) ld.so'
11485    else
11486 <    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11487 <    soname_spec='${libname}${release}${shared_ext}$major'
11486 >    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11487 >    soname_spec='$libname$release$shared_ext$major'
11488      dynamic_linker='NetBSD ld.elf_so'
11489    fi
11490    shlibpath_var=LD_LIBRARY_PATH
# Line 10164 | Line 11493 | netbsd*)
11493    ;;
11494  
11495   newsos6)
11496 <  version_type=linux
11497 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11496 >  version_type=linux # correct to gnu/linux during the next big refactor
11497 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11498    shlibpath_var=LD_LIBRARY_PATH
11499    shlibpath_overrides_runpath=yes
11500    ;;
# Line 10174 | Line 11503 | newsos6)
11503    version_type=qnx
11504    need_lib_prefix=no
11505    need_version=no
11506 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11507 <  soname_spec='${libname}${release}${shared_ext}$major'
11506 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11507 >  soname_spec='$libname$release$shared_ext$major'
11508    shlibpath_var=LD_LIBRARY_PATH
11509    shlibpath_overrides_runpath=no
11510    hardcode_into_libs=yes
11511    dynamic_linker='ldqnx.so'
11512    ;;
11513  
11514 < openbsd*)
11514 > openbsd* | bitrig*)
11515    version_type=sunos
11516 <  sys_lib_dlsearch_path_spec="/usr/lib"
11516 >  sys_lib_dlsearch_path_spec=/usr/lib
11517    need_lib_prefix=no
11518 <  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11519 <  case $host_os in
10191 <    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10192 <    *)                          need_version=no  ;;
10193 <  esac
10194 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10195 <  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10196 <  shlibpath_var=LD_LIBRARY_PATH
10197 <  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10198 <    case $host_os in
10199 <      openbsd2.[89] | openbsd2.[89].*)
10200 <        shlibpath_overrides_runpath=no
10201 <        ;;
10202 <      *)
10203 <        shlibpath_overrides_runpath=yes
10204 <        ;;
10205 <      esac
11518 >  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11519 >    need_version=no
11520    else
11521 <    shlibpath_overrides_runpath=yes
11521 >    need_version=yes
11522    fi
11523 +  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11524 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11525 +  shlibpath_var=LD_LIBRARY_PATH
11526 +  shlibpath_overrides_runpath=yes
11527    ;;
11528  
11529   os2*)
11530    libname_spec='$name'
11531 <  shrext_cmds=".dll"
11531 >  version_type=windows
11532 >  shrext_cmds=.dll
11533 >  need_version=no
11534    need_lib_prefix=no
11535 <  library_names_spec='$libname${shared_ext} $libname.a'
11535 >  # OS/2 can only load a DLL with a base name of 8 characters or less.
11536 >  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11537 >    v=$($ECHO $release$versuffix | tr -d .-);
11538 >    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11539 >    $ECHO $n$v`$shared_ext'
11540 >  library_names_spec='${libname}_dll.$libext'
11541    dynamic_linker='OS/2 ld.exe'
11542 <  shlibpath_var=LIBPATH
11542 >  shlibpath_var=BEGINLIBPATH
11543 >  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11544 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11545 >  postinstall_cmds='base_file=`basename \$file`~
11546 >    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11547 >    dldir=$destdir/`dirname \$dlpath`~
11548 >    test -d \$dldir || mkdir -p \$dldir~
11549 >    $install_prog $dir/$dlname \$dldir/$dlname~
11550 >    chmod a+x \$dldir/$dlname~
11551 >    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11552 >      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11553 >    fi'
11554 >  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11555 >    dlpath=$dir/\$dldll~
11556 >    $RM \$dlpath'
11557    ;;
11558  
11559   osf3* | osf4* | osf5*)
11560    version_type=osf
11561    need_lib_prefix=no
11562    need_version=no
11563 <  soname_spec='${libname}${release}${shared_ext}$major'
11564 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11563 >  soname_spec='$libname$release$shared_ext$major'
11564 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11565    shlibpath_var=LD_LIBRARY_PATH
11566    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11567 <  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11567 >  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11568    ;;
11569  
11570   rdos*)
# Line 10233 | Line 11572 | rdos*)
11572    ;;
11573  
11574   solaris*)
11575 <  version_type=linux
11575 >  version_type=linux # correct to gnu/linux during the next big refactor
11576    need_lib_prefix=no
11577    need_version=no
11578 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11579 <  soname_spec='${libname}${release}${shared_ext}$major'
11578 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11579 >  soname_spec='$libname$release$shared_ext$major'
11580    shlibpath_var=LD_LIBRARY_PATH
11581    shlibpath_overrides_runpath=yes
11582    hardcode_into_libs=yes
# Line 10247 | Line 11586 | solaris*)
11586  
11587   sunos4*)
11588    version_type=sunos
11589 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11589 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11590    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11591    shlibpath_var=LD_LIBRARY_PATH
11592    shlibpath_overrides_runpath=yes
11593 <  if test "$with_gnu_ld" = yes; then
11593 >  if test yes = "$with_gnu_ld"; then
11594      need_lib_prefix=no
11595    fi
11596    need_version=yes
11597    ;;
11598  
11599   sysv4 | sysv4.3*)
11600 <  version_type=linux
11601 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11602 <  soname_spec='${libname}${release}${shared_ext}$major'
11600 >  version_type=linux # correct to gnu/linux during the next big refactor
11601 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11602 >  soname_spec='$libname$release$shared_ext$major'
11603    shlibpath_var=LD_LIBRARY_PATH
11604    case $host_vendor in
11605      sni)
# Line 10281 | Line 11620 | sysv4 | sysv4.3*)
11620    ;;
11621  
11622   sysv4*MP*)
11623 <  if test -d /usr/nec ;then
11624 <    version_type=linux
11625 <    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11626 <    soname_spec='$libname${shared_ext}.$major'
11623 >  if test -d /usr/nec; then
11624 >    version_type=linux # correct to gnu/linux during the next big refactor
11625 >    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11626 >    soname_spec='$libname$shared_ext.$major'
11627      shlibpath_var=LD_LIBRARY_PATH
11628    fi
11629    ;;
11630  
11631   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11632 <  version_type=freebsd-elf
11632 >  version_type=sco
11633    need_lib_prefix=no
11634    need_version=no
11635 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11636 <  soname_spec='${libname}${release}${shared_ext}$major'
11635 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11636 >  soname_spec='$libname$release$shared_ext$major'
11637    shlibpath_var=LD_LIBRARY_PATH
11638    shlibpath_overrides_runpath=yes
11639    hardcode_into_libs=yes
11640 <  if test "$with_gnu_ld" = yes; then
11640 >  if test yes = "$with_gnu_ld"; then
11641      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11642    else
11643      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
# Line 10313 | Line 11652 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11652  
11653   tpf*)
11654    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11655 <  version_type=linux
11655 >  version_type=linux # correct to gnu/linux during the next big refactor
11656    need_lib_prefix=no
11657    need_version=no
11658 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11658 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11659    shlibpath_var=LD_LIBRARY_PATH
11660    shlibpath_overrides_runpath=no
11661    hardcode_into_libs=yes
11662    ;;
11663  
11664   uts4*)
11665 <  version_type=linux
11666 <  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11667 <  soname_spec='${libname}${release}${shared_ext}$major'
11665 >  version_type=linux # correct to gnu/linux during the next big refactor
11666 >  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11667 >  soname_spec='$libname$release$shared_ext$major'
11668    shlibpath_var=LD_LIBRARY_PATH
11669    ;;
11670  
# Line 10335 | Line 11674 | uts4*)
11674   esac
11675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11676   $as_echo "$dynamic_linker" >&6; }
11677 < test "$dynamic_linker" = no && can_build_shared=no
11677 > test no = "$dynamic_linker" && can_build_shared=no
11678  
11679   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11680 < if test "$GCC" = yes; then
11680 > if test yes = "$GCC"; then
11681    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11682   fi
11683  
11684 < if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11685 <  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11684 > if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11685 >  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11686   fi
11687 < if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11688 <  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11687 > if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11688 >  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11689   fi
11690  
11691  
# Line 10435 | Line 11774 | fi
11774  
11775  
11776  
11777 +
11778 +
11779 +
11780 +
11781 +
11782    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11783   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11784   hardcode_action=
11785   if test -n "$hardcode_libdir_flag_spec" ||
11786     test -n "$runpath_var" ||
11787 <   test "X$hardcode_automatic" = "Xyes" ; then
11787 >   test yes = "$hardcode_automatic"; then
11788  
11789    # We can hardcode non-existent directories.
11790 <  if test "$hardcode_direct" != no &&
11790 >  if test no != "$hardcode_direct" &&
11791       # If the only mechanism to avoid hardcoding is shlibpath_var, we
11792       # have to relink, otherwise we might link with an installed library
11793       # when we should be linking with a yet-to-be-installed one
11794 <     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11795 <     test "$hardcode_minus_L" != no; then
11794 >     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11795 >     test no != "$hardcode_minus_L"; then
11796      # Linking always hardcodes the temporary library directory.
11797      hardcode_action=relink
11798    else
# Line 10463 | Line 11807 | fi
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11808   $as_echo "$hardcode_action" >&6; }
11809  
11810 < if test "$hardcode_action" = relink ||
11811 <   test "$inherit_rpath" = yes; then
11810 > if test relink = "$hardcode_action" ||
11811 >   test yes = "$inherit_rpath"; then
11812    # Fast installation is not supported
11813    enable_fast_install=no
11814 < elif test "$shlibpath_overrides_runpath" = yes ||
11815 <     test "$enable_shared" = no; then
11814 > elif test yes = "$shlibpath_overrides_runpath" ||
11815 >     test no = "$enable_shared"; then
11816    # Fast installation is not necessary
11817    enable_fast_install=needless
11818   fi
# Line 10478 | Line 11822 | fi
11822  
11823  
11824  
11825 <  if test "x$enable_dlopen" != xyes; then
11825 >  if test yes != "$enable_dlopen"; then
11826    enable_dlopen=unknown
11827    enable_dlopen_self=unknown
11828    enable_dlopen_self_static=unknown
# Line 10488 | Line 11832 | else
11832  
11833    case $host_os in
11834    beos*)
11835 <    lt_cv_dlopen="load_add_on"
11835 >    lt_cv_dlopen=load_add_on
11836      lt_cv_dlopen_libs=
11837      lt_cv_dlopen_self=yes
11838      ;;
11839  
11840    mingw* | pw32* | cegcc*)
11841 <    lt_cv_dlopen="LoadLibrary"
11841 >    lt_cv_dlopen=LoadLibrary
11842      lt_cv_dlopen_libs=
11843      ;;
11844  
11845    cygwin*)
11846 <    lt_cv_dlopen="dlopen"
11846 >    lt_cv_dlopen=dlopen
11847      lt_cv_dlopen_libs=
11848      ;;
11849  
11850    darwin*)
11851 <  # if libdl is installed we need to link against it
11851 >    # if libdl is installed we need to link against it
11852      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11853   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11854 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11854 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11855    $as_echo_n "(cached) " >&6
11856   else
11857    ac_check_lib_save_LIBS=$LIBS
# Line 10541 | Line 11885 | LIBS=$ac_check_lib_save_LIBS
11885   fi
11886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11887   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11888 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11889 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11888 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11889 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11890   else
11891  
11892 <    lt_cv_dlopen="dyld"
11892 >    lt_cv_dlopen=dyld
11893      lt_cv_dlopen_libs=
11894      lt_cv_dlopen_self=yes
11895  
# Line 10553 | Line 11897 | fi
11897  
11898      ;;
11899  
11900 +  tpf*)
11901 +    # Don't try to run any link tests for TPF.  We know it's impossible
11902 +    # because TPF is a cross-compiler, and we know how we open DSOs.
11903 +    lt_cv_dlopen=dlopen
11904 +    lt_cv_dlopen_libs=
11905 +    lt_cv_dlopen_self=no
11906 +    ;;
11907 +
11908    *)
11909      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11910 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11911 <  lt_cv_dlopen="shl_load"
11910 > if test "x$ac_cv_func_shl_load" = xyes; then :
11911 >  lt_cv_dlopen=shl_load
11912   else
11913    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11914   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11915 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11915 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11916    $as_echo_n "(cached) " >&6
11917   else
11918    ac_check_lib_save_LIBS=$LIBS
# Line 10594 | Line 11946 | LIBS=$ac_check_lib_save_LIBS
11946   fi
11947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11948   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11949 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11950 <  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11949 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11950 >  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11951   else
11952    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11953 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11954 <  lt_cv_dlopen="dlopen"
11953 > if test "x$ac_cv_func_dlopen" = xyes; then :
11954 >  lt_cv_dlopen=dlopen
11955   else
11956    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11957   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11958 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11958 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11959    $as_echo_n "(cached) " >&6
11960   else
11961    ac_check_lib_save_LIBS=$LIBS
# Line 10637 | Line 11989 | LIBS=$ac_check_lib_save_LIBS
11989   fi
11990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11991   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11992 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11993 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11992 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11993 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11994   else
11995    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11996   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11997 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11997 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11998    $as_echo_n "(cached) " >&6
11999   else
12000    ac_check_lib_save_LIBS=$LIBS
# Line 10676 | Line 12028 | LIBS=$ac_check_lib_save_LIBS
12028   fi
12029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12030   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12031 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12032 <  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12031 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12032 >  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12033   else
12034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12035   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12036 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12036 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12037    $as_echo_n "(cached) " >&6
12038   else
12039    ac_check_lib_save_LIBS=$LIBS
# Line 10715 | Line 12067 | LIBS=$ac_check_lib_save_LIBS
12067   fi
12068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12069   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12070 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12071 <  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12070 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12071 >  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12072   fi
12073  
12074  
# Line 10737 | Line 12089 | fi
12089      ;;
12090    esac
12091  
12092 <  if test "x$lt_cv_dlopen" != xno; then
10741 <    enable_dlopen=yes
10742 <  else
12092 >  if test no = "$lt_cv_dlopen"; then
12093      enable_dlopen=no
12094 +  else
12095 +    enable_dlopen=yes
12096    fi
12097  
12098    case $lt_cv_dlopen in
12099    dlopen)
12100 <    save_CPPFLAGS="$CPPFLAGS"
12101 <    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12100 >    save_CPPFLAGS=$CPPFLAGS
12101 >    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12102  
12103 <    save_LDFLAGS="$LDFLAGS"
12103 >    save_LDFLAGS=$LDFLAGS
12104      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12105  
12106 <    save_LIBS="$LIBS"
12106 >    save_LIBS=$LIBS
12107      LIBS="$lt_cv_dlopen_libs $LIBS"
12108  
12109      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12110   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12111 < if test "${lt_cv_dlopen_self+set}" = set; then :
12111 > if ${lt_cv_dlopen_self+:} false; then :
12112    $as_echo_n "(cached) " >&6
12113   else
12114 <          if test "$cross_compiling" = yes; then :
12114 >          if test yes = "$cross_compiling"; then :
12115    lt_cv_dlopen_self=cross
12116   else
12117    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12118    lt_status=$lt_dlunknown
12119    cat > conftest.$ac_ext <<_LT_EOF
12120 < #line 10768 "configure"
12120 > #line $LINENO "configure"
12121   #include "confdefs.h"
12122  
12123   #if HAVE_DLFCN_H
# Line 10806 | Line 12158 | else
12158   #  endif
12159   #endif
12160  
12161 < void fnord() { int i=42;}
12161 > /* When -fvisibility=hidden is used, assume the code has been annotated
12162 >   correspondingly for the symbols needed.  */
12163 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12164 > int fnord () __attribute__((visibility("default")));
12165 > #endif
12166 >
12167 > int fnord () { return 42; }
12168   int main ()
12169   {
12170    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10815 | Line 12173 | int main ()
12173    if (self)
12174      {
12175        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12176 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12176 >      else
12177 >        {
12178 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12179 >          else puts (dlerror ());
12180 >        }
12181        /* dlclose (self); */
12182      }
12183    else
# Line 10828 | Line 12190 | _LT_EOF
12190    (eval $ac_link) 2>&5
12191    ac_status=$?
12192    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12193 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12193 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12194      (./conftest; exit; ) >&5 2>/dev/null
12195      lt_status=$?
12196      case x$lt_status in
# Line 10848 | Line 12210 | fi
12210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12211   $as_echo "$lt_cv_dlopen_self" >&6; }
12212  
12213 <    if test "x$lt_cv_dlopen_self" = xyes; then
12213 >    if test yes = "$lt_cv_dlopen_self"; then
12214        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12215        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12216   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12217 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
12217 > if ${lt_cv_dlopen_self_static+:} false; then :
12218    $as_echo_n "(cached) " >&6
12219   else
12220 <          if test "$cross_compiling" = yes; then :
12220 >          if test yes = "$cross_compiling"; then :
12221    lt_cv_dlopen_self_static=cross
12222   else
12223    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12224    lt_status=$lt_dlunknown
12225    cat > conftest.$ac_ext <<_LT_EOF
12226 < #line 10864 "configure"
12226 > #line $LINENO "configure"
12227   #include "confdefs.h"
12228  
12229   #if HAVE_DLFCN_H
# Line 10902 | Line 12264 | else
12264   #  endif
12265   #endif
12266  
12267 < void fnord() { int i=42;}
12267 > /* When -fvisibility=hidden is used, assume the code has been annotated
12268 >   correspondingly for the symbols needed.  */
12269 > #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12270 > int fnord () __attribute__((visibility("default")));
12271 > #endif
12272 >
12273 > int fnord () { return 42; }
12274   int main ()
12275   {
12276    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10911 | Line 12279 | int main ()
12279    if (self)
12280      {
12281        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12282 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12282 >      else
12283 >        {
12284 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12285 >          else puts (dlerror ());
12286 >        }
12287        /* dlclose (self); */
12288      }
12289    else
# Line 10924 | Line 12296 | _LT_EOF
12296    (eval $ac_link) 2>&5
12297    ac_status=$?
12298    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12299 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12299 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12300      (./conftest; exit; ) >&5 2>/dev/null
12301      lt_status=$?
12302      case x$lt_status in
# Line 10945 | Line 12317 | fi
12317   $as_echo "$lt_cv_dlopen_self_static" >&6; }
12318      fi
12319  
12320 <    CPPFLAGS="$save_CPPFLAGS"
12321 <    LDFLAGS="$save_LDFLAGS"
12322 <    LIBS="$save_LIBS"
12320 >    CPPFLAGS=$save_CPPFLAGS
12321 >    LDFLAGS=$save_LDFLAGS
12322 >    LIBS=$save_LIBS
12323      ;;
12324    esac
12325  
# Line 10991 | Line 12363 | else
12363   # FIXME - insert some real tests, host_os isn't really good enough
12364    case $host_os in
12365    darwin*)
12366 <    if test -n "$STRIP" ; then
12366 >    if test -n "$STRIP"; then
12367        striplib="$STRIP -x"
12368        old_striplib="$STRIP -S"
12369        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
# Line 11019 | Line 12391 | fi
12391  
12392  
12393  
12394 <  # Report which library types will actually be built
12394 >  # Report what library types will actually be built
12395    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12396   $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12397    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
# Line 11027 | Line 12399 | $as_echo "$can_build_shared" >&6; }
12399  
12400    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12401   $as_echo_n "checking whether to build shared libraries... " >&6; }
12402 <  test "$can_build_shared" = "no" && enable_shared=no
12402 >  test no = "$can_build_shared" && enable_shared=no
12403  
12404    # On AIX, shared libraries and static libraries use the same namespace, and
12405    # are all built from PIC.
12406    case $host_os in
12407    aix3*)
12408 <    test "$enable_shared" = yes && enable_static=no
12408 >    test yes = "$enable_shared" && enable_static=no
12409      if test -n "$RANLIB"; then
12410        archive_cmds="$archive_cmds~\$RANLIB \$lib"
12411        postinstall_cmds='$RANLIB $lib'
# Line 11041 | Line 12413 | $as_echo_n "checking whether to build sh
12413      ;;
12414  
12415    aix[4-9]*)
12416 <    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12417 <      test "$enable_shared" = yes && enable_static=no
12416 >    if test ia64 != "$host_cpu"; then
12417 >      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12418 >      yes,aix,yes) ;;                   # shared object as lib.so file only
12419 >      yes,svr4,*) ;;                    # shared object as lib.so archive member only
12420 >      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12421 >      esac
12422      fi
12423      ;;
12424    esac
# Line 11052 | Line 12428 | $as_echo "$enable_shared" >&6; }
12428    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12429   $as_echo_n "checking whether to build static libraries... " >&6; }
12430    # Make sure either enable_shared or enable_static is yes.
12431 <  test "$enable_shared" = yes || enable_static=yes
12431 >  test yes = "$enable_shared" || enable_static=yes
12432    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12433   $as_echo "$enable_static" >&6; }
12434  
# Line 11066 | Line 12442 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12442   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12443   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12444  
12445 < CC="$lt_save_CC"
12445 > CC=$lt_save_CC
12446 >
12447 >
12448  
12449  
12450  
# Line 11088 | Line 12466 | CC="$lt_save_CC"
12466   # Only expand once:
12467  
12468  
12469 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12470 < $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12471 < if test "${libltdl_cv_shlibext+set}" = set; then :
12469 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12470 > $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12471 > if ${libltdl_cv_shlibext+:} false; then :
12472    $as_echo_n "(cached) " >&6
12473   else
12474  
12475   module=yes
12476   eval libltdl_cv_shlibext=$shrext_cmds
12477 + module=no
12478 + eval libltdl_cv_shrext=$shrext_cmds
12479  
12480   fi
12481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11107 | Line 12487 | cat >>confdefs.h <<_ACEOF
12487   _ACEOF
12488  
12489   fi
12490 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12491  
12492 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12493 < $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12494 < if test "${lt_cv_module_path_var+set}" = set; then :
12492 > cat >>confdefs.h <<_ACEOF
12493 > #define LT_SHARED_EXT "$libltdl_cv_shrext"
12494 > _ACEOF
12495 >
12496 > fi
12497 > if test -n "$shared_archive_member_spec"; then
12498 >
12499 > cat >>confdefs.h <<_ACEOF
12500 > #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12501 > _ACEOF
12502 >
12503 > fi
12504 >
12505 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12506 > $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12507 > if ${lt_cv_module_path_var+:} false; then :
12508    $as_echo_n "(cached) " >&6
12509   else
12510 <  lt_cv_module_path_var="$shlibpath_var"
12510 >  lt_cv_module_path_var=$shlibpath_var
12511   fi
12512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12513   $as_echo "$lt_cv_module_path_var" >&6; }
# Line 11127 | Line 12521 | fi
12521  
12522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12523   $as_echo_n "checking for the default library search path... " >&6; }
12524 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12524 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12525    $as_echo_n "(cached) " >&6
12526   else
12527 <  lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12527 >  lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
12528   fi
12529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12530   $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
# Line 11138 | Line 12532 | if test -n "$lt_cv_sys_dlsearch_path"; t
12532    sys_dlsearch_path=
12533    for dir in $lt_cv_sys_dlsearch_path; do
12534      if test -z "$sys_dlsearch_path"; then
12535 <      sys_dlsearch_path="$dir"
12535 >      sys_dlsearch_path=$dir
12536      else
12537 <      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12537 >      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
12538      fi
12539    done
12540  
# Line 11160 | Line 12554 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
12554   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12555   ac_compiler_gnu=$ac_cv_c_compiler_gnu
12556  
12557 + lt_dlload_save_LIBS=$LIBS
12558  
12559   LIBADD_DLOPEN=
12560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12561   $as_echo_n "checking for library containing dlopen... " >&6; }
12562 < if test "${ac_cv_search_dlopen+set}" = set; then :
12562 > if ${ac_cv_search_dlopen+:} false; then :
12563    $as_echo_n "(cached) " >&6
12564   else
12565    ac_func_search_save_LIBS=$LIBS
# Line 11198 | Line 12593 | for ac_lib in '' dl; do
12593   fi
12594   rm -f core conftest.err conftest.$ac_objext \
12595      conftest$ac_exeext
12596 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12596 >  if ${ac_cv_search_dlopen+:} false; then :
12597    break
12598   fi
12599   done
12600 < if test "${ac_cv_search_dlopen+set}" = set; then :
12600 > if ${ac_cv_search_dlopen+:} false; then :
12601  
12602   else
12603    ac_cv_search_dlopen=no
# Line 11218 | Line 12613 | if test "$ac_res" != no; then :
12613  
12614   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12615  
12616 <        if test "$ac_cv_search_dlopen" != "none required" ; then
12617 <          LIBADD_DLOPEN="-ldl"
12616 >        if test "$ac_cv_search_dlopen" != "none required"; then
12617 >          LIBADD_DLOPEN=-ldl
12618          fi
12619 <        libltdl_cv_lib_dl_dlopen="yes"
12619 >        libltdl_cv_lib_dl_dlopen=yes
12620          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12621   else
12622    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 11242 | Line 12637 | if ac_fn_c_try_link "$LINENO"; then :
12637  
12638   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12639  
12640 <            libltdl_cv_func_dlopen="yes"
12640 >            libltdl_cv_func_dlopen=yes
12641              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12642   else
12643    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12644   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12645 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12645 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12646    $as_echo_n "(cached) " >&6
12647   else
12648    ac_check_lib_save_LIBS=$LIBS
# Line 11281 | Line 12676 | LIBS=$ac_check_lib_save_LIBS
12676   fi
12677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12678   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12679 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12679 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12680  
12681   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12682  
12683 <                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12683 >                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
12684                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12685   fi
12686  
# Line 11294 | Line 12689 | rm -f core conftest.err conftest.$ac_obj
12689      conftest$ac_exeext conftest.$ac_ext
12690   fi
12691  
12692 < if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12692 > if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
12693   then
12694 <  lt_save_LIBS="$LIBS"
12694 >  lt_save_LIBS=$LIBS
12695    LIBS="$LIBS $LIBADD_DLOPEN"
12696    for ac_func in dlerror
12697   do :
12698    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12699 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12699 > if test "x$ac_cv_func_dlerror" = xyes; then :
12700    cat >>confdefs.h <<_ACEOF
12701   #define HAVE_DLERROR 1
12702   _ACEOF
# Line 11309 | Line 12704 | _ACEOF
12704   fi
12705   done
12706  
12707 <  LIBS="$lt_save_LIBS"
12707 >  LIBS=$lt_save_LIBS
12708   fi
12709  
12710  
12711   LIBADD_SHL_LOAD=
12712   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12713 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12713 > if test "x$ac_cv_func_shl_load" = xyes; then :
12714  
12715   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12716  
# Line 11323 | Line 12718 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12718   else
12719    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12720   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12721 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12721 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12722    $as_echo_n "(cached) " >&6
12723   else
12724    ac_check_lib_save_LIBS=$LIBS
# Line 11357 | Line 12752 | LIBS=$ac_check_lib_save_LIBS
12752   fi
12753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12754   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12755 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12755 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12756  
12757   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12758  
12759              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12760 <            LIBADD_SHL_LOAD="-ldld"
12760 >            LIBADD_SHL_LOAD=-ldld
12761   fi
12762  
12763   fi
# Line 11373 | Line 12768 | case $host_os in
12768   darwin[1567].*)
12769   # We only want this for pre-Mac OS X 10.4.
12770    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12771 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12771 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12772  
12773   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12774  
# Line 11384 | Line 12779 | fi
12779   beos*)
12780    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12781    ;;
12782 < cygwin* | mingw* | os2* | pw32*)
12782 > cygwin* | mingw* | pw32*)
12783    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12784   "
12785 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12785 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12786    ac_have_decl=1
12787   else
12788    ac_have_decl=0
# Line 11403 | Line 12798 | esac
12798  
12799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12800   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12801 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12801 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12802    $as_echo_n "(cached) " >&6
12803   else
12804    ac_check_lib_save_LIBS=$LIBS
# Line 11437 | Line 12832 | LIBS=$ac_check_lib_save_LIBS
12832   fi
12833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12834   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12835 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12835 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12836  
12837   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12838  
# Line 11462 | Line 12857 | fi
12857   LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12858  
12859  
12860 + LIBS=$lt_dlload_save_LIBS
12861   ac_ext=c
12862   ac_cpp='$CPP $CPPFLAGS'
12863   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 11471 | Line 12867 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12867  
12868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12869   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12870 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12870 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12871    $as_echo_n "(cached) " >&6
12872   else
12873    lt_cv_sys_symbol_underscore=no
# Line 11516 | Line 12912 | $as_echo "$lt_cv_sys_symbol_underscore"
12912    sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12913  
12914  
12915 < if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12916 <  if test x"$libltdl_cv_func_dlopen" = xyes ||
12917 <     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
11522 <        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12915 > if test yes = "$lt_cv_sys_symbol_underscore"; then
12916 >  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
12917 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12918   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12919 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12919 > if ${libltdl_cv_need_uscore+:} false; then :
12920    $as_echo_n "(cached) " >&6
12921   else
12922    libltdl_cv_need_uscore=unknown
12923 <          save_LIBS="$LIBS"
12924 <          LIBS="$LIBS $LIBADD_DLOPEN"
12925 <          if test "$cross_compiling" = yes; then :
12926 <  libltdl_cv_need_uscore=cross
12927 < else
11533 <  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11534 <  lt_status=$lt_dlunknown
11535 <  cat > conftest.$ac_ext <<_LT_EOF
11536 < #line 11536 "configure"
12923 >      dlsym_uscore_save_LIBS=$LIBS
12924 >      LIBS="$LIBS $LIBADD_DLOPEN"
12925 >      libname=conftmod # stay within 8.3 filename limits!
12926 >      cat >$libname.$ac_ext <<_LT_EOF
12927 > #line $LINENO "configure"
12928   #include "confdefs.h"
12929 + /* When -fvisibility=hidden is used, assume the code has been annotated
12930 +   correspondingly for the symbols needed.  */
12931 + #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12932 + int fnord () __attribute__((visibility("default")));
12933 + #endif
12934 + int fnord () { return 42; }
12935 + _LT_EOF
12936  
12937 +      # ltfn_module_cmds module_cmds
12938 +      # Execute tilde-delimited MODULE_CMDS with environment primed for
12939 +      # $module_cmds or $archive_cmds type content.
12940 +      ltfn_module_cmds ()
12941 +      {( # subshell avoids polluting parent global environment
12942 +          module_cmds_save_ifs=$IFS; IFS='~'
12943 +          for cmd in $1; do
12944 +            IFS=$module_cmds_save_ifs
12945 +            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
12946 +            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
12947 +            major=; versuffix=; verstring=; deplibs=
12948 +            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
12949 +            eval $cmd
12950 +          done
12951 +          IFS=$module_cmds_save_ifs
12952 +      )}
12953 +
12954 +      # Compile a loadable module using libtool macro expansion results.
12955 +      $CC $pic_flag -c $libname.$ac_ext
12956 +      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
12957 +
12958 +      # Try to fetch fnord with dlsym().
12959 +      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
12960 +      cat >conftest.$ac_ext <<_LT_EOF
12961 + #line $LINENO "configure"
12962 + #include "confdefs.h"
12963   #if HAVE_DLFCN_H
12964   #include <dlfcn.h>
12965   #endif
11542
12966   #include <stdio.h>
12967 <
11545 < #ifdef RTLD_GLOBAL
11546 < #  define LT_DLGLOBAL           RTLD_GLOBAL
11547 < #else
12967 > #ifndef RTLD_GLOBAL
12968   #  ifdef DL_GLOBAL
12969 < #    define LT_DLGLOBAL         DL_GLOBAL
12969 > #    define RTLD_GLOBAL DL_GLOBAL
12970   #  else
12971 < #    define LT_DLGLOBAL         0
12971 > #    define RTLD_GLOBAL 0
12972   #  endif
12973   #endif
12974 <
12975 < /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12976 <   find out it does not work in some platform. */
11557 < #ifndef LT_DLLAZY_OR_NOW
11558 < #  ifdef RTLD_LAZY
11559 < #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12974 > #ifndef RTLD_NOW
12975 > #  ifdef DL_NOW
12976 > #    define RTLD_NOW DL_NOW
12977   #  else
12978 < #    ifdef DL_LAZY
11562 < #      define LT_DLLAZY_OR_NOW          DL_LAZY
11563 < #    else
11564 < #      ifdef RTLD_NOW
11565 < #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11566 < #      else
11567 < #        ifdef DL_NOW
11568 < #          define LT_DLLAZY_OR_NOW      DL_NOW
11569 < #        else
11570 < #          define LT_DLLAZY_OR_NOW      0
11571 < #        endif
11572 < #      endif
11573 < #    endif
12978 > #    define RTLD_NOW 0
12979   #  endif
12980   #endif
12981 <
12982 < void fnord() { int i=42;}
12983 < int main ()
12984 < {
12985 <  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12986 <  int status = $lt_dlunknown;
12987 <
12988 <  if (self)
12989 <    {
12990 <      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12991 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11587 <      /* dlclose (self); */
12981 > int main () {
12982 >  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
12983 >  int status = $libltdl_dlunknown;
12984 >  if (handle) {
12985 >    if (dlsym (handle, "fnord"))
12986 >      status = $libltdl_dlnouscore;
12987 >    else {
12988 >      if (dlsym (handle, "_fnord"))
12989 >        status = $libltdl_dluscore;
12990 >      else
12991 >        puts (dlerror ());
12992      }
12993 <  else
12993 >    dlclose (handle);
12994 >  } else
12995      puts (dlerror ());
11591
12996    return status;
12997   }
12998   _LT_EOF
12999 <  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12999 >      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13000    (eval $ac_link) 2>&5
13001    ac_status=$?
13002    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13003 <  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13004 <    (./conftest; exit; ) >&5 2>/dev/null
13005 <    lt_status=$?
13006 <    case x$lt_status in
13007 <      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
13008 <      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
13009 <      x$lt_dlunknown|x*)  ;;
13010 <    esac
13011 <  else :
13012 <    # compilation failed
13013 <
11610 <  fi
11611 < fi
11612 < rm -fr conftest*
11613 <
11614 <          LIBS="$save_LIBS"
13003 >  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13004 >        (./conftest; exit; ) >&5 2>/dev/null
13005 >        libltdl_status=$?
13006 >        case x$libltdl_status in
13007 >          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
13008 >          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
13009 >          x*) libltdl_cv_need_uscore=unknown ;;
13010 >        esac
13011 >      fi
13012 >      rm -rf conftest* $libname*
13013 >      LIBS=$dlsym_uscore_save_LIBS
13014  
13015   fi
13016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
# Line 11619 | Line 13018 | $as_echo "$libltdl_cv_need_uscore" >&6;
13018    fi
13019   fi
13020  
13021 < if test x"$libltdl_cv_need_uscore" = xyes; then
13021 > if test yes = "$libltdl_cv_need_uscore"; then
13022  
13023   $as_echo "#define NEED_USCORE 1" >>confdefs.h
13024  
# Line 11627 | Line 13026 | fi
13026  
13027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
13028   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
13029 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
13029 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
13030    $as_echo_n "(cached) " >&6
13031   else
13032    # PORTME does your system automatically load deplibs for dlopen?
# Line 11638 | Line 13037 | else
13037    case $host_os in
13038    aix3*|aix4.1.*|aix4.2.*)
13039      # Unknown whether this is true for these versions of AIX, but
13040 <    # we want this `case' here to explicitly catch those versions.
13040 >    # we want this 'case' here to explicitly catch those versions.
13041      lt_cv_sys_dlopen_deplibs=unknown
13042      ;;
13043    aix[4-9]*)
# Line 11651 | Line 13050 | else
13050        ;;
13051      esac
13052      ;;
13053 +  bitrig*)
13054 +    lt_cv_sys_dlopen_deplibs=yes
13055 +    ;;
13056    darwin*)
13057      # Assuming the user has installed a libdl from somewhere, this is true
13058      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
# Line 11659 | Line 13061 | else
13061    freebsd* | dragonfly*)
13062      lt_cv_sys_dlopen_deplibs=yes
13063      ;;
13064 <  gnu* | linux* | k*bsd*-gnu)
13064 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
13065      # GNU and its variants, using gnu ld.so (Glibc)
13066      lt_cv_sys_dlopen_deplibs=yes
13067      ;;
# Line 11688 | Line 13090 | else
13090    osf[1234]*)
13091      # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
13092      # it did *not* use an RPATH in a shared library to find objects the
13093 <    # library depends on, so we explicitly say `no'.
13093 >    # library depends on, so we explicitly say 'no'.
13094      lt_cv_sys_dlopen_deplibs=no
13095      ;;
13096    osf5.0|osf5.0a|osf5.1)
# Line 11697 | Line 13099 | else
13099      # that the library depends on, but there's no easy way to know if that
13100      # patch is installed.  Since this is the case, all we can really
13101      # say is unknown -- it depends on the patch being installed.  If
13102 <    # it is, this changes to `yes'.  Without it, it would be `no'.
13102 >    # it is, this changes to 'yes'.  Without it, it would be 'no'.
13103      lt_cv_sys_dlopen_deplibs=unknown
13104      ;;
13105    osf*)
13106      # the two cases above should catch all versions of osf <= 5.1.  Read
13107      # the comments above for what we know about them.
13108      # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
13109 <    # is used to find them so we can finally say `yes'.
13109 >    # is used to find them so we can finally say 'yes'.
13110      lt_cv_sys_dlopen_deplibs=yes
13111      ;;
13112    qnx*)
# Line 11721 | Line 13123 | else
13123   fi
13124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13125   $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13126 < if test "$lt_cv_sys_dlopen_deplibs" != yes; then
13126 > if test yes != "$lt_cv_sys_dlopen_deplibs"; then
13127  
13128   $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13129  
13130   fi
13131  
11730 :
13132  
13133   for ac_header in argz.h
13134   do :
13135    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13136   "
13137 < if test "x$ac_cv_header_argz_h" = x""yes; then :
13137 > if test "x$ac_cv_header_argz_h" = xyes; then :
13138    cat >>confdefs.h <<_ACEOF
13139   #define HAVE_ARGZ_H 1
13140   _ACEOF
# Line 11747 | Line 13148 | ac_fn_c_check_type "$LINENO" "error_t" "
13148   #  include <argz.h>
13149   #endif
13150   "
13151 < if test "x$ac_cv_type_error_t" = x""yes; then :
13151 > if test "x$ac_cv_type_error_t" = xyes; then :
13152  
13153   cat >>confdefs.h <<_ACEOF
13154   #define HAVE_ERROR_T 1
# Line 11764 | Line 13165 | $as_echo "#define __error_t_defined 1" >
13165   fi
13166  
13167  
13168 < ARGZ_H=
13168 > LT_ARGZ_H=
13169   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13170          argz_next argz_stringify
13171   do :
13172    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13173   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13174 < eval as_val=\$$as_ac_var
11774 <   if test "x$as_val" = x""yes; then :
13174 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13175    cat >>confdefs.h <<_ACEOF
13176   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13177   _ACEOF
13178  
13179   else
13180 <  ARGZ_H=argz.h;
13180 >  LT_ARGZ_H=lt__argz.h;
13181  
13182 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13182 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13183  
13184   fi
13185   done
13186  
13187  
13188 < if test -z "$ARGZ_H"; then :
13188 > if test -z "$LT_ARGZ_H"; then :
13189    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13190   $as_echo_n "checking if argz actually works... " >&6; }
13191 < if test "${lt_cv_sys_argz_works+set}" = set; then :
13191 > if ${lt_cv_sys_argz_works+:} false; then :
13192    $as_echo_n "(cached) " >&6
13193   else
13194    case $host_os in #(
13195           *cygwin*)
13196             lt_cv_sys_argz_works=no
13197 <           if test "$cross_compiling" != no; then
13197 >           if test no != "$cross_compiling"; then
13198               lt_cv_sys_argz_works="guessing no"
13199             else
13200               lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
# Line 11805 | Line 13205 | else
13205               lt_os_major=${2-0}
13206               lt_os_minor=${3-0}
13207               lt_os_micro=${4-0}
13208 <             if test "$lt_os_major" -gt 1 \
13209 <                || { test "$lt_os_major" -eq 1 \
13210 <                  && { test "$lt_os_minor" -gt 5 \
13211 <                    || { test "$lt_os_minor" -eq 5 \
13212 <                      && test "$lt_os_micro" -gt 24; }; }; }; then
13208 >             if test 1 -lt "$lt_os_major" \
13209 >                || { test 1 -eq "$lt_os_major" \
13210 >                  && { test 5 -lt "$lt_os_minor" \
13211 >                    || { test 5 -eq "$lt_os_minor" \
13212 >                      && test 24 -lt "$lt_os_micro"; }; }; }; then
13213                 lt_cv_sys_argz_works=yes
13214               fi
13215             fi
# Line 11819 | Line 13219 | else
13219   fi
13220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13221   $as_echo "$lt_cv_sys_argz_works" >&6; }
13222 <     if test $lt_cv_sys_argz_works = yes; then :
13222 >     if test yes = "$lt_cv_sys_argz_works"; then :
13223  
13224   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13225  
13226   else
13227 <  ARGZ_H=argz.h
13227 >  LT_ARGZ_H=lt__argz.h
13228  
13229  
13230 <  _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
13230 >  _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
13231  
13232   fi
13233   fi
# Line 11836 | Line 13236 | fi
13236  
13237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13238   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13239 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
13239 > if ${libltdl_cv_preloaded_symbols+:} false; then :
13240    $as_echo_n "(cached) " >&6
13241   else
13242    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11848 | Line 13248 | else
13248   fi
13249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13250   $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13251 < if test x"$libltdl_cv_preloaded_symbols" = xyes; then
13251 > if test yes = "$libltdl_cv_preloaded_symbols"; then
13252  
13253   $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13254  
13255   fi
13256  
11857
11858
13257   # Set options
13258  
13259  
# Line 11868 | Line 13266 | fi
13266  
13267  
13268  
11871
13269   # Check whether --with-included_ltdl was given.
13270   if test "${with_included_ltdl+set}" = set; then :
13271    withval=$with_included_ltdl;
13272   fi
13273  
13274  
13275 < if test "x$with_included_ltdl" != xyes; then
13275 > if test yes != "$with_included_ltdl"; then
13276    # We are not being forced to use the included libltdl sources, so
13277    # decide whether there is a useful installed version we can use.
13278    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13279  
13280   "
13281 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
13281 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
13282    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13283              #include <ltdl.h>
13284   "
13285 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
13285 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
13286    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13287   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13288 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
13288 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
13289    $as_echo_n "(cached) " >&6
13290   else
13291    ac_check_lib_save_LIBS=$LIBS
# Line 11922 | Line 13319 | LIBS=$ac_check_lib_save_LIBS
13319   fi
13320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13321   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13322 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
13322 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
13323    with_included_ltdl=no
13324   else
13325    with_included_ltdl=yes
# Line 11951 | Line 13348 | fi
13348   if test -n "$with_ltdl_include"; then
13349    if test -f "$with_ltdl_include/ltdl.h"; then :
13350    else
13351 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
13351 >    as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
13352    fi
13353   else
13354    with_ltdl_include=no
# Line 11967 | Line 13364 | fi
13364   if test -n "$with_ltdl_lib"; then
13365    if test -f "$with_ltdl_lib/libltdl.la"; then :
13366    else
13367 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
13367 >    as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
13368    fi
13369   else
13370    with_ltdl_lib=no
# Line 11976 | Line 13373 | fi
13373   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13374    ,yes,no,no,)
13375          case $enable_ltdl_convenience in
13376 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13376 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13377    "") enable_ltdl_convenience=yes
13378        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13379   esac
13380 < LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13380 > LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13381   LTDLDEPS=$LIBLTDL
13382 < LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13382 > LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13383  
13384  
13385  
13386  
13387  
13388   # For backwards non-gettext consistent compatibility...
13389 < INCLTDL="$LTDLINCL"
13389 > INCLTDL=$LTDLINCL
13390  
13391  
13392          ;;
# Line 12004 | Line 13401 | $as_echo "#define HAVE_LTDL 1" >>confdef
13401          LTDLINCL=
13402          ;;
13403    ,no*,no,*)
13404 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13404 >        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
13405          ;;
13406    *)    with_included_ltdl=no
13407          LIBLTDL="-L$with_ltdl_lib -lltdl"
13408          LTDLDEPS=
13409 <        LTDLINCL="-I$with_ltdl_include"
13409 >        LTDLINCL=-I$with_ltdl_include
13410          ;;
13411   esac
13412 < INCLTDL="$LTDLINCL"
13412 > INCLTDL=$LTDLINCL
13413  
13414   # Report our decision...
13415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
# Line 12032 | Line 13429 | if test "${enable_ltdl_install+set}" = s
13429   fi
13430  
13431  
13432 < case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13432 > case ,$enable_ltdl_install,$enable_ltdl_convenience in
13433    *yes*) ;;
13434    *) enable_ltdl_convenience=yes ;;
13435   esac
13436  
13437 < if test x"${enable_ltdl_install-no}" != xno; then
13437 > if test no != "${enable_ltdl_install-no}"; then
13438    INSTALL_LTDL_TRUE=
13439    INSTALL_LTDL_FALSE='#'
13440   else
# Line 12045 | Line 13442 | else
13442    INSTALL_LTDL_FALSE=
13443   fi
13444  
13445 <  if test x"${enable_ltdl_convenience-no}" != xno; then
13445 >  if test no != "${enable_ltdl_convenience-no}"; then
13446    CONVENIENCE_LTDL_TRUE=
13447    CONVENIENCE_LTDL_FALSE='#'
13448   else
# Line 12055 | Line 13452 | fi
13452  
13453  
13454  
12058    subdirs="$subdirs libltdl"
12059
12060
13455  
13456  
13457  
# Line 12074 | Line 13468 | do :
13468    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13469   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13470   "
13471 < eval as_val=\$$as_ac_Header
12078 <   if test "x$as_val" = x""yes; then :
13471 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13472    cat >>confdefs.h <<_ACEOF
13473   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13474   _ACEOF
# Line 12089 | Line 13482 | for ac_func in closedir opendir readdir
13482   do :
13483    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13484   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13485 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
13485 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13486    cat >>confdefs.h <<_ACEOF
13487   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13488   _ACEOF
# Line 12107 | Line 13499 | for ac_func in strlcat strlcpy
13499   do :
13500    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13501   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13502 < eval as_val=\$$as_ac_var
12111 <   if test "x$as_val" = x""yes; then :
13502 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13503    cat >>confdefs.h <<_ACEOF
13504   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13505   _ACEOF
# Line 12128 | Line 13519 | cat >>confdefs.h <<_ACEOF
13519   _ACEOF
13520  
13521  
13522 + name=
13523 + eval "lt_libprefix=\"$libname_spec\""
13524 +
13525 + cat >>confdefs.h <<_ACEOF
13526 + #define LT_LIBPREFIX "$lt_libprefix"
13527 + _ACEOF
13528 +
13529 +
13530   name=ltdl
13531 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13531 > eval "LTDLOPEN=\"$libname_spec\""
13532  
13533  
13534  
# Line 12145 | Line 13544 | LIBTOOL="$LIBTOOL --silent"
13544  
13545   # Checks for libraries.
13546  
13547 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13548 < $as_echo_n "checking for library containing socket... " >&6; }
13549 < if test "${ac_cv_search_socket+set}" = set; then :
13547 >
13548 >  if test "X$CC" != "X"; then
13549 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13550 > $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13551 > if ${ssp_cv_cc+:} false; then :
13552 >  $as_echo_n "(cached) " >&6
13553 > else
13554 >  ssp_old_cflags="$CFLAGS"
13555 >       CFLAGS="$CFLAGS -fstack-protector"
13556 >       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 > /* end confdefs.h.  */
13558 >
13559 > int
13560 > main ()
13561 > {
13562 >
13563 >  ;
13564 >  return 0;
13565 > }
13566 > _ACEOF
13567 > if ac_fn_c_try_compile "$LINENO"; then :
13568 >  ssp_cv_cc=yes
13569 > else
13570 >  ssp_cv_cc=no
13571 > fi
13572 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13573 >       CFLAGS="$ssp_old_cflags"
13574 >
13575 > fi
13576 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13577 > $as_echo "$ssp_cv_cc" >&6; }
13578 >    if test $ssp_cv_cc = yes; then
13579 >      CFLAGS="$CFLAGS -fstack-protector"
13580 >
13581 > $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13582 >
13583 >    fi
13584 >  fi
13585 >
13586 >
13587 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13588 > $as_echo_n "checking whether libssp exists... " >&6; }
13589 > if ${ssp_cv_lib+:} false; then :
13590 >  $as_echo_n "(cached) " >&6
13591 > else
13592 >  ssp_old_libs="$LIBS"
13593 >     LIBS="$LIBS -lssp"
13594 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595 > /* end confdefs.h.  */
13596 >
13597 > int
13598 > main ()
13599 > {
13600 >
13601 >  ;
13602 >  return 0;
13603 > }
13604 > _ACEOF
13605 > if ac_fn_c_try_link "$LINENO"; then :
13606 >  ssp_cv_lib=yes
13607 > else
13608 >  ssp_cv_lib=no
13609 > fi
13610 > rm -f core conftest.err conftest.$ac_objext \
13611 >    conftest$ac_exeext conftest.$ac_ext
13612 >     LIBS="$ssp_old_libs"
13613 >
13614 > fi
13615 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13616 > $as_echo "$ssp_cv_lib" >&6; }
13617 >  if test $ssp_cv_lib = yes; then
13618 >    LIBS="$LIBS -lssp"
13619 >  fi
13620 >
13621 >
13622 >
13623 >
13624 >
13625 >
13626 > for flag in -fno-strict-aliasing; do
13627 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13628 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13629 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13630 > if eval \${$as_CACHEVAR+:} false; then :
13631 >  $as_echo_n "(cached) " >&6
13632 > else
13633 >
13634 >  ax_check_save_flags=$CFLAGS
13635 >  CFLAGS="$CFLAGS  $flag"
13636 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 > /* end confdefs.h.  */
13638 >
13639 > int
13640 > main ()
13641 > {
13642 >
13643 >  ;
13644 >  return 0;
13645 > }
13646 > _ACEOF
13647 > if ac_fn_c_try_compile "$LINENO"; then :
13648 >  eval "$as_CACHEVAR=yes"
13649 > else
13650 >  eval "$as_CACHEVAR=no"
13651 > fi
13652 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13653 >  CFLAGS=$ax_check_save_flags
13654 > fi
13655 > eval ac_res=\$$as_CACHEVAR
13656 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13657 > $as_echo "$ac_res" >&6; }
13658 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13659 >  if ${CFLAGS+:} false; then :
13660 >  case " $CFLAGS " in
13661 >    *" $flag "*)
13662 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13663 >  (: CFLAGS already contains $flag) 2>&5
13664 >  ac_status=$?
13665 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13666 >  test $ac_status = 0; }
13667 >      ;;
13668 >    *)
13669 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13670 >  (: CFLAGS="$CFLAGS $flag") 2>&5
13671 >  ac_status=$?
13672 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13673 >  test $ac_status = 0; }
13674 >      CFLAGS="$CFLAGS $flag"
13675 >      ;;
13676 >   esac
13677 > else
13678 >  CFLAGS="$flag"
13679 > fi
13680 >
13681 > else
13682 >  :
13683 > fi
13684 >
13685 > done
13686 >
13687 >
13688 >  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13689 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13690 >
13691 > else
13692 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13693 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13694 > if ${ac_cv_search_getaddrinfo+:} false; then :
13695    $as_echo_n "(cached) " >&6
13696   else
13697    ac_func_search_save_LIBS=$LIBS
# Line 12160 | Line 13704 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13704   #ifdef __cplusplus
13705   extern "C"
13706   #endif
13707 < char socket ();
13707 > char getaddrinfo ();
13708   int
13709   main ()
13710   {
13711 < return socket ();
13711 > return getaddrinfo ();
13712    ;
13713    return 0;
13714   }
13715   _ACEOF
13716 < for ac_lib in '' socket; do
13716 > for ac_lib in '' nsl; do
13717    if test -z "$ac_lib"; then
13718      ac_res="none required"
13719    else
# Line 12177 | Line 13721 | for ac_lib in '' socket; do
13721      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13722    fi
13723    if ac_fn_c_try_link "$LINENO"; then :
13724 <  ac_cv_search_socket=$ac_res
13724 >  ac_cv_search_getaddrinfo=$ac_res
13725   fi
13726   rm -f core conftest.err conftest.$ac_objext \
13727      conftest$ac_exeext
13728 <  if test "${ac_cv_search_socket+set}" = set; then :
13728 >  if ${ac_cv_search_getaddrinfo+:} false; then :
13729    break
13730   fi
13731   done
13732 < if test "${ac_cv_search_socket+set}" = set; then :
13732 > if ${ac_cv_search_getaddrinfo+:} false; then :
13733  
13734   else
13735 <  ac_cv_search_socket=no
13735 >  ac_cv_search_getaddrinfo=no
13736   fi
13737   rm conftest.$ac_ext
13738   LIBS=$ac_func_search_save_LIBS
13739   fi
13740 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13741 < $as_echo "$ac_cv_search_socket" >&6; }
13742 < ac_res=$ac_cv_search_socket
13740 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13741 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13742 > ac_res=$ac_cv_search_getaddrinfo
13743   if test "$ac_res" != no; then :
13744    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13745  
12202 else
12203  as_fn_error "socket library not found" "$LINENO" 5
13746   fi
13747  
12206  for ac_func in inet_aton inet_ntop inet_pton
12207 do :
12208  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12210 eval as_val=\$$as_ac_var
12211   if test "x$as_val" = x""yes; then :
12212  cat >>confdefs.h <<_ACEOF
12213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12214 _ACEOF
12215
13748   fi
12217 done
13749  
13750 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13751 <   #include <sys/socket.h>
12221 <   #include <netdb.h>
13750 >  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13751 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
13752  
13753 < "
13754 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13753 > else
13754 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13755 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
13756 > if ${ac_cv_search_getnameinfo+:} false; then :
13757 >  $as_echo_n "(cached) " >&6
13758 > else
13759 >  ac_func_search_save_LIBS=$LIBS
13760 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 > /* end confdefs.h.  */
13762  
13763 < cat >>confdefs.h <<_ACEOF
13764 < #define HAVE_STRUCT_SOCKADDR_IN 1
13763 > /* Override any GCC internal prototype to avoid an error.
13764 >   Use char because int might match the return type of a GCC
13765 >   builtin and then its argument prototype would still apply.  */
13766 > #ifdef __cplusplus
13767 > extern "C"
13768 > #endif
13769 > char getnameinfo ();
13770 > int
13771 > main ()
13772 > {
13773 > return getnameinfo ();
13774 >  ;
13775 >  return 0;
13776 > }
13777   _ACEOF
13778 <
13779 <
13778 > for ac_lib in '' nsl; do
13779 >  if test -z "$ac_lib"; then
13780 >    ac_res="none required"
13781 >  else
13782 >    ac_res=-l$ac_lib
13783 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13784 >  fi
13785 >  if ac_fn_c_try_link "$LINENO"; then :
13786 >  ac_cv_search_getnameinfo=$ac_res
13787   fi
13788 < ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13789 <   #include <sys/socket.h>
13790 <   #include <netdb.h>
13791 <
12236 < "
12237 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
12238 <
12239 < cat >>confdefs.h <<_ACEOF
12240 < #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12241 < _ACEOF
12242 <
12243 <
13788 > rm -f core conftest.err conftest.$ac_objext \
13789 >    conftest$ac_exeext
13790 >  if ${ac_cv_search_getnameinfo+:} false; then :
13791 >  break
13792   fi
13793 < ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13794 <   #include <sys/socket.h>
12247 <   #include <netdb.h>
12248 <
12249 < "
12250 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
12251 <
12252 < cat >>confdefs.h <<_ACEOF
12253 < #define HAVE_STRUCT_ADDRINFO 1
12254 < _ACEOF
12255 <
13793 > done
13794 > if ${ac_cv_search_getnameinfo+:} false; then :
13795  
13796 + else
13797 +  ac_cv_search_getnameinfo=no
13798   fi
13799 <
13800 <  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
12260 <  <sys/socket.h>
12261 < "
12262 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
12263 <
12264 < cat >>confdefs.h <<_ACEOF
12265 < #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
12266 < _ACEOF
12267 <
12268 <
13799 > rm conftest.$ac_ext
13800 > LIBS=$ac_func_search_save_LIBS
13801   fi
13802 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13803 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13804 + ac_res=$ac_cv_search_getnameinfo
13805 + if test "$ac_res" != no; then :
13806 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13807  
13808 + fi
13809  
13810 + fi
13811  
13812 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13813 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13812 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13813 > $as_echo_n "checking for library containing socket... " >&6; }
13814 > if ${ac_cv_search_socket+:} false; then :
13815 >  $as_echo_n "(cached) " >&6
13816 > else
13817 >  ac_func_search_save_LIBS=$LIBS
13818 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 > /* end confdefs.h.  */
13820  
13821 < cat >>confdefs.h <<_ACEOF
13822 < #define HAVE_STRUCT_SOCKADDR_IN6 1
13821 > /* Override any GCC internal prototype to avoid an error.
13822 >   Use char because int might match the return type of a GCC
13823 >   builtin and then its argument prototype would still apply.  */
13824 > #ifdef __cplusplus
13825 > extern "C"
13826 > #endif
13827 > char socket ();
13828 > int
13829 > main ()
13830 > {
13831 > return socket ();
13832 >  ;
13833 >  return 0;
13834 > }
13835   _ACEOF
13836 <
13836 > for ac_lib in '' socket; do
13837 >  if test -z "$ac_lib"; then
13838 >    ac_res="none required"
13839 >  else
13840 >    ac_res=-l$ac_lib
13841 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13842 >  fi
13843 >  if ac_fn_c_try_link "$LINENO"; then :
13844 >  ac_cv_search_socket=$ac_res
13845 > fi
13846 > rm -f core conftest.err conftest.$ac_objext \
13847 >    conftest$ac_exeext
13848 >  if ${ac_cv_search_socket+:} false; then :
13849 >  break
13850 > fi
13851 > done
13852 > if ${ac_cv_search_socket+:} false; then :
13853  
13854   else
13855 +  ac_cv_search_socket=no
13856 + fi
13857 + rm conftest.$ac_ext
13858 + LIBS=$ac_func_search_save_LIBS
13859 + fi
13860 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13861 + $as_echo "$ac_cv_search_socket" >&6; }
13862 + ac_res=$ac_cv_search_socket
13863 + if test "$ac_res" != no; then :
13864 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13865  
13866 < $as_echo "#define IPV6 1" >>confdefs.h
13867 <
13866 > else
13867 >  as_fn_error $? "socket library not found" "$LINENO" 5
13868   fi
13869  
13870  
# Line 12289 | Line 13872 | fi
13872   # Checks for typedefs, structures, and compiler characteristics.
13873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13874   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13875 < if test "${ac_cv_c_bigendian+set}" = set; then :
13875 > if ${ac_cv_c_bigendian+:} false; then :
13876    $as_echo_n "(cached) " >&6
13877   else
13878    ac_cv_c_bigendian=unknown
# Line 12507 | Line 14090 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14090  
14091       ;; #(
14092     *)
14093 <     as_fn_error "unknown endianness
14093 >     as_fn_error $? "unknown endianness
14094   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14095   esac
14096  
# Line 12520 | Line 14103 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
14103   do :
14104    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14105   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14106 < eval as_val=\$$as_ac_var
12524 <   if test "x$as_val" = x""yes; then :
14106 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14107    cat >>confdefs.h <<_ACEOF
14108   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14109   _ACEOF
# Line 12539 | Line 14121 | done
14121  
14122  
14123  
12542
12543
14124   # Checks for header files.
14125  
14126  
# Line 12550 | Line 14130 | do :
14130    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14131   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14132   "
14133 < eval as_val=\$$as_ac_Header
12554 <   if test "x$as_val" = x""yes; then :
14133 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14134    cat >>confdefs.h <<_ACEOF
14135   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14136   _ACEOF
# Line 12576 | Line 14155 | done
14155  
14156  
14157  
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589 # check for /dev/null so we can use it to hold evil fd's
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591 $as_echo_n "checking for /dev/null... " >&6; }
12592 if test -c /dev/null; then :
12593
12594
12595 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596
12597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 $as_echo "yes" >&6; }
12599 else
12600
12601
12602 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12605 $as_echo "no - using devnull.log" >&6; }
12606 fi
12607
12608
14158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14159   $as_echo_n "checking for library containing crypt... " >&6; }
14160 < if test "${ac_cv_search_crypt+set}" = set; then :
14160 > if ${ac_cv_search_crypt+:} false; then :
14161    $as_echo_n "(cached) " >&6
14162   else
14163    ac_func_search_save_LIBS=$LIBS
# Line 12642 | Line 14191 | for ac_lib in '' crypt; do
14191   fi
14192   rm -f core conftest.err conftest.$ac_objext \
14193      conftest$ac_exeext
14194 <  if test "${ac_cv_search_crypt+set}" = set; then :
14194 >  if ${ac_cv_search_crypt+:} false; then :
14195    break
14196   fi
14197   done
14198 < if test "${ac_cv_search_crypt+set}" = set; then :
14198 > if ${ac_cv_search_crypt+:} false; then :
14199  
14200   else
14201    ac_cv_search_crypt=no
# Line 12663 | Line 14212 | if test "$ac_res" != no; then :
14212   fi
14213  
14214  
14215 <
14216 <
14217 < # Check whether --with-zlib-path was given.
14218 < if test "${with_zlib_path+set}" = set; then :
14219 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
14220 < fi
14221 <
14222 <
14223 < # Check whether --enable-zlib was given.
12675 < if test "${enable_zlib+set}" = set; then :
12676 <  enableval=$enable_zlib; zlib=$enableval
12677 < else
12678 <  zlib=yes
12679 < fi
12680 <
12681 <
12682 < if test "$zlib" = "yes"; then :
12683 <
12684 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12687 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12688 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
14215 > # Check whether --enable-libgeoip was given.
14216 > if test "${enable_libgeoip+set}" = set; then :
14217 >  enableval=$enable_libgeoip;
14218 > else
14219 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
14220 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
14221 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
14222 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
14223 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14224    $as_echo_n "(cached) " >&6
14225   else
14226 <  ac_check_lib_save_LIBS=$LIBS
12692 < LIBS="-lz  $LIBS"
14226 >  ac_func_search_save_LIBS=$LIBS
14227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14228   /* end confdefs.h.  */
14229  
# Line 12699 | Line 14233 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14233   #ifdef __cplusplus
14234   extern "C"
14235   #endif
14236 < char zlibVersion ();
14236 > char GeoIP_id_by_ipnum_v6_gl ();
14237   int
14238   main ()
14239   {
14240 < return zlibVersion ();
14240 > return GeoIP_id_by_ipnum_v6_gl ();
14241    ;
14242    return 0;
14243   }
14244   _ACEOF
14245 < if ac_fn_c_try_link "$LINENO"; then :
14246 <  ac_cv_lib_z_zlibVersion=yes
14247 < else
14248 <  ac_cv_lib_z_zlibVersion=no
14245 > for ac_lib in '' GeoIP; do
14246 >  if test -z "$ac_lib"; then
14247 >    ac_res="none required"
14248 >  else
14249 >    ac_res=-l$ac_lib
14250 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14251 >  fi
14252 >  if ac_fn_c_try_link "$LINENO"; then :
14253 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
14254   fi
14255   rm -f core conftest.err conftest.$ac_objext \
14256 <    conftest$ac_exeext conftest.$ac_ext
14257 < LIBS=$ac_check_lib_save_LIBS
14256 >    conftest$ac_exeext
14257 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14258 >  break
14259   fi
14260 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
14261 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12722 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
14260 > done
14261 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
14262  
14263 <      LIBS="-lz $LIBS"
14263 > else
14264 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
14265 > fi
14266 > rm conftest.$ac_ext
14267 > LIBS=$ac_func_search_save_LIBS
14268 > fi
14269 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
14270 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
14271 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
14272 > if test "$ac_res" != no; then :
14273 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14274  
14275 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
14275 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
14276 >
14277 > fi
14278 >
14279 > fi
14280  
14281  
12729 else
12730  zlib=no
14282   fi
14283  
14284  
14285 + # Check whether --enable-assert was given.
14286 + if test "${enable_assert+set}" = set; then :
14287 +  enableval=$enable_assert; assert=$enableval
14288   else
14289 <  zlib=no
14289 >  assert=no
14290   fi
14291  
14292  
14293 + if test "$assert" = "no"; then :
14294 +
14295 + $as_echo "#define NDEBUG 1" >>confdefs.h
14296  
14297   fi
14298  
14299  
14300 < # Check whether --with-libpcre-path was given.
14301 < if test "${with_libpcre_path+set}" = set; then :
14302 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
14300 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14301 >
14302 >
14303 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14304 >
14305 >
14306 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14307 >
14308 >
14309 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14310 >
14311 >
14312 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14313 >
14314 >
14315 > $as_echo "#define MP_CHUNK_SIZE_CONNECTION 512*1024" >>confdefs.h
14316 >
14317 >
14318 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14319 >
14320 >
14321 > $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14322 >
14323 >
14324 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14325 >
14326 >
14327 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14328 >
14329 >
14330 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14331 >
14332 >
14333 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14334 >
14335 >
14336 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14337 >
14338 >
14339 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14340 >
14341 >
14342 > # Argument processing.
14343 >
14344 >  desired_iopoll_mechanism="none"
14345 >
14346 >  # Check whether --enable-kqueue was given.
14347 > if test "${enable_kqueue+set}" = set; then :
14348 >  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14349   fi
14350  
14351 +  # Check whether --enable-epoll was given.
14352 + if test "${enable_epoll+set}" = set; then :
14353 +  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
14354 + fi
14355  
14356 < # Check whether --enable-libpcre was given.
14357 < if test "${enable_libpcre+set}" = set; then :
14358 <  enableval=$enable_libpcre; libpcre=$enableval
12752 < else
12753 <  libpcre=yes
14356 >  # Check whether --enable-devpoll was given.
14357 > if test "${enable_devpoll+set}" = set; then :
14358 >  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14359   fi
14360  
14361 +  # Check whether --enable-poll was given.
14362 + if test "${enable_poll+set}" = set; then :
14363 +  enableval=$enable_poll; desired_iopoll_mechanism="poll"
14364 + fi
14365  
12757 if test "$libpcre" = "yes"; then :
14366  
14367 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
14368 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
14369 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
14370 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
14371 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
14372 <  $as_echo_n "(cached) " >&6
14373 < else
14374 <  ac_check_lib_save_LIBS=$LIBS
14375 < LIBS="-lpcre  $LIBS"
14376 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14368 > $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14369 >
14370 >  iopoll_mechanism_none=0
14371 >
14372 > cat >>confdefs.h <<_ACEOF
14373 > #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14374 > _ACEOF
14375 >
14376 >
14377 >  iopoll_mechanism_kqueue=1
14378 >
14379 > cat >>confdefs.h <<_ACEOF
14380 > #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14381 > _ACEOF
14382 >
14383 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384   /* end confdefs.h.  */
14385 + /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
14386 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14387 + #define kevent innocuous_kevent
14388 +
14389 + /* System header to define __stub macros and hopefully few prototypes,
14390 +    which can conflict with char kevent (); below.
14391 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14392 +    <limits.h> exists even on freestanding compilers.  */
14393 +
14394 + #ifdef __STDC__
14395 + # include <limits.h>
14396 + #else
14397 + # include <assert.h>
14398 + #endif
14399 +
14400 + #undef kevent
14401  
14402   /* Override any GCC internal prototype to avoid an error.
14403     Use char because int might match the return type of a GCC
# Line 12774 | Line 14405 | cat confdefs.h - <<_ACEOF >conftest.$ac_
14405   #ifdef __cplusplus
14406   extern "C"
14407   #endif
14408 < char pcre_study ();
14408 > char kevent ();
14409 > /* The GNU C library defines this for functions which it implements
14410 >    to always fail with ENOSYS.  Some functions are actually named
14411 >    something starting with __ and the normal name is an alias.  */
14412 > #if defined __stub_kevent || defined __stub___kevent
14413 > choke me
14414 > #endif
14415 >
14416   int
14417   main ()
14418   {
14419 < return pcre_study ();
14419 > return kevent ();
14420    ;
14421    return 0;
14422   }
14423   _ACEOF
14424   if ac_fn_c_try_link "$LINENO"; then :
14425 <  ac_cv_lib_pcre_pcre_study=yes
14425 >  is_kqueue_mechanism_available="yes"
14426   else
14427 <  ac_cv_lib_pcre_pcre_study=no
14427 >  is_kqueue_mechanism_available="no"
14428   fi
14429   rm -f core conftest.err conftest.$ac_objext \
14430      conftest$ac_exeext conftest.$ac_ext
12793 LIBS=$ac_check_lib_save_LIBS
12794 fi
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12796 $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12797 if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12798
12799      LIBS="-lpcre $LIBS"
14431  
14432 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
14432 >  iopoll_mechanism_epoll=2
14433  
14434 + cat >>confdefs.h <<_ACEOF
14435 + #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14436 + _ACEOF
14437  
14438 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 + /* end confdefs.h.  */
14440 + #include <sys/epoll.h>
14441 + int
14442 + main ()
14443 + {
14444 + epoll_create(256);
14445 +  ;
14446 +  return 0;
14447 + }
14448 + _ACEOF
14449 + if ac_fn_c_try_link "$LINENO"; then :
14450 +  is_epoll_mechanism_available="yes"
14451   else
14452 <  libpcre=no
14452 >  is_epoll_mechanism_available="no"
14453   fi
14454 + rm -f core conftest.err conftest.$ac_objext \
14455 +    conftest$ac_exeext conftest.$ac_ext
14456 +
14457 +  iopoll_mechanism_devpoll=3
14458 +
14459 + cat >>confdefs.h <<_ACEOF
14460 + #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14461 + _ACEOF
14462  
14463 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 + /* end confdefs.h.  */
14465 + #include <devpoll.h>
14466 + int
14467 + main ()
14468 + {
14469  
14470 +  ;
14471 +  return 0;
14472 + }
14473 + _ACEOF
14474 + if ac_fn_c_try_compile "$LINENO"; then :
14475 +  is_devpoll_mechanism_available="yes"
14476   else
14477 <  libpcre=no
14477 >  is_devpoll_mechanism_available="no"
14478   fi
14479 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14480 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14481  
14482 + $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14483  
14484 +  fi
14485 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 + /* end confdefs.h.  */
14487 + #include <sys/devpoll.h>
14488 + int
14489 + main ()
14490 + {
14491  
14492 < fi
14493 < if test "$libpcre" = yes; then
14494 <  ENABLE_PCRE_TRUE=
14495 <  ENABLE_PCRE_FALSE='#'
14492 >  ;
14493 >  return 0;
14494 > }
14495 > _ACEOF
14496 > if ac_fn_c_try_compile "$LINENO"; then :
14497 >  is_devpoll_mechanism_available="yes"
14498   else
14499 <  ENABLE_PCRE_TRUE='#'
12821 <  ENABLE_PCRE_FALSE=
14499 >  is_devpoll_mechanism_available="no"
14500   fi
14501 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14502 +  if test "$is_devpoll_mechanism_available" = "yes" ; then
14503  
14504 + $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14505  
14506 +  fi
14507  
14508 < # Check whether --enable-openssl was given.
14509 < if test "${enable_openssl+set}" = set; then :
14510 <  enableval=$enable_openssl;  cf_enable_openssl=$enableval
14508 >  iopoll_mechanism_poll=4
14509 >
14510 > cat >>confdefs.h <<_ACEOF
14511 > #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14512 > _ACEOF
14513 >
14514 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14515 > /* end confdefs.h.  */
14516 > /* Define poll to an innocuous variant, in case <limits.h> declares poll.
14517 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14518 > #define poll innocuous_poll
14519 >
14520 > /* System header to define __stub macros and hopefully few prototypes,
14521 >    which can conflict with char poll (); below.
14522 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14523 >    <limits.h> exists even on freestanding compilers.  */
14524 >
14525 > #ifdef __STDC__
14526 > # include <limits.h>
14527 > #else
14528 > # include <assert.h>
14529 > #endif
14530 >
14531 > #undef poll
14532 >
14533 > /* Override any GCC internal prototype to avoid an error.
14534 >   Use char because int might match the return type of a GCC
14535 >   builtin and then its argument prototype would still apply.  */
14536 > #ifdef __cplusplus
14537 > extern "C"
14538 > #endif
14539 > char poll ();
14540 > /* The GNU C library defines this for functions which it implements
14541 >    to always fail with ENOSYS.  Some functions are actually named
14542 >    something starting with __ and the normal name is an alias.  */
14543 > #if defined __stub_poll || defined __stub___poll
14544 > choke me
14545 > #endif
14546 >
14547 > int
14548 > main ()
14549 > {
14550 > return poll ();
14551 >  ;
14552 >  return 0;
14553 > }
14554 > _ACEOF
14555 > if ac_fn_c_try_link "$LINENO"; then :
14556 >  is_poll_mechanism_available="yes"
14557   else
14558 <   cf_enable_openssl="auto"
14558 >  is_poll_mechanism_available="no"
14559   fi
14560 + rm -f core conftest.err conftest.$ac_objext \
14561 +    conftest$ac_exeext conftest.$ac_ext
14562  
14563 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14564 < $as_echo_n "checking for OpenSSL... " >&6; }
14565 < if test "$cf_enable_openssl" != "no"; then
14566 <  cf_openssl_basedir=""
14567 <  if test "$cf_enable_openssl" != "auto" &&
14568 <     test "$cf_enable_openssl" != "yes"; then
14569 <          cf_openssl_basedir="${cf_enable_openssl}"
14570 <  else
12841 <        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
12842 <                /opt /opt/openssl /usr/local/openssl; do
12843 <      if test -f "${dirs}/include/openssl/opensslv.h"; then
12844 <        cf_openssl_basedir="${dirs}"
12845 <        break
12846 <      fi
12847 <    done
12848 <    unset dirs
12849 <  fi
14563 >  optimal_iopoll_mechanism="none"
14564 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14565 >    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14566 >    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14567 >      optimal_iopoll_mechanism="$mechanism"
14568 >      break
14569 >    fi
14570 >  done
14571  
14572 <    if test ! -z "$cf_openssl_basedir"; then
14573 <    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
14574 <      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
14575 <      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
14572 >  if test "$desired_iopoll_mechanism" = "none" ; then
14573 >    if test "$optimal_iopoll_mechanism" = "none" ; then
14574 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14575 > $as_echo "none" >&6; }
14576 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14577      else
14578 <                  cf_openssl_basedir=""
14578 >      selected_iopoll_mechanism=$optimal_iopoll_mechanism
14579 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14580 > $as_echo "$selected_iopoll_mechanism" >&6; }
14581      fi
14582    else
14583 <                            if test -f "/usr/include/openssl/opensslv.h"; then
14584 <      cf_openssl_basedir="/usr"
14583 >    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
14584 >    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
14585 >      selected_iopoll_mechanism=$desired_iopoll_mechanism
14586 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14587 > $as_echo "$selected_iopoll_mechanism" >&6; }
14588 >    else
14589 >      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14590 > $as_echo "none" >&6; }
14591 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14592      fi
14593    fi
14594  
14595 <      if test ! -z "$cf_openssl_basedir"; then
12865 <    LIBS="-lcrypto -lssl $LIBS"
12866 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
12867 < $as_echo "$cf_openssl_basedir" >&6; }
12868 <    cf_enable_openssl="yes"
14595 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14596  
14597 < $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
14597 > cat >>confdefs.h <<_ACEOF
14598 > #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
14599 > _ACEOF
14600  
14601 <  else
14602 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14603 < $as_echo "not found. Please check your path." >&6; }
14604 <    cf_enable_openssl="no"
14601 >
14602 >
14603 >  # Check whether --enable-debugging was given.
14604 > if test "${enable_debugging+set}" = set; then :
14605 >  enableval=$enable_debugging; debugging="$enableval"
14606 > else
14607 >  debugging="no"
14608 > fi
14609 >
14610 >  if test "$debugging" = "yes" ; then
14611 >    CFLAGS="-Wall -g -O0"
14612    fi
14613 <  unset cf_openssl_basedir
14613 >
14614 >
14615 >  # Check whether --enable-warnings was given.
14616 > if test "${enable_warnings+set}" = set; then :
14617 >  enableval=$enable_warnings; warnings="$enableval"
14618   else
14619 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12880 < $as_echo "disabled" >&6; }
14619 >  warnings="no"
14620   fi
14621  
14622 < if test "$cf_enable_openssl" != "no"; then :
14623 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14624 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14625 <  if test "$cross_compiling" = yes; then :
14626 <  cf_openssl_version_ok=no
14622 >
14623 >  if test "$warnings" = "yes" ; then
14624 >
14625 >
14626 >
14627 >
14628 > for flag in -Wall; do
14629 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14630 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14631 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14632 > if eval \${$as_CACHEVAR+:} false; then :
14633 >  $as_echo_n "(cached) " >&6
14634   else
14635 +
14636 +  ax_check_save_flags=$CFLAGS
14637 +  CFLAGS="$CFLAGS  $flag"
14638    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639   /* end confdefs.h.  */
14640  
12892    #include <openssl/opensslv.h>
12893    #include <stdlib.h>
14641   int
14642   main ()
14643   {
14644 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14644 >
14645    ;
14646    return 0;
14647   }
14648   _ACEOF
14649 < if ac_fn_c_try_run "$LINENO"; then :
14650 <  cf_openssl_version_ok=yes
14649 > if ac_fn_c_try_compile "$LINENO"; then :
14650 >  eval "$as_CACHEVAR=yes"
14651   else
14652 <  cf_openssl_version_ok=no
14652 >  eval "$as_CACHEVAR=no"
14653   fi
14654 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14655 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14654 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14655 >  CFLAGS=$ax_check_save_flags
14656 > fi
14657 > eval ac_res=\$$as_CACHEVAR
14658 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14659 > $as_echo "$ac_res" >&6; }
14660 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14661 >  if ${CFLAGS+:} false; then :
14662 >  case " $CFLAGS " in
14663 >    *" $flag "*)
14664 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14665 >  (: CFLAGS already contains $flag) 2>&5
14666 >  ac_status=$?
14667 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14668 >  test $ac_status = 0; }
14669 >      ;;
14670 >    *)
14671 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14672 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14673 >  ac_status=$?
14674 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14675 >  test $ac_status = 0; }
14676 >      CFLAGS="$CFLAGS $flag"
14677 >      ;;
14678 >   esac
14679 > else
14680 >  CFLAGS="$flag"
14681   fi
14682  
14683 + else
14684 +  :
14685 + fi
14686  
14687 <  if test "$cf_openssl_version_ok" = "yes"; then :
12913 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12914 < $as_echo "found" >&6; }
14687 > done
14688  
14689 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14690 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14691 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14689 >
14690 >
14691 >
14692 >
14693 > for flag in -Wbad-function-cast; do
14694 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14695 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14696 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14697 > if eval \${$as_CACHEVAR+:} false; then :
14698    $as_echo_n "(cached) " >&6
14699   else
14700 <  ac_check_lib_save_LIBS=$LIBS
14701 < LIBS="-lcrypto  $LIBS"
14702 < cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 >
14701 >  ax_check_save_flags=$CFLAGS
14702 >  CFLAGS="$CFLAGS  $flag"
14703 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704   /* end confdefs.h.  */
14705  
12926 /* Override any GCC internal prototype to avoid an error.
12927   Use char because int might match the return type of a GCC
12928   builtin and then its argument prototype would still apply.  */
12929 #ifdef __cplusplus
12930 extern "C"
12931 #endif
12932 char RSA_free ();
14706   int
14707   main ()
14708   {
14709 < return RSA_free ();
14709 >
14710    ;
14711    return 0;
14712   }
14713   _ACEOF
14714 < if ac_fn_c_try_link "$LINENO"; then :
14715 <  ac_cv_lib_crypto_RSA_free=yes
14714 > if ac_fn_c_try_compile "$LINENO"; then :
14715 >  eval "$as_CACHEVAR=yes"
14716   else
14717 <  ac_cv_lib_crypto_RSA_free=no
14717 >  eval "$as_CACHEVAR=no"
14718   fi
14719 < rm -f core conftest.err conftest.$ac_objext \
14720 <    conftest$ac_exeext conftest.$ac_ext
14721 < LIBS=$ac_check_lib_save_LIBS
14719 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14720 >  CFLAGS=$ax_check_save_flags
14721 > fi
14722 > eval ac_res=\$$as_CACHEVAR
14723 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14724 > $as_echo "$ac_res" >&6; }
14725 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14726 >  if ${CFLAGS+:} false; then :
14727 >  case " $CFLAGS " in
14728 >    *" $flag "*)
14729 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14730 >  (: CFLAGS already contains $flag) 2>&5
14731 >  ac_status=$?
14732 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14733 >  test $ac_status = 0; }
14734 >      ;;
14735 >    *)
14736 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14737 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14738 >  ac_status=$?
14739 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14740 >  test $ac_status = 0; }
14741 >      CFLAGS="$CFLAGS $flag"
14742 >      ;;
14743 >   esac
14744 > else
14745 >  CFLAGS="$flag"
14746   fi
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
12951 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
12952 if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
12953  cat >>confdefs.h <<_ACEOF
12954 #define HAVE_LIBCRYPTO 1
12955 _ACEOF
12956
12957  LIBS="-lcrypto $LIBS"
14747  
14748 + else
14749 +  :
14750   fi
14751  
14752 <    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14753 <  for ac_func in EVP_bf_cfb           \
14754 <                      EVP_cast5_cfb        \
14755 <                      EVP_idea_cfb         \
14756 <                      EVP_rc5_32_12_16_cfb \
14757 <                      EVP_des_ede3_cfb     \
14758 <                      EVP_des_cfb
14759 < do :
14760 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14761 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14762 < eval as_val=\$$as_ac_var
14763 <   if test "x$as_val" = x""yes; then :
14764 <  cat >>confdefs.h <<_ACEOF
14765 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14752 > done
14753 >
14754 >
14755 >
14756 >
14757 >
14758 > for flag in -Wcast-align; do
14759 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14760 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14761 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14762 > if eval \${$as_CACHEVAR+:} false; then :
14763 >  $as_echo_n "(cached) " >&6
14764 > else
14765 >
14766 >  ax_check_save_flags=$CFLAGS
14767 >  CFLAGS="$CFLAGS  $flag"
14768 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 > /* end confdefs.h.  */
14770 >
14771 > int
14772 > main ()
14773 > {
14774 >
14775 >  ;
14776 >  return 0;
14777 > }
14778   _ACEOF
14779 + if ac_fn_c_try_compile "$LINENO"; then :
14780 +  eval "$as_CACHEVAR=yes"
14781 + else
14782 +  eval "$as_CACHEVAR=no"
14783 + fi
14784 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14785 +  CFLAGS=$ax_check_save_flags
14786 + fi
14787 + eval ac_res=\$$as_CACHEVAR
14788 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14789 + $as_echo "$ac_res" >&6; }
14790 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14791 +  if ${CFLAGS+:} false; then :
14792 +  case " $CFLAGS " in
14793 +    *" $flag "*)
14794 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14795 +  (: CFLAGS already contains $flag) 2>&5
14796 +  ac_status=$?
14797 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14798 +  test $ac_status = 0; }
14799 +      ;;
14800 +    *)
14801 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14802 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14803 +  ac_status=$?
14804 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14805 +  test $ac_status = 0; }
14806 +      CFLAGS="$CFLAGS $flag"
14807 +      ;;
14808 +   esac
14809 + else
14810 +  CFLAGS="$flag"
14811 + fi
14812  
14813 + else
14814 +  :
14815   fi
14816 +
14817   done
14818  
12980 fi
14819  
14820 +
14821 +
14822 +
14823 + for flag in -Wcast-qual; do
14824 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14825 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14826 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14827 + if eval \${$as_CACHEVAR+:} false; then :
14828 +  $as_echo_n "(cached) " >&6
14829   else
14830 <  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14831 < $as_echo "no - OpenSSL support disabled" >&6; }
14832 <    cf_enable_openssl="no"
14830 >
14831 >  ax_check_save_flags=$CFLAGS
14832 >  CFLAGS="$CFLAGS  $flag"
14833 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14834 > /* end confdefs.h.  */
14835 >
14836 > int
14837 > main ()
14838 > {
14839 >
14840 >  ;
14841 >  return 0;
14842 > }
14843 > _ACEOF
14844 > if ac_fn_c_try_compile "$LINENO"; then :
14845 >  eval "$as_CACHEVAR=yes"
14846 > else
14847 >  eval "$as_CACHEVAR=no"
14848 > fi
14849 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14850 >  CFLAGS=$ax_check_save_flags
14851   fi
14852 + eval ac_res=\$$as_CACHEVAR
14853 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14854 + $as_echo "$ac_res" >&6; }
14855 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14856 +  if ${CFLAGS+:} false; then :
14857 +  case " $CFLAGS " in
14858 +    *" $flag "*)
14859 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14860 +  (: CFLAGS already contains $flag) 2>&5
14861 +  ac_status=$?
14862 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14863 +  test $ac_status = 0; }
14864 +      ;;
14865 +    *)
14866 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14867 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14868 +  ac_status=$?
14869 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14870 +  test $ac_status = 0; }
14871 +      CFLAGS="$CFLAGS $flag"
14872 +      ;;
14873 +   esac
14874 + else
14875 +  CFLAGS="$flag"
14876   fi
14877  
12989 if test "$cf_enable_openssl" = yes; then
12990  ENABLE_SSL_TRUE=
12991  ENABLE_SSL_FALSE='#'
14878   else
14879 <  ENABLE_SSL_TRUE='#'
12994 <  ENABLE_SSL_FALSE=
14879 >  :
14880   fi
14881  
14882 + done
14883  
14884  
12999 # Check whether --enable-assert was given.
13000 if test "${enable_assert+set}" = set; then :
13001  enableval=$enable_assert; assert=$enableval
13002 else
13003  assert=no
13004 fi
14885  
14886  
13007 if test "$assert" = "no"; then :
14887  
14888 < $as_echo "#define NDEBUG 1" >>confdefs.h
14888 > for flag in -Wclobbered; do
14889 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14890 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14891 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14892 > if eval \${$as_CACHEVAR+:} false; then :
14893 >  $as_echo_n "(cached) " >&6
14894 > else
14895  
14896 < fi
14896 >  ax_check_save_flags=$CFLAGS
14897 >  CFLAGS="$CFLAGS  $flag"
14898 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 > /* end confdefs.h.  */
14900  
14901 + int
14902 + main ()
14903 + {
14904  
14905 < # Check whether --enable-small-net was given.
14906 < if test "${enable_small_net+set}" = set; then :
14907 <  enableval=$enable_small_net; small_net=$enableval
14905 >  ;
14906 >  return 0;
14907 > }
14908 > _ACEOF
14909 > if ac_fn_c_try_compile "$LINENO"; then :
14910 >  eval "$as_CACHEVAR=yes"
14911 > else
14912 >  eval "$as_CACHEVAR=no"
14913 > fi
14914 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14915 >  CFLAGS=$ax_check_save_flags
14916 > fi
14917 > eval ac_res=\$$as_CACHEVAR
14918 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14919 > $as_echo "$ac_res" >&6; }
14920 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14921 >  if ${CFLAGS+:} false; then :
14922 >  case " $CFLAGS " in
14923 >    *" $flag "*)
14924 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14925 >  (: CFLAGS already contains $flag) 2>&5
14926 >  ac_status=$?
14927 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14928 >  test $ac_status = 0; }
14929 >      ;;
14930 >    *)
14931 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14932 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14933 >  ac_status=$?
14934 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14935 >  test $ac_status = 0; }
14936 >      CFLAGS="$CFLAGS $flag"
14937 >      ;;
14938 >   esac
14939   else
14940 <  small_net=no
14940 >  CFLAGS="$flag"
14941   fi
14942  
14943 + else
14944 +  :
14945 + fi
14946  
14947 < if test "$small_net" = "yes"; then :
14947 > done
14948  
14949  
13025 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14950  
14951  
13028 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14952  
14953 + for flag in -Wempty-body; do
14954 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14955 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14956 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14957 + if eval \${$as_CACHEVAR+:} false; then :
14958 +  $as_echo_n "(cached) " >&6
14959 + else
14960  
14961 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14961 >  ax_check_save_flags=$CFLAGS
14962 >  CFLAGS="$CFLAGS  $flag"
14963 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 > /* end confdefs.h.  */
14965  
14966 + int
14967 + main ()
14968 + {
14969  
14970 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14970 >  ;
14971 >  return 0;
14972 > }
14973 > _ACEOF
14974 > if ac_fn_c_try_compile "$LINENO"; then :
14975 >  eval "$as_CACHEVAR=yes"
14976 > else
14977 >  eval "$as_CACHEVAR=no"
14978 > fi
14979 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14980 >  CFLAGS=$ax_check_save_flags
14981 > fi
14982 > eval ac_res=\$$as_CACHEVAR
14983 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14984 > $as_echo "$ac_res" >&6; }
14985 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14986 >  if ${CFLAGS+:} false; then :
14987 >  case " $CFLAGS " in
14988 >    *" $flag "*)
14989 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14990 >  (: CFLAGS already contains $flag) 2>&5
14991 >  ac_status=$?
14992 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14993 >  test $ac_status = 0; }
14994 >      ;;
14995 >    *)
14996 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14997 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14998 >  ac_status=$?
14999 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15000 >  test $ac_status = 0; }
15001 >      CFLAGS="$CFLAGS $flag"
15002 >      ;;
15003 >   esac
15004 > else
15005 >  CFLAGS="$flag"
15006 > fi
15007  
15008 + else
15009 +  :
15010 + fi
15011  
15012 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
15012 > done
15013  
15014  
13040 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
15015  
15016  
13043 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
15017  
15018 + for flag in -Wignored-qualifiers; do
15019 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15020 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15021 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15022 + if eval \${$as_CACHEVAR+:} false; then :
15023 +  $as_echo_n "(cached) " >&6
15024 + else
15025  
15026 < $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
15026 >  ax_check_save_flags=$CFLAGS
15027 >  CFLAGS="$CFLAGS  $flag"
15028 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 > /* end confdefs.h.  */
15030  
15031 + int
15032 + main ()
15033 + {
15034  
15035 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
15035 >  ;
15036 >  return 0;
15037 > }
15038 > _ACEOF
15039 > if ac_fn_c_try_compile "$LINENO"; then :
15040 >  eval "$as_CACHEVAR=yes"
15041 > else
15042 >  eval "$as_CACHEVAR=no"
15043 > fi
15044 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 >  CFLAGS=$ax_check_save_flags
15046 > fi
15047 > eval ac_res=\$$as_CACHEVAR
15048 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15049 > $as_echo "$ac_res" >&6; }
15050 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15051 >  if ${CFLAGS+:} false; then :
15052 >  case " $CFLAGS " in
15053 >    *" $flag "*)
15054 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15055 >  (: CFLAGS already contains $flag) 2>&5
15056 >  ac_status=$?
15057 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15058 >  test $ac_status = 0; }
15059 >      ;;
15060 >    *)
15061 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15062 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15063 >  ac_status=$?
15064 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15065 >  test $ac_status = 0; }
15066 >      CFLAGS="$CFLAGS $flag"
15067 >      ;;
15068 >   esac
15069 > else
15070 >  CFLAGS="$flag"
15071 > fi
15072  
15073 + else
15074 +  :
15075 + fi
15076  
15077 < $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
15077 > done
15078  
13054 else
15079  
15080  
15081  
13058 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
15082  
15083 + for flag in -Wlogical-op; do
15084 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15085 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15086 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15087 + if eval \${$as_CACHEVAR+:} false; then :
15088 +  $as_echo_n "(cached) " >&6
15089 + else
15090  
15091 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
15091 >  ax_check_save_flags=$CFLAGS
15092 >  CFLAGS="$CFLAGS  $flag"
15093 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 > /* end confdefs.h.  */
15095  
15096 + int
15097 + main ()
15098 + {
15099  
15100 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
15100 >  ;
15101 >  return 0;
15102 > }
15103 > _ACEOF
15104 > if ac_fn_c_try_compile "$LINENO"; then :
15105 >  eval "$as_CACHEVAR=yes"
15106 > else
15107 >  eval "$as_CACHEVAR=no"
15108 > fi
15109 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15110 >  CFLAGS=$ax_check_save_flags
15111 > fi
15112 > eval ac_res=\$$as_CACHEVAR
15113 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15114 > $as_echo "$ac_res" >&6; }
15115 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15116 >  if ${CFLAGS+:} false; then :
15117 >  case " $CFLAGS " in
15118 >    *" $flag "*)
15119 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15120 >  (: CFLAGS already contains $flag) 2>&5
15121 >  ac_status=$?
15122 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15123 >  test $ac_status = 0; }
15124 >      ;;
15125 >    *)
15126 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15127 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15128 >  ac_status=$?
15129 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15130 >  test $ac_status = 0; }
15131 >      CFLAGS="$CFLAGS $flag"
15132 >      ;;
15133 >   esac
15134 > else
15135 >  CFLAGS="$flag"
15136 > fi
15137  
15138 + else
15139 +  :
15140 + fi
15141  
15142 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
15142 > done
15143  
15144  
13070 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
15145  
15146  
13073 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
15147  
15148 + for flag in -Wmissing-declarations; do
15149 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15150 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15151 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15152 + if eval \${$as_CACHEVAR+:} false; then :
15153 +  $as_echo_n "(cached) " >&6
15154 + else
15155  
15156 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
15156 >  ax_check_save_flags=$CFLAGS
15157 >  CFLAGS="$CFLAGS  $flag"
15158 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 > /* end confdefs.h.  */
15160  
15161 + int
15162 + main ()
15163 + {
15164  
15165 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
15165 >  ;
15166 >  return 0;
15167 > }
15168 > _ACEOF
15169 > if ac_fn_c_try_compile "$LINENO"; then :
15170 >  eval "$as_CACHEVAR=yes"
15171 > else
15172 >  eval "$as_CACHEVAR=no"
15173 > fi
15174 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15175 >  CFLAGS=$ax_check_save_flags
15176 > fi
15177 > eval ac_res=\$$as_CACHEVAR
15178 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15179 > $as_echo "$ac_res" >&6; }
15180 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15181 >  if ${CFLAGS+:} false; then :
15182 >  case " $CFLAGS " in
15183 >    *" $flag "*)
15184 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15185 >  (: CFLAGS already contains $flag) 2>&5
15186 >  ac_status=$?
15187 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15188 >  test $ac_status = 0; }
15189 >      ;;
15190 >    *)
15191 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15192 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15193 >  ac_status=$?
15194 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15195 >  test $ac_status = 0; }
15196 >      CFLAGS="$CFLAGS $flag"
15197 >      ;;
15198 >   esac
15199 > else
15200 >  CFLAGS="$flag"
15201 > fi
15202  
15203 + else
15204 +  :
15205 + fi
15206  
15207 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
15207 > done
15208  
15209  
13085 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
15210  
13087 fi
15211  
15212  
15213 < # Argument processing.
15213 > for flag in -Wmissing-field-initializers; do
15214 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15215 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15216 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15217 > if eval \${$as_CACHEVAR+:} false; then :
15218 >  $as_echo_n "(cached) " >&6
15219 > else
15220  
15221 <    desired_iopoll_mechanism="none"
15222 <    # Check whether --enable-kqueue was given.
15223 < if test "${enable_kqueue+set}" = set; then :
15224 <  enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13096 < fi
15221 >  ax_check_save_flags=$CFLAGS
15222 >  CFLAGS="$CFLAGS  $flag"
15223 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 > /* end confdefs.h.  */
15225  
15226 <  # Check whether --enable-epoll was given.
15227 < if test "${enable_epoll+set}" = set; then :
15228 <  enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13101 < fi
15226 > int
15227 > main ()
15228 > {
15229  
15230 <  # Check whether --enable-devpoll was given.
15231 < if test "${enable_devpoll+set}" = set; then :
15232 <  enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
15230 >  ;
15231 >  return 0;
15232 > }
15233 > _ACEOF
15234 > if ac_fn_c_try_compile "$LINENO"; then :
15235 >  eval "$as_CACHEVAR=yes"
15236 > else
15237 >  eval "$as_CACHEVAR=no"
15238   fi
15239 <
15240 <  # Check whether --enable-rtsigio was given.
13109 < if test "${enable_rtsigio+set}" = set; then :
13110 <  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
15239 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15240 >  CFLAGS=$ax_check_save_flags
15241   fi
15242 <
15243 <  # Check whether --enable-poll was given.
15244 < if test "${enable_poll+set}" = set; then :
15245 <  enableval=$enable_poll; desired_iopoll_mechanism="poll"
15242 > eval ac_res=\$$as_CACHEVAR
15243 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15244 > $as_echo "$ac_res" >&6; }
15245 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15246 >  if ${CFLAGS+:} false; then :
15247 >  case " $CFLAGS " in
15248 >    *" $flag "*)
15249 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15250 >  (: CFLAGS already contains $flag) 2>&5
15251 >  ac_status=$?
15252 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15253 >  test $ac_status = 0; }
15254 >      ;;
15255 >    *)
15256 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15257 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15258 >  ac_status=$?
15259 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15260 >  test $ac_status = 0; }
15261 >      CFLAGS="$CFLAGS $flag"
15262 >      ;;
15263 >   esac
15264 > else
15265 >  CFLAGS="$flag"
15266   fi
15267  
15268 <  # Check whether --enable-select was given.
15269 < if test "${enable_select+set}" = set; then :
13120 <  enableval=$enable_select; desired_iopoll_mechanism="select"
15268 > else
15269 >  :
15270   fi
15271  
15272 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
13124 < $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
13125 <  iopoll_mechanism_none=0
15272 > done
15273  
13127 cat >>confdefs.h <<_ACEOF
13128 #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
13129 _ACEOF
15274  
13131      iopoll_mechanism_kqueue=1
15275  
13133 cat >>confdefs.h <<_ACEOF
13134 #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
13135 _ACEOF
15276  
15277 +
15278 + for flag in -Wmissing-include-dirs; do
15279 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15280 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15281 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15282 + if eval \${$as_CACHEVAR+:} false; then :
15283 +  $as_echo_n "(cached) " >&6
15284 + else
15285 +
15286 +  ax_check_save_flags=$CFLAGS
15287 +  CFLAGS="$CFLAGS  $flag"
15288    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15289   /* end confdefs.h.  */
13139 /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
13140   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13141 #define kevent innocuous_kevent
15290  
15291 < /* System header to define __stub macros and hopefully few prototypes,
15292 <    which can conflict with char kevent (); below.
15293 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13146 <    <limits.h> exists even on freestanding compilers.  */
15291 > int
15292 > main ()
15293 > {
15294  
15295 < #ifdef __STDC__
15296 < # include <limits.h>
15297 < #else
15298 < # include <assert.h>
15299 < #endif
15295 >  ;
15296 >  return 0;
15297 > }
15298 > _ACEOF
15299 > if ac_fn_c_try_compile "$LINENO"; then :
15300 >  eval "$as_CACHEVAR=yes"
15301 > else
15302 >  eval "$as_CACHEVAR=no"
15303 > fi
15304 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15305 >  CFLAGS=$ax_check_save_flags
15306 > fi
15307 > eval ac_res=\$$as_CACHEVAR
15308 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15309 > $as_echo "$ac_res" >&6; }
15310 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15311 >  if ${CFLAGS+:} false; then :
15312 >  case " $CFLAGS " in
15313 >    *" $flag "*)
15314 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15315 >  (: CFLAGS already contains $flag) 2>&5
15316 >  ac_status=$?
15317 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15318 >  test $ac_status = 0; }
15319 >      ;;
15320 >    *)
15321 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15322 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15323 >  ac_status=$?
15324 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15325 >  test $ac_status = 0; }
15326 >      CFLAGS="$CFLAGS $flag"
15327 >      ;;
15328 >   esac
15329 > else
15330 >  CFLAGS="$flag"
15331 > fi
15332  
15333 < #undef kevent
15333 > else
15334 >  :
15335 > fi
15336  
15337 < /* Override any GCC internal prototype to avoid an error.
15338 <   Use char because int might match the return type of a GCC
15339 <   builtin and then its argument prototype would still apply.  */
15340 < #ifdef __cplusplus
15341 < extern "C"
15342 < #endif
15343 < char kevent ();
15344 < /* The GNU C library defines this for functions which it implements
15345 <    to always fail with ENOSYS.  Some functions are actually named
15346 <    something starting with __ and the normal name is an alias.  */
15347 < #if defined __stub_kevent || defined __stub___kevent
15348 < choke me
15349 < #endif
15337 > done
15338 >
15339 >
15340 >
15341 >
15342 >
15343 > for flag in -Wmissing-parameter-type; do
15344 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15345 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15346 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15347 > if eval \${$as_CACHEVAR+:} false; then :
15348 >  $as_echo_n "(cached) " >&6
15349 > else
15350 >
15351 >  ax_check_save_flags=$CFLAGS
15352 >  CFLAGS="$CFLAGS  $flag"
15353 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 > /* end confdefs.h.  */
15355  
15356   int
15357   main ()
15358   {
15359 < return kevent ();
15359 >
15360    ;
15361    return 0;
15362   }
15363   _ACEOF
15364 < if ac_fn_c_try_link "$LINENO"; then :
15365 <  is_kqueue_mechanism_available="yes"
15364 > if ac_fn_c_try_compile "$LINENO"; then :
15365 >  eval "$as_CACHEVAR=yes"
15366   else
15367 <  is_kqueue_mechanism_available="no"
15367 >  eval "$as_CACHEVAR=no"
15368 > fi
15369 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15370 >  CFLAGS=$ax_check_save_flags
15371 > fi
15372 > eval ac_res=\$$as_CACHEVAR
15373 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15374 > $as_echo "$ac_res" >&6; }
15375 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15376 >  if ${CFLAGS+:} false; then :
15377 >  case " $CFLAGS " in
15378 >    *" $flag "*)
15379 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15380 >  (: CFLAGS already contains $flag) 2>&5
15381 >  ac_status=$?
15382 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15383 >  test $ac_status = 0; }
15384 >      ;;
15385 >    *)
15386 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15387 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15388 >  ac_status=$?
15389 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15390 >  test $ac_status = 0; }
15391 >      CFLAGS="$CFLAGS $flag"
15392 >      ;;
15393 >   esac
15394 > else
15395 >  CFLAGS="$flag"
15396   fi
13183 rm -f core conftest.err conftest.$ac_objext \
13184    conftest$ac_exeext conftest.$ac_ext
13185      iopoll_mechanism_epoll=2
15397  
15398 < cat >>confdefs.h <<_ACEOF
15399 < #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
15400 < _ACEOF
15398 > else
15399 >  :
15400 > fi
15401  
15402 <  if test "$cross_compiling" = yes; then :
15403 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15404 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15405 < as_fn_error "cannot run test program while cross compiling
15406 < See \`config.log' for more details." "$LINENO" 5; }
15402 > done
15403 >
15404 >
15405 >
15406 >
15407 >
15408 > for flag in -Wmissing-prototypes; do
15409 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15410 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15411 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15412 > if eval \${$as_CACHEVAR+:} false; then :
15413 >  $as_echo_n "(cached) " >&6
15414   else
15415 +
15416 +  ax_check_save_flags=$CFLAGS
15417 +  CFLAGS="$CFLAGS  $flag"
15418    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15419   /* end confdefs.h.  */
15420  
15421 < #include <sys/epoll.h>
15422 < #include <sys/syscall.h>
15423 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
13203 < #if !defined(__NR_epoll_create)
13204 < #if defined(__ia64__)
13205 < #define __NR_epoll_create 1243
13206 < #elif defined(__x86_64__)
13207 < #define __NR_epoll_create 214
13208 < #elif defined(__sparc64__) || defined(__sparc__)
13209 < #define __NR_epoll_create 193
13210 < #elif defined(__s390__) || defined(__m68k__)
13211 < #define __NR_epoll_create 249
13212 < #elif defined(__ppc64__) || defined(__ppc__)
13213 < #define __NR_epoll_create 236
13214 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13215 < #define __NR_epoll_create 224
13216 < #elif defined(__alpha__)
13217 < #define __NR_epoll_create 407
13218 < #elif defined(__sh64__)
13219 < #define __NR_epoll_create 282
13220 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13221 < #define __NR_epoll_create 254
13222 < #else
13223 < #error No system call numbers defined for epoll family.
13224 < #endif
13225 < #endif
13226 < _syscall1(int, epoll_create, int, size)
13227 < #endif
13228 < main() { return epoll_create(256) == -1 ? 1 : 0; }
15421 > int
15422 > main ()
15423 > {
15424  
15425 +  ;
15426 +  return 0;
15427 + }
15428   _ACEOF
15429 < if ac_fn_c_try_run "$LINENO"; then :
15430 <  is_epoll_mechanism_available="yes"
15429 > if ac_fn_c_try_compile "$LINENO"; then :
15430 >  eval "$as_CACHEVAR=yes"
15431   else
15432 <  is_epoll_mechanism_available="no"
15432 >  eval "$as_CACHEVAR=no"
15433   fi
15434 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15435 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
15434 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15435 >  CFLAGS=$ax_check_save_flags
15436 > fi
15437 > eval ac_res=\$$as_CACHEVAR
15438 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15439 > $as_echo "$ac_res" >&6; }
15440 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15441 >  if ${CFLAGS+:} false; then :
15442 >  case " $CFLAGS " in
15443 >    *" $flag "*)
15444 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15445 >  (: CFLAGS already contains $flag) 2>&5
15446 >  ac_status=$?
15447 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15448 >  test $ac_status = 0; }
15449 >      ;;
15450 >    *)
15451 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15452 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15453 >  ac_status=$?
15454 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15455 >  test $ac_status = 0; }
15456 >      CFLAGS="$CFLAGS $flag"
15457 >      ;;
15458 >   esac
15459 > else
15460 >  CFLAGS="$flag"
15461 > fi
15462 >
15463 > else
15464 >  :
15465   fi
15466  
15467 <      iopoll_mechanism_devpoll=3
15467 > done
15468 >
15469  
13242 cat >>confdefs.h <<_ACEOF
13243 #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
13244 _ACEOF
15470  
15471 +
15472 +
15473 + for flag in -Wnested-externs; do
15474 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15475 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15476 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15477 + if eval \${$as_CACHEVAR+:} false; then :
15478 +  $as_echo_n "(cached) " >&6
15479 + else
15480 +
15481 +  ax_check_save_flags=$CFLAGS
15482 +  CFLAGS="$CFLAGS  $flag"
15483    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484   /* end confdefs.h.  */
15485 < #include <devpoll.h>
15485 >
15486   int
15487   main ()
15488   {
# Line 13255 | Line 15492 | main ()
15492   }
15493   _ACEOF
15494   if ac_fn_c_try_compile "$LINENO"; then :
15495 <  is_devpoll_mechanism_available="yes"
15495 >  eval "$as_CACHEVAR=yes"
15496   else
15497 <  is_devpoll_mechanism_available="no"
15497 >  eval "$as_CACHEVAR=no"
15498   fi
15499   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15500 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15500 >  CFLAGS=$ax_check_save_flags
15501 > fi
15502 > eval ac_res=\$$as_CACHEVAR
15503 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15504 > $as_echo "$ac_res" >&6; }
15505 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15506 >  if ${CFLAGS+:} false; then :
15507 >  case " $CFLAGS " in
15508 >    *" $flag "*)
15509 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15510 >  (: CFLAGS already contains $flag) 2>&5
15511 >  ac_status=$?
15512 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15513 >  test $ac_status = 0; }
15514 >      ;;
15515 >    *)
15516 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15517 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15518 >  ac_status=$?
15519 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 >  test $ac_status = 0; }
15521 >      CFLAGS="$CFLAGS $flag"
15522 >      ;;
15523 >   esac
15524 > else
15525 >  CFLAGS="$flag"
15526 > fi
15527  
15528 < $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
15528 > else
15529 >  :
15530 > fi
15531  
15532 <  fi
15532 > done
15533 >
15534 >
15535 >
15536 >
15537 >
15538 > for flag in -Wold-style-declaration; do
15539 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15540 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15541 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15542 > if eval \${$as_CACHEVAR+:} false; then :
15543 >  $as_echo_n "(cached) " >&6
15544 > else
15545 >
15546 >  ax_check_save_flags=$CFLAGS
15547 >  CFLAGS="$CFLAGS  $flag"
15548    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15549   /* end confdefs.h.  */
15550 < #include <sys/devpoll.h>
15550 >
15551   int
15552   main ()
15553   {
# Line 13277 | Line 15557 | main ()
15557   }
15558   _ACEOF
15559   if ac_fn_c_try_compile "$LINENO"; then :
15560 <  is_devpoll_mechanism_available="yes"
15560 >  eval "$as_CACHEVAR=yes"
15561   else
15562 <  is_devpoll_mechanism_available="no"
15562 >  eval "$as_CACHEVAR=no"
15563   fi
15564   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15565 <  if test "$is_devpoll_mechanism_available" = "yes" ; then
15565 >  CFLAGS=$ax_check_save_flags
15566 > fi
15567 > eval ac_res=\$$as_CACHEVAR
15568 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15569 > $as_echo "$ac_res" >&6; }
15570 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15571 >  if ${CFLAGS+:} false; then :
15572 >  case " $CFLAGS " in
15573 >    *" $flag "*)
15574 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15575 >  (: CFLAGS already contains $flag) 2>&5
15576 >  ac_status=$?
15577 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15578 >  test $ac_status = 0; }
15579 >      ;;
15580 >    *)
15581 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15582 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15583 >  ac_status=$?
15584 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15585 >  test $ac_status = 0; }
15586 >      CFLAGS="$CFLAGS $flag"
15587 >      ;;
15588 >   esac
15589 > else
15590 >  CFLAGS="$flag"
15591 > fi
15592  
15593 < $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
15593 > else
15594 >  :
15595 > fi
15596  
15597 <  fi
13290 <      iopoll_mechanism_rtsigio=4
15597 > done
15598  
13292 cat >>confdefs.h <<_ACEOF
13293 #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13294 _ACEOF
15599  
15600 <  if test "$cross_compiling" = yes; then :
15601 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15602 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15603 < as_fn_error "cannot run test program while cross compiling
15604 < See \`config.log' for more details." "$LINENO" 5; }
15600 >
15601 >
15602 >
15603 > for flag in -Woverride-init; do
15604 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15605 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15606 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15607 > if eval \${$as_CACHEVAR+:} false; then :
15608 >  $as_echo_n "(cached) " >&6
15609   else
15610 +
15611 +  ax_check_save_flags=$CFLAGS
15612 +  CFLAGS="$CFLAGS  $flag"
15613    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15614   /* end confdefs.h.  */
15615  
13305 #include <fcntl.h>
13306 #ifdef F_SETSIG
13307 main () { return 0; } /* F_SETSIG defined */
13308 #else
13309 main () { return 1; } /* F_SETSIG not defined */
13310 #endif
13311
15616   int
15617   main ()
15618   {
# Line 13317 | Line 15621 | main ()
15621    return 0;
15622   }
15623   _ACEOF
15624 < if ac_fn_c_try_run "$LINENO"; then :
15625 <  is_rtsigio_mechanism_available="yes"
15624 > if ac_fn_c_try_compile "$LINENO"; then :
15625 >  eval "$as_CACHEVAR=yes"
15626   else
15627 <  is_rtsigio_mechanism_available="no"
15627 >  eval "$as_CACHEVAR=no"
15628   fi
15629 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15630 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
15629 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15630 >  CFLAGS=$ax_check_save_flags
15631 > fi
15632 > eval ac_res=\$$as_CACHEVAR
15633 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15634 > $as_echo "$ac_res" >&6; }
15635 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15636 >  if ${CFLAGS+:} false; then :
15637 >  case " $CFLAGS " in
15638 >    *" $flag "*)
15639 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15640 >  (: CFLAGS already contains $flag) 2>&5
15641 >  ac_status=$?
15642 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15643 >  test $ac_status = 0; }
15644 >      ;;
15645 >    *)
15646 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15647 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15648 >  ac_status=$?
15649 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15650 >  test $ac_status = 0; }
15651 >      CFLAGS="$CFLAGS $flag"
15652 >      ;;
15653 >   esac
15654 > else
15655 >  CFLAGS="$flag"
15656 > fi
15657 >
15658 > else
15659 >  :
15660   fi
15661  
15662 <      iopoll_mechanism_poll=5
15662 > done
15663  
13331 cat >>confdefs.h <<_ACEOF
13332 #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
13333 _ACEOF
15664  
13335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h.  */
13337 /* Define poll to an innocuous variant, in case <limits.h> declares poll.
13338   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13339 #define poll innocuous_poll
15665  
13341 /* System header to define __stub macros and hopefully few prototypes,
13342    which can conflict with char poll (); below.
13343    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13344    <limits.h> exists even on freestanding compilers.  */
15666  
13346 #ifdef __STDC__
13347 # include <limits.h>
13348 #else
13349 # include <assert.h>
13350 #endif
15667  
15668 < #undef poll
15668 > for flag in -Wpointer-arith; do
15669 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15670 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15671 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15672 > if eval \${$as_CACHEVAR+:} false; then :
15673 >  $as_echo_n "(cached) " >&6
15674 > else
15675  
15676 < /* Override any GCC internal prototype to avoid an error.
15677 <   Use char because int might match the return type of a GCC
15678 <   builtin and then its argument prototype would still apply.  */
15679 < #ifdef __cplusplus
13358 < extern "C"
13359 < #endif
13360 < char poll ();
13361 < /* The GNU C library defines this for functions which it implements
13362 <    to always fail with ENOSYS.  Some functions are actually named
13363 <    something starting with __ and the normal name is an alias.  */
13364 < #if defined __stub_poll || defined __stub___poll
13365 < choke me
13366 < #endif
15676 >  ax_check_save_flags=$CFLAGS
15677 >  CFLAGS="$CFLAGS  $flag"
15678 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15679 > /* end confdefs.h.  */
15680  
15681   int
15682   main ()
15683   {
15684 < return poll ();
15684 >
15685    ;
15686    return 0;
15687   }
15688   _ACEOF
15689 < if ac_fn_c_try_link "$LINENO"; then :
15690 <  is_poll_mechanism_available="yes"
15689 > if ac_fn_c_try_compile "$LINENO"; then :
15690 >  eval "$as_CACHEVAR=yes"
15691   else
15692 <  is_poll_mechanism_available="no"
15692 >  eval "$as_CACHEVAR=no"
15693 > fi
15694 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15695 >  CFLAGS=$ax_check_save_flags
15696 > fi
15697 > eval ac_res=\$$as_CACHEVAR
15698 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15699 > $as_echo "$ac_res" >&6; }
15700 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15701 >  if ${CFLAGS+:} false; then :
15702 >  case " $CFLAGS " in
15703 >    *" $flag "*)
15704 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15705 >  (: CFLAGS already contains $flag) 2>&5
15706 >  ac_status=$?
15707 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15708 >  test $ac_status = 0; }
15709 >      ;;
15710 >    *)
15711 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15712 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15713 >  ac_status=$?
15714 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15715 >  test $ac_status = 0; }
15716 >      CFLAGS="$CFLAGS $flag"
15717 >      ;;
15718 >   esac
15719 > else
15720 >  CFLAGS="$flag"
15721   fi
13381 rm -f core conftest.err conftest.$ac_objext \
13382    conftest$ac_exeext conftest.$ac_ext
13383      iopoll_mechanism_select=6
15722  
15723 < cat >>confdefs.h <<_ACEOF
15724 < #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
15725 < _ACEOF
15723 > else
15724 >  :
15725 > fi
15726 >
15727 > done
15728 >
15729 >
15730  
15731 +
15732 +
15733 + for flag in -Wredundant-decls; do
15734 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15735 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15736 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15737 + if eval \${$as_CACHEVAR+:} false; then :
15738 +  $as_echo_n "(cached) " >&6
15739 + else
15740 +
15741 +  ax_check_save_flags=$CFLAGS
15742 +  CFLAGS="$CFLAGS  $flag"
15743    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15744   /* end confdefs.h.  */
13391 /* Define select to an innocuous variant, in case <limits.h> declares select.
13392   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13393 #define select innocuous_select
15745  
15746 < /* System header to define __stub macros and hopefully few prototypes,
15747 <    which can conflict with char select (); below.
15748 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13398 <    <limits.h> exists even on freestanding compilers.  */
15746 > int
15747 > main ()
15748 > {
15749  
15750 < #ifdef __STDC__
15751 < # include <limits.h>
15752 < #else
15753 < # include <assert.h>
15754 < #endif
15750 >  ;
15751 >  return 0;
15752 > }
15753 > _ACEOF
15754 > if ac_fn_c_try_compile "$LINENO"; then :
15755 >  eval "$as_CACHEVAR=yes"
15756 > else
15757 >  eval "$as_CACHEVAR=no"
15758 > fi
15759 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760 >  CFLAGS=$ax_check_save_flags
15761 > fi
15762 > eval ac_res=\$$as_CACHEVAR
15763 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15764 > $as_echo "$ac_res" >&6; }
15765 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15766 >  if ${CFLAGS+:} false; then :
15767 >  case " $CFLAGS " in
15768 >    *" $flag "*)
15769 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15770 >  (: CFLAGS already contains $flag) 2>&5
15771 >  ac_status=$?
15772 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15773 >  test $ac_status = 0; }
15774 >      ;;
15775 >    *)
15776 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15777 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15778 >  ac_status=$?
15779 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15780 >  test $ac_status = 0; }
15781 >      CFLAGS="$CFLAGS $flag"
15782 >      ;;
15783 >   esac
15784 > else
15785 >  CFLAGS="$flag"
15786 > fi
15787  
15788 < #undef select
15788 > else
15789 >  :
15790 > fi
15791  
15792 < /* Override any GCC internal prototype to avoid an error.
15793 <   Use char because int might match the return type of a GCC
15794 <   builtin and then its argument prototype would still apply.  */
15795 < #ifdef __cplusplus
15796 < extern "C"
15797 < #endif
15798 < char select ();
15799 < /* The GNU C library defines this for functions which it implements
15800 <    to always fail with ENOSYS.  Some functions are actually named
15801 <    something starting with __ and the normal name is an alias.  */
15802 < #if defined __stub_select || defined __stub___select
15803 < choke me
15804 < #endif
15792 > done
15793 >
15794 >
15795 >
15796 >
15797 >
15798 > for flag in -Wshadow; do
15799 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15800 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15801 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15802 > if eval \${$as_CACHEVAR+:} false; then :
15803 >  $as_echo_n "(cached) " >&6
15804 > else
15805 >
15806 >  ax_check_save_flags=$CFLAGS
15807 >  CFLAGS="$CFLAGS  $flag"
15808 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 > /* end confdefs.h.  */
15810  
15811   int
15812   main ()
15813   {
15814 < return select ();
15814 >
15815    ;
15816    return 0;
15817   }
15818   _ACEOF
15819 < if ac_fn_c_try_link "$LINENO"; then :
15820 <  is_select_mechanism_available="yes"
15819 > if ac_fn_c_try_compile "$LINENO"; then :
15820 >  eval "$as_CACHEVAR=yes"
15821   else
15822 <  is_select_mechanism_available="no"
15822 >  eval "$as_CACHEVAR=no"
15823 > fi
15824 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15825 >  CFLAGS=$ax_check_save_flags
15826 > fi
15827 > eval ac_res=\$$as_CACHEVAR
15828 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15829 > $as_echo "$ac_res" >&6; }
15830 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15831 >  if ${CFLAGS+:} false; then :
15832 >  case " $CFLAGS " in
15833 >    *" $flag "*)
15834 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15835 >  (: CFLAGS already contains $flag) 2>&5
15836 >  ac_status=$?
15837 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15838 >  test $ac_status = 0; }
15839 >      ;;
15840 >    *)
15841 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15842 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15843 >  ac_status=$?
15844 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15845 >  test $ac_status = 0; }
15846 >      CFLAGS="$CFLAGS $flag"
15847 >      ;;
15848 >   esac
15849 > else
15850 >  CFLAGS="$flag"
15851   fi
13435 rm -f core conftest.err conftest.$ac_objext \
13436    conftest$ac_exeext conftest.$ac_ext
13437      optimal_iopoll_mechanism="none"
13438  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
13439    eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
13440    if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
13441      optimal_iopoll_mechanism="$mechanism"
13442      break
13443    fi
13444  done
13445      if test "$desired_iopoll_mechanism" = "none" ; then
13446    if test "$optimal_iopoll_mechanism" = "none" ; then
13447      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13448 $as_echo "none" >&6; }
13449      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
13450    else
13451      selected_iopoll_mechanism=$optimal_iopoll_mechanism
13452      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13453 $as_echo "$selected_iopoll_mechanism" >&6; }
13454    fi
13455  else
13456    eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
13457    if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
13458      selected_iopoll_mechanism=$desired_iopoll_mechanism
13459      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
13460 $as_echo "$selected_iopoll_mechanism" >&6; }
13461    else
13462      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13463 $as_echo "none" >&6; }
13464      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
13465    fi
13466  fi
13467      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
15852  
15853 < cat >>confdefs.h <<_ACEOF
15854 < #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
15855 < _ACEOF
15853 > else
15854 >  :
15855 > fi
15856 >
15857 > done
15858  
15859  
15860  
15861  
15862 < # Check whether --with-nicklen was given.
15863 < if test "${with_nicklen+set}" = set; then :
15864 <  withval=$with_nicklen; nicklen="$withval"
15862 >
15863 > for flag in -Wsign-compare; do
15864 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15865 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15866 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15867 > if eval \${$as_CACHEVAR+:} false; then :
15868 >  $as_echo_n "(cached) " >&6
15869   else
13480  nicklen="9"
13481 fi
15870  
15871 +  ax_check_save_flags=$CFLAGS
15872 +  CFLAGS="$CFLAGS  $flag"
15873 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 + /* end confdefs.h.  */
15875  
15876 < cat >>confdefs.h <<_ACEOF
15877 < #define NICKLEN ($nicklen+1)
15876 > int
15877 > main ()
15878 > {
15879 >
15880 >  ;
15881 >  return 0;
15882 > }
15883   _ACEOF
15884 + if ac_fn_c_try_compile "$LINENO"; then :
15885 +  eval "$as_CACHEVAR=yes"
15886 + else
15887 +  eval "$as_CACHEVAR=no"
15888 + fi
15889 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15890 +  CFLAGS=$ax_check_save_flags
15891 + fi
15892 + eval ac_res=\$$as_CACHEVAR
15893 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15894 + $as_echo "$ac_res" >&6; }
15895 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15896 +  if ${CFLAGS+:} false; then :
15897 +  case " $CFLAGS " in
15898 +    *" $flag "*)
15899 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15900 +  (: CFLAGS already contains $flag) 2>&5
15901 +  ac_status=$?
15902 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15903 +  test $ac_status = 0; }
15904 +      ;;
15905 +    *)
15906 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15907 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15908 +  ac_status=$?
15909 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15910 +  test $ac_status = 0; }
15911 +      CFLAGS="$CFLAGS $flag"
15912 +      ;;
15913 +   esac
15914 + else
15915 +  CFLAGS="$flag"
15916 + fi
15917 +
15918 + else
15919 +  :
15920 + fi
15921 +
15922 + done
15923 +
15924  
15925  
15926  
15927  
15928 < # Check whether --with-topiclen was given.
15929 < if test "${with_topiclen+set}" = set; then :
15930 <  withval=$with_topiclen; topiclen="$withval"
15928 > for flag in -Wtype-limits; do
15929 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15930 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15931 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15932 > if eval \${$as_CACHEVAR+:} false; then :
15933 >  $as_echo_n "(cached) " >&6
15934   else
13495  topiclen="160"
13496 fi
15935  
15936 +  ax_check_save_flags=$CFLAGS
15937 +  CFLAGS="$CFLAGS  $flag"
15938 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 + /* end confdefs.h.  */
15940 +
15941 + int
15942 + main ()
15943 + {
15944  
15945 < cat >>confdefs.h <<_ACEOF
15946 < #define TOPICLEN ($topiclen)
15945 >  ;
15946 >  return 0;
15947 > }
15948   _ACEOF
15949 + if ac_fn_c_try_compile "$LINENO"; then :
15950 +  eval "$as_CACHEVAR=yes"
15951 + else
15952 +  eval "$as_CACHEVAR=no"
15953 + fi
15954 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15955 +  CFLAGS=$ax_check_save_flags
15956 + fi
15957 + eval ac_res=\$$as_CACHEVAR
15958 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15959 + $as_echo "$ac_res" >&6; }
15960 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15961 +  if ${CFLAGS+:} false; then :
15962 +  case " $CFLAGS " in
15963 +    *" $flag "*)
15964 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15965 +  (: CFLAGS already contains $flag) 2>&5
15966 +  ac_status=$?
15967 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15968 +  test $ac_status = 0; }
15969 +      ;;
15970 +    *)
15971 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15972 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15973 +  ac_status=$?
15974 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15975 +  test $ac_status = 0; }
15976 +      CFLAGS="$CFLAGS $flag"
15977 +      ;;
15978 +   esac
15979 + else
15980 +  CFLAGS="$flag"
15981 + fi
15982 +
15983 + else
15984 +  :
15985 + fi
15986 +
15987 + done
15988 +
15989  
15990  
15991  
15992  
15993 < # Check whether --with-syslog-facility was given.
15994 < if test "${with_syslog_facility+set}" = set; then :
15995 <  withval=$with_syslog_facility; syslog_facility="$withval"
15993 > for flag in -Wundef; do
15994 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15995 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15996 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15997 > if eval \${$as_CACHEVAR+:} false; then :
15998 >  $as_echo_n "(cached) " >&6
15999   else
13510  syslog_facility="LOG_LOCAL4"
13511 fi
16000  
16001 +  ax_check_save_flags=$CFLAGS
16002 +  CFLAGS="$CFLAGS  $flag"
16003 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16004 + /* end confdefs.h.  */
16005  
16006 < cat >>confdefs.h <<_ACEOF
16007 < #define LOG_FACILITY $syslog_facility
16006 > int
16007 > main ()
16008 > {
16009 >
16010 >  ;
16011 >  return 0;
16012 > }
16013   _ACEOF
16014 + if ac_fn_c_try_compile "$LINENO"; then :
16015 +  eval "$as_CACHEVAR=yes"
16016 + else
16017 +  eval "$as_CACHEVAR=no"
16018 + fi
16019 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16020 +  CFLAGS=$ax_check_save_flags
16021 + fi
16022 + eval ac_res=\$$as_CACHEVAR
16023 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16024 + $as_echo "$ac_res" >&6; }
16025 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
16026 +  if ${CFLAGS+:} false; then :
16027 +  case " $CFLAGS " in
16028 +    *" $flag "*)
16029 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16030 +  (: CFLAGS already contains $flag) 2>&5
16031 +  ac_status=$?
16032 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16033 +  test $ac_status = 0; }
16034 +      ;;
16035 +    *)
16036 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
16037 +  (: CFLAGS="$CFLAGS $flag") 2>&5
16038 +  ac_status=$?
16039 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16040 +  test $ac_status = 0; }
16041 +      CFLAGS="$CFLAGS $flag"
16042 +      ;;
16043 +   esac
16044 + else
16045 +  CFLAGS="$flag"
16046 + fi
16047 +
16048 + else
16049 +  :
16050 + fi
16051 +
16052 + done
16053  
16054  
16055  
16056 <  # Check whether --enable-efnet was given.
16057 < if test "${enable_efnet+set}" = set; then :
16058 <  enableval=$enable_efnet; efnet="$enableval"
16056 >
16057 >
16058 > for flag in -Wuninitialized; do
16059 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16060 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16061 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16062 > if eval \${$as_CACHEVAR+:} false; then :
16063 >  $as_echo_n "(cached) " >&6
16064   else
16065 <  efnet="no"
16065 >
16066 >  ax_check_save_flags=$CFLAGS
16067 >  CFLAGS="$CFLAGS  $flag"
16068 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16069 > /* end confdefs.h.  */
16070 >
16071 > int
16072 > main ()
16073 > {
16074 >
16075 >  ;
16076 >  return 0;
16077 > }
16078 > _ACEOF
16079 > if ac_fn_c_try_compile "$LINENO"; then :
16080 >  eval "$as_CACHEVAR=yes"
16081 > else
16082 >  eval "$as_CACHEVAR=no"
16083 > fi
16084 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16085 >  CFLAGS=$ax_check_save_flags
16086 > fi
16087 > eval ac_res=\$$as_CACHEVAR
16088 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16089 > $as_echo "$ac_res" >&6; }
16090 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
16091 >  if ${CFLAGS+:} false; then :
16092 >  case " $CFLAGS " in
16093 >    *" $flag "*)
16094 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16095 >  (: CFLAGS already contains $flag) 2>&5
16096 >  ac_status=$?
16097 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16098 >  test $ac_status = 0; }
16099 >      ;;
16100 >    *)
16101 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
16102 >  (: CFLAGS="$CFLAGS $flag") 2>&5
16103 >  ac_status=$?
16104 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16105 >  test $ac_status = 0; }
16106 >      CFLAGS="$CFLAGS $flag"
16107 >      ;;
16108 >   esac
16109 > else
16110 >  CFLAGS="$flag"
16111   fi
16112  
16113 <  if test "$efnet" = "yes" ; then
16114 <                use_efnet="yes"
16113 > else
16114 >  :
16115 > fi
16116  
16117 < $as_echo "#define EFNET 1" >>confdefs.h
16117 > done
16118  
16119  
13533 $as_echo "#define TS5_ONLY 1" >>confdefs.h
16120  
16121 <        else
16122 <                use_efnet="no"
16123 <  fi
16124 <   if test "$use_efnet" = "yes"; then
16125 <  EFNET_TRUE=
16126 <  EFNET_FALSE='#'
16121 >
16122 >
16123 > for flag in -Wwrite-strings; do
16124 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
16125 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
16126 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
16127 > if eval \${$as_CACHEVAR+:} false; then :
16128 >  $as_echo_n "(cached) " >&6
16129   else
13542  EFNET_TRUE='#'
13543  EFNET_FALSE=
13544 fi
16130  
16131 +  ax_check_save_flags=$CFLAGS
16132 +  CFLAGS="$CFLAGS  $flag"
16133 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16134 + /* end confdefs.h.  */
16135  
16136 + int
16137 + main ()
16138 + {
16139  
16140 <  # Check whether --enable-halfops was given.
16141 < if test "${enable_halfops+set}" = set; then :
16142 <  enableval=$enable_halfops; halfops="$enableval"
16140 >  ;
16141 >  return 0;
16142 > }
16143 > _ACEOF
16144 > if ac_fn_c_try_compile "$LINENO"; then :
16145 >  eval "$as_CACHEVAR=yes"
16146   else
16147 <  halfops="no"
16147 >  eval "$as_CACHEVAR=no"
16148 > fi
16149 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16150 >  CFLAGS=$ax_check_save_flags
16151 > fi
16152 > eval ac_res=\$$as_CACHEVAR
16153 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16154 > $as_echo "$ac_res" >&6; }
16155 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
16156 >  if ${CFLAGS+:} false; then :
16157 >  case " $CFLAGS " in
16158 >    *" $flag "*)
16159 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
16160 >  (: CFLAGS already contains $flag) 2>&5
16161 >  ac_status=$?
16162 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16163 >  test $ac_status = 0; }
16164 >      ;;
16165 >    *)
16166 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
16167 >  (: CFLAGS="$CFLAGS $flag") 2>&5
16168 >  ac_status=$?
16169 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16170 >  test $ac_status = 0; }
16171 >      CFLAGS="$CFLAGS $flag"
16172 >      ;;
16173 >   esac
16174 > else
16175 >  CFLAGS="$flag"
16176   fi
16177  
16178 <  if test "$halfops" = "yes" ; then
16178 > else
16179 >  :
16180 > fi
16181  
16182 < $as_echo "#define HALFOPS 1" >>confdefs.h
16182 > done
16183  
16184    fi
16185  
16186  
16187 <  # Check whether --enable-debugging was given.
16188 < if test "${enable_debugging+set}" = set; then :
16189 <  enableval=$enable_debugging; debugging="$enableval"
16187 > # Check whether --enable-openssl was given.
16188 > if test "${enable_openssl+set}" = set; then :
16189 >  enableval=$enable_openssl;  cf_enable_openssl=$enableval
16190   else
16191 <  debugging="no"
16191 >   cf_enable_openssl="auto"
16192   fi
16193  
16194 <  if test "$debugging" = "yes" ; then
16195 <
16196 < $as_echo "#define DEBUG 1" >>confdefs.h
16197 <
16198 <    CFLAGS="-Wall -g -O0"
16194 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
16195 > $as_echo_n "checking for LibreSSL/OpenSSL... " >&6; }
16196 > if test "$cf_enable_openssl" != "no"; then
16197 >  cf_openssl_basedir=""
16198 >  if test "$cf_enable_openssl" != "auto" &&
16199 >     test "$cf_enable_openssl" != "yes"; then
16200 >          cf_openssl_basedir="${cf_enable_openssl}"
16201    else
16202 +        for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
16203 +                /opt /opt/openssl /usr/local/openssl; do
16204 +      if test -f "${dirs}/include/openssl/opensslv.h"; then
16205 +        cf_openssl_basedir="${dirs}"
16206 +        break
16207 +      fi
16208 +    done
16209 +    unset dirs
16210 +  fi
16211  
16212 < $as_echo "#define NDEBUG 1" >>confdefs.h
16212 >    if test ! -z "$cf_openssl_basedir"; then
16213 >    if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
16214 >      CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
16215 >      LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
16216 >    else
16217 >                  cf_openssl_basedir=""
16218 >    fi
16219 >  else
16220 >                            if test -f "/usr/include/openssl/opensslv.h"; then
16221 >      cf_openssl_basedir="/usr"
16222 >    fi
16223 >  fi
16224  
16225 +      if test ! -z "$cf_openssl_basedir"; then
16226 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
16227 + $as_echo "$cf_openssl_basedir" >&6; }
16228 +    cf_enable_openssl="yes"
16229 +  else
16230 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
16231 + $as_echo "not found. Please check your path." >&6; }
16232 +    cf_enable_openssl="no"
16233    fi
16234 +  unset cf_openssl_basedir
16235 + else
16236 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16237 + $as_echo "disabled" >&6; }
16238 + fi
16239  
16240 + if test "$cf_enable_openssl" != "no"; then :
16241 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5
16242 + $as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; }
16243 +  if test "$cross_compiling" = yes; then :
16244 +  cf_openssl_version_ok=no
16245 + else
16246 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 + /* end confdefs.h.  */
16248  
16249 <  # Check whether --enable-warnings was given.
16250 < if test "${enable_warnings+set}" = set; then :
16251 <  enableval=$enable_warnings; warnings="$enableval"
16249 >
16250 >    #include <openssl/opensslv.h>
16251 >    #include <stdlib.h>
16252 > int
16253 > main ()
16254 > {
16255 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
16256 >  ;
16257 >  return 0;
16258 > }
16259 > _ACEOF
16260 > if ac_fn_c_try_run "$LINENO"; then :
16261 >  cf_openssl_version_ok=yes
16262   else
16263 <  warnings="no"
16263 >  cf_openssl_version_ok=no
16264 > fi
16265 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16266 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
16267   fi
16268  
13588  if test "$warnings" = "yes" ; then
13589    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13590  fi
16269  
16270 +  if test "$cf_openssl_version_ok" = "yes"; then :
16271 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16272 + $as_echo "found" >&6; }
16273  
16274 <  for ac_header in syslog.h sys/syslog.h
16275 < do :
16276 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16277 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16278 < eval as_val=\$$as_ac_Header
16279 <   if test "x$as_val" = x""yes; then :
16274 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
16275 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
16276 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
16277 >  $as_echo_n "(cached) " >&6
16278 > else
16279 >  ac_check_lib_save_LIBS=$LIBS
16280 > LIBS="-lcrypto  $LIBS"
16281 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 > /* end confdefs.h.  */
16283 >
16284 > /* Override any GCC internal prototype to avoid an error.
16285 >   Use char because int might match the return type of a GCC
16286 >   builtin and then its argument prototype would still apply.  */
16287 > #ifdef __cplusplus
16288 > extern "C"
16289 > #endif
16290 > char RSA_free ();
16291 > int
16292 > main ()
16293 > {
16294 > return RSA_free ();
16295 >  ;
16296 >  return 0;
16297 > }
16298 > _ACEOF
16299 > if ac_fn_c_try_link "$LINENO"; then :
16300 >  ac_cv_lib_crypto_RSA_free=yes
16301 > else
16302 >  ac_cv_lib_crypto_RSA_free=no
16303 > fi
16304 > rm -f core conftest.err conftest.$ac_objext \
16305 >    conftest$ac_exeext conftest.$ac_ext
16306 > LIBS=$ac_check_lib_save_LIBS
16307 > fi
16308 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
16309 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
16310 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
16311    cat >>confdefs.h <<_ACEOF
16312 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16312 > #define HAVE_LIBCRYPTO 1
16313   _ACEOF
16314  
16315 +  LIBS="-lcrypto $LIBS"
16316 +
16317   fi
16318  
16319 < done
16319 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
16320 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
16321 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
16322 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
16323 >  $as_echo_n "(cached) " >&6
16324 > else
16325 >  ac_check_lib_save_LIBS=$LIBS
16326 > LIBS="-lssl  $LIBS"
16327 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 > /* end confdefs.h.  */
16329  
16330 <  # Check whether --enable-syslog was given.
16331 < if test "${enable_syslog+set}" = set; then :
16332 <  enableval=$enable_syslog; syslog="$enableval"
16333 < else
16334 <  syslog="no"
16330 > /* Override any GCC internal prototype to avoid an error.
16331 >   Use char because int might match the return type of a GCC
16332 >   builtin and then its argument prototype would still apply.  */
16333 > #ifdef __cplusplus
16334 > extern "C"
16335 > #endif
16336 > char SSL_connect ();
16337 > int
16338 > main ()
16339 > {
16340 > return SSL_connect ();
16341 >  ;
16342 >  return 0;
16343 > }
16344 > _ACEOF
16345 > if ac_fn_c_try_link "$LINENO"; then :
16346 >  ac_cv_lib_ssl_SSL_connect=yes
16347 > else
16348 >  ac_cv_lib_ssl_SSL_connect=no
16349 > fi
16350 > rm -f core conftest.err conftest.$ac_objext \
16351 >    conftest$ac_exeext conftest.$ac_ext
16352 > LIBS=$ac_check_lib_save_LIBS
16353   fi
16354 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
16355 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
16356 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
16357 +  cat >>confdefs.h <<_ACEOF
16358 + #define HAVE_LIBSSL 1
16359 + _ACEOF
16360  
16361 <  if test "$enableval" != "no" ; then
13615 <    for option in $enableval ; do
13616 <      case "$option" in
13617 <        users)
13618 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13619 < ;;
13620 <        oper)
13621 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13622 < ;;
13623 <        yes) : ;;
13624 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13625 <      esac
13626 <    done
16361 >  LIBS="-lssl $LIBS"
16362  
16363 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
16363 > fi
16364 >
16365 > fi
16366 >
16367 > else
16368 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
16369 > $as_echo "no - LibreSSL/OpenSSL support disabled" >&6; }
16370 >    cf_enable_openssl="no"
16371 > fi
16372 > fi
16373 >
16374 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
16375 >  ENABLE_SSL_TRUE=
16376 >  ENABLE_SSL_FALSE='#'
16377 > else
16378 >  ENABLE_SSL_TRUE='#'
16379 >  ENABLE_SSL_FALSE=
16380 > fi
16381  
13630  fi
16382  
16383  
16384  
# Line 13716 | Line 16467 | _ACEOF
16467    test "$exec_prefix_NONE" && exec_prefix=NONE
16468  
16469  
16470 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
16470 > 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"
16471  
16472  
16473   cat >confcache <<\_ACEOF
# Line 13783 | Line 16534 | $as_echo "$as_me: WARNING: cache variabl
16534       :end' >>confcache
16535   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16536    if test -w "$cache_file"; then
16537 <    test "x$cache_file" != "x/dev/null" &&
16537 >    if test "x$cache_file" != "x/dev/null"; then
16538        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16539   $as_echo "$as_me: updating cache $cache_file" >&6;}
16540 <    cat confcache >$cache_file
16540 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
16541 >        cat confcache >"$cache_file"
16542 >      else
16543 >        case $cache_file in #(
16544 >        */* | ?:*)
16545 >          mv -f confcache "$cache_file"$$ &&
16546 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
16547 >        *)
16548 >          mv -f confcache "$cache_file" ;;
16549 >        esac
16550 >      fi
16551 >    fi
16552    else
16553      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16554   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13802 | Line 16564 | DEFS=-DHAVE_CONFIG_H
16564  
16565   ac_libobjs=
16566   ac_ltlibobjs=
16567 + U=
16568   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16569    # 1. Remove the extension, and $U if already installed.
16570    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13816 | Line 16579 | LIBOBJS=$ac_libobjs
16579   LTLIBOBJS=$ac_ltlibobjs
16580  
16581  
16582 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16583 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
16584 +   if test -n "$am_sleep_pid"; then
16585 +     # Hide warnings about reused PIDs.
16586 +     wait $am_sleep_pid 2>/dev/null
16587 +   fi
16588 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16589 + $as_echo "done" >&6; }
16590   if test -n "$EXEEXT"; then
16591    am__EXEEXT_TRUE=
16592    am__EXEEXT_FALSE='#'
# Line 13825 | Line 16596 | else
16596   fi
16597  
16598   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16599 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
16599 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16600   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16601   fi
16602   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16603 <  as_fn_error "conditional \"AMDEP\" was never defined.
16603 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
16604   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16605   fi
16606   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16607 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
16607 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16608   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16609   fi
16610   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
16611 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
16611 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
16612   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16613   fi
16614   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
16615 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
16615 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
16616   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16617   fi
16618   LT_CONFIG_H=config.h
# Line 13862 | Line 16633 | LT_CONFIG_H=config.h
16633  
16634  
16635  
13865 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13866  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868 fi
16636   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
16637 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13871 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872 < fi
13873 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13874 <  as_fn_error "conditional \"EFNET\" was never defined.
16637 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
16638   Usually this means the macro was only invoked conditionally." "$LINENO" 5
16639   fi
16640  
16641 < : ${CONFIG_STATUS=./config.status}
16641 > : "${CONFIG_STATUS=./config.status}"
16642   ac_write_fail=0
16643   ac_clean_files_save=$ac_clean_files
16644   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13976 | Line 16739 | fi
16739   IFS=" ""        $as_nl"
16740  
16741   # Find who we are.  Look in the path if we contain no directory separator.
16742 + as_myself=
16743   case $0 in #((
16744    *[\\/]* ) as_myself=$0 ;;
16745    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14021 | Line 16785 | export LANGUAGE
16785   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16786  
16787  
16788 < # as_fn_error ERROR [LINENO LOG_FD]
16789 < # ---------------------------------
16788 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
16789 > # ----------------------------------------
16790   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16791   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16792 < # script with status $?, using 1 if that was 0.
16792 > # script with STATUS, using 1 if that was 0.
16793   as_fn_error ()
16794   {
16795 <  as_status=$?; test $as_status -eq 0 && as_status=1
16796 <  if test "$3"; then
16797 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16798 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16795 >  as_status=$1; test $as_status -eq 0 && as_status=1
16796 >  if test "$4"; then
16797 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16798 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16799    fi
16800 <  $as_echo "$as_me: error: $1" >&2
16800 >  $as_echo "$as_me: error: $2" >&2
16801    as_fn_exit $as_status
16802   } # as_fn_error
16803  
# Line 14171 | Line 16935 | if (echo >conf$$.file) 2>/dev/null; then
16935      # ... but there are two gotchas:
16936      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16937      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16938 <    # In both cases, we have to default to `cp -p'.
16938 >    # In both cases, we have to default to `cp -pR'.
16939      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16940 <      as_ln_s='cp -p'
16940 >      as_ln_s='cp -pR'
16941    elif ln conf$$.file conf$$ 2>/dev/null; then
16942      as_ln_s=ln
16943    else
16944 <    as_ln_s='cp -p'
16944 >    as_ln_s='cp -pR'
16945    fi
16946   else
16947 <  as_ln_s='cp -p'
16947 >  as_ln_s='cp -pR'
16948   fi
16949   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16950   rmdir conf$$.dir 2>/dev/null
# Line 14229 | Line 16993 | $as_echo X"$as_dir" |
16993        test -d "$as_dir" && break
16994      done
16995      test -z "$as_dirs" || eval "mkdir $as_dirs"
16996 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16996 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16997  
16998  
16999   } # as_fn_mkdir_p
# Line 14240 | Line 17004 | else
17004    as_mkdir_p=false
17005   fi
17006  
17007 < if test -x / >/dev/null 2>&1; then
17008 <  as_test_x='test -x'
17009 < else
17010 <  if ls -dL / >/dev/null 2>&1; then
17011 <    as_ls_L_option=L
17012 <  else
17013 <    as_ls_L_option=
17014 <  fi
17015 <  as_test_x='
17016 <    eval sh -c '\''
14253 <      if test -d "$1"; then
14254 <        test -d "$1/.";
14255 <      else
14256 <        case $1 in #(
14257 <        -*)set "./$1";;
14258 <        esac;
14259 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14260 <        ???[sx]*):;;*)false;;esac;fi
14261 <    '\'' sh
14262 <  '
14263 < fi
14264 < as_executable_p=$as_test_x
17007 >
17008 > # as_fn_executable_p FILE
17009 > # -----------------------
17010 > # Test if FILE is an executable regular file.
17011 > as_fn_executable_p ()
17012 > {
17013 >  test -f "$1" && test -x "$1"
17014 > } # as_fn_executable_p
17015 > as_test_x='test -x'
17016 > as_executable_p=as_fn_executable_p
17017  
17018   # Sed expression to map a string onto a valid CPP name.
17019   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14282 | Line 17034 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
17034   # report actual input values of CONFIG_FILES etc. instead of their
17035   # values after options handling.
17036   ac_log="
17037 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
17038 < generated by GNU Autoconf 2.65.  Invocation command line was
17037 > This file was extended by ircd-hybrid $as_me 8.2.1, which was
17038 > generated by GNU Autoconf 2.69.  Invocation command line was
17039  
17040    CONFIG_FILES    = $CONFIG_FILES
17041    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14348 | Line 17100 | _ACEOF
17100   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17101   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17102   ac_cs_version="\\
17103 < ircd-hybrid config.status 7.3-rc1
17104 < configured by $0, generated by GNU Autoconf 2.65,
17103 > ircd-hybrid config.status 8.2.1
17104 > configured by $0, generated by GNU Autoconf 2.69,
17105    with options \\"\$ac_cs_config\\"
17106  
17107 < Copyright (C) 2009 Free Software Foundation, Inc.
17107 > Copyright (C) 2012 Free Software Foundation, Inc.
17108   This config.status script is free software; the Free Software Foundation
17109   gives unlimited permission to copy, distribute and modify it."
17110  
# Line 14370 | Line 17122 | ac_need_defaults=:
17122   while test $# != 0
17123   do
17124    case $1 in
17125 <  --*=*)
17125 >  --*=?*)
17126      ac_option=`expr "X$1" : 'X\([^=]*\)='`
17127      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17128      ac_shift=:
17129      ;;
17130 +  --*=)
17131 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17132 +    ac_optarg=
17133 +    ac_shift=:
17134 +    ;;
17135    *)
17136      ac_option=$1
17137      ac_optarg=$2
# Line 14396 | Line 17153 | do
17153      $ac_shift
17154      case $ac_optarg in
17155      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17156 +    '') as_fn_error $? "missing file argument" ;;
17157      esac
17158      as_fn_append CONFIG_FILES " '$ac_optarg'"
17159      ac_need_defaults=false;;
# Line 14408 | Line 17166 | do
17166      ac_need_defaults=false;;
17167    --he | --h)
17168      # Conflict between --help and --header
17169 <    as_fn_error "ambiguous option: \`$1'
17169 >    as_fn_error $? "ambiguous option: \`$1'
17170   Try \`$0 --help' for more information.";;
17171    --help | --hel | -h )
17172      $as_echo "$ac_cs_usage"; exit ;;
# Line 14417 | Line 17175 | Try \`$0 --help' for more information.";
17175      ac_cs_silent=: ;;
17176  
17177    # This is an error.
17178 <  -*) as_fn_error "unrecognized option: \`$1'
17178 >  -*) as_fn_error $? "unrecognized option: \`$1'
17179   Try \`$0 --help' for more information." ;;
17180  
17181    *) as_fn_append ac_config_targets " $1"
# Line 14437 | Line 17195 | fi
17195   _ACEOF
17196   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17197   if \$ac_cs_recheck; then
17198 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17198 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17199    shift
17200    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17201    CONFIG_SHELL='$SHELL'
# Line 14471 | Line 17229 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
17229   sed_quote_subst='$sed_quote_subst'
17230   double_quote_subst='$double_quote_subst'
17231   delay_variable_subst='$delay_variable_subst'
17232 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17233 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17234 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17235 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17236 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17237 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17238 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17239 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17240 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17241 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17242 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17243 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17244 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17245 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17246 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17247 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17248 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17249 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17250 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17251 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17252 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17253 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17254 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17255 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17256 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17257 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17258 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17259 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17260 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17261 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17262 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17263 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17264 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17265 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17266 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17267 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17268 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17269 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17270 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17271 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17272 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17273 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17274 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17275 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17276 < 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"`'
17277 < 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"`'
17278 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17279 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17280 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17281 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17282 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17283 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17284 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17285 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17286 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17287 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17288 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17289 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17290 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17291 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17292 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17293 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17294 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17295 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17296 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17297 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17298 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17299 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17300 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17301 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17302 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17303 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17304 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17305 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17306 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17307 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17308 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17309 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17310 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17311 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17312 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17313 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17314 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17315 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17316 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17317 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17318 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17319 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17320 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17321 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17322 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17323 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17324 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17325 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17326 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17327 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17328 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17329 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17330 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17331 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17332 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17333 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17334 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17335 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17336 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17337 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17338 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17339 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17340 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17341 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17342 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17343 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17344 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17345 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17346 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17347 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17348 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17349 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17232 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17233 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17234 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17235 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17236 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17237 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17238 > shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17239 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17240 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17241 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17242 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17243 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17244 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17245 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17246 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17247 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17248 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17249 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17250 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17251 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17252 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17253 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17254 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17255 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17256 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17257 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17258 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17259 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17260 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17261 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17262 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17263 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17264 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17265 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17266 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17267 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17268 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17269 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17270 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17271 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17272 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17273 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17274 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17275 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17276 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17277 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17278 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17279 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17280 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17281 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17282 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17283 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17284 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17285 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17286 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17287 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17288 > lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17289 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17290 > 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"`'
17291 > lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17292 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17293 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17294 > lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17295 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17296 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17297 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17298 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17299 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17300 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17301 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17302 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17303 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17304 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17305 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17306 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17307 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17308 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17309 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17310 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17311 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17312 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17313 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17314 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17315 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17316 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17317 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17318 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17319 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17320 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17321 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17322 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17323 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17324 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17325 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17326 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17327 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17328 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17329 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17330 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17331 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17332 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17333 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17334 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17335 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17336 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17337 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17338 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17339 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17340 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17341 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17342 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17343 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17344 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17345 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17346 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17347 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17348 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17349 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17350 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17351 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17352 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17353 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17354 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17355 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17356 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17357 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17358 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17359 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17360 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17361 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17362 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17363 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17364 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17365 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17366  
17367   LTCC='$LTCC'
17368   LTCFLAGS='$LTCFLAGS'
17369   compiler='$compiler_DEFAULT'
17370  
17371 + # A function that is used when there is no print builtin or printf.
17372 + func_fallback_echo ()
17373 + {
17374 +  eval 'cat <<_LTECHO_EOF
17375 + \$1
17376 + _LTECHO_EOF'
17377 + }
17378 +
17379   # Quote evaled strings.
17380 < for var in SED \
17380 > for var in SHELL \
17381 > ECHO \
17382 > PATH_SEPARATOR \
17383 > SED \
17384   GREP \
17385   EGREP \
17386   FGREP \
# Line 14608 | Line 17393 | reload_flag \
17393   OBJDUMP \
17394   deplibs_check_method \
17395   file_magic_cmd \
17396 + file_magic_glob \
17397 + want_nocaseglob \
17398 + DLLTOOL \
17399 + sharedlib_from_linklib_cmd \
17400   AR \
17401   AR_FLAGS \
17402 + archiver_list_spec \
17403   STRIP \
17404   RANLIB \
17405   CC \
# Line 14617 | Line 17407 | CFLAGS \
17407   compiler \
17408   lt_cv_sys_global_symbol_pipe \
17409   lt_cv_sys_global_symbol_to_cdecl \
17410 + lt_cv_sys_global_symbol_to_import \
17411   lt_cv_sys_global_symbol_to_c_name_address \
17412   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17413 < SHELL \
17414 < ECHO \
17413 > lt_cv_nm_interface \
17414 > nm_file_list_spec \
17415 > lt_cv_truncate_bin \
17416   lt_prog_compiler_no_builtin_flag \
14625 lt_prog_compiler_wl \
17417   lt_prog_compiler_pic \
17418 + lt_prog_compiler_wl \
17419   lt_prog_compiler_static \
17420   lt_cv_prog_compiler_c_o \
17421   need_locks \
17422 + MANIFEST_TOOL \
17423   DSYMUTIL \
17424   NMEDIT \
17425   LIPO \
# Line 14640 | Line 17433 | with_gnu_ld \
17433   allow_undefined_flag \
17434   no_undefined_flag \
17435   hardcode_libdir_flag_spec \
14643 hardcode_libdir_flag_spec_ld \
17436   hardcode_libdir_separator \
14645 fix_srcfile_path \
17437   exclude_expsyms \
17438   include_expsyms \
17439   file_list_spec \
# Line 14650 | Line 17441 | variables_saved_for_relink \
17441   libname_spec \
17442   library_names_spec \
17443   soname_spec \
17444 + install_override_mode \
17445   finish_eval \
17446   old_striplib \
17447   striplib; do
17448 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17448 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17449      *[\\\\\\\`\\"\\\$]*)
17450 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17450 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17451        ;;
17452      *)
17453        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14677 | Line 17469 | module_cmds \
17469   module_expsym_cmds \
17470   export_symbols_cmds \
17471   prelink_cmds \
17472 + postlink_cmds \
17473   postinstall_cmds \
17474   postuninstall_cmds \
17475   finish_cmds \
17476   sys_lib_search_path_spec \
17477   sys_lib_dlsearch_path_spec; do
17478 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17478 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17479      *[\\\\\\\`\\"\\\$]*)
17480 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17480 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17481        ;;
17482      *)
17483        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14692 | Line 17485 | sys_lib_dlsearch_path_spec; do
17485      esac
17486   done
17487  
14695 # Fix-up fallback echo if it was mangled by the above quoting rules.
14696 case \$lt_ECHO in
14697 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14698  ;;
14699 esac
14700
17488   ac_aux_dir='$ac_aux_dir'
14702 xsi_shell='$xsi_shell'
14703 lt_shell_append='$lt_shell_append'
17489  
17490 < # See if we are running on zsh, and set the options which allow our
17490 > # See if we are running on zsh, and set the options that allow our
17491   # commands through without removal of \ escapes INIT.
17492 < if test -n "\${ZSH_VERSION+set}" ; then
17492 > if test -n "\${ZSH_VERSION+set}"; then
17493     setopt NO_GLOB_SUBST
17494   fi
17495  
17496  
17497      PACKAGE='$PACKAGE'
17498      VERSION='$VERSION'
14714    TIMESTAMP='$TIMESTAMP'
17499      RM='$RM'
17500      ofile='$ofile'
17501  
# Line 14730 | Line 17514 | do
17514      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17515      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17516      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14734    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14735    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14736    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
17517      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17518 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
17518 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
17519      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
17520      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
17521 +    "modules/extra/Makefile") CONFIG_FILES="$CONFIG_FILES modules/extra/Makefile" ;;
17522      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17523      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14743    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14744    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
17524      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17525  
17526 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17526 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17527    esac
17528   done
17529  
# Line 14767 | Line 17546 | fi
17546   # after its creation but before its name has been assigned to `$tmp'.
17547   $debug ||
17548   {
17549 <  tmp=
17549 >  tmp= ac_tmp=
17550    trap 'exit_status=$?
17551 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17551 >  : "${ac_tmp:=$tmp}"
17552 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17553   ' 0
17554    trap 'as_fn_exit 1' 1 2 13 15
17555   }
# Line 14777 | Line 17557 | $debug ||
17557  
17558   {
17559    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17560 <  test -n "$tmp" && test -d "$tmp"
17560 >  test -d "$tmp"
17561   }  ||
17562   {
17563    tmp=./conf$$-$RANDOM
17564    (umask 077 && mkdir "$tmp")
17565 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17565 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17566 > ac_tmp=$tmp
17567  
17568   # Set up the scripts for CONFIG_FILES section.
17569   # No need to generate them if there are no CONFIG_FILES.
# Line 14799 | Line 17580 | if test "x$ac_cr" = x; then
17580   fi
17581   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17582   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17583 <  ac_cs_awk_cr='\r'
17583 >  ac_cs_awk_cr='\\r'
17584   else
17585    ac_cs_awk_cr=$ac_cr
17586   fi
17587  
17588 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
17588 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17589   _ACEOF
17590  
17591  
# Line 14813 | Line 17594 | _ACEOF
17594    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17595    echo "_ACEOF"
17596   } >conf$$subs.sh ||
17597 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17598 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17597 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17598 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17599   ac_delim='%!_!# '
17600   for ac_last_try in false false false false false :; do
17601    . ./conf$$subs.sh ||
17602 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17602 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17603  
17604    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17605    if test $ac_delim_n = $ac_delim_num; then
17606      break
17607    elif $ac_last_try; then
17608 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17608 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17609    else
17610      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17611    fi
# Line 14832 | Line 17613 | done
17613   rm -f conf$$subs.sh
17614  
17615   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17616 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17616 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17617   _ACEOF
17618   sed -n '
17619   h
# Line 14880 | Line 17661 | t delim
17661   rm -f conf$$subs.awk
17662   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17663   _ACAWK
17664 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17664 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17665    for (key in S) S_is_set[key] = 1
17666    FS = ""
17667  
# Line 14912 | Line 17693 | if sed "s/$ac_cr//" < /dev/null > /dev/n
17693    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17694   else
17695    cat
17696 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17697 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
17696 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17697 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17698   _ACEOF
17699  
17700 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
17701 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17700 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17701 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17702   # trailing colons and then remove the whole line if VPATH becomes empty
17703   # (actually we leave an empty line to preserve line numbers).
17704   if test "x$srcdir" = x.; then
17705 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
17706 < s/:*\$(srcdir):*/:/
17707 < s/:*\${srcdir}:*/:/
17708 < s/:*@srcdir@:*/:/
17709 < s/^\([^=]*=[     ]*\):*/\1/
17705 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17706 > h
17707 > s///
17708 > s/^/:/
17709 > s/[      ]*$/:/
17710 > s/:\$(srcdir):/:/g
17711 > s/:\${srcdir}:/:/g
17712 > s/:@srcdir@:/:/g
17713 > s/^:*//
17714   s/:*$//
17715 + x
17716 + s/\(=[   ]*\).*/\1/
17717 + G
17718 + s/\n//
17719   s/^[^=]*=[       ]*$//
17720   }'
17721   fi
# Line 14938 | Line 17727 | fi # test -n "$CONFIG_FILES"
17727   # No need to generate them if there are no CONFIG_HEADERS.
17728   # This happens for instance with `./config.status Makefile'.
17729   if test -n "$CONFIG_HEADERS"; then
17730 < cat >"$tmp/defines.awk" <<\_ACAWK ||
17730 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17731   BEGIN {
17732   _ACEOF
17733  
# Line 14950 | Line 17739 | _ACEOF
17739   # handling of long lines.
17740   ac_delim='%!_!# '
17741   for ac_last_try in false false :; do
17742 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17743 <  if test -z "$ac_t"; then
17742 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17743 >  if test -z "$ac_tt"; then
17744      break
17745    elif $ac_last_try; then
17746 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17746 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17747    else
17748      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17749    fi
# Line 15039 | Line 17828 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
17828   _ACAWK
17829   _ACEOF
17830   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17831 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
17831 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17832   fi # test -n "$CONFIG_HEADERS"
17833  
17834  
# Line 15052 | Line 17841 | do
17841    esac
17842    case $ac_mode$ac_tag in
17843    :[FHL]*:*);;
17844 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17844 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17845    :[FH]-) ac_tag=-:-;;
17846    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17847    esac
# Line 15071 | Line 17860 | do
17860      for ac_f
17861      do
17862        case $ac_f in
17863 <      -) ac_f="$tmp/stdin";;
17863 >      -) ac_f="$ac_tmp/stdin";;
17864        *) # Look for the file first in the build tree, then in the source tree
17865           # (if the path is not absolute).  The absolute path cannot be DOS-style,
17866           # because $ac_f cannot contain `:'.
# Line 15080 | Line 17869 | do
17869             [\\/$]*) false;;
17870             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17871             esac ||
17872 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17872 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17873        esac
17874        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17875        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15106 | Line 17895 | $as_echo "$as_me: creating $ac_file" >&6
17895      esac
17896  
17897      case $ac_tag in
17898 <    *:-:* | *:-) cat >"$tmp/stdin" \
17899 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17898 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17899 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17900      esac
17901      ;;
17902    esac
# Line 15243 | Line 18032 | s&@INSTALL@&$ac_INSTALL&;t t
18032   s&@MKDIR_P@&$ac_MKDIR_P&;t t
18033   $ac_datarootdir_hack
18034   "
18035 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18036 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
18035 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18036 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18037  
18038   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18039 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18040 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18039 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18040 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18041 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18042    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18043 < which seems to be undefined.  Please make sure it is defined." >&5
18043 > which seems to be undefined.  Please make sure it is defined" >&5
18044   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18045 < which seems to be undefined.  Please make sure it is defined." >&2;}
18045 > which seems to be undefined.  Please make sure it is defined" >&2;}
18046  
18047 <  rm -f "$tmp/stdin"
18047 >  rm -f "$ac_tmp/stdin"
18048    case $ac_file in
18049 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
18050 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18049 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18050 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18051    esac \
18052 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
18052 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18053   ;;
18054    :H)
18055    #
# Line 15268 | Line 18058 | which seems to be undefined.  Please mak
18058    if test x"$ac_file" != x-; then
18059      {
18060        $as_echo "/* $configure_input  */" \
18061 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18062 <    } >"$tmp/config.h" \
18063 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
18064 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18061 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18062 >    } >"$ac_tmp/config.h" \
18063 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18064 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18065        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18066   $as_echo "$as_me: $ac_file is unchanged" >&6;}
18067      else
18068        rm -f "$ac_file"
18069 <      mv "$tmp/config.h" "$ac_file" \
18070 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
18069 >      mv "$ac_tmp/config.h" "$ac_file" \
18070 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18071      fi
18072    else
18073      $as_echo "/* $configure_input  */" \
18074 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18075 <      || as_fn_error "could not create -" "$LINENO" 5
18074 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18075 >      || as_fn_error $? "could not create -" "$LINENO" 5
18076    fi
18077   # Compute "$ac_file"'s index in $config_headers.
18078   _am_arg="$ac_file"
# Line 15328 | Line 18118 | $as_echo "$as_me: executing $ac_file com
18118  
18119    case $ac_file$ac_mode in
18120      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18121 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
18121 >  # Older Autoconf quotes --file arguments for eval, but not when files
18122    # are listed without --file.  Let's play safe and only enable the eval
18123    # if we detect the quoting.
18124    case $CONFIG_FILES in
# Line 15341 | Line 18131 | $as_echo "$as_me: executing $ac_file com
18131      # Strip MF so we end up with the name of the file.
18132      mf=`echo "$mf" | sed -e 's/:.*$//'`
18133      # Check whether this is an Automake generated Makefile or not.
18134 <    # We used to match only the files named `Makefile.in', but
18134 >    # We used to match only the files named 'Makefile.in', but
18135      # some people rename them; so instead we look at the file content.
18136      # Grep'ing the first line is not enough: some people post-process
18137      # each Makefile.in and add a new line on top of each file to say so.
# Line 15375 | Line 18165 | $as_echo X"$mf" |
18165        continue
18166      fi
18167      # Extract the definition of DEPDIR, am__include, and am__quote
18168 <    # from the Makefile without running `make'.
18168 >    # from the Makefile without running 'make'.
18169      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18170      test -z "$DEPDIR" && continue
18171      am__include=`sed -n 's/^am__include = //p' < "$mf"`
18172 <    test -z "am__include" && continue
18172 >    test -z "$am__include" && continue
18173      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15384    # When using ansi2knr, U may be empty or an underscore; expand it
15385    U=`sed -n 's/^U = //p' < "$mf"`
18174      # Find all dependency output files, they are included files with
18175      # $(DEPDIR) in their names.  We invoke sed twice because it is the
18176      # simplest approach to changing $(DEPDIR) to its actual value in the
18177      # expansion.
18178      for file in `sed -n "
18179        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18180 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18180 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18181        # Make sure the directory exists.
18182        test -f "$dirpart/$file" && continue
18183        fdir=`$as_dirname -- "$file" ||
# Line 15424 | Line 18212 | $as_echo X"$file" |
18212   ;;
18213      "libtool":C)
18214  
18215 <    # See if we are running on zsh, and set the options which allow our
18215 >    # See if we are running on zsh, and set the options that allow our
18216      # commands through without removal of \ escapes.
18217 <    if test -n "${ZSH_VERSION+set}" ; then
18217 >    if test -n "${ZSH_VERSION+set}"; then
18218        setopt NO_GLOB_SUBST
18219      fi
18220  
18221 <    cfgfile="${ofile}T"
18221 >    cfgfile=${ofile}T
18222      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18223      $RM "$cfgfile"
18224  
18225      cat <<_LT_EOF >> "$cfgfile"
18226   #! $SHELL
18227 <
15440 < # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15441 < # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18227 > # Generated automatically by $as_me ($PACKAGE) $VERSION
18228   # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18229   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18230 +
18231 + # Provide generalized library-building support services.
18232 + # Written by Gordon Matzigkeit, 1996
18233 +
18234 + # Copyright (C) 2014 Free Software Foundation, Inc.
18235 + # This is free software; see the source for copying conditions.  There is NO
18236 + # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18237 +
18238 + # GNU Libtool is free software; you can redistribute it and/or modify
18239 + # it under the terms of the GNU General Public License as published by
18240 + # the Free Software Foundation; either version 2 of of the License, or
18241 + # (at your option) any later version.
18242   #
18243 < #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18244 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
18245 < #   Written by Gordon Matzigkeit, 1996
18246 < #
15449 < #   This file is part of GNU Libtool.
15450 < #
15451 < # GNU Libtool is free software; you can redistribute it and/or
15452 < # modify it under the terms of the GNU General Public License as
15453 < # published by the Free Software Foundation; either version 2 of
15454 < # the License, or (at your option) any later version.
15455 < #
15456 < # As a special exception to the GNU General Public License,
15457 < # if you distribute this file as part of a program or library that
15458 < # is built using GNU Libtool, you may include this file under the
15459 < # same distribution terms that you use for the rest of that program.
18243 > # As a special exception to the GNU General Public License, if you
18244 > # distribute this file as part of a program or library that is built
18245 > # using GNU Libtool, you may include this file under the  same
18246 > # distribution terms that you use for the rest of that program.
18247   #
18248 < # GNU Libtool is distributed in the hope that it will be useful,
18249 < # but WITHOUT ANY WARRANTY; without even the implied warranty of
18248 > # GNU Libtool is distributed in the hope that it will be useful, but
18249 > # WITHOUT ANY WARRANTY; without even the implied warranty of
18250   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18251   # GNU General Public License for more details.
18252   #
18253   # You should have received a copy of the GNU General Public License
18254 < # along with GNU Libtool; see the file COPYING.  If not, a copy
15468 < # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15469 < # obtained by writing to the Free Software Foundation, Inc.,
15470 < # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18254 > # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18255  
18256  
18257   # The names of the tagged configurations supported by this script.
18258 < available_tags=""
18258 > available_tags=''
18259  
18260   # ### BEGIN LIBTOOL CONFIG
18261  
# Line 15491 | Line 18275 | pic_mode=$pic_mode
18275   # Whether or not to optimize for fast installation.
18276   fast_install=$enable_fast_install
18277  
18278 + # Shared archive member basename,for filename based shared library versioning on AIX.
18279 + shared_archive_member_spec=$shared_archive_member_spec
18280 +
18281 + # Shell to use when invoking shell scripts.
18282 + SHELL=$lt_SHELL
18283 +
18284 + # An echo program that protects backslashes.
18285 + ECHO=$lt_ECHO
18286 +
18287 + # The PATH separator for the build system.
18288 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
18289 +
18290   # The host system.
18291   host_alias=$host_alias
18292   host=$host
# Line 15540 | Line 18336 | SP2NL=$lt_lt_SP2NL
18336   # turn newlines into spaces.
18337   NL2SP=$lt_lt_NL2SP
18338  
18339 < # How to create reloadable object files.
18340 < reload_flag=$lt_reload_flag
18341 < reload_cmds=$lt_reload_cmds
18339 > # convert \$build file names to \$host format.
18340 > to_host_file_cmd=$lt_cv_to_host_file_cmd
18341 >
18342 > # convert \$build files to toolchain format.
18343 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18344  
18345   # An object symbol dumper.
18346   OBJDUMP=$lt_OBJDUMP
# Line 15550 | Line 18348 | OBJDUMP=$lt_OBJDUMP
18348   # Method to check whether dependent libraries are shared objects.
18349   deplibs_check_method=$lt_deplibs_check_method
18350  
18351 < # Command to use when deplibs_check_method == "file_magic".
18351 > # Command to use when deplibs_check_method = "file_magic".
18352   file_magic_cmd=$lt_file_magic_cmd
18353  
18354 + # How to find potential files when deplibs_check_method = "file_magic".
18355 + file_magic_glob=$lt_file_magic_glob
18356 +
18357 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18358 + want_nocaseglob=$lt_want_nocaseglob
18359 +
18360 + # DLL creation program.
18361 + DLLTOOL=$lt_DLLTOOL
18362 +
18363 + # Command to associate shared and link libraries.
18364 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18365 +
18366   # The archiver.
18367   AR=$lt_AR
18368 +
18369 + # Flags to create an archive.
18370   AR_FLAGS=$lt_AR_FLAGS
18371  
18372 + # How to feed a file listing to the archiver.
18373 + archiver_list_spec=$lt_archiver_list_spec
18374 +
18375   # A symbol stripping program.
18376   STRIP=$lt_STRIP
18377  
# Line 15565 | Line 18380 | RANLIB=$lt_RANLIB
18380   old_postinstall_cmds=$lt_old_postinstall_cmds
18381   old_postuninstall_cmds=$lt_old_postuninstall_cmds
18382  
18383 + # Whether to use a lock for old archive extraction.
18384 + lock_old_archive_extraction=$lock_old_archive_extraction
18385 +
18386   # A C compiler.
18387   LTCC=$lt_CC
18388  
# Line 15577 | Line 18395 | global_symbol_pipe=$lt_lt_cv_sys_global_
18395   # Transform the output of nm in a proper C declaration.
18396   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18397  
18398 + # Transform the output of nm into a list of symbols to manually relocate.
18399 + global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18400 +
18401   # Transform the output of nm in a C name address pair.
18402   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18403  
18404   # Transform the output of nm in a C name address pair when lib prefix is needed.
18405   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18406  
18407 < # The name of the directory that contains temporary libtool files.
18408 < objdir=$objdir
18407 > # The name lister interface.
18408 > nm_interface=$lt_lt_cv_nm_interface
18409  
18410 < # Shell to use when invoking shell scripts.
18411 < SHELL=$lt_SHELL
18410 > # Specify filename containing input files for \$NM.
18411 > nm_file_list_spec=$lt_nm_file_list_spec
18412  
18413 < # An echo program that does not interpret backslashes.
18414 < ECHO=$lt_ECHO
18413 > # The root where to search for dependent libraries,and where our libraries should be installed.
18414 > lt_sysroot=$lt_sysroot
18415 >
18416 > # Command to truncate a binary pipe.
18417 > lt_truncate_bin=$lt_lt_cv_truncate_bin
18418 >
18419 > # The name of the directory that contains temporary libtool files.
18420 > objdir=$objdir
18421  
18422   # Used to examine libraries when file_magic_cmd begins with "file".
18423   MAGIC_CMD=$MAGIC_CMD
# Line 15598 | Line 18425 | MAGIC_CMD=$MAGIC_CMD
18425   # Must we lock files when doing compilation?
18426   need_locks=$lt_need_locks
18427  
18428 + # Manifest tool.
18429 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
18430 +
18431   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18432   DSYMUTIL=$lt_DSYMUTIL
18433  
# Line 15654 | Line 18484 | library_names_spec=$lt_library_names_spe
18484   # The coded name of the library, if different from the real name.
18485   soname_spec=$lt_soname_spec
18486  
18487 + # Permission mode override for installation of shared libraries.
18488 + install_override_mode=$lt_install_override_mode
18489 +
18490   # Command to use after installation of a shared archive.
18491   postinstall_cmds=$lt_postinstall_cmds
18492  
# Line 15693 | Line 18526 | striplib=$lt_striplib
18526   # The linker used to build libraries.
18527   LD=$lt_LD
18528  
18529 + # How to create reloadable object files.
18530 + reload_flag=$lt_reload_flag
18531 + reload_cmds=$lt_reload_cmds
18532 +
18533   # Commands used to build an old-style archive.
18534   old_archive_cmds=$lt_old_archive_cmds
18535  
# Line 15705 | Line 18542 | with_gcc=$GCC
18542   # Compiler flag to turn off builtin functions.
18543   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18544  
15708 # How to pass a linker flag through the compiler.
15709 wl=$lt_lt_prog_compiler_wl
15710
18545   # Additional compiler flags for building library objects.
18546   pic_flag=$lt_lt_prog_compiler_pic
18547  
18548 + # How to pass a linker flag through the compiler.
18549 + wl=$lt_lt_prog_compiler_wl
18550 +
18551   # Compiler flag to prevent dynamic linking.
18552   link_static_flag=$lt_lt_prog_compiler_static
18553  
# Line 15760 | Line 18597 | no_undefined_flag=$lt_no_undefined_flag
18597   # This must work even if \$libdir does not exist
18598   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18599  
15763 # If ld is used when linking, flag to hardcode \$libdir into a binary
15764 # during linking.  This must work even if \$libdir does not exist.
15765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15766
18600   # Whether we need a single "-rpath" flag with a separated argument.
18601   hardcode_libdir_separator=$lt_hardcode_libdir_separator
18602  
18603 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18603 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18604   # DIR into the resulting binary.
18605   hardcode_direct=$hardcode_direct
18606  
18607 < # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18607 > # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18608   # DIR into the resulting binary and the resulting library dependency is
18609 < # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18609 > # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18610   # library is relocated.
18611   hardcode_direct_absolute=$hardcode_direct_absolute
18612  
# Line 15797 | Line 18630 | inherit_rpath=$inherit_rpath
18630   # Whether libtool must link a program against all its dependency libraries.
18631   link_all_deplibs=$link_all_deplibs
18632  
15800 # Fix the shell variable \$srcfile for the compiler.
15801 fix_srcfile_path=$lt_fix_srcfile_path
15802
18633   # Set to "yes" if exported symbols are required.
18634   always_export_symbols=$always_export_symbols
18635  
# Line 15815 | Line 18645 | include_expsyms=$lt_include_expsyms
18645   # Commands necessary for linking programs (against libraries) with templates.
18646   prelink_cmds=$lt_prelink_cmds
18647  
18648 + # Commands necessary for finishing linking programs.
18649 + postlink_cmds=$lt_postlink_cmds
18650 +
18651   # Specify filename containing input files.
18652   file_list_spec=$lt_file_list_spec
18653  
# Line 15831 | Line 18664 | _LT_EOF
18664   # AIX sometimes has problems with the GCC collect2 program.  For some
18665   # reason, if we set the COLLECT_NAMES environment variable, the problems
18666   # vanish in a puff of smoke.
18667 < if test "X${COLLECT_NAMES+set}" != Xset; then
18667 > if test set != "${COLLECT_NAMES+set}"; then
18668    COLLECT_NAMES=
18669    export COLLECT_NAMES
18670   fi
# Line 15840 | Line 18673 | _LT_EOF
18673    esac
18674  
18675  
18676 < ltmain="$ac_aux_dir/ltmain.sh"
18676 > ltmain=$ac_aux_dir/ltmain.sh
18677  
18678  
18679    # We use sed instead of cat because bash on DJGPP gets confused if
18680    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18681    # text mode, it properly converts lines to CR/LF.  This bash problem
18682    # is reportedly fixed, but why not run on old versions too?
18683 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18684 <    || (rm -f "$cfgfile"; exit 1)
15852 <
15853 <  case $xsi_shell in
15854 <  yes)
15855 <    cat << \_LT_EOF >> "$cfgfile"
15856 <
15857 < # func_dirname file append nondir_replacement
15858 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15859 < # otherwise set result to NONDIR_REPLACEMENT.
15860 < func_dirname ()
15861 < {
15862 <  case ${1} in
15863 <    */*) func_dirname_result="${1%/*}${2}" ;;
15864 <    *  ) func_dirname_result="${3}" ;;
15865 <  esac
15866 < }
15867 <
15868 < # func_basename file
15869 < func_basename ()
15870 < {
15871 <  func_basename_result="${1##*/}"
15872 < }
15873 <
15874 < # func_dirname_and_basename file append nondir_replacement
15875 < # perform func_basename and func_dirname in a single function
15876 < # call:
15877 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15878 < #             add APPEND to the result, otherwise set result
15879 < #             to NONDIR_REPLACEMENT.
15880 < #             value returned in "$func_dirname_result"
15881 < #   basename: Compute filename of FILE.
15882 < #             value retuned in "$func_basename_result"
15883 < # Implementation must be kept synchronized with func_dirname
15884 < # and func_basename. For efficiency, we do not delegate to
15885 < # those functions but instead duplicate the functionality here.
15886 < func_dirname_and_basename ()
15887 < {
15888 <  case ${1} in
15889 <    */*) func_dirname_result="${1%/*}${2}" ;;
15890 <    *  ) func_dirname_result="${3}" ;;
15891 <  esac
15892 <  func_basename_result="${1##*/}"
15893 < }
15894 <
15895 < # func_stripname prefix suffix name
15896 < # strip PREFIX and SUFFIX off of NAME.
15897 < # PREFIX and SUFFIX must not contain globbing or regex special
15898 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15899 < # dot (in which case that matches only a dot).
15900 < func_stripname ()
15901 < {
15902 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15903 <  # positional parameters, so assign one to ordinary parameter first.
15904 <  func_stripname_result=${3}
15905 <  func_stripname_result=${func_stripname_result#"${1}"}
15906 <  func_stripname_result=${func_stripname_result%"${2}"}
15907 < }
15908 <
15909 < # func_opt_split
15910 < func_opt_split ()
15911 < {
15912 <  func_opt_split_opt=${1%%=*}
15913 <  func_opt_split_arg=${1#*=}
15914 < }
15915 <
15916 < # func_lo2o object
15917 < func_lo2o ()
15918 < {
15919 <  case ${1} in
15920 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15921 <    *)    func_lo2o_result=${1} ;;
15922 <  esac
15923 < }
15924 <
15925 < # func_xform libobj-or-source
15926 < func_xform ()
15927 < {
15928 <  func_xform_result=${1%.*}.lo
15929 < }
15930 <
15931 < # func_arith arithmetic-term...
15932 < func_arith ()
15933 < {
15934 <  func_arith_result=$(( $* ))
15935 < }
15936 <
15937 < # func_len string
15938 < # STRING may not start with a hyphen.
15939 < func_len ()
15940 < {
15941 <  func_len_result=${#1}
15942 < }
15943 <
15944 < _LT_EOF
15945 <    ;;
15946 <  *) # Bourne compatible functions.
15947 <    cat << \_LT_EOF >> "$cfgfile"
15948 <
15949 < # func_dirname file append nondir_replacement
15950 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15951 < # otherwise set result to NONDIR_REPLACEMENT.
15952 < func_dirname ()
15953 < {
15954 <  # Extract subdirectory from the argument.
15955 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15956 <  if test "X$func_dirname_result" = "X${1}"; then
15957 <    func_dirname_result="${3}"
15958 <  else
15959 <    func_dirname_result="$func_dirname_result${2}"
15960 <  fi
15961 < }
15962 <
15963 < # func_basename file
15964 < func_basename ()
15965 < {
15966 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15967 < }
15968 <
15969 <
15970 < # func_stripname prefix suffix name
15971 < # strip PREFIX and SUFFIX off of NAME.
15972 < # PREFIX and SUFFIX must not contain globbing or regex special
15973 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15974 < # dot (in which case that matches only a dot).
15975 < # func_strip_suffix prefix name
15976 < func_stripname ()
15977 < {
15978 <  case ${2} in
15979 <    .*) func_stripname_result=`$ECHO "X${3}" \
15980 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15981 <    *)  func_stripname_result=`$ECHO "X${3}" \
15982 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15983 <  esac
15984 < }
15985 <
15986 < # sed scripts:
15987 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15988 < my_sed_long_arg='1s/^-[^=]*=//'
15989 <
15990 < # func_opt_split
15991 < func_opt_split ()
15992 < {
15993 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15994 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15995 < }
15996 <
15997 < # func_lo2o object
15998 < func_lo2o ()
15999 < {
16000 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16001 < }
16002 <
16003 < # func_xform libobj-or-source
16004 < func_xform ()
16005 < {
16006 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16007 < }
18683 >  sed '$q' "$ltmain" >> "$cfgfile" \
18684 >     || (rm -f "$cfgfile"; exit 1)
18685  
18686 < # func_arith arithmetic-term...
16010 < func_arith ()
16011 < {
16012 <  func_arith_result=`expr "$@"`
16013 < }
16014 <
16015 < # func_len string
16016 < # STRING may not start with a hyphen.
16017 < func_len ()
16018 < {
16019 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16020 < }
16021 <
16022 < _LT_EOF
16023 < esac
16024 <
16025 < case $lt_shell_append in
16026 <  yes)
16027 <    cat << \_LT_EOF >> "$cfgfile"
16028 <
16029 < # func_append var value
16030 < # Append VALUE to the end of shell variable VAR.
16031 < func_append ()
16032 < {
16033 <  eval "$1+=\$2"
16034 < }
16035 < _LT_EOF
16036 <    ;;
16037 <  *)
16038 <    cat << \_LT_EOF >> "$cfgfile"
16039 <
16040 < # func_append var value
16041 < # Append VALUE to the end of shell variable VAR.
16042 < func_append ()
16043 < {
16044 <  eval "$1=\$$1\$2"
16045 < }
16046 <
16047 < _LT_EOF
16048 <    ;;
16049 <  esac
16050 <
16051 <
16052 <  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16053 <    || (rm -f "$cfgfile"; exit 1)
16054 <
16055 <  mv -f "$cfgfile" "$ofile" ||
18686 >   mv -f "$cfgfile" "$ofile" ||
18687      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18688    chmod +x "$ofile"
18689  
# Line 16067 | Line 18698 | _ACEOF
18698   ac_clean_files=$ac_clean_files_save
18699  
18700   test $ac_write_fail = 0 ||
18701 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18701 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18702  
18703  
18704   # configure is writing to config.log, and then calls config.status.
# Line 16088 | Line 18719 | if test "$no_create" != yes; then
18719    exec 5>>config.log
18720    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18721    # would make configure fail if this is the last instruction.
18722 <  $ac_cs_success || as_fn_exit $?
16092 < fi
16093 <
16094 < #
16095 < # CONFIG_SUBDIRS section.
16096 < #
16097 < if test "$no_recursion" != yes; then
16098 <
16099 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16100 <  # so they do not pile up.
16101 <  ac_sub_configure_args=
16102 <  ac_prev=
16103 <  eval "set x $ac_configure_args"
16104 <  shift
16105 <  for ac_arg
16106 <  do
16107 <    if test -n "$ac_prev"; then
16108 <      ac_prev=
16109 <      continue
16110 <    fi
16111 <    case $ac_arg in
16112 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16113 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16114 <      ac_prev=cache_file ;;
16115 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16116 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16117 <    | --c=*)
16118 <      ;;
16119 <    --config-cache | -C)
16120 <      ;;
16121 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16122 <      ac_prev=srcdir ;;
16123 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16124 <      ;;
16125 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16126 <      ac_prev=prefix ;;
16127 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16128 <      ;;
16129 <    --disable-option-checking)
16130 <      ;;
16131 <    *)
16132 <      case $ac_arg in
16133 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 <      esac
16135 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16136 <    esac
16137 <  done
16138 <
16139 <  # Always prepend --prefix to ensure using the same prefix
16140 <  # in subdir configurations.
16141 <  ac_arg="--prefix=$prefix"
16142 <  case $ac_arg in
16143 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16144 <  esac
16145 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16146 <
16147 <  # Pass --silent
16148 <  if test "$silent" = yes; then
16149 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16150 <  fi
16151 <
16152 <  # Always prepend --disable-option-checking to silence warnings, since
16153 <  # different subdirs can have different --enable and --with options.
16154 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16155 <
16156 <  ac_popdir=`pwd`
16157 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16158 <
16159 <    # Do not complain, so a configure script can configure whichever
16160 <    # parts of a large source tree are present.
16161 <    test -d "$srcdir/$ac_dir" || continue
16162 <
16163 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16164 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16165 <    $as_echo "$ac_msg" >&6
16166 <    as_dir="$ac_dir"; as_fn_mkdir_p
16167 <    ac_builddir=.
16168 <
16169 < case "$ac_dir" in
16170 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16171 < *)
16172 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16173 <  # A ".." for each directory in $ac_dir_suffix.
16174 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16175 <  case $ac_top_builddir_sub in
16176 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16177 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16178 <  esac ;;
16179 < esac
16180 < ac_abs_top_builddir=$ac_pwd
16181 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16182 < # for backward compatibility:
16183 < ac_top_builddir=$ac_top_build_prefix
16184 <
16185 < case $srcdir in
16186 <  .)  # We are building in place.
16187 <    ac_srcdir=.
16188 <    ac_top_srcdir=$ac_top_builddir_sub
16189 <    ac_abs_top_srcdir=$ac_pwd ;;
16190 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16191 <    ac_srcdir=$srcdir$ac_dir_suffix;
16192 <    ac_top_srcdir=$srcdir
16193 <    ac_abs_top_srcdir=$srcdir ;;
16194 <  *) # Relative name.
16195 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16196 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16197 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16198 < esac
16199 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16200 <
16201 <
16202 <    cd "$ac_dir"
16203 <
16204 <    # Check for guested configure; otherwise get Cygnus style configure.
16205 <    if test -f "$ac_srcdir/configure.gnu"; then
16206 <      ac_sub_configure=$ac_srcdir/configure.gnu
16207 <    elif test -f "$ac_srcdir/configure"; then
16208 <      ac_sub_configure=$ac_srcdir/configure
16209 <    elif test -f "$ac_srcdir/configure.in"; then
16210 <      # This should be Cygnus configure.
16211 <      ac_sub_configure=$ac_aux_dir/configure
16212 <    else
16213 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16214 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16215 <      ac_sub_configure=
16216 <    fi
16217 <
16218 <    # The recursion is here.
16219 <    if test -n "$ac_sub_configure"; then
16220 <      # Make the cache file name correct relative to the subdirectory.
16221 <      case $cache_file in
16222 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16223 <      *) # Relative name.
16224 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16225 <      esac
16226 <
16227 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16228 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16229 <      # The eval makes quoting arguments work.
16230 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16231 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16232 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16233 <    fi
16234 <
16235 <    cd "$ac_popdir"
16236 <  done
18722 >  $ac_cs_success || as_fn_exit 1
18723   fi
18724   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18725    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4960 by michael, Sun Nov 30 17:50:57 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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