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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC vs.
ircd-hybrid/branches/8.0.x/configure (file contents), Revision 1905 by michael, Sat Apr 27 21:18:07 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1010 2009-09-17 17:06:11Z michael .
2 > # From configure.ac Id: configure.ac 1871 2013-04-26 08:53:04Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.0.8.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8 > #
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
8 # Foundation, Inc.
11   #
12   # This configure script is free software; the Free Software Foundation
13   # gives unlimited permission to copy, distribute and modify it.
# Line 88 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 132 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 165 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 210 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 227 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 315 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 355 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 440 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 474 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 495 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
500 < else
501 <  if ls -dL / >/dev/null 2>&1; then
502 <    as_ls_L_option=L
503 <  else
504 <    as_ls_L_option=
505 <  fi
506 <  as_test_x='
507 <    eval sh -c '\''
508 <      if test -d "$1"; then
509 <        test -d "$1/.";
510 <      else
511 <        case $1 in #(
512 <        -*)set "./$1";;
513 <        esac;
514 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 <        ???[sx]*):;;*)false;;esac;fi
516 <    '\'' sh
517 <  '
518 < fi
519 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 524 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
568 + lt_ltdl_dir='libltdl'
569  
528
529 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
532 case X$lt_ECHO in
533 X*--fallback-echo)
534  # Remove one level of quotation (which was required for Make).
535  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536  ;;
537 esac
538
539 ECHO=${lt_ECHO-echo}
540 if test "X$1" = X--no-reexec; then
541  # Discard the --no-reexec flag, and continue.
542  shift
543 elif test "X$1" = X--fallback-echo; then
544  # Avoid inline document here, it may be left over
545  :
546 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547  # Yippee, $ECHO works!
548  :
549 else
550  # Restart under the correct shell.
551  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 fi
553
554 if test "X$1" = X--fallback-echo; then
555  # used as fallback echo
556  shift
557  cat <<_LT_EOF
558 $*
559 _LT_EOF
560  exit 0
561 fi
562
563 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 # if CDPATH is set.
565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566
567 if test -z "$lt_ECHO"; then
568  if test "X${echo_test_string+set}" != Xset; then
569    # find a string as large as possible, as long as the shell can cope with it
570    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574      then
575        break
576      fi
577    done
578  fi
579
580  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582     test "X$echo_testing_string" = "X$echo_test_string"; then
583    :
584  else
585    # The Solaris, AIX, and Digital Unix default echo programs unquote
586    # backslashes.  This makes it impossible to quote backslashes using
587    #   echo "$something" | sed 's/\\/\\\\/g'
588    #
589    # So, first we look for a working echo in the user's PATH.
590
591    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592    for dir in $PATH /usr/ucb; do
593      IFS="$lt_save_ifs"
594      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597         test "X$echo_testing_string" = "X$echo_test_string"; then
598        ECHO="$dir/echo"
599        break
600      fi
601    done
602    IFS="$lt_save_ifs"
572  
573 <    if test "X$ECHO" = Xecho; then
574 <      # We didn't find a better echo, so look for alternatives.
606 <      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607 <         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608 <         test "X$echo_testing_string" = "X$echo_test_string"; then
609 <        # This shell has a builtin print -r that does the trick.
610 <        ECHO='print -r'
611 <      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612 <           test "X$CONFIG_SHELL" != X/bin/ksh; then
613 <        # If we have ksh, try running configure again with it.
614 <        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615 <        export ORIGINAL_CONFIG_SHELL
616 <        CONFIG_SHELL=/bin/ksh
617 <        export CONFIG_SHELL
618 <        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619 <      else
620 <        # Try using printf.
621 <        ECHO='printf %s\n'
622 <        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623 <           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624 <           test "X$echo_testing_string" = "X$echo_test_string"; then
625 <          # Cool, printf works
626 <          :
627 <        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628 <             test "X$echo_testing_string" = 'X\t' &&
629 <             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630 <             test "X$echo_testing_string" = "X$echo_test_string"; then
631 <          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 <          export CONFIG_SHELL
633 <          SHELL="$CONFIG_SHELL"
634 <          export SHELL
635 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636 <        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 <             test "X$echo_testing_string" = 'X\t' &&
638 <             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 <             test "X$echo_testing_string" = "X$echo_test_string"; then
640 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 <        else
642 <          # maybe with a smaller string...
643 <          prev=:
644 <
645 <          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646 <            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647 <            then
648 <              break
649 <            fi
650 <            prev="$cmd"
651 <          done
652 <
653 <          if test "$prev" != 'sed 50q "$0"'; then
654 <            echo_test_string=`eval $prev`
655 <            export echo_test_string
656 <            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 <          else
658 <            # Oops.  We lost completely, so just stick with echo.
659 <            ECHO=echo
660 <          fi
661 <        fi
662 <      fi
663 <    fi
664 <  fi
665 < fi
666 <
667 < # Copy echo and quote the copy suitably for passing to libtool from
668 < # the Makefile, instead of quoting the original, which is used later.
669 < lt_ECHO=$ECHO
670 < if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671 <   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 < fi
673 <
674 <
675 <
676 <
677 < lt_ltdl_dir='libltdl'
678 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
680 <
681 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='8.0.8'
597 > PACKAGE_STRING='ircd-hybrid 8.0.8'
598 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
601   ac_unique_file="src/ircd.c"
# Line 742 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
745 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 756 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
759 EFNET_FALSE
760 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
763 ENABLE_PCRE_FALSE
764 ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
767 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 787 | 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 817 | 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 833 | 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 897 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 904 | Line 799 | enable_shared
799   with_pic
800   enable_fast_install
801   with_gnu_ld
802 + with_sysroot
803   enable_libtool_lock
804   with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
912 with_zlib_path
913 enable_zlib
914 with_libpcre_path
808   enable_libpcre
809   enable_openssl
810   enable_assert
918 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
922 enable_rtsigio
814   enable_poll
815   enable_select
925 with_nicklen
926 with_topiclen
927 with_syslog_facility
928 enable_efnet
816   enable_halfops
817   enable_debugging
818   enable_warnings
932 enable_syslog
819   '
820        ac_precious_vars='build_alias
821   host_alias
# Line 942 | Line 828 | CPPFLAGS
828   YACC
829   YFLAGS
830   CPP'
831 < ac_subdirs_all='libltdl'
831 >
832  
833   # Initialize some variables set by options.
834   ac_init_help=
# Line 1004 | Line 890 | do
890    fi
891  
892    case $ac_option in
893 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 <  *)    ac_optarg=yes ;;
893 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 >  *=)   ac_optarg= ;;
895 >  *)    ac_optarg=yes ;;
896    esac
897  
898    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1050 | Line 937 | do
937      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938      # Reject names that are not valid shell variable names.
939      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 <      as_fn_error "invalid feature name: $ac_useropt"
940 >      as_fn_error $? "invalid feature name: $ac_useropt"
941      ac_useropt_orig=$ac_useropt
942      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943      case $ac_user_opts in
# Line 1076 | Line 963 | do
963      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964      # Reject names that are not valid shell variable names.
965      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 <      as_fn_error "invalid feature name: $ac_useropt"
966 >      as_fn_error $? "invalid feature name: $ac_useropt"
967      ac_useropt_orig=$ac_useropt
968      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969      case $ac_user_opts in
# Line 1280 | Line 1167 | do
1167      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168      # Reject names that are not valid shell variable names.
1169      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 <      as_fn_error "invalid package name: $ac_useropt"
1170 >      as_fn_error $? "invalid package name: $ac_useropt"
1171      ac_useropt_orig=$ac_useropt
1172      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173      case $ac_user_opts in
# Line 1296 | Line 1183 | do
1183      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184      # Reject names that are not valid shell variable names.
1185      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186 <      as_fn_error "invalid package name: $ac_useropt"
1186 >      as_fn_error $? "invalid package name: $ac_useropt"
1187      ac_useropt_orig=$ac_useropt
1188      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189      case $ac_user_opts in
# Line 1326 | Line 1213 | do
1213    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214      x_libraries=$ac_optarg ;;
1215  
1216 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1217 < Try \`$0 --help' for more information."
1216 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217 > Try \`$0 --help' for more information"
1218      ;;
1219  
1220    *=*)
# Line 1335 | Line 1222 | Try \`$0 --help' for more information."
1222      # Reject names that are not valid shell variable names.
1223      case $ac_envvar in #(
1224        '' | [0-9]* | *[!_$as_cr_alnum]* )
1225 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1225 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226      esac
1227      eval $ac_envvar=\$ac_optarg
1228      export $ac_envvar ;;
# Line 1345 | Line 1232 | Try \`$0 --help' for more information."
1232      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1235 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236      ;;
1237  
1238    esac
# Line 1353 | Line 1240 | done
1240  
1241   if test -n "$ac_prev"; then
1242    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243 <  as_fn_error "missing argument to $ac_option"
1243 >  as_fn_error $? "missing argument to $ac_option"
1244   fi
1245  
1246   if test -n "$ac_unrecognized_opts"; then
1247    case $enable_option_checking in
1248      no) ;;
1249 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1249 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251    esac
1252   fi
# Line 1382 | Line 1269 | do
1269      [\\/$]* | ?:[\\/]* )  continue;;
1270      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271    esac
1272 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1272 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273   done
1274  
1275   # There might be people who depend on the old broken behavior: `$host'
# Line 1396 | Line 1283 | target=$target_alias
1283   if test "x$host_alias" != x; then
1284    if test "x$build_alias" = x; then
1285      cross_compiling=maybe
1399    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1400    If a cross compiler is detected then cross compile mode will be used." >&2
1286    elif test "x$build_alias" != "x$host_alias"; then
1287      cross_compiling=yes
1288    fi
# Line 1412 | Line 1297 | test "$silent" = yes && exec 6>/dev/null
1297   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298   ac_ls_di=`ls -di .` &&
1299   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 <  as_fn_error "working directory cannot be determined"
1300 >  as_fn_error $? "working directory cannot be determined"
1301   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 <  as_fn_error "pwd does not report name of working directory"
1302 >  as_fn_error $? "pwd does not report name of working directory"
1303  
1304  
1305   # Find the source files, if location was not specified.
# Line 1453 | Line 1338 | else
1338   fi
1339   if test ! -r "$srcdir/$ac_unique_file"; then
1340    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1341 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342   fi
1343   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344   ac_abs_confdir=`(
1345 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1345 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346          pwd)`
1347   # When building in place, set srcdir=.
1348   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1483 | Line 1368 | if test "$ac_init_help" = "long"; then
1368    # Omit some internal or obsolete options to make the list less imposing.
1369    # This message is too long to be a string in the A/UX 3.1 sh.
1370    cat <<_ACEOF
1371 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1371 > \`configure' configures ircd-hybrid 8.0.8 to adapt to many kinds of systems.
1372  
1373   Usage: $0 [OPTION]... [VAR=VALUE]...
1374  
# Line 1497 | Line 1382 | Configuration:
1382        --help=short        display options specific to this package
1383        --help=recursive    display the short help of all the included packages
1384    -V, --version           display version information and exit
1385 <  -q, --quiet, --silent   do not print \`checking...' messages
1385 >  -q, --quiet, --silent   do not print \`checking ...' messages
1386        --cache-file=FILE   cache test results in FILE [disabled]
1387    -C, --config-cache      alias for \`--cache-file=config.cache'
1388    -n, --no-create         do not create output files
# Line 1553 | Line 1438 | fi
1438  
1439   if test -n "$ac_init_help"; then
1440    case $ac_init_help in
1441 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1441 >     short | recursive ) echo "Configuration of ircd-hybrid 8.0.8:";;
1442     esac
1443    cat <<\_ACEOF
1444  
# Line 1561 | Line 1446 | Optional Features:
1446    --disable-option-checking  ignore unrecognized --enable/--with options
1447    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1450 <                          (and sometimes confusing) to the casual installer
1451 <  --disable-dependency-tracking  speeds up one-time build
1452 <  --enable-dependency-tracking   do not reject slow dependency extractors
1449 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1450 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1451 >  --enable-maintainer-mode
1452 >                          enable make rules and dependencies not useful (and
1453 >                          sometimes confusing) to the casual installer
1454 >  --enable-dependency-tracking
1455 >                          do not reject slow dependency extractors
1456 >  --disable-dependency-tracking
1457 >                          speeds up one-time build
1458    --enable-static[=PKGS]  build static libraries [default=no]
1459    --enable-shared[=PKGS]  build shared libraries [default=yes]
1460    --enable-fast-install[=PKGS]
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1574  --disable-zlib          Disable ziplinks support
1464    --disable-libpcre       Disable PCRE support
1465    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1466    --disable-openssl            Disable OpenSSL support.
1467    --enable-assert         Enable assert() statements
1579  --enable-small-net      Enable small network support.
1468    --enable-kqueue         Force kqueue usage.
1469    --enable-epoll          Force epoll usage.
1470    --enable-devpoll        Force devpoll usage.
1583  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1586  --enable-efnet          For IRCDs running on EFnet.
1473    --enable-halfops        Enable halfops support.
1474    --enable-debugging      Enable debugging.
1475    --enable-warnings       Enable compiler warnings.
1590  --enable-syslog="EVENTS"
1591                          Enable syslog for events: users oper (space
1592                          separated in quotes; default: disabled).
1476  
1477   Optional Packages:
1478    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1479    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1480 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1480 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1481                            both]
1482    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1483 +  --with-sysroot=DIR Search for dependent libraries within DIR
1484 +                        (or the 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
1603  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1604  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1605  --with-nicklen=<value>  Set nickname length (default 9).
1606  --with-topiclen=<value> Set topic length (default 160).
1607  --with-syslog-facility=LOG
1608                          Define the syslog facility to use (default:
1609                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1614 | Line 1492 | Some influential environment variables:
1492    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1493                nonstandard directory <lib dir>
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
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 1626 | Line 1505 | Some influential environment variables:
1505   Use these variables to override the choices made by `configure' or to help
1506   it to find libraries and programs with nonstandard names/locations.
1507  
1508 < Report bugs to the package provider.
1508 > Report bugs to <bugs@ircd-hybrid.org>.
1509   _ACEOF
1510   ac_status=$?
1511   fi
# Line 1689 | 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.2.4
1572 < generated by GNU Autoconf 2.64
1571 > ircd-hybrid configure 8.0.8
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 1736 | 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;}
1619 <  return $ac_retval
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
1622  
# Line 1768 | 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 1782 | 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;}
1665 <  return $ac_retval
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
1668  
# Line 1796 | 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 1814 | 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 1839 | 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 1850 | 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;}
1733 <  return $ac_retval
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
1736  
# Line 1892 | 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;}
1775 <  return $ac_retval
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
1778  
# Line 1905 | 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 1960 | 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 1981 | 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 1999 | 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 2012 | 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 2053 | 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  
# Line 2066 | Line 1952 | ac_fn_c_check_member ()
1952    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1954   $as_echo_n "checking for $2.$3... " >&6; }
1955 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 > if eval \${$4+:} false; then :
1956    $as_echo_n "(cached) " >&6
1957   else
1958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2110 | Line 1996 | fi
1996   eval ac_res=\$$4
1997                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998   $as_echo "$ac_res" >&6; }
1999 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000  
2001   } # ac_fn_c_check_member
2002  
# Line 2122 | Line 2008 | $as_echo "$ac_res" >&6; }
2008   ac_fn_c_check_header_mongrel ()
2009   {
2010    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2011 >  if eval \${$3+:} false; then :
2012    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013   $as_echo_n "checking for $2... " >&6; }
2014 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2014 > if eval \${$3+:} false; then :
2015    $as_echo_n "(cached) " >&6
2016   fi
2017   eval ac_res=\$$3
# Line 2161 | Line 2047 | if ac_fn_c_try_cpp "$LINENO"; then :
2047   else
2048    ac_header_preproc=no
2049   fi
2050 < rm -f conftest.err conftest.$ac_ext
2050 > rm -f conftest.err conftest.i conftest.$ac_ext
2051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2052   $as_echo "$ac_header_preproc" >&6; }
2053  
# Line 2184 | Line 2070 | $as_echo "$as_me: WARNING: $2: see the A
2070   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2071      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 + ( $as_echo "## ----------------------------------- ##
2074 + ## Report this to bugs@ircd-hybrid.org ##
2075 + ## ----------------------------------- ##"
2076 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2077      ;;
2078   esac
2079    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080   $as_echo_n "checking for $2... " >&6; }
2081 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 > if eval \${$3+:} false; then :
2082    $as_echo_n "(cached) " >&6
2083   else
2084    eval "$3=\$ac_header_compiler"
# Line 2197 | Line 2087 | eval ac_res=\$$3
2087                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088   $as_echo "$ac_res" >&6; }
2089   fi
2090 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091  
2092   } # ac_fn_c_check_header_mongrel
2093   cat >config.log <<_ACEOF
2094   This file contains any messages produced by compilers while
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097 < It was created by ircd-hybrid $as_me 7.2.4, which was
2098 < generated by GNU Autoconf 2.64.  Invocation command line was
2097 > It was created by ircd-hybrid $as_me 8.0.8, which was
2098 > generated by GNU Autoconf 2.69.  Invocation command line was
2099  
2100    $ $0 $@
2101  
# Line 2315 | Line 2205 | trap 'exit_status=$?
2205    {
2206      echo
2207  
2208 <    cat <<\_ASBOX
2319 < ## ---------------- ##
2208 >    $as_echo "## ---------------- ##
2209   ## Cache variables. ##
2210 < ## ---------------- ##
2322 < _ASBOX
2210 > ## ---------------- ##"
2211      echo
2212      # The following way of writing the cache mishandles newlines in values,
2213   (
# Line 2353 | Line 2241 | $as_echo "$as_me: WARNING: cache variabl
2241   )
2242      echo
2243  
2244 <    cat <<\_ASBOX
2357 < ## ----------------- ##
2244 >    $as_echo "## ----------------- ##
2245   ## Output variables. ##
2246 < ## ----------------- ##
2360 < _ASBOX
2246 > ## ----------------- ##"
2247      echo
2248      for ac_var in $ac_subst_vars
2249      do
# Line 2370 | Line 2256 | _ASBOX
2256      echo
2257  
2258      if test -n "$ac_subst_files"; then
2259 <      cat <<\_ASBOX
2374 < ## ------------------- ##
2259 >      $as_echo "## ------------------- ##
2260   ## File substitutions. ##
2261 < ## ------------------- ##
2377 < _ASBOX
2261 > ## ------------------- ##"
2262        echo
2263        for ac_var in $ac_subst_files
2264        do
# Line 2388 | Line 2272 | _ASBOX
2272      fi
2273  
2274      if test -s confdefs.h; then
2275 <      cat <<\_ASBOX
2392 < ## ----------- ##
2275 >      $as_echo "## ----------- ##
2276   ## confdefs.h. ##
2277 < ## ----------- ##
2395 < _ASBOX
2277 > ## ----------- ##"
2278        echo
2279        cat confdefs.h
2280        echo
# Line 2447 | Line 2329 | _ACEOF
2329   ac_site_file1=NONE
2330   ac_site_file2=NONE
2331   if test -n "$CONFIG_SITE"; then
2332 <  ac_site_file1=$CONFIG_SITE
2332 >  # We do not want a PATH search for config.site.
2333 >  case $CONFIG_SITE in #((
2334 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2335 >    */*) ac_site_file1=$CONFIG_SITE;;
2336 >    *)   ac_site_file1=./$CONFIG_SITE;;
2337 >  esac
2338   elif test "x$prefix" != xNONE; then
2339    ac_site_file1=$prefix/share/config.site
2340    ac_site_file2=$prefix/etc/config.site
# Line 2458 | Line 2345 | fi
2345   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2346   do
2347    test "x$ac_site_file" = xNONE && continue
2348 <  if test -r "$ac_site_file"; then
2348 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2349      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2350   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2351      sed 's/^/| /' "$ac_site_file" >&5
2352 <    . "$ac_site_file"
2352 >    . "$ac_site_file" \
2353 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2354 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 > as_fn_error $? "failed to load site script $ac_site_file
2356 > See \`config.log' for more details" "$LINENO" 5; }
2357    fi
2358   done
2359  
2360   if test -r "$cache_file"; then
2361 <  # Some versions of bash will fail to source /dev/null (special
2362 <  # files actually), so we avoid doing that.
2363 <  if test -f "$cache_file"; then
2361 >  # Some versions of bash will fail to source /dev/null (special files
2362 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2363 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2364      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2365   $as_echo "$as_me: loading cache $cache_file" >&6;}
2366      case $cache_file in
# Line 2489 | Line 2380 | as_fn_append ac_func_list " usleep"
2380   as_fn_append ac_func_list " strlcat"
2381   as_fn_append ac_func_list " strlcpy"
2382   as_fn_append ac_header_list " crypt.h"
2492 as_fn_append ac_header_list " inttypes.h"
2493 as_fn_append ac_header_list " stdint.h"
2383   as_fn_append ac_header_list " sys/resource.h"
2384   as_fn_append ac_header_list " sys/param.h"
2496 as_fn_append ac_header_list " errno.h"
2497 as_fn_append ac_header_list " sys/syslog.h"
2498 as_fn_append ac_header_list " stddef.h"
2499 as_fn_append ac_header_list " libgen.h"
2385   as_fn_append ac_header_list " types.h"
2386   as_fn_append ac_header_list " socket.h"
2387   as_fn_append ac_header_list " sys/wait.h"
2388   as_fn_append ac_header_list " wait.h"
2504 as_fn_append ac_header_list " link.h"
2389   # Check that the precious variables saved in the cache have kept the same
2390   # value.
2391   ac_cache_corrupted=false
# Line 2557 | Line 2441 | if $ac_cache_corrupted; then
2441   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2445   fi
2446   ## -------------------- ##
2447   ## Main body of script. ##
# Line 2570 | Line 2454 | ac_link='$CC -o conftest$ac_exeext $CFLA
2454   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455  
2456  
2457 < am__api_version='1.11'
2457 > am__api_version='1.13'
2458  
2459   ac_aux_dir=
2460   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461 <  for ac_t in install-sh install.sh shtool; do
2462 <    if test -f "$ac_dir/$ac_t"; then
2463 <      ac_aux_dir=$ac_dir
2464 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2465 <      break 2
2466 <    fi
2467 <  done
2461 >  if test -f "$ac_dir/install-sh"; then
2462 >    ac_aux_dir=$ac_dir
2463 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2464 >    break
2465 >  elif test -f "$ac_dir/install.sh"; then
2466 >    ac_aux_dir=$ac_dir
2467 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2468 >    break
2469 >  elif test -f "$ac_dir/shtool"; then
2470 >    ac_aux_dir=$ac_dir
2471 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2472 >    break
2473 >  fi
2474   done
2475   if test -z "$ac_aux_dir"; then
2476 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2476 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2477   fi
2478  
2479   # These three variables are undocumented and unsupported,
# Line 2612 | Line 2502 | ac_configure="$SHELL $ac_aux_dir/configu
2502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504   if test -z "$INSTALL"; then
2505 < if test "${ac_cv_path_install+set}" = set; then :
2505 > if ${ac_cv_path_install+:} false; then :
2506    $as_echo_n "(cached) " >&6
2507   else
2508    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2632 | Line 2522 | case $as_dir/ in #((
2522      # by default.
2523      for ac_prog in ginstall scoinst install; do
2524        for ac_exec_ext in '' $ac_executable_extensions; do
2525 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2525 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526            if test $ac_prog = install &&
2527              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528              # AIX install.  It has an incompatible calling convention.
# Line 2690 | Line 2580 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2580  
2581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582   $as_echo_n "checking whether build environment is sane... " >&6; }
2693 # Just in case
2694 sleep 1
2695 echo timestamp > conftest.file
2583   # Reject unsafe characters in $srcdir or the absolute working directory
2584   # name.  Accept space and tab only in the latter.
2585   am_lf='
2586   '
2587   case `pwd` in
2588    *[\\\"\#\$\&\'\`$am_lf]*)
2589 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2589 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2590   esac
2591   case $srcdir in
2592    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2593 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2593 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594   esac
2595  
2596 < # Do `set' in a subshell so we don't clobber the current shell's
2596 > # Do 'set' in a subshell so we don't clobber the current shell's
2597   # arguments.  Must try -L first in case configure is actually a
2598   # symlink; some systems play weird games with the mod time of symlinks
2599   # (eg FreeBSD returns the mod time of the symlink's containing
2600   # directory).
2601   if (
2602 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 <   if test "$*" = "X"; then
2604 <      # -L didn't work.
2605 <      set X `ls -t "$srcdir/configure" conftest.file`
2606 <   fi
2607 <   rm -f conftest.file
2608 <   if test "$*" != "X $srcdir/configure conftest.file" \
2609 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2610 <
2611 <      # If neither matched, then we have a broken ls.  This can happen
2725 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2726 <      # broken ls alias from the environment.  This has actually
2727 <      # happened.  Such a system could not be considered "sane".
2728 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2729 < alias in your environment" "$LINENO" 5
2730 <   fi
2602 >   am_has_slept=no
2603 >   for am_try in 1 2; do
2604 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2605 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606 >     if test "$*" = "X"; then
2607 >        # -L didn't work.
2608 >        set X `ls -t "$srcdir/configure" conftest.file`
2609 >     fi
2610 >     if test "$*" != "X $srcdir/configure conftest.file" \
2611 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2612  
2613 +        # If neither matched, then we have a broken ls.  This can happen
2614 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2615 +        # broken ls alias from the environment.  This has actually
2616 +        # happened.  Such a system could not be considered "sane".
2617 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2618 +  alias in your environment" "$LINENO" 5
2619 +     fi
2620 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2621 +       break
2622 +     fi
2623 +     # Just in case.
2624 +     sleep 1
2625 +     am_has_slept=yes
2626 +   done
2627     test "$2" = conftest.file
2628     )
2629   then
2630     # Ok.
2631     :
2632   else
2633 <   as_fn_error "newly created file is older than distributed files!
2633 >   as_fn_error $? "newly created file is older than distributed files!
2634   Check your system clock" "$LINENO" 5
2635   fi
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637   $as_echo "yes" >&6; }
2638 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2639 + # generated files are strictly newer.
2640 + am_sleep_pid=
2641 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2642 +  ( sleep 1 ) &
2643 +  am_sleep_pid=$!
2644 + fi
2645 +
2646 + rm -f conftest.file
2647 +
2648   test "$program_prefix" != NONE &&
2649    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2650   # Use a double $ so make ignores it.
# Line 2762 | Line 2667 | if test x"${MISSING+set}" != xset; then
2667    esac
2668   fi
2669   # Use eval to expand $SHELL
2670 < if eval "$MISSING --run true"; then
2671 <  am_missing_run="$MISSING --run "
2670 > if eval "$MISSING --is-lightweight"; then
2671 >  am_missing_run="$MISSING "
2672   else
2673    am_missing_run=
2674 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2675 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2674 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2675 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2676   fi
2677  
2678   if test x"${install_sh}" != xset; then
# Line 2779 | Line 2684 | if test x"${install_sh}" != xset; then
2684    esac
2685   fi
2686  
2687 < # Installed binaries are usually stripped using `strip' when the user
2688 < # run `make install-strip'.  However `strip' might not be the right
2687 > # Installed binaries are usually stripped using 'strip' when the user
2688 > # run "make install-strip".  However 'strip' might not be the right
2689   # tool to use in cross-compilation environments, therefore Automake
2690 < # will honor the `STRIP' environment variable to overrule this program.
2690 > # will honor the 'STRIP' environment variable to overrule this program.
2691   if test "$cross_compiling" != no; then
2692    if test -n "$ac_tool_prefix"; then
2693    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2694   set dummy ${ac_tool_prefix}strip; ac_word=$2
2695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696   $as_echo_n "checking for $ac_word... " >&6; }
2697 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2697 > if ${ac_cv_prog_STRIP+:} false; then :
2698    $as_echo_n "(cached) " >&6
2699   else
2700    if test -n "$STRIP"; then
# Line 2801 | Line 2706 | do
2706    IFS=$as_save_IFS
2707    test -z "$as_dir" && as_dir=.
2708      for ac_exec_ext in '' $ac_executable_extensions; do
2709 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2711      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712      break 2
# Line 2829 | Line 2734 | if test -z "$ac_cv_prog_STRIP"; then
2734   set dummy strip; ac_word=$2
2735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736   $as_echo_n "checking for $ac_word... " >&6; }
2737 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2737 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2738    $as_echo_n "(cached) " >&6
2739   else
2740    if test -n "$ac_ct_STRIP"; then
# Line 2841 | Line 2746 | do
2746    IFS=$as_save_IFS
2747    test -z "$as_dir" && as_dir=.
2748      for ac_exec_ext in '' $ac_executable_extensions; do
2749 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750      ac_cv_prog_ac_ct_STRIP="strip"
2751      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752      break 2
# Line 2882 | Line 2787 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2788   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2789   if test -z "$MKDIR_P"; then
2790 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2790 >  if ${ac_cv_path_mkdir+:} false; then :
2791    $as_echo_n "(cached) " >&6
2792   else
2793    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2892 | Line 2797 | do
2797    test -z "$as_dir" && as_dir=.
2798      for ac_prog in mkdir gmkdir; do
2799           for ac_exec_ext in '' $ac_executable_extensions; do
2800 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2800 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2801             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2802               'mkdir (GNU coreutils) '* | \
2803               'mkdir (coreutils) '* | \
# Line 2907 | Line 2812 | IFS=$as_save_IFS
2812  
2813   fi
2814  
2815 +  test -d ./--version && rmdir ./--version
2816    if test "${ac_cv_path_mkdir+set}" = set; then
2817      MKDIR_P="$ac_cv_path_mkdir -p"
2818    else
# Line 2914 | Line 2820 | fi
2820      # value for MKDIR_P within a source directory, because that will
2821      # break other packages using the cache if that directory is
2822      # removed, or if the value is a relative name.
2917    test -d ./--version && rmdir ./--version
2823      MKDIR_P="$ac_install_sh -d"
2824    fi
2825   fi
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2827   $as_echo "$MKDIR_P" >&6; }
2828  
2924 mkdir_p="$MKDIR_P"
2925 case $mkdir_p in
2926  [\\/$]* | ?:[\\/]*) ;;
2927  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2928 esac
2929
2829   for ac_prog in gawk mawk nawk awk
2830   do
2831    # Extract the first word of "$ac_prog", so it can be a program name with args.
2832   set dummy $ac_prog; ac_word=$2
2833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834   $as_echo_n "checking for $ac_word... " >&6; }
2835 < if test "${ac_cv_prog_AWK+set}" = set; then :
2835 > if ${ac_cv_prog_AWK+:} false; then :
2836    $as_echo_n "(cached) " >&6
2837   else
2838    if test -n "$AWK"; then
# Line 2945 | Line 2844 | do
2844    IFS=$as_save_IFS
2845    test -z "$as_dir" && as_dir=.
2846      for ac_exec_ext in '' $ac_executable_extensions; do
2847 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848      ac_cv_prog_AWK="$ac_prog"
2849      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850      break 2
# Line 2973 | Line 2872 | done
2872   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873   set x ${MAKE-make}
2874   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2875 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2875 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2876    $as_echo_n "(cached) " >&6
2877   else
2878    cat >conftest.make <<\_ACEOF
# Line 2981 | Line 2880 | SHELL = /bin/sh
2880   all:
2881          @echo '@@@%%%=$(MAKE)=@@@%%%'
2882   _ACEOF
2883 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2883 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2884   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2885    *@@@%%%=?*=@@@%%%*)
2886      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3009 | Line 2908 | else
2908   fi
2909   rmdir .tst 2>/dev/null
2910  
2911 + # Check whether --enable-silent-rules was given.
2912 + if test "${enable_silent_rules+set}" = set; then :
2913 +  enableval=$enable_silent_rules;
2914 + fi
2915 +
2916 + case $enable_silent_rules in # (((
2917 +  yes) AM_DEFAULT_VERBOSITY=0;;
2918 +   no) AM_DEFAULT_VERBOSITY=1;;
2919 +    *) AM_DEFAULT_VERBOSITY=1;;
2920 + esac
2921 + am_make=${MAKE-make}
2922 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2923 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2924 + if ${am_cv_make_support_nested_variables+:} false; then :
2925 +  $as_echo_n "(cached) " >&6
2926 + else
2927 +  if $as_echo 'TRUE=$(BAR$(V))
2928 + BAR0=false
2929 + BAR1=true
2930 + V=1
2931 + am__doit:
2932 +        @$(TRUE)
2933 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2934 +  am_cv_make_support_nested_variables=yes
2935 + else
2936 +  am_cv_make_support_nested_variables=no
2937 + fi
2938 + fi
2939 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2940 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2941 + if test $am_cv_make_support_nested_variables = yes; then
2942 +    AM_V='$(V)'
2943 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2944 + else
2945 +  AM_V=$AM_DEFAULT_VERBOSITY
2946 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2947 + fi
2948 + AM_BACKSLASH='\'
2949 +
2950   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2951    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2952    # is not polluted with repeated "-I."
2953    am__isrc=' -I$(srcdir)'
2954    # test to see if srcdir already configured
2955    if test -f $srcdir/config.status; then
2956 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2956 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2957    fi
2958   fi
2959  
# Line 3031 | Line 2969 | fi
2969  
2970   # Define the identity of the package.
2971   PACKAGE='ircd-hybrid'
2972 < VERSION='7.2.4'
2972 > VERSION='8.0.8'
2973  
2974  
2975   cat >>confdefs.h <<_ACEOF
# Line 3059 | Line 2997 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2997  
2998   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2999  
3000 + # For better backward compatibility.  To be removed once Automake 1.9.x
3001 + # dies out for good.  For more background, see:
3002 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3003 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3004 + mkdir_p='$(MKDIR_P)'
3005 +
3006   # We need awk for the "check" target.  The system "awk" is bad on
3007   # some platforms.
3008 < # Always define AMTAR for backward compatibility.
3009 <
3010 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3008 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3009 > # in the wild :-(  We should find a proper way to deprecate it ...
3010 > AMTAR='$${TAR-tar}'
3011  
3012 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3012 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3013  
3014  
3015  
# Line 3118 | Line 3062 | am__quote=
3062   _am_result=none
3063   # First try GNU make style include.
3064   echo "include confinc" > confmf
3065 < # Ignore all kinds of additional output from `make'.
3065 > # Ignore all kinds of additional output from 'make'.
3066   case `$am_make -s -f confmf 2> /dev/null` in #(
3067   *the\ am__doit\ target*)
3068    am__include=include
# Line 3151 | Line 3095 | fi
3095   if test "x$enable_dependency_tracking" != xno; then
3096    am_depcomp="$ac_aux_dir/depcomp"
3097    AMDEPBACKSLASH='\'
3098 +  am__nodep='_no'
3099   fi
3100   if test "x$enable_dependency_tracking" != xno; then
3101    AMDEP_TRUE=
# Line 3171 | Line 3116 | if test -n "$ac_tool_prefix"; then
3116   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118   $as_echo_n "checking for $ac_word... " >&6; }
3119 < if test "${ac_cv_prog_CC+set}" = set; then :
3119 > if ${ac_cv_prog_CC+:} false; then :
3120    $as_echo_n "(cached) " >&6
3121   else
3122    if test -n "$CC"; then
# Line 3183 | Line 3128 | do
3128    IFS=$as_save_IFS
3129    test -z "$as_dir" && as_dir=.
3130      for ac_exec_ext in '' $ac_executable_extensions; do
3131 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3133      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134      break 2
# Line 3211 | Line 3156 | if test -z "$ac_cv_prog_CC"; then
3156   set dummy gcc; ac_word=$2
3157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158   $as_echo_n "checking for $ac_word... " >&6; }
3159 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3159 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3160    $as_echo_n "(cached) " >&6
3161   else
3162    if test -n "$ac_ct_CC"; then
# Line 3223 | Line 3168 | do
3168    IFS=$as_save_IFS
3169    test -z "$as_dir" && as_dir=.
3170      for ac_exec_ext in '' $ac_executable_extensions; do
3171 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172      ac_cv_prog_ac_ct_CC="gcc"
3173      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174      break 2
# Line 3264 | Line 3209 | if test -z "$CC"; then
3209   set dummy ${ac_tool_prefix}cc; ac_word=$2
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211   $as_echo_n "checking for $ac_word... " >&6; }
3212 < if test "${ac_cv_prog_CC+set}" = set; then :
3212 > if ${ac_cv_prog_CC+:} false; then :
3213    $as_echo_n "(cached) " >&6
3214   else
3215    if test -n "$CC"; then
# Line 3276 | Line 3221 | do
3221    IFS=$as_save_IFS
3222    test -z "$as_dir" && as_dir=.
3223      for ac_exec_ext in '' $ac_executable_extensions; do
3224 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3224 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3225      ac_cv_prog_CC="${ac_tool_prefix}cc"
3226      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227      break 2
# Line 3304 | Line 3249 | if test -z "$CC"; then
3249   set dummy cc; ac_word=$2
3250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251   $as_echo_n "checking for $ac_word... " >&6; }
3252 < if test "${ac_cv_prog_CC+set}" = set; then :
3252 > if ${ac_cv_prog_CC+:} false; then :
3253    $as_echo_n "(cached) " >&6
3254   else
3255    if test -n "$CC"; then
# Line 3317 | Line 3262 | do
3262    IFS=$as_save_IFS
3263    test -z "$as_dir" && as_dir=.
3264      for ac_exec_ext in '' $ac_executable_extensions; do
3265 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3267         ac_prog_rejected=yes
3268         continue
# Line 3363 | Line 3308 | if test -z "$CC"; then
3308   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310   $as_echo_n "checking for $ac_word... " >&6; }
3311 < if test "${ac_cv_prog_CC+set}" = set; then :
3311 > if ${ac_cv_prog_CC+:} false; then :
3312    $as_echo_n "(cached) " >&6
3313   else
3314    if test -n "$CC"; then
# Line 3375 | Line 3320 | do
3320    IFS=$as_save_IFS
3321    test -z "$as_dir" && as_dir=.
3322      for ac_exec_ext in '' $ac_executable_extensions; do
3323 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3324      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3325      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326      break 2
# Line 3407 | Line 3352 | do
3352   set dummy $ac_prog; ac_word=$2
3353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354   $as_echo_n "checking for $ac_word... " >&6; }
3355 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3355 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3356    $as_echo_n "(cached) " >&6
3357   else
3358    if test -n "$ac_ct_CC"; then
# Line 3419 | Line 3364 | do
3364    IFS=$as_save_IFS
3365    test -z "$as_dir" && as_dir=.
3366      for ac_exec_ext in '' $ac_executable_extensions; do
3367 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368      ac_cv_prog_ac_ct_CC="$ac_prog"
3369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370      break 2
# Line 3461 | Line 3406 | fi
3406  
3407   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409 < as_fn_error "no acceptable C compiler found in \$PATH
3410 < See \`config.log' for more details." "$LINENO" 5; }
3409 > as_fn_error $? "no acceptable C compiler found in \$PATH
3410 > See \`config.log' for more details" "$LINENO" 5; }
3411  
3412   # Provide some information about the compiler.
3413   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3483 | Line 3428 | $as_echo "$ac_try_echo"; } >&5
3428   ... rest of stderr output deleted ...
3429           10q' conftest.err >conftest.er1
3430      cat conftest.er1 >&5
3486    rm -f conftest.er1 conftest.err
3431    fi
3432 +  rm -f conftest.er1 conftest.err
3433    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3434    test $ac_status = 0; }
3435   done
3436  
3437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438   /* end confdefs.h.  */
3439 < #include <stdio.h>
3439 >
3440   int
3441   main ()
3442   {
3498 FILE *f = fopen ("conftest.out", "w");
3499 return ferror (f) || fclose (f) != 0;
3443  
3444    ;
3445    return 0;
3446   }
3447   _ACEOF
3448   ac_clean_files_save=$ac_clean_files
3449 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3449 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3450   # Try to create an executable without -o first, disregard a.out.
3451   # It will help us diagnose broken compilers, and finding out an intuition
3452   # of exeext.
3453 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3454 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3453 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3454 > $as_echo_n "checking whether the C compiler works... " >&6; }
3455   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3456  
3457   # The possible output files:
# Line 3570 | Line 3513 | test "$ac_cv_exeext" = no && ac_cv_exeex
3513   else
3514    ac_file=''
3515   fi
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3574 $as_echo "$ac_file" >&6; }
3516   if test -z "$ac_file"; then :
3517 <  $as_echo "$as_me: failed program was:" >&5
3517 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 > $as_echo "no" >&6; }
3519 > $as_echo "$as_me: failed program was:" >&5
3520   sed 's/^/| /' conftest.$ac_ext >&5
3521  
3522   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 < { as_fn_set_status 77
3525 < as_fn_error "C compiler cannot create executables
3526 < See \`config.log' for more details." "$LINENO" 5; }; }
3524 > as_fn_error 77 "C compiler cannot create executables
3525 > See \`config.log' for more details" "$LINENO" 5; }
3526 > else
3527 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3528 > $as_echo "yes" >&6; }
3529   fi
3530 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3531 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3532 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3533 + $as_echo "$ac_file" >&6; }
3534   ac_exeext=$ac_cv_exeext
3535  
3536 < # Check that the compiler produces executables we can run.  If not, either
3588 < # the compiler is broken, or we cross compile.
3589 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3590 < $as_echo_n "checking whether the C compiler works... " >&6; }
3591 < # If not cross compiling, check that we can run a simple program.
3592 < if test "$cross_compiling" != yes; then
3593 <  if { ac_try='./$ac_file'
3594 <  { { case "(($ac_try" in
3595 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 <  *) ac_try_echo=$ac_try;;
3597 < esac
3598 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3599 < $as_echo "$ac_try_echo"; } >&5
3600 <  (eval "$ac_try") 2>&5
3601 <  ac_status=$?
3602 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3603 <  test $ac_status = 0; }; }; then
3604 <    cross_compiling=no
3605 <  else
3606 <    if test "$cross_compiling" = maybe; then
3607 <        cross_compiling=yes
3608 <    else
3609 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3610 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3611 < as_fn_error "cannot run C compiled programs.
3612 < If you meant to cross compile, use \`--host'.
3613 < See \`config.log' for more details." "$LINENO" 5; }
3614 <    fi
3615 <  fi
3616 < fi
3617 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3618 < $as_echo "yes" >&6; }
3619 <
3620 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3536 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3537   ac_clean_files=$ac_clean_files_save
3622 # Check that the compiler produces executables we can run.  If not, either
3623 # the compiler is broken, or we cross compile.
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3625 $as_echo_n "checking whether we are cross compiling... " >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3627 $as_echo "$cross_compiling" >&6; }
3628
3538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3539   $as_echo_n "checking for suffix of executables... " >&6; }
3540   if { { ac_try="$ac_link"
# Line 3655 | Line 3564 | done
3564   else
3565    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3568 < See \`config.log' for more details." "$LINENO" 5; }
3567 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3568 > See \`config.log' for more details" "$LINENO" 5; }
3569   fi
3570 < rm -f conftest$ac_cv_exeext
3570 > rm -f conftest conftest$ac_cv_exeext
3571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3572   $as_echo "$ac_cv_exeext" >&6; }
3573  
3574   rm -f conftest.$ac_ext
3575   EXEEXT=$ac_cv_exeext
3576   ac_exeext=$EXEEXT
3577 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 + /* end confdefs.h.  */
3579 + #include <stdio.h>
3580 + int
3581 + main ()
3582 + {
3583 + FILE *f = fopen ("conftest.out", "w");
3584 + return ferror (f) || fclose (f) != 0;
3585 +
3586 +  ;
3587 +  return 0;
3588 + }
3589 + _ACEOF
3590 + ac_clean_files="$ac_clean_files conftest.out"
3591 + # Check that the compiler produces executables we can run.  If not, either
3592 + # the compiler is broken, or we cross compile.
3593 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3594 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3595 + if test "$cross_compiling" != yes; then
3596 +  { { ac_try="$ac_link"
3597 + case "(($ac_try" in
3598 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 +  *) ac_try_echo=$ac_try;;
3600 + esac
3601 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602 + $as_echo "$ac_try_echo"; } >&5
3603 +  (eval "$ac_link") 2>&5
3604 +  ac_status=$?
3605 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 +  test $ac_status = 0; }
3607 +  if { ac_try='./conftest$ac_cv_exeext'
3608 +  { { case "(($ac_try" in
3609 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 +  *) ac_try_echo=$ac_try;;
3611 + esac
3612 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 + $as_echo "$ac_try_echo"; } >&5
3614 +  (eval "$ac_try") 2>&5
3615 +  ac_status=$?
3616 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 +  test $ac_status = 0; }; }; then
3618 +    cross_compiling=no
3619 +  else
3620 +    if test "$cross_compiling" = maybe; then
3621 +        cross_compiling=yes
3622 +    else
3623 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625 + as_fn_error $? "cannot run C compiled programs.
3626 + If you meant to cross compile, use \`--host'.
3627 + See \`config.log' for more details" "$LINENO" 5; }
3628 +    fi
3629 +  fi
3630 + fi
3631 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3632 + $as_echo "$cross_compiling" >&6; }
3633 +
3634 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3635 + ac_clean_files=$ac_clean_files_save
3636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3637   $as_echo_n "checking for suffix of object files... " >&6; }
3638 < if test "${ac_cv_objext+set}" = set; then :
3638 > if ${ac_cv_objext+:} false; then :
3639    $as_echo_n "(cached) " >&6
3640   else
3641    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3707 | Line 3675 | sed 's/^/| /' conftest.$ac_ext >&5
3675  
3676   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3677   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3678 < as_fn_error "cannot compute suffix of object files: cannot compile
3679 < See \`config.log' for more details." "$LINENO" 5; }
3678 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3679 > See \`config.log' for more details" "$LINENO" 5; }
3680   fi
3681   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3682   fi
# Line 3718 | Line 3686 | OBJEXT=$ac_cv_objext
3686   ac_objext=$OBJEXT
3687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3688   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3689 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3689 > if ${ac_cv_c_compiler_gnu+:} false; then :
3690    $as_echo_n "(cached) " >&6
3691   else
3692    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3755 | Line 3723 | ac_test_CFLAGS=${CFLAGS+set}
3723   ac_save_CFLAGS=$CFLAGS
3724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3725   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3726 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3726 > if ${ac_cv_prog_cc_g+:} false; then :
3727    $as_echo_n "(cached) " >&6
3728   else
3729    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3833 | Line 3801 | else
3801   fi
3802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3803   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3804 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3804 > if ${ac_cv_prog_cc_c89+:} false; then :
3805    $as_echo_n "(cached) " >&6
3806   else
3807    ac_cv_prog_cc_c89=no
# Line 3842 | Line 3810 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3810   /* end confdefs.h.  */
3811   #include <stdarg.h>
3812   #include <stdio.h>
3813 < #include <sys/types.h>
3846 < #include <sys/stat.h>
3813 > struct stat;
3814   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3815   struct buf { int x; };
3816   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3932 | Line 3899 | depcc="$CC"   am_compiler_list=
3899  
3900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3901   $as_echo_n "checking dependency style of $depcc... " >&6; }
3902 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3902 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3903    $as_echo_n "(cached) " >&6
3904   else
3905    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3906    # We make a subdir and do the tests there.  Otherwise we can end up
3907    # making bogus files that we don't know about and never remove.  For
3908    # instance it was reported that on HP-UX the gcc test will end up
3909 <  # making a dummy file named `D' -- because `-MD' means `put the output
3910 <  # in D'.
3909 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3910 >  # in D".
3911 >  rm -rf conftest.dir
3912    mkdir conftest.dir
3913    # Copy depcomp to subdir because otherwise we won't find it if we're
3914    # using a relative directory.
# Line 3974 | Line 3942 | else
3942      : > sub/conftest.c
3943      for i in 1 2 3 4 5 6; do
3944        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3945 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3946 <      # Solaris 8's {/usr,}/bin/sh.
3947 <      touch sub/conftst$i.h
3945 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3946 >      # Solaris 10 /bin/sh.
3947 >      echo '/* dummy */' > sub/conftst$i.h
3948      done
3949      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3950  
3951 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3951 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3952      # mode.  It turns out that the SunPro C++ compiler does not properly
3953 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3954 <    # versions had trouble with output in subdirs
3953 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3954 >    # versions had trouble with output in subdirs.
3955      am__obj=sub/conftest.${OBJEXT-o}
3956      am__minus_obj="-o $am__obj"
3957      case $depmode in
# Line 3992 | Line 3960 | else
3960        test "$am__universal" = false || continue
3961        ;;
3962      nosideeffect)
3963 <      # after this tag, mechanisms are not by side-effect, so they'll
3964 <      # only be used when explicitly requested
3963 >      # After this tag, mechanisms are not by side-effect, so they'll
3964 >      # only be used when explicitly requested.
3965        if test "x$enable_dependency_tracking" = xyes; then
3966          continue
3967        else
3968          break
3969        fi
3970        ;;
3971 <    msvisualcpp | msvcmsys)
3972 <      # This compiler won't grok `-c -o', but also, the minuso test has
3971 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3972 >      # This compiler won't grok '-c -o', but also, the minuso test has
3973        # not run yet.  These depmodes are late enough in the game, and
3974        # so weak that their functioning should not be impacted.
3975        am__obj=conftest.${OBJEXT-o}
# Line 4057 | Line 4025 | fi
4025  
4026     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4027   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4028 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4028 > if ${ac_cv_prog_cc_c99+:} false; then :
4029    $as_echo_n "(cached) " >&6
4030   else
4031    ac_cv_prog_cc_c99=no
# Line 4201 | Line 4169 | main ()
4169    return 0;
4170   }
4171   _ACEOF
4172 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4172 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4173   do
4174    CC="$ac_save_CC $ac_arg"
4175    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4233 | Line 4201 | fi
4201  
4202  
4203   if test "$ac_cv_prog_cc_c99" = "no"; then :
4204 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4204 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4205   fi
4206   for ac_prog in 'bison -y' byacc
4207   do
# Line 4241 | Line 4209 | do
4209   set dummy $ac_prog; ac_word=$2
4210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211   $as_echo_n "checking for $ac_word... " >&6; }
4212 < if test "${ac_cv_prog_YACC+set}" = set; then :
4212 > if ${ac_cv_prog_YACC+:} false; then :
4213    $as_echo_n "(cached) " >&6
4214   else
4215    if test -n "$YACC"; then
# Line 4253 | Line 4221 | do
4221    IFS=$as_save_IFS
4222    test -z "$as_dir" && as_dir=.
4223      for ac_exec_ext in '' $ac_executable_extensions; do
4224 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4224 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4225      ac_cv_prog_YACC="$ac_prog"
4226      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4227      break 2
# Line 4285 | Line 4253 | do
4253   set dummy $ac_prog; ac_word=$2
4254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255   $as_echo_n "checking for $ac_word... " >&6; }
4256 < if test "${ac_cv_prog_LEX+set}" = set; then :
4256 > if ${ac_cv_prog_LEX+:} false; then :
4257    $as_echo_n "(cached) " >&6
4258   else
4259    if test -n "$LEX"; then
# Line 4297 | Line 4265 | do
4265    IFS=$as_save_IFS
4266    test -z "$as_dir" && as_dir=.
4267      for ac_exec_ext in '' $ac_executable_extensions; do
4268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269      ac_cv_prog_LEX="$ac_prog"
4270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271      break 2
# Line 4329 | Line 4297 | a { ECHO; }
4297   b { REJECT; }
4298   c { yymore (); }
4299   d { yyless (1); }
4300 < e { yyless (input () != 0); }
4300 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4301 >    yyless ((input () != 0)); }
4302   f { unput (yytext[0]); }
4303   . { BEGIN INITIAL; }
4304   %%
# Line 4355 | Line 4324 | $as_echo "$ac_try_echo"; } >&5
4324    test $ac_status = 0; }
4325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4326   $as_echo_n "checking lex output file root... " >&6; }
4327 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4327 > if ${ac_cv_prog_lex_root+:} false; then :
4328    $as_echo_n "(cached) " >&6
4329   else
4330  
# Line 4364 | Line 4333 | if test -f lex.yy.c; then
4333   elif test -f lexyy.c; then
4334    ac_cv_prog_lex_root=lexyy
4335   else
4336 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4336 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4337   fi
4338   fi
4339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4374 | Line 4343 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4343   if test -z "${LEXLIB+set}"; then
4344    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4345   $as_echo_n "checking lex library... " >&6; }
4346 < if test "${ac_cv_lib_lex+set}" = set; then :
4346 > if ${ac_cv_lib_lex+:} false; then :
4347    $as_echo_n "(cached) " >&6
4348   else
4349  
# Line 4404 | Line 4373 | fi
4373  
4374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4375   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4376 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4376 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4377    $as_echo_n "(cached) " >&6
4378   else
4379    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4415 | Line 4384 | ac_save_LIBS=$LIBS
4384   LIBS="$LEXLIB $ac_save_LIBS"
4385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386   /* end confdefs.h.  */
4387 < #define YYTEXT_POINTER 1
4387 >
4388 >  #define YYTEXT_POINTER 1
4389   `cat $LEX_OUTPUT_ROOT.c`
4390   _ACEOF
4391   if ac_fn_c_try_link "$LINENO"; then :
# Line 4441 | Line 4411 | if test "$LEX" = :; then
4411   fi
4412  
4413  
4414 < #ltdl stuff
4414 > # Initializing libtool.
4415 >
4416 >
4417 >
4418 >
4419 >
4420 >
4421 >
4422   case `pwd` in
4423    *\ * | *\     *)
4424      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4450 | Line 4427 | esac
4427  
4428  
4429  
4430 < macro_version='2.2.6'
4431 < macro_revision='1.3012'
4430 > macro_version='2.4.2'
4431 > macro_revision='1.3337'
4432  
4433  
4434  
# Line 4469 | Line 4446 | ltmain="$ac_aux_dir/ltmain.sh"
4446  
4447   # Make sure we can run config.sub.
4448   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4449 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4449 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4450  
4451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4452   $as_echo_n "checking build system type... " >&6; }
4453 < if test "${ac_cv_build+set}" = set; then :
4453 > if ${ac_cv_build+:} false; then :
4454    $as_echo_n "(cached) " >&6
4455   else
4456    ac_build_alias=$build_alias
4457   test "x$ac_build_alias" = x &&
4458    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4459   test "x$ac_build_alias" = x &&
4460 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4460 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4461   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4462 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4462 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4463  
4464   fi
4465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4466   $as_echo "$ac_cv_build" >&6; }
4467   case $ac_cv_build in
4468   *-*-*) ;;
4469 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4469 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4470   esac
4471   build=$ac_cv_build
4472   ac_save_IFS=$IFS; IFS='-'
# Line 4507 | Line 4484 | case $build_os in *\ *) build_os=`echo "
4484  
4485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4486   $as_echo_n "checking host system type... " >&6; }
4487 < if test "${ac_cv_host+set}" = set; then :
4487 > if ${ac_cv_host+:} false; then :
4488    $as_echo_n "(cached) " >&6
4489   else
4490    if test "x$host_alias" = x; then
4491    ac_cv_host=$ac_cv_build
4492   else
4493    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4494 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4494 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4495   fi
4496  
4497   fi
# Line 4522 | Line 4499 | fi
4499   $as_echo "$ac_cv_host" >&6; }
4500   case $ac_cv_host in
4501   *-*-*) ;;
4502 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4502 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4503   esac
4504   host=$ac_cv_host
4505   ac_save_IFS=$IFS; IFS='-'
# Line 4538 | Line 4515 | IFS=$ac_save_IFS
4515   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4516  
4517  
4518 + # Backslashify metacharacters that are still active within
4519 + # double-quoted strings.
4520 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4521 +
4522 + # Same as above, but do not quote variable references.
4523 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4524 +
4525 + # Sed substitution to delay expansion of an escaped shell variable in a
4526 + # double_quote_subst'ed string.
4527 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4528 +
4529 + # Sed substitution to delay expansion of an escaped single quote.
4530 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4531 +
4532 + # Sed substitution to avoid accidental globbing in evaled expressions
4533 + no_glob_subst='s/\*/\\\*/g'
4534 +
4535 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4536 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4537 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4538 +
4539 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4540 + $as_echo_n "checking how to print strings... " >&6; }
4541 + # Test print first, because it will be a builtin if present.
4542 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4543 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4544 +  ECHO='print -r --'
4545 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4546 +  ECHO='printf %s\n'
4547 + else
4548 +  # Use this function as a fallback that always works.
4549 +  func_fallback_echo ()
4550 +  {
4551 +    eval 'cat <<_LTECHO_EOF
4552 + $1
4553 + _LTECHO_EOF'
4554 +  }
4555 +  ECHO='func_fallback_echo'
4556 + fi
4557 +
4558 + # func_echo_all arg...
4559 + # Invoke $ECHO with all args, space-separated.
4560 + func_echo_all ()
4561 + {
4562 +    $ECHO ""
4563 + }
4564 +
4565 + case "$ECHO" in
4566 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4567 + $as_echo "printf" >&6; } ;;
4568 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4569 + $as_echo "print -r" >&6; } ;;
4570 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4571 + $as_echo "cat" >&6; } ;;
4572 + esac
4573 +
4574 +
4575 +
4576 +
4577 +
4578 +
4579 +
4580 +
4581 +
4582 +
4583 +
4584 +
4585 +
4586 +
4587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4588   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4589 < if test "${ac_cv_path_SED+set}" = set; then :
4589 > if ${ac_cv_path_SED+:} false; then :
4590    $as_echo_n "(cached) " >&6
4591   else
4592              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4560 | Line 4606 | do
4606      for ac_prog in sed gsed; do
4607      for ac_exec_ext in '' $ac_executable_extensions; do
4608        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4609 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4609 >      as_fn_executable_p "$ac_path_SED" || continue
4610   # Check for GNU ac_path_SED and select it if it is found.
4611    # Check for GNU $ac_path_SED
4612   case `"$ac_path_SED" --version 2>&1` in
# Line 4595 | Line 4641 | esac
4641    done
4642   IFS=$as_save_IFS
4643    if test -z "$ac_cv_path_SED"; then
4644 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4644 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4645    fi
4646   else
4647    ac_cv_path_SED=$SED
# Line 4622 | Line 4668 | Xsed="$SED -e 1s/^X//"
4668  
4669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4670   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4671 < if test "${ac_cv_path_GREP+set}" = set; then :
4671 > if ${ac_cv_path_GREP+:} false; then :
4672    $as_echo_n "(cached) " >&6
4673   else
4674    if test -z "$GREP"; then
# Line 4636 | Line 4682 | do
4682      for ac_prog in grep ggrep; do
4683      for ac_exec_ext in '' $ac_executable_extensions; do
4684        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4685 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4685 >      as_fn_executable_p "$ac_path_GREP" || continue
4686   # Check for GNU ac_path_GREP and select it if it is found.
4687    # Check for GNU $ac_path_GREP
4688   case `"$ac_path_GREP" --version 2>&1` in
# Line 4671 | Line 4717 | esac
4717    done
4718   IFS=$as_save_IFS
4719    if test -z "$ac_cv_path_GREP"; then
4720 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4720 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4721    fi
4722   else
4723    ac_cv_path_GREP=$GREP
# Line 4685 | Line 4731 | $as_echo "$ac_cv_path_GREP" >&6; }
4731  
4732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4733   $as_echo_n "checking for egrep... " >&6; }
4734 < if test "${ac_cv_path_EGREP+set}" = set; then :
4734 > if ${ac_cv_path_EGREP+:} false; then :
4735    $as_echo_n "(cached) " >&6
4736   else
4737    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4702 | Line 4748 | do
4748      for ac_prog in egrep; do
4749      for ac_exec_ext in '' $ac_executable_extensions; do
4750        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4751 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4751 >      as_fn_executable_p "$ac_path_EGREP" || continue
4752   # Check for GNU ac_path_EGREP and select it if it is found.
4753    # Check for GNU $ac_path_EGREP
4754   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4737 | Line 4783 | esac
4783    done
4784   IFS=$as_save_IFS
4785    if test -z "$ac_cv_path_EGREP"; then
4786 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4786 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4787    fi
4788   else
4789    ac_cv_path_EGREP=$EGREP
# Line 4752 | Line 4798 | $as_echo "$ac_cv_path_EGREP" >&6; }
4798  
4799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4800   $as_echo_n "checking for fgrep... " >&6; }
4801 < if test "${ac_cv_path_FGREP+set}" = set; then :
4801 > if ${ac_cv_path_FGREP+:} false; then :
4802    $as_echo_n "(cached) " >&6
4803   else
4804    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4769 | Line 4815 | do
4815      for ac_prog in fgrep; do
4816      for ac_exec_ext in '' $ac_executable_extensions; do
4817        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4818 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4818 >      as_fn_executable_p "$ac_path_FGREP" || continue
4819   # Check for GNU ac_path_FGREP and select it if it is found.
4820    # Check for GNU $ac_path_FGREP
4821   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4804 | Line 4850 | esac
4850    done
4851   IFS=$as_save_IFS
4852    if test -z "$ac_cv_path_FGREP"; then
4853 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4853 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4854    fi
4855   else
4856    ac_cv_path_FGREP=$FGREP
# Line 4883 | Line 4929 | else
4929    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4930   $as_echo_n "checking for non-GNU ld... " >&6; }
4931   fi
4932 < if test "${lt_cv_path_LD+set}" = set; then :
4932 > if ${lt_cv_path_LD+:} false; then :
4933    $as_echo_n "(cached) " >&6
4934   else
4935    if test -z "$LD"; then
# Line 4920 | Line 4966 | else
4966    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967   $as_echo "no" >&6; }
4968   fi
4969 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4969 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4971   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4972 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4972 > if ${lt_cv_prog_gnu_ld+:} false; then :
4973    $as_echo_n "(cached) " >&6
4974   else
4975    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4950 | Line 4996 | with_gnu_ld=$lt_cv_prog_gnu_ld
4996  
4997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4998   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4999 < if test "${lt_cv_path_NM+set}" = set; then :
4999 > if ${lt_cv_path_NM+:} false; then :
5000    $as_echo_n "(cached) " >&6
5001   else
5002    if test -n "$NM"; then
# Line 5003 | Line 5049 | if test "$lt_cv_path_NM" != "no"; then
5049    NM="$lt_cv_path_NM"
5050   else
5051    # Didn't find any BSD compatible name lister, look for dumpbin.
5052 <  if test -n "$ac_tool_prefix"; then
5053 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5052 >  if test -n "$DUMPBIN"; then :
5053 >    # Let the user override the test.
5054 >  else
5055 >    if test -n "$ac_tool_prefix"; then
5056 >  for ac_prog in dumpbin "link -dump"
5057    do
5058      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5059   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061   $as_echo_n "checking for $ac_word... " >&6; }
5062 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5062 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5063    $as_echo_n "(cached) " >&6
5064   else
5065    if test -n "$DUMPBIN"; then
# Line 5022 | Line 5071 | do
5071    IFS=$as_save_IFS
5072    test -z "$as_dir" && as_dir=.
5073      for ac_exec_ext in '' $ac_executable_extensions; do
5074 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5074 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5075      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5076      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077      break 2
# Line 5048 | Line 5097 | fi
5097   fi
5098   if test -z "$DUMPBIN"; then
5099    ac_ct_DUMPBIN=$DUMPBIN
5100 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5100 >  for ac_prog in dumpbin "link -dump"
5101   do
5102    # Extract the first word of "$ac_prog", so it can be a program name with args.
5103   set dummy $ac_prog; ac_word=$2
5104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105   $as_echo_n "checking for $ac_word... " >&6; }
5106 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5106 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5107    $as_echo_n "(cached) " >&6
5108   else
5109    if test -n "$ac_ct_DUMPBIN"; then
# Line 5066 | Line 5115 | do
5115    IFS=$as_save_IFS
5116    test -z "$as_dir" && as_dir=.
5117      for ac_exec_ext in '' $ac_executable_extensions; do
5118 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5120      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121      break 2
# Line 5103 | Line 5152 | esac
5152    fi
5153   fi
5154  
5155 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5156 +    *COFF*)
5157 +      DUMPBIN="$DUMPBIN -symbols"
5158 +      ;;
5159 +    *)
5160 +      DUMPBIN=:
5161 +      ;;
5162 +    esac
5163 +  fi
5164  
5165    if test "$DUMPBIN" != ":"; then
5166      NM="$DUMPBIN"
# Line 5117 | Line 5175 | test -z "$NM" && NM=nm
5175  
5176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5177   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5178 < if test "${lt_cv_nm_interface+set}" = set; then :
5178 > if ${lt_cv_nm_interface+:} false; then :
5179    $as_echo_n "(cached) " >&6
5180   else
5181    lt_cv_nm_interface="BSD nm"
5182    echo "int some_variable = 0;" > conftest.$ac_ext
5183 <  (eval echo "\"\$as_me:5125: $ac_compile\"" >&5)
5183 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5184    (eval "$ac_compile" 2>conftest.err)
5185    cat conftest.err >&5
5186 <  (eval echo "\"\$as_me:5128: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5186 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5187    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5188    cat conftest.err >&5
5189 <  (eval echo "\"\$as_me:5131: output\"" >&5)
5189 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5190    cat conftest.out >&5
5191    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5192      lt_cv_nm_interface="MS dumpbin"
# Line 5152 | Line 5210 | fi
5210   # find the maximum length of command line arguments
5211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5212   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5213 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5213 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5214    $as_echo_n "(cached) " >&6
5215   else
5216      i=0
# Line 5185 | Line 5243 | else
5243      lt_cv_sys_max_cmd_len=8192;
5244      ;;
5245  
5246 +  mint*)
5247 +    # On MiNT this can take a long time and run out of memory.
5248 +    lt_cv_sys_max_cmd_len=8192;
5249 +    ;;
5250 +
5251    amigaos*)
5252      # On AmigaOS with pdksh, this test takes hours, literally.
5253      # So we just punt and use a minimum line length of 8192.
# Line 5210 | Line 5273 | else
5273      lt_cv_sys_max_cmd_len=196608
5274      ;;
5275  
5276 +  os2*)
5277 +    # The test takes a long time on OS/2.
5278 +    lt_cv_sys_max_cmd_len=8192
5279 +    ;;
5280 +
5281    osf*)
5282      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5283      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5249 | Line 5317 | else
5317        # If test is not a shell built-in, we'll probably end up computing a
5318        # maximum length that is only half of the actual maximum length, but
5319        # we can't tell.
5320 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5321 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5320 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5321 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5322                test $i != 17 # 1/2 MB should be enough
5323        do
5324          i=`expr $i + 1`
# Line 5292 | Line 5360 | $as_echo_n "checking whether the shell u
5360   # Try some XSI features
5361   xsi_shell=no
5362   ( _lt_dummy="a/b/c"
5363 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5364 <      = c,a/b,, \
5363 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5364 >      = c,a/b,b/c, \
5365      && eval 'test $(( 1 + 1 )) -eq 2 \
5366      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5367    && xsi_shell=yes
# Line 5342 | Line 5410 | esac
5410  
5411  
5412  
5413 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5414 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5415 + if ${lt_cv_to_host_file_cmd+:} false; then :
5416 +  $as_echo_n "(cached) " >&6
5417 + else
5418 +  case $host in
5419 +  *-*-mingw* )
5420 +    case $build in
5421 +      *-*-mingw* ) # actually msys
5422 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5423 +        ;;
5424 +      *-*-cygwin* )
5425 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5426 +        ;;
5427 +      * ) # otherwise, assume *nix
5428 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5429 +        ;;
5430 +    esac
5431 +    ;;
5432 +  *-*-cygwin* )
5433 +    case $build in
5434 +      *-*-mingw* ) # actually msys
5435 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5436 +        ;;
5437 +      *-*-cygwin* )
5438 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5439 +        ;;
5440 +      * ) # otherwise, assume *nix
5441 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5442 +        ;;
5443 +    esac
5444 +    ;;
5445 +  * ) # unhandled hosts (and "normal" native builds)
5446 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5447 +    ;;
5448 + esac
5449 +
5450 + fi
5451 +
5452 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5453 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5454 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5455 +
5456 +
5457 +
5458 +
5459 +
5460 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5461 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5462 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5463 +  $as_echo_n "(cached) " >&6
5464 + else
5465 +  #assume ordinary cross tools, or native build.
5466 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5467 + case $host in
5468 +  *-*-mingw* )
5469 +    case $build in
5470 +      *-*-mingw* ) # actually msys
5471 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5472 +        ;;
5473 +    esac
5474 +    ;;
5475 + esac
5476 +
5477 + fi
5478 +
5479 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5480 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5481 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5482 +
5483 +
5484 +
5485 +
5486 +
5487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5488   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5489 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5489 > if ${lt_cv_ld_reload_flag+:} false; then :
5490    $as_echo_n "(cached) " >&6
5491   else
5492    lt_cv_ld_reload_flag='-r'
# Line 5358 | Line 5500 | case $reload_flag in
5500   esac
5501   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5502   case $host_os in
5503 +  cygwin* | mingw* | pw32* | cegcc*)
5504 +    if test "$GCC" != yes; then
5505 +      reload_cmds=false
5506 +    fi
5507 +    ;;
5508    darwin*)
5509      if test "$GCC" = yes; then
5510        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5380 | Line 5527 | if test -n "$ac_tool_prefix"; then
5527   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529   $as_echo_n "checking for $ac_word... " >&6; }
5530 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5530 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5531    $as_echo_n "(cached) " >&6
5532   else
5533    if test -n "$OBJDUMP"; then
# Line 5392 | Line 5539 | do
5539    IFS=$as_save_IFS
5540    test -z "$as_dir" && as_dir=.
5541      for ac_exec_ext in '' $ac_executable_extensions; do
5542 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5543      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5544      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545      break 2
# Line 5420 | Line 5567 | if test -z "$ac_cv_prog_OBJDUMP"; then
5567   set dummy objdump; ac_word=$2
5568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569   $as_echo_n "checking for $ac_word... " >&6; }
5570 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5570 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5571    $as_echo_n "(cached) " >&6
5572   else
5573    if test -n "$ac_ct_OBJDUMP"; then
# Line 5432 | Line 5579 | do
5579    IFS=$as_save_IFS
5580    test -z "$as_dir" && as_dir=.
5581      for ac_exec_ext in '' $ac_executable_extensions; do
5582 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5584      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585      break 2
# Line 5479 | Line 5626 | test -z "$OBJDUMP" && OBJDUMP=objdump
5626  
5627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5628   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5629 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5629 > if ${lt_cv_deplibs_check_method+:} false; then :
5630    $as_echo_n "(cached) " >&6
5631   else
5632    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5521 | Line 5668 | mingw* | pw32*)
5668    # Base MSYS/MinGW do not provide the 'file' command needed by
5669    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5670    # unless we find 'file', for example because we are cross-compiling.
5671 <  if ( file / ) >/dev/null 2>&1; then
5671 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5672 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5673      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5674      lt_cv_file_magic_cmd='func_win32_libid'
5675    else
5676 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5676 >    # Keep this pattern in sync with the one in func_win32_libid.
5677 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5678      lt_cv_file_magic_cmd='$OBJDUMP -f'
5679    fi
5680    ;;
5681  
5682 < cegcc)
5682 > cegcc*)
5683    # use the weaker test based on 'objdump'. See mingw*.
5684    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5685    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5560 | Line 5709 | gnu*)
5709    lt_cv_deplibs_check_method=pass_all
5710    ;;
5711  
5712 + haiku*)
5713 +  lt_cv_deplibs_check_method=pass_all
5714 +  ;;
5715 +
5716   hpux10.20* | hpux11*)
5717    lt_cv_file_magic_cmd=/usr/bin/file
5718    case $host_cpu in
# Line 5568 | Line 5721 | hpux10.20* | hpux11*)
5721      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5722      ;;
5723    hppa*64*)
5724 <    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]'
5724 >    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]'
5725      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5726      ;;
5727    *)
5728 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5728 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5729      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5730      ;;
5731    esac
# Line 5593 | Line 5746 | irix5* | irix6* | nonstopux*)
5746    lt_cv_deplibs_check_method=pass_all
5747    ;;
5748  
5749 < # This must be Linux ELF.
5750 < linux* | k*bsd*-gnu)
5749 > # This must be glibc/ELF.
5750 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5751    lt_cv_deplibs_check_method=pass_all
5752    ;;
5753  
# Line 5675 | Line 5828 | esac
5828   fi
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5830   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5831 +
5832 + file_magic_glob=
5833 + want_nocaseglob=no
5834 + if test "$build" = "$host"; then
5835 +  case $host_os in
5836 +  mingw* | pw32*)
5837 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5838 +      want_nocaseglob=yes
5839 +    else
5840 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5841 +    fi
5842 +    ;;
5843 +  esac
5844 + fi
5845 +
5846   file_magic_cmd=$lt_cv_file_magic_cmd
5847   deplibs_check_method=$lt_cv_deplibs_check_method
5848   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5690 | Line 5858 | test -z "$deplibs_check_method" && depli
5858  
5859  
5860  
5861 +
5862 +
5863 +
5864 +
5865 +
5866 +
5867 +
5868 +
5869 +
5870 +
5871 + if test -n "$ac_tool_prefix"; then
5872 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5873 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5874 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 + $as_echo_n "checking for $ac_word... " >&6; }
5876 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5877 +  $as_echo_n "(cached) " >&6
5878 + else
5879 +  if test -n "$DLLTOOL"; then
5880 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5881 + else
5882 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 + for as_dir in $PATH
5884 + do
5885 +  IFS=$as_save_IFS
5886 +  test -z "$as_dir" && as_dir=.
5887 +    for ac_exec_ext in '' $ac_executable_extensions; do
5888 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5890 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 +    break 2
5892 +  fi
5893 + done
5894 +  done
5895 + IFS=$as_save_IFS
5896 +
5897 + fi
5898 + fi
5899 + DLLTOOL=$ac_cv_prog_DLLTOOL
5900 + if test -n "$DLLTOOL"; then
5901 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5902 + $as_echo "$DLLTOOL" >&6; }
5903 + else
5904 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 + $as_echo "no" >&6; }
5906 + fi
5907 +
5908 +
5909 + fi
5910 + if test -z "$ac_cv_prog_DLLTOOL"; then
5911 +  ac_ct_DLLTOOL=$DLLTOOL
5912 +  # Extract the first word of "dlltool", so it can be a program name with args.
5913 + set dummy dlltool; ac_word=$2
5914 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 + $as_echo_n "checking for $ac_word... " >&6; }
5916 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5917 +  $as_echo_n "(cached) " >&6
5918 + else
5919 +  if test -n "$ac_ct_DLLTOOL"; then
5920 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5921 + else
5922 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 + for as_dir in $PATH
5924 + do
5925 +  IFS=$as_save_IFS
5926 +  test -z "$as_dir" && as_dir=.
5927 +    for ac_exec_ext in '' $ac_executable_extensions; do
5928 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5930 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 +    break 2
5932 +  fi
5933 + done
5934 +  done
5935 + IFS=$as_save_IFS
5936 +
5937 + fi
5938 + fi
5939 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5940 + if test -n "$ac_ct_DLLTOOL"; then
5941 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5942 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5943 + else
5944 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 + $as_echo "no" >&6; }
5946 + fi
5947 +
5948 +  if test "x$ac_ct_DLLTOOL" = x; then
5949 +    DLLTOOL="false"
5950 +  else
5951 +    case $cross_compiling:$ac_tool_warned in
5952 + yes:)
5953 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5954 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5955 + ac_tool_warned=yes ;;
5956 + esac
5957 +    DLLTOOL=$ac_ct_DLLTOOL
5958 +  fi
5959 + else
5960 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5961 + fi
5962 +
5963 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5964 +
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972 +
5973 +
5974 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5975 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5976 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5977 +  $as_echo_n "(cached) " >&6
5978 + else
5979 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5980 +
5981 + case $host_os in
5982 + cygwin* | mingw* | pw32* | cegcc*)
5983 +  # two different shell functions defined in ltmain.sh
5984 +  # decide which to use based on capabilities of $DLLTOOL
5985 +  case `$DLLTOOL --help 2>&1` in
5986 +  *--identify-strict*)
5987 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5988 +    ;;
5989 +  *)
5990 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5991 +    ;;
5992 +  esac
5993 +  ;;
5994 + *)
5995 +  # fallback: assume linklib IS sharedlib
5996 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5997 +  ;;
5998 + esac
5999 +
6000 + fi
6001 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6002 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6003 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6004 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6005 +
6006 +
6007 +
6008 +
6009 +
6010 +
6011 +
6012   if test -n "$ac_tool_prefix"; then
6013 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6014 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6013 >  for ac_prog in ar
6014 >  do
6015 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6016 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018   $as_echo_n "checking for $ac_word... " >&6; }
6019 < if test "${ac_cv_prog_AR+set}" = set; then :
6019 > if ${ac_cv_prog_AR+:} false; then :
6020    $as_echo_n "(cached) " >&6
6021   else
6022    if test -n "$AR"; then
# Line 5707 | Line 6028 | do
6028    IFS=$as_save_IFS
6029    test -z "$as_dir" && as_dir=.
6030      for ac_exec_ext in '' $ac_executable_extensions; do
6031 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6032 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6031 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6033      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034      break 2
6035    fi
# Line 5728 | Line 6049 | $as_echo "no" >&6; }
6049   fi
6050  
6051  
6052 +    test -n "$AR" && break
6053 +  done
6054   fi
6055 < if test -z "$ac_cv_prog_AR"; then
6055 > if test -z "$AR"; then
6056    ac_ct_AR=$AR
6057 <  # Extract the first word of "ar", so it can be a program name with args.
6058 < set dummy ar; ac_word=$2
6057 >  for ac_prog in ar
6058 > do
6059 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6060 > set dummy $ac_prog; ac_word=$2
6061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062   $as_echo_n "checking for $ac_word... " >&6; }
6063 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6063 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6064    $as_echo_n "(cached) " >&6
6065   else
6066    if test -n "$ac_ct_AR"; then
# Line 5747 | Line 6072 | do
6072    IFS=$as_save_IFS
6073    test -z "$as_dir" && as_dir=.
6074      for ac_exec_ext in '' $ac_executable_extensions; do
6075 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 <    ac_cv_prog_ac_ct_AR="ar"
6075 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6077      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078      break 2
6079    fi
# Line 5767 | Line 6092 | else
6092   $as_echo "no" >&6; }
6093   fi
6094  
6095 +
6096 +  test -n "$ac_ct_AR" && break
6097 + done
6098 +
6099    if test "x$ac_ct_AR" = x; then
6100      AR="false"
6101    else
# Line 5778 | Line 6107 | ac_tool_warned=yes ;;
6107   esac
6108      AR=$ac_ct_AR
6109    fi
5781 else
5782  AR="$ac_cv_prog_AR"
6110   fi
6111  
6112 < test -z "$AR" && AR=ar
6113 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6112 > : ${AR=ar}
6113 > : ${AR_FLAGS=cru}
6114 >
6115 >
6116 >
6117 >
6118 >
6119 >
6120 >
6121 >
6122 >
6123 >
6124 >
6125 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6126 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6127 > if ${lt_cv_ar_at_file+:} false; then :
6128 >  $as_echo_n "(cached) " >&6
6129 > else
6130 >  lt_cv_ar_at_file=no
6131 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6132 > /* end confdefs.h.  */
6133 >
6134 > int
6135 > main ()
6136 > {
6137  
6138 +  ;
6139 +  return 0;
6140 + }
6141 + _ACEOF
6142 + if ac_fn_c_try_compile "$LINENO"; then :
6143 +  echo conftest.$ac_objext > conftest.lst
6144 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6145 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6146 +  (eval $lt_ar_try) 2>&5
6147 +  ac_status=$?
6148 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6149 +  test $ac_status = 0; }
6150 +      if test "$ac_status" -eq 0; then
6151 +        # Ensure the archiver fails upon bogus file names.
6152 +        rm -f conftest.$ac_objext libconftest.a
6153 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6154 +  (eval $lt_ar_try) 2>&5
6155 +  ac_status=$?
6156 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6157 +  test $ac_status = 0; }
6158 +        if test "$ac_status" -ne 0; then
6159 +          lt_cv_ar_at_file=@
6160 +        fi
6161 +      fi
6162 +      rm -f conftest.* libconftest.a
6163  
6164 + fi
6165 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6166  
6167 + fi
6168 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6169 + $as_echo "$lt_cv_ar_at_file" >&6; }
6170  
6171 + if test "x$lt_cv_ar_at_file" = xno; then
6172 +  archiver_list_spec=
6173 + else
6174 +  archiver_list_spec=$lt_cv_ar_at_file
6175 + fi
6176  
6177  
6178  
# Line 5800 | Line 6185 | if test -n "$ac_tool_prefix"; then
6185   set dummy ${ac_tool_prefix}strip; ac_word=$2
6186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187   $as_echo_n "checking for $ac_word... " >&6; }
6188 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6188 > if ${ac_cv_prog_STRIP+:} false; then :
6189    $as_echo_n "(cached) " >&6
6190   else
6191    if test -n "$STRIP"; then
# Line 5812 | Line 6197 | do
6197    IFS=$as_save_IFS
6198    test -z "$as_dir" && as_dir=.
6199      for ac_exec_ext in '' $ac_executable_extensions; do
6200 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6202      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203      break 2
# Line 5840 | Line 6225 | if test -z "$ac_cv_prog_STRIP"; then
6225   set dummy strip; ac_word=$2
6226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6227   $as_echo_n "checking for $ac_word... " >&6; }
6228 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6228 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6229    $as_echo_n "(cached) " >&6
6230   else
6231    if test -n "$ac_ct_STRIP"; then
# Line 5852 | Line 6237 | do
6237    IFS=$as_save_IFS
6238    test -z "$as_dir" && as_dir=.
6239      for ac_exec_ext in '' $ac_executable_extensions; do
6240 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6241      ac_cv_prog_ac_ct_STRIP="strip"
6242      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6243      break 2
# Line 5899 | Line 6284 | if test -n "$ac_tool_prefix"; then
6284   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286   $as_echo_n "checking for $ac_word... " >&6; }
6287 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6287 > if ${ac_cv_prog_RANLIB+:} false; then :
6288    $as_echo_n "(cached) " >&6
6289   else
6290    if test -n "$RANLIB"; then
# Line 5911 | Line 6296 | do
6296    IFS=$as_save_IFS
6297    test -z "$as_dir" && as_dir=.
6298      for ac_exec_ext in '' $ac_executable_extensions; do
6299 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6299 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6300      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6301      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302      break 2
# Line 5939 | Line 6324 | if test -z "$ac_cv_prog_RANLIB"; then
6324   set dummy ranlib; ac_word=$2
6325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326   $as_echo_n "checking for $ac_word... " >&6; }
6327 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6327 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6328    $as_echo_n "(cached) " >&6
6329   else
6330    if test -n "$ac_ct_RANLIB"; then
# Line 5951 | Line 6336 | do
6336    IFS=$as_save_IFS
6337    test -z "$as_dir" && as_dir=.
6338      for ac_exec_ext in '' $ac_executable_extensions; do
6339 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6340      ac_cv_prog_ac_ct_RANLIB="ranlib"
6341      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342      break 2
# Line 6001 | Line 6386 | old_postuninstall_cmds=
6386   if test -n "$RANLIB"; then
6387    case $host_os in
6388    openbsd*)
6389 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6389 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6390      ;;
6391    *)
6392 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6392 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6393      ;;
6394    esac
6395 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6395 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6396   fi
6397  
6398 + case $host_os in
6399 +  darwin*)
6400 +    lock_old_archive_extraction=yes ;;
6401 +  *)
6402 +    lock_old_archive_extraction=no ;;
6403 + esac
6404 +
6405 +
6406 +
6407 +
6408 +
6409 +
6410  
6411  
6412  
# Line 6056 | Line 6453 | compiler=$CC
6453   # Check for command to grab the raw symbol name followed by C symbol from nm.
6454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6455   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6456 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6456 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6457    $as_echo_n "(cached) " >&6
6458   else
6459  
# Line 6117 | Line 6514 | esac
6514   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6515  
6516   # Transform an extracted symbol line into symbol name and symbol address
6517 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6518 < 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'"
6517 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6518 > 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'"
6519  
6520   # Handle CRLF in mingw tool chain
6521   opt_cr=
# Line 6142 | Line 6539 | for ac_symprfx in "" "_"; do
6539      # which start with @ or ?.
6540      lt_cv_sys_global_symbol_pipe="$AWK '"\
6541   "     {last_section=section; section=\$ 3};"\
6542 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6543   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6544   "     \$ 0!~/External *\|/{next};"\
6545   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6154 | Line 6552 | for ac_symprfx in "" "_"; do
6552    else
6553      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6554    fi
6555 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6556  
6557    # Check to see that the pipe works correctly.
6558    pipe_works=no
# Line 6179 | Line 6578 | _LT_EOF
6578    test $ac_status = 0; }; then
6579      # Now try to grab the symbols.
6580      nlist=conftest.nm
6581 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6582 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6581 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6582 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6583    ac_status=$?
6584    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6585    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6195 | Line 6594 | _LT_EOF
6594        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6595          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6596            cat <<_LT_EOF > conftest.$ac_ext
6597 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6598 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6599 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6600 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6601 + # define LT_DLSYM_CONST
6602 + #elif defined(__osf__)
6603 + /* This system does not cope well with relocations in const data.  */
6604 + # define LT_DLSYM_CONST
6605 + #else
6606 + # define LT_DLSYM_CONST const
6607 + #endif
6608 +
6609   #ifdef __cplusplus
6610   extern "C" {
6611   #endif
# Line 6206 | Line 6617 | _LT_EOF
6617            cat <<_LT_EOF >> conftest.$ac_ext
6618  
6619   /* The mapping between symbol names and symbols.  */
6620 < const struct {
6620 > LT_DLSYM_CONST struct {
6621    const char *name;
6622    void       *address;
6623   }
# Line 6232 | Line 6643 | static const void *lt_preloaded_setup()
6643   _LT_EOF
6644            # Now try linking the two files.
6645            mv conftest.$ac_objext conftstm.$ac_objext
6646 <          lt_save_LIBS="$LIBS"
6647 <          lt_save_CFLAGS="$CFLAGS"
6646 >          lt_globsym_save_LIBS=$LIBS
6647 >          lt_globsym_save_CFLAGS=$CFLAGS
6648            LIBS="conftstm.$ac_objext"
6649            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6650            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6243 | Line 6654 | _LT_EOF
6654    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6655              pipe_works=yes
6656            fi
6657 <          LIBS="$lt_save_LIBS"
6658 <          CFLAGS="$lt_save_CFLAGS"
6657 >          LIBS=$lt_globsym_save_LIBS
6658 >          CFLAGS=$lt_globsym_save_CFLAGS
6659          else
6660            echo "cannot find nm_test_func in $nlist" >&5
6661          fi
# Line 6281 | Line 6692 | else
6692   $as_echo "ok" >&6; }
6693   fi
6694  
6695 + # Response file support.
6696 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6697 +  nm_file_list_spec='@'
6698 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6699 +  nm_file_list_spec='@'
6700 + fi
6701 +
6702 +
6703 +
6704 +
6705  
6706  
6707  
# Line 6302 | Line 6723 | fi
6723  
6724  
6725  
6726 +
6727 +
6728 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6729 + $as_echo_n "checking for sysroot... " >&6; }
6730 +
6731 + # Check whether --with-sysroot was given.
6732 + if test "${with_sysroot+set}" = set; then :
6733 +  withval=$with_sysroot;
6734 + else
6735 +  with_sysroot=no
6736 + fi
6737 +
6738 +
6739 + lt_sysroot=
6740 + case ${with_sysroot} in #(
6741 + yes)
6742 +   if test "$GCC" = yes; then
6743 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6744 +   fi
6745 +   ;; #(
6746 + /*)
6747 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6748 +   ;; #(
6749 + no|'')
6750 +   ;; #(
6751 + *)
6752 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6753 + $as_echo "${with_sysroot}" >&6; }
6754 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6755 +   ;;
6756 + esac
6757 +
6758 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6759 + $as_echo "${lt_sysroot:-no}" >&6; }
6760 +
6761 +
6762 +
6763 +
6764 +
6765   # Check whether --enable-libtool-lock was given.
6766   if test "${enable_libtool_lock+set}" = set; then :
6767    enableval=$enable_libtool_lock;
# Line 6333 | Line 6793 | ia64-*-hpux*)
6793    ;;
6794   *-*-irix6*)
6795    # Find out which ABI we are using.
6796 <  echo '#line 6336 "configure"' > conftest.$ac_ext
6796 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6797    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6798    (eval $ac_compile) 2>&5
6799    ac_status=$?
# Line 6427 | Line 6887 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6887    CFLAGS="$CFLAGS -belf"
6888    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6889   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6890 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6890 > if ${lt_cv_cc_needs_belf+:} false; then :
6891    $as_echo_n "(cached) " >&6
6892   else
6893    ac_ext=c
# Line 6468 | Line 6928 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6928      CFLAGS="$SAVE_CFLAGS"
6929    fi
6930    ;;
6931 < sparc*-*solaris*)
6931 > *-*solaris*)
6932    # Find out which ABI we are using.
6933    echo 'int i;' > conftest.$ac_ext
6934    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6479 | Line 6939 | sparc*-*solaris*)
6939      case `/usr/bin/file conftest.o` in
6940      *64-bit*)
6941        case $lt_cv_prog_gnu_ld in
6942 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6942 >      yes*)
6943 >        case $host in
6944 >        i?86-*-solaris*)
6945 >          LD="${LD-ld} -m elf_x86_64"
6946 >          ;;
6947 >        sparc*-*-solaris*)
6948 >          LD="${LD-ld} -m elf64_sparc"
6949 >          ;;
6950 >        esac
6951 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6952 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6953 >          LD="${LD-ld}_sol2"
6954 >        fi
6955 >        ;;
6956        *)
6957          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6958            LD="${LD-ld} -64"
# Line 6495 | Line 6968 | esac
6968  
6969   need_locks="$enable_libtool_lock"
6970  
6971 + if test -n "$ac_tool_prefix"; then
6972 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6973 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6974 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 + $as_echo_n "checking for $ac_word... " >&6; }
6976 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6977 +  $as_echo_n "(cached) " >&6
6978 + else
6979 +  if test -n "$MANIFEST_TOOL"; then
6980 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6981 + else
6982 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983 + for as_dir in $PATH
6984 + do
6985 +  IFS=$as_save_IFS
6986 +  test -z "$as_dir" && as_dir=.
6987 +    for ac_exec_ext in '' $ac_executable_extensions; do
6988 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6990 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6991 +    break 2
6992 +  fi
6993 + done
6994 +  done
6995 + IFS=$as_save_IFS
6996 +
6997 + fi
6998 + fi
6999 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7000 + if test -n "$MANIFEST_TOOL"; then
7001 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7002 + $as_echo "$MANIFEST_TOOL" >&6; }
7003 + else
7004 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 + $as_echo "no" >&6; }
7006 + fi
7007 +
7008 +
7009 + fi
7010 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7011 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7012 +  # Extract the first word of "mt", so it can be a program name with args.
7013 + set dummy mt; ac_word=$2
7014 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 + $as_echo_n "checking for $ac_word... " >&6; }
7016 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7017 +  $as_echo_n "(cached) " >&6
7018 + else
7019 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7020 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7021 + else
7022 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023 + for as_dir in $PATH
7024 + do
7025 +  IFS=$as_save_IFS
7026 +  test -z "$as_dir" && as_dir=.
7027 +    for ac_exec_ext in '' $ac_executable_extensions; do
7028 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7030 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 +    break 2
7032 +  fi
7033 + done
7034 +  done
7035 + IFS=$as_save_IFS
7036 +
7037 + fi
7038 + fi
7039 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7040 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7041 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7042 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7043 + else
7044 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 + $as_echo "no" >&6; }
7046 + fi
7047 +
7048 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7049 +    MANIFEST_TOOL=":"
7050 +  else
7051 +    case $cross_compiling:$ac_tool_warned in
7052 + yes:)
7053 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7054 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7055 + ac_tool_warned=yes ;;
7056 + esac
7057 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7058 +  fi
7059 + else
7060 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7061 + fi
7062 +
7063 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7064 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7065 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7066 + if ${lt_cv_path_mainfest_tool+:} false; then :
7067 +  $as_echo_n "(cached) " >&6
7068 + else
7069 +  lt_cv_path_mainfest_tool=no
7070 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7071 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7072 +  cat conftest.err >&5
7073 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7074 +    lt_cv_path_mainfest_tool=yes
7075 +  fi
7076 +  rm -f conftest*
7077 + fi
7078 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7079 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7080 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7081 +  MANIFEST_TOOL=:
7082 + fi
7083 +
7084 +
7085 +
7086 +
7087 +
7088  
7089    case $host_os in
7090      rhapsody* | darwin*)
# Line 6503 | Line 7093 | need_locks="$enable_libtool_lock"
7093   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095   $as_echo_n "checking for $ac_word... " >&6; }
7096 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7096 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7097    $as_echo_n "(cached) " >&6
7098   else
7099    if test -n "$DSYMUTIL"; then
# Line 6515 | Line 7105 | do
7105    IFS=$as_save_IFS
7106    test -z "$as_dir" && as_dir=.
7107      for ac_exec_ext in '' $ac_executable_extensions; do
7108 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7109      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7110      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111      break 2
# Line 6543 | Line 7133 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7133   set dummy dsymutil; ac_word=$2
7134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135   $as_echo_n "checking for $ac_word... " >&6; }
7136 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7136 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7137    $as_echo_n "(cached) " >&6
7138   else
7139    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6555 | Line 7145 | do
7145    IFS=$as_save_IFS
7146    test -z "$as_dir" && as_dir=.
7147      for ac_exec_ext in '' $ac_executable_extensions; do
7148 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7148 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7149      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7150      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151      break 2
# Line 6595 | Line 7185 | fi
7185   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187   $as_echo_n "checking for $ac_word... " >&6; }
7188 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7188 > if ${ac_cv_prog_NMEDIT+:} false; then :
7189    $as_echo_n "(cached) " >&6
7190   else
7191    if test -n "$NMEDIT"; then
# Line 6607 | Line 7197 | do
7197    IFS=$as_save_IFS
7198    test -z "$as_dir" && as_dir=.
7199      for ac_exec_ext in '' $ac_executable_extensions; do
7200 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7200 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7201      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7202      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203      break 2
# Line 6635 | Line 7225 | if test -z "$ac_cv_prog_NMEDIT"; then
7225   set dummy nmedit; ac_word=$2
7226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227   $as_echo_n "checking for $ac_word... " >&6; }
7228 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7228 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7229    $as_echo_n "(cached) " >&6
7230   else
7231    if test -n "$ac_ct_NMEDIT"; then
# Line 6647 | Line 7237 | do
7237    IFS=$as_save_IFS
7238    test -z "$as_dir" && as_dir=.
7239      for ac_exec_ext in '' $ac_executable_extensions; do
7240 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7240 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7242      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243      break 2
# Line 6687 | Line 7277 | fi
7277   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279   $as_echo_n "checking for $ac_word... " >&6; }
7280 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7280 > if ${ac_cv_prog_LIPO+:} false; then :
7281    $as_echo_n "(cached) " >&6
7282   else
7283    if test -n "$LIPO"; then
# Line 6699 | Line 7289 | do
7289    IFS=$as_save_IFS
7290    test -z "$as_dir" && as_dir=.
7291      for ac_exec_ext in '' $ac_executable_extensions; do
7292 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7293      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7294      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295      break 2
# Line 6727 | Line 7317 | if test -z "$ac_cv_prog_LIPO"; then
7317   set dummy lipo; ac_word=$2
7318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319   $as_echo_n "checking for $ac_word... " >&6; }
7320 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7320 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7321    $as_echo_n "(cached) " >&6
7322   else
7323    if test -n "$ac_ct_LIPO"; then
# Line 6739 | Line 7329 | do
7329    IFS=$as_save_IFS
7330    test -z "$as_dir" && as_dir=.
7331      for ac_exec_ext in '' $ac_executable_extensions; do
7332 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7332 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333      ac_cv_prog_ac_ct_LIPO="lipo"
7334      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7335      break 2
# Line 6779 | Line 7369 | fi
7369   set dummy ${ac_tool_prefix}otool; ac_word=$2
7370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371   $as_echo_n "checking for $ac_word... " >&6; }
7372 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7372 > if ${ac_cv_prog_OTOOL+:} false; then :
7373    $as_echo_n "(cached) " >&6
7374   else
7375    if test -n "$OTOOL"; then
# Line 6791 | Line 7381 | do
7381    IFS=$as_save_IFS
7382    test -z "$as_dir" && as_dir=.
7383      for ac_exec_ext in '' $ac_executable_extensions; do
7384 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7386      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387      break 2
# Line 6819 | Line 7409 | if test -z "$ac_cv_prog_OTOOL"; then
7409   set dummy otool; ac_word=$2
7410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411   $as_echo_n "checking for $ac_word... " >&6; }
7412 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7412 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7413    $as_echo_n "(cached) " >&6
7414   else
7415    if test -n "$ac_ct_OTOOL"; then
# Line 6831 | Line 7421 | do
7421    IFS=$as_save_IFS
7422    test -z "$as_dir" && as_dir=.
7423      for ac_exec_ext in '' $ac_executable_extensions; do
7424 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7424 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425      ac_cv_prog_ac_ct_OTOOL="otool"
7426      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427      break 2
# Line 6871 | Line 7461 | fi
7461   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463   $as_echo_n "checking for $ac_word... " >&6; }
7464 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7464 > if ${ac_cv_prog_OTOOL64+:} false; then :
7465    $as_echo_n "(cached) " >&6
7466   else
7467    if test -n "$OTOOL64"; then
# Line 6883 | Line 7473 | do
7473    IFS=$as_save_IFS
7474    test -z "$as_dir" && as_dir=.
7475      for ac_exec_ext in '' $ac_executable_extensions; do
7476 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7477      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7478      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7479      break 2
# Line 6911 | Line 7501 | if test -z "$ac_cv_prog_OTOOL64"; then
7501   set dummy otool64; ac_word=$2
7502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503   $as_echo_n "checking for $ac_word... " >&6; }
7504 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7504 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7505    $as_echo_n "(cached) " >&6
7506   else
7507    if test -n "$ac_ct_OTOOL64"; then
# Line 6923 | Line 7513 | do
7513    IFS=$as_save_IFS
7514    test -z "$as_dir" && as_dir=.
7515      for ac_exec_ext in '' $ac_executable_extensions; do
7516 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7516 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7517      ac_cv_prog_ac_ct_OTOOL64="otool64"
7518      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7519      break 2
# Line 6986 | Line 7576 | fi
7576  
7577      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7578   $as_echo_n "checking for -single_module linker flag... " >&6; }
7579 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7579 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7580    $as_echo_n "(cached) " >&6
7581   else
7582    lt_cv_apple_cc_single_mod=no
# Line 7002 | Line 7592 | else
7592          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7593            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7594          _lt_result=$?
7595 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7595 >        # If there is a non-empty error log, and "single_module"
7596 >        # appears in it, assume the flag caused a linker warning
7597 >        if test -s conftest.err && $GREP single_module conftest.err; then
7598 >          cat conftest.err >&5
7599 >        # Otherwise, if the output was created with a 0 exit code from
7600 >        # the compiler, it worked.
7601 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7602            lt_cv_apple_cc_single_mod=yes
7603          else
7604            cat conftest.err >&5
# Line 7013 | Line 7609 | else
7609   fi
7610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7611   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7612 +
7613      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7614   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7615 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7615 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7616    $as_echo_n "(cached) " >&6
7617   else
7618    lt_cv_ld_exported_symbols_list=no
# Line 7045 | Line 7642 | rm -f core conftest.err conftest.$ac_obj
7642   fi
7643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7644   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7645 +
7646 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7647 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7648 + if ${lt_cv_ld_force_load+:} false; then :
7649 +  $as_echo_n "(cached) " >&6
7650 + else
7651 +  lt_cv_ld_force_load=no
7652 +      cat > conftest.c << _LT_EOF
7653 + int forced_loaded() { return 2;}
7654 + _LT_EOF
7655 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7656 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7657 +      echo "$AR cru libconftest.a conftest.o" >&5
7658 +      $AR cru libconftest.a conftest.o 2>&5
7659 +      echo "$RANLIB libconftest.a" >&5
7660 +      $RANLIB libconftest.a 2>&5
7661 +      cat > conftest.c << _LT_EOF
7662 + int main() { return 0;}
7663 + _LT_EOF
7664 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7665 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7666 +      _lt_result=$?
7667 +      if test -s conftest.err && $GREP force_load conftest.err; then
7668 +        cat conftest.err >&5
7669 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7670 +        lt_cv_ld_force_load=yes
7671 +      else
7672 +        cat conftest.err >&5
7673 +      fi
7674 +        rm -f conftest.err libconftest.a conftest conftest.c
7675 +        rm -rf conftest.dSYM
7676 +
7677 + fi
7678 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7679 + $as_echo "$lt_cv_ld_force_load" >&6; }
7680      case $host_os in
7681      rhapsody* | darwin1.[012])
7682        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7072 | Line 7704 | $as_echo "$lt_cv_ld_exported_symbols_lis
7704      else
7705        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7706      fi
7707 <    if test "$DSYMUTIL" != ":"; then
7707 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7708        _lt_dsymutil='~$DSYMUTIL $lib || :'
7709      else
7710        _lt_dsymutil=
# Line 7092 | Line 7724 | if test -n "$CPP" && test -d "$CPP"; the
7724    CPP=
7725   fi
7726   if test -z "$CPP"; then
7727 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7727 >  if ${ac_cv_prog_CPP+:} false; then :
7728    $as_echo_n "(cached) " >&6
7729   else
7730        # Double quotes because CPP needs to be expanded
# Line 7122 | Line 7754 | else
7754    # Broken: fails on valid input.
7755   continue
7756   fi
7757 < rm -f conftest.err conftest.$ac_ext
7757 > rm -f conftest.err conftest.i conftest.$ac_ext
7758  
7759    # OK, works on sane cases.  Now check whether nonexistent headers
7760    # can be detected and how.
# Line 7138 | Line 7770 | else
7770   ac_preproc_ok=:
7771   break
7772   fi
7773 < rm -f conftest.err conftest.$ac_ext
7773 > rm -f conftest.err conftest.i conftest.$ac_ext
7774  
7775   done
7776   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7777 < rm -f conftest.err conftest.$ac_ext
7777 > rm -f conftest.i conftest.err conftest.$ac_ext
7778   if $ac_preproc_ok; then :
7779    break
7780   fi
# Line 7181 | Line 7813 | else
7813    # Broken: fails on valid input.
7814   continue
7815   fi
7816 < rm -f conftest.err conftest.$ac_ext
7816 > rm -f conftest.err conftest.i conftest.$ac_ext
7817  
7818    # OK, works on sane cases.  Now check whether nonexistent headers
7819    # can be detected and how.
# Line 7197 | Line 7829 | else
7829   ac_preproc_ok=:
7830   break
7831   fi
7832 < rm -f conftest.err conftest.$ac_ext
7832 > rm -f conftest.err conftest.i conftest.$ac_ext
7833  
7834   done
7835   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7836 < rm -f conftest.err conftest.$ac_ext
7836 > rm -f conftest.i conftest.err conftest.$ac_ext
7837   if $ac_preproc_ok; then :
7838  
7839   else
7840    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7841   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7842 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7843 < See \`config.log' for more details." "$LINENO" 5; }
7842 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7843 > See \`config.log' for more details" "$LINENO" 5; }
7844   fi
7845  
7846   ac_ext=c
# Line 7220 | Line 7852 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7852  
7853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7854   $as_echo_n "checking for ANSI C header files... " >&6; }
7855 < if test "${ac_cv_header_stdc+set}" = set; then :
7855 > if ${ac_cv_header_stdc+:} false; then :
7856    $as_echo_n "(cached) " >&6
7857   else
7858    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7337 | Line 7969 | do :
7969    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7970   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7971   "
7972 < eval as_val=\$$as_ac_Header
7341 <   if test "x$as_val" = x""yes; then :
7972 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7973    cat >>confdefs.h <<_ACEOF
7974   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7975   _ACEOF
# Line 7352 | Line 7983 | for ac_header in dlfcn.h
7983   do :
7984    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7985   "
7986 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7986 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7987    cat >>confdefs.h <<_ACEOF
7988   #define HAVE_DLFCN_H 1
7989   _ACEOF
# Line 7363 | Line 7994 | done
7994  
7995  
7996  
7997 +
7998 +
7999   # Set options
8000   enable_dlopen=yes
8001   # Check whether --enable-static was given.
# Line 7436 | Line 8069 | fi
8069  
8070   # Check whether --with-pic was given.
8071   if test "${with_pic+set}" = set; then :
8072 <  withval=$with_pic; pic_mode="$withval"
8072 >  withval=$with_pic; lt_p=${PACKAGE-default}
8073 >    case $withval in
8074 >    yes|no) pic_mode=$withval ;;
8075 >    *)
8076 >      pic_mode=default
8077 >      # Look at the argument we got.  We use all the common list separators.
8078 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 >      for lt_pkg in $withval; do
8080 >        IFS="$lt_save_ifs"
8081 >        if test "X$lt_pkg" = "X$lt_p"; then
8082 >          pic_mode=yes
8083 >        fi
8084 >      done
8085 >      IFS="$lt_save_ifs"
8086 >      ;;
8087 >    esac
8088   else
8089    pic_mode=default
8090   fi
# Line 7513 | Line 8161 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8161  
8162  
8163  
8164 +
8165 +
8166 +
8167 +
8168 +
8169   test -z "$LN_S" && LN_S="ln -s"
8170  
8171  
# Line 7534 | Line 8187 | fi
8187  
8188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8189   $as_echo_n "checking for objdir... " >&6; }
8190 < if test "${lt_cv_objdir+set}" = set; then :
8190 > if ${lt_cv_objdir+:} false; then :
8191    $as_echo_n "(cached) " >&6
8192   else
8193    rm -f .libs 2>/dev/null
# Line 7562 | Line 8215 | _ACEOF
8215  
8216  
8217  
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
8218   case $host_os in
8219   aix3*)
8220    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7587 | Line 8227 | aix3*)
8227    ;;
8228   esac
8229  
7590 # Sed substitution that helps us do robust quoting.  It backslashifies
7591 # metacharacters that are still active within double-quoted strings.
7592 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7593
7594 # Same as above, but do not quote variable references.
7595 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7596
7597 # Sed substitution to delay expansion of an escaped shell variable in a
7598 # double_quote_subst'ed string.
7599 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7600
7601 # Sed substitution to delay expansion of an escaped single quote.
7602 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7603
7604 # Sed substitution to avoid accidental globbing in evaled expressions
7605 no_glob_subst='s/\*/\\\*/g'
7606
8230   # Global variables:
8231   ofile=libtool
8232   can_build_shared=yes
# Line 7632 | Line 8255 | for cc_temp in $compiler""; do
8255      *) break;;
8256    esac
8257   done
8258 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8258 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8259  
8260  
8261   # Only perform the check for file, if the check method requires it
# Line 7642 | Line 8265 | file_magic*)
8265    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8266      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8267   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8268 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8269    $as_echo_n "(cached) " >&6
8270   else
8271    case $MAGIC_CMD in
# Line 7708 | Line 8331 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8331    if test -n "$ac_tool_prefix"; then
8332      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8333   $as_echo_n "checking for file... " >&6; }
8334 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8335    $as_echo_n "(cached) " >&6
8336   else
8337    case $MAGIC_CMD in
# Line 7837 | Line 8460 | if test -n "$compiler"; then
8460   lt_prog_compiler_no_builtin_flag=
8461  
8462   if test "$GCC" = yes; then
8463 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8463 >  case $cc_basename in
8464 >  nvcc*)
8465 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8466 >  *)
8467 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8468 >  esac
8469  
8470    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8471   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8472 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8472 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8473    $as_echo_n "(cached) " >&6
8474   else
8475    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7857 | Line 8485 | else
8485     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8486     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8487     -e 's:$: $lt_compiler_flag:'`
8488 <   (eval echo "\"\$as_me:7860: $lt_compile\"" >&5)
8488 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8489     (eval "$lt_compile" 2>conftest.err)
8490     ac_status=$?
8491     cat conftest.err >&5
8492 <   echo "$as_me:7864: \$? = $ac_status" >&5
8492 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493     if (exit $ac_status) && test -s "$ac_outfile"; then
8494       # The compiler can only warn and ignore the option if not recognized
8495       # So say no if there are warnings other than the usual output.
8496 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8496 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8497       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8498       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8499         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7894 | Line 8522 | fi
8522   lt_prog_compiler_pic=
8523   lt_prog_compiler_static=
8524  
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7898 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8525  
8526    if test "$GCC" = yes; then
8527      lt_prog_compiler_wl='-Wl,'
# Line 7943 | Line 8569 | $as_echo_n "checking for $compiler optio
8569        lt_prog_compiler_pic='-fno-common'
8570        ;;
8571  
8572 +    haiku*)
8573 +      # PIC is the default for Haiku.
8574 +      # The "-static" flag exists, but is broken.
8575 +      lt_prog_compiler_static=
8576 +      ;;
8577 +
8578      hpux*)
8579        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8580        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7985 | Line 8617 | $as_echo_n "checking for $compiler optio
8617        lt_prog_compiler_pic='-fPIC'
8618        ;;
8619      esac
8620 +
8621 +    case $cc_basename in
8622 +    nvcc*) # Cuda Compiler Driver 2.2
8623 +      lt_prog_compiler_wl='-Xlinker '
8624 +      if test -n "$lt_prog_compiler_pic"; then
8625 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8626 +      fi
8627 +      ;;
8628 +    esac
8629    else
8630      # PORTME Check for flag to pass linker flags through the system compiler.
8631      case $host_os in
# Line 8026 | Line 8667 | $as_echo_n "checking for $compiler optio
8667        lt_prog_compiler_static='-non_shared'
8668        ;;
8669  
8670 <    linux* | k*bsd*-gnu)
8670 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8671        case $cc_basename in
8672        # old Intel for x86_64 which still supported -KPIC.
8673        ecc*)
# Line 8047 | Line 8688 | $as_echo_n "checking for $compiler optio
8688          lt_prog_compiler_pic='--shared'
8689          lt_prog_compiler_static='--static'
8690          ;;
8691 <      pgcc* | pgf77* | pgf90* | pgf95*)
8691 >      nagfor*)
8692 >        # NAG Fortran compiler
8693 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8694 >        lt_prog_compiler_pic='-PIC'
8695 >        lt_prog_compiler_static='-Bstatic'
8696 >        ;;
8697 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8698          # Portland Group compilers (*not* the Pentium gcc compiler,
8699          # which looks to be a dead project)
8700          lt_prog_compiler_wl='-Wl,'
# Line 8059 | Line 8706 | $as_echo_n "checking for $compiler optio
8706          # All Alpha code is PIC.
8707          lt_prog_compiler_static='-non_shared'
8708          ;;
8709 <      xl*)
8710 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8709 >      xl* | bgxl* | bgf* | mpixl*)
8710 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8711          lt_prog_compiler_wl='-Wl,'
8712          lt_prog_compiler_pic='-qpic'
8713          lt_prog_compiler_static='-qstaticlink'
8714          ;;
8715        *)
8716          case `$CC -V 2>&1 | sed 5q` in
8717 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8718 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8719 +          lt_prog_compiler_pic='-KPIC'
8720 +          lt_prog_compiler_static='-Bstatic'
8721 +          lt_prog_compiler_wl=''
8722 +          ;;
8723 +        *Sun\ F* | *Sun*Fortran*)
8724 +          lt_prog_compiler_pic='-KPIC'
8725 +          lt_prog_compiler_static='-Bstatic'
8726 +          lt_prog_compiler_wl='-Qoption ld '
8727 +          ;;
8728          *Sun\ C*)
8729            # Sun C 5.9
8730            lt_prog_compiler_pic='-KPIC'
8731            lt_prog_compiler_static='-Bstatic'
8732            lt_prog_compiler_wl='-Wl,'
8733            ;;
8734 <        *Sun\ F*)
8735 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8736 <          lt_prog_compiler_pic='-KPIC'
8734 >        *Intel*\ [CF]*Compiler*)
8735 >          lt_prog_compiler_wl='-Wl,'
8736 >          lt_prog_compiler_pic='-fPIC'
8737 >          lt_prog_compiler_static='-static'
8738 >          ;;
8739 >        *Portland\ Group*)
8740 >          lt_prog_compiler_wl='-Wl,'
8741 >          lt_prog_compiler_pic='-fpic'
8742            lt_prog_compiler_static='-Bstatic'
8080          lt_prog_compiler_wl=''
8743            ;;
8744          esac
8745          ;;
# Line 8109 | Line 8771 | $as_echo_n "checking for $compiler optio
8771        lt_prog_compiler_pic='-KPIC'
8772        lt_prog_compiler_static='-Bstatic'
8773        case $cc_basename in
8774 <      f77* | f90* | f95*)
8774 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8775          lt_prog_compiler_wl='-Qoption ld ';;
8776        *)
8777          lt_prog_compiler_wl='-Wl,';;
# Line 8166 | Line 8828 | case $host_os in
8828      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8829      ;;
8830   esac
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8170 $as_echo "$lt_prog_compiler_pic" >&6; }
8171
8172
8173
8174
8831  
8832 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8833 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8834 + if ${lt_cv_prog_compiler_pic+:} false; then :
8835 +  $as_echo_n "(cached) " >&6
8836 + else
8837 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8838 + fi
8839 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8840 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8841 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8842  
8843   #
8844   # Check to make sure the PIC flag actually works.
# Line 8180 | Line 8846 | $as_echo "$lt_prog_compiler_pic" >&6; }
8846   if test -n "$lt_prog_compiler_pic"; then
8847    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8848   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8849 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8849 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8850    $as_echo_n "(cached) " >&6
8851   else
8852    lt_cv_prog_compiler_pic_works=no
# Line 8196 | Line 8862 | else
8862     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8863     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8864     -e 's:$: $lt_compiler_flag:'`
8865 <   (eval echo "\"\$as_me:8199: $lt_compile\"" >&5)
8865 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8866     (eval "$lt_compile" 2>conftest.err)
8867     ac_status=$?
8868     cat conftest.err >&5
8869 <   echo "$as_me:8203: \$? = $ac_status" >&5
8869 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870     if (exit $ac_status) && test -s "$ac_outfile"; then
8871       # The compiler can only warn and ignore the option if not recognized
8872       # So say no if there are warnings other than the usual output.
8873 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8873 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8874       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8875       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8876         lt_cv_prog_compiler_pic_works=yes
# Line 8233 | Line 8899 | fi
8899  
8900  
8901  
8902 +
8903 +
8904 +
8905 +
8906 +
8907   #
8908   # Check to make sure the static flag actually works.
8909   #
8910   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8912   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8913 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8913 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8914    $as_echo_n "(cached) " >&6
8915   else
8916    lt_cv_prog_compiler_static_works=no
# Line 8252 | Line 8923 | else
8923       if test -s conftest.err; then
8924         # Append any errors to the config.log.
8925         cat conftest.err 1>&5
8926 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8926 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8927         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8928         if diff conftest.exp conftest.er2 >/dev/null; then
8929           lt_cv_prog_compiler_static_works=yes
# Line 8282 | Line 8953 | fi
8953  
8954    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8955   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8956 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8956 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8957    $as_echo_n "(cached) " >&6
8958   else
8959    lt_cv_prog_compiler_c_o=no
# Line 8301 | Line 8972 | else
8972     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8973     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8974     -e 's:$: $lt_compiler_flag:'`
8975 <   (eval echo "\"\$as_me:8304: $lt_compile\"" >&5)
8975 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8976     (eval "$lt_compile" 2>out/conftest.err)
8977     ac_status=$?
8978     cat out/conftest.err >&5
8979 <   echo "$as_me:8308: \$? = $ac_status" >&5
8979 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8981     then
8982       # The compiler can only warn and ignore the option if not recognized
8983       # So say no if there are warnings
8984 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8984 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8985       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8986       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8987         lt_cv_prog_compiler_c_o=yes
# Line 8337 | Line 9008 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9008  
9009    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9011 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9012    $as_echo_n "(cached) " >&6
9013   else
9014    lt_cv_prog_compiler_c_o=no
# Line 8356 | Line 9027 | else
9027     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029     -e 's:$: $lt_compiler_flag:'`
9030 <   (eval echo "\"\$as_me:8359: $lt_compile\"" >&5)
9030 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031     (eval "$lt_compile" 2>out/conftest.err)
9032     ac_status=$?
9033     cat out/conftest.err >&5
9034 <   echo "$as_me:8363: \$? = $ac_status" >&5
9034 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036     then
9037       # The compiler can only warn and ignore the option if not recognized
9038       # So say no if there are warnings
9039 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9039 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042         lt_cv_prog_compiler_c_o=yes
# Line 8431 | Line 9102 | $as_echo_n "checking whether the $compil
9102    hardcode_direct=no
9103    hardcode_direct_absolute=no
9104    hardcode_libdir_flag_spec=
8434  hardcode_libdir_flag_spec_ld=
9105    hardcode_libdir_separator=
9106    hardcode_minus_L=no
9107    hardcode_shlibpath_var=unsupported
# Line 8478 | Line 9148 | $as_echo_n "checking whether the $compil
9148    esac
9149  
9150    ld_shlibs=yes
9151 +
9152 +  # On some targets, GNU ld is compatible enough with the native linker
9153 +  # that we're better off using the native interface for both.
9154 +  lt_use_gnu_ld_interface=no
9155    if test "$with_gnu_ld" = yes; then
9156 +    case $host_os in
9157 +      aix*)
9158 +        # The AIX port of GNU ld has always aspired to compatibility
9159 +        # with the native linker.  However, as the warning in the GNU ld
9160 +        # block says, versions before 2.19.5* couldn't really create working
9161 +        # shared libraries, regardless of the interface used.
9162 +        case `$LD -v 2>&1` in
9163 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9164 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9165 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9166 +          *)
9167 +            lt_use_gnu_ld_interface=yes
9168 +            ;;
9169 +        esac
9170 +        ;;
9171 +      *)
9172 +        lt_use_gnu_ld_interface=yes
9173 +        ;;
9174 +    esac
9175 +  fi
9176 +
9177 +  if test "$lt_use_gnu_ld_interface" = yes; then
9178      # If archive_cmds runs LD, not CC, wlarc should be empty
9179      wlarc='${wl}'
9180  
# Line 8496 | Line 9192 | $as_echo_n "checking whether the $compil
9192      fi
9193      supports_anon_versioning=no
9194      case `$LD -v 2>&1` in
9195 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9196        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9197        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9198        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8511 | Line 9208 | $as_echo_n "checking whether the $compil
9208          ld_shlibs=no
9209          cat <<_LT_EOF 1>&2
9210  
9211 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9211 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9212   *** to be unable to reliably create shared libraries on AIX.
9213   *** Therefore, libtool is disabling shared libraries support.  If you
9214 < *** really care for shared libraries, you may want to modify your PATH
9215 < *** so that a non-GNU linker is found, and then restart.
9214 > *** really care for shared libraries, you may want to install binutils
9215 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9216 > *** You will then need to restart the configuration process.
9217  
9218   _LT_EOF
9219        fi
# Line 8551 | Line 9249 | _LT_EOF
9249        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9250        # as there is no search path for DLLs.
9251        hardcode_libdir_flag_spec='-L$libdir'
9252 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9253        allow_undefined_flag=unsupported
9254        always_export_symbols=no
9255        enable_shared_with_static_runtimes=yes
9256 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9256 >      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'
9257 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9258  
9259        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9260          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8572 | Line 9272 | _LT_EOF
9272        fi
9273        ;;
9274  
9275 +    haiku*)
9276 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277 +      link_all_deplibs=yes
9278 +      ;;
9279 +
9280      interix[3-9]*)
9281        hardcode_direct=no
9282        hardcode_shlibpath_var=no
# Line 8587 | Line 9292 | _LT_EOF
9292        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'
9293        ;;
9294  
9295 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9295 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9296        tmp_diet=no
9297        if test "$host_os" = linux-dietlibc; then
9298          case $cc_basename in
# Line 8597 | Line 9302 | _LT_EOF
9302        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9303           && test "$tmp_diet" = no
9304        then
9305 <        tmp_addflag=
9305 >        tmp_addflag=' $pic_flag'
9306          tmp_sharedflag='-shared'
9307          case $cc_basename,$host_cpu in
9308          pgcc*)                          # Portland Group C compiler
9309 <          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'
9309 >          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'
9310            tmp_addflag=' $pic_flag'
9311            ;;
9312 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9313 <          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'
9312 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9313 >                                        # Portland Group f77 and f90 compilers
9314 >          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'
9315            tmp_addflag=' $pic_flag -Mnomain' ;;
9316          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9317            tmp_addflag=' -i_dynamic' ;;
# Line 8616 | Line 9322 | _LT_EOF
9322          lf95*)                          # Lahey Fortran 8.1
9323            whole_archive_flag_spec=
9324            tmp_sharedflag='--shared' ;;
9325 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9325 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9326            tmp_sharedflag='-qmkshrobj'
9327            tmp_addflag= ;;
9328 +        nvcc*)  # Cuda Compiler Driver 2.2
9329 +          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'
9330 +          compiler_needs_object=yes
9331 +          ;;
9332          esac
9333          case `$CC -V 2>&1 | sed 5q` in
9334          *Sun\ C*)                       # Sun C 5.9
9335 <          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'
9335 >          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'
9336            compiler_needs_object=yes
9337            tmp_sharedflag='-G' ;;
9338          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8638 | Line 9348 | _LT_EOF
9348          fi
9349  
9350          case $cc_basename in
9351 <        xlf*)
9351 >        xlf* | bgf* | bgxlf* | mpixlf*)
9352            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9353            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9354 <          hardcode_libdir_flag_spec=
9355 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8646 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9354 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9355 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9356            if test "x$supports_anon_versioning" = xyes; then
9357              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9358                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9359                echo "local: *; };" >> $output_objdir/$libname.ver~
9360 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9360 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9361            fi
9362            ;;
9363          esac
# Line 8662 | Line 9371 | _LT_EOF
9371          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9372          wlarc=
9373        else
9374 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9376        fi
9377        ;;
9378  
# Line 8681 | Line 9390 | _LT_EOF
9390  
9391   _LT_EOF
9392        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9393 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9393 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9395        else
9396          ld_shlibs=no
9397        fi
# Line 8728 | Line 9437 | _LT_EOF
9437  
9438      *)
9439        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9440 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9441 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9440 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9441 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9442        else
9443          ld_shlibs=no
9444        fi
# Line 8769 | Line 9478 | _LT_EOF
9478        else
9479          # If we're using GNU nm, then we don't want the "-C" option.
9480          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9481 +        # Also, AIX nm treats weak defined symbols like other global
9482 +        # defined symbols, whereas GNU nm marks them as "W".
9483          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9484 <          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'
9484 >          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9485          else
9486            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'
9487          fi
# Line 8832 | Line 9543 | _LT_EOF
9543          if test "$aix_use_runtimelinking" = yes; then
9544            shared_flag="$shared_flag "'${wl}-G'
9545          fi
8835        link_all_deplibs=no
9546        else
9547          # not using gcc
9548          if test "$host_cpu" = ia64; then
# Line 8858 | Line 9568 | _LT_EOF
9568          allow_undefined_flag='-berok'
9569          # Determine the default libpath from the value encoded in an
9570          # empty executable.
9571 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 >        if test "${lt_cv_aix_libpath+set}" = set; then
9572 >  aix_libpath=$lt_cv_aix_libpath
9573 > else
9574 >  if ${lt_cv_aix_libpath_+:} false; then :
9575 >  $as_echo_n "(cached) " >&6
9576 > else
9577 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578   /* end confdefs.h.  */
9579  
9580   int
# Line 8871 | Line 9587 | main ()
9587   _ACEOF
9588   if ac_fn_c_try_link "$LINENO"; then :
9589  
9590 < lt_aix_libpath_sed='
9591 <    /Import File Strings/,/^$/ {
9592 <        /^0/ {
9593 <            s/^0  *\(.*\)$/\1/
9594 <            p
9595 <        }
9596 <    }'
9597 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 < # Check for a 64-bit object if we didn't find anything.
9599 < if test -z "$aix_libpath"; then
9600 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601 < fi
9590 >  lt_aix_libpath_sed='
9591 >      /Import File Strings/,/^$/ {
9592 >          /^0/ {
9593 >              s/^0  *\([^ ]*\) *$/\1/
9594 >              p
9595 >          }
9596 >      }'
9597 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598 >  # Check for a 64-bit object if we didn't find anything.
9599 >  if test -z "$lt_cv_aix_libpath_"; then
9600 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601 >  fi
9602   fi
9603   rm -f core conftest.err conftest.$ac_objext \
9604      conftest$ac_exeext conftest.$ac_ext
9605 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9605 >  if test -z "$lt_cv_aix_libpath_"; then
9606 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9607 >  fi
9608 >
9609 > fi
9610 >
9611 >  aix_libpath=$lt_cv_aix_libpath_
9612 > fi
9613  
9614          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9615 <        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"
9615 >        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9616        else
9617          if test "$host_cpu" = ia64; then
9618            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8898 | Line 9621 | if test -z "$aix_libpath"; then aix_libp
9621          else
9622           # Determine the default libpath from the value encoded in an
9623           # empty executable.
9624 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 >         if test "${lt_cv_aix_libpath+set}" = set; then
9625 >  aix_libpath=$lt_cv_aix_libpath
9626 > else
9627 >  if ${lt_cv_aix_libpath_+:} false; then :
9628 >  $as_echo_n "(cached) " >&6
9629 > else
9630 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631   /* end confdefs.h.  */
9632  
9633   int
# Line 8911 | Line 9640 | main ()
9640   _ACEOF
9641   if ac_fn_c_try_link "$LINENO"; then :
9642  
9643 < lt_aix_libpath_sed='
9644 <    /Import File Strings/,/^$/ {
9645 <        /^0/ {
9646 <            s/^0  *\(.*\)$/\1/
9647 <            p
9648 <        }
9649 <    }'
9650 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 < # Check for a 64-bit object if we didn't find anything.
9652 < if test -z "$aix_libpath"; then
9653 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 < fi
9643 >  lt_aix_libpath_sed='
9644 >      /Import File Strings/,/^$/ {
9645 >          /^0/ {
9646 >              s/^0  *\([^ ]*\) *$/\1/
9647 >              p
9648 >          }
9649 >      }'
9650 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 >  # Check for a 64-bit object if we didn't find anything.
9652 >  if test -z "$lt_cv_aix_libpath_"; then
9653 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 >  fi
9655   fi
9656   rm -f core conftest.err conftest.$ac_objext \
9657      conftest$ac_exeext conftest.$ac_ext
9658 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9658 >  if test -z "$lt_cv_aix_libpath_"; then
9659 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9660 >  fi
9661 >
9662 > fi
9663 >
9664 >  aix_libpath=$lt_cv_aix_libpath_
9665 > fi
9666  
9667           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9668            # Warning - without using the other run time loading flags,
9669            # -berok will link without error, but may produce a broken library.
9670            no_undefined_flag=' ${wl}-bernotok'
9671            allow_undefined_flag=' ${wl}-berok'
9672 <          # Exported symbols can be pulled into shared objects from archives
9673 <          whole_archive_flag_spec='$convenience'
9672 >          if test "$with_gnu_ld" = yes; then
9673 >            # We only use this code for GNU lds that support --whole-archive.
9674 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9675 >          else
9676 >            # Exported symbols can be pulled into shared objects from archives
9677 >            whole_archive_flag_spec='$convenience'
9678 >          fi
9679            archive_cmds_need_lc=yes
9680            # This is similar to how AIX traditionally builds its shared libraries.
9681            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'
# Line 8966 | Line 9707 | if test -z "$aix_libpath"; then aix_libp
9707        # Microsoft Visual C++.
9708        # hardcode_libdir_flag_spec is actually meaningless, as there is
9709        # no search path for DLLs.
9710 <      hardcode_libdir_flag_spec=' '
9711 <      allow_undefined_flag=unsupported
9712 <      # Tell ltmain to make .lib files, not .a files.
9713 <      libext=lib
9714 <      # Tell ltmain to make .dll files, not .so files.
9715 <      shrext_cmds=".dll"
9716 <      # FIXME: Setting linknames here is a bad hack.
9717 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9718 <      # The linker will automatically build a .lib file if we build a DLL.
9719 <      old_archive_from_new_cmds='true'
9720 <      # FIXME: Should let the user specify the lib program.
9721 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9722 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9723 <      enable_shared_with_static_runtimes=yes
9710 >      case $cc_basename in
9711 >      cl*)
9712 >        # Native MSVC
9713 >        hardcode_libdir_flag_spec=' '
9714 >        allow_undefined_flag=unsupported
9715 >        always_export_symbols=yes
9716 >        file_list_spec='@'
9717 >        # Tell ltmain to make .lib files, not .a files.
9718 >        libext=lib
9719 >        # Tell ltmain to make .dll files, not .so files.
9720 >        shrext_cmds=".dll"
9721 >        # FIXME: Setting linknames here is a bad hack.
9722 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9723 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9724 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9725 >          else
9726 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9727 >          fi~
9728 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9729 >          linknames='
9730 >        # The linker will not automatically build a static lib if we build a DLL.
9731 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9732 >        enable_shared_with_static_runtimes=yes
9733 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9734 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9735 >        # Don't use ranlib
9736 >        old_postinstall_cmds='chmod 644 $oldlib'
9737 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9738 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9739 >          case $lt_outputfile in
9740 >            *.exe|*.EXE) ;;
9741 >            *)
9742 >              lt_outputfile="$lt_outputfile.exe"
9743 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9744 >              ;;
9745 >          esac~
9746 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9747 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9748 >            $RM "$lt_outputfile.manifest";
9749 >          fi'
9750 >        ;;
9751 >      *)
9752 >        # Assume MSVC wrapper
9753 >        hardcode_libdir_flag_spec=' '
9754 >        allow_undefined_flag=unsupported
9755 >        # Tell ltmain to make .lib files, not .a files.
9756 >        libext=lib
9757 >        # Tell ltmain to make .dll files, not .so files.
9758 >        shrext_cmds=".dll"
9759 >        # FIXME: Setting linknames here is a bad hack.
9760 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9761 >        # The linker will automatically build a .lib file if we build a DLL.
9762 >        old_archive_from_new_cmds='true'
9763 >        # FIXME: Should let the user specify the lib program.
9764 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9765 >        enable_shared_with_static_runtimes=yes
9766 >        ;;
9767 >      esac
9768        ;;
9769  
9770      darwin* | rhapsody*)
# Line 8989 | Line 9774 | if test -z "$aix_libpath"; then aix_libp
9774    hardcode_direct=no
9775    hardcode_automatic=yes
9776    hardcode_shlibpath_var=unsupported
9777 <  whole_archive_flag_spec=''
9777 >  if test "$lt_cv_ld_force_load" = "yes"; then
9778 >    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\"`'
9779 >
9780 >  else
9781 >    whole_archive_flag_spec=''
9782 >  fi
9783    link_all_deplibs=yes
9784    allow_undefined_flag="$_lt_dar_allow_undefined"
9785    case $cc_basename in
# Line 8997 | Line 9787 | if test -z "$aix_libpath"; then aix_libp
9787       *) _lt_dar_can_shared=$GCC ;;
9788    esac
9789    if test "$_lt_dar_can_shared" = "yes"; then
9790 <    output_verbose_link_cmd=echo
9790 >    output_verbose_link_cmd=func_echo_all
9791      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9792      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9793      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}"
# Line 9015 | Line 9805 | if test -z "$aix_libpath"; then aix_libp
9805        hardcode_shlibpath_var=no
9806        ;;
9807  
9018    freebsd1*)
9019      ld_shlibs=no
9020      ;;
9021
9808      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9809      # support.  Future versions do this automatically, but an explicit c++rt0.o
9810      # does not break anything, and helps significantly (at the cost of a little
# Line 9031 | Line 9817 | if test -z "$aix_libpath"; then aix_libp
9817        ;;
9818  
9819      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9820 <    freebsd2*)
9820 >    freebsd2.*)
9821        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9822        hardcode_direct=yes
9823        hardcode_minus_L=yes
# Line 9040 | Line 9826 | if test -z "$aix_libpath"; then aix_libp
9826  
9827      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9828      freebsd* | dragonfly*)
9829 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9829 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9830        hardcode_libdir_flag_spec='-R$libdir'
9831        hardcode_direct=yes
9832        hardcode_shlibpath_var=no
# Line 9048 | Line 9834 | if test -z "$aix_libpath"; then aix_libp
9834  
9835      hpux9*)
9836        if test "$GCC" = yes; then
9837 <        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'
9837 >        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9838        else
9839          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'
9840        fi
# Line 9063 | Line 9849 | if test -z "$aix_libpath"; then aix_libp
9849        ;;
9850  
9851      hpux10*)
9852 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9853 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9852 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9853 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9854        else
9855          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856        fi
9857        if test "$with_gnu_ld" = no; then
9858          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9073        hardcode_libdir_flag_spec_ld='+b $libdir'
9859          hardcode_libdir_separator=:
9860          hardcode_direct=yes
9861          hardcode_direct_absolute=yes
# Line 9082 | Line 9867 | if test -z "$aix_libpath"; then aix_libp
9867        ;;
9868  
9869      hpux11*)
9870 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9870 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9871          case $host_cpu in
9872          hppa*64*)
9873            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9874            ;;
9875          ia64*)
9876 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9876 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9877            ;;
9878          *)
9879 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9879 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9880            ;;
9881          esac
9882        else
# Line 9103 | Line 9888 | if test -z "$aix_libpath"; then aix_libp
9888            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9889            ;;
9890          *)
9891 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9891 >
9892 >          # Older versions of the 11.00 compiler do not understand -b yet
9893 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9894 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9895 > $as_echo_n "checking if $CC understands -b... " >&6; }
9896 > if ${lt_cv_prog_compiler__b+:} false; then :
9897 >  $as_echo_n "(cached) " >&6
9898 > else
9899 >  lt_cv_prog_compiler__b=no
9900 >   save_LDFLAGS="$LDFLAGS"
9901 >   LDFLAGS="$LDFLAGS -b"
9902 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9903 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9904 >     # The linker can only warn and ignore the option if not recognized
9905 >     # So say no if there are warnings
9906 >     if test -s conftest.err; then
9907 >       # Append any errors to the config.log.
9908 >       cat conftest.err 1>&5
9909 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9910 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9911 >       if diff conftest.exp conftest.er2 >/dev/null; then
9912 >         lt_cv_prog_compiler__b=yes
9913 >       fi
9914 >     else
9915 >       lt_cv_prog_compiler__b=yes
9916 >     fi
9917 >   fi
9918 >   $RM -r conftest*
9919 >   LDFLAGS="$save_LDFLAGS"
9920 >
9921 > fi
9922 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9923 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9924 >
9925 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9926 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9927 > else
9928 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9929 > fi
9930 >
9931            ;;
9932          esac
9933        fi
# Line 9131 | Line 9955 | if test -z "$aix_libpath"; then aix_libp
9955  
9956      irix5* | irix6* | nonstopux*)
9957        if test "$GCC" = yes; then
9958 <        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'
9958 >        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'
9959          # Try to use the -exported_symbol ld option, if it does not
9960          # work, assume that -exports_file does not work either and
9961          # implicitly export all symbols.
9962 <        save_LDFLAGS="$LDFLAGS"
9963 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9964 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 >        # This should be the same for all languages, so no per-tag cache variable.
9963 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9964 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9965 > if ${lt_cv_irix_exported_symbol+:} false; then :
9966 >  $as_echo_n "(cached) " >&6
9967 > else
9968 >  save_LDFLAGS="$LDFLAGS"
9969 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9970 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971   /* end confdefs.h.  */
9972 < int foo(void) {}
9972 > int foo (void) { return 0; }
9973   _ACEOF
9974   if ac_fn_c_try_link "$LINENO"; then :
9975 <  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'
9976 <
9975 >  lt_cv_irix_exported_symbol=yes
9976 > else
9977 >  lt_cv_irix_exported_symbol=no
9978   fi
9979   rm -f core conftest.err conftest.$ac_objext \
9980      conftest$ac_exeext conftest.$ac_ext
9981 <        LDFLAGS="$save_LDFLAGS"
9981 >           LDFLAGS="$save_LDFLAGS"
9982 > fi
9983 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9984 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9985 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9986 >          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'
9987 >        fi
9988        else
9989 <        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'
9990 <        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'
9989 >        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'
9990 >        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'
9991        fi
9992        archive_cmds_need_lc='no'
9993        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9212 | Line 10049 | rm -f core conftest.err conftest.$ac_obj
10049        hardcode_libdir_flag_spec='-L$libdir'
10050        hardcode_minus_L=yes
10051        allow_undefined_flag=unsupported
10052 <      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'
10052 >      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'
10053        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10054        ;;
10055  
10056      osf3*)
10057        if test "$GCC" = yes; then
10058          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10059 <        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'
10059 >        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'
10060        else
10061          allow_undefined_flag=' -expect_unresolved \*'
10062 <        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'
10062 >        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'
10063        fi
10064        archive_cmds_need_lc='no'
10065        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9232 | Line 10069 | rm -f core conftest.err conftest.$ac_obj
10069      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10070        if test "$GCC" = yes; then
10071          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10072 <        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'
10072 >        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'
10073          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10074        else
10075          allow_undefined_flag=' -expect_unresolved \*'
10076 <        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'
10076 >        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'
10077          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~
10078 <        $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'
10078 >        $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'
10079  
10080          # Both c and cxx compiler support -rpath directly
10081          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9251 | Line 10088 | rm -f core conftest.err conftest.$ac_obj
10088        no_undefined_flag=' -z defs'
10089        if test "$GCC" = yes; then
10090          wlarc='${wl}'
10091 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10092          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10093 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10093 >          $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'
10094        else
10095          case `$CC -V 2>&1` in
10096          *"Compilers 5.0"*)
# Line 9441 | Line 10278 | x|xyes)
10278        # to ld, don't add -lc before -lgcc.
10279        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10280   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10281 <      $RM conftest*
10282 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10281 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10282 >  $as_echo_n "(cached) " >&6
10283 > else
10284 >  $RM conftest*
10285 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10286  
10287 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10287 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10288    (eval $ac_compile) 2>&5
10289    ac_status=$?
10290    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10291    test $ac_status = 0; } 2>conftest.err; then
10292 <        soname=conftest
10293 <        lib=conftest
10294 <        libobjs=conftest.$ac_objext
10295 <        deplibs=
10296 <        wl=$lt_prog_compiler_wl
10297 <        pic_flag=$lt_prog_compiler_pic
10298 <        compiler_flags=-v
10299 <        linker_flags=-v
10300 <        verstring=
10301 <        output_objdir=.
10302 <        libname=conftest
10303 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10304 <        allow_undefined_flag=
10305 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10292 >          soname=conftest
10293 >          lib=conftest
10294 >          libobjs=conftest.$ac_objext
10295 >          deplibs=
10296 >          wl=$lt_prog_compiler_wl
10297 >          pic_flag=$lt_prog_compiler_pic
10298 >          compiler_flags=-v
10299 >          linker_flags=-v
10300 >          verstring=
10301 >          output_objdir=.
10302 >          libname=conftest
10303 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10304 >          allow_undefined_flag=
10305 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10306    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10307    ac_status=$?
10308    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10309    test $ac_status = 0; }
10310 <        then
10311 <          archive_cmds_need_lc=no
10312 <        else
10313 <          archive_cmds_need_lc=yes
10314 <        fi
10315 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10316 <      else
10317 <        cat conftest.err 1>&5
10318 <      fi
10319 <      $RM conftest*
10320 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10321 < $as_echo "$archive_cmds_need_lc" >&6; }
10310 >          then
10311 >            lt_cv_archive_cmds_need_lc=no
10312 >          else
10313 >            lt_cv_archive_cmds_need_lc=yes
10314 >          fi
10315 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10316 >        else
10317 >          cat conftest.err 1>&5
10318 >        fi
10319 >        $RM conftest*
10320 >
10321 > fi
10322 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10323 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10324 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10325        ;;
10326      esac
10327    fi
# Line 9636 | Line 10479 | esac
10479  
10480  
10481  
9639
9640
9641
9642
9643
10482    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10483   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10484  
# Line 9649 | Line 10487 | if test "$GCC" = yes; then
10487      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10488      *) lt_awk_arg="/^libraries:/" ;;
10489    esac
10490 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10491 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10490 >  case $host_os in
10491 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10492 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10493 >  esac
10494 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10495 >  case $lt_search_path_spec in
10496 >  *\;*)
10497      # if the path contains ";" then we assume it to be the separator
10498      # otherwise default to the standard path separator (i.e. ":") - it is
10499      # assumed that no part of a normal pathname contains ";" but that should
10500      # okay in the real world where ";" in dirpaths is itself problematic.
10501 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10502 <  else
10503 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10504 <  fi
10501 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10502 >    ;;
10503 >  *)
10504 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10505 >    ;;
10506 >  esac
10507    # Ok, now we have the path, separated by spaces, we can step through it
10508    # and add multilib dir if necessary.
10509    lt_tmp_lt_search_path_spec=
# Line 9671 | Line 10516 | if test "$GCC" = yes; then
10516          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10517      fi
10518    done
10519 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10519 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10520   BEGIN {RS=" "; FS="/|\n";} {
10521    lt_foo="";
10522    lt_count=0;
# Line 9691 | Line 10536 | BEGIN {RS=" "; FS="/|\n";} {
10536    if (lt_foo != "") { lt_freq[lt_foo]++; }
10537    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10538   }'`
10539 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10539 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10540 >  # for these hosts.
10541 >  case $host_os in
10542 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10543 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10544 >  esac
10545 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10546   else
10547    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10548   fi
# Line 9717 | Line 10568 | need_version=unknown
10568  
10569   case $host_os in
10570   aix3*)
10571 <  version_type=linux
10571 >  version_type=linux # correct to gnu/linux during the next big refactor
10572    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10573    shlibpath_var=LIBPATH
10574  
# Line 9726 | Line 10577 | aix3*)
10577    ;;
10578  
10579   aix[4-9]*)
10580 <  version_type=linux
10580 >  version_type=linux # correct to gnu/linux during the next big refactor
10581    need_lib_prefix=no
10582    need_version=no
10583    hardcode_into_libs=yes
# Line 9779 | Line 10630 | amigaos*)
10630    m68k)
10631      library_names_spec='$libname.ixlibrary $libname.a'
10632      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10633 <    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'
10633 >    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10634      ;;
10635    esac
10636    ;;
# Line 9791 | Line 10642 | beos*)
10642    ;;
10643  
10644   bsdi[45]*)
10645 <  version_type=linux
10645 >  version_type=linux # correct to gnu/linux during the next big refactor
10646    need_version=no
10647    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9810 | Line 10661 | cygwin* | mingw* | pw32* | cegcc*)
10661    need_version=no
10662    need_lib_prefix=no
10663  
10664 <  case $GCC,$host_os in
10665 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10664 >  case $GCC,$cc_basename in
10665 >  yes,*)
10666 >    # gcc
10667      library_names_spec='$libname.dll.a'
10668      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10669      postinstall_cmds='base_file=`basename \${file}`~
# Line 9832 | Line 10684 | cygwin* | mingw* | pw32* | cegcc*)
10684      cygwin*)
10685        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10686        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10687 >
10688 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10689        ;;
10690      mingw* | cegcc*)
10691        # MinGW DLLs use traditional 'lib' prefix
10692        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9840      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9841      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9842        # It is most probably a Windows format PATH printed by
9843        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9844        # path with ; separators, and with drive letters. We can handle the
9845        # drive letters (cygwin fileutils understands them), so leave them,
9846        # especially as we might pass files found there to a mingw objdump,
9847        # which wouldn't understand a cygwinified path. Ahh.
9848        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9849      else
9850        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9851      fi
10693        ;;
10694      pw32*)
10695        # pw32 DLLs use 'pw' prefix rather than 'lib'
10696        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697        ;;
10698      esac
10699 +    dynamic_linker='Win32 ld.exe'
10700 +    ;;
10701 +
10702 +  *,cl*)
10703 +    # Native MSVC
10704 +    libname_spec='$name'
10705 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10706 +    library_names_spec='${libname}.dll.lib'
10707 +
10708 +    case $build_os in
10709 +    mingw*)
10710 +      sys_lib_search_path_spec=
10711 +      lt_save_ifs=$IFS
10712 +      IFS=';'
10713 +      for lt_path in $LIB
10714 +      do
10715 +        IFS=$lt_save_ifs
10716 +        # Let DOS variable expansion print the short 8.3 style file name.
10717 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10718 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10719 +      done
10720 +      IFS=$lt_save_ifs
10721 +      # Convert to MSYS style.
10722 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10723 +      ;;
10724 +    cygwin*)
10725 +      # Convert to unix form, then to dos form, then back to unix form
10726 +      # but this time dos style (no spaces!) so that the unix form looks
10727 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10728 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10729 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10730 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10731 +      ;;
10732 +    *)
10733 +      sys_lib_search_path_spec="$LIB"
10734 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10735 +        # It is most probably a Windows format PATH.
10736 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10737 +      else
10738 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10739 +      fi
10740 +      # FIXME: find the short name or the path components, as spaces are
10741 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10742 +      ;;
10743 +    esac
10744 +
10745 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10746 +    postinstall_cmds='base_file=`basename \${file}`~
10747 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10748 +      dldir=$destdir/`dirname \$dlpath`~
10749 +      test -d \$dldir || mkdir -p \$dldir~
10750 +      $install_prog $dir/$dlname \$dldir/$dlname'
10751 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10752 +      dlpath=$dir/\$dldll~
10753 +       $RM \$dlpath'
10754 +    shlibpath_overrides_runpath=yes
10755 +    dynamic_linker='Win32 link.exe'
10756      ;;
10757  
10758    *)
10759 +    # Assume MSVC wrapper
10760      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10761 +    dynamic_linker='Win32 ld.exe'
10762      ;;
10763    esac
9864  dynamic_linker='Win32 ld.exe'
10764    # FIXME: first we should search . and the directory the executable is in
10765    shlibpath_var=PATH
10766    ;;
# Line 9882 | Line 10781 | darwin* | rhapsody*)
10781    ;;
10782  
10783   dgux*)
10784 <  version_type=linux
10784 >  version_type=linux # correct to gnu/linux during the next big refactor
10785    need_lib_prefix=no
10786    need_version=no
10787    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9890 | Line 10789 | dgux*)
10789    shlibpath_var=LD_LIBRARY_PATH
10790    ;;
10791  
9893 freebsd1*)
9894  dynamic_linker=no
9895  ;;
9896
10792   freebsd* | dragonfly*)
10793    # DragonFly does not have aout.  When/if they implement a new
10794    # versioning mechanism, adjust this.
# Line 9901 | Line 10796 | freebsd* | dragonfly*)
10796      objformat=`/usr/bin/objformat`
10797    else
10798      case $host_os in
10799 <    freebsd[123]*) objformat=aout ;;
10799 >    freebsd[23].*) objformat=aout ;;
10800      *) objformat=elf ;;
10801      esac
10802    fi
# Line 9919 | Line 10814 | freebsd* | dragonfly*)
10814    esac
10815    shlibpath_var=LD_LIBRARY_PATH
10816    case $host_os in
10817 <  freebsd2*)
10817 >  freebsd2.*)
10818      shlibpath_overrides_runpath=yes
10819      ;;
10820    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9939 | Line 10834 | freebsd* | dragonfly*)
10834    ;;
10835  
10836   gnu*)
10837 <  version_type=linux
10837 >  version_type=linux # correct to gnu/linux during the next big refactor
10838    need_lib_prefix=no
10839    need_version=no
10840    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10841    soname_spec='${libname}${release}${shared_ext}$major'
10842    shlibpath_var=LD_LIBRARY_PATH
10843 +  shlibpath_overrides_runpath=no
10844 +  hardcode_into_libs=yes
10845 +  ;;
10846 +
10847 + haiku*)
10848 +  version_type=linux # correct to gnu/linux during the next big refactor
10849 +  need_lib_prefix=no
10850 +  need_version=no
10851 +  dynamic_linker="$host_os runtime_loader"
10852 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10853 +  soname_spec='${libname}${release}${shared_ext}$major'
10854 +  shlibpath_var=LIBRARY_PATH
10855 +  shlibpath_overrides_runpath=yes
10856 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10857    hardcode_into_libs=yes
10858    ;;
10859  
# Line 9990 | Line 10899 | hpux9* | hpux10* | hpux11*)
10899      soname_spec='${libname}${release}${shared_ext}$major'
10900      ;;
10901    esac
10902 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10902 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10903    postinstall_cmds='chmod 555 $lib'
10904 +  # or fails outright, so override atomically:
10905 +  install_override_mode=555
10906    ;;
10907  
10908   interix[3-9]*)
10909 <  version_type=linux
10909 >  version_type=linux # correct to gnu/linux during the next big refactor
10910    need_lib_prefix=no
10911    need_version=no
10912    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10011 | Line 10922 | irix5* | irix6* | nonstopux*)
10922      nonstopux*) version_type=nonstopux ;;
10923      *)
10924          if test "$lt_cv_prog_gnu_ld" = yes; then
10925 <                version_type=linux
10925 >                version_type=linux # correct to gnu/linux during the next big refactor
10926          else
10927                  version_type=irix
10928          fi ;;
# Line 10048 | Line 10959 | linux*oldld* | linux*aout* | linux*coff*
10959    dynamic_linker=no
10960    ;;
10961  
10962 < # This must be Linux ELF.
10963 < linux* | k*bsd*-gnu)
10964 <  version_type=linux
10962 > # This must be glibc/ELF.
10963 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10964 >  version_type=linux # correct to gnu/linux during the next big refactor
10965    need_lib_prefix=no
10966    need_version=no
10967    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10058 | Line 10969 | linux* | k*bsd*-gnu)
10969    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10970    shlibpath_var=LD_LIBRARY_PATH
10971    shlibpath_overrides_runpath=no
10972 +
10973    # Some binutils ld are patched to set DT_RUNPATH
10974 <  save_LDFLAGS=$LDFLAGS
10975 <  save_libdir=$libdir
10976 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10977 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10978 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10975 >  $as_echo_n "(cached) " >&6
10976 > else
10977 >  lt_cv_shlibpath_overrides_runpath=no
10978 >    save_LDFLAGS=$LDFLAGS
10979 >    save_libdir=$libdir
10980 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10981 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10982 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983   /* end confdefs.h.  */
10984  
10985   int
# Line 10076 | Line 10992 | main ()
10992   _ACEOF
10993   if ac_fn_c_try_link "$LINENO"; then :
10994    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10995 <  shlibpath_overrides_runpath=yes
10995 >  lt_cv_shlibpath_overrides_runpath=yes
10996   fi
10997   fi
10998   rm -f core conftest.err conftest.$ac_objext \
10999      conftest$ac_exeext conftest.$ac_ext
11000 <  LDFLAGS=$save_LDFLAGS
11001 <  libdir=$save_libdir
11000 >    LDFLAGS=$save_LDFLAGS
11001 >    libdir=$save_libdir
11002 >
11003 > fi
11004 >
11005 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11006  
11007    # This implies no fast_install, which is unacceptable.
11008    # Some rework will be needed to allow for fast_install
11009    # before this can be enabled.
11010    hardcode_into_libs=yes
11011  
10092  # find out which ABI we are using
10093  libsuff=
10094  case "$host_cpu" in
10095  x86_64*|s390x*|powerpc64*)
10096    echo '#line 10096 "configure"' > conftest.$ac_ext
10097    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10098  (eval $ac_compile) 2>&5
10099  ac_status=$?
10100  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10101  test $ac_status = 0; }; then
10102      case `/usr/bin/file conftest.$ac_objext` in
10103      *64-bit*)
10104        libsuff=64
10105        ;;
10106      esac
10107    fi
10108    rm -rf conftest*
10109    ;;
10110  esac
10111
10112  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10113
11012    # Append ld.so.conf contents to the search path
11013    if test -f /etc/ld.so.conf; then
11014 <    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' ' '`
11015 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11014 >    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' ' '`
11015 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11016    fi
11017  
11018    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10145 | Line 11043 | netbsd*)
11043    ;;
11044  
11045   newsos6)
11046 <  version_type=linux
11046 >  version_type=linux # correct to gnu/linux during the next big refactor
11047    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048    shlibpath_var=LD_LIBRARY_PATH
11049    shlibpath_overrides_runpath=yes
# Line 10214 | Line 11112 | rdos*)
11112    ;;
11113  
11114   solaris*)
11115 <  version_type=linux
11115 >  version_type=linux # correct to gnu/linux during the next big refactor
11116    need_lib_prefix=no
11117    need_version=no
11118    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10239 | Line 11137 | sunos4*)
11137    ;;
11138  
11139   sysv4 | sysv4.3*)
11140 <  version_type=linux
11140 >  version_type=linux # correct to gnu/linux during the next big refactor
11141    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142    soname_spec='${libname}${release}${shared_ext}$major'
11143    shlibpath_var=LD_LIBRARY_PATH
# Line 10263 | Line 11161 | sysv4 | sysv4.3*)
11161  
11162   sysv4*MP*)
11163    if test -d /usr/nec ;then
11164 <    version_type=linux
11164 >    version_type=linux # correct to gnu/linux during the next big refactor
11165      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11166      soname_spec='$libname${shared_ext}.$major'
11167      shlibpath_var=LD_LIBRARY_PATH
# Line 10294 | Line 11192 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11192  
11193   tpf*)
11194    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11195 <  version_type=linux
11195 >  version_type=linux # correct to gnu/linux during the next big refactor
11196    need_lib_prefix=no
11197    need_version=no
11198    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10304 | Line 11202 | tpf*)
11202    ;;
11203  
11204   uts4*)
11205 <  version_type=linux
11205 >  version_type=linux # correct to gnu/linux during the next big refactor
11206    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207    soname_spec='${libname}${release}${shared_ext}$major'
11208    shlibpath_var=LD_LIBRARY_PATH
# Line 10416 | Line 11314 | fi
11314  
11315  
11316  
11317 +
11318 +
11319 +
11320 +
11321 +
11322    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11323   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11324   hardcode_action=
# Line 10488 | Line 11391 | else
11391    # if libdl is installed we need to link against it
11392      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11393   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11394 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11394 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11395    $as_echo_n "(cached) " >&6
11396   else
11397    ac_check_lib_save_LIBS=$LIBS
# Line 10522 | Line 11425 | LIBS=$ac_check_lib_save_LIBS
11425   fi
11426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11427   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11428 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11428 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11429    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11430   else
11431  
# Line 10536 | Line 11439 | fi
11439  
11440    *)
11441      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11442 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11442 > if test "x$ac_cv_func_shl_load" = xyes; then :
11443    lt_cv_dlopen="shl_load"
11444   else
11445    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11446   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11447 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11447 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11448    $as_echo_n "(cached) " >&6
11449   else
11450    ac_check_lib_save_LIBS=$LIBS
# Line 10575 | Line 11478 | LIBS=$ac_check_lib_save_LIBS
11478   fi
11479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11480   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11481 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11481 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11482    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11483   else
11484    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11485 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11485 > if test "x$ac_cv_func_dlopen" = xyes; then :
11486    lt_cv_dlopen="dlopen"
11487   else
11488    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11489   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11490 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11490 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11491    $as_echo_n "(cached) " >&6
11492   else
11493    ac_check_lib_save_LIBS=$LIBS
# Line 10618 | Line 11521 | LIBS=$ac_check_lib_save_LIBS
11521   fi
11522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11523   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11524 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11524 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11525    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11526   else
11527    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11528   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11529 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11529 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11530    $as_echo_n "(cached) " >&6
11531   else
11532    ac_check_lib_save_LIBS=$LIBS
# Line 10657 | Line 11560 | LIBS=$ac_check_lib_save_LIBS
11560   fi
11561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11562   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11563 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11563 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11564    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11565   else
11566    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11567   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11568 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11568 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11569    $as_echo_n "(cached) " >&6
11570   else
11571    ac_check_lib_save_LIBS=$LIBS
# Line 10696 | Line 11599 | LIBS=$ac_check_lib_save_LIBS
11599   fi
11600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11601   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11602 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11602 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11603    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11604   fi
11605  
# Line 10737 | Line 11640 | fi
11640  
11641      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11642   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11643 < if test "${lt_cv_dlopen_self+set}" = set; then :
11643 > if ${lt_cv_dlopen_self+:} false; then :
11644    $as_echo_n "(cached) " >&6
11645   else
11646            if test "$cross_compiling" = yes; then :
# Line 10746 | Line 11649 | else
11649    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11650    lt_status=$lt_dlunknown
11651    cat > conftest.$ac_ext <<_LT_EOF
11652 < #line 10749 "configure"
11652 > #line $LINENO "configure"
11653   #include "confdefs.h"
11654  
11655   #if HAVE_DLFCN_H
# Line 10787 | Line 11690 | else
11690   #  endif
11691   #endif
11692  
11693 < void fnord() { int i=42;}
11693 > /* When -fvisbility=hidden is used, assume the code has been annotated
11694 >   correspondingly for the symbols needed.  */
11695 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11696 > int fnord () __attribute__((visibility("default")));
11697 > #endif
11698 >
11699 > int fnord () { return 42; }
11700   int main ()
11701   {
11702    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10796 | Line 11705 | int main ()
11705    if (self)
11706      {
11707        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11708 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11708 >      else
11709 >        {
11710 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11711 >          else puts (dlerror ());
11712 >        }
11713        /* dlclose (self); */
11714      }
11715    else
# Line 10833 | Line 11746 | $as_echo "$lt_cv_dlopen_self" >&6; }
11746        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11747        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11748   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11749 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11749 > if ${lt_cv_dlopen_self_static+:} false; then :
11750    $as_echo_n "(cached) " >&6
11751   else
11752            if test "$cross_compiling" = yes; then :
# Line 10842 | Line 11755 | else
11755    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11756    lt_status=$lt_dlunknown
11757    cat > conftest.$ac_ext <<_LT_EOF
11758 < #line 10845 "configure"
11758 > #line $LINENO "configure"
11759   #include "confdefs.h"
11760  
11761   #if HAVE_DLFCN_H
# Line 10883 | Line 11796 | else
11796   #  endif
11797   #endif
11798  
11799 < void fnord() { int i=42;}
11799 > /* When -fvisbility=hidden is used, assume the code has been annotated
11800 >   correspondingly for the symbols needed.  */
11801 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11802 > int fnord () __attribute__((visibility("default")));
11803 > #endif
11804 >
11805 > int fnord () { return 42; }
11806   int main ()
11807   {
11808    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10892 | Line 11811 | int main ()
11811    if (self)
11812      {
11813        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11814 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11814 >      else
11815 >        {
11816 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11817 >          else puts (dlerror ());
11818 >        }
11819        /* dlclose (self); */
11820      }
11821    else
# Line 11061 | Line 11984 | CC="$lt_save_CC"
11984  
11985  
11986  
11987 +
11988 +
11989          ac_config_commands="$ac_config_commands libtool"
11990  
11991  
# Line 11071 | Line 11996 | CC="$lt_save_CC"
11996  
11997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11998   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11999 < if test "${libltdl_cv_shlibext+set}" = set; then :
11999 > if ${libltdl_cv_shlibext+:} false; then :
12000    $as_echo_n "(cached) " >&6
12001   else
12002  
12003   module=yes
12004   eval libltdl_cv_shlibext=$shrext_cmds
12005 + module=no
12006 + eval libltdl_cv_shrext=$shrext_cmds
12007  
12008   fi
12009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11088 | Line 12015 | cat >>confdefs.h <<_ACEOF
12015   _ACEOF
12016  
12017   fi
12018 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12019 +
12020 + cat >>confdefs.h <<_ACEOF
12021 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12022 + _ACEOF
12023 +
12024 + fi
12025  
12026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12027   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12028 < if test "${lt_cv_module_path_var+set}" = set; then :
12028 > if ${lt_cv_module_path_var+:} false; then :
12029    $as_echo_n "(cached) " >&6
12030   else
12031    lt_cv_module_path_var="$shlibpath_var"
# Line 11108 | Line 12042 | fi
12042  
12043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12044   $as_echo_n "checking for the default library search path... " >&6; }
12045 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12045 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12046    $as_echo_n "(cached) " >&6
12047   else
12048    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11145 | Line 12079 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12079   LIBADD_DLOPEN=
12080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12081   $as_echo_n "checking for library containing dlopen... " >&6; }
12082 < if test "${ac_cv_search_dlopen+set}" = set; then :
12082 > if ${ac_cv_search_dlopen+:} false; then :
12083    $as_echo_n "(cached) " >&6
12084   else
12085    ac_func_search_save_LIBS=$LIBS
# Line 11179 | Line 12113 | for ac_lib in '' dl; do
12113   fi
12114   rm -f core conftest.err conftest.$ac_objext \
12115      conftest$ac_exeext
12116 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12116 >  if ${ac_cv_search_dlopen+:} false; then :
12117    break
12118   fi
12119   done
12120 < if test "${ac_cv_search_dlopen+set}" = set; then :
12120 > if ${ac_cv_search_dlopen+:} false; then :
12121  
12122   else
12123    ac_cv_search_dlopen=no
# Line 11228 | Line 12162 | $as_echo "#define HAVE_LIBDL 1" >>confde
12162   else
12163    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12164   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12165 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12165 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12166    $as_echo_n "(cached) " >&6
12167   else
12168    ac_check_lib_save_LIBS=$LIBS
# Line 11262 | Line 12196 | LIBS=$ac_check_lib_save_LIBS
12196   fi
12197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12198   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12199 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12199 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12200  
12201   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12202  
# Line 11282 | Line 12216 | then
12216    for ac_func in dlerror
12217   do :
12218    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12219 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12219 > if test "x$ac_cv_func_dlerror" = xyes; then :
12220    cat >>confdefs.h <<_ACEOF
12221   #define HAVE_DLERROR 1
12222   _ACEOF
# Line 11296 | Line 12230 | fi
12230  
12231   LIBADD_SHL_LOAD=
12232   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12233 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12233 > if test "x$ac_cv_func_shl_load" = xyes; then :
12234  
12235   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12236  
# Line 11304 | Line 12238 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12238   else
12239    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12240   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12241 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12241 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12242    $as_echo_n "(cached) " >&6
12243   else
12244    ac_check_lib_save_LIBS=$LIBS
# Line 11338 | Line 12272 | LIBS=$ac_check_lib_save_LIBS
12272   fi
12273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12274   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12275 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12275 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12276  
12277   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12278  
# Line 11354 | Line 12288 | case $host_os in
12288   darwin[1567].*)
12289   # We only want this for pre-Mac OS X 10.4.
12290    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12291 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12291 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12292  
12293   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12294  
# Line 11368 | Line 12302 | beos*)
12302   cygwin* | mingw* | os2* | pw32*)
12303    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12304   "
12305 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12305 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12306    ac_have_decl=1
12307   else
12308    ac_have_decl=0
# Line 11384 | Line 12318 | esac
12318  
12319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12320   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12321 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12321 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12322    $as_echo_n "(cached) " >&6
12323   else
12324    ac_check_lib_save_LIBS=$LIBS
# Line 11418 | Line 12352 | LIBS=$ac_check_lib_save_LIBS
12352   fi
12353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12354   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12355 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12355 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12356  
12357   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12358  
# Line 11452 | Line 12386 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12386  
12387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12388   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12389 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12389 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12390    $as_echo_n "(cached) " >&6
12391   else
12392    lt_cv_sys_symbol_underscore=no
# Line 11502 | Line 12436 | if test x"$lt_cv_sys_symbol_underscore"
12436       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12437          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12438   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12439 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12439 > if ${libltdl_cv_need_uscore+:} false; then :
12440    $as_echo_n "(cached) " >&6
12441   else
12442    libltdl_cv_need_uscore=unknown
# Line 11514 | Line 12448 | else
12448    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12449    lt_status=$lt_dlunknown
12450    cat > conftest.$ac_ext <<_LT_EOF
12451 < #line 11517 "configure"
12451 > #line $LINENO "configure"
12452   #include "confdefs.h"
12453  
12454   #if HAVE_DLFCN_H
# Line 11555 | Line 12489 | else
12489   #  endif
12490   #endif
12491  
12492 < void fnord() { int i=42;}
12492 > /* When -fvisbility=hidden is used, assume the code has been annotated
12493 >   correspondingly for the symbols needed.  */
12494 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12495 > int fnord () __attribute__((visibility("default")));
12496 > #endif
12497 >
12498 > int fnord () { return 42; }
12499   int main ()
12500   {
12501    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11564 | Line 12504 | int main ()
12504    if (self)
12505      {
12506        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12507 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12507 >      else
12508 >        {
12509 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12510 >          else puts (dlerror ());
12511 >        }
12512        /* dlclose (self); */
12513      }
12514    else
# Line 11608 | Line 12552 | fi
12552  
12553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12554   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12555 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12555 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12556    $as_echo_n "(cached) " >&6
12557   else
12558    # PORTME does your system automatically load deplibs for dlopen?
# Line 11640 | Line 12584 | else
12584    freebsd* | dragonfly*)
12585      lt_cv_sys_dlopen_deplibs=yes
12586      ;;
12587 <  gnu* | linux* | k*bsd*-gnu)
12587 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12588      # GNU and its variants, using gnu ld.so (Glibc)
12589      lt_cv_sys_dlopen_deplibs=yes
12590      ;;
# Line 11714 | Line 12658 | for ac_header in argz.h
12658   do :
12659    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12660   "
12661 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12661 > if test "x$ac_cv_header_argz_h" = xyes; then :
12662    cat >>confdefs.h <<_ACEOF
12663   #define HAVE_ARGZ_H 1
12664   _ACEOF
# Line 11728 | Line 12672 | ac_fn_c_check_type "$LINENO" "error_t" "
12672   #  include <argz.h>
12673   #endif
12674   "
12675 < if test "x$ac_cv_type_error_t" = x""yes; then :
12675 > if test "x$ac_cv_type_error_t" = xyes; then :
12676  
12677   cat >>confdefs.h <<_ACEOF
12678   #define HAVE_ERROR_T 1
# Line 11751 | Line 12695 | for ac_func in argz_add argz_append argz
12695   do :
12696    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12697   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12698 < eval as_val=\$$as_ac_var
11755 <   if test "x$as_val" = x""yes; then :
12698 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12699    cat >>confdefs.h <<_ACEOF
12700   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12701   _ACEOF
# Line 11769 | Line 12712 | done
12712   if test -z "$ARGZ_H"; then :
12713    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12714   $as_echo_n "checking if argz actually works... " >&6; }
12715 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12715 > if ${lt_cv_sys_argz_works+:} false; then :
12716    $as_echo_n "(cached) " >&6
12717   else
12718    case $host_os in #(
# Line 11800 | Line 12743 | else
12743   fi
12744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12745   $as_echo "$lt_cv_sys_argz_works" >&6; }
12746 <     if test $lt_cv_sys_argz_works = yes; then :
12746 >     if test "$lt_cv_sys_argz_works" = yes; then :
12747  
12748   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12749  
# Line 11817 | Line 12760 | fi
12760  
12761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12762   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12763 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12763 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12764    $as_echo_n "(cached) " >&6
12765   else
12766    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11835 | Line 12778 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12778  
12779   fi
12780  
11838
11839
12781   # Set options
12782  
12783  
# Line 11849 | Line 12790 | fi
12790  
12791  
12792  
11852
12793   # Check whether --with-included_ltdl was given.
12794   if test "${with_included_ltdl+set}" = set; then :
12795    withval=$with_included_ltdl;
# Line 11862 | Line 12802 | if test "x$with_included_ltdl" != xyes;
12802    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12803  
12804   "
12805 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12805 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12806    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12807              #include <ltdl.h>
12808   "
12809 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12809 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12810    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12811   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12812 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12812 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12813    $as_echo_n "(cached) " >&6
12814   else
12815    ac_check_lib_save_LIBS=$LIBS
# Line 11903 | Line 12843 | LIBS=$ac_check_lib_save_LIBS
12843   fi
12844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12845   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12846 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12846 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12847    with_included_ltdl=no
12848   else
12849    with_included_ltdl=yes
# Line 11923 | Line 12863 | fi
12863  
12864  
12865  
11926
11927
11928
11929
11930
12866   # Check whether --with-ltdl_include was given.
12867   if test "${with_ltdl_include+set}" = set; then :
12868    withval=$with_ltdl_include;
# Line 11937 | Line 12872 | fi
12872   if test -n "$with_ltdl_include"; then
12873    if test -f "$with_ltdl_include/ltdl.h"; then :
12874    else
12875 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12875 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12876    fi
12877   else
12878    with_ltdl_include=no
# Line 11953 | Line 12888 | fi
12888   if test -n "$with_ltdl_lib"; then
12889    if test -f "$with_ltdl_lib/libltdl.la"; then :
12890    else
12891 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12891 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12892    fi
12893   else
12894    with_ltdl_lib=no
# Line 11962 | Line 12897 | fi
12897   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12898    ,yes,no,no,)
12899          case $enable_ltdl_convenience in
12900 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12900 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12901    "") enable_ltdl_convenience=yes
12902        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12903   esac
# Line 11990 | Line 12925 | $as_echo "#define HAVE_LTDL 1" >>confdef
12925          LTDLINCL=
12926          ;;
12927    ,no*,no,*)
12928 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12928 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12929          ;;
12930    *)    with_included_ltdl=no
12931          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12041 | Line 12976 | fi
12976  
12977  
12978  
12044    subdirs="$subdirs libltdl"
12045
12046
12979  
12980  
12981  
# Line 12060 | Line 12992 | do :
12992    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12993   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12994   "
12995 < eval as_val=\$$as_ac_Header
12064 <   if test "x$as_val" = x""yes; then :
12995 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12996    cat >>confdefs.h <<_ACEOF
12997   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12998   _ACEOF
# Line 12075 | Line 13006 | for ac_func in closedir opendir readdir
13006   do :
13007    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13008   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13009 < eval as_val=\$$as_ac_var
12079 <   if test "x$as_val" = x""yes; then :
13009 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13010    cat >>confdefs.h <<_ACEOF
13011   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13012   _ACEOF
# Line 12093 | Line 13023 | for ac_func in strlcat strlcpy
13023   do :
13024    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13025   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13026 < eval as_val=\$$as_ac_var
12097 <   if test "x$as_val" = x""yes; then :
13026 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13027    cat >>confdefs.h <<_ACEOF
13028   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13029   _ACEOF
# Line 12114 | Line 13043 | cat >>confdefs.h <<_ACEOF
13043   _ACEOF
13044  
13045  
13046 + name=
13047 + eval "lt_libprefix=\"$libname_spec\""
13048 +
13049 + cat >>confdefs.h <<_ACEOF
13050 + #define LT_LIBPREFIX "$lt_libprefix"
13051 + _ACEOF
13052 +
13053 +
13054   name=ltdl
13055 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13055 > eval "LTDLOPEN=\"$libname_spec\""
13056  
13057  
13058  
# Line 12131 | Line 13068 | LIBTOOL="$LIBTOOL --silent"
13068  
13069   # Checks for libraries.
13070  
13071 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13072 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13073 +
13074 + else
13075 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13076 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13077 + if ${ac_cv_search_getaddrinfo+:} false; then :
13078 +  $as_echo_n "(cached) " >&6
13079 + else
13080 +  ac_func_search_save_LIBS=$LIBS
13081 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 + /* end confdefs.h.  */
13083 +
13084 + /* Override any GCC internal prototype to avoid an error.
13085 +   Use char because int might match the return type of a GCC
13086 +   builtin and then its argument prototype would still apply.  */
13087 + #ifdef __cplusplus
13088 + extern "C"
13089 + #endif
13090 + char getaddrinfo ();
13091 + int
13092 + main ()
13093 + {
13094 + return getaddrinfo ();
13095 +  ;
13096 +  return 0;
13097 + }
13098 + _ACEOF
13099 + for ac_lib in '' nsl; do
13100 +  if test -z "$ac_lib"; then
13101 +    ac_res="none required"
13102 +  else
13103 +    ac_res=-l$ac_lib
13104 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13105 +  fi
13106 +  if ac_fn_c_try_link "$LINENO"; then :
13107 +  ac_cv_search_getaddrinfo=$ac_res
13108 + fi
13109 + rm -f core conftest.err conftest.$ac_objext \
13110 +    conftest$ac_exeext
13111 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13112 +  break
13113 + fi
13114 + done
13115 + if ${ac_cv_search_getaddrinfo+:} false; then :
13116 +
13117 + else
13118 +  ac_cv_search_getaddrinfo=no
13119 + fi
13120 + rm conftest.$ac_ext
13121 + LIBS=$ac_func_search_save_LIBS
13122 + fi
13123 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13124 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13125 + ac_res=$ac_cv_search_getaddrinfo
13126 + if test "$ac_res" != no; then :
13127 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13128 +
13129 + fi
13130 +
13131 + fi
13132 +
13133 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13134 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13135 +
13136 + else
13137 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13138 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13139 + if ${ac_cv_search_getnameinfo+:} false; then :
13140 +  $as_echo_n "(cached) " >&6
13141 + else
13142 +  ac_func_search_save_LIBS=$LIBS
13143 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 + /* end confdefs.h.  */
13145 +
13146 + /* Override any GCC internal prototype to avoid an error.
13147 +   Use char because int might match the return type of a GCC
13148 +   builtin and then its argument prototype would still apply.  */
13149 + #ifdef __cplusplus
13150 + extern "C"
13151 + #endif
13152 + char getnameinfo ();
13153 + int
13154 + main ()
13155 + {
13156 + return getnameinfo ();
13157 +  ;
13158 +  return 0;
13159 + }
13160 + _ACEOF
13161 + for ac_lib in '' nsl; do
13162 +  if test -z "$ac_lib"; then
13163 +    ac_res="none required"
13164 +  else
13165 +    ac_res=-l$ac_lib
13166 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13167 +  fi
13168 +  if ac_fn_c_try_link "$LINENO"; then :
13169 +  ac_cv_search_getnameinfo=$ac_res
13170 + fi
13171 + rm -f core conftest.err conftest.$ac_objext \
13172 +    conftest$ac_exeext
13173 +  if ${ac_cv_search_getnameinfo+:} false; then :
13174 +  break
13175 + fi
13176 + done
13177 + if ${ac_cv_search_getnameinfo+:} false; then :
13178 +
13179 + else
13180 +  ac_cv_search_getnameinfo=no
13181 + fi
13182 + rm conftest.$ac_ext
13183 + LIBS=$ac_func_search_save_LIBS
13184 + fi
13185 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13186 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13187 + ac_res=$ac_cv_search_getnameinfo
13188 + if test "$ac_res" != no; then :
13189 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13190 +
13191 + fi
13192 +
13193 + fi
13194 +
13195    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13196   $as_echo_n "checking for library containing socket... " >&6; }
13197 < if test "${ac_cv_search_socket+set}" = set; then :
13197 > if ${ac_cv_search_socket+:} false; then :
13198    $as_echo_n "(cached) " >&6
13199   else
13200    ac_func_search_save_LIBS=$LIBS
# Line 12167 | Line 13228 | for ac_lib in '' socket; do
13228   fi
13229   rm -f core conftest.err conftest.$ac_objext \
13230      conftest$ac_exeext
13231 <  if test "${ac_cv_search_socket+set}" = set; then :
13231 >  if ${ac_cv_search_socket+:} false; then :
13232    break
13233   fi
13234   done
13235 < if test "${ac_cv_search_socket+set}" = set; then :
13235 > if ${ac_cv_search_socket+:} false; then :
13236  
13237   else
13238    ac_cv_search_socket=no
# Line 12186 | Line 13247 | if test "$ac_res" != no; then :
13247    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13248  
13249   else
13250 <  as_fn_error "socket library not found" "$LINENO" 5
12190 < fi
12191 <
12192 <  for ac_func in inet_aton inet_ntop inet_pton
12193 < do :
12194 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12195 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12196 < eval as_val=\$$as_ac_var
12197 <   if test "x$as_val" = x""yes; then :
12198 <  cat >>confdefs.h <<_ACEOF
12199 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12200 < _ACEOF
12201 <
13250 >  as_fn_error $? "socket library not found" "$LINENO" 5
13251   fi
12203 done
13252  
13253    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13254     #include <sys/socket.h>
13255     #include <netdb.h>
13256  
13257   "
13258 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13258 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13259  
13260   cat >>confdefs.h <<_ACEOF
13261   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12220 | Line 13268 | ac_fn_c_check_type "$LINENO" "struct soc
13268     #include <netdb.h>
13269  
13270   "
13271 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13271 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13272  
13273   cat >>confdefs.h <<_ACEOF
13274   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12233 | Line 13281 | ac_fn_c_check_type "$LINENO" "struct add
13281     #include <netdb.h>
13282  
13283   "
13284 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13284 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13285  
13286   cat >>confdefs.h <<_ACEOF
13287   #define HAVE_STRUCT_ADDRINFO 1
# Line 12245 | Line 13293 | fi
13293    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13294    <sys/socket.h>
13295   "
13296 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13296 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13297  
13298   cat >>confdefs.h <<_ACEOF
13299   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12256 | Line 13304 | fi
13304  
13305  
13306  
13307 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13308 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13309 <
12262 < cat >>confdefs.h <<_ACEOF
12263 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12264 < _ACEOF
12265 <
12266 <
12267 < else
13307 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13308 > "
13309 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13310  
13311   $as_echo "#define IPV6 1" >>confdefs.h
13312  
# Line 12275 | Line 13317 | fi
13317   # Checks for typedefs, structures, and compiler characteristics.
13318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13319   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13320 < if test "${ac_cv_c_bigendian+set}" = set; then :
13320 > if ${ac_cv_c_bigendian+:} false; then :
13321    $as_echo_n "(cached) " >&6
13322   else
13323    ac_cv_c_bigendian=unknown
# Line 12493 | Line 13535 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13535  
13536       ;; #(
13537     *)
13538 <     as_fn_error "unknown endianness
13538 >     as_fn_error $? "unknown endianness
13539   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13540   esac
13541  
# Line 12506 | Line 13548 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13548   do :
13549    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13550   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13551 < eval as_val=\$$as_ac_var
12510 <   if test "x$as_val" = x""yes; then :
13551 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13552    cat >>confdefs.h <<_ACEOF
13553   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13554   _ACEOF
# Line 12536 | Line 13577 | do :
13577    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13578   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13579   "
13580 < eval as_val=\$$as_ac_Header
12540 <   if test "x$as_val" = x""yes; then :
13580 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13581    cat >>confdefs.h <<_ACEOF
13582   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13583   _ACEOF
# Line 12562 | Line 13602 | done
13602  
13603  
13604  
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12580 $as_echo_n "checking for /dev/null... " >&6; }
12581 if test -c /dev/null; then :
12582
12583
12584 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12585
12586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12587 $as_echo "yes" >&6; }
12588 else
12589
12590
12591 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12592
12593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12594 $as_echo "no - using devnull.log" >&6; }
12595 fi
12596
12597
13605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13606   $as_echo_n "checking for library containing crypt... " >&6; }
13607 < if test "${ac_cv_search_crypt+set}" = set; then :
13607 > if ${ac_cv_search_crypt+:} false; then :
13608    $as_echo_n "(cached) " >&6
13609   else
13610    ac_func_search_save_LIBS=$LIBS
# Line 12631 | Line 13638 | for ac_lib in '' crypt; do
13638   fi
13639   rm -f core conftest.err conftest.$ac_objext \
13640      conftest$ac_exeext
13641 <  if test "${ac_cv_search_crypt+set}" = set; then :
13641 >  if ${ac_cv_search_crypt+:} false; then :
13642    break
13643   fi
13644   done
13645 < if test "${ac_cv_search_crypt+set}" = set; then :
13645 > if ${ac_cv_search_crypt+:} false; then :
13646  
13647   else
13648    ac_cv_search_crypt=no
# Line 12652 | Line 13659 | if test "$ac_res" != no; then :
13659   fi
13660  
13661  
12655
12656
12657 # Check whether --with-zlib-path was given.
12658 if test "${with_zlib_path+set}" = set; then :
12659  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
12660 fi
12661
12662
12663 # Check whether --enable-zlib was given.
12664 if test "${enable_zlib+set}" = set; then :
12665  enableval=$enable_zlib; zlib=$enableval
12666 else
12667  zlib=yes
12668 fi
12669
12670
12671 if test "$zlib" = "yes"; then :
12672
12673  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12674 if test "x$ac_cv_header_zlib_h" = x""yes; then :
12675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12676 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12677 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
12678  $as_echo_n "(cached) " >&6
12679 else
12680  ac_check_lib_save_LIBS=$LIBS
12681 LIBS="-lz  $LIBS"
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h.  */
12684
12685 /* Override any GCC internal prototype to avoid an error.
12686   Use char because int might match the return type of a GCC
12687   builtin and then its argument prototype would still apply.  */
12688 #ifdef __cplusplus
12689 extern "C"
12690 #endif
12691 char zlibVersion ();
12692 int
12693 main ()
12694 {
12695 return zlibVersion ();
12696  ;
12697  return 0;
12698 }
12699 _ACEOF
12700 if ac_fn_c_try_link "$LINENO"; then :
12701  ac_cv_lib_z_zlibVersion=yes
12702 else
12703  ac_cv_lib_z_zlibVersion=no
12704 fi
12705 rm -f core conftest.err conftest.$ac_objext \
12706    conftest$ac_exeext conftest.$ac_ext
12707 LIBS=$ac_check_lib_save_LIBS
12708 fi
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12710 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12711 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12712
12713      LIBS="-lz $LIBS"
12714
12715 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12716
12717
12718 else
12719  zlib=no
12720 fi
12721
12722
12723 else
12724  zlib=no
12725 fi
12726
12727
12728
12729 fi
12730
12731
12732 # Check whether --with-libpcre-path was given.
12733 if test "${with_libpcre_path+set}" = set; then :
12734  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12735 fi
12736
12737
13662   # Check whether --enable-libpcre was given.
13663   if test "${enable_libpcre+set}" = set; then :
13664 <  enableval=$enable_libpcre; libpcre=$enableval
13664 >  enableval=$enable_libpcre;
13665   else
12742  libpcre=yes
12743 fi
12744
12745
12746 if test "$libpcre" = "yes"; then :
12747
13666    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13667 < if test "x$ac_cv_header_pcre_h" = x""yes; then :
13668 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13669 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13670 < if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
13667 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13668 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13669 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13670 > if ${ac_cv_search_pcre_study+:} false; then :
13671    $as_echo_n "(cached) " >&6
13672   else
13673 <  ac_check_lib_save_LIBS=$LIBS
12756 < LIBS="-lpcre  $LIBS"
13673 >  ac_func_search_save_LIBS=$LIBS
13674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675   /* end confdefs.h.  */
13676  
# Line 12772 | Line 13689 | return pcre_study ();
13689    return 0;
13690   }
13691   _ACEOF
13692 < if ac_fn_c_try_link "$LINENO"; then :
13693 <  ac_cv_lib_pcre_pcre_study=yes
13694 < else
13695 <  ac_cv_lib_pcre_pcre_study=no
13692 > for ac_lib in '' pcre; do
13693 >  if test -z "$ac_lib"; then
13694 >    ac_res="none required"
13695 >  else
13696 >    ac_res=-l$ac_lib
13697 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13698 >  fi
13699 >  if ac_fn_c_try_link "$LINENO"; then :
13700 >  ac_cv_search_pcre_study=$ac_res
13701   fi
13702   rm -f core conftest.err conftest.$ac_objext \
13703 <    conftest$ac_exeext conftest.$ac_ext
13704 < LIBS=$ac_check_lib_save_LIBS
13703 >    conftest$ac_exeext
13704 >  if ${ac_cv_search_pcre_study+:} false; then :
13705 >  break
13706   fi
13707 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13708 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12786 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12787 <
12788 <      LIBS="-lpcre $LIBS"
12789 <
12790 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12791 <
13707 > done
13708 > if ${ac_cv_search_pcre_study+:} false; then :
13709  
13710   else
13711 <  libpcre=no
13711 >  ac_cv_search_pcre_study=no
13712   fi
13713 + rm conftest.$ac_ext
13714 + LIBS=$ac_func_search_save_LIBS
13715 + fi
13716 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13717 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13718 + ac_res=$ac_cv_search_pcre_study
13719 + if test "$ac_res" != no; then :
13720 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13721  
13722 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13723  
12798 else
12799  libpcre=no
13724   fi
13725  
13726 + fi
13727  
13728  
13729   fi
12805 if test "$libpcre" = yes; then
12806  ENABLE_PCRE_TRUE=
12807  ENABLE_PCRE_FALSE='#'
12808 else
12809  ENABLE_PCRE_TRUE='#'
12810  ENABLE_PCRE_FALSE=
12811 fi
12812
13730  
13731  
13732   # Check whether --enable-openssl was given.
# Line 12851 | Line 13768 | if test "$cf_enable_openssl" != "no"; th
13768    fi
13769  
13770        if test ! -z "$cf_openssl_basedir"; then
12854    LIBS="-lcrypto -lssl $LIBS"
13771      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13772   $as_echo "$cf_openssl_basedir" >&6; }
13773      cf_enable_openssl="yes"
12858
12859 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12860
13774    else
13775      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13776   $as_echo "not found. Please check your path." >&6; }
# Line 12868 | Line 13781 | else
13781      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13782   $as_echo "disabled" >&6; }
13783   fi
12871 if test "$cf_enable_openssl" = yes; then
12872  ENABLE_SSL_TRUE=
12873  ENABLE_SSL_FALSE='#'
12874 else
12875  ENABLE_SSL_TRUE='#'
12876  ENABLE_SSL_FALSE=
12877 fi
13784  
13785 + if test "$cf_enable_openssl" != "no"; then :
13786 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13787 + $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13788 +  if test "$cross_compiling" = yes; then :
13789 +  cf_openssl_version_ok=no
13790 + else
13791 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 + /* end confdefs.h.  */
13793  
13794  
13795 < # Check whether --enable-assert was given.
13796 < if test "${enable_assert+set}" = set; then :
13797 <  enableval=$enable_assert; assert=$enableval
13795 >    #include <openssl/opensslv.h>
13796 >    #include <stdlib.h>
13797 > int
13798 > main ()
13799 > {
13800 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13801 >  ;
13802 >  return 0;
13803 > }
13804 > _ACEOF
13805 > if ac_fn_c_try_run "$LINENO"; then :
13806 >  cf_openssl_version_ok=yes
13807   else
13808 <  assert=no
13808 >  cf_openssl_version_ok=no
13809   fi
13810 <
13811 <
12889 < if test "$assert" = "no"; then :
12890 <
12891 < $as_echo "#define NDEBUG 1" >>confdefs.h
12892 <
13810 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13811 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13812   fi
13813  
13814  
13815 < # Check whether --enable-small-net was given.
13816 < if test "${enable_small_net+set}" = set; then :
13817 <  enableval=$enable_small_net; small_net=$enableval
13815 >  if test "$cf_openssl_version_ok" = "yes"; then :
13816 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13817 > $as_echo "found" >&6; }
13818 >
13819 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13820 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13821 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13822 >  $as_echo_n "(cached) " >&6
13823   else
13824 <  small_net=no
13825 < fi
13826 <
13827 <
12904 < if test "$small_net" = yes; then
12905 <
12906 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13824 >  ac_check_lib_save_LIBS=$LIBS
13825 > LIBS="-lcrypto  $LIBS"
13826 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 > /* end confdefs.h.  */
13828  
13829 + /* Override any GCC internal prototype to avoid an error.
13830 +   Use char because int might match the return type of a GCC
13831 +   builtin and then its argument prototype would still apply.  */
13832 + #ifdef __cplusplus
13833 + extern "C"
13834 + #endif
13835 + char RSA_free ();
13836 + int
13837 + main ()
13838 + {
13839 + return RSA_free ();
13840 +  ;
13841 +  return 0;
13842 + }
13843 + _ACEOF
13844 + if ac_fn_c_try_link "$LINENO"; then :
13845 +  ac_cv_lib_crypto_RSA_free=yes
13846 + else
13847 +  ac_cv_lib_crypto_RSA_free=no
13848 + fi
13849 + rm -f core conftest.err conftest.$ac_objext \
13850 +    conftest$ac_exeext conftest.$ac_ext
13851 + LIBS=$ac_check_lib_save_LIBS
13852 + fi
13853 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13854 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13855 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13856 +  cat >>confdefs.h <<_ACEOF
13857 + #define HAVE_LIBCRYPTO 1
13858 + _ACEOF
13859  
13860 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13860 >  LIBS="-lcrypto $LIBS"
13861  
13862 + fi
13863  
13864 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13864 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13865 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13866 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13867 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13868 >  $as_echo_n "(cached) " >&6
13869 > else
13870 >  ac_check_lib_save_LIBS=$LIBS
13871 > LIBS="-lssl  $LIBS"
13872 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 > /* end confdefs.h.  */
13874  
13875 + /* Override any GCC internal prototype to avoid an error.
13876 +   Use char because int might match the return type of a GCC
13877 +   builtin and then its argument prototype would still apply.  */
13878 + #ifdef __cplusplus
13879 + extern "C"
13880 + #endif
13881 + char SSL_connect ();
13882 + int
13883 + main ()
13884 + {
13885 + return SSL_connect ();
13886 +  ;
13887 +  return 0;
13888 + }
13889 + _ACEOF
13890 + if ac_fn_c_try_link "$LINENO"; then :
13891 +  ac_cv_lib_ssl_SSL_connect=yes
13892 + else
13893 +  ac_cv_lib_ssl_SSL_connect=no
13894 + fi
13895 + rm -f core conftest.err conftest.$ac_objext \
13896 +    conftest$ac_exeext conftest.$ac_ext
13897 + LIBS=$ac_check_lib_save_LIBS
13898 + fi
13899 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13900 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13901 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13902 +  cat >>confdefs.h <<_ACEOF
13903 + #define HAVE_LIBSSL 1
13904 + _ACEOF
13905  
13906 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13906 >  LIBS="-lssl $LIBS"
13907  
13908 + fi
13909  
13910 < $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13910 > fi
13911  
13912 + else
13913 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13914 + $as_echo "no - OpenSSL support disabled" >&6; }
13915 +    cf_enable_openssl="no"
13916 + fi
13917 + fi
13918  
13919 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13919 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13920 >  ENABLE_SSL_TRUE=
13921 >  ENABLE_SSL_FALSE='#'
13922 > else
13923 >  ENABLE_SSL_TRUE='#'
13924 >  ENABLE_SSL_FALSE=
13925 > fi
13926  
13927  
12924 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13928  
13929 + # Check whether --enable-assert was given.
13930 + if test "${enable_assert+set}" = set; then :
13931 +  enableval=$enable_assert; assert=$enableval
13932 + else
13933 +  assert=no
13934 + fi
13935  
12927 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13936  
13937 + if test "$assert" = "no"; then :
13938  
13939 < $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13939 > $as_echo "#define NDEBUG 1" >>confdefs.h
13940  
13941 + fi
13942  
12933 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13943  
12935 else
13944  
13945 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13945 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13946  
13947  
13948   $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
# Line 12952 | Line 13960 | $as_echo "#define LCLIENT_HEAP_SIZE 512"
13960   $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13961  
13962  
12955 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
12956
12957
13963   $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13964  
13965  
13966 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13966 > $as_echo "#define AUTH_HEAP_SIZE 256" >>confdefs.h
13967  
13968  
13969 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13969 > $as_echo "#define DNS_HEAP_SIZE 256" >>confdefs.h
13970  
12966 fi
13971  
13972  
13973   # Argument processing.
# Line 12984 | Line 13988 | if test "${enable_devpoll+set}" = set; t
13988    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13989   fi
13990  
12987  # Check whether --enable-rtsigio was given.
12988 if test "${enable_rtsigio+set}" = set; then :
12989  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
12990 fi
12991
13991    # Check whether --enable-poll was given.
13992   if test "${enable_poll+set}" = set; then :
13993    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13070 | Line 14069 | _ACEOF
14069    if test "$cross_compiling" = yes; then :
14070    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14071   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14072 < as_fn_error "cannot run test program while cross compiling
14073 < See \`config.log' for more details." "$LINENO" 5; }
14072 > as_fn_error $? "cannot run test program while cross compiling
14073 > See \`config.log' for more details" "$LINENO" 5; }
14074   else
14075    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076   /* end confdefs.h.  */
# Line 13104 | Line 14103 | else
14103   #endif
14104   _syscall1(int, epoll_create, int, size)
14105   #endif
13107 main() { return epoll_create(256) == -1 ? 1 : 0; }
14106  
14107 + int
14108 + main ()
14109 + {
14110 + return epoll_create(256) == -1 ? 1 : 0
14111 +  ;
14112 +  return 0;
14113 + }
14114   _ACEOF
14115   if ac_fn_c_try_run "$LINENO"; then :
14116    is_epoll_mechanism_available="yes"
# Line 13166 | Line 14171 | rm -f core conftest.err conftest.$ac_obj
14171   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14172  
14173    fi
14174 <      iopoll_mechanism_rtsigio=4
13170 <
13171 < cat >>confdefs.h <<_ACEOF
13172 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13173 < _ACEOF
13174 <
13175 <  if test "$cross_compiling" = yes; then :
13176 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13177 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13178 < as_fn_error "cannot run test program while cross compiling
13179 < See \`config.log' for more details." "$LINENO" 5; }
13180 < else
13181 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13182 < /* end confdefs.h.  */
13183 <
13184 < #include <fcntl.h>
13185 < #ifdef F_SETSIG
13186 < main () { return 0; } /* F_SETSIG defined */
13187 < #else
13188 < main () { return 1; } /* F_SETSIG not defined */
13189 < #endif
13190 <
13191 < int
13192 < main ()
13193 < {
13194 <
13195 <  ;
13196 <  return 0;
13197 < }
13198 < _ACEOF
13199 < if ac_fn_c_try_run "$LINENO"; then :
13200 <  is_rtsigio_mechanism_available="yes"
13201 < else
13202 <  is_rtsigio_mechanism_available="no"
13203 < fi
13204 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13205 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13206 < fi
13207 <
13208 <      iopoll_mechanism_poll=5
14174 >      iopoll_mechanism_poll=4
14175  
14176   cat >>confdefs.h <<_ACEOF
14177   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13259 | Line 14225 | else
14225   fi
14226   rm -f core conftest.err conftest.$ac_objext \
14227      conftest$ac_exeext conftest.$ac_ext
14228 <      iopoll_mechanism_select=6
14228 >      iopoll_mechanism_select=5
14229  
14230   cat >>confdefs.h <<_ACEOF
14231   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13314 | Line 14280 | fi
14280   rm -f core conftest.err conftest.$ac_objext \
14281      conftest$ac_exeext conftest.$ac_ext
14282        optimal_iopoll_mechanism="none"
14283 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14283 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14284      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14285      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14286        optimal_iopoll_mechanism="$mechanism"
# Line 13325 | Line 14291 | rm -f core conftest.err conftest.$ac_obj
14291      if test "$optimal_iopoll_mechanism" = "none" ; then
14292        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14293   $as_echo "none" >&6; }
14294 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14294 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14295      else
14296        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14297        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13340 | Line 14306 | $as_echo "$selected_iopoll_mechanism" >&
14306      else
14307        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14308   $as_echo "none" >&6; }
14309 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14309 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14310      fi
14311    fi
14312        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13351 | Line 14317 | _ACEOF
14317  
14318  
14319  
13354
13355 # Check whether --with-nicklen was given.
13356 if test "${with_nicklen+set}" = set; then :
13357  withval=$with_nicklen; nicklen="$withval"
13358 else
13359  nicklen="9"
13360 fi
13361
13362
13363 cat >>confdefs.h <<_ACEOF
13364 #define NICKLEN ($nicklen+1)
13365 _ACEOF
13366
13367
13368
13369
13370 # Check whether --with-topiclen was given.
13371 if test "${with_topiclen+set}" = set; then :
13372  withval=$with_topiclen; topiclen="$withval"
13373 else
13374  topiclen="160"
13375 fi
13376
13377
13378 cat >>confdefs.h <<_ACEOF
13379 #define TOPICLEN ($topiclen+1)
13380 _ACEOF
13381
13382
13383
13384
13385 # Check whether --with-syslog-facility was given.
13386 if test "${with_syslog_facility+set}" = set; then :
13387  withval=$with_syslog_facility; syslog_facility="$withval"
13388 else
13389  syslog_facility="LOG_LOCAL4"
13390 fi
13391
13392
13393 cat >>confdefs.h <<_ACEOF
13394 #define LOG_FACILITY $syslog_facility
13395 _ACEOF
13396
13397
13398
13399  # Check whether --enable-efnet was given.
13400 if test "${enable_efnet+set}" = set; then :
13401  enableval=$enable_efnet; efnet="$enableval"
13402 else
13403  efnet="no"
13404 fi
13405
13406  if test "$efnet" = "yes" ; then
13407                use_efnet="yes"
13408
13409 $as_echo "#define EFNET 1" >>confdefs.h
13410
13411
13412 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13413
13414        else
13415
13416 $as_echo "#define INVARIANTS 1" >>confdefs.h
13417
13418                use_efnet="no"
13419  fi
13420   if test "$use_efnet" = "yes"; then
13421  EFNET_TRUE=
13422  EFNET_FALSE='#'
13423 else
13424  EFNET_TRUE='#'
13425  EFNET_FALSE=
13426 fi
13427
13428
13429
14320    # Check whether --enable-halfops was given.
14321   if test "${enable_halfops+set}" = set; then :
14322    enableval=$enable_halfops; halfops="$enableval"
# Line 13449 | Line 14339 | else
14339   fi
14340  
14341    if test "$debugging" = "yes" ; then
14342 <
13453 < $as_echo "#define DEBUG 1" >>confdefs.h
13454 <
13455 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13456 <  else
13457 <
13458 < $as_echo "#define NDEBUG 1" >>confdefs.h
13459 <
14342 >    CFLAGS="-Wall -g -O0"
14343    fi
14344  
14345  
# Line 13468 | Line 14351 | else
14351   fi
14352  
14353    if test "$warnings" = "yes" ; then
14354 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef"
13472 <  fi
13473 <
13474 <
13475 <  for ac_header in syslog.h sys/syslog.h
13476 < do :
13477 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13478 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13479 < eval as_val=\$$as_ac_Header
13480 <   if test "x$as_val" = x""yes; then :
13481 <  cat >>confdefs.h <<_ACEOF
13482 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13483 < _ACEOF
13484 <
13485 < fi
13486 <
13487 < done
13488 <
13489 <  # Check whether --enable-syslog was given.
13490 < if test "${enable_syslog+set}" = set; then :
13491 <  enableval=$enable_syslog; syslog="$enableval"
13492 < else
13493 <  syslog="no"
13494 < fi
13495 <
13496 <  if test "$enableval" != "no" ; then
13497 <    for option in $enableval ; do
13498 <      case "$option" in
13499 <        users)
13500 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13501 < ;;
13502 <        oper)
13503 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13504 < ;;
13505 <        yes) : ;;
13506 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13507 <      esac
13508 <    done
13509 <
13510 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13511 <
14354 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14355    fi
14356  
14357  
# Line 13598 | Line 14441 | _ACEOF
14441    test "$exec_prefix_NONE" && exec_prefix=NONE
14442  
14443  
14444 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14444 > ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14445  
14446  
14447   cat >confcache <<\_ACEOF
# Line 13665 | Line 14508 | $as_echo "$as_me: WARNING: cache variabl
14508       :end' >>confcache
14509   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14510    if test -w "$cache_file"; then
14511 <    test "x$cache_file" != "x/dev/null" &&
14511 >    if test "x$cache_file" != "x/dev/null"; then
14512        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14513   $as_echo "$as_me: updating cache $cache_file" >&6;}
14514 <    cat confcache >$cache_file
14514 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14515 >        cat confcache >"$cache_file"
14516 >      else
14517 >        case $cache_file in #(
14518 >        */* | ?:*)
14519 >          mv -f confcache "$cache_file"$$ &&
14520 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14521 >        *)
14522 >          mv -f confcache "$cache_file" ;;
14523 >        esac
14524 >      fi
14525 >    fi
14526    else
14527      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14528   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13684 | Line 14538 | DEFS=-DHAVE_CONFIG_H
14538  
14539   ac_libobjs=
14540   ac_ltlibobjs=
14541 + U=
14542   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14543    # 1. Remove the extension, and $U if already installed.
14544    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13698 | Line 14553 | LIBOBJS=$ac_libobjs
14553   LTLIBOBJS=$ac_ltlibobjs
14554  
14555  
14556 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14557 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14558 +   if test -n "$am_sleep_pid"; then
14559 +     # Hide warnings about reused PIDs.
14560 +     wait $am_sleep_pid 2>/dev/null
14561 +   fi
14562 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14563 + $as_echo "done" >&6; }
14564   if test -n "$EXEEXT"; then
14565    am__EXEEXT_TRUE=
14566    am__EXEEXT_FALSE='#'
# Line 13707 | Line 14570 | else
14570   fi
14571  
14572   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14573 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14573 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14574   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14575   fi
14576   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14577 <  as_fn_error "conditional \"AMDEP\" was never defined.
14577 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14578   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14579   fi
14580   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14581 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14581 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14582   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14583   fi
14584   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14585 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14585 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14586   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14587   fi
14588   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14589 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14589 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14590   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14591   fi
14592   LT_CONFIG_H=config.h
# Line 13744 | Line 14607 | LT_CONFIG_H=config.h
14607  
14608  
14609  
13747 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13748  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13750 fi
14610   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14611 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13753 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13754 < fi
13755 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13756 <  as_fn_error "conditional \"EFNET\" was never defined.
14611 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14612   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14613   fi
14614  
14615 < : ${CONFIG_STATUS=./config.status}
14615 > : "${CONFIG_STATUS=./config.status}"
14616   ac_write_fail=0
14617   ac_clean_files_save=$ac_clean_files
14618   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13858 | Line 14713 | fi
14713   IFS=" ""        $as_nl"
14714  
14715   # Find who we are.  Look in the path if we contain no directory separator.
14716 + as_myself=
14717   case $0 in #((
14718    *[\\/]* ) as_myself=$0 ;;
14719    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 13903 | Line 14759 | export LANGUAGE
14759   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14760  
14761  
14762 < # as_fn_error ERROR [LINENO LOG_FD]
14763 < # ---------------------------------
14762 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14763 > # ----------------------------------------
14764   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14765   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14766 < # script with status $?, using 1 if that was 0.
14766 > # script with STATUS, using 1 if that was 0.
14767   as_fn_error ()
14768   {
14769 <  as_status=$?; test $as_status -eq 0 && as_status=1
14770 <  if test "$3"; then
14771 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14772 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14769 >  as_status=$1; test $as_status -eq 0 && as_status=1
14770 >  if test "$4"; then
14771 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14772 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14773    fi
14774 <  $as_echo "$as_me: error: $1" >&2
14774 >  $as_echo "$as_me: error: $2" >&2
14775    as_fn_exit $as_status
14776   } # as_fn_error
14777  
# Line 14053 | Line 14909 | if (echo >conf$$.file) 2>/dev/null; then
14909      # ... but there are two gotchas:
14910      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14911      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14912 <    # In both cases, we have to default to `cp -p'.
14912 >    # In both cases, we have to default to `cp -pR'.
14913      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14914 <      as_ln_s='cp -p'
14914 >      as_ln_s='cp -pR'
14915    elif ln conf$$.file conf$$ 2>/dev/null; then
14916      as_ln_s=ln
14917    else
14918 <    as_ln_s='cp -p'
14918 >    as_ln_s='cp -pR'
14919    fi
14920   else
14921 <  as_ln_s='cp -p'
14921 >  as_ln_s='cp -pR'
14922   fi
14923   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14924   rmdir conf$$.dir 2>/dev/null
# Line 14111 | Line 14967 | $as_echo X"$as_dir" |
14967        test -d "$as_dir" && break
14968      done
14969      test -z "$as_dirs" || eval "mkdir $as_dirs"
14970 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14970 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14971  
14972  
14973   } # as_fn_mkdir_p
# Line 14122 | Line 14978 | else
14978    as_mkdir_p=false
14979   fi
14980  
14981 < if test -x / >/dev/null 2>&1; then
14982 <  as_test_x='test -x'
14983 < else
14984 <  if ls -dL / >/dev/null 2>&1; then
14985 <    as_ls_L_option=L
14986 <  else
14987 <    as_ls_L_option=
14988 <  fi
14989 <  as_test_x='
14990 <    eval sh -c '\''
14135 <      if test -d "$1"; then
14136 <        test -d "$1/.";
14137 <      else
14138 <        case $1 in #(
14139 <        -*)set "./$1";;
14140 <        esac;
14141 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14142 <        ???[sx]*):;;*)false;;esac;fi
14143 <    '\'' sh
14144 <  '
14145 < fi
14146 < as_executable_p=$as_test_x
14981 >
14982 > # as_fn_executable_p FILE
14983 > # -----------------------
14984 > # Test if FILE is an executable regular file.
14985 > as_fn_executable_p ()
14986 > {
14987 >  test -f "$1" && test -x "$1"
14988 > } # as_fn_executable_p
14989 > as_test_x='test -x'
14990 > as_executable_p=as_fn_executable_p
14991  
14992   # Sed expression to map a string onto a valid CPP name.
14993   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14164 | Line 15008 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15008   # report actual input values of CONFIG_FILES etc. instead of their
15009   # values after options handling.
15010   ac_log="
15011 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
15012 < generated by GNU Autoconf 2.64.  Invocation command line was
15011 > This file was extended by ircd-hybrid $as_me 8.0.8, which was
15012 > generated by GNU Autoconf 2.69.  Invocation command line was
15013  
15014    CONFIG_FILES    = $CONFIG_FILES
15015    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14205 | Line 15049 | Usage: $0 [OPTION]... [TAG]...
15049  
15050    -h, --help       print this help, then exit
15051    -V, --version    print version number and configuration settings, then exit
15052 +      --config     print configuration, then exit
15053    -q, --quiet, --silent
15054                     do not print progress messages
15055    -d, --debug      don't remove temporary files
# Line 14223 | Line 15068 | $config_headers
15068   Configuration commands:
15069   $config_commands
15070  
15071 < Report bugs to the package provider."
15071 > Report bugs to <bugs@ircd-hybrid.org>."
15072  
15073   _ACEOF
15074   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15075 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15076   ac_cs_version="\\
15077 < ircd-hybrid config.status 7.2.4
15078 < configured by $0, generated by GNU Autoconf 2.64,
15079 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15077 > ircd-hybrid config.status 8.0.8
15078 > configured by $0, generated by GNU Autoconf 2.69,
15079 >  with options \\"\$ac_cs_config\\"
15080  
15081 < Copyright (C) 2009 Free Software Foundation, Inc.
15081 > Copyright (C) 2012 Free Software Foundation, Inc.
15082   This config.status script is free software; the Free Software Foundation
15083   gives unlimited permission to copy, distribute and modify it."
15084  
# Line 14250 | Line 15096 | ac_need_defaults=:
15096   while test $# != 0
15097   do
15098    case $1 in
15099 <  --*=*)
15099 >  --*=?*)
15100      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15101      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15102      ac_shift=:
15103      ;;
15104 +  --*=)
15105 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15106 +    ac_optarg=
15107 +    ac_shift=:
15108 +    ;;
15109    *)
15110      ac_option=$1
15111      ac_optarg=$2
# Line 14268 | Line 15119 | do
15119      ac_cs_recheck=: ;;
15120    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15121      $as_echo "$ac_cs_version"; exit ;;
15122 +  --config | --confi | --conf | --con | --co | --c )
15123 +    $as_echo "$ac_cs_config"; exit ;;
15124    --debug | --debu | --deb | --de | --d | -d )
15125      debug=: ;;
15126    --file | --fil | --fi | --f )
15127      $ac_shift
15128      case $ac_optarg in
15129      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15130 +    '') as_fn_error $? "missing file argument" ;;
15131      esac
15132      as_fn_append CONFIG_FILES " '$ac_optarg'"
15133      ac_need_defaults=false;;
# Line 14286 | Line 15140 | do
15140      ac_need_defaults=false;;
15141    --he | --h)
15142      # Conflict between --help and --header
15143 <    as_fn_error "ambiguous option: \`$1'
15143 >    as_fn_error $? "ambiguous option: \`$1'
15144   Try \`$0 --help' for more information.";;
15145    --help | --hel | -h )
15146      $as_echo "$ac_cs_usage"; exit ;;
# Line 14295 | Line 15149 | Try \`$0 --help' for more information.";
15149      ac_cs_silent=: ;;
15150  
15151    # This is an error.
15152 <  -*) as_fn_error "unrecognized option: \`$1'
15152 >  -*) as_fn_error $? "unrecognized option: \`$1'
15153   Try \`$0 --help' for more information." ;;
15154  
15155    *) as_fn_append ac_config_targets " $1"
# Line 14315 | Line 15169 | fi
15169   _ACEOF
15170   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15171   if \$ac_cs_recheck; then
15172 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15172 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15173    shift
15174    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15175    CONFIG_SHELL='$SHELL'
# Line 14349 | Line 15203 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15203   sed_quote_subst='$sed_quote_subst'
15204   double_quote_subst='$double_quote_subst'
15205   delay_variable_subst='$delay_variable_subst'
15206 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15207 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15208 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15209 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15210 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15211 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15212 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15213 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15214 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15215 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15216 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15217 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15218 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15219 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15220 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15221 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15222 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15223 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15224 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15225 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15226 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15227 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15228 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15229 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15230 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15231 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15232 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15233 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15234 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15235 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15236 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15237 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15238 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15239 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15240 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15241 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15242 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15243 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15244 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15245 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15246 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15247 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15248 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15249 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15250 < 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"`'
15251 < 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"`'
15252 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15253 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15254 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15255 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15256 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15257 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15258 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15259 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15260 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15261 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15262 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15263 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15264 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15265 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15266 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15267 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15268 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15269 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15270 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15271 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15272 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15273 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15274 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15275 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15276 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15277 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15278 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15279 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15280 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15281 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15282 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15283 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15284 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15285 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15286 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15287 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15288 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15289 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15290 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15291 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15292 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15293 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15294 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15295 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15296 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15297 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15298 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15299 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15300 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15301 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15302 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15303 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15304 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15305 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15306 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15307 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15308 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15309 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15310 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15311 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15312 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15313 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15314 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15315 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15316 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15317 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15318 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15319 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15320 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15321 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15322 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15323 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15206 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15207 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15208 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15209 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15210 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15211 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15212 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15213 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15214 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15215 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15216 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15217 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15218 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15219 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15220 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15221 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15222 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15223 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15224 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15225 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15226 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15227 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15228 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15229 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15230 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15231 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15232 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15233 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15234 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15235 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15236 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15237 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15238 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15239 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15240 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15241 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15242 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15243 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15244 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15245 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15246 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15247 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15248 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15249 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15250 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15251 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15252 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15253 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15254 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15255 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15256 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15257 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15258 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15259 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15260 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15261 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15262 > 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"`'
15263 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15264 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15265 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15266 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15267 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15268 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15269 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15270 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15271 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15272 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15273 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15274 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15275 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15276 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15277 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15278 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15279 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15280 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15281 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15282 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15283 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15284 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15285 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15286 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15287 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15288 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15289 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15290 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15291 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15292 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15293 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15294 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15295 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15296 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15297 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15298 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15299 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15300 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15301 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15302 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15303 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15304 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15305 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15306 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15307 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15308 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15309 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15310 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15311 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15312 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15313 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15314 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15315 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15316 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15317 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15318 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15319 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15320 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15321 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15322 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15323 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15324 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15325 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15326 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15327 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15328 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15329 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15330 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15331 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15332 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15333 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15334 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15335 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15336  
15337   LTCC='$LTCC'
15338   LTCFLAGS='$LTCFLAGS'
15339   compiler='$compiler_DEFAULT'
15340  
15341 + # A function that is used when there is no print builtin or printf.
15342 + func_fallback_echo ()
15343 + {
15344 +  eval 'cat <<_LTECHO_EOF
15345 + \$1
15346 + _LTECHO_EOF'
15347 + }
15348 +
15349   # Quote evaled strings.
15350 < for var in SED \
15350 > for var in SHELL \
15351 > ECHO \
15352 > PATH_SEPARATOR \
15353 > SED \
15354   GREP \
15355   EGREP \
15356   FGREP \
# Line 14486 | Line 15363 | reload_flag \
15363   OBJDUMP \
15364   deplibs_check_method \
15365   file_magic_cmd \
15366 + file_magic_glob \
15367 + want_nocaseglob \
15368 + DLLTOOL \
15369 + sharedlib_from_linklib_cmd \
15370   AR \
15371   AR_FLAGS \
15372 + archiver_list_spec \
15373   STRIP \
15374   RANLIB \
15375   CC \
# Line 14497 | Line 15379 | lt_cv_sys_global_symbol_pipe \
15379   lt_cv_sys_global_symbol_to_cdecl \
15380   lt_cv_sys_global_symbol_to_c_name_address \
15381   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15382 < SHELL \
14501 < ECHO \
15382 > nm_file_list_spec \
15383   lt_prog_compiler_no_builtin_flag \
14503 lt_prog_compiler_wl \
15384   lt_prog_compiler_pic \
15385 + lt_prog_compiler_wl \
15386   lt_prog_compiler_static \
15387   lt_cv_prog_compiler_c_o \
15388   need_locks \
15389 + MANIFEST_TOOL \
15390   DSYMUTIL \
15391   NMEDIT \
15392   LIPO \
# Line 14518 | Line 15400 | with_gnu_ld \
15400   allow_undefined_flag \
15401   no_undefined_flag \
15402   hardcode_libdir_flag_spec \
14521 hardcode_libdir_flag_spec_ld \
15403   hardcode_libdir_separator \
14523 fix_srcfile_path \
15404   exclude_expsyms \
15405   include_expsyms \
15406   file_list_spec \
# Line 14528 | Line 15408 | variables_saved_for_relink \
15408   libname_spec \
15409   library_names_spec \
15410   soname_spec \
15411 + install_override_mode \
15412   finish_eval \
15413   old_striplib \
15414   striplib; do
15415 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15415 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15416      *[\\\\\\\`\\"\\\$]*)
15417 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15417 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15418        ;;
15419      *)
15420        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14555 | Line 15436 | module_cmds \
15436   module_expsym_cmds \
15437   export_symbols_cmds \
15438   prelink_cmds \
15439 + postlink_cmds \
15440   postinstall_cmds \
15441   postuninstall_cmds \
15442   finish_cmds \
15443   sys_lib_search_path_spec \
15444   sys_lib_dlsearch_path_spec; do
15445 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15445 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15446      *[\\\\\\\`\\"\\\$]*)
15447 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15447 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15448        ;;
15449      *)
15450        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14570 | Line 15452 | sys_lib_dlsearch_path_spec; do
15452      esac
15453   done
15454  
14573 # Fix-up fallback echo if it was mangled by the above quoting rules.
14574 case \$lt_ECHO in
14575 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14576  ;;
14577 esac
14578
15455   ac_aux_dir='$ac_aux_dir'
15456   xsi_shell='$xsi_shell'
15457   lt_shell_append='$lt_shell_append'
# Line 14608 | Line 15484 | do
15484      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15485      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15486      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14611    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14612    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14613    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14614    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14615    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15487      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15488      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15489      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15490 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15491      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15492      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15493      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14625 | Line 15497 | do
15497      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15498      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15499  
15500 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15500 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15501    esac
15502   done
15503  
# Line 14648 | Line 15520 | fi
15520   # after its creation but before its name has been assigned to `$tmp'.
15521   $debug ||
15522   {
15523 <  tmp=
15523 >  tmp= ac_tmp=
15524    trap 'exit_status=$?
15525 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15525 >  : "${ac_tmp:=$tmp}"
15526 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15527   ' 0
15528    trap 'as_fn_exit 1' 1 2 13 15
15529   }
# Line 14658 | Line 15531 | $debug ||
15531  
15532   {
15533    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15534 <  test -n "$tmp" && test -d "$tmp"
15534 >  test -d "$tmp"
15535   }  ||
15536   {
15537    tmp=./conf$$-$RANDOM
15538    (umask 077 && mkdir "$tmp")
15539 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15539 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15540 > ac_tmp=$tmp
15541  
15542   # Set up the scripts for CONFIG_FILES section.
15543   # No need to generate them if there are no CONFIG_FILES.
# Line 14680 | Line 15554 | if test "x$ac_cr" = x; then
15554   fi
15555   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15556   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15557 <  ac_cs_awk_cr='\r'
15557 >  ac_cs_awk_cr='\\r'
15558   else
15559    ac_cs_awk_cr=$ac_cr
15560   fi
15561  
15562 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15562 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15563   _ACEOF
15564  
15565  
# Line 14694 | Line 15568 | _ACEOF
15568    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15569    echo "_ACEOF"
15570   } >conf$$subs.sh ||
15571 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15572 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15571 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15572 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15573   ac_delim='%!_!# '
15574   for ac_last_try in false false false false false :; do
15575    . ./conf$$subs.sh ||
15576 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15576 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15577  
15578    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15579    if test $ac_delim_n = $ac_delim_num; then
15580      break
15581    elif $ac_last_try; then
15582 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15582 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15583    else
15584      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15585    fi
# Line 14713 | Line 15587 | done
15587   rm -f conf$$subs.sh
15588  
15589   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15590 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15590 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15591   _ACEOF
15592   sed -n '
15593   h
# Line 14727 | Line 15601 | s/'"$ac_delim"'$//
15601   t delim
15602   :nl
15603   h
15604 < s/\(.\{148\}\).*/\1/
15604 > s/\(.\{148\}\)..*/\1/
15605   t more1
15606   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15607   p
# Line 14741 | Line 15615 | s/.\{148\}//
15615   t nl
15616   :delim
15617   h
15618 < s/\(.\{148\}\).*/\1/
15618 > s/\(.\{148\}\)..*/\1/
15619   t more2
15620   s/["\\]/\\&/g; s/^/"/; s/$/"/
15621   p
# Line 14761 | Line 15635 | t delim
15635   rm -f conf$$subs.awk
15636   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15637   _ACAWK
15638 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15638 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15639    for (key in S) S_is_set[key] = 1
15640    FS = ""
15641  
# Line 14793 | Line 15667 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15667    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15668   else
15669    cat
15670 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15671 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15670 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15671 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15672   _ACEOF
15673  
15674 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15675 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15674 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15675 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15676   # trailing colons and then remove the whole line if VPATH becomes empty
15677   # (actually we leave an empty line to preserve line numbers).
15678   if test "x$srcdir" = x.; then
15679 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15680 < s/:*\$(srcdir):*/:/
15681 < s/:*\${srcdir}:*/:/
15682 < s/:*@srcdir@:*/:/
15683 < s/^\([^=]*=[     ]*\):*/\1/
15679 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15680 > h
15681 > s///
15682 > s/^/:/
15683 > s/[      ]*$/:/
15684 > s/:\$(srcdir):/:/g
15685 > s/:\${srcdir}:/:/g
15686 > s/:@srcdir@:/:/g
15687 > s/^:*//
15688   s/:*$//
15689 + x
15690 + s/\(=[   ]*\).*/\1/
15691 + G
15692 + s/\n//
15693   s/^[^=]*=[       ]*$//
15694   }'
15695   fi
# Line 14819 | Line 15701 | fi # test -n "$CONFIG_FILES"
15701   # No need to generate them if there are no CONFIG_HEADERS.
15702   # This happens for instance with `./config.status Makefile'.
15703   if test -n "$CONFIG_HEADERS"; then
15704 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15704 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15705   BEGIN {
15706   _ACEOF
15707  
# Line 14831 | Line 15713 | _ACEOF
15713   # handling of long lines.
15714   ac_delim='%!_!# '
15715   for ac_last_try in false false :; do
15716 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15717 <  if test -z "$ac_t"; then
15716 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15717 >  if test -z "$ac_tt"; then
15718      break
15719    elif $ac_last_try; then
15720 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15720 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15721    else
15722      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15723    fi
# Line 14920 | Line 15802 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15802   _ACAWK
15803   _ACEOF
15804   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15805 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15805 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15806   fi # test -n "$CONFIG_HEADERS"
15807  
15808  
# Line 14933 | Line 15815 | do
15815    esac
15816    case $ac_mode$ac_tag in
15817    :[FHL]*:*);;
15818 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15818 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15819    :[FH]-) ac_tag=-:-;;
15820    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15821    esac
# Line 14952 | Line 15834 | do
15834      for ac_f
15835      do
15836        case $ac_f in
15837 <      -) ac_f="$tmp/stdin";;
15837 >      -) ac_f="$ac_tmp/stdin";;
15838        *) # Look for the file first in the build tree, then in the source tree
15839           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15840           # because $ac_f cannot contain `:'.
# Line 14961 | Line 15843 | do
15843             [\\/$]*) false;;
15844             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15845             esac ||
15846 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15846 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15847        esac
15848        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15849        as_fn_append ac_file_inputs " '$ac_f'"
# Line 14987 | Line 15869 | $as_echo "$as_me: creating $ac_file" >&6
15869      esac
15870  
15871      case $ac_tag in
15872 <    *:-:* | *:-) cat >"$tmp/stdin" \
15873 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15872 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15873 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15874      esac
15875      ;;
15876    esac
# Line 15124 | Line 16006 | s&@INSTALL@&$ac_INSTALL&;t t
16006   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16007   $ac_datarootdir_hack
16008   "
16009 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16010 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16009 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16010 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16011  
16012   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16013 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16014 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16013 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16014 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16015 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16016    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16017 < which seems to be undefined.  Please make sure it is defined." >&5
16017 > which seems to be undefined.  Please make sure it is defined" >&5
16018   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16019 < which seems to be undefined.  Please make sure it is defined." >&2;}
16019 > which seems to be undefined.  Please make sure it is defined" >&2;}
16020  
16021 <  rm -f "$tmp/stdin"
16021 >  rm -f "$ac_tmp/stdin"
16022    case $ac_file in
16023 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16024 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16023 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16024 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16025    esac \
16026 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16026 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16027   ;;
16028    :H)
16029    #
# Line 15149 | Line 16032 | which seems to be undefined.  Please mak
16032    if test x"$ac_file" != x-; then
16033      {
16034        $as_echo "/* $configure_input  */" \
16035 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16036 <    } >"$tmp/config.h" \
16037 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16038 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16035 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16036 >    } >"$ac_tmp/config.h" \
16037 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16038 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16039        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16040   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16041      else
16042        rm -f "$ac_file"
16043 <      mv "$tmp/config.h" "$ac_file" \
16044 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16043 >      mv "$ac_tmp/config.h" "$ac_file" \
16044 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16045      fi
16046    else
16047      $as_echo "/* $configure_input  */" \
16048 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16049 <      || as_fn_error "could not create -" "$LINENO" 5
16048 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16049 >      || as_fn_error $? "could not create -" "$LINENO" 5
16050    fi
16051   # Compute "$ac_file"'s index in $config_headers.
16052   _am_arg="$ac_file"
# Line 15209 | Line 16092 | $as_echo "$as_me: executing $ac_file com
16092  
16093    case $ac_file$ac_mode in
16094      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16095 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16095 >  # Older Autoconf quotes --file arguments for eval, but not when files
16096    # are listed without --file.  Let's play safe and only enable the eval
16097    # if we detect the quoting.
16098    case $CONFIG_FILES in
# Line 15222 | Line 16105 | $as_echo "$as_me: executing $ac_file com
16105      # Strip MF so we end up with the name of the file.
16106      mf=`echo "$mf" | sed -e 's/:.*$//'`
16107      # Check whether this is an Automake generated Makefile or not.
16108 <    # We used to match only the files named `Makefile.in', but
16108 >    # We used to match only the files named 'Makefile.in', but
16109      # some people rename them; so instead we look at the file content.
16110      # Grep'ing the first line is not enough: some people post-process
16111      # each Makefile.in and add a new line on top of each file to say so.
# Line 15256 | Line 16139 | $as_echo X"$mf" |
16139        continue
16140      fi
16141      # Extract the definition of DEPDIR, am__include, and am__quote
16142 <    # from the Makefile without running `make'.
16142 >    # from the Makefile without running 'make'.
16143      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16144      test -z "$DEPDIR" && continue
16145      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16146      test -z "am__include" && continue
16147      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15265    # When using ansi2knr, U may be empty or an underscore; expand it
15266    U=`sed -n 's/^U = //p' < "$mf"`
16148      # Find all dependency output files, they are included files with
16149      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16150      # simplest approach to changing $(DEPDIR) to its actual value in the
16151      # expansion.
16152      for file in `sed -n "
16153        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16154 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16154 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16155        # Make sure the directory exists.
16156        test -f "$dirpart/$file" && continue
16157        fdir=`$as_dirname -- "$file" ||
# Line 15324 | Line 16205 | $as_echo X"$file" |
16205   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16206   #
16207   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16208 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16208 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16209 > #                 Foundation, Inc.
16210   #   Written by Gordon Matzigkeit, 1996
16211   #
16212   #   This file is part of GNU Libtool.
# Line 15372 | Line 16254 | pic_mode=$pic_mode
16254   # Whether or not to optimize for fast installation.
16255   fast_install=$enable_fast_install
16256  
16257 + # Shell to use when invoking shell scripts.
16258 + SHELL=$lt_SHELL
16259 +
16260 + # An echo program that protects backslashes.
16261 + ECHO=$lt_ECHO
16262 +
16263 + # The PATH separator for the build system.
16264 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16265 +
16266   # The host system.
16267   host_alias=$host_alias
16268   host=$host
# Line 15421 | Line 16312 | SP2NL=$lt_lt_SP2NL
16312   # turn newlines into spaces.
16313   NL2SP=$lt_lt_NL2SP
16314  
16315 < # How to create reloadable object files.
16316 < reload_flag=$lt_reload_flag
16317 < reload_cmds=$lt_reload_cmds
16315 > # convert \$build file names to \$host format.
16316 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16317 >
16318 > # convert \$build files to toolchain format.
16319 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16320  
16321   # An object symbol dumper.
16322   OBJDUMP=$lt_OBJDUMP
# Line 15431 | Line 16324 | OBJDUMP=$lt_OBJDUMP
16324   # Method to check whether dependent libraries are shared objects.
16325   deplibs_check_method=$lt_deplibs_check_method
16326  
16327 < # Command to use when deplibs_check_method == "file_magic".
16327 > # Command to use when deplibs_check_method = "file_magic".
16328   file_magic_cmd=$lt_file_magic_cmd
16329  
16330 + # How to find potential files when deplibs_check_method = "file_magic".
16331 + file_magic_glob=$lt_file_magic_glob
16332 +
16333 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16334 + want_nocaseglob=$lt_want_nocaseglob
16335 +
16336 + # DLL creation program.
16337 + DLLTOOL=$lt_DLLTOOL
16338 +
16339 + # Command to associate shared and link libraries.
16340 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16341 +
16342   # The archiver.
16343   AR=$lt_AR
16344 +
16345 + # Flags to create an archive.
16346   AR_FLAGS=$lt_AR_FLAGS
16347  
16348 + # How to feed a file listing to the archiver.
16349 + archiver_list_spec=$lt_archiver_list_spec
16350 +
16351   # A symbol stripping program.
16352   STRIP=$lt_STRIP
16353  
# Line 15446 | Line 16356 | RANLIB=$lt_RANLIB
16356   old_postinstall_cmds=$lt_old_postinstall_cmds
16357   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16358  
16359 + # Whether to use a lock for old archive extraction.
16360 + lock_old_archive_extraction=$lock_old_archive_extraction
16361 +
16362   # A C compiler.
16363   LTCC=$lt_CC
16364  
# Line 15464 | Line 16377 | global_symbol_to_c_name_address=$lt_lt_c
16377   # Transform the output of nm in a C name address pair when lib prefix is needed.
16378   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16379  
16380 < # The name of the directory that contains temporary libtool files.
16381 < objdir=$objdir
16380 > # Specify filename containing input files for \$NM.
16381 > nm_file_list_spec=$lt_nm_file_list_spec
16382  
16383 < # Shell to use when invoking shell scripts.
16384 < SHELL=$lt_SHELL
16383 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16384 > lt_sysroot=$lt_sysroot
16385  
16386 < # An echo program that does not interpret backslashes.
16387 < ECHO=$lt_ECHO
16386 > # The name of the directory that contains temporary libtool files.
16387 > objdir=$objdir
16388  
16389   # Used to examine libraries when file_magic_cmd begins with "file".
16390   MAGIC_CMD=$MAGIC_CMD
# Line 15479 | Line 16392 | MAGIC_CMD=$MAGIC_CMD
16392   # Must we lock files when doing compilation?
16393   need_locks=$lt_need_locks
16394  
16395 + # Manifest tool.
16396 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16397 +
16398   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16399   DSYMUTIL=$lt_DSYMUTIL
16400  
# Line 15535 | Line 16451 | library_names_spec=$lt_library_names_spe
16451   # The coded name of the library, if different from the real name.
16452   soname_spec=$lt_soname_spec
16453  
16454 + # Permission mode override for installation of shared libraries.
16455 + install_override_mode=$lt_install_override_mode
16456 +
16457   # Command to use after installation of a shared archive.
16458   postinstall_cmds=$lt_postinstall_cmds
16459  
# Line 15574 | Line 16493 | striplib=$lt_striplib
16493   # The linker used to build libraries.
16494   LD=$lt_LD
16495  
16496 + # How to create reloadable object files.
16497 + reload_flag=$lt_reload_flag
16498 + reload_cmds=$lt_reload_cmds
16499 +
16500   # Commands used to build an old-style archive.
16501   old_archive_cmds=$lt_old_archive_cmds
16502  
# Line 15586 | Line 16509 | with_gcc=$GCC
16509   # Compiler flag to turn off builtin functions.
16510   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16511  
15589 # How to pass a linker flag through the compiler.
15590 wl=$lt_lt_prog_compiler_wl
15591
16512   # Additional compiler flags for building library objects.
16513   pic_flag=$lt_lt_prog_compiler_pic
16514  
16515 + # How to pass a linker flag through the compiler.
16516 + wl=$lt_lt_prog_compiler_wl
16517 +
16518   # Compiler flag to prevent dynamic linking.
16519   link_static_flag=$lt_lt_prog_compiler_static
16520  
# Line 15641 | Line 16564 | no_undefined_flag=$lt_no_undefined_flag
16564   # This must work even if \$libdir does not exist
16565   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16566  
15644 # If ld is used when linking, flag to hardcode \$libdir into a binary
15645 # during linking.  This must work even if \$libdir does not exist.
15646 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15647
16567   # Whether we need a single "-rpath" flag with a separated argument.
16568   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16569  
# Line 15678 | Line 16597 | inherit_rpath=$inherit_rpath
16597   # Whether libtool must link a program against all its dependency libraries.
16598   link_all_deplibs=$link_all_deplibs
16599  
15681 # Fix the shell variable \$srcfile for the compiler.
15682 fix_srcfile_path=$lt_fix_srcfile_path
15683
16600   # Set to "yes" if exported symbols are required.
16601   always_export_symbols=$always_export_symbols
16602  
# Line 15696 | Line 16612 | include_expsyms=$lt_include_expsyms
16612   # Commands necessary for linking programs (against libraries) with templates.
16613   prelink_cmds=$lt_prelink_cmds
16614  
16615 + # Commands necessary for finishing linking programs.
16616 + postlink_cmds=$lt_postlink_cmds
16617 +
16618   # Specify filename containing input files.
16619   file_list_spec=$lt_file_list_spec
16620  
# Line 15728 | Line 16647 | ltmain="$ac_aux_dir/ltmain.sh"
16647    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16648    # text mode, it properly converts lines to CR/LF.  This bash problem
16649    # is reportedly fixed, but why not run on old versions too?
16650 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16651 <    || (rm -f "$cfgfile"; exit 1)
15733 <
15734 <  case $xsi_shell in
15735 <  yes)
15736 <    cat << \_LT_EOF >> "$cfgfile"
15737 <
15738 < # func_dirname file append nondir_replacement
15739 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15740 < # otherwise set result to NONDIR_REPLACEMENT.
15741 < func_dirname ()
15742 < {
15743 <  case ${1} in
15744 <    */*) func_dirname_result="${1%/*}${2}" ;;
15745 <    *  ) func_dirname_result="${3}" ;;
15746 <  esac
15747 < }
15748 <
15749 < # func_basename file
15750 < func_basename ()
15751 < {
15752 <  func_basename_result="${1##*/}"
15753 < }
15754 <
15755 < # func_dirname_and_basename file append nondir_replacement
15756 < # perform func_basename and func_dirname in a single function
15757 < # call:
15758 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15759 < #             add APPEND to the result, otherwise set result
15760 < #             to NONDIR_REPLACEMENT.
15761 < #             value returned in "$func_dirname_result"
15762 < #   basename: Compute filename of FILE.
15763 < #             value retuned in "$func_basename_result"
15764 < # Implementation must be kept synchronized with func_dirname
15765 < # and func_basename. For efficiency, we do not delegate to
15766 < # those functions but instead duplicate the functionality here.
15767 < func_dirname_and_basename ()
15768 < {
15769 <  case ${1} in
15770 <    */*) func_dirname_result="${1%/*}${2}" ;;
15771 <    *  ) func_dirname_result="${3}" ;;
15772 <  esac
15773 <  func_basename_result="${1##*/}"
15774 < }
15775 <
15776 < # func_stripname prefix suffix name
15777 < # strip PREFIX and SUFFIX off of NAME.
15778 < # PREFIX and SUFFIX must not contain globbing or regex special
15779 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15780 < # dot (in which case that matches only a dot).
15781 < func_stripname ()
15782 < {
15783 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15784 <  # positional parameters, so assign one to ordinary parameter first.
15785 <  func_stripname_result=${3}
15786 <  func_stripname_result=${func_stripname_result#"${1}"}
15787 <  func_stripname_result=${func_stripname_result%"${2}"}
15788 < }
15789 <
15790 < # func_opt_split
15791 < func_opt_split ()
15792 < {
15793 <  func_opt_split_opt=${1%%=*}
15794 <  func_opt_split_arg=${1#*=}
15795 < }
15796 <
15797 < # func_lo2o object
15798 < func_lo2o ()
15799 < {
15800 <  case ${1} in
15801 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15802 <    *)    func_lo2o_result=${1} ;;
15803 <  esac
15804 < }
15805 <
15806 < # func_xform libobj-or-source
15807 < func_xform ()
15808 < {
15809 <  func_xform_result=${1%.*}.lo
15810 < }
15811 <
15812 < # func_arith arithmetic-term...
15813 < func_arith ()
15814 < {
15815 <  func_arith_result=$(( $* ))
15816 < }
15817 <
15818 < # func_len string
15819 < # STRING may not start with a hyphen.
15820 < func_len ()
15821 < {
15822 <  func_len_result=${#1}
15823 < }
15824 <
15825 < _LT_EOF
15826 <    ;;
15827 <  *) # Bourne compatible functions.
15828 <    cat << \_LT_EOF >> "$cfgfile"
15829 <
15830 < # func_dirname file append nondir_replacement
15831 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15832 < # otherwise set result to NONDIR_REPLACEMENT.
15833 < func_dirname ()
15834 < {
15835 <  # Extract subdirectory from the argument.
15836 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15837 <  if test "X$func_dirname_result" = "X${1}"; then
15838 <    func_dirname_result="${3}"
15839 <  else
15840 <    func_dirname_result="$func_dirname_result${2}"
15841 <  fi
15842 < }
15843 <
15844 < # func_basename file
15845 < func_basename ()
15846 < {
15847 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15848 < }
15849 <
15850 <
15851 < # func_stripname prefix suffix name
15852 < # strip PREFIX and SUFFIX off of NAME.
15853 < # PREFIX and SUFFIX must not contain globbing or regex special
15854 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15855 < # dot (in which case that matches only a dot).
15856 < # func_strip_suffix prefix name
15857 < func_stripname ()
15858 < {
15859 <  case ${2} in
15860 <    .*) func_stripname_result=`$ECHO "X${3}" \
15861 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15862 <    *)  func_stripname_result=`$ECHO "X${3}" \
15863 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15864 <  esac
15865 < }
15866 <
15867 < # sed scripts:
15868 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15869 < my_sed_long_arg='1s/^-[^=]*=//'
15870 <
15871 < # func_opt_split
15872 < func_opt_split ()
15873 < {
15874 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15875 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15876 < }
15877 <
15878 < # func_lo2o object
15879 < func_lo2o ()
15880 < {
15881 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15882 < }
15883 <
15884 < # func_xform libobj-or-source
15885 < func_xform ()
15886 < {
15887 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15888 < }
15889 <
15890 < # func_arith arithmetic-term...
15891 < func_arith ()
15892 < {
15893 <  func_arith_result=`expr "$@"`
15894 < }
15895 <
15896 < # func_len string
15897 < # STRING may not start with a hyphen.
15898 < func_len ()
15899 < {
15900 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15901 < }
15902 <
15903 < _LT_EOF
15904 < esac
15905 <
15906 < case $lt_shell_append in
15907 <  yes)
15908 <    cat << \_LT_EOF >> "$cfgfile"
15909 <
15910 < # func_append var value
15911 < # Append VALUE to the end of shell variable VAR.
15912 < func_append ()
15913 < {
15914 <  eval "$1+=\$2"
15915 < }
15916 < _LT_EOF
15917 <    ;;
15918 <  *)
15919 <    cat << \_LT_EOF >> "$cfgfile"
15920 <
15921 < # func_append var value
15922 < # Append VALUE to the end of shell variable VAR.
15923 < func_append ()
15924 < {
15925 <  eval "$1=\$$1\$2"
15926 < }
15927 <
15928 < _LT_EOF
15929 <    ;;
15930 <  esac
16650 >  sed '$q' "$ltmain" >> "$cfgfile" \
16651 >     || (rm -f "$cfgfile"; exit 1)
16652  
16653 +  if test x"$xsi_shell" = xyes; then
16654 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16655 + func_dirname ()\
16656 + {\
16657 + \    case ${1} in\
16658 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16659 + \      *  ) func_dirname_result="${3}" ;;\
16660 + \    esac\
16661 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16662 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16663 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16664 + test 0 -eq $? || _lt_function_replace_fail=:
16665 +
16666 +
16667 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16668 + func_basename ()\
16669 + {\
16670 + \    func_basename_result="${1##*/}"\
16671 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16672 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16673 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16674 + test 0 -eq $? || _lt_function_replace_fail=:
16675 +
16676 +
16677 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16678 + func_dirname_and_basename ()\
16679 + {\
16680 + \    case ${1} in\
16681 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16682 + \      *  ) func_dirname_result="${3}" ;;\
16683 + \    esac\
16684 + \    func_basename_result="${1##*/}"\
16685 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16686 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16687 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16688 + test 0 -eq $? || _lt_function_replace_fail=:
16689 +
16690 +
16691 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16692 + func_stripname ()\
16693 + {\
16694 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16695 + \    # positional parameters, so assign one to ordinary parameter first.\
16696 + \    func_stripname_result=${3}\
16697 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16698 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16699 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16700 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16701 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16702 + test 0 -eq $? || _lt_function_replace_fail=:
16703 +
16704 +
16705 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16706 + func_split_long_opt ()\
16707 + {\
16708 + \    func_split_long_opt_name=${1%%=*}\
16709 + \    func_split_long_opt_arg=${1#*=}\
16710 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16711 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16712 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16713 + test 0 -eq $? || _lt_function_replace_fail=:
16714 +
16715 +
16716 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16717 + func_split_short_opt ()\
16718 + {\
16719 + \    func_split_short_opt_arg=${1#??}\
16720 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16721 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16722 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16723 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16724 + test 0 -eq $? || _lt_function_replace_fail=:
16725 +
16726 +
16727 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16728 + func_lo2o ()\
16729 + {\
16730 + \    case ${1} in\
16731 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16732 + \      *)    func_lo2o_result=${1} ;;\
16733 + \    esac\
16734 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16735 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16736 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16737 + test 0 -eq $? || _lt_function_replace_fail=:
16738 +
16739 +
16740 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16741 + func_xform ()\
16742 + {\
16743 +    func_xform_result=${1%.*}.lo\
16744 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16745 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16746 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16747 + test 0 -eq $? || _lt_function_replace_fail=:
16748 +
16749 +
16750 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16751 + func_arith ()\
16752 + {\
16753 +    func_arith_result=$(( $* ))\
16754 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16755 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16756 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16757 + test 0 -eq $? || _lt_function_replace_fail=:
16758 +
16759 +
16760 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16761 + func_len ()\
16762 + {\
16763 +    func_len_result=${#1}\
16764 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16765 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16766 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16767 + test 0 -eq $? || _lt_function_replace_fail=:
16768 +
16769 + fi
16770 +
16771 + if test x"$lt_shell_append" = xyes; then
16772 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16773 + func_append ()\
16774 + {\
16775 +    eval "${1}+=\\${2}"\
16776 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16777 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16778 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16779 + test 0 -eq $? || _lt_function_replace_fail=:
16780 +
16781 +
16782 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16783 + func_append_quoted ()\
16784 + {\
16785 + \    func_quote_for_eval "${2}"\
16786 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16787 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16788 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16789 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16790 + test 0 -eq $? || _lt_function_replace_fail=:
16791 +
16792 +
16793 +  # Save a `func_append' function call where possible by direct use of '+='
16794 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16795 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16796 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16797 +  test 0 -eq $? || _lt_function_replace_fail=:
16798 + else
16799 +  # Save a `func_append' function call even when '+=' is not available
16800 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16801 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16802 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16803 +  test 0 -eq $? || _lt_function_replace_fail=:
16804 + fi
16805 +
16806 + if test x"$_lt_function_replace_fail" = x":"; then
16807 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16808 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16809 + fi
16810  
15933  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15934    || (rm -f "$cfgfile"; exit 1)
16811  
16812 <  mv -f "$cfgfile" "$ofile" ||
16812 >   mv -f "$cfgfile" "$ofile" ||
16813      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16814    chmod +x "$ofile"
16815  
# Line 15948 | Line 16824 | _ACEOF
16824   ac_clean_files=$ac_clean_files_save
16825  
16826   test $ac_write_fail = 0 ||
16827 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16827 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16828  
16829  
16830   # configure is writing to config.log, and then calls config.status.
# Line 15969 | Line 16845 | if test "$no_create" != yes; then
16845    exec 5>>config.log
16846    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16847    # would make configure fail if this is the last instruction.
16848 <  $ac_cs_success || as_fn_exit $?
15973 < fi
15974 <
15975 < #
15976 < # CONFIG_SUBDIRS section.
15977 < #
15978 < if test "$no_recursion" != yes; then
15979 <
15980 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15981 <  # so they do not pile up.
15982 <  ac_sub_configure_args=
15983 <  ac_prev=
15984 <  eval "set x $ac_configure_args"
15985 <  shift
15986 <  for ac_arg
15987 <  do
15988 <    if test -n "$ac_prev"; then
15989 <      ac_prev=
15990 <      continue
15991 <    fi
15992 <    case $ac_arg in
15993 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
15994 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15995 <      ac_prev=cache_file ;;
15996 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15997 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15998 <    | --c=*)
15999 <      ;;
16000 <    --config-cache | -C)
16001 <      ;;
16002 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16003 <      ac_prev=srcdir ;;
16004 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16005 <      ;;
16006 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16007 <      ac_prev=prefix ;;
16008 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16009 <      ;;
16010 <    --disable-option-checking)
16011 <      ;;
16012 <    *)
16013 <      case $ac_arg in
16014 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16015 <      esac
16016 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16017 <    esac
16018 <  done
16019 <
16020 <  # Always prepend --prefix to ensure using the same prefix
16021 <  # in subdir configurations.
16022 <  ac_arg="--prefix=$prefix"
16023 <  case $ac_arg in
16024 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16025 <  esac
16026 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16027 <
16028 <  # Pass --silent
16029 <  if test "$silent" = yes; then
16030 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16031 <  fi
16032 <
16033 <  # Always prepend --disable-option-checking to silence warnings, since
16034 <  # different subdirs can have different --enable and --with options.
16035 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16036 <
16037 <  ac_popdir=`pwd`
16038 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16039 <
16040 <    # Do not complain, so a configure script can configure whichever
16041 <    # parts of a large source tree are present.
16042 <    test -d "$srcdir/$ac_dir" || continue
16043 <
16044 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16045 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16046 <    $as_echo "$ac_msg" >&6
16047 <    as_dir="$ac_dir"; as_fn_mkdir_p
16048 <    ac_builddir=.
16049 <
16050 < case "$ac_dir" in
16051 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16052 < *)
16053 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16054 <  # A ".." for each directory in $ac_dir_suffix.
16055 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16056 <  case $ac_top_builddir_sub in
16057 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16058 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16059 <  esac ;;
16060 < esac
16061 < ac_abs_top_builddir=$ac_pwd
16062 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16063 < # for backward compatibility:
16064 < ac_top_builddir=$ac_top_build_prefix
16065 <
16066 < case $srcdir in
16067 <  .)  # We are building in place.
16068 <    ac_srcdir=.
16069 <    ac_top_srcdir=$ac_top_builddir_sub
16070 <    ac_abs_top_srcdir=$ac_pwd ;;
16071 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16072 <    ac_srcdir=$srcdir$ac_dir_suffix;
16073 <    ac_top_srcdir=$srcdir
16074 <    ac_abs_top_srcdir=$srcdir ;;
16075 <  *) # Relative name.
16076 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16077 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16078 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16079 < esac
16080 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16081 <
16082 <
16083 <    cd "$ac_dir"
16084 <
16085 <    # Check for guested configure; otherwise get Cygnus style configure.
16086 <    if test -f "$ac_srcdir/configure.gnu"; then
16087 <      ac_sub_configure=$ac_srcdir/configure.gnu
16088 <    elif test -f "$ac_srcdir/configure"; then
16089 <      ac_sub_configure=$ac_srcdir/configure
16090 <    elif test -f "$ac_srcdir/configure.in"; then
16091 <      # This should be Cygnus configure.
16092 <      ac_sub_configure=$ac_aux_dir/configure
16093 <    else
16094 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16095 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16096 <      ac_sub_configure=
16097 <    fi
16098 <
16099 <    # The recursion is here.
16100 <    if test -n "$ac_sub_configure"; then
16101 <      # Make the cache file name correct relative to the subdirectory.
16102 <      case $cache_file in
16103 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16104 <      *) # Relative name.
16105 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16106 <      esac
16107 <
16108 <      { $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
16109 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16110 <      # The eval makes quoting arguments work.
16111 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16112 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16113 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16114 <    fi
16115 <
16116 <    cd "$ac_popdir"
16117 <  done
16848 >  $ac_cs_success || as_fn_exit 1
16849   fi
16850   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Diff Legend

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