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 982 by michael, Thu Aug 13 22:15:08 2009 UTC vs.
ircd-hybrid/branches/8.0.x/configure (file contents), Revision 1735 by michael, Sun Jan 13 09:29:47 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 978 2009-08-09 09:47:58Z michael .
2 > # From configure.ac Id: configure.ac 1706 2012-12-23 14:58:42Z 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.3.
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
572  
573 < if test "X$1" = X--fallback-echo; then
574 <  # used as fallback echo
556 <  shift
557 <  cat <<_LT_EOF
558 < $*
559 < _LT_EOF
560 <  exit 0
561 < fi
562 <
563 < # The HP-UX ksh and POSIX shell print the target directory to stdout
564 < # if CDPATH is set.
565 < (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 <
567 < if test -z "$lt_ECHO"; then
568 <  if test "X${echo_test_string+set}" != Xset; then
569 <    # find a string as large as possible, as long as the shell can cope with it
570 <    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571 <      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572 <      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573 <         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574 <      then
575 <        break
576 <      fi
577 <    done
578 <  fi
579 <
580 <  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581 <     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582 <     test "X$echo_testing_string" = "X$echo_test_string"; then
583 <    :
584 <  else
585 <    # The Solaris, AIX, and Digital Unix default echo programs unquote
586 <    # backslashes.  This makes it impossible to quote backslashes using
587 <    #   echo "$something" | sed 's/\\/\\\\/g'
588 <    #
589 <    # So, first we look for a working echo in the user's PATH.
590 <
591 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592 <    for dir in $PATH /usr/ucb; do
593 <      IFS="$lt_save_ifs"
594 <      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595 <         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596 <         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597 <         test "X$echo_testing_string" = "X$echo_test_string"; then
598 <        ECHO="$dir/echo"
599 <        break
600 <      fi
601 <    done
602 <    IFS="$lt_save_ifs"
603 <
604 <    if test "X$ECHO" = Xecho; then
605 <      # We didn't find a better echo, so look for alternatives.
606 <      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607 <         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608 <         test "X$echo_testing_string" = "X$echo_test_string"; then
609 <        # This shell has a builtin print -r that does the trick.
610 <        ECHO='print -r'
611 <      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612 <           test "X$CONFIG_SHELL" != X/bin/ksh; then
613 <        # If we have ksh, try running configure again with it.
614 <        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615 <        export ORIGINAL_CONFIG_SHELL
616 <        CONFIG_SHELL=/bin/ksh
617 <        export CONFIG_SHELL
618 <        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619 <      else
620 <        # Try using printf.
621 <        ECHO='printf %s\n'
622 <        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623 <           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624 <           test "X$echo_testing_string" = "X$echo_test_string"; then
625 <          # Cool, printf works
626 <          :
627 <        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628 <             test "X$echo_testing_string" = 'X\t' &&
629 <             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630 <             test "X$echo_testing_string" = "X$echo_test_string"; then
631 <          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 <          export CONFIG_SHELL
633 <          SHELL="$CONFIG_SHELL"
634 <          export SHELL
635 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636 <        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 <             test "X$echo_testing_string" = 'X\t' &&
638 <             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 <             test "X$echo_testing_string" = "X$echo_test_string"; then
640 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 <        else
642 <          # maybe with a smaller string...
643 <          prev=:
644 <
645 <          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646 <            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647 <            then
648 <              break
649 <            fi
650 <            prev="$cmd"
651 <          done
652 <
653 <          if test "$prev" != 'sed 50q "$0"'; then
654 <            echo_test_string=`eval $prev`
655 <            export echo_test_string
656 <            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 <          else
658 <            # Oops.  We lost completely, so just stick with echo.
659 <            ECHO=echo
660 <          fi
661 <        fi
662 <      fi
663 <    fi
664 <  fi
665 < fi
666 <
667 < # Copy echo and quote the copy suitably for passing to libtool from
668 < # the Makefile, instead of quoting the original, which is used later.
669 < lt_ECHO=$ECHO
670 < if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671 <   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 < fi
673 <
674 <
675 <
676 <
677 < lt_ltdl_dir='libltdl'
678 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
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.3'
597 > PACKAGE_STRING='ircd-hybrid 8.0.3'
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
653   LTDLOPEN
654   LT_CONFIG_H
765 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 785 | 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 815 | 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 831 | 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 895 | 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 902 | 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
808 < with_zlib_path
911 < enable_zlib
808 > enable_libpcre
809   enable_openssl
810   enable_assert
914 enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
918 enable_rtsigio
814   enable_poll
815   enable_select
816   with_nicklen
817   with_topiclen
923 with_syslog_facility
924 enable_efnet
818   enable_halfops
819   enable_debugging
820   enable_warnings
928 enable_syslog
821   '
822        ac_precious_vars='build_alias
823   host_alias
# Line 938 | Line 830 | CPPFLAGS
830   YACC
831   YFLAGS
832   CPP'
833 < ac_subdirs_all='libltdl'
833 >
834  
835   # Initialize some variables set by options.
836   ac_init_help=
# Line 1000 | Line 892 | do
892    fi
893  
894    case $ac_option in
895 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 <  *)    ac_optarg=yes ;;
895 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 >  *=)   ac_optarg= ;;
897 >  *)    ac_optarg=yes ;;
898    esac
899  
900    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1046 | Line 939 | do
939      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
940      # Reject names that are not valid shell variable names.
941      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942 <      as_fn_error "invalid feature name: $ac_useropt"
942 >      as_fn_error $? "invalid feature name: $ac_useropt"
943      ac_useropt_orig=$ac_useropt
944      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945      case $ac_user_opts in
# Line 1072 | Line 965 | do
965      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966      # Reject names that are not valid shell variable names.
967      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968 <      as_fn_error "invalid feature name: $ac_useropt"
968 >      as_fn_error $? "invalid feature name: $ac_useropt"
969      ac_useropt_orig=$ac_useropt
970      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971      case $ac_user_opts in
# Line 1276 | Line 1169 | do
1169      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1170      # Reject names that are not valid shell variable names.
1171      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172 <      as_fn_error "invalid package name: $ac_useropt"
1172 >      as_fn_error $? "invalid package name: $ac_useropt"
1173      ac_useropt_orig=$ac_useropt
1174      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175      case $ac_user_opts in
# Line 1292 | Line 1185 | do
1185      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1186      # Reject names that are not valid shell variable names.
1187      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188 <      as_fn_error "invalid package name: $ac_useropt"
1188 >      as_fn_error $? "invalid package name: $ac_useropt"
1189      ac_useropt_orig=$ac_useropt
1190      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191      case $ac_user_opts in
# Line 1322 | Line 1215 | do
1215    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1216      x_libraries=$ac_optarg ;;
1217  
1218 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1219 < Try \`$0 --help' for more information."
1218 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1219 > Try \`$0 --help' for more information"
1220      ;;
1221  
1222    *=*)
# Line 1331 | Line 1224 | Try \`$0 --help' for more information."
1224      # Reject names that are not valid shell variable names.
1225      case $ac_envvar in #(
1226        '' | [0-9]* | *[!_$as_cr_alnum]* )
1227 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1227 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1228      esac
1229      eval $ac_envvar=\$ac_optarg
1230      export $ac_envvar ;;
# Line 1341 | Line 1234 | Try \`$0 --help' for more information."
1234      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1235      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1236        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1237 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1237 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1238      ;;
1239  
1240    esac
# Line 1349 | Line 1242 | done
1242  
1243   if test -n "$ac_prev"; then
1244    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1245 <  as_fn_error "missing argument to $ac_option"
1245 >  as_fn_error $? "missing argument to $ac_option"
1246   fi
1247  
1248   if test -n "$ac_unrecognized_opts"; then
1249    case $enable_option_checking in
1250      no) ;;
1251 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1251 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1252      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253    esac
1254   fi
# Line 1378 | Line 1271 | do
1271      [\\/$]* | ?:[\\/]* )  continue;;
1272      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1273    esac
1274 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1274 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1275   done
1276  
1277   # There might be people who depend on the old broken behavior: `$host'
# Line 1392 | Line 1285 | target=$target_alias
1285   if test "x$host_alias" != x; then
1286    if test "x$build_alias" = x; then
1287      cross_compiling=maybe
1395    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396    If a cross compiler is detected then cross compile mode will be used." >&2
1288    elif test "x$build_alias" != "x$host_alias"; then
1289      cross_compiling=yes
1290    fi
# Line 1408 | Line 1299 | test "$silent" = yes && exec 6>/dev/null
1299   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1300   ac_ls_di=`ls -di .` &&
1301   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1302 <  as_fn_error "working directory cannot be determined"
1302 >  as_fn_error $? "working directory cannot be determined"
1303   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304 <  as_fn_error "pwd does not report name of working directory"
1304 >  as_fn_error $? "pwd does not report name of working directory"
1305  
1306  
1307   # Find the source files, if location was not specified.
# Line 1449 | Line 1340 | else
1340   fi
1341   if test ! -r "$srcdir/$ac_unique_file"; then
1342    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1343 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1343 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1344   fi
1345   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1346   ac_abs_confdir=`(
1347 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1347 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1348          pwd)`
1349   # When building in place, set srcdir=.
1350   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1479 | Line 1370 | if test "$ac_init_help" = "long"; then
1370    # Omit some internal or obsolete options to make the list less imposing.
1371    # This message is too long to be a string in the A/UX 3.1 sh.
1372    cat <<_ACEOF
1373 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1373 > \`configure' configures ircd-hybrid 8.0.3 to adapt to many kinds of systems.
1374  
1375   Usage: $0 [OPTION]... [VAR=VALUE]...
1376  
# Line 1493 | Line 1384 | Configuration:
1384        --help=short        display options specific to this package
1385        --help=recursive    display the short help of all the included packages
1386    -V, --version           display version information and exit
1387 <  -q, --quiet, --silent   do not print \`checking...' messages
1387 >  -q, --quiet, --silent   do not print \`checking ...' messages
1388        --cache-file=FILE   cache test results in FILE [disabled]
1389    -C, --config-cache      alias for \`--cache-file=config.cache'
1390    -n, --no-create         do not create output files
# Line 1549 | Line 1440 | fi
1440  
1441   if test -n "$ac_init_help"; then
1442    case $ac_init_help in
1443 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1443 >     short | recursive ) echo "Configuration of ircd-hybrid 8.0.3:";;
1444     esac
1445    cat <<\_ACEOF
1446  
# Line 1557 | Line 1448 | Optional Features:
1448    --disable-option-checking  ignore unrecognized --enable/--with options
1449    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1450    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1451 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1452 <                          (and sometimes confusing) to the casual installer
1453 <  --disable-dependency-tracking  speeds up one-time build
1454 <  --enable-dependency-tracking   do not reject slow dependency extractors
1451 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1452 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1453 >  --enable-maintainer-mode
1454 >                          enable make rules and dependencies not useful (and
1455 >                          sometimes confusing) to the casual installer
1456 >  --enable-dependency-tracking
1457 >                          do not reject slow dependency extractors
1458 >  --disable-dependency-tracking
1459 >                          speeds up one-time build
1460    --enable-static[=PKGS]  build static libraries [default=no]
1461    --enable-shared[=PKGS]  build shared libraries [default=yes]
1462    --enable-fast-install[=PKGS]
1463                            optimize for fast installation [default=yes]
1464    --disable-libtool-lock  avoid locking (might break parallel builds)
1465    --enable-ltdl-install   install libltdl
1466 <  --disable-zlib          Disable ziplinks support
1466 >  --disable-libpcre       Disable PCRE support
1467    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1468    --disable-openssl            Disable OpenSSL support.
1469    --enable-assert         Enable assert() statements
1574  --enable-small-net      Enable small network support.
1470    --enable-kqueue         Force kqueue usage.
1471    --enable-epoll          Force epoll usage.
1472    --enable-devpoll        Force devpoll usage.
1578  --enable-rtsigio        Force rtsigio usage.
1473    --enable-poll           Force poll usage.
1474    --enable-select         Force select usage.
1581  --enable-efnet          For IRCDs running on EFnet.
1475    --enable-halfops        Enable halfops support.
1476    --enable-debugging      Enable debugging.
1477    --enable-warnings       Enable compiler warnings.
1585  --enable-syslog="EVENTS"
1586                          Enable syslog for events: users oper (space
1587                          separated in quotes; default: disabled).
1478  
1479   Optional Packages:
1480    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1481    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1482 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1482 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1483                            both]
1484    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1485 +  --with-sysroot=DIR Search for dependent libraries within DIR
1486 +                        (or the compiler's sysroot if not specified).
1487    --with-included-ltdl    use the GNU ltdl sources included here
1488    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1489    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1598  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1490    --with-nicklen=<value>  Set nickname length (default 9).
1491    --with-topiclen=<value> Set topic length (default 160).
1601  --with-syslog-facility=LOG
1602                          Define the syslog facility to use (default:
1603                          LOG_LOCAL4)
1492  
1493   Some influential environment variables:
1494    CC          C compiler command
# Line 1608 | Line 1496 | Some influential environment variables:
1496    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1497                nonstandard directory <lib dir>
1498    LIBS        libraries to pass to the linker, e.g. -l<library>
1499 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1499 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1500                you have headers in a nonstandard directory <include dir>
1501 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1502 <              the first program found out of: `bison -y', `byacc', `yacc'.
1501 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1502 >              Defaults to the first program found out of: `bison -y', `byacc',
1503 >              `yacc'.
1504    YFLAGS      The list of arguments that will be passed by default to $YACC.
1505                This script will default YFLAGS to the empty string to avoid a
1506                default value of `-d' given by some make applications.
# Line 1620 | Line 1509 | Some influential environment variables:
1509   Use these variables to override the choices made by `configure' or to help
1510   it to find libraries and programs with nonstandard names/locations.
1511  
1512 < Report bugs to the package provider.
1512 > Report bugs to <bugs@ircd-hybrid.org>.
1513   _ACEOF
1514   ac_status=$?
1515   fi
# Line 1683 | Line 1572 | fi
1572   test -n "$ac_init_help" && exit $ac_status
1573   if $ac_init_version; then
1574    cat <<\_ACEOF
1575 < ircd-hybrid configure 7.2.4
1576 < generated by GNU Autoconf 2.64
1575 > ircd-hybrid configure 8.0.3
1576 > generated by GNU Autoconf 2.69
1577  
1578 < Copyright (C) 2009 Free Software Foundation, Inc.
1578 > Copyright (C) 2012 Free Software Foundation, Inc.
1579   This configure script is free software; the Free Software Foundation
1580   gives unlimited permission to copy, distribute and modify it.
1581   _ACEOF
# Line 1730 | Line 1619 | sed 's/^/| /' conftest.$ac_ext >&5
1619  
1620          ac_retval=1
1621   fi
1622 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1623 <  return $ac_retval
1622 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 >  as_fn_set_status $ac_retval
1624  
1625   } # ac_fn_c_try_compile
1626  
# Line 1762 | Line 1651 | $as_echo "$ac_try_echo"; } >&5
1651           test ! -s conftest.err
1652         } && test -s conftest$ac_exeext && {
1653           test "$cross_compiling" = yes ||
1654 <         $as_test_x conftest$ac_exeext
1654 >         test -x conftest$ac_exeext
1655         }; then :
1656    ac_retval=0
1657   else
# Line 1776 | Line 1665 | fi
1665    # interfere with the next link command; also delete a directory that is
1666    # left behind by Apple's compiler.  We do this before executing the actions.
1667    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1669 <  return $ac_retval
1668 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 >  as_fn_set_status $ac_retval
1670  
1671   } # ac_fn_c_try_link
1672  
# Line 1790 | Line 1679 | ac_fn_c_check_header_compile ()
1679    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681   $as_echo_n "checking for $2... " >&6; }
1682 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 > if eval \${$3+:} false; then :
1683    $as_echo_n "(cached) " >&6
1684   else
1685    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1808 | Line 1697 | fi
1697   eval ac_res=\$$3
1698                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1699   $as_echo "$ac_res" >&6; }
1700 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1700 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701  
1702   } # ac_fn_c_check_header_compile
1703  
# Line 1833 | Line 1722 | $as_echo "$ac_try_echo"; } >&5
1722      mv -f conftest.er1 conftest.err
1723    fi
1724    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 <  test $ac_status = 0; } >/dev/null && {
1725 >  test $ac_status = 0; } > conftest.i && {
1726           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1727           test ! -s conftest.err
1728         }; then :
# Line 1844 | Line 1733 | sed 's/^/| /' conftest.$ac_ext >&5
1733  
1734      ac_retval=1
1735   fi
1736 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 <  return $ac_retval
1736 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 >  as_fn_set_status $ac_retval
1738  
1739   } # ac_fn_c_try_cpp
1740  
# Line 1886 | Line 1775 | sed 's/^/| /' conftest.$ac_ext >&5
1775         ac_retval=$ac_status
1776   fi
1777    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1778 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1779 <  return $ac_retval
1778 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 >  as_fn_set_status $ac_retval
1780  
1781   } # ac_fn_c_try_run
1782  
# Line 1899 | Line 1788 | ac_fn_c_check_func ()
1788    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790   $as_echo_n "checking for $2... " >&6; }
1791 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1791 > if eval \${$3+:} false; then :
1792    $as_echo_n "(cached) " >&6
1793   else
1794    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1954 | Line 1843 | fi
1843   eval ac_res=\$$3
1844                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845   $as_echo "$ac_res" >&6; }
1846 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847  
1848   } # ac_fn_c_check_func
1849  
1850 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1851 < # ------------------------------------
1852 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1850 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1851 > # ---------------------------------------------
1852 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1853 > # accordingly.
1854   ac_fn_c_check_decl ()
1855   {
1856    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1858 < $as_echo_n "checking whether $2 is declared... " >&6; }
1859 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1857 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1858 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1859 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1860 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1861 > if eval \${$3+:} false; then :
1862    $as_echo_n "(cached) " >&6
1863   else
1864    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1975 | Line 1867 | $4
1867   int
1868   main ()
1869   {
1870 < #ifndef $2
1871 <  (void) $2;
1870 > #ifndef $as_decl_name
1871 > #ifdef __cplusplus
1872 >  (void) $as_decl_use;
1873 > #else
1874 >  (void) $as_decl_name;
1875 > #endif
1876   #endif
1877  
1878    ;
# Line 1993 | Line 1889 | fi
1889   eval ac_res=\$$3
1890                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891   $as_echo "$ac_res" >&6; }
1892 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1892 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893  
1894   } # ac_fn_c_check_decl
1895  
# Line 2006 | Line 1902 | ac_fn_c_check_type ()
1902    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904   $as_echo_n "checking for $2... " >&6; }
1905 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905 > if eval \${$3+:} false; then :
1906    $as_echo_n "(cached) " >&6
1907   else
1908    eval "$3=no"
# Line 2047 | Line 1943 | fi
1943   eval ac_res=\$$3
1944                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945   $as_echo "$ac_res" >&6; }
1946 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947  
1948   } # ac_fn_c_check_type
1949  
# Line 2060 | Line 1956 | ac_fn_c_check_member ()
1956    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1958   $as_echo_n "checking for $2.$3... " >&6; }
1959 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1959 > if eval \${$4+:} false; then :
1960    $as_echo_n "(cached) " >&6
1961   else
1962    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2104 | Line 2000 | fi
2000   eval ac_res=\$$4
2001                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002   $as_echo "$ac_res" >&6; }
2003 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004  
2005   } # ac_fn_c_check_member
2006  
2111 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2112 # --------------------------------------------
2113 # Tries to find the compile-time value of EXPR in a program that includes
2114 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2115 # computed
2116 ac_fn_c_compute_int ()
2117 {
2118  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119  if test "$cross_compiling" = yes; then
2120    # Depending upon the size, compute the lo and hi bounds.
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h.  */
2123 $4
2124 int
2125 main ()
2126 {
2127 static int test_array [1 - 2 * !(($2) >= 0)];
2128 test_array [0] = 0
2129
2130  ;
2131  return 0;
2132 }
2133 _ACEOF
2134 if ac_fn_c_try_compile "$LINENO"; then :
2135  ac_lo=0 ac_mid=0
2136  while :; do
2137    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h.  */
2139 $4
2140 int
2141 main ()
2142 {
2143 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2144 test_array [0] = 0
2145
2146  ;
2147  return 0;
2148 }
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151  ac_hi=$ac_mid; break
2152 else
2153  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2154                        if test $ac_lo -le $ac_mid; then
2155                          ac_lo= ac_hi=
2156                          break
2157                        fi
2158                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2159 fi
2160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161  done
2162 else
2163  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h.  */
2165 $4
2166 int
2167 main ()
2168 {
2169 static int test_array [1 - 2 * !(($2) < 0)];
2170 test_array [0] = 0
2171
2172  ;
2173  return 0;
2174 }
2175 _ACEOF
2176 if ac_fn_c_try_compile "$LINENO"; then :
2177  ac_hi=-1 ac_mid=-1
2178  while :; do
2179    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h.  */
2181 $4
2182 int
2183 main ()
2184 {
2185 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2186 test_array [0] = 0
2187
2188  ;
2189  return 0;
2190 }
2191 _ACEOF
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193  ac_lo=$ac_mid; break
2194 else
2195  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2196                        if test $ac_mid -le $ac_hi; then
2197                          ac_lo= ac_hi=
2198                          break
2199                        fi
2200                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2201 fi
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203  done
2204 else
2205  ac_lo= ac_hi=
2206 fi
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 # Binary search between lo and hi bounds.
2211 while test "x$ac_lo" != "x$ac_hi"; do
2212  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h.  */
2215 $4
2216 int
2217 main ()
2218 {
2219 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2220 test_array [0] = 0
2221
2222  ;
2223  return 0;
2224 }
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227  ac_hi=$ac_mid
2228 else
2229  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2230 fi
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 done
2233 case $ac_lo in #((
2234 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2235 '') ac_retval=1 ;;
2236 esac
2237  else
2238    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h.  */
2240 $4
2241 static long int longval () { return $2; }
2242 static unsigned long int ulongval () { return $2; }
2243 #include <stdio.h>
2244 #include <stdlib.h>
2245 int
2246 main ()
2247 {
2248
2249  FILE *f = fopen ("conftest.val", "w");
2250  if (! f)
2251    return 1;
2252  if (($2) < 0)
2253    {
2254      long int i = longval ();
2255      if (i != ($2))
2256        return 1;
2257      fprintf (f, "%ld", i);
2258    }
2259  else
2260    {
2261      unsigned long int i = ulongval ();
2262      if (i != ($2))
2263        return 1;
2264      fprintf (f, "%lu", i);
2265    }
2266  /* Do not output a trailing newline, as this causes \r\n confusion
2267     on some platforms.  */
2268  return ferror (f) || fclose (f) != 0;
2269
2270  ;
2271  return 0;
2272 }
2273 _ACEOF
2274 if ac_fn_c_try_run "$LINENO"; then :
2275  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2276 else
2277  ac_retval=1
2278 fi
2279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2280  conftest.$ac_objext conftest.beam conftest.$ac_ext
2281 rm -f conftest.val
2282
2283  fi
2284  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2285  return $ac_retval
2286
2287 } # ac_fn_c_compute_int
2288
2007   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2008   # -------------------------------------------------------
2009   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2294 | Line 2012 | rm -f conftest.val
2012   ac_fn_c_check_header_mongrel ()
2013   {
2014    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2015 >  if eval \${$3+:} false; then :
2016    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017   $as_echo_n "checking for $2... " >&6; }
2018 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2018 > if eval \${$3+:} false; then :
2019    $as_echo_n "(cached) " >&6
2020   fi
2021   eval ac_res=\$$3
# Line 2333 | Line 2051 | if ac_fn_c_try_cpp "$LINENO"; then :
2051   else
2052    ac_header_preproc=no
2053   fi
2054 < rm -f conftest.err conftest.$ac_ext
2054 > rm -f conftest.err conftest.i conftest.$ac_ext
2055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2056   $as_echo "$ac_header_preproc" >&6; }
2057  
# Line 2356 | Line 2074 | $as_echo "$as_me: WARNING: $2: see the A
2074   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2075      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2076   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2077 + ( $as_echo "## ----------------------------------- ##
2078 + ## Report this to bugs@ircd-hybrid.org ##
2079 + ## ----------------------------------- ##"
2080 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2081      ;;
2082   esac
2083    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084   $as_echo_n "checking for $2... " >&6; }
2085 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 > if eval \${$3+:} false; then :
2086    $as_echo_n "(cached) " >&6
2087   else
2088    eval "$3=\$ac_header_compiler"
# Line 2369 | Line 2091 | eval ac_res=\$$3
2091                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092   $as_echo "$ac_res" >&6; }
2093   fi
2094 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2094 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095  
2096   } # ac_fn_c_check_header_mongrel
2097   cat >config.log <<_ACEOF
2098   This file contains any messages produced by compilers while
2099   running configure, to aid debugging if configure makes a mistake.
2100  
2101 < It was created by ircd-hybrid $as_me 7.2.4, which was
2102 < generated by GNU Autoconf 2.64.  Invocation command line was
2101 > It was created by ircd-hybrid $as_me 8.0.3, which was
2102 > generated by GNU Autoconf 2.69.  Invocation command line was
2103  
2104    $ $0 $@
2105  
# Line 2487 | Line 2209 | trap 'exit_status=$?
2209    {
2210      echo
2211  
2212 <    cat <<\_ASBOX
2491 < ## ---------------- ##
2212 >    $as_echo "## ---------------- ##
2213   ## Cache variables. ##
2214 < ## ---------------- ##
2494 < _ASBOX
2214 > ## ---------------- ##"
2215      echo
2216      # The following way of writing the cache mishandles newlines in values,
2217   (
# Line 2525 | Line 2245 | $as_echo "$as_me: WARNING: cache variabl
2245   )
2246      echo
2247  
2248 <    cat <<\_ASBOX
2529 < ## ----------------- ##
2248 >    $as_echo "## ----------------- ##
2249   ## Output variables. ##
2250 < ## ----------------- ##
2532 < _ASBOX
2250 > ## ----------------- ##"
2251      echo
2252      for ac_var in $ac_subst_vars
2253      do
# Line 2542 | Line 2260 | _ASBOX
2260      echo
2261  
2262      if test -n "$ac_subst_files"; then
2263 <      cat <<\_ASBOX
2546 < ## ------------------- ##
2263 >      $as_echo "## ------------------- ##
2264   ## File substitutions. ##
2265 < ## ------------------- ##
2549 < _ASBOX
2265 > ## ------------------- ##"
2266        echo
2267        for ac_var in $ac_subst_files
2268        do
# Line 2560 | Line 2276 | _ASBOX
2276      fi
2277  
2278      if test -s confdefs.h; then
2279 <      cat <<\_ASBOX
2564 < ## ----------- ##
2279 >      $as_echo "## ----------- ##
2280   ## confdefs.h. ##
2281 < ## ----------- ##
2567 < _ASBOX
2281 > ## ----------- ##"
2282        echo
2283        cat confdefs.h
2284        echo
# Line 2619 | Line 2333 | _ACEOF
2333   ac_site_file1=NONE
2334   ac_site_file2=NONE
2335   if test -n "$CONFIG_SITE"; then
2336 <  ac_site_file1=$CONFIG_SITE
2336 >  # We do not want a PATH search for config.site.
2337 >  case $CONFIG_SITE in #((
2338 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2339 >    */*) ac_site_file1=$CONFIG_SITE;;
2340 >    *)   ac_site_file1=./$CONFIG_SITE;;
2341 >  esac
2342   elif test "x$prefix" != xNONE; then
2343    ac_site_file1=$prefix/share/config.site
2344    ac_site_file2=$prefix/etc/config.site
# Line 2630 | Line 2349 | fi
2349   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2350   do
2351    test "x$ac_site_file" = xNONE && continue
2352 <  if test -r "$ac_site_file"; then
2352 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2353      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2354   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2355      sed 's/^/| /' "$ac_site_file" >&5
2356 <    . "$ac_site_file"
2356 >    . "$ac_site_file" \
2357 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 > as_fn_error $? "failed to load site script $ac_site_file
2360 > See \`config.log' for more details" "$LINENO" 5; }
2361    fi
2362   done
2363  
2364   if test -r "$cache_file"; then
2365 <  # Some versions of bash will fail to source /dev/null (special
2366 <  # files actually), so we avoid doing that.
2367 <  if test -f "$cache_file"; then
2365 >  # Some versions of bash will fail to source /dev/null (special files
2366 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2367 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2368      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2369   $as_echo "$as_me: loading cache $cache_file" >&6;}
2370      case $cache_file in
# Line 2655 | Line 2378 | $as_echo "$as_me: creating cache $cache_
2378    >$cache_file
2379   fi
2380  
2658 as_fn_append ac_func_list " snprintf"
2659 as_fn_append ac_func_list " vsnprintf"
2381   as_fn_append ac_func_list " mmap"
2382   as_fn_append ac_func_list " strtok_r"
2383   as_fn_append ac_func_list " usleep"
2384   as_fn_append ac_func_list " strlcat"
2385   as_fn_append ac_func_list " strlcpy"
2386   as_fn_append ac_header_list " crypt.h"
2666 as_fn_append ac_header_list " inttypes.h"
2667 as_fn_append ac_header_list " stdint.h"
2387   as_fn_append ac_header_list " sys/resource.h"
2388   as_fn_append ac_header_list " sys/param.h"
2670 as_fn_append ac_header_list " errno.h"
2671 as_fn_append ac_header_list " sys/syslog.h"
2672 as_fn_append ac_header_list " stddef.h"
2673 as_fn_append ac_header_list " libgen.h"
2389   as_fn_append ac_header_list " types.h"
2390   as_fn_append ac_header_list " socket.h"
2391   as_fn_append ac_header_list " sys/wait.h"
2392   as_fn_append ac_header_list " wait.h"
2678 as_fn_append ac_header_list " link.h"
2393   # Check that the precious variables saved in the cache have kept the same
2394   # value.
2395   ac_cache_corrupted=false
# Line 2731 | Line 2445 | if $ac_cache_corrupted; then
2445   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2446    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2447   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2448 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2448 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2449   fi
2450   ## -------------------- ##
2451   ## Main body of script. ##
# Line 2744 | Line 2458 | ac_link='$CC -o conftest$ac_exeext $CFLA
2458   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2459  
2460  
2461 < am__api_version='1.11'
2461 > am__api_version='1.13'
2462  
2463   ac_aux_dir=
2464   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2465 <  for ac_t in install-sh install.sh shtool; do
2466 <    if test -f "$ac_dir/$ac_t"; then
2467 <      ac_aux_dir=$ac_dir
2468 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2469 <      break 2
2470 <    fi
2471 <  done
2465 >  if 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/install.sh"; then
2470 >    ac_aux_dir=$ac_dir
2471 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2472 >    break
2473 >  elif test -f "$ac_dir/shtool"; then
2474 >    ac_aux_dir=$ac_dir
2475 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2476 >    break
2477 >  fi
2478   done
2479   if test -z "$ac_aux_dir"; then
2480 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2480 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2481   fi
2482  
2483   # These three variables are undocumented and unsupported,
# Line 2786 | Line 2506 | ac_configure="$SHELL $ac_aux_dir/configu
2506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2507   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2508   if test -z "$INSTALL"; then
2509 < if test "${ac_cv_path_install+set}" = set; then :
2509 > if ${ac_cv_path_install+:} false; then :
2510    $as_echo_n "(cached) " >&6
2511   else
2512    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2806 | Line 2526 | case $as_dir/ in #((
2526      # by default.
2527      for ac_prog in ginstall scoinst install; do
2528        for ac_exec_ext in '' $ac_executable_extensions; do
2529 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2529 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2530            if test $ac_prog = install &&
2531              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2532              # AIX install.  It has an incompatible calling convention.
# Line 2864 | Line 2584 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2584  
2585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2586   $as_echo_n "checking whether build environment is sane... " >&6; }
2867 # Just in case
2868 sleep 1
2869 echo timestamp > conftest.file
2587   # Reject unsafe characters in $srcdir or the absolute working directory
2588   # name.  Accept space and tab only in the latter.
2589   am_lf='
2590   '
2591   case `pwd` in
2592    *[\\\"\#\$\&\'\`$am_lf]*)
2593 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2593 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2594   esac
2595   case $srcdir in
2596    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2597 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2597 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2598   esac
2599  
2600 < # Do `set' in a subshell so we don't clobber the current shell's
2600 > # Do 'set' in a subshell so we don't clobber the current shell's
2601   # arguments.  Must try -L first in case configure is actually a
2602   # symlink; some systems play weird games with the mod time of symlinks
2603   # (eg FreeBSD returns the mod time of the symlink's containing
2604   # directory).
2605   if (
2606 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2607 <   if test "$*" = "X"; then
2608 <      # -L didn't work.
2609 <      set X `ls -t "$srcdir/configure" conftest.file`
2610 <   fi
2611 <   rm -f conftest.file
2612 <   if test "$*" != "X $srcdir/configure conftest.file" \
2613 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2614 <
2615 <      # If neither matched, then we have a broken ls.  This can happen
2899 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2900 <      # broken ls alias from the environment.  This has actually
2901 <      # happened.  Such a system could not be considered "sane".
2902 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2903 < alias in your environment" "$LINENO" 5
2904 <   fi
2606 >   am_has_slept=no
2607 >   for am_try in 1 2; do
2608 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2609 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2610 >     if test "$*" = "X"; then
2611 >        # -L didn't work.
2612 >        set X `ls -t "$srcdir/configure" conftest.file`
2613 >     fi
2614 >     if test "$*" != "X $srcdir/configure conftest.file" \
2615 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2616  
2617 +        # If neither matched, then we have a broken ls.  This can happen
2618 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2619 +        # broken ls alias from the environment.  This has actually
2620 +        # happened.  Such a system could not be considered "sane".
2621 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2622 +  alias in your environment" "$LINENO" 5
2623 +     fi
2624 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2625 +       break
2626 +     fi
2627 +     # Just in case.
2628 +     sleep 1
2629 +     am_has_slept=yes
2630 +   done
2631     test "$2" = conftest.file
2632     )
2633   then
2634     # Ok.
2635     :
2636   else
2637 <   as_fn_error "newly created file is older than distributed files!
2637 >   as_fn_error $? "newly created file is older than distributed files!
2638   Check your system clock" "$LINENO" 5
2639   fi
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2641   $as_echo "yes" >&6; }
2642 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2643 + # generated files are strictly newer.
2644 + am_sleep_pid=
2645 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2646 +  ( sleep 1 ) &
2647 +  am_sleep_pid=$!
2648 + fi
2649 +
2650 + rm -f conftest.file
2651 +
2652   test "$program_prefix" != NONE &&
2653    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2654   # Use a double $ so make ignores it.
# Line 2936 | Line 2671 | if test x"${MISSING+set}" != xset; then
2671    esac
2672   fi
2673   # Use eval to expand $SHELL
2674 < if eval "$MISSING --run true"; then
2675 <  am_missing_run="$MISSING --run "
2674 > if eval "$MISSING --is-lightweight"; then
2675 >  am_missing_run="$MISSING "
2676   else
2677    am_missing_run=
2678 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2679 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2678 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2679 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2680   fi
2681  
2682   if test x"${install_sh}" != xset; then
# Line 2953 | Line 2688 | if test x"${install_sh}" != xset; then
2688    esac
2689   fi
2690  
2691 < # Installed binaries are usually stripped using `strip' when the user
2692 < # run `make install-strip'.  However `strip' might not be the right
2691 > # Installed binaries are usually stripped using 'strip' when the user
2692 > # run "make install-strip".  However 'strip' might not be the right
2693   # tool to use in cross-compilation environments, therefore Automake
2694 < # will honor the `STRIP' environment variable to overrule this program.
2694 > # will honor the 'STRIP' environment variable to overrule this program.
2695   if test "$cross_compiling" != no; then
2696    if test -n "$ac_tool_prefix"; then
2697    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2698   set dummy ${ac_tool_prefix}strip; ac_word=$2
2699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700   $as_echo_n "checking for $ac_word... " >&6; }
2701 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2701 > if ${ac_cv_prog_STRIP+:} false; then :
2702    $as_echo_n "(cached) " >&6
2703   else
2704    if test -n "$STRIP"; then
# Line 2975 | Line 2710 | do
2710    IFS=$as_save_IFS
2711    test -z "$as_dir" && as_dir=.
2712      for ac_exec_ext in '' $ac_executable_extensions; do
2713 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2715      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716      break 2
# Line 3003 | Line 2738 | if test -z "$ac_cv_prog_STRIP"; then
2738   set dummy strip; ac_word=$2
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740   $as_echo_n "checking for $ac_word... " >&6; }
2741 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2741 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2742    $as_echo_n "(cached) " >&6
2743   else
2744    if test -n "$ac_ct_STRIP"; then
# Line 3015 | Line 2750 | do
2750    IFS=$as_save_IFS
2751    test -z "$as_dir" && as_dir=.
2752      for ac_exec_ext in '' $ac_executable_extensions; do
2753 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2753 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2754      ac_cv_prog_ac_ct_STRIP="strip"
2755      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756      break 2
# Line 3056 | Line 2791 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2792   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2793   if test -z "$MKDIR_P"; then
2794 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2794 >  if ${ac_cv_path_mkdir+:} false; then :
2795    $as_echo_n "(cached) " >&6
2796   else
2797    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3066 | Line 2801 | do
2801    test -z "$as_dir" && as_dir=.
2802      for ac_prog in mkdir gmkdir; do
2803           for ac_exec_ext in '' $ac_executable_extensions; do
2804 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2804 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2805             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2806               'mkdir (GNU coreutils) '* | \
2807               'mkdir (coreutils) '* | \
# Line 3081 | Line 2816 | IFS=$as_save_IFS
2816  
2817   fi
2818  
2819 +  test -d ./--version && rmdir ./--version
2820    if test "${ac_cv_path_mkdir+set}" = set; then
2821      MKDIR_P="$ac_cv_path_mkdir -p"
2822    else
# Line 3088 | Line 2824 | fi
2824      # value for MKDIR_P within a source directory, because that will
2825      # break other packages using the cache if that directory is
2826      # removed, or if the value is a relative name.
3091    test -d ./--version && rmdir ./--version
2827      MKDIR_P="$ac_install_sh -d"
2828    fi
2829   fi
2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2831   $as_echo "$MKDIR_P" >&6; }
2832  
3098 mkdir_p="$MKDIR_P"
3099 case $mkdir_p in
3100  [\\/$]* | ?:[\\/]*) ;;
3101  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3102 esac
3103
2833   for ac_prog in gawk mawk nawk awk
2834   do
2835    # Extract the first word of "$ac_prog", so it can be a program name with args.
2836   set dummy $ac_prog; ac_word=$2
2837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838   $as_echo_n "checking for $ac_word... " >&6; }
2839 < if test "${ac_cv_prog_AWK+set}" = set; then :
2839 > if ${ac_cv_prog_AWK+:} false; then :
2840    $as_echo_n "(cached) " >&6
2841   else
2842    if test -n "$AWK"; then
# Line 3119 | Line 2848 | do
2848    IFS=$as_save_IFS
2849    test -z "$as_dir" && as_dir=.
2850      for ac_exec_ext in '' $ac_executable_extensions; do
2851 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2851 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2852      ac_cv_prog_AWK="$ac_prog"
2853      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854      break 2
# Line 3147 | Line 2876 | done
2876   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2877   set x ${MAKE-make}
2878   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2879 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2879 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2880    $as_echo_n "(cached) " >&6
2881   else
2882    cat >conftest.make <<\_ACEOF
# Line 3155 | Line 2884 | SHELL = /bin/sh
2884   all:
2885          @echo '@@@%%%=$(MAKE)=@@@%%%'
2886   _ACEOF
2887 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2887 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2888   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2889    *@@@%%%=?*=@@@%%%*)
2890      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3183 | Line 2912 | else
2912   fi
2913   rmdir .tst 2>/dev/null
2914  
2915 + # Check whether --enable-silent-rules was given.
2916 + if test "${enable_silent_rules+set}" = set; then :
2917 +  enableval=$enable_silent_rules;
2918 + fi
2919 +
2920 + case $enable_silent_rules in # (((
2921 +  yes) AM_DEFAULT_VERBOSITY=0;;
2922 +   no) AM_DEFAULT_VERBOSITY=1;;
2923 +    *) AM_DEFAULT_VERBOSITY=1;;
2924 + esac
2925 + am_make=${MAKE-make}
2926 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2927 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2928 + if ${am_cv_make_support_nested_variables+:} false; then :
2929 +  $as_echo_n "(cached) " >&6
2930 + else
2931 +  if $as_echo 'TRUE=$(BAR$(V))
2932 + BAR0=false
2933 + BAR1=true
2934 + V=1
2935 + am__doit:
2936 +        @$(TRUE)
2937 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2938 +  am_cv_make_support_nested_variables=yes
2939 + else
2940 +  am_cv_make_support_nested_variables=no
2941 + fi
2942 + fi
2943 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2944 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2945 + if test $am_cv_make_support_nested_variables = yes; then
2946 +    AM_V='$(V)'
2947 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2948 + else
2949 +  AM_V=$AM_DEFAULT_VERBOSITY
2950 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2951 + fi
2952 + AM_BACKSLASH='\'
2953 +
2954   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2955    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2956    # is not polluted with repeated "-I."
2957    am__isrc=' -I$(srcdir)'
2958    # test to see if srcdir already configured
2959    if test -f $srcdir/config.status; then
2960 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2960 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2961    fi
2962   fi
2963  
# Line 3205 | Line 2973 | fi
2973  
2974   # Define the identity of the package.
2975   PACKAGE='ircd-hybrid'
2976 < VERSION='7.2.4'
2976 > VERSION='8.0.3'
2977  
2978  
2979   cat >>confdefs.h <<_ACEOF
# Line 3233 | Line 3001 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
3001  
3002   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3003  
3004 + # For better backward compatibility.  To be removed once Automake 1.9.x
3005 + # dies out for good.  For more background, see:
3006 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3007 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3008 + mkdir_p='$(MKDIR_P)'
3009 +
3010   # We need awk for the "check" target.  The system "awk" is bad on
3011   # some platforms.
3012 < # Always define AMTAR for backward compatibility.
3012 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3013 > # in the wild :-(  We should find a proper way to deprecate it ...
3014 > AMTAR='$${TAR-tar}'
3015  
3016 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3241 <
3242 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3016 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3017  
3018  
3019  
# Line 3272 | Line 3046 | ac_config_headers="$ac_config_headers co
3046  
3047  
3048  
3275
3049   # Checks for programs.
3050 + DEPDIR="${am__leading_dot}deps"
3051 +
3052 + ac_config_commands="$ac_config_commands depfiles"
3053 +
3054 +
3055 + am_make=${MAKE-make}
3056 + cat > confinc << 'END'
3057 + am__doit:
3058 +        @echo this is the am__doit target
3059 + .PHONY: am__doit
3060 + END
3061 + # If we don't find an include directive, just comment out the code.
3062 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3063 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3064 + am__include="#"
3065 + am__quote=
3066 + _am_result=none
3067 + # First try GNU make style include.
3068 + echo "include confinc" > confmf
3069 + # Ignore all kinds of additional output from 'make'.
3070 + case `$am_make -s -f confmf 2> /dev/null` in #(
3071 + *the\ am__doit\ target*)
3072 +  am__include=include
3073 +  am__quote=
3074 +  _am_result=GNU
3075 +  ;;
3076 + esac
3077 + # Now try BSD make style include.
3078 + if test "$am__include" = "#"; then
3079 +   echo '.include "confinc"' > confmf
3080 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3081 +   *the\ am__doit\ target*)
3082 +     am__include=.include
3083 +     am__quote="\""
3084 +     _am_result=BSD
3085 +     ;;
3086 +   esac
3087 + fi
3088 +
3089 +
3090 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3091 + $as_echo "$_am_result" >&6; }
3092 + rm -f confinc confmf
3093 +
3094 + # Check whether --enable-dependency-tracking was given.
3095 + if test "${enable_dependency_tracking+set}" = set; then :
3096 +  enableval=$enable_dependency_tracking;
3097 + fi
3098 +
3099 + if test "x$enable_dependency_tracking" != xno; then
3100 +  am_depcomp="$ac_aux_dir/depcomp"
3101 +  AMDEPBACKSLASH='\'
3102 +  am__nodep='_no'
3103 + fi
3104 + if test "x$enable_dependency_tracking" != xno; then
3105 +  AMDEP_TRUE=
3106 +  AMDEP_FALSE='#'
3107 + else
3108 +  AMDEP_TRUE='#'
3109 +  AMDEP_FALSE=
3110 + fi
3111 +
3112 +
3113   ac_ext=c
3114   ac_cpp='$CPP $CPPFLAGS'
3115   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3284 | Line 3120 | if test -n "$ac_tool_prefix"; then
3120   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122   $as_echo_n "checking for $ac_word... " >&6; }
3123 < if test "${ac_cv_prog_CC+set}" = set; then :
3123 > if ${ac_cv_prog_CC+:} false; then :
3124    $as_echo_n "(cached) " >&6
3125   else
3126    if test -n "$CC"; then
# Line 3296 | Line 3132 | do
3132    IFS=$as_save_IFS
3133    test -z "$as_dir" && as_dir=.
3134      for ac_exec_ext in '' $ac_executable_extensions; do
3135 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3135 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3136      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3137      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138      break 2
# Line 3324 | Line 3160 | if test -z "$ac_cv_prog_CC"; then
3160   set dummy gcc; ac_word=$2
3161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162   $as_echo_n "checking for $ac_word... " >&6; }
3163 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3163 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3164    $as_echo_n "(cached) " >&6
3165   else
3166    if test -n "$ac_ct_CC"; then
# Line 3336 | Line 3172 | do
3172    IFS=$as_save_IFS
3173    test -z "$as_dir" && as_dir=.
3174      for ac_exec_ext in '' $ac_executable_extensions; do
3175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176      ac_cv_prog_ac_ct_CC="gcc"
3177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178      break 2
# Line 3377 | Line 3213 | if test -z "$CC"; then
3213   set dummy ${ac_tool_prefix}cc; ac_word=$2
3214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215   $as_echo_n "checking for $ac_word... " >&6; }
3216 < if test "${ac_cv_prog_CC+set}" = set; then :
3216 > if ${ac_cv_prog_CC+:} false; then :
3217    $as_echo_n "(cached) " >&6
3218   else
3219    if test -n "$CC"; then
# Line 3389 | Line 3225 | do
3225    IFS=$as_save_IFS
3226    test -z "$as_dir" && as_dir=.
3227      for ac_exec_ext in '' $ac_executable_extensions; do
3228 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3228 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229      ac_cv_prog_CC="${ac_tool_prefix}cc"
3230      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231      break 2
# Line 3417 | Line 3253 | if test -z "$CC"; then
3253   set dummy cc; ac_word=$2
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255   $as_echo_n "checking for $ac_word... " >&6; }
3256 < if test "${ac_cv_prog_CC+set}" = set; then :
3256 > if ${ac_cv_prog_CC+:} false; then :
3257    $as_echo_n "(cached) " >&6
3258   else
3259    if test -n "$CC"; then
# Line 3430 | Line 3266 | do
3266    IFS=$as_save_IFS
3267    test -z "$as_dir" && as_dir=.
3268      for ac_exec_ext in '' $ac_executable_extensions; do
3269 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3270      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3271         ac_prog_rejected=yes
3272         continue
# Line 3476 | Line 3312 | if test -z "$CC"; then
3312   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314   $as_echo_n "checking for $ac_word... " >&6; }
3315 < if test "${ac_cv_prog_CC+set}" = set; then :
3315 > if ${ac_cv_prog_CC+:} false; then :
3316    $as_echo_n "(cached) " >&6
3317   else
3318    if test -n "$CC"; then
# Line 3488 | Line 3324 | do
3324    IFS=$as_save_IFS
3325    test -z "$as_dir" && as_dir=.
3326      for ac_exec_ext in '' $ac_executable_extensions; do
3327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3328      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3330      break 2
# Line 3520 | Line 3356 | do
3356   set dummy $ac_prog; ac_word=$2
3357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358   $as_echo_n "checking for $ac_word... " >&6; }
3359 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3359 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3360    $as_echo_n "(cached) " >&6
3361   else
3362    if test -n "$ac_ct_CC"; then
# Line 3532 | Line 3368 | do
3368    IFS=$as_save_IFS
3369    test -z "$as_dir" && as_dir=.
3370      for ac_exec_ext in '' $ac_executable_extensions; do
3371 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372      ac_cv_prog_ac_ct_CC="$ac_prog"
3373      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374      break 2
# Line 3574 | Line 3410 | fi
3410  
3411   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 < as_fn_error "no acceptable C compiler found in \$PATH
3414 < See \`config.log' for more details." "$LINENO" 5; }
3413 > as_fn_error $? "no acceptable C compiler found in \$PATH
3414 > See \`config.log' for more details" "$LINENO" 5; }
3415  
3416   # Provide some information about the compiler.
3417   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3596 | Line 3432 | $as_echo "$ac_try_echo"; } >&5
3432   ... rest of stderr output deleted ...
3433           10q' conftest.err >conftest.er1
3434      cat conftest.er1 >&5
3599    rm -f conftest.er1 conftest.err
3435    fi
3436 +  rm -f conftest.er1 conftest.err
3437    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438    test $ac_status = 0; }
3439   done
3440  
3441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442   /* end confdefs.h.  */
3443 < #include <stdio.h>
3443 >
3444   int
3445   main ()
3446   {
3611 FILE *f = fopen ("conftest.out", "w");
3612 return ferror (f) || fclose (f) != 0;
3447  
3448    ;
3449    return 0;
3450   }
3451   _ACEOF
3452   ac_clean_files_save=$ac_clean_files
3453 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3453 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3454   # Try to create an executable without -o first, disregard a.out.
3455   # It will help us diagnose broken compilers, and finding out an intuition
3456   # of exeext.
3457 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3458 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3457 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3458 > $as_echo_n "checking whether the C compiler works... " >&6; }
3459   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3460  
3461   # The possible output files:
# Line 3683 | Line 3517 | test "$ac_cv_exeext" = no && ac_cv_exeex
3517   else
3518    ac_file=''
3519   fi
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3687 $as_echo "$ac_file" >&6; }
3520   if test -z "$ac_file"; then :
3521 <  $as_echo "$as_me: failed program was:" >&5
3521 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3522 > $as_echo "no" >&6; }
3523 > $as_echo "$as_me: failed program was:" >&5
3524   sed 's/^/| /' conftest.$ac_ext >&5
3525  
3526   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3527   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3528 < { as_fn_set_status 77
3529 < as_fn_error "C compiler cannot create executables
3530 < See \`config.log' for more details." "$LINENO" 5; }; }
3528 > as_fn_error 77 "C compiler cannot create executables
3529 > See \`config.log' for more details" "$LINENO" 5; }
3530 > else
3531 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3532 > $as_echo "yes" >&6; }
3533   fi
3534 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3535 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3536 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3537 + $as_echo "$ac_file" >&6; }
3538   ac_exeext=$ac_cv_exeext
3539  
3540 < # Check that the compiler produces executables we can run.  If not, either
3701 < # the compiler is broken, or we cross compile.
3702 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3703 < $as_echo_n "checking whether the C compiler works... " >&6; }
3704 < # If not cross compiling, check that we can run a simple program.
3705 < if test "$cross_compiling" != yes; then
3706 <  if { ac_try='./$ac_file'
3707 <  { { case "(($ac_try" in
3708 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709 <  *) ac_try_echo=$ac_try;;
3710 < esac
3711 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 < $as_echo "$ac_try_echo"; } >&5
3713 <  (eval "$ac_try") 2>&5
3714 <  ac_status=$?
3715 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 <  test $ac_status = 0; }; }; then
3717 <    cross_compiling=no
3718 <  else
3719 <    if test "$cross_compiling" = maybe; then
3720 <        cross_compiling=yes
3721 <    else
3722 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 < as_fn_error "cannot run C compiled programs.
3725 < If you meant to cross compile, use \`--host'.
3726 < See \`config.log' for more details." "$LINENO" 5; }
3727 <    fi
3728 <  fi
3729 < fi
3730 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3731 < $as_echo "yes" >&6; }
3732 <
3733 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3540 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3541   ac_clean_files=$ac_clean_files_save
3735 # Check that the compiler produces executables we can run.  If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738 $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3740 $as_echo "$cross_compiling" >&6; }
3741
3542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3543   $as_echo_n "checking for suffix of executables... " >&6; }
3544   if { { ac_try="$ac_link"
# Line 3768 | Line 3568 | done
3568   else
3569    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3570   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3571 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3572 < See \`config.log' for more details." "$LINENO" 5; }
3571 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3572 > See \`config.log' for more details" "$LINENO" 5; }
3573   fi
3574 < rm -f conftest$ac_cv_exeext
3574 > rm -f conftest conftest$ac_cv_exeext
3575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3576   $as_echo "$ac_cv_exeext" >&6; }
3577  
3578   rm -f conftest.$ac_ext
3579   EXEEXT=$ac_cv_exeext
3580   ac_exeext=$EXEEXT
3581 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 + /* end confdefs.h.  */
3583 + #include <stdio.h>
3584 + int
3585 + main ()
3586 + {
3587 + FILE *f = fopen ("conftest.out", "w");
3588 + return ferror (f) || fclose (f) != 0;
3589 +
3590 +  ;
3591 +  return 0;
3592 + }
3593 + _ACEOF
3594 + ac_clean_files="$ac_clean_files conftest.out"
3595 + # Check that the compiler produces executables we can run.  If not, either
3596 + # the compiler is broken, or we cross compile.
3597 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3598 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3599 + if test "$cross_compiling" != yes; then
3600 +  { { ac_try="$ac_link"
3601 + case "(($ac_try" in
3602 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603 +  *) ac_try_echo=$ac_try;;
3604 + esac
3605 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606 + $as_echo "$ac_try_echo"; } >&5
3607 +  (eval "$ac_link") 2>&5
3608 +  ac_status=$?
3609 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610 +  test $ac_status = 0; }
3611 +  if { ac_try='./conftest$ac_cv_exeext'
3612 +  { { case "(($ac_try" in
3613 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614 +  *) ac_try_echo=$ac_try;;
3615 + esac
3616 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3617 + $as_echo "$ac_try_echo"; } >&5
3618 +  (eval "$ac_try") 2>&5
3619 +  ac_status=$?
3620 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3621 +  test $ac_status = 0; }; }; then
3622 +    cross_compiling=no
3623 +  else
3624 +    if test "$cross_compiling" = maybe; then
3625 +        cross_compiling=yes
3626 +    else
3627 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629 + as_fn_error $? "cannot run C compiled programs.
3630 + If you meant to cross compile, use \`--host'.
3631 + See \`config.log' for more details" "$LINENO" 5; }
3632 +    fi
3633 +  fi
3634 + fi
3635 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3636 + $as_echo "$cross_compiling" >&6; }
3637 +
3638 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3639 + ac_clean_files=$ac_clean_files_save
3640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3641   $as_echo_n "checking for suffix of object files... " >&6; }
3642 < if test "${ac_cv_objext+set}" = set; then :
3642 > if ${ac_cv_objext+:} false; then :
3643    $as_echo_n "(cached) " >&6
3644   else
3645    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3820 | Line 3679 | sed 's/^/| /' conftest.$ac_ext >&5
3679  
3680   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682 < as_fn_error "cannot compute suffix of object files: cannot compile
3683 < See \`config.log' for more details." "$LINENO" 5; }
3682 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3683 > See \`config.log' for more details" "$LINENO" 5; }
3684   fi
3685   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3686   fi
# Line 3831 | Line 3690 | OBJEXT=$ac_cv_objext
3690   ac_objext=$OBJEXT
3691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3692   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3693 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3693 > if ${ac_cv_c_compiler_gnu+:} false; then :
3694    $as_echo_n "(cached) " >&6
3695   else
3696    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3868 | Line 3727 | ac_test_CFLAGS=${CFLAGS+set}
3727   ac_save_CFLAGS=$CFLAGS
3728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3729   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3730 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3730 > if ${ac_cv_prog_cc_g+:} false; then :
3731    $as_echo_n "(cached) " >&6
3732   else
3733    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3946 | Line 3805 | else
3805   fi
3806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3807   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3808 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3808 > if ${ac_cv_prog_cc_c89+:} false; then :
3809    $as_echo_n "(cached) " >&6
3810   else
3811    ac_cv_prog_cc_c89=no
# Line 3955 | Line 3814 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3814   /* end confdefs.h.  */
3815   #include <stdarg.h>
3816   #include <stdio.h>
3817 < #include <sys/types.h>
3959 < #include <sys/stat.h>
3817 > struct stat;
3818   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3819   struct buf { int x; };
3820   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 4040 | Line 3898 | ac_cpp='$CPP $CPPFLAGS'
3898   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3899   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3900   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4043 DEPDIR="${am__leading_dot}deps"
4044
4045 ac_config_commands="$ac_config_commands depfiles"
4046
4047
4048 am_make=${MAKE-make}
4049 cat > confinc << 'END'
4050 am__doit:
4051        @echo this is the am__doit target
4052 .PHONY: am__doit
4053 END
4054 # If we don't find an include directive, just comment out the code.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4056 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4057 am__include="#"
4058 am__quote=
4059 _am_result=none
4060 # First try GNU make style include.
4061 echo "include confinc" > confmf
4062 # Ignore all kinds of additional output from `make'.
4063 case `$am_make -s -f confmf 2> /dev/null` in #(
4064 *the\ am__doit\ target*)
4065  am__include=include
4066  am__quote=
4067  _am_result=GNU
4068  ;;
4069 esac
4070 # Now try BSD make style include.
4071 if test "$am__include" = "#"; then
4072   echo '.include "confinc"' > confmf
4073   case `$am_make -s -f confmf 2> /dev/null` in #(
4074   *the\ am__doit\ target*)
4075     am__include=.include
4076     am__quote="\""
4077     _am_result=BSD
4078     ;;
4079   esac
4080 fi
4081
4082
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4084 $as_echo "$_am_result" >&6; }
4085 rm -f confinc confmf
4086
4087 # Check whether --enable-dependency-tracking was given.
4088 if test "${enable_dependency_tracking+set}" = set; then :
4089  enableval=$enable_dependency_tracking;
4090 fi
4091
4092 if test "x$enable_dependency_tracking" != xno; then
4093  am_depcomp="$ac_aux_dir/depcomp"
4094  AMDEPBACKSLASH='\'
4095 fi
4096 if test "x$enable_dependency_tracking" != xno; then
4097  AMDEP_TRUE=
4098  AMDEP_FALSE='#'
4099 else
4100  AMDEP_TRUE='#'
4101  AMDEP_FALSE=
4102 fi
4103
4104
3901  
3902   depcc="$CC"   am_compiler_list=
3903  
3904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3905   $as_echo_n "checking dependency style of $depcc... " >&6; }
3906 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3906 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3907    $as_echo_n "(cached) " >&6
3908   else
3909    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3910    # We make a subdir and do the tests there.  Otherwise we can end up
3911    # making bogus files that we don't know about and never remove.  For
3912    # instance it was reported that on HP-UX the gcc test will end up
3913 <  # making a dummy file named `D' -- because `-MD' means `put the output
3914 <  # in D'.
3913 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3914 >  # in D".
3915 >  rm -rf conftest.dir
3916    mkdir conftest.dir
3917    # Copy depcomp to subdir because otherwise we won't find it if we're
3918    # using a relative directory.
# Line 4149 | Line 3946 | else
3946      : > sub/conftest.c
3947      for i in 1 2 3 4 5 6; do
3948        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3949 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3950 <      # Solaris 8's {/usr,}/bin/sh.
3951 <      touch sub/conftst$i.h
3949 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3950 >      # Solaris 10 /bin/sh.
3951 >      echo '/* dummy */' > sub/conftst$i.h
3952      done
3953      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3954  
3955 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3955 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3956      # mode.  It turns out that the SunPro C++ compiler does not properly
3957 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3958 <    # versions had trouble with output in subdirs
3957 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3958 >    # versions had trouble with output in subdirs.
3959      am__obj=sub/conftest.${OBJEXT-o}
3960      am__minus_obj="-o $am__obj"
3961      case $depmode in
# Line 4167 | Line 3964 | else
3964        test "$am__universal" = false || continue
3965        ;;
3966      nosideeffect)
3967 <      # after this tag, mechanisms are not by side-effect, so they'll
3968 <      # only be used when explicitly requested
3967 >      # After this tag, mechanisms are not by side-effect, so they'll
3968 >      # only be used when explicitly requested.
3969        if test "x$enable_dependency_tracking" = xyes; then
3970          continue
3971        else
3972          break
3973        fi
3974        ;;
3975 <    msvisualcpp | msvcmsys)
3976 <      # This compiler won't grok `-c -o', but also, the minuso test has
3975 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3976 >      # This compiler won't grok '-c -o', but also, the minuso test has
3977        # not run yet.  These depmodes are late enough in the game, and
3978        # so weak that their functioning should not be impacted.
3979        am__obj=conftest.${OBJEXT-o}
# Line 4230 | Line 4027 | else
4027   fi
4028  
4029  
4030 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4031 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4032 + if ${ac_cv_prog_cc_c99+:} false; then :
4033 +  $as_echo_n "(cached) " >&6
4034 + else
4035 +  ac_cv_prog_cc_c99=no
4036 + ac_save_CC=$CC
4037 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 + /* end confdefs.h.  */
4039 + #include <stdarg.h>
4040 + #include <stdbool.h>
4041 + #include <stdlib.h>
4042 + #include <wchar.h>
4043 + #include <stdio.h>
4044 +
4045 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4046 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4047 + #define showlist(...) puts (#__VA_ARGS__)
4048 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4049 + static void
4050 + test_varargs_macros (void)
4051 + {
4052 +  int x = 1234;
4053 +  int y = 5678;
4054 +  debug ("Flag");
4055 +  debug ("X = %d\n", x);
4056 +  showlist (The first, second, and third items.);
4057 +  report (x>y, "x is %d but y is %d", x, y);
4058 + }
4059 +
4060 + // Check long long types.
4061 + #define BIG64 18446744073709551615ull
4062 + #define BIG32 4294967295ul
4063 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4064 + #if !BIG_OK
4065 +  your preprocessor is broken;
4066 + #endif
4067 + #if BIG_OK
4068 + #else
4069 +  your preprocessor is broken;
4070 + #endif
4071 + static long long int bignum = -9223372036854775807LL;
4072 + static unsigned long long int ubignum = BIG64;
4073 +
4074 + struct incomplete_array
4075 + {
4076 +  int datasize;
4077 +  double data[];
4078 + };
4079 +
4080 + struct named_init {
4081 +  int number;
4082 +  const wchar_t *name;
4083 +  double average;
4084 + };
4085 +
4086 + typedef const char *ccp;
4087 +
4088 + static inline int
4089 + test_restrict (ccp restrict text)
4090 + {
4091 +  // See if C++-style comments work.
4092 +  // Iterate through items via the restricted pointer.
4093 +  // Also check for declarations in for loops.
4094 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4095 +    continue;
4096 +  return 0;
4097 + }
4098 +
4099 + // Check varargs and va_copy.
4100 + static void
4101 + test_varargs (const char *format, ...)
4102 + {
4103 +  va_list args;
4104 +  va_start (args, format);
4105 +  va_list args_copy;
4106 +  va_copy (args_copy, args);
4107 +
4108 +  const char *str;
4109 +  int number;
4110 +  float fnumber;
4111 +
4112 +  while (*format)
4113 +    {
4114 +      switch (*format++)
4115 +        {
4116 +        case 's': // string
4117 +          str = va_arg (args_copy, const char *);
4118 +          break;
4119 +        case 'd': // int
4120 +          number = va_arg (args_copy, int);
4121 +          break;
4122 +        case 'f': // float
4123 +          fnumber = va_arg (args_copy, double);
4124 +          break;
4125 +        default:
4126 +          break;
4127 +        }
4128 +    }
4129 +  va_end (args_copy);
4130 +  va_end (args);
4131 + }
4132 +
4133 + int
4134 + main ()
4135 + {
4136 +
4137 +  // Check bool.
4138 +  _Bool success = false;
4139 +
4140 +  // Check restrict.
4141 +  if (test_restrict ("String literal") == 0)
4142 +    success = true;
4143 +  char *restrict newvar = "Another string";
4144 +
4145 +  // Check varargs.
4146 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4147 +  test_varargs_macros ();
4148 +
4149 +  // Check flexible array members.
4150 +  struct incomplete_array *ia =
4151 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4152 +  ia->datasize = 10;
4153 +  for (int i = 0; i < ia->datasize; ++i)
4154 +    ia->data[i] = i * 1.234;
4155 +
4156 +  // Check named initializers.
4157 +  struct named_init ni = {
4158 +    .number = 34,
4159 +    .name = L"Test wide string",
4160 +    .average = 543.34343,
4161 +  };
4162 +
4163 +  ni.number = 58;
4164 +
4165 +  int dynamic_array[ni.number];
4166 +  dynamic_array[ni.number - 1] = 543;
4167 +
4168 +  // work around unused variable warnings
4169 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4170 +          || dynamic_array[ni.number - 1] != 543);
4171 +
4172 +  ;
4173 +  return 0;
4174 + }
4175 + _ACEOF
4176 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4177 + do
4178 +  CC="$ac_save_CC $ac_arg"
4179 +  if ac_fn_c_try_compile "$LINENO"; then :
4180 +  ac_cv_prog_cc_c99=$ac_arg
4181 + fi
4182 + rm -f core conftest.err conftest.$ac_objext
4183 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4184 + done
4185 + rm -f conftest.$ac_ext
4186 + CC=$ac_save_CC
4187 +
4188 + fi
4189 + # AC_CACHE_VAL
4190 + case "x$ac_cv_prog_cc_c99" in
4191 +  x)
4192 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4193 + $as_echo "none needed" >&6; } ;;
4194 +  xno)
4195 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4196 + $as_echo "unsupported" >&6; } ;;
4197 +  *)
4198 +    CC="$CC $ac_cv_prog_cc_c99"
4199 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4200 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4201 + esac
4202 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4203 +
4204 + fi
4205 +
4206 +
4207 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4208 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4209 + fi
4210   for ac_prog in 'bison -y' byacc
4211   do
4212    # Extract the first word of "$ac_prog", so it can be a program name with args.
4213   set dummy $ac_prog; ac_word=$2
4214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215   $as_echo_n "checking for $ac_word... " >&6; }
4216 < if test "${ac_cv_prog_YACC+set}" = set; then :
4216 > if ${ac_cv_prog_YACC+:} false; then :
4217    $as_echo_n "(cached) " >&6
4218   else
4219    if test -n "$YACC"; then
# Line 4248 | Line 4225 | do
4225    IFS=$as_save_IFS
4226    test -z "$as_dir" && as_dir=.
4227      for ac_exec_ext in '' $ac_executable_extensions; do
4228 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4229      ac_cv_prog_YACC="$ac_prog"
4230      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4231      break 2
# Line 4280 | Line 4257 | do
4257   set dummy $ac_prog; ac_word=$2
4258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259   $as_echo_n "checking for $ac_word... " >&6; }
4260 < if test "${ac_cv_prog_LEX+set}" = set; then :
4260 > if ${ac_cv_prog_LEX+:} false; then :
4261    $as_echo_n "(cached) " >&6
4262   else
4263    if test -n "$LEX"; then
# Line 4292 | Line 4269 | do
4269    IFS=$as_save_IFS
4270    test -z "$as_dir" && as_dir=.
4271      for ac_exec_ext in '' $ac_executable_extensions; do
4272 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4273      ac_cv_prog_LEX="$ac_prog"
4274      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4275      break 2
# Line 4324 | Line 4301 | a { ECHO; }
4301   b { REJECT; }
4302   c { yymore (); }
4303   d { yyless (1); }
4304 < e { yyless (input () != 0); }
4304 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4305 >    yyless ((input () != 0)); }
4306   f { unput (yytext[0]); }
4307   . { BEGIN INITIAL; }
4308   %%
# Line 4350 | Line 4328 | $as_echo "$ac_try_echo"; } >&5
4328    test $ac_status = 0; }
4329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4330   $as_echo_n "checking lex output file root... " >&6; }
4331 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4331 > if ${ac_cv_prog_lex_root+:} false; then :
4332    $as_echo_n "(cached) " >&6
4333   else
4334  
# Line 4359 | Line 4337 | if test -f lex.yy.c; then
4337   elif test -f lexyy.c; then
4338    ac_cv_prog_lex_root=lexyy
4339   else
4340 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4340 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4341   fi
4342   fi
4343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4369 | Line 4347 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4347   if test -z "${LEXLIB+set}"; then
4348    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4349   $as_echo_n "checking lex library... " >&6; }
4350 < if test "${ac_cv_lib_lex+set}" = set; then :
4350 > if ${ac_cv_lib_lex+:} false; then :
4351    $as_echo_n "(cached) " >&6
4352   else
4353  
# Line 4399 | Line 4377 | fi
4377  
4378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4379   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4380 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4380 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4381    $as_echo_n "(cached) " >&6
4382   else
4383    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4410 | Line 4388 | ac_save_LIBS=$LIBS
4388   LIBS="$LEXLIB $ac_save_LIBS"
4389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390   /* end confdefs.h.  */
4391 < #define YYTEXT_POINTER 1
4391 >
4392 >  #define YYTEXT_POINTER 1
4393   `cat $LEX_OUTPUT_ROOT.c`
4394   _ACEOF
4395   if ac_fn_c_try_link "$LINENO"; then :
# Line 4436 | Line 4415 | if test "$LEX" = :; then
4415   fi
4416  
4417  
4418 + # Initializing libtool.
4419 +
4420 +
4421 +
4422 +
4423 +
4424 +
4425  
4440 #ltdl stuff
4426   case `pwd` in
4427    *\ * | *\     *)
4428      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4446 | Line 4431 | esac
4431  
4432  
4433  
4434 < macro_version='2.2.6'
4435 < macro_revision='1.3012'
4434 > macro_version='2.4.2'
4435 > macro_revision='1.3337'
4436  
4437  
4438  
# Line 4465 | Line 4450 | ltmain="$ac_aux_dir/ltmain.sh"
4450  
4451   # Make sure we can run config.sub.
4452   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4453 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4453 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4454  
4455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4456   $as_echo_n "checking build system type... " >&6; }
4457 < if test "${ac_cv_build+set}" = set; then :
4457 > if ${ac_cv_build+:} false; then :
4458    $as_echo_n "(cached) " >&6
4459   else
4460    ac_build_alias=$build_alias
4461   test "x$ac_build_alias" = x &&
4462    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4463   test "x$ac_build_alias" = x &&
4464 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4464 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4465   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4466 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4466 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4467  
4468   fi
4469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4470   $as_echo "$ac_cv_build" >&6; }
4471   case $ac_cv_build in
4472   *-*-*) ;;
4473 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4473 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4474   esac
4475   build=$ac_cv_build
4476   ac_save_IFS=$IFS; IFS='-'
# Line 4503 | Line 4488 | case $build_os in *\ *) build_os=`echo "
4488  
4489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4490   $as_echo_n "checking host system type... " >&6; }
4491 < if test "${ac_cv_host+set}" = set; then :
4491 > if ${ac_cv_host+:} false; then :
4492    $as_echo_n "(cached) " >&6
4493   else
4494    if test "x$host_alias" = x; then
4495    ac_cv_host=$ac_cv_build
4496   else
4497    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4498 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4498 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4499   fi
4500  
4501   fi
# Line 4518 | Line 4503 | fi
4503   $as_echo "$ac_cv_host" >&6; }
4504   case $ac_cv_host in
4505   *-*-*) ;;
4506 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4506 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4507   esac
4508   host=$ac_cv_host
4509   ac_save_IFS=$IFS; IFS='-'
# Line 4534 | Line 4519 | IFS=$ac_save_IFS
4519   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4520  
4521  
4522 + # Backslashify metacharacters that are still active within
4523 + # double-quoted strings.
4524 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4525 +
4526 + # Same as above, but do not quote variable references.
4527 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4528 +
4529 + # Sed substitution to delay expansion of an escaped shell variable in a
4530 + # double_quote_subst'ed string.
4531 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4532 +
4533 + # Sed substitution to delay expansion of an escaped single quote.
4534 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4535 +
4536 + # Sed substitution to avoid accidental globbing in evaled expressions
4537 + no_glob_subst='s/\*/\\\*/g'
4538 +
4539 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4540 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4541 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4542 +
4543 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4544 + $as_echo_n "checking how to print strings... " >&6; }
4545 + # Test print first, because it will be a builtin if present.
4546 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4547 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4548 +  ECHO='print -r --'
4549 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4550 +  ECHO='printf %s\n'
4551 + else
4552 +  # Use this function as a fallback that always works.
4553 +  func_fallback_echo ()
4554 +  {
4555 +    eval 'cat <<_LTECHO_EOF
4556 + $1
4557 + _LTECHO_EOF'
4558 +  }
4559 +  ECHO='func_fallback_echo'
4560 + fi
4561 +
4562 + # func_echo_all arg...
4563 + # Invoke $ECHO with all args, space-separated.
4564 + func_echo_all ()
4565 + {
4566 +    $ECHO ""
4567 + }
4568 +
4569 + case "$ECHO" in
4570 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4571 + $as_echo "printf" >&6; } ;;
4572 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4573 + $as_echo "print -r" >&6; } ;;
4574 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4575 + $as_echo "cat" >&6; } ;;
4576 + esac
4577 +
4578 +
4579 +
4580 +
4581 +
4582 +
4583 +
4584 +
4585 +
4586 +
4587 +
4588 +
4589 +
4590 +
4591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4592   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4593 < if test "${ac_cv_path_SED+set}" = set; then :
4593 > if ${ac_cv_path_SED+:} false; then :
4594    $as_echo_n "(cached) " >&6
4595   else
4596              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4556 | Line 4610 | do
4610      for ac_prog in sed gsed; do
4611      for ac_exec_ext in '' $ac_executable_extensions; do
4612        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4613 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4613 >      as_fn_executable_p "$ac_path_SED" || continue
4614   # Check for GNU ac_path_SED and select it if it is found.
4615    # Check for GNU $ac_path_SED
4616   case `"$ac_path_SED" --version 2>&1` in
# Line 4591 | Line 4645 | esac
4645    done
4646   IFS=$as_save_IFS
4647    if test -z "$ac_cv_path_SED"; then
4648 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4648 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4649    fi
4650   else
4651    ac_cv_path_SED=$SED
# Line 4618 | Line 4672 | Xsed="$SED -e 1s/^X//"
4672  
4673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4674   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4675 < if test "${ac_cv_path_GREP+set}" = set; then :
4675 > if ${ac_cv_path_GREP+:} false; then :
4676    $as_echo_n "(cached) " >&6
4677   else
4678    if test -z "$GREP"; then
# Line 4632 | Line 4686 | do
4686      for ac_prog in grep ggrep; do
4687      for ac_exec_ext in '' $ac_executable_extensions; do
4688        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4689 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4689 >      as_fn_executable_p "$ac_path_GREP" || continue
4690   # Check for GNU ac_path_GREP and select it if it is found.
4691    # Check for GNU $ac_path_GREP
4692   case `"$ac_path_GREP" --version 2>&1` in
# Line 4667 | Line 4721 | esac
4721    done
4722   IFS=$as_save_IFS
4723    if test -z "$ac_cv_path_GREP"; then
4724 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4724 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4725    fi
4726   else
4727    ac_cv_path_GREP=$GREP
# Line 4681 | Line 4735 | $as_echo "$ac_cv_path_GREP" >&6; }
4735  
4736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4737   $as_echo_n "checking for egrep... " >&6; }
4738 < if test "${ac_cv_path_EGREP+set}" = set; then :
4738 > if ${ac_cv_path_EGREP+:} false; then :
4739    $as_echo_n "(cached) " >&6
4740   else
4741    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4698 | Line 4752 | do
4752      for ac_prog in egrep; do
4753      for ac_exec_ext in '' $ac_executable_extensions; do
4754        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4755 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4755 >      as_fn_executable_p "$ac_path_EGREP" || continue
4756   # Check for GNU ac_path_EGREP and select it if it is found.
4757    # Check for GNU $ac_path_EGREP
4758   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4733 | Line 4787 | esac
4787    done
4788   IFS=$as_save_IFS
4789    if test -z "$ac_cv_path_EGREP"; then
4790 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4790 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4791    fi
4792   else
4793    ac_cv_path_EGREP=$EGREP
# Line 4748 | Line 4802 | $as_echo "$ac_cv_path_EGREP" >&6; }
4802  
4803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4804   $as_echo_n "checking for fgrep... " >&6; }
4805 < if test "${ac_cv_path_FGREP+set}" = set; then :
4805 > if ${ac_cv_path_FGREP+:} false; then :
4806    $as_echo_n "(cached) " >&6
4807   else
4808    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4765 | Line 4819 | do
4819      for ac_prog in fgrep; do
4820      for ac_exec_ext in '' $ac_executable_extensions; do
4821        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4822 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4822 >      as_fn_executable_p "$ac_path_FGREP" || continue
4823   # Check for GNU ac_path_FGREP and select it if it is found.
4824    # Check for GNU $ac_path_FGREP
4825   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4800 | Line 4854 | esac
4854    done
4855   IFS=$as_save_IFS
4856    if test -z "$ac_cv_path_FGREP"; then
4857 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4857 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4858    fi
4859   else
4860    ac_cv_path_FGREP=$FGREP
# Line 4879 | Line 4933 | else
4933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4934   $as_echo_n "checking for non-GNU ld... " >&6; }
4935   fi
4936 < if test "${lt_cv_path_LD+set}" = set; then :
4936 > if ${lt_cv_path_LD+:} false; then :
4937    $as_echo_n "(cached) " >&6
4938   else
4939    if test -z "$LD"; then
# Line 4916 | Line 4970 | else
4970    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971   $as_echo "no" >&6; }
4972   fi
4973 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4973 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4975   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4976 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4976 > if ${lt_cv_prog_gnu_ld+:} false; then :
4977    $as_echo_n "(cached) " >&6
4978   else
4979    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4946 | Line 5000 | with_gnu_ld=$lt_cv_prog_gnu_ld
5000  
5001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5002   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5003 < if test "${lt_cv_path_NM+set}" = set; then :
5003 > if ${lt_cv_path_NM+:} false; then :
5004    $as_echo_n "(cached) " >&6
5005   else
5006    if test -n "$NM"; then
# Line 4999 | Line 5053 | if test "$lt_cv_path_NM" != "no"; then
5053    NM="$lt_cv_path_NM"
5054   else
5055    # Didn't find any BSD compatible name lister, look for dumpbin.
5056 <  if test -n "$ac_tool_prefix"; then
5057 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5056 >  if test -n "$DUMPBIN"; then :
5057 >    # Let the user override the test.
5058 >  else
5059 >    if test -n "$ac_tool_prefix"; then
5060 >  for ac_prog in dumpbin "link -dump"
5061    do
5062      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5063   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065   $as_echo_n "checking for $ac_word... " >&6; }
5066 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5066 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5067    $as_echo_n "(cached) " >&6
5068   else
5069    if test -n "$DUMPBIN"; then
# Line 5018 | Line 5075 | do
5075    IFS=$as_save_IFS
5076    test -z "$as_dir" && as_dir=.
5077      for ac_exec_ext in '' $ac_executable_extensions; do
5078 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5079      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5080      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081      break 2
# Line 5044 | Line 5101 | fi
5101   fi
5102   if test -z "$DUMPBIN"; then
5103    ac_ct_DUMPBIN=$DUMPBIN
5104 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5104 >  for ac_prog in dumpbin "link -dump"
5105   do
5106    # Extract the first word of "$ac_prog", so it can be a program name with args.
5107   set dummy $ac_prog; ac_word=$2
5108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109   $as_echo_n "checking for $ac_word... " >&6; }
5110 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5110 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5111    $as_echo_n "(cached) " >&6
5112   else
5113    if test -n "$ac_ct_DUMPBIN"; then
# Line 5062 | Line 5119 | do
5119    IFS=$as_save_IFS
5120    test -z "$as_dir" && as_dir=.
5121      for ac_exec_ext in '' $ac_executable_extensions; do
5122 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5124      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125      break 2
# Line 5099 | Line 5156 | esac
5156    fi
5157   fi
5158  
5159 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5160 +    *COFF*)
5161 +      DUMPBIN="$DUMPBIN -symbols"
5162 +      ;;
5163 +    *)
5164 +      DUMPBIN=:
5165 +      ;;
5166 +    esac
5167 +  fi
5168  
5169    if test "$DUMPBIN" != ":"; then
5170      NM="$DUMPBIN"
# Line 5113 | Line 5179 | test -z "$NM" && NM=nm
5179  
5180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5181   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5182 < if test "${lt_cv_nm_interface+set}" = set; then :
5182 > if ${lt_cv_nm_interface+:} false; then :
5183    $as_echo_n "(cached) " >&6
5184   else
5185    lt_cv_nm_interface="BSD nm"
5186    echo "int some_variable = 0;" > conftest.$ac_ext
5187 <  (eval echo "\"\$as_me:5121: $ac_compile\"" >&5)
5187 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5188    (eval "$ac_compile" 2>conftest.err)
5189    cat conftest.err >&5
5190 <  (eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5190 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5191    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5192    cat conftest.err >&5
5193 <  (eval echo "\"\$as_me:5127: output\"" >&5)
5193 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5194    cat conftest.out >&5
5195    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5196      lt_cv_nm_interface="MS dumpbin"
# Line 5148 | Line 5214 | fi
5214   # find the maximum length of command line arguments
5215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5216   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5217 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5217 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5218    $as_echo_n "(cached) " >&6
5219   else
5220      i=0
# Line 5181 | Line 5247 | else
5247      lt_cv_sys_max_cmd_len=8192;
5248      ;;
5249  
5250 +  mint*)
5251 +    # On MiNT this can take a long time and run out of memory.
5252 +    lt_cv_sys_max_cmd_len=8192;
5253 +    ;;
5254 +
5255    amigaos*)
5256      # On AmigaOS with pdksh, this test takes hours, literally.
5257      # So we just punt and use a minimum line length of 8192.
# Line 5206 | Line 5277 | else
5277      lt_cv_sys_max_cmd_len=196608
5278      ;;
5279  
5280 +  os2*)
5281 +    # The test takes a long time on OS/2.
5282 +    lt_cv_sys_max_cmd_len=8192
5283 +    ;;
5284 +
5285    osf*)
5286      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5287      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5245 | Line 5321 | else
5321        # If test is not a shell built-in, we'll probably end up computing a
5322        # maximum length that is only half of the actual maximum length, but
5323        # we can't tell.
5324 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5325 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5324 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5325 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5326                test $i != 17 # 1/2 MB should be enough
5327        do
5328          i=`expr $i + 1`
# Line 5288 | Line 5364 | $as_echo_n "checking whether the shell u
5364   # Try some XSI features
5365   xsi_shell=no
5366   ( _lt_dummy="a/b/c"
5367 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5368 <      = c,a/b,, \
5367 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5368 >      = c,a/b,b/c, \
5369      && eval 'test $(( 1 + 1 )) -eq 2 \
5370      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5371    && xsi_shell=yes
# Line 5338 | Line 5414 | esac
5414  
5415  
5416  
5417 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5418 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5419 + if ${lt_cv_to_host_file_cmd+:} false; then :
5420 +  $as_echo_n "(cached) " >&6
5421 + else
5422 +  case $host in
5423 +  *-*-mingw* )
5424 +    case $build in
5425 +      *-*-mingw* ) # actually msys
5426 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5427 +        ;;
5428 +      *-*-cygwin* )
5429 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5430 +        ;;
5431 +      * ) # otherwise, assume *nix
5432 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5433 +        ;;
5434 +    esac
5435 +    ;;
5436 +  *-*-cygwin* )
5437 +    case $build in
5438 +      *-*-mingw* ) # actually msys
5439 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5440 +        ;;
5441 +      *-*-cygwin* )
5442 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5443 +        ;;
5444 +      * ) # otherwise, assume *nix
5445 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5446 +        ;;
5447 +    esac
5448 +    ;;
5449 +  * ) # unhandled hosts (and "normal" native builds)
5450 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5451 +    ;;
5452 + esac
5453 +
5454 + fi
5455 +
5456 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5457 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5458 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5459 +
5460 +
5461 +
5462 +
5463 +
5464 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5465 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5466 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5467 +  $as_echo_n "(cached) " >&6
5468 + else
5469 +  #assume ordinary cross tools, or native build.
5470 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5471 + case $host in
5472 +  *-*-mingw* )
5473 +    case $build in
5474 +      *-*-mingw* ) # actually msys
5475 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5476 +        ;;
5477 +    esac
5478 +    ;;
5479 + esac
5480 +
5481 + fi
5482 +
5483 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5484 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5485 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5486 +
5487 +
5488 +
5489 +
5490 +
5491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5492   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5493 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5493 > if ${lt_cv_ld_reload_flag+:} false; then :
5494    $as_echo_n "(cached) " >&6
5495   else
5496    lt_cv_ld_reload_flag='-r'
# Line 5354 | Line 5504 | case $reload_flag in
5504   esac
5505   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5506   case $host_os in
5507 +  cygwin* | mingw* | pw32* | cegcc*)
5508 +    if test "$GCC" != yes; then
5509 +      reload_cmds=false
5510 +    fi
5511 +    ;;
5512    darwin*)
5513      if test "$GCC" = yes; then
5514        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5376 | Line 5531 | if test -n "$ac_tool_prefix"; then
5531   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533   $as_echo_n "checking for $ac_word... " >&6; }
5534 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5534 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5535    $as_echo_n "(cached) " >&6
5536   else
5537    if test -n "$OBJDUMP"; then
# Line 5388 | Line 5543 | do
5543    IFS=$as_save_IFS
5544    test -z "$as_dir" && as_dir=.
5545      for ac_exec_ext in '' $ac_executable_extensions; do
5546 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5547      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5548      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549      break 2
# Line 5416 | Line 5571 | if test -z "$ac_cv_prog_OBJDUMP"; then
5571   set dummy objdump; ac_word=$2
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573   $as_echo_n "checking for $ac_word... " >&6; }
5574 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5574 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5575    $as_echo_n "(cached) " >&6
5576   else
5577    if test -n "$ac_ct_OBJDUMP"; then
# Line 5428 | Line 5583 | do
5583    IFS=$as_save_IFS
5584    test -z "$as_dir" && as_dir=.
5585      for ac_exec_ext in '' $ac_executable_extensions; do
5586 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5588      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589      break 2
# Line 5475 | Line 5630 | test -z "$OBJDUMP" && OBJDUMP=objdump
5630  
5631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5632   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5633 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5633 > if ${lt_cv_deplibs_check_method+:} false; then :
5634    $as_echo_n "(cached) " >&6
5635   else
5636    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5517 | Line 5672 | mingw* | pw32*)
5672    # Base MSYS/MinGW do not provide the 'file' command needed by
5673    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5674    # unless we find 'file', for example because we are cross-compiling.
5675 <  if ( file / ) >/dev/null 2>&1; then
5675 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5676 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5677      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5678      lt_cv_file_magic_cmd='func_win32_libid'
5679    else
5680 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5680 >    # Keep this pattern in sync with the one in func_win32_libid.
5681 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5682      lt_cv_file_magic_cmd='$OBJDUMP -f'
5683    fi
5684    ;;
5685  
5686 < cegcc)
5686 > cegcc*)
5687    # use the weaker test based on 'objdump'. See mingw*.
5688    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5689    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5556 | Line 5713 | gnu*)
5713    lt_cv_deplibs_check_method=pass_all
5714    ;;
5715  
5716 + haiku*)
5717 +  lt_cv_deplibs_check_method=pass_all
5718 +  ;;
5719 +
5720   hpux10.20* | hpux11*)
5721    lt_cv_file_magic_cmd=/usr/bin/file
5722    case $host_cpu in
# Line 5564 | Line 5725 | hpux10.20* | hpux11*)
5725      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5726      ;;
5727    hppa*64*)
5728 <    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]'
5728 >    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]'
5729      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5730      ;;
5731    *)
5732 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5732 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5733      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5734      ;;
5735    esac
# Line 5589 | Line 5750 | irix5* | irix6* | nonstopux*)
5750    lt_cv_deplibs_check_method=pass_all
5751    ;;
5752  
5753 < # This must be Linux ELF.
5754 < linux* | k*bsd*-gnu)
5753 > # This must be glibc/ELF.
5754 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5755    lt_cv_deplibs_check_method=pass_all
5756    ;;
5757  
# Line 5671 | Line 5832 | esac
5832   fi
5833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5834   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5835 +
5836 + file_magic_glob=
5837 + want_nocaseglob=no
5838 + if test "$build" = "$host"; then
5839 +  case $host_os in
5840 +  mingw* | pw32*)
5841 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5842 +      want_nocaseglob=yes
5843 +    else
5844 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5845 +    fi
5846 +    ;;
5847 +  esac
5848 + fi
5849 +
5850   file_magic_cmd=$lt_cv_file_magic_cmd
5851   deplibs_check_method=$lt_cv_deplibs_check_method
5852   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5686 | Line 5862 | test -z "$deplibs_check_method" && depli
5862  
5863  
5864  
5865 +
5866 +
5867 +
5868 +
5869 +
5870 +
5871 +
5872 +
5873 +
5874 +
5875 + if test -n "$ac_tool_prefix"; then
5876 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5877 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5878 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 + $as_echo_n "checking for $ac_word... " >&6; }
5880 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5881 +  $as_echo_n "(cached) " >&6
5882 + else
5883 +  if test -n "$DLLTOOL"; then
5884 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5885 + else
5886 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 + for as_dir in $PATH
5888 + do
5889 +  IFS=$as_save_IFS
5890 +  test -z "$as_dir" && as_dir=.
5891 +    for ac_exec_ext in '' $ac_executable_extensions; do
5892 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5893 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5894 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 +    break 2
5896 +  fi
5897 + done
5898 +  done
5899 + IFS=$as_save_IFS
5900 +
5901 + fi
5902 + fi
5903 + DLLTOOL=$ac_cv_prog_DLLTOOL
5904 + if test -n "$DLLTOOL"; then
5905 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5906 + $as_echo "$DLLTOOL" >&6; }
5907 + else
5908 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 + $as_echo "no" >&6; }
5910 + fi
5911 +
5912 +
5913 + fi
5914 + if test -z "$ac_cv_prog_DLLTOOL"; then
5915 +  ac_ct_DLLTOOL=$DLLTOOL
5916 +  # Extract the first word of "dlltool", so it can be a program name with args.
5917 + set dummy dlltool; ac_word=$2
5918 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 + $as_echo_n "checking for $ac_word... " >&6; }
5920 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5921 +  $as_echo_n "(cached) " >&6
5922 + else
5923 +  if test -n "$ac_ct_DLLTOOL"; then
5924 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5925 + else
5926 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 + for as_dir in $PATH
5928 + do
5929 +  IFS=$as_save_IFS
5930 +  test -z "$as_dir" && as_dir=.
5931 +    for ac_exec_ext in '' $ac_executable_extensions; do
5932 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5933 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5934 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 +    break 2
5936 +  fi
5937 + done
5938 +  done
5939 + IFS=$as_save_IFS
5940 +
5941 + fi
5942 + fi
5943 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5944 + if test -n "$ac_ct_DLLTOOL"; then
5945 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5946 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5947 + else
5948 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 + $as_echo "no" >&6; }
5950 + fi
5951 +
5952 +  if test "x$ac_ct_DLLTOOL" = x; then
5953 +    DLLTOOL="false"
5954 +  else
5955 +    case $cross_compiling:$ac_tool_warned in
5956 + yes:)
5957 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5958 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5959 + ac_tool_warned=yes ;;
5960 + esac
5961 +    DLLTOOL=$ac_ct_DLLTOOL
5962 +  fi
5963 + else
5964 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5965 + fi
5966 +
5967 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5968 +
5969 +
5970 +
5971 +
5972 +
5973 +
5974 +
5975 +
5976 +
5977 +
5978 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5979 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5980 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5981 +  $as_echo_n "(cached) " >&6
5982 + else
5983 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5984 +
5985 + case $host_os in
5986 + cygwin* | mingw* | pw32* | cegcc*)
5987 +  # two different shell functions defined in ltmain.sh
5988 +  # decide which to use based on capabilities of $DLLTOOL
5989 +  case `$DLLTOOL --help 2>&1` in
5990 +  *--identify-strict*)
5991 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5992 +    ;;
5993 +  *)
5994 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5995 +    ;;
5996 +  esac
5997 +  ;;
5998 + *)
5999 +  # fallback: assume linklib IS sharedlib
6000 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6001 +  ;;
6002 + esac
6003 +
6004 + fi
6005 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6006 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6007 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6008 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6009 +
6010 +
6011 +
6012 +
6013 +
6014 +
6015 +
6016   if test -n "$ac_tool_prefix"; then
6017 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6018 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6017 >  for ac_prog in ar
6018 >  do
6019 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6020 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022   $as_echo_n "checking for $ac_word... " >&6; }
6023 < if test "${ac_cv_prog_AR+set}" = set; then :
6023 > if ${ac_cv_prog_AR+:} false; then :
6024    $as_echo_n "(cached) " >&6
6025   else
6026    if test -n "$AR"; then
# Line 5703 | Line 6032 | do
6032    IFS=$as_save_IFS
6033    test -z "$as_dir" && as_dir=.
6034      for ac_exec_ext in '' $ac_executable_extensions; do
6035 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6035 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6037      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038      break 2
6039    fi
# Line 5724 | Line 6053 | $as_echo "no" >&6; }
6053   fi
6054  
6055  
6056 +    test -n "$AR" && break
6057 +  done
6058   fi
6059 < if test -z "$ac_cv_prog_AR"; then
6059 > if test -z "$AR"; then
6060    ac_ct_AR=$AR
6061 <  # Extract the first word of "ar", so it can be a program name with args.
6062 < set dummy ar; ac_word=$2
6061 >  for ac_prog in ar
6062 > do
6063 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6064 > set dummy $ac_prog; ac_word=$2
6065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066   $as_echo_n "checking for $ac_word... " >&6; }
6067 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6067 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6068    $as_echo_n "(cached) " >&6
6069   else
6070    if test -n "$ac_ct_AR"; then
# Line 5743 | Line 6076 | do
6076    IFS=$as_save_IFS
6077    test -z "$as_dir" && as_dir=.
6078      for ac_exec_ext in '' $ac_executable_extensions; do
6079 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6080 <    ac_cv_prog_ac_ct_AR="ar"
6079 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6081      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082      break 2
6083    fi
# Line 5763 | Line 6096 | else
6096   $as_echo "no" >&6; }
6097   fi
6098  
6099 +
6100 +  test -n "$ac_ct_AR" && break
6101 + done
6102 +
6103    if test "x$ac_ct_AR" = x; then
6104      AR="false"
6105    else
# Line 5774 | Line 6111 | ac_tool_warned=yes ;;
6111   esac
6112      AR=$ac_ct_AR
6113    fi
5777 else
5778  AR="$ac_cv_prog_AR"
6114   fi
6115  
6116 < test -z "$AR" && AR=ar
6117 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6116 > : ${AR=ar}
6117 > : ${AR_FLAGS=cru}
6118 >
6119 >
6120  
6121  
6122  
# Line 5789 | Line 6126 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6126  
6127  
6128  
6129 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6130 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6131 + if ${lt_cv_ar_at_file+:} false; then :
6132 +  $as_echo_n "(cached) " >&6
6133 + else
6134 +  lt_cv_ar_at_file=no
6135 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136 + /* end confdefs.h.  */
6137 +
6138 + int
6139 + main ()
6140 + {
6141 +
6142 +  ;
6143 +  return 0;
6144 + }
6145 + _ACEOF
6146 + if ac_fn_c_try_compile "$LINENO"; then :
6147 +  echo conftest.$ac_objext > conftest.lst
6148 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6149 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6150 +  (eval $lt_ar_try) 2>&5
6151 +  ac_status=$?
6152 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6153 +  test $ac_status = 0; }
6154 +      if test "$ac_status" -eq 0; then
6155 +        # Ensure the archiver fails upon bogus file names.
6156 +        rm -f conftest.$ac_objext libconftest.a
6157 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6158 +  (eval $lt_ar_try) 2>&5
6159 +  ac_status=$?
6160 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6161 +  test $ac_status = 0; }
6162 +        if test "$ac_status" -ne 0; then
6163 +          lt_cv_ar_at_file=@
6164 +        fi
6165 +      fi
6166 +      rm -f conftest.* libconftest.a
6167 +
6168 + fi
6169 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6170 +
6171 + fi
6172 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6173 + $as_echo "$lt_cv_ar_at_file" >&6; }
6174 +
6175 + if test "x$lt_cv_ar_at_file" = xno; then
6176 +  archiver_list_spec=
6177 + else
6178 +  archiver_list_spec=$lt_cv_ar_at_file
6179 + fi
6180 +
6181 +
6182 +
6183 +
6184 +
6185  
6186  
6187   if test -n "$ac_tool_prefix"; then
# Line 5796 | Line 6189 | if test -n "$ac_tool_prefix"; then
6189   set dummy ${ac_tool_prefix}strip; ac_word=$2
6190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191   $as_echo_n "checking for $ac_word... " >&6; }
6192 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6192 > if ${ac_cv_prog_STRIP+:} false; then :
6193    $as_echo_n "(cached) " >&6
6194   else
6195    if test -n "$STRIP"; then
# Line 5808 | Line 6201 | do
6201    IFS=$as_save_IFS
6202    test -z "$as_dir" && as_dir=.
6203      for ac_exec_ext in '' $ac_executable_extensions; do
6204 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6206      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6207      break 2
# Line 5836 | Line 6229 | if test -z "$ac_cv_prog_STRIP"; then
6229   set dummy strip; ac_word=$2
6230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231   $as_echo_n "checking for $ac_word... " >&6; }
6232 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6232 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6233    $as_echo_n "(cached) " >&6
6234   else
6235    if test -n "$ac_ct_STRIP"; then
# Line 5848 | Line 6241 | do
6241    IFS=$as_save_IFS
6242    test -z "$as_dir" && as_dir=.
6243      for ac_exec_ext in '' $ac_executable_extensions; do
6244 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245      ac_cv_prog_ac_ct_STRIP="strip"
6246      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247      break 2
# Line 5895 | Line 6288 | if test -n "$ac_tool_prefix"; then
6288   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290   $as_echo_n "checking for $ac_word... " >&6; }
6291 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6291 > if ${ac_cv_prog_RANLIB+:} false; then :
6292    $as_echo_n "(cached) " >&6
6293   else
6294    if test -n "$RANLIB"; then
# Line 5907 | Line 6300 | do
6300    IFS=$as_save_IFS
6301    test -z "$as_dir" && as_dir=.
6302      for ac_exec_ext in '' $ac_executable_extensions; do
6303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306      break 2
# Line 5935 | Line 6328 | if test -z "$ac_cv_prog_RANLIB"; then
6328   set dummy ranlib; ac_word=$2
6329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330   $as_echo_n "checking for $ac_word... " >&6; }
6331 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6331 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6332    $as_echo_n "(cached) " >&6
6333   else
6334    if test -n "$ac_ct_RANLIB"; then
# Line 5947 | Line 6340 | do
6340    IFS=$as_save_IFS
6341    test -z "$as_dir" && as_dir=.
6342      for ac_exec_ext in '' $ac_executable_extensions; do
6343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344      ac_cv_prog_ac_ct_RANLIB="ranlib"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 5997 | Line 6390 | old_postuninstall_cmds=
6390   if test -n "$RANLIB"; then
6391    case $host_os in
6392    openbsd*)
6393 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6393 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6394      ;;
6395    *)
6396 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6396 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6397      ;;
6398    esac
6399 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6399 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6400   fi
6401  
6402 + case $host_os in
6403 +  darwin*)
6404 +    lock_old_archive_extraction=yes ;;
6405 +  *)
6406 +    lock_old_archive_extraction=no ;;
6407 + esac
6408 +
6409 +
6410 +
6411 +
6412 +
6413 +
6414  
6415  
6416  
# Line 6052 | Line 6457 | compiler=$CC
6457   # Check for command to grab the raw symbol name followed by C symbol from nm.
6458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6459   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6460 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6460 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6461    $as_echo_n "(cached) " >&6
6462   else
6463  
# Line 6113 | Line 6518 | esac
6518   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6519  
6520   # Transform an extracted symbol line into symbol name and symbol address
6521 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6522 < 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'"
6521 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6522 > 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'"
6523  
6524   # Handle CRLF in mingw tool chain
6525   opt_cr=
# Line 6138 | Line 6543 | for ac_symprfx in "" "_"; do
6543      # which start with @ or ?.
6544      lt_cv_sys_global_symbol_pipe="$AWK '"\
6545   "     {last_section=section; section=\$ 3};"\
6546 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6547   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6548   "     \$ 0!~/External *\|/{next};"\
6549   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6150 | Line 6556 | for ac_symprfx in "" "_"; do
6556    else
6557      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6558    fi
6559 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6560  
6561    # Check to see that the pipe works correctly.
6562    pipe_works=no
# Line 6175 | Line 6582 | _LT_EOF
6582    test $ac_status = 0; }; then
6583      # Now try to grab the symbols.
6584      nlist=conftest.nm
6585 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6586 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6585 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6586 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6587    ac_status=$?
6588    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6589    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6191 | Line 6598 | _LT_EOF
6598        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6599          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6600            cat <<_LT_EOF > conftest.$ac_ext
6601 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6602 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6603 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6604 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6605 + # define LT_DLSYM_CONST
6606 + #elif defined(__osf__)
6607 + /* This system does not cope well with relocations in const data.  */
6608 + # define LT_DLSYM_CONST
6609 + #else
6610 + # define LT_DLSYM_CONST const
6611 + #endif
6612 +
6613   #ifdef __cplusplus
6614   extern "C" {
6615   #endif
# Line 6202 | Line 6621 | _LT_EOF
6621            cat <<_LT_EOF >> conftest.$ac_ext
6622  
6623   /* The mapping between symbol names and symbols.  */
6624 < const struct {
6624 > LT_DLSYM_CONST struct {
6625    const char *name;
6626    void       *address;
6627   }
# Line 6228 | Line 6647 | static const void *lt_preloaded_setup()
6647   _LT_EOF
6648            # Now try linking the two files.
6649            mv conftest.$ac_objext conftstm.$ac_objext
6650 <          lt_save_LIBS="$LIBS"
6651 <          lt_save_CFLAGS="$CFLAGS"
6650 >          lt_globsym_save_LIBS=$LIBS
6651 >          lt_globsym_save_CFLAGS=$CFLAGS
6652            LIBS="conftstm.$ac_objext"
6653            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6654            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6239 | Line 6658 | _LT_EOF
6658    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6659              pipe_works=yes
6660            fi
6661 <          LIBS="$lt_save_LIBS"
6662 <          CFLAGS="$lt_save_CFLAGS"
6661 >          LIBS=$lt_globsym_save_LIBS
6662 >          CFLAGS=$lt_globsym_save_CFLAGS
6663          else
6664            echo "cannot find nm_test_func in $nlist" >&5
6665          fi
# Line 6277 | Line 6696 | else
6696   $as_echo "ok" >&6; }
6697   fi
6698  
6699 + # Response file support.
6700 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6701 +  nm_file_list_spec='@'
6702 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6703 +  nm_file_list_spec='@'
6704 + fi
6705 +
6706 +
6707 +
6708 +
6709 +
6710 +
6711 +
6712 +
6713 +
6714 +
6715 +
6716  
6717  
6718  
# Line 6293 | Line 6729 | fi
6729  
6730  
6731  
6732 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6733 + $as_echo_n "checking for sysroot... " >&6; }
6734 +
6735 + # Check whether --with-sysroot was given.
6736 + if test "${with_sysroot+set}" = set; then :
6737 +  withval=$with_sysroot;
6738 + else
6739 +  with_sysroot=no
6740 + fi
6741 +
6742 +
6743 + lt_sysroot=
6744 + case ${with_sysroot} in #(
6745 + yes)
6746 +   if test "$GCC" = yes; then
6747 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6748 +   fi
6749 +   ;; #(
6750 + /*)
6751 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6752 +   ;; #(
6753 + no|'')
6754 +   ;; #(
6755 + *)
6756 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6757 + $as_echo "${with_sysroot}" >&6; }
6758 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6759 +   ;;
6760 + esac
6761 +
6762 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6763 + $as_echo "${lt_sysroot:-no}" >&6; }
6764  
6765  
6766  
# Line 6329 | Line 6797 | ia64-*-hpux*)
6797    ;;
6798   *-*-irix6*)
6799    # Find out which ABI we are using.
6800 <  echo '#line 6332 "configure"' > conftest.$ac_ext
6800 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6801    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6802    (eval $ac_compile) 2>&5
6803    ac_status=$?
# Line 6423 | Line 6891 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6891    CFLAGS="$CFLAGS -belf"
6892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6893   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6894 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6894 > if ${lt_cv_cc_needs_belf+:} false; then :
6895    $as_echo_n "(cached) " >&6
6896   else
6897    ac_ext=c
# Line 6464 | Line 6932 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6932      CFLAGS="$SAVE_CFLAGS"
6933    fi
6934    ;;
6935 < sparc*-*solaris*)
6935 > *-*solaris*)
6936    # Find out which ABI we are using.
6937    echo 'int i;' > conftest.$ac_ext
6938    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6475 | Line 6943 | sparc*-*solaris*)
6943      case `/usr/bin/file conftest.o` in
6944      *64-bit*)
6945        case $lt_cv_prog_gnu_ld in
6946 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6946 >      yes*)
6947 >        case $host in
6948 >        i?86-*-solaris*)
6949 >          LD="${LD-ld} -m elf_x86_64"
6950 >          ;;
6951 >        sparc*-*-solaris*)
6952 >          LD="${LD-ld} -m elf64_sparc"
6953 >          ;;
6954 >        esac
6955 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6956 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6957 >          LD="${LD-ld}_sol2"
6958 >        fi
6959 >        ;;
6960        *)
6961          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6962            LD="${LD-ld} -64"
# Line 6491 | Line 6972 | esac
6972  
6973   need_locks="$enable_libtool_lock"
6974  
6975 + if test -n "$ac_tool_prefix"; then
6976 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6977 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6978 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 + $as_echo_n "checking for $ac_word... " >&6; }
6980 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6981 +  $as_echo_n "(cached) " >&6
6982 + else
6983 +  if test -n "$MANIFEST_TOOL"; then
6984 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6985 + else
6986 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 + for as_dir in $PATH
6988 + do
6989 +  IFS=$as_save_IFS
6990 +  test -z "$as_dir" && as_dir=.
6991 +    for ac_exec_ext in '' $ac_executable_extensions; do
6992 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6993 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6994 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 +    break 2
6996 +  fi
6997 + done
6998 +  done
6999 + IFS=$as_save_IFS
7000 +
7001 + fi
7002 + fi
7003 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7004 + if test -n "$MANIFEST_TOOL"; then
7005 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7006 + $as_echo "$MANIFEST_TOOL" >&6; }
7007 + else
7008 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 + $as_echo "no" >&6; }
7010 + fi
7011 +
7012 +
7013 + fi
7014 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7015 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7016 +  # Extract the first word of "mt", so it can be a program name with args.
7017 + set dummy mt; ac_word=$2
7018 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 + $as_echo_n "checking for $ac_word... " >&6; }
7020 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7021 +  $as_echo_n "(cached) " >&6
7022 + else
7023 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7024 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7025 + else
7026 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 + for as_dir in $PATH
7028 + do
7029 +  IFS=$as_save_IFS
7030 +  test -z "$as_dir" && as_dir=.
7031 +    for ac_exec_ext in '' $ac_executable_extensions; do
7032 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7034 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 +    break 2
7036 +  fi
7037 + done
7038 +  done
7039 + IFS=$as_save_IFS
7040 +
7041 + fi
7042 + fi
7043 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7044 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7046 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7047 + else
7048 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 + $as_echo "no" >&6; }
7050 + fi
7051 +
7052 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7053 +    MANIFEST_TOOL=":"
7054 +  else
7055 +    case $cross_compiling:$ac_tool_warned in
7056 + yes:)
7057 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7058 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7059 + ac_tool_warned=yes ;;
7060 + esac
7061 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7062 +  fi
7063 + else
7064 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7065 + fi
7066 +
7067 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7068 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7069 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7070 + if ${lt_cv_path_mainfest_tool+:} false; then :
7071 +  $as_echo_n "(cached) " >&6
7072 + else
7073 +  lt_cv_path_mainfest_tool=no
7074 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7075 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7076 +  cat conftest.err >&5
7077 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7078 +    lt_cv_path_mainfest_tool=yes
7079 +  fi
7080 +  rm -f conftest*
7081 + fi
7082 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7083 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7084 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7085 +  MANIFEST_TOOL=:
7086 + fi
7087 +
7088 +
7089 +
7090 +
7091 +
7092  
7093    case $host_os in
7094      rhapsody* | darwin*)
# Line 6499 | Line 7097 | need_locks="$enable_libtool_lock"
7097   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7099   $as_echo_n "checking for $ac_word... " >&6; }
7100 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7100 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7101    $as_echo_n "(cached) " >&6
7102   else
7103    if test -n "$DSYMUTIL"; then
# Line 6511 | Line 7109 | do
7109    IFS=$as_save_IFS
7110    test -z "$as_dir" && as_dir=.
7111      for ac_exec_ext in '' $ac_executable_extensions; do
7112 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7112 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7113      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7114      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115      break 2
# Line 6539 | Line 7137 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7137   set dummy dsymutil; ac_word=$2
7138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139   $as_echo_n "checking for $ac_word... " >&6; }
7140 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7140 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7141    $as_echo_n "(cached) " >&6
7142   else
7143    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6551 | Line 7149 | do
7149    IFS=$as_save_IFS
7150    test -z "$as_dir" && as_dir=.
7151      for ac_exec_ext in '' $ac_executable_extensions; do
7152 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7153      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7154      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155      break 2
# Line 6591 | Line 7189 | fi
7189   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191   $as_echo_n "checking for $ac_word... " >&6; }
7192 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7192 > if ${ac_cv_prog_NMEDIT+:} false; then :
7193    $as_echo_n "(cached) " >&6
7194   else
7195    if test -n "$NMEDIT"; then
# Line 6603 | Line 7201 | do
7201    IFS=$as_save_IFS
7202    test -z "$as_dir" && as_dir=.
7203      for ac_exec_ext in '' $ac_executable_extensions; do
7204 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7205      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7206      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207      break 2
# Line 6631 | Line 7229 | if test -z "$ac_cv_prog_NMEDIT"; then
7229   set dummy nmedit; ac_word=$2
7230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231   $as_echo_n "checking for $ac_word... " >&6; }
7232 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7232 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7233    $as_echo_n "(cached) " >&6
7234   else
7235    if test -n "$ac_ct_NMEDIT"; then
# Line 6643 | Line 7241 | do
7241    IFS=$as_save_IFS
7242    test -z "$as_dir" && as_dir=.
7243      for ac_exec_ext in '' $ac_executable_extensions; do
7244 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7246      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247      break 2
# Line 6683 | Line 7281 | fi
7281   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283   $as_echo_n "checking for $ac_word... " >&6; }
7284 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7284 > if ${ac_cv_prog_LIPO+:} false; then :
7285    $as_echo_n "(cached) " >&6
7286   else
7287    if test -n "$LIPO"; then
# Line 6695 | Line 7293 | do
7293    IFS=$as_save_IFS
7294    test -z "$as_dir" && as_dir=.
7295      for ac_exec_ext in '' $ac_executable_extensions; do
7296 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7296 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7297      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7298      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299      break 2
# Line 6723 | Line 7321 | if test -z "$ac_cv_prog_LIPO"; then
7321   set dummy lipo; ac_word=$2
7322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323   $as_echo_n "checking for $ac_word... " >&6; }
7324 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7324 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7325    $as_echo_n "(cached) " >&6
7326   else
7327    if test -n "$ac_ct_LIPO"; then
# Line 6735 | Line 7333 | do
7333    IFS=$as_save_IFS
7334    test -z "$as_dir" && as_dir=.
7335      for ac_exec_ext in '' $ac_executable_extensions; do
7336 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337      ac_cv_prog_ac_ct_LIPO="lipo"
7338      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339      break 2
# Line 6775 | Line 7373 | fi
7373   set dummy ${ac_tool_prefix}otool; ac_word=$2
7374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375   $as_echo_n "checking for $ac_word... " >&6; }
7376 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7376 > if ${ac_cv_prog_OTOOL+:} false; then :
7377    $as_echo_n "(cached) " >&6
7378   else
7379    if test -n "$OTOOL"; then
# Line 6787 | Line 7385 | do
7385    IFS=$as_save_IFS
7386    test -z "$as_dir" && as_dir=.
7387      for ac_exec_ext in '' $ac_executable_extensions; do
7388 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7389      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7390      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391      break 2
# Line 6815 | Line 7413 | if test -z "$ac_cv_prog_OTOOL"; then
7413   set dummy otool; ac_word=$2
7414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415   $as_echo_n "checking for $ac_word... " >&6; }
7416 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7416 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7417    $as_echo_n "(cached) " >&6
7418   else
7419    if test -n "$ac_ct_OTOOL"; then
# Line 6827 | Line 7425 | do
7425    IFS=$as_save_IFS
7426    test -z "$as_dir" && as_dir=.
7427      for ac_exec_ext in '' $ac_executable_extensions; do
7428 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7429      ac_cv_prog_ac_ct_OTOOL="otool"
7430      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431      break 2
# Line 6867 | Line 7465 | fi
7465   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467   $as_echo_n "checking for $ac_word... " >&6; }
7468 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7468 > if ${ac_cv_prog_OTOOL64+:} false; then :
7469    $as_echo_n "(cached) " >&6
7470   else
7471    if test -n "$OTOOL64"; then
# Line 6879 | Line 7477 | do
7477    IFS=$as_save_IFS
7478    test -z "$as_dir" && as_dir=.
7479      for ac_exec_ext in '' $ac_executable_extensions; do
7480 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7480 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7481      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7482      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483      break 2
# Line 6907 | Line 7505 | if test -z "$ac_cv_prog_OTOOL64"; then
7505   set dummy otool64; ac_word=$2
7506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507   $as_echo_n "checking for $ac_word... " >&6; }
7508 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7508 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7509    $as_echo_n "(cached) " >&6
7510   else
7511    if test -n "$ac_ct_OTOOL64"; then
# Line 6919 | Line 7517 | do
7517    IFS=$as_save_IFS
7518    test -z "$as_dir" && as_dir=.
7519      for ac_exec_ext in '' $ac_executable_extensions; do
7520 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7521      ac_cv_prog_ac_ct_OTOOL64="otool64"
7522      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523      break 2
# Line 6982 | Line 7580 | fi
7580  
7581      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7582   $as_echo_n "checking for -single_module linker flag... " >&6; }
7583 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7583 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7584    $as_echo_n "(cached) " >&6
7585   else
7586    lt_cv_apple_cc_single_mod=no
# Line 6998 | Line 7596 | else
7596          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7597            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7598          _lt_result=$?
7599 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7599 >        # If there is a non-empty error log, and "single_module"
7600 >        # appears in it, assume the flag caused a linker warning
7601 >        if test -s conftest.err && $GREP single_module conftest.err; then
7602 >          cat conftest.err >&5
7603 >        # Otherwise, if the output was created with a 0 exit code from
7604 >        # the compiler, it worked.
7605 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7606            lt_cv_apple_cc_single_mod=yes
7607          else
7608            cat conftest.err >&5
# Line 7009 | Line 7613 | else
7613   fi
7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7615   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7616 +
7617      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7618   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7619 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7619 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7620    $as_echo_n "(cached) " >&6
7621   else
7622    lt_cv_ld_exported_symbols_list=no
# Line 7041 | Line 7646 | rm -f core conftest.err conftest.$ac_obj
7646   fi
7647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7648   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7649 +
7650 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7651 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7652 + if ${lt_cv_ld_force_load+:} false; then :
7653 +  $as_echo_n "(cached) " >&6
7654 + else
7655 +  lt_cv_ld_force_load=no
7656 +      cat > conftest.c << _LT_EOF
7657 + int forced_loaded() { return 2;}
7658 + _LT_EOF
7659 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7660 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7661 +      echo "$AR cru libconftest.a conftest.o" >&5
7662 +      $AR cru libconftest.a conftest.o 2>&5
7663 +      echo "$RANLIB libconftest.a" >&5
7664 +      $RANLIB libconftest.a 2>&5
7665 +      cat > conftest.c << _LT_EOF
7666 + int main() { return 0;}
7667 + _LT_EOF
7668 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7669 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7670 +      _lt_result=$?
7671 +      if test -s conftest.err && $GREP force_load conftest.err; then
7672 +        cat conftest.err >&5
7673 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7674 +        lt_cv_ld_force_load=yes
7675 +      else
7676 +        cat conftest.err >&5
7677 +      fi
7678 +        rm -f conftest.err libconftest.a conftest conftest.c
7679 +        rm -rf conftest.dSYM
7680 +
7681 + fi
7682 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7683 + $as_echo "$lt_cv_ld_force_load" >&6; }
7684      case $host_os in
7685      rhapsody* | darwin1.[012])
7686        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7068 | Line 7708 | $as_echo "$lt_cv_ld_exported_symbols_lis
7708      else
7709        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7710      fi
7711 <    if test "$DSYMUTIL" != ":"; then
7711 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7712        _lt_dsymutil='~$DSYMUTIL $lib || :'
7713      else
7714        _lt_dsymutil=
# Line 7088 | Line 7728 | if test -n "$CPP" && test -d "$CPP"; the
7728    CPP=
7729   fi
7730   if test -z "$CPP"; then
7731 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7731 >  if ${ac_cv_prog_CPP+:} false; then :
7732    $as_echo_n "(cached) " >&6
7733   else
7734        # Double quotes because CPP needs to be expanded
# Line 7118 | Line 7758 | else
7758    # Broken: fails on valid input.
7759   continue
7760   fi
7761 < rm -f conftest.err conftest.$ac_ext
7761 > rm -f conftest.err conftest.i conftest.$ac_ext
7762  
7763    # OK, works on sane cases.  Now check whether nonexistent headers
7764    # can be detected and how.
# Line 7134 | Line 7774 | else
7774   ac_preproc_ok=:
7775   break
7776   fi
7777 < rm -f conftest.err conftest.$ac_ext
7777 > rm -f conftest.err conftest.i conftest.$ac_ext
7778  
7779   done
7780   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7781 < rm -f conftest.err conftest.$ac_ext
7781 > rm -f conftest.i conftest.err conftest.$ac_ext
7782   if $ac_preproc_ok; then :
7783    break
7784   fi
# Line 7177 | Line 7817 | else
7817    # Broken: fails on valid input.
7818   continue
7819   fi
7820 < rm -f conftest.err conftest.$ac_ext
7820 > rm -f conftest.err conftest.i conftest.$ac_ext
7821  
7822    # OK, works on sane cases.  Now check whether nonexistent headers
7823    # can be detected and how.
# Line 7193 | Line 7833 | else
7833   ac_preproc_ok=:
7834   break
7835   fi
7836 < rm -f conftest.err conftest.$ac_ext
7836 > rm -f conftest.err conftest.i conftest.$ac_ext
7837  
7838   done
7839   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7840 < rm -f conftest.err conftest.$ac_ext
7840 > rm -f conftest.i conftest.err conftest.$ac_ext
7841   if $ac_preproc_ok; then :
7842  
7843   else
7844    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7845   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7846 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7847 < See \`config.log' for more details." "$LINENO" 5; }
7846 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7847 > See \`config.log' for more details" "$LINENO" 5; }
7848   fi
7849  
7850   ac_ext=c
# Line 7216 | Line 7856 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7856  
7857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7858   $as_echo_n "checking for ANSI C header files... " >&6; }
7859 < if test "${ac_cv_header_stdc+set}" = set; then :
7859 > if ${ac_cv_header_stdc+:} false; then :
7860    $as_echo_n "(cached) " >&6
7861   else
7862    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7333 | Line 7973 | do :
7973    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7974   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7975   "
7976 < eval as_val=\$$as_ac_Header
7337 <   if test "x$as_val" = x""yes; then :
7976 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7977    cat >>confdefs.h <<_ACEOF
7978   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7979   _ACEOF
# Line 7348 | Line 7987 | for ac_header in dlfcn.h
7987   do :
7988    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7989   "
7990 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7990 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7991    cat >>confdefs.h <<_ACEOF
7992   #define HAVE_DLFCN_H 1
7993   _ACEOF
# Line 7359 | Line 7998 | done
7998  
7999  
8000  
8001 +
8002 +
8003   # Set options
8004   enable_dlopen=yes
8005   # Check whether --enable-static was given.
# Line 7432 | Line 8073 | fi
8073  
8074   # Check whether --with-pic was given.
8075   if test "${with_pic+set}" = set; then :
8076 <  withval=$with_pic; pic_mode="$withval"
8076 >  withval=$with_pic; lt_p=${PACKAGE-default}
8077 >    case $withval in
8078 >    yes|no) pic_mode=$withval ;;
8079 >    *)
8080 >      pic_mode=default
8081 >      # Look at the argument we got.  We use all the common list separators.
8082 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8083 >      for lt_pkg in $withval; do
8084 >        IFS="$lt_save_ifs"
8085 >        if test "X$lt_pkg" = "X$lt_p"; then
8086 >          pic_mode=yes
8087 >        fi
8088 >      done
8089 >      IFS="$lt_save_ifs"
8090 >      ;;
8091 >    esac
8092   else
8093    pic_mode=default
8094   fi
# Line 7509 | Line 8165 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8165  
8166  
8167  
8168 +
8169 +
8170 +
8171 +
8172 +
8173   test -z "$LN_S" && LN_S="ln -s"
8174  
8175  
# Line 7530 | Line 8191 | fi
8191  
8192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8193   $as_echo_n "checking for objdir... " >&6; }
8194 < if test "${lt_cv_objdir+set}" = set; then :
8194 > if ${lt_cv_objdir+:} false; then :
8195    $as_echo_n "(cached) " >&6
8196   else
8197    rm -f .libs 2>/dev/null
# Line 7558 | Line 8219 | _ACEOF
8219  
8220  
8221  
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
8222   case $host_os in
8223   aix3*)
8224    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7583 | Line 8231 | aix3*)
8231    ;;
8232   esac
8233  
7586 # Sed substitution that helps us do robust quoting.  It backslashifies
7587 # metacharacters that are still active within double-quoted strings.
7588 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7589
7590 # Same as above, but do not quote variable references.
7591 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7592
7593 # Sed substitution to delay expansion of an escaped shell variable in a
7594 # double_quote_subst'ed string.
7595 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7596
7597 # Sed substitution to delay expansion of an escaped single quote.
7598 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7599
7600 # Sed substitution to avoid accidental globbing in evaled expressions
7601 no_glob_subst='s/\*/\\\*/g'
7602
8234   # Global variables:
8235   ofile=libtool
8236   can_build_shared=yes
# Line 7628 | Line 8259 | for cc_temp in $compiler""; do
8259      *) break;;
8260    esac
8261   done
8262 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8262 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8263  
8264  
8265   # Only perform the check for file, if the check method requires it
# Line 7638 | Line 8269 | file_magic*)
8269    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8270      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8271   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8272 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8272 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8273    $as_echo_n "(cached) " >&6
8274   else
8275    case $MAGIC_CMD in
# Line 7704 | Line 8335 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8335    if test -n "$ac_tool_prefix"; then
8336      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8337   $as_echo_n "checking for file... " >&6; }
8338 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8338 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8339    $as_echo_n "(cached) " >&6
8340   else
8341    case $MAGIC_CMD in
# Line 7833 | Line 8464 | if test -n "$compiler"; then
8464   lt_prog_compiler_no_builtin_flag=
8465  
8466   if test "$GCC" = yes; then
8467 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8467 >  case $cc_basename in
8468 >  nvcc*)
8469 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8470 >  *)
8471 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8472 >  esac
8473  
8474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8475   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8476 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8477    $as_echo_n "(cached) " >&6
8478   else
8479    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7853 | Line 8489 | else
8489     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8490     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8491     -e 's:$: $lt_compiler_flag:'`
8492 <   (eval echo "\"\$as_me:7856: $lt_compile\"" >&5)
8492 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8493     (eval "$lt_compile" 2>conftest.err)
8494     ac_status=$?
8495     cat conftest.err >&5
8496 <   echo "$as_me:7860: \$? = $ac_status" >&5
8496 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497     if (exit $ac_status) && test -s "$ac_outfile"; then
8498       # The compiler can only warn and ignore the option if not recognized
8499       # So say no if there are warnings other than the usual output.
8500 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8500 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8501       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8502       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8503         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7890 | Line 8526 | fi
8526   lt_prog_compiler_pic=
8527   lt_prog_compiler_static=
8528  
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7894 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8529  
8530    if test "$GCC" = yes; then
8531      lt_prog_compiler_wl='-Wl,'
# Line 7939 | Line 8573 | $as_echo_n "checking for $compiler optio
8573        lt_prog_compiler_pic='-fno-common'
8574        ;;
8575  
8576 +    haiku*)
8577 +      # PIC is the default for Haiku.
8578 +      # The "-static" flag exists, but is broken.
8579 +      lt_prog_compiler_static=
8580 +      ;;
8581 +
8582      hpux*)
8583        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8584        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7981 | Line 8621 | $as_echo_n "checking for $compiler optio
8621        lt_prog_compiler_pic='-fPIC'
8622        ;;
8623      esac
8624 +
8625 +    case $cc_basename in
8626 +    nvcc*) # Cuda Compiler Driver 2.2
8627 +      lt_prog_compiler_wl='-Xlinker '
8628 +      if test -n "$lt_prog_compiler_pic"; then
8629 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8630 +      fi
8631 +      ;;
8632 +    esac
8633    else
8634      # PORTME Check for flag to pass linker flags through the system compiler.
8635      case $host_os in
# Line 8022 | Line 8671 | $as_echo_n "checking for $compiler optio
8671        lt_prog_compiler_static='-non_shared'
8672        ;;
8673  
8674 <    linux* | k*bsd*-gnu)
8674 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675        case $cc_basename in
8676        # old Intel for x86_64 which still supported -KPIC.
8677        ecc*)
# Line 8043 | Line 8692 | $as_echo_n "checking for $compiler optio
8692          lt_prog_compiler_pic='--shared'
8693          lt_prog_compiler_static='--static'
8694          ;;
8695 <      pgcc* | pgf77* | pgf90* | pgf95*)
8695 >      nagfor*)
8696 >        # NAG Fortran compiler
8697 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8698 >        lt_prog_compiler_pic='-PIC'
8699 >        lt_prog_compiler_static='-Bstatic'
8700 >        ;;
8701 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8702          # Portland Group compilers (*not* the Pentium gcc compiler,
8703          # which looks to be a dead project)
8704          lt_prog_compiler_wl='-Wl,'
# Line 8055 | Line 8710 | $as_echo_n "checking for $compiler optio
8710          # All Alpha code is PIC.
8711          lt_prog_compiler_static='-non_shared'
8712          ;;
8713 <      xl*)
8714 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8713 >      xl* | bgxl* | bgf* | mpixl*)
8714 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8715          lt_prog_compiler_wl='-Wl,'
8716          lt_prog_compiler_pic='-qpic'
8717          lt_prog_compiler_static='-qstaticlink'
8718          ;;
8719        *)
8720          case `$CC -V 2>&1 | sed 5q` in
8721 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8722 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8723 +          lt_prog_compiler_pic='-KPIC'
8724 +          lt_prog_compiler_static='-Bstatic'
8725 +          lt_prog_compiler_wl=''
8726 +          ;;
8727 +        *Sun\ F* | *Sun*Fortran*)
8728 +          lt_prog_compiler_pic='-KPIC'
8729 +          lt_prog_compiler_static='-Bstatic'
8730 +          lt_prog_compiler_wl='-Qoption ld '
8731 +          ;;
8732          *Sun\ C*)
8733            # Sun C 5.9
8734            lt_prog_compiler_pic='-KPIC'
8735            lt_prog_compiler_static='-Bstatic'
8736            lt_prog_compiler_wl='-Wl,'
8737            ;;
8738 <        *Sun\ F*)
8739 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8740 <          lt_prog_compiler_pic='-KPIC'
8738 >        *Intel*\ [CF]*Compiler*)
8739 >          lt_prog_compiler_wl='-Wl,'
8740 >          lt_prog_compiler_pic='-fPIC'
8741 >          lt_prog_compiler_static='-static'
8742 >          ;;
8743 >        *Portland\ Group*)
8744 >          lt_prog_compiler_wl='-Wl,'
8745 >          lt_prog_compiler_pic='-fpic'
8746            lt_prog_compiler_static='-Bstatic'
8076          lt_prog_compiler_wl=''
8747            ;;
8748          esac
8749          ;;
# Line 8105 | Line 8775 | $as_echo_n "checking for $compiler optio
8775        lt_prog_compiler_pic='-KPIC'
8776        lt_prog_compiler_static='-Bstatic'
8777        case $cc_basename in
8778 <      f77* | f90* | f95*)
8778 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8779          lt_prog_compiler_wl='-Qoption ld ';;
8780        *)
8781          lt_prog_compiler_wl='-Wl,';;
# Line 8162 | Line 8832 | case $host_os in
8832      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8833      ;;
8834   esac
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8166 $as_echo "$lt_prog_compiler_pic" >&6; }
8167
8168
8169
8170
8835  
8836 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8837 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8838 + if ${lt_cv_prog_compiler_pic+:} false; then :
8839 +  $as_echo_n "(cached) " >&6
8840 + else
8841 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8842 + fi
8843 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8844 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8845 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8846  
8847   #
8848   # Check to make sure the PIC flag actually works.
# Line 8176 | Line 8850 | $as_echo "$lt_prog_compiler_pic" >&6; }
8850   if test -n "$lt_prog_compiler_pic"; then
8851    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8852   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8853 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8853 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8854    $as_echo_n "(cached) " >&6
8855   else
8856    lt_cv_prog_compiler_pic_works=no
# Line 8192 | Line 8866 | else
8866     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8867     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8868     -e 's:$: $lt_compiler_flag:'`
8869 <   (eval echo "\"\$as_me:8195: $lt_compile\"" >&5)
8869 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8870     (eval "$lt_compile" 2>conftest.err)
8871     ac_status=$?
8872     cat conftest.err >&5
8873 <   echo "$as_me:8199: \$? = $ac_status" >&5
8873 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874     if (exit $ac_status) && test -s "$ac_outfile"; then
8875       # The compiler can only warn and ignore the option if not recognized
8876       # So say no if there are warnings other than the usual output.
8877 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8877 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8878       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8879       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8880         lt_cv_prog_compiler_pic_works=yes
# Line 8229 | Line 8903 | fi
8903  
8904  
8905  
8906 +
8907 +
8908 +
8909 +
8910 +
8911   #
8912   # Check to make sure the static flag actually works.
8913   #
8914   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8916   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8917 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8917 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8918    $as_echo_n "(cached) " >&6
8919   else
8920    lt_cv_prog_compiler_static_works=no
# Line 8248 | Line 8927 | else
8927       if test -s conftest.err; then
8928         # Append any errors to the config.log.
8929         cat conftest.err 1>&5
8930 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8930 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8931         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8932         if diff conftest.exp conftest.er2 >/dev/null; then
8933           lt_cv_prog_compiler_static_works=yes
# Line 8278 | Line 8957 | fi
8957  
8958    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8959   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8960 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8960 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8961    $as_echo_n "(cached) " >&6
8962   else
8963    lt_cv_prog_compiler_c_o=no
# Line 8297 | Line 8976 | else
8976     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978     -e 's:$: $lt_compiler_flag:'`
8979 <   (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
8979 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980     (eval "$lt_compile" 2>out/conftest.err)
8981     ac_status=$?
8982     cat out/conftest.err >&5
8983 <   echo "$as_me:8304: \$? = $ac_status" >&5
8983 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8985     then
8986       # The compiler can only warn and ignore the option if not recognized
8987       # So say no if there are warnings
8988 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8988 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8989       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8990       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8991         lt_cv_prog_compiler_c_o=yes
# Line 8333 | Line 9012 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9012  
9013    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9014   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9015 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9015 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9016    $as_echo_n "(cached) " >&6
9017   else
9018    lt_cv_prog_compiler_c_o=no
# Line 8352 | Line 9031 | else
9031     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9032     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9033     -e 's:$: $lt_compiler_flag:'`
9034 <   (eval echo "\"\$as_me:8355: $lt_compile\"" >&5)
9034 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9035     (eval "$lt_compile" 2>out/conftest.err)
9036     ac_status=$?
9037     cat out/conftest.err >&5
9038 <   echo "$as_me:8359: \$? = $ac_status" >&5
9038 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9040     then
9041       # The compiler can only warn and ignore the option if not recognized
9042       # So say no if there are warnings
9043 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9043 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9044       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9045       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9046         lt_cv_prog_compiler_c_o=yes
# Line 8427 | Line 9106 | $as_echo_n "checking whether the $compil
9106    hardcode_direct=no
9107    hardcode_direct_absolute=no
9108    hardcode_libdir_flag_spec=
8430  hardcode_libdir_flag_spec_ld=
9109    hardcode_libdir_separator=
9110    hardcode_minus_L=no
9111    hardcode_shlibpath_var=unsupported
# Line 8474 | Line 9152 | $as_echo_n "checking whether the $compil
9152    esac
9153  
9154    ld_shlibs=yes
9155 +
9156 +  # On some targets, GNU ld is compatible enough with the native linker
9157 +  # that we're better off using the native interface for both.
9158 +  lt_use_gnu_ld_interface=no
9159    if test "$with_gnu_ld" = yes; then
9160 +    case $host_os in
9161 +      aix*)
9162 +        # The AIX port of GNU ld has always aspired to compatibility
9163 +        # with the native linker.  However, as the warning in the GNU ld
9164 +        # block says, versions before 2.19.5* couldn't really create working
9165 +        # shared libraries, regardless of the interface used.
9166 +        case `$LD -v 2>&1` in
9167 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9168 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9169 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9170 +          *)
9171 +            lt_use_gnu_ld_interface=yes
9172 +            ;;
9173 +        esac
9174 +        ;;
9175 +      *)
9176 +        lt_use_gnu_ld_interface=yes
9177 +        ;;
9178 +    esac
9179 +  fi
9180 +
9181 +  if test "$lt_use_gnu_ld_interface" = yes; then
9182      # If archive_cmds runs LD, not CC, wlarc should be empty
9183      wlarc='${wl}'
9184  
# Line 8492 | Line 9196 | $as_echo_n "checking whether the $compil
9196      fi
9197      supports_anon_versioning=no
9198      case `$LD -v 2>&1` in
9199 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9200        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9201        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9202        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8507 | Line 9212 | $as_echo_n "checking whether the $compil
9212          ld_shlibs=no
9213          cat <<_LT_EOF 1>&2
9214  
9215 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9215 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9216   *** to be unable to reliably create shared libraries on AIX.
9217   *** Therefore, libtool is disabling shared libraries support.  If you
9218 < *** really care for shared libraries, you may want to modify your PATH
9219 < *** so that a non-GNU linker is found, and then restart.
9218 > *** really care for shared libraries, you may want to install binutils
9219 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9220 > *** You will then need to restart the configuration process.
9221  
9222   _LT_EOF
9223        fi
# Line 8547 | Line 9253 | _LT_EOF
9253        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9254        # as there is no search path for DLLs.
9255        hardcode_libdir_flag_spec='-L$libdir'
9256 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9257        allow_undefined_flag=unsupported
9258        always_export_symbols=no
9259        enable_shared_with_static_runtimes=yes
9260 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9260 >      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'
9261 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9262  
9263        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9264          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8568 | Line 9276 | _LT_EOF
9276        fi
9277        ;;
9278  
9279 +    haiku*)
9280 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9281 +      link_all_deplibs=yes
9282 +      ;;
9283 +
9284      interix[3-9]*)
9285        hardcode_direct=no
9286        hardcode_shlibpath_var=no
# Line 8583 | Line 9296 | _LT_EOF
9296        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'
9297        ;;
9298  
9299 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9299 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9300        tmp_diet=no
9301        if test "$host_os" = linux-dietlibc; then
9302          case $cc_basename in
# Line 8593 | Line 9306 | _LT_EOF
9306        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9307           && test "$tmp_diet" = no
9308        then
9309 <        tmp_addflag=
9309 >        tmp_addflag=' $pic_flag'
9310          tmp_sharedflag='-shared'
9311          case $cc_basename,$host_cpu in
9312          pgcc*)                          # Portland Group C compiler
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'
9313 >          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'
9314            tmp_addflag=' $pic_flag'
9315            ;;
9316 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9317 <          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'
9316 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9317 >                                        # Portland Group f77 and f90 compilers
9318 >          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'
9319            tmp_addflag=' $pic_flag -Mnomain' ;;
9320          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9321            tmp_addflag=' -i_dynamic' ;;
# Line 8612 | Line 9326 | _LT_EOF
9326          lf95*)                          # Lahey Fortran 8.1
9327            whole_archive_flag_spec=
9328            tmp_sharedflag='--shared' ;;
9329 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9329 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9330            tmp_sharedflag='-qmkshrobj'
9331            tmp_addflag= ;;
9332 +        nvcc*)  # Cuda Compiler Driver 2.2
9333 +          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'
9334 +          compiler_needs_object=yes
9335 +          ;;
9336          esac
9337          case `$CC -V 2>&1 | sed 5q` in
9338          *Sun\ C*)                       # Sun C 5.9
9339 <          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'
9339 >          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'
9340            compiler_needs_object=yes
9341            tmp_sharedflag='-G' ;;
9342          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8634 | Line 9352 | _LT_EOF
9352          fi
9353  
9354          case $cc_basename in
9355 <        xlf*)
9355 >        xlf* | bgf* | bgxlf* | mpixlf*)
9356            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9357            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9358 <          hardcode_libdir_flag_spec=
9359 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8642 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9358 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9359 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9360            if test "x$supports_anon_versioning" = xyes; then
9361              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9362                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9363                echo "local: *; };" >> $output_objdir/$libname.ver~
9364 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9364 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9365            fi
9366            ;;
9367          esac
# Line 8658 | Line 9375 | _LT_EOF
9375          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9376          wlarc=
9377        else
9378 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9379 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9378 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9379 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9380        fi
9381        ;;
9382  
# Line 8677 | Line 9394 | _LT_EOF
9394  
9395   _LT_EOF
9396        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9397 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9397 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399        else
9400          ld_shlibs=no
9401        fi
# Line 8724 | Line 9441 | _LT_EOF
9441  
9442      *)
9443        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9444 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9445 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9444 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9445 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9446        else
9447          ld_shlibs=no
9448        fi
# Line 8765 | Line 9482 | _LT_EOF
9482        else
9483          # If we're using GNU nm, then we don't want the "-C" option.
9484          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9485 +        # Also, AIX nm treats weak defined symbols like other global
9486 +        # defined symbols, whereas GNU nm marks them as "W".
9487          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9488 <          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'
9488 >          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'
9489          else
9490            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'
9491          fi
# Line 8828 | Line 9547 | _LT_EOF
9547          if test "$aix_use_runtimelinking" = yes; then
9548            shared_flag="$shared_flag "'${wl}-G'
9549          fi
8831        link_all_deplibs=no
9550        else
9551          # not using gcc
9552          if test "$host_cpu" = ia64; then
# Line 8854 | Line 9572 | _LT_EOF
9572          allow_undefined_flag='-berok'
9573          # Determine the default libpath from the value encoded in an
9574          # empty executable.
9575 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 >        if test "${lt_cv_aix_libpath+set}" = set; then
9576 >  aix_libpath=$lt_cv_aix_libpath
9577 > else
9578 >  if ${lt_cv_aix_libpath_+:} false; then :
9579 >  $as_echo_n "(cached) " >&6
9580 > else
9581 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582   /* end confdefs.h.  */
9583  
9584   int
# Line 8867 | Line 9591 | main ()
9591   _ACEOF
9592   if ac_fn_c_try_link "$LINENO"; then :
9593  
9594 < lt_aix_libpath_sed='
9595 <    /Import File Strings/,/^$/ {
9596 <        /^0/ {
9597 <            s/^0  *\(.*\)$/\1/
9598 <            p
9599 <        }
9600 <    }'
9601 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602 < # Check for a 64-bit object if we didn't find anything.
9603 < if test -z "$aix_libpath"; then
9604 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9605 < fi
9594 >  lt_aix_libpath_sed='
9595 >      /Import File Strings/,/^$/ {
9596 >          /^0/ {
9597 >              s/^0  *\([^ ]*\) *$/\1/
9598 >              p
9599 >          }
9600 >      }'
9601 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602 >  # Check for a 64-bit object if we didn't find anything.
9603 >  if test -z "$lt_cv_aix_libpath_"; then
9604 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9605 >  fi
9606   fi
9607   rm -f core conftest.err conftest.$ac_objext \
9608      conftest$ac_exeext conftest.$ac_ext
9609 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9609 >  if test -z "$lt_cv_aix_libpath_"; then
9610 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9611 >  fi
9612 >
9613 > fi
9614 >
9615 >  aix_libpath=$lt_cv_aix_libpath_
9616 > fi
9617  
9618          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9619 <        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"
9619 >        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"
9620        else
9621          if test "$host_cpu" = ia64; then
9622            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8894 | Line 9625 | if test -z "$aix_libpath"; then aix_libp
9625          else
9626           # Determine the default libpath from the value encoded in an
9627           # empty executable.
9628 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628 >         if test "${lt_cv_aix_libpath+set}" = set; then
9629 >  aix_libpath=$lt_cv_aix_libpath
9630 > else
9631 >  if ${lt_cv_aix_libpath_+:} false; then :
9632 >  $as_echo_n "(cached) " >&6
9633 > else
9634 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9635   /* end confdefs.h.  */
9636  
9637   int
# Line 8907 | Line 9644 | main ()
9644   _ACEOF
9645   if ac_fn_c_try_link "$LINENO"; then :
9646  
9647 < lt_aix_libpath_sed='
9648 <    /Import File Strings/,/^$/ {
9649 <        /^0/ {
9650 <            s/^0  *\(.*\)$/\1/
9651 <            p
9652 <        }
9653 <    }'
9654 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9655 < # Check for a 64-bit object if we didn't find anything.
9656 < if test -z "$aix_libpath"; then
9657 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9658 < fi
9647 >  lt_aix_libpath_sed='
9648 >      /Import File Strings/,/^$/ {
9649 >          /^0/ {
9650 >              s/^0  *\([^ ]*\) *$/\1/
9651 >              p
9652 >          }
9653 >      }'
9654 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9655 >  # Check for a 64-bit object if we didn't find anything.
9656 >  if test -z "$lt_cv_aix_libpath_"; then
9657 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9658 >  fi
9659   fi
9660   rm -f core conftest.err conftest.$ac_objext \
9661      conftest$ac_exeext conftest.$ac_ext
9662 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9662 >  if test -z "$lt_cv_aix_libpath_"; then
9663 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9664 >  fi
9665 >
9666 > fi
9667 >
9668 >  aix_libpath=$lt_cv_aix_libpath_
9669 > fi
9670  
9671           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9672            # Warning - without using the other run time loading flags,
9673            # -berok will link without error, but may produce a broken library.
9674            no_undefined_flag=' ${wl}-bernotok'
9675            allow_undefined_flag=' ${wl}-berok'
9676 <          # Exported symbols can be pulled into shared objects from archives
9677 <          whole_archive_flag_spec='$convenience'
9676 >          if test "$with_gnu_ld" = yes; then
9677 >            # We only use this code for GNU lds that support --whole-archive.
9678 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9679 >          else
9680 >            # Exported symbols can be pulled into shared objects from archives
9681 >            whole_archive_flag_spec='$convenience'
9682 >          fi
9683            archive_cmds_need_lc=yes
9684            # This is similar to how AIX traditionally builds its shared libraries.
9685            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 8962 | Line 9711 | if test -z "$aix_libpath"; then aix_libp
9711        # Microsoft Visual C++.
9712        # hardcode_libdir_flag_spec is actually meaningless, as there is
9713        # no search path for DLLs.
9714 <      hardcode_libdir_flag_spec=' '
9715 <      allow_undefined_flag=unsupported
9716 <      # Tell ltmain to make .lib files, not .a files.
9717 <      libext=lib
9718 <      # Tell ltmain to make .dll files, not .so files.
9719 <      shrext_cmds=".dll"
9720 <      # FIXME: Setting linknames here is a bad hack.
9721 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9722 <      # The linker will automatically build a .lib file if we build a DLL.
9723 <      old_archive_from_new_cmds='true'
9724 <      # FIXME: Should let the user specify the lib program.
9725 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9726 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9727 <      enable_shared_with_static_runtimes=yes
9714 >      case $cc_basename in
9715 >      cl*)
9716 >        # Native MSVC
9717 >        hardcode_libdir_flag_spec=' '
9718 >        allow_undefined_flag=unsupported
9719 >        always_export_symbols=yes
9720 >        file_list_spec='@'
9721 >        # Tell ltmain to make .lib files, not .a files.
9722 >        libext=lib
9723 >        # Tell ltmain to make .dll files, not .so files.
9724 >        shrext_cmds=".dll"
9725 >        # FIXME: Setting linknames here is a bad hack.
9726 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9727 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9728 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9729 >          else
9730 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9731 >          fi~
9732 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9733 >          linknames='
9734 >        # The linker will not automatically build a static lib if we build a DLL.
9735 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9736 >        enable_shared_with_static_runtimes=yes
9737 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9738 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9739 >        # Don't use ranlib
9740 >        old_postinstall_cmds='chmod 644 $oldlib'
9741 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9742 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9743 >          case $lt_outputfile in
9744 >            *.exe|*.EXE) ;;
9745 >            *)
9746 >              lt_outputfile="$lt_outputfile.exe"
9747 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9748 >              ;;
9749 >          esac~
9750 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9751 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9752 >            $RM "$lt_outputfile.manifest";
9753 >          fi'
9754 >        ;;
9755 >      *)
9756 >        # Assume MSVC wrapper
9757 >        hardcode_libdir_flag_spec=' '
9758 >        allow_undefined_flag=unsupported
9759 >        # Tell ltmain to make .lib files, not .a files.
9760 >        libext=lib
9761 >        # Tell ltmain to make .dll files, not .so files.
9762 >        shrext_cmds=".dll"
9763 >        # FIXME: Setting linknames here is a bad hack.
9764 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9765 >        # The linker will automatically build a .lib file if we build a DLL.
9766 >        old_archive_from_new_cmds='true'
9767 >        # FIXME: Should let the user specify the lib program.
9768 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9769 >        enable_shared_with_static_runtimes=yes
9770 >        ;;
9771 >      esac
9772        ;;
9773  
9774      darwin* | rhapsody*)
# Line 8985 | Line 9778 | if test -z "$aix_libpath"; then aix_libp
9778    hardcode_direct=no
9779    hardcode_automatic=yes
9780    hardcode_shlibpath_var=unsupported
9781 <  whole_archive_flag_spec=''
9781 >  if test "$lt_cv_ld_force_load" = "yes"; then
9782 >    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\"`'
9783 >
9784 >  else
9785 >    whole_archive_flag_spec=''
9786 >  fi
9787    link_all_deplibs=yes
9788    allow_undefined_flag="$_lt_dar_allow_undefined"
9789    case $cc_basename in
# Line 8993 | Line 9791 | if test -z "$aix_libpath"; then aix_libp
9791       *) _lt_dar_can_shared=$GCC ;;
9792    esac
9793    if test "$_lt_dar_can_shared" = "yes"; then
9794 <    output_verbose_link_cmd=echo
9794 >    output_verbose_link_cmd=func_echo_all
9795      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9796      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9797      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 9011 | Line 9809 | if test -z "$aix_libpath"; then aix_libp
9809        hardcode_shlibpath_var=no
9810        ;;
9811  
9014    freebsd1*)
9015      ld_shlibs=no
9016      ;;
9017
9812      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9813      # support.  Future versions do this automatically, but an explicit c++rt0.o
9814      # does not break anything, and helps significantly (at the cost of a little
# Line 9027 | Line 9821 | if test -z "$aix_libpath"; then aix_libp
9821        ;;
9822  
9823      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9824 <    freebsd2*)
9824 >    freebsd2.*)
9825        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9826        hardcode_direct=yes
9827        hardcode_minus_L=yes
# Line 9036 | Line 9830 | if test -z "$aix_libpath"; then aix_libp
9830  
9831      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9832      freebsd* | dragonfly*)
9833 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9833 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9834        hardcode_libdir_flag_spec='-R$libdir'
9835        hardcode_direct=yes
9836        hardcode_shlibpath_var=no
# Line 9044 | Line 9838 | if test -z "$aix_libpath"; then aix_libp
9838  
9839      hpux9*)
9840        if test "$GCC" = yes; then
9841 <        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'
9841 >        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'
9842        else
9843          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'
9844        fi
# Line 9059 | Line 9853 | if test -z "$aix_libpath"; then aix_libp
9853        ;;
9854  
9855      hpux10*)
9856 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9857 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9857 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858        else
9859          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9860        fi
9861        if test "$with_gnu_ld" = no; then
9862          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9069        hardcode_libdir_flag_spec_ld='+b $libdir'
9863          hardcode_libdir_separator=:
9864          hardcode_direct=yes
9865          hardcode_direct_absolute=yes
# Line 9078 | Line 9871 | if test -z "$aix_libpath"; then aix_libp
9871        ;;
9872  
9873      hpux11*)
9874 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9874 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9875          case $host_cpu in
9876          hppa*64*)
9877            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878            ;;
9879          ia64*)
9880 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9880 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9881            ;;
9882          *)
9883 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9883 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9884            ;;
9885          esac
9886        else
# Line 9099 | Line 9892 | if test -z "$aix_libpath"; then aix_libp
9892            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9893            ;;
9894          *)
9895 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9895 >
9896 >          # Older versions of the 11.00 compiler do not understand -b yet
9897 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9898 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9899 > $as_echo_n "checking if $CC understands -b... " >&6; }
9900 > if ${lt_cv_prog_compiler__b+:} false; then :
9901 >  $as_echo_n "(cached) " >&6
9902 > else
9903 >  lt_cv_prog_compiler__b=no
9904 >   save_LDFLAGS="$LDFLAGS"
9905 >   LDFLAGS="$LDFLAGS -b"
9906 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9907 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9908 >     # The linker can only warn and ignore the option if not recognized
9909 >     # So say no if there are warnings
9910 >     if test -s conftest.err; then
9911 >       # Append any errors to the config.log.
9912 >       cat conftest.err 1>&5
9913 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9914 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9915 >       if diff conftest.exp conftest.er2 >/dev/null; then
9916 >         lt_cv_prog_compiler__b=yes
9917 >       fi
9918 >     else
9919 >       lt_cv_prog_compiler__b=yes
9920 >     fi
9921 >   fi
9922 >   $RM -r conftest*
9923 >   LDFLAGS="$save_LDFLAGS"
9924 >
9925 > fi
9926 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9927 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9928 >
9929 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9930 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9931 > else
9932 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9933 > fi
9934 >
9935            ;;
9936          esac
9937        fi
# Line 9127 | Line 9959 | if test -z "$aix_libpath"; then aix_libp
9959  
9960      irix5* | irix6* | nonstopux*)
9961        if test "$GCC" = yes; then
9962 <        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'
9962 >        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'
9963          # Try to use the -exported_symbol ld option, if it does not
9964          # work, assume that -exports_file does not work either and
9965          # implicitly export all symbols.
9966 <        save_LDFLAGS="$LDFLAGS"
9967 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9968 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 >        # This should be the same for all languages, so no per-tag cache variable.
9967 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9968 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9969 > if ${lt_cv_irix_exported_symbol+:} false; then :
9970 >  $as_echo_n "(cached) " >&6
9971 > else
9972 >  save_LDFLAGS="$LDFLAGS"
9973 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9974 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975   /* end confdefs.h.  */
9976 < int foo(void) {}
9976 > int foo (void) { return 0; }
9977   _ACEOF
9978   if ac_fn_c_try_link "$LINENO"; then :
9979 <  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'
9980 <
9979 >  lt_cv_irix_exported_symbol=yes
9980 > else
9981 >  lt_cv_irix_exported_symbol=no
9982   fi
9983   rm -f core conftest.err conftest.$ac_objext \
9984      conftest$ac_exeext conftest.$ac_ext
9985 <        LDFLAGS="$save_LDFLAGS"
9985 >           LDFLAGS="$save_LDFLAGS"
9986 > fi
9987 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9988 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9989 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9990 >          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'
9991 >        fi
9992        else
9993 <        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'
9994 <        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'
9993 >        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'
9994 >        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'
9995        fi
9996        archive_cmds_need_lc='no'
9997        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9208 | Line 10053 | rm -f core conftest.err conftest.$ac_obj
10053        hardcode_libdir_flag_spec='-L$libdir'
10054        hardcode_minus_L=yes
10055        allow_undefined_flag=unsupported
10056 <      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'
10056 >      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'
10057        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10058        ;;
10059  
10060      osf3*)
10061        if test "$GCC" = yes; then
10062          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10063 <        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'
10063 >        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'
10064        else
10065          allow_undefined_flag=' -expect_unresolved \*'
10066 <        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'
10066 >        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'
10067        fi
10068        archive_cmds_need_lc='no'
10069        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9228 | Line 10073 | rm -f core conftest.err conftest.$ac_obj
10073      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10074        if test "$GCC" = yes; then
10075          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10076 <        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'
10076 >        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'
10077          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10078        else
10079          allow_undefined_flag=' -expect_unresolved \*'
10080 <        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'
10080 >        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'
10081          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~
10082 <        $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'
10082 >        $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'
10083  
10084          # Both c and cxx compiler support -rpath directly
10085          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9247 | Line 10092 | rm -f core conftest.err conftest.$ac_obj
10092        no_undefined_flag=' -z defs'
10093        if test "$GCC" = yes; then
10094          wlarc='${wl}'
10095 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10096          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10097 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10097 >          $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'
10098        else
10099          case `$CC -V 2>&1` in
10100          *"Compilers 5.0"*)
# Line 9437 | Line 10282 | x|xyes)
10282        # to ld, don't add -lc before -lgcc.
10283        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10284   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10285 <      $RM conftest*
10286 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10285 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10286 >  $as_echo_n "(cached) " >&6
10287 > else
10288 >  $RM conftest*
10289 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10290  
10291 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10291 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10292    (eval $ac_compile) 2>&5
10293    ac_status=$?
10294    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10295    test $ac_status = 0; } 2>conftest.err; then
10296 <        soname=conftest
10297 <        lib=conftest
10298 <        libobjs=conftest.$ac_objext
10299 <        deplibs=
10300 <        wl=$lt_prog_compiler_wl
10301 <        pic_flag=$lt_prog_compiler_pic
10302 <        compiler_flags=-v
10303 <        linker_flags=-v
10304 <        verstring=
10305 <        output_objdir=.
10306 <        libname=conftest
10307 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10308 <        allow_undefined_flag=
10309 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10296 >          soname=conftest
10297 >          lib=conftest
10298 >          libobjs=conftest.$ac_objext
10299 >          deplibs=
10300 >          wl=$lt_prog_compiler_wl
10301 >          pic_flag=$lt_prog_compiler_pic
10302 >          compiler_flags=-v
10303 >          linker_flags=-v
10304 >          verstring=
10305 >          output_objdir=.
10306 >          libname=conftest
10307 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10308 >          allow_undefined_flag=
10309 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10310    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10311    ac_status=$?
10312    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10313    test $ac_status = 0; }
10314 <        then
10315 <          archive_cmds_need_lc=no
10316 <        else
10317 <          archive_cmds_need_lc=yes
10318 <        fi
10319 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10320 <      else
10321 <        cat conftest.err 1>&5
10322 <      fi
10323 <      $RM conftest*
10324 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10325 < $as_echo "$archive_cmds_need_lc" >&6; }
10314 >          then
10315 >            lt_cv_archive_cmds_need_lc=no
10316 >          else
10317 >            lt_cv_archive_cmds_need_lc=yes
10318 >          fi
10319 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10320 >        else
10321 >          cat conftest.err 1>&5
10322 >        fi
10323 >        $RM conftest*
10324 >
10325 > fi
10326 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10327 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10328 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10329        ;;
10330      esac
10331    fi
# Line 9632 | Line 10483 | esac
10483  
10484  
10485  
9635
9636
9637
9638
9639
10486    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10487   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10488  
# Line 9645 | Line 10491 | if test "$GCC" = yes; then
10491      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10492      *) lt_awk_arg="/^libraries:/" ;;
10493    esac
10494 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10495 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10494 >  case $host_os in
10495 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10496 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10497 >  esac
10498 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10499 >  case $lt_search_path_spec in
10500 >  *\;*)
10501      # if the path contains ";" then we assume it to be the separator
10502      # otherwise default to the standard path separator (i.e. ":") - it is
10503      # assumed that no part of a normal pathname contains ";" but that should
10504      # okay in the real world where ";" in dirpaths is itself problematic.
10505 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10506 <  else
10507 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10508 <  fi
10505 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10506 >    ;;
10507 >  *)
10508 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10509 >    ;;
10510 >  esac
10511    # Ok, now we have the path, separated by spaces, we can step through it
10512    # and add multilib dir if necessary.
10513    lt_tmp_lt_search_path_spec=
# Line 9667 | Line 10520 | if test "$GCC" = yes; then
10520          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10521      fi
10522    done
10523 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10523 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10524   BEGIN {RS=" "; FS="/|\n";} {
10525    lt_foo="";
10526    lt_count=0;
# Line 9687 | Line 10540 | BEGIN {RS=" "; FS="/|\n";} {
10540    if (lt_foo != "") { lt_freq[lt_foo]++; }
10541    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10542   }'`
10543 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10543 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10544 >  # for these hosts.
10545 >  case $host_os in
10546 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10547 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10548 >  esac
10549 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10550   else
10551    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10552   fi
# Line 9713 | Line 10572 | need_version=unknown
10572  
10573   case $host_os in
10574   aix3*)
10575 <  version_type=linux
10575 >  version_type=linux # correct to gnu/linux during the next big refactor
10576    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10577    shlibpath_var=LIBPATH
10578  
# Line 9722 | Line 10581 | aix3*)
10581    ;;
10582  
10583   aix[4-9]*)
10584 <  version_type=linux
10584 >  version_type=linux # correct to gnu/linux during the next big refactor
10585    need_lib_prefix=no
10586    need_version=no
10587    hardcode_into_libs=yes
# Line 9775 | Line 10634 | amigaos*)
10634    m68k)
10635      library_names_spec='$libname.ixlibrary $libname.a'
10636      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10637 <    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'
10637 >    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'
10638      ;;
10639    esac
10640    ;;
# Line 9787 | Line 10646 | beos*)
10646    ;;
10647  
10648   bsdi[45]*)
10649 <  version_type=linux
10649 >  version_type=linux # correct to gnu/linux during the next big refactor
10650    need_version=no
10651    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10652    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9806 | Line 10665 | cygwin* | mingw* | pw32* | cegcc*)
10665    need_version=no
10666    need_lib_prefix=no
10667  
10668 <  case $GCC,$host_os in
10669 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10668 >  case $GCC,$cc_basename in
10669 >  yes,*)
10670 >    # gcc
10671      library_names_spec='$libname.dll.a'
10672      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10673      postinstall_cmds='base_file=`basename \${file}`~
# Line 9828 | Line 10688 | cygwin* | mingw* | pw32* | cegcc*)
10688      cygwin*)
10689        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10690        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10691 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10691 >
10692 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10693        ;;
10694      mingw* | cegcc*)
10695        # MinGW DLLs use traditional 'lib' prefix
10696        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9836      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9837      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9838        # It is most probably a Windows format PATH printed by
9839        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9840        # path with ; separators, and with drive letters. We can handle the
9841        # drive letters (cygwin fileutils understands them), so leave them,
9842        # especially as we might pass files found there to a mingw objdump,
9843        # which wouldn't understand a cygwinified path. Ahh.
9844        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9845      else
9846        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9847      fi
10697        ;;
10698      pw32*)
10699        # pw32 DLLs use 'pw' prefix rather than 'lib'
10700        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10701        ;;
10702      esac
10703 +    dynamic_linker='Win32 ld.exe'
10704 +    ;;
10705 +
10706 +  *,cl*)
10707 +    # Native MSVC
10708 +    libname_spec='$name'
10709 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10710 +    library_names_spec='${libname}.dll.lib'
10711 +
10712 +    case $build_os in
10713 +    mingw*)
10714 +      sys_lib_search_path_spec=
10715 +      lt_save_ifs=$IFS
10716 +      IFS=';'
10717 +      for lt_path in $LIB
10718 +      do
10719 +        IFS=$lt_save_ifs
10720 +        # Let DOS variable expansion print the short 8.3 style file name.
10721 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10722 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10723 +      done
10724 +      IFS=$lt_save_ifs
10725 +      # Convert to MSYS style.
10726 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10727 +      ;;
10728 +    cygwin*)
10729 +      # Convert to unix form, then to dos form, then back to unix form
10730 +      # but this time dos style (no spaces!) so that the unix form looks
10731 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10732 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10733 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10734 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10735 +      ;;
10736 +    *)
10737 +      sys_lib_search_path_spec="$LIB"
10738 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10739 +        # It is most probably a Windows format PATH.
10740 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10741 +      else
10742 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10743 +      fi
10744 +      # FIXME: find the short name or the path components, as spaces are
10745 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10746 +      ;;
10747 +    esac
10748 +
10749 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10750 +    postinstall_cmds='base_file=`basename \${file}`~
10751 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10752 +      dldir=$destdir/`dirname \$dlpath`~
10753 +      test -d \$dldir || mkdir -p \$dldir~
10754 +      $install_prog $dir/$dlname \$dldir/$dlname'
10755 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10756 +      dlpath=$dir/\$dldll~
10757 +       $RM \$dlpath'
10758 +    shlibpath_overrides_runpath=yes
10759 +    dynamic_linker='Win32 link.exe'
10760      ;;
10761  
10762    *)
10763 +    # Assume MSVC wrapper
10764      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10765 +    dynamic_linker='Win32 ld.exe'
10766      ;;
10767    esac
9860  dynamic_linker='Win32 ld.exe'
10768    # FIXME: first we should search . and the directory the executable is in
10769    shlibpath_var=PATH
10770    ;;
# Line 9878 | Line 10785 | darwin* | rhapsody*)
10785    ;;
10786  
10787   dgux*)
10788 <  version_type=linux
10788 >  version_type=linux # correct to gnu/linux during the next big refactor
10789    need_lib_prefix=no
10790    need_version=no
10791    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9886 | Line 10793 | dgux*)
10793    shlibpath_var=LD_LIBRARY_PATH
10794    ;;
10795  
9889 freebsd1*)
9890  dynamic_linker=no
9891  ;;
9892
10796   freebsd* | dragonfly*)
10797    # DragonFly does not have aout.  When/if they implement a new
10798    # versioning mechanism, adjust this.
# Line 9897 | Line 10800 | freebsd* | dragonfly*)
10800      objformat=`/usr/bin/objformat`
10801    else
10802      case $host_os in
10803 <    freebsd[123]*) objformat=aout ;;
10803 >    freebsd[23].*) objformat=aout ;;
10804      *) objformat=elf ;;
10805      esac
10806    fi
# Line 9915 | Line 10818 | freebsd* | dragonfly*)
10818    esac
10819    shlibpath_var=LD_LIBRARY_PATH
10820    case $host_os in
10821 <  freebsd2*)
10821 >  freebsd2.*)
10822      shlibpath_overrides_runpath=yes
10823      ;;
10824    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9935 | Line 10838 | freebsd* | dragonfly*)
10838    ;;
10839  
10840   gnu*)
10841 <  version_type=linux
10841 >  version_type=linux # correct to gnu/linux during the next big refactor
10842    need_lib_prefix=no
10843    need_version=no
10844    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10845    soname_spec='${libname}${release}${shared_ext}$major'
10846    shlibpath_var=LD_LIBRARY_PATH
10847 +  shlibpath_overrides_runpath=no
10848 +  hardcode_into_libs=yes
10849 +  ;;
10850 +
10851 + haiku*)
10852 +  version_type=linux # correct to gnu/linux during the next big refactor
10853 +  need_lib_prefix=no
10854 +  need_version=no
10855 +  dynamic_linker="$host_os runtime_loader"
10856 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10857 +  soname_spec='${libname}${release}${shared_ext}$major'
10858 +  shlibpath_var=LIBRARY_PATH
10859 +  shlibpath_overrides_runpath=yes
10860 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10861    hardcode_into_libs=yes
10862    ;;
10863  
# Line 9986 | Line 10903 | hpux9* | hpux10* | hpux11*)
10903      soname_spec='${libname}${release}${shared_ext}$major'
10904      ;;
10905    esac
10906 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10906 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10907    postinstall_cmds='chmod 555 $lib'
10908 +  # or fails outright, so override atomically:
10909 +  install_override_mode=555
10910    ;;
10911  
10912   interix[3-9]*)
10913 <  version_type=linux
10913 >  version_type=linux # correct to gnu/linux during the next big refactor
10914    need_lib_prefix=no
10915    need_version=no
10916    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10007 | Line 10926 | irix5* | irix6* | nonstopux*)
10926      nonstopux*) version_type=nonstopux ;;
10927      *)
10928          if test "$lt_cv_prog_gnu_ld" = yes; then
10929 <                version_type=linux
10929 >                version_type=linux # correct to gnu/linux during the next big refactor
10930          else
10931                  version_type=irix
10932          fi ;;
# Line 10044 | Line 10963 | linux*oldld* | linux*aout* | linux*coff*
10963    dynamic_linker=no
10964    ;;
10965  
10966 < # This must be Linux ELF.
10967 < linux* | k*bsd*-gnu)
10968 <  version_type=linux
10966 > # This must be glibc/ELF.
10967 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10968 >  version_type=linux # correct to gnu/linux during the next big refactor
10969    need_lib_prefix=no
10970    need_version=no
10971    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10054 | Line 10973 | linux* | k*bsd*-gnu)
10973    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10974    shlibpath_var=LD_LIBRARY_PATH
10975    shlibpath_overrides_runpath=no
10976 +
10977    # Some binutils ld are patched to set DT_RUNPATH
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
10978 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10979 >  $as_echo_n "(cached) " >&6
10980 > else
10981 >  lt_cv_shlibpath_overrides_runpath=no
10982 >    save_LDFLAGS=$LDFLAGS
10983 >    save_libdir=$libdir
10984 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10985 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10986 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987   /* end confdefs.h.  */
10988  
10989   int
# Line 10072 | Line 10996 | main ()
10996   _ACEOF
10997   if ac_fn_c_try_link "$LINENO"; then :
10998    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10999 <  shlibpath_overrides_runpath=yes
10999 >  lt_cv_shlibpath_overrides_runpath=yes
11000   fi
11001   fi
11002   rm -f core conftest.err conftest.$ac_objext \
11003      conftest$ac_exeext conftest.$ac_ext
11004 <  LDFLAGS=$save_LDFLAGS
11005 <  libdir=$save_libdir
11004 >    LDFLAGS=$save_LDFLAGS
11005 >    libdir=$save_libdir
11006 >
11007 > fi
11008 >
11009 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11010  
11011    # This implies no fast_install, which is unacceptable.
11012    # Some rework will be needed to allow for fast_install
11013    # before this can be enabled.
11014    hardcode_into_libs=yes
11015  
10088  # find out which ABI we are using
10089  libsuff=
10090  case "$host_cpu" in
10091  x86_64*|s390x*|powerpc64*)
10092    echo '#line 10092 "configure"' > conftest.$ac_ext
10093    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10094  (eval $ac_compile) 2>&5
10095  ac_status=$?
10096  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10097  test $ac_status = 0; }; then
10098      case `/usr/bin/file conftest.$ac_objext` in
10099      *64-bit*)
10100        libsuff=64
10101        ;;
10102      esac
10103    fi
10104    rm -rf conftest*
10105    ;;
10106  esac
10107
10108  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10109
11016    # Append ld.so.conf contents to the search path
11017    if test -f /etc/ld.so.conf; then
11018 <    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' ' '`
11019 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11018 >    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' ' '`
11019 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11020    fi
11021  
11022    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10141 | Line 11047 | netbsd*)
11047    ;;
11048  
11049   newsos6)
11050 <  version_type=linux
11050 >  version_type=linux # correct to gnu/linux during the next big refactor
11051    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052    shlibpath_var=LD_LIBRARY_PATH
11053    shlibpath_overrides_runpath=yes
# Line 10210 | Line 11116 | rdos*)
11116    ;;
11117  
11118   solaris*)
11119 <  version_type=linux
11119 >  version_type=linux # correct to gnu/linux during the next big refactor
11120    need_lib_prefix=no
11121    need_version=no
11122    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10235 | Line 11141 | sunos4*)
11141    ;;
11142  
11143   sysv4 | sysv4.3*)
11144 <  version_type=linux
11144 >  version_type=linux # correct to gnu/linux during the next big refactor
11145    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146    soname_spec='${libname}${release}${shared_ext}$major'
11147    shlibpath_var=LD_LIBRARY_PATH
# Line 10259 | Line 11165 | sysv4 | sysv4.3*)
11165  
11166   sysv4*MP*)
11167    if test -d /usr/nec ;then
11168 <    version_type=linux
11168 >    version_type=linux # correct to gnu/linux during the next big refactor
11169      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11170      soname_spec='$libname${shared_ext}.$major'
11171      shlibpath_var=LD_LIBRARY_PATH
# Line 10290 | Line 11196 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11196  
11197   tpf*)
11198    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11199 <  version_type=linux
11199 >  version_type=linux # correct to gnu/linux during the next big refactor
11200    need_lib_prefix=no
11201    need_version=no
11202    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10300 | Line 11206 | tpf*)
11206    ;;
11207  
11208   uts4*)
11209 <  version_type=linux
11209 >  version_type=linux # correct to gnu/linux during the next big refactor
11210    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11211    soname_spec='${libname}${release}${shared_ext}$major'
11212    shlibpath_var=LD_LIBRARY_PATH
# Line 10412 | Line 11318 | fi
11318  
11319  
11320  
11321 +
11322 +
11323 +
11324 +
11325 +
11326    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11327   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11328   hardcode_action=
# Line 10484 | Line 11395 | else
11395    # if libdl is installed we need to link against it
11396      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11397   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11398 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11398 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11399    $as_echo_n "(cached) " >&6
11400   else
11401    ac_check_lib_save_LIBS=$LIBS
# Line 10518 | Line 11429 | LIBS=$ac_check_lib_save_LIBS
11429   fi
11430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11431   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11432 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11432 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11433    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11434   else
11435  
# Line 10532 | Line 11443 | fi
11443  
11444    *)
11445      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11446 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11446 > if test "x$ac_cv_func_shl_load" = xyes; then :
11447    lt_cv_dlopen="shl_load"
11448   else
11449    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11450   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11451 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11451 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11452    $as_echo_n "(cached) " >&6
11453   else
11454    ac_check_lib_save_LIBS=$LIBS
# Line 10571 | Line 11482 | LIBS=$ac_check_lib_save_LIBS
11482   fi
11483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11484   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11485 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11485 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11486    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11487   else
11488    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11489 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11489 > if test "x$ac_cv_func_dlopen" = xyes; then :
11490    lt_cv_dlopen="dlopen"
11491   else
11492    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11493   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11494 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11494 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11495    $as_echo_n "(cached) " >&6
11496   else
11497    ac_check_lib_save_LIBS=$LIBS
# Line 10614 | Line 11525 | LIBS=$ac_check_lib_save_LIBS
11525   fi
11526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11527   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11528 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11528 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11529    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11530   else
11531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11532   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11533 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11533 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11534    $as_echo_n "(cached) " >&6
11535   else
11536    ac_check_lib_save_LIBS=$LIBS
# Line 10653 | Line 11564 | LIBS=$ac_check_lib_save_LIBS
11564   fi
11565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11566   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11567 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11567 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11568    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11569   else
11570    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11571   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11572 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11572 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11573    $as_echo_n "(cached) " >&6
11574   else
11575    ac_check_lib_save_LIBS=$LIBS
# Line 10692 | Line 11603 | LIBS=$ac_check_lib_save_LIBS
11603   fi
11604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11605   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11606 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11606 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11607    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11608   fi
11609  
# Line 10733 | Line 11644 | fi
11644  
11645      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11646   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11647 < if test "${lt_cv_dlopen_self+set}" = set; then :
11647 > if ${lt_cv_dlopen_self+:} false; then :
11648    $as_echo_n "(cached) " >&6
11649   else
11650            if test "$cross_compiling" = yes; then :
# Line 10742 | Line 11653 | else
11653    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11654    lt_status=$lt_dlunknown
11655    cat > conftest.$ac_ext <<_LT_EOF
11656 < #line 10745 "configure"
11656 > #line $LINENO "configure"
11657   #include "confdefs.h"
11658  
11659   #if HAVE_DLFCN_H
# Line 10783 | Line 11694 | else
11694   #  endif
11695   #endif
11696  
11697 < void fnord() { int i=42;}
11697 > /* When -fvisbility=hidden is used, assume the code has been annotated
11698 >   correspondingly for the symbols needed.  */
11699 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11700 > int fnord () __attribute__((visibility("default")));
11701 > #endif
11702 >
11703 > int fnord () { return 42; }
11704   int main ()
11705   {
11706    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10792 | Line 11709 | int main ()
11709    if (self)
11710      {
11711        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11712 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11712 >      else
11713 >        {
11714 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11715 >          else puts (dlerror ());
11716 >        }
11717        /* dlclose (self); */
11718      }
11719    else
# Line 10829 | Line 11750 | $as_echo "$lt_cv_dlopen_self" >&6; }
11750        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11751        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11752   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11753 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11753 > if ${lt_cv_dlopen_self_static+:} false; then :
11754    $as_echo_n "(cached) " >&6
11755   else
11756            if test "$cross_compiling" = yes; then :
# Line 10838 | Line 11759 | else
11759    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11760    lt_status=$lt_dlunknown
11761    cat > conftest.$ac_ext <<_LT_EOF
11762 < #line 10841 "configure"
11762 > #line $LINENO "configure"
11763   #include "confdefs.h"
11764  
11765   #if HAVE_DLFCN_H
# Line 10879 | Line 11800 | else
11800   #  endif
11801   #endif
11802  
11803 < void fnord() { int i=42;}
11803 > /* When -fvisbility=hidden is used, assume the code has been annotated
11804 >   correspondingly for the symbols needed.  */
11805 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11806 > int fnord () __attribute__((visibility("default")));
11807 > #endif
11808 >
11809 > int fnord () { return 42; }
11810   int main ()
11811   {
11812    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10888 | Line 11815 | int main ()
11815    if (self)
11816      {
11817        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11818 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11818 >      else
11819 >        {
11820 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11821 >          else puts (dlerror ());
11822 >        }
11823        /* dlclose (self); */
11824      }
11825    else
# Line 11057 | Line 11988 | CC="$lt_save_CC"
11988  
11989  
11990  
11991 +
11992 +
11993          ac_config_commands="$ac_config_commands libtool"
11994  
11995  
# Line 11067 | Line 12000 | CC="$lt_save_CC"
12000  
12001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12002   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12003 < if test "${libltdl_cv_shlibext+set}" = set; then :
12003 > if ${libltdl_cv_shlibext+:} false; then :
12004    $as_echo_n "(cached) " >&6
12005   else
12006  
12007   module=yes
12008   eval libltdl_cv_shlibext=$shrext_cmds
12009 + module=no
12010 + eval libltdl_cv_shrext=$shrext_cmds
12011  
12012   fi
12013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11084 | Line 12019 | cat >>confdefs.h <<_ACEOF
12019   _ACEOF
12020  
12021   fi
12022 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12023 +
12024 + cat >>confdefs.h <<_ACEOF
12025 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12026 + _ACEOF
12027 +
12028 + fi
12029  
12030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12031   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12032 < if test "${lt_cv_module_path_var+set}" = set; then :
12032 > if ${lt_cv_module_path_var+:} false; then :
12033    $as_echo_n "(cached) " >&6
12034   else
12035    lt_cv_module_path_var="$shlibpath_var"
# Line 11104 | Line 12046 | fi
12046  
12047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12048   $as_echo_n "checking for the default library search path... " >&6; }
12049 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12049 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12050    $as_echo_n "(cached) " >&6
12051   else
12052    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11141 | Line 12083 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12083   LIBADD_DLOPEN=
12084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12085   $as_echo_n "checking for library containing dlopen... " >&6; }
12086 < if test "${ac_cv_search_dlopen+set}" = set; then :
12086 > if ${ac_cv_search_dlopen+:} false; then :
12087    $as_echo_n "(cached) " >&6
12088   else
12089    ac_func_search_save_LIBS=$LIBS
# Line 11175 | Line 12117 | for ac_lib in '' dl; do
12117   fi
12118   rm -f core conftest.err conftest.$ac_objext \
12119      conftest$ac_exeext
12120 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12120 >  if ${ac_cv_search_dlopen+:} false; then :
12121    break
12122   fi
12123   done
12124 < if test "${ac_cv_search_dlopen+set}" = set; then :
12124 > if ${ac_cv_search_dlopen+:} false; then :
12125  
12126   else
12127    ac_cv_search_dlopen=no
# Line 11224 | Line 12166 | $as_echo "#define HAVE_LIBDL 1" >>confde
12166   else
12167    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12168   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12169 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12169 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12170    $as_echo_n "(cached) " >&6
12171   else
12172    ac_check_lib_save_LIBS=$LIBS
# Line 11258 | Line 12200 | LIBS=$ac_check_lib_save_LIBS
12200   fi
12201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12202   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12203 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12203 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12204  
12205   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12206  
# Line 11278 | Line 12220 | then
12220    for ac_func in dlerror
12221   do :
12222    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12223 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12223 > if test "x$ac_cv_func_dlerror" = xyes; then :
12224    cat >>confdefs.h <<_ACEOF
12225   #define HAVE_DLERROR 1
12226   _ACEOF
# Line 11292 | Line 12234 | fi
12234  
12235   LIBADD_SHL_LOAD=
12236   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12237 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12237 > if test "x$ac_cv_func_shl_load" = xyes; then :
12238  
12239   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12240  
# Line 11300 | Line 12242 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12242   else
12243    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12244   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12245 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12245 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12246    $as_echo_n "(cached) " >&6
12247   else
12248    ac_check_lib_save_LIBS=$LIBS
# Line 11334 | Line 12276 | LIBS=$ac_check_lib_save_LIBS
12276   fi
12277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12278   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12279 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12279 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12280  
12281   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12282  
# Line 11350 | Line 12292 | case $host_os in
12292   darwin[1567].*)
12293   # We only want this for pre-Mac OS X 10.4.
12294    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12295 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12295 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12296  
12297   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12298  
# Line 11364 | Line 12306 | beos*)
12306   cygwin* | mingw* | os2* | pw32*)
12307    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12308   "
12309 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12309 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12310    ac_have_decl=1
12311   else
12312    ac_have_decl=0
# Line 11380 | Line 12322 | esac
12322  
12323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12324   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12325 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12325 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12326    $as_echo_n "(cached) " >&6
12327   else
12328    ac_check_lib_save_LIBS=$LIBS
# Line 11414 | Line 12356 | LIBS=$ac_check_lib_save_LIBS
12356   fi
12357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12358   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12359 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12359 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12360  
12361   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12362  
# Line 11448 | Line 12390 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12390  
12391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12392   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12393 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12393 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12394    $as_echo_n "(cached) " >&6
12395   else
12396    lt_cv_sys_symbol_underscore=no
# Line 11498 | Line 12440 | if test x"$lt_cv_sys_symbol_underscore"
12440       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12441          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12442   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12443 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12443 > if ${libltdl_cv_need_uscore+:} false; then :
12444    $as_echo_n "(cached) " >&6
12445   else
12446    libltdl_cv_need_uscore=unknown
# Line 11510 | Line 12452 | else
12452    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12453    lt_status=$lt_dlunknown
12454    cat > conftest.$ac_ext <<_LT_EOF
12455 < #line 11513 "configure"
12455 > #line $LINENO "configure"
12456   #include "confdefs.h"
12457  
12458   #if HAVE_DLFCN_H
# Line 11551 | Line 12493 | else
12493   #  endif
12494   #endif
12495  
12496 < void fnord() { int i=42;}
12496 > /* When -fvisbility=hidden is used, assume the code has been annotated
12497 >   correspondingly for the symbols needed.  */
12498 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12499 > int fnord () __attribute__((visibility("default")));
12500 > #endif
12501 >
12502 > int fnord () { return 42; }
12503   int main ()
12504   {
12505    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11560 | Line 12508 | int main ()
12508    if (self)
12509      {
12510        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12511 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12511 >      else
12512 >        {
12513 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12514 >          else puts (dlerror ());
12515 >        }
12516        /* dlclose (self); */
12517      }
12518    else
# Line 11604 | Line 12556 | fi
12556  
12557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12558   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12559 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12559 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12560    $as_echo_n "(cached) " >&6
12561   else
12562    # PORTME does your system automatically load deplibs for dlopen?
# Line 11636 | Line 12588 | else
12588    freebsd* | dragonfly*)
12589      lt_cv_sys_dlopen_deplibs=yes
12590      ;;
12591 <  gnu* | linux* | k*bsd*-gnu)
12591 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12592      # GNU and its variants, using gnu ld.so (Glibc)
12593      lt_cv_sys_dlopen_deplibs=yes
12594      ;;
# Line 11710 | Line 12662 | for ac_header in argz.h
12662   do :
12663    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12664   "
12665 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12665 > if test "x$ac_cv_header_argz_h" = xyes; then :
12666    cat >>confdefs.h <<_ACEOF
12667   #define HAVE_ARGZ_H 1
12668   _ACEOF
# Line 11724 | Line 12676 | ac_fn_c_check_type "$LINENO" "error_t" "
12676   #  include <argz.h>
12677   #endif
12678   "
12679 < if test "x$ac_cv_type_error_t" = x""yes; then :
12679 > if test "x$ac_cv_type_error_t" = xyes; then :
12680  
12681   cat >>confdefs.h <<_ACEOF
12682   #define HAVE_ERROR_T 1
# Line 11747 | Line 12699 | for ac_func in argz_add argz_append argz
12699   do :
12700    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12701   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12702 < eval as_val=\$$as_ac_var
11751 <   if test "x$as_val" = x""yes; then :
12702 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12703    cat >>confdefs.h <<_ACEOF
12704   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12705   _ACEOF
# Line 11765 | Line 12716 | done
12716   if test -z "$ARGZ_H"; then :
12717    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12718   $as_echo_n "checking if argz actually works... " >&6; }
12719 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12719 > if ${lt_cv_sys_argz_works+:} false; then :
12720    $as_echo_n "(cached) " >&6
12721   else
12722    case $host_os in #(
# Line 11796 | Line 12747 | else
12747   fi
12748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12749   $as_echo "$lt_cv_sys_argz_works" >&6; }
12750 <     if test $lt_cv_sys_argz_works = yes; then :
12750 >     if test "$lt_cv_sys_argz_works" = yes; then :
12751  
12752   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12753  
# Line 11813 | Line 12764 | fi
12764  
12765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12766   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12767 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12767 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12768    $as_echo_n "(cached) " >&6
12769   else
12770    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11831 | Line 12782 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12782  
12783   fi
12784  
11834
11835
12785   # Set options
12786  
12787  
# Line 11845 | Line 12794 | fi
12794  
12795  
12796  
11848
12797   # Check whether --with-included_ltdl was given.
12798   if test "${with_included_ltdl+set}" = set; then :
12799    withval=$with_included_ltdl;
# Line 11858 | Line 12806 | if test "x$with_included_ltdl" != xyes;
12806    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12807  
12808   "
12809 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12809 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12810    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12811              #include <ltdl.h>
12812   "
12813 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12813 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12814    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12815   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12816 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12816 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12817    $as_echo_n "(cached) " >&6
12818   else
12819    ac_check_lib_save_LIBS=$LIBS
# Line 11899 | Line 12847 | LIBS=$ac_check_lib_save_LIBS
12847   fi
12848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12849   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12850 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12850 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12851    with_included_ltdl=no
12852   else
12853    with_included_ltdl=yes
# Line 11919 | Line 12867 | fi
12867  
12868  
12869  
11922
11923
11924
11925
11926
12870   # Check whether --with-ltdl_include was given.
12871   if test "${with_ltdl_include+set}" = set; then :
12872    withval=$with_ltdl_include;
# Line 11933 | Line 12876 | fi
12876   if test -n "$with_ltdl_include"; then
12877    if test -f "$with_ltdl_include/ltdl.h"; then :
12878    else
12879 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12879 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12880    fi
12881   else
12882    with_ltdl_include=no
# Line 11949 | Line 12892 | fi
12892   if test -n "$with_ltdl_lib"; then
12893    if test -f "$with_ltdl_lib/libltdl.la"; then :
12894    else
12895 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12895 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12896    fi
12897   else
12898    with_ltdl_lib=no
# Line 11958 | Line 12901 | fi
12901   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12902    ,yes,no,no,)
12903          case $enable_ltdl_convenience in
12904 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12904 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12905    "") enable_ltdl_convenience=yes
12906        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12907   esac
# Line 11986 | Line 12929 | $as_echo "#define HAVE_LTDL 1" >>confdef
12929          LTDLINCL=
12930          ;;
12931    ,no*,no,*)
12932 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12932 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12933          ;;
12934    *)    with_included_ltdl=no
12935          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12037 | Line 12980 | fi
12980  
12981  
12982  
12040    subdirs="$subdirs libltdl"
12041
12042
12983  
12984  
12985  
# Line 12056 | Line 12996 | do :
12996    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12997   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12998   "
12999 < eval as_val=\$$as_ac_Header
12060 <   if test "x$as_val" = x""yes; then :
12999 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13000    cat >>confdefs.h <<_ACEOF
13001   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13002   _ACEOF
# Line 12071 | Line 13010 | for ac_func in closedir opendir readdir
13010   do :
13011    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13012   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13013 < eval as_val=\$$as_ac_var
12075 <   if test "x$as_val" = x""yes; then :
13013 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13014    cat >>confdefs.h <<_ACEOF
13015   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13016   _ACEOF
# Line 12089 | Line 13027 | for ac_func in strlcat strlcpy
13027   do :
13028    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13029   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13030 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
13030 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13031    cat >>confdefs.h <<_ACEOF
13032   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13033   _ACEOF
# Line 12110 | Line 13047 | cat >>confdefs.h <<_ACEOF
13047   _ACEOF
13048  
13049  
13050 + name=
13051 + eval "lt_libprefix=\"$libname_spec\""
13052 +
13053 + cat >>confdefs.h <<_ACEOF
13054 + #define LT_LIBPREFIX "$lt_libprefix"
13055 + _ACEOF
13056 +
13057 +
13058   name=ltdl
13059 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13059 > eval "LTDLOPEN=\"$libname_spec\""
13060  
13061  
13062  
# Line 12125 | Line 13070 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13070  
13071   LIBTOOL="$LIBTOOL --silent"
13072  
12128
13073   # Checks for libraries.
13074  
13075 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13076 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13077 +
13078 + else
13079 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13080 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13081 + if ${ac_cv_search_getaddrinfo+:} false; then :
13082 +  $as_echo_n "(cached) " >&6
13083 + else
13084 +  ac_func_search_save_LIBS=$LIBS
13085 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 + /* end confdefs.h.  */
13087 +
13088 + /* Override any GCC internal prototype to avoid an error.
13089 +   Use char because int might match the return type of a GCC
13090 +   builtin and then its argument prototype would still apply.  */
13091 + #ifdef __cplusplus
13092 + extern "C"
13093 + #endif
13094 + char getaddrinfo ();
13095 + int
13096 + main ()
13097 + {
13098 + return getaddrinfo ();
13099 +  ;
13100 +  return 0;
13101 + }
13102 + _ACEOF
13103 + for ac_lib in '' nsl; do
13104 +  if test -z "$ac_lib"; then
13105 +    ac_res="none required"
13106 +  else
13107 +    ac_res=-l$ac_lib
13108 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13109 +  fi
13110 +  if ac_fn_c_try_link "$LINENO"; then :
13111 +  ac_cv_search_getaddrinfo=$ac_res
13112 + fi
13113 + rm -f core conftest.err conftest.$ac_objext \
13114 +    conftest$ac_exeext
13115 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13116 +  break
13117 + fi
13118 + done
13119 + if ${ac_cv_search_getaddrinfo+:} false; then :
13120 +
13121 + else
13122 +  ac_cv_search_getaddrinfo=no
13123 + fi
13124 + rm conftest.$ac_ext
13125 + LIBS=$ac_func_search_save_LIBS
13126 + fi
13127 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13128 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13129 + ac_res=$ac_cv_search_getaddrinfo
13130 + if test "$ac_res" != no; then :
13131 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13132 +
13133 + fi
13134 +
13135 + fi
13136 +
13137 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13138 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13139 +
13140 + else
13141 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13142 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13143 + if ${ac_cv_search_getnameinfo+:} false; then :
13144 +  $as_echo_n "(cached) " >&6
13145 + else
13146 +  ac_func_search_save_LIBS=$LIBS
13147 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 + /* end confdefs.h.  */
13149 +
13150 + /* Override any GCC internal prototype to avoid an error.
13151 +   Use char because int might match the return type of a GCC
13152 +   builtin and then its argument prototype would still apply.  */
13153 + #ifdef __cplusplus
13154 + extern "C"
13155 + #endif
13156 + char getnameinfo ();
13157 + int
13158 + main ()
13159 + {
13160 + return getnameinfo ();
13161 +  ;
13162 +  return 0;
13163 + }
13164 + _ACEOF
13165 + for ac_lib in '' nsl; do
13166 +  if test -z "$ac_lib"; then
13167 +    ac_res="none required"
13168 +  else
13169 +    ac_res=-l$ac_lib
13170 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13171 +  fi
13172 +  if ac_fn_c_try_link "$LINENO"; then :
13173 +  ac_cv_search_getnameinfo=$ac_res
13174 + fi
13175 + rm -f core conftest.err conftest.$ac_objext \
13176 +    conftest$ac_exeext
13177 +  if ${ac_cv_search_getnameinfo+:} false; then :
13178 +  break
13179 + fi
13180 + done
13181 + if ${ac_cv_search_getnameinfo+:} false; then :
13182 +
13183 + else
13184 +  ac_cv_search_getnameinfo=no
13185 + fi
13186 + rm conftest.$ac_ext
13187 + LIBS=$ac_func_search_save_LIBS
13188 + fi
13189 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13190 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13191 + ac_res=$ac_cv_search_getnameinfo
13192 + if test "$ac_res" != no; then :
13193 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13194 +
13195 + fi
13196 +
13197 + fi
13198 +
13199    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13200   $as_echo_n "checking for library containing socket... " >&6; }
13201 < if test "${ac_cv_search_socket+set}" = set; then :
13201 > if ${ac_cv_search_socket+:} false; then :
13202    $as_echo_n "(cached) " >&6
13203   else
13204    ac_func_search_save_LIBS=$LIBS
# Line 12164 | Line 13232 | for ac_lib in '' socket; do
13232   fi
13233   rm -f core conftest.err conftest.$ac_objext \
13234      conftest$ac_exeext
13235 <  if test "${ac_cv_search_socket+set}" = set; then :
13235 >  if ${ac_cv_search_socket+:} false; then :
13236    break
13237   fi
13238   done
13239 < if test "${ac_cv_search_socket+set}" = set; then :
13239 > if ${ac_cv_search_socket+:} false; then :
13240  
13241   else
13242    ac_cv_search_socket=no
# Line 12183 | Line 13251 | if test "$ac_res" != no; then :
13251    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13252  
13253   else
13254 <  as_fn_error "socket library not found" "$LINENO" 5
13254 >  as_fn_error $? "socket library not found" "$LINENO" 5
13255   fi
13256  
12189  for ac_func in inet_aton inet_ntop inet_pton
12190 do :
12191  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12193 eval as_val=\$$as_ac_var
12194   if test "x$as_val" = x""yes; then :
12195  cat >>confdefs.h <<_ACEOF
12196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12197 _ACEOF
12198
12199 fi
12200 done
12201
13257    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13258     #include <sys/socket.h>
13259     #include <netdb.h>
13260  
13261   "
13262 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13262 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13263  
13264   cat >>confdefs.h <<_ACEOF
13265   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12217 | Line 13272 | ac_fn_c_check_type "$LINENO" "struct soc
13272     #include <netdb.h>
13273  
13274   "
13275 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13275 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13276  
13277   cat >>confdefs.h <<_ACEOF
13278   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12230 | Line 13285 | ac_fn_c_check_type "$LINENO" "struct add
13285     #include <netdb.h>
13286  
13287   "
13288 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13288 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13289  
13290   cat >>confdefs.h <<_ACEOF
13291   #define HAVE_STRUCT_ADDRINFO 1
# Line 12242 | Line 13297 | fi
13297    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13298    <sys/socket.h>
13299   "
13300 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13300 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13301  
13302   cat >>confdefs.h <<_ACEOF
13303   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12253 | Line 13308 | fi
13308  
13309  
13310  
13311 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13312 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13313 <
12259 < cat >>confdefs.h <<_ACEOF
12260 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12261 < _ACEOF
12262 <
12263 <
12264 < else
13311 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13312 > "
13313 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13314  
13315   $as_echo "#define IPV6 1" >>confdefs.h
13316  
# Line 12269 | Line 13318 | fi
13318  
13319  
13320  
12272
13321   # Checks for typedefs, structures, and compiler characteristics.
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12275 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12276 if test "${ac_cv_c_const+set}" = set; then :
12277  $as_echo_n "(cached) " >&6
12278 else
12279  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h.  */
12281
12282 int
12283 main ()
12284 {
12285 /* FIXME: Include the comments suggested by Paul. */
12286 #ifndef __cplusplus
12287  /* Ultrix mips cc rejects this.  */
12288  typedef int charset[2];
12289  const charset cs;
12290  /* SunOS 4.1.1 cc rejects this.  */
12291  char const *const *pcpcc;
12292  char **ppc;
12293  /* NEC SVR4.0.2 mips cc rejects this.  */
12294  struct point {int x, y;};
12295  static struct point const zero = {0,0};
12296  /* AIX XL C 1.02.0.0 rejects this.
12297     It does not let you subtract one const X* pointer from another in
12298     an arm of an if-expression whose if-part is not a constant
12299     expression */
12300  const char *g = "string";
12301  pcpcc = &g + (g ? g-g : 0);
12302  /* HPUX 7.0 cc rejects these. */
12303  ++pcpcc;
12304  ppc = (char**) pcpcc;
12305  pcpcc = (char const *const *) ppc;
12306  { /* SCO 3.2v4 cc rejects this.  */
12307    char *t;
12308    char const *s = 0 ? (char *) 0 : (char const *) 0;
12309
12310    *t++ = 0;
12311    if (s) return 0;
12312  }
12313  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12314    int x[] = {25, 17};
12315    const int *foo = &x[0];
12316    ++foo;
12317  }
12318  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12319    typedef const int *iptr;
12320    iptr p = 0;
12321    ++p;
12322  }
12323  { /* AIX XL C 1.02.0.0 rejects this saying
12324       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12325    struct s { int j; const int *ap[3]; };
12326    struct s *b; b->j = 5;
12327  }
12328  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12329    const int foo = 10;
12330    if (!foo) return 0;
12331  }
12332  return !cs[0] && !zero.x;
12333 #endif
12334
12335  ;
12336  return 0;
12337 }
12338 _ACEOF
12339 if ac_fn_c_try_compile "$LINENO"; then :
12340  ac_cv_c_const=yes
12341 else
12342  ac_cv_c_const=no
12343 fi
12344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12345 fi
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12347 $as_echo "$ac_cv_c_const" >&6; }
12348 if test $ac_cv_c_const = no; then
12349
12350 $as_echo "#define const /**/" >>confdefs.h
12351
12352 fi
12353
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12355 $as_echo_n "checking for inline... " >&6; }
12356 if test "${ac_cv_c_inline+set}" = set; then :
12357  $as_echo_n "(cached) " >&6
12358 else
12359  ac_cv_c_inline=no
12360 for ac_kw in inline __inline__ __inline; do
12361  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h.  */
12363 #ifndef __cplusplus
12364 typedef int foo_t;
12365 static $ac_kw foo_t static_foo () {return 0; }
12366 $ac_kw foo_t foo () {return 0; }
12367 #endif
12368
12369 _ACEOF
12370 if ac_fn_c_try_compile "$LINENO"; then :
12371  ac_cv_c_inline=$ac_kw
12372 fi
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374  test "$ac_cv_c_inline" != no && break
12375 done
12376
12377 fi
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12379 $as_echo "$ac_cv_c_inline" >&6; }
12380
12381 case $ac_cv_c_inline in
12382  inline | yes) ;;
12383  *)
12384    case $ac_cv_c_inline in
12385      no) ac_val=;;
12386      *) ac_val=$ac_cv_c_inline;;
12387    esac
12388    cat >>confdefs.h <<_ACEOF
12389 #ifndef __cplusplus
12390 #define inline $ac_val
12391 #endif
12392 _ACEOF
12393    ;;
12394 esac
12395
13322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13323   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13324 < if test "${ac_cv_c_bigendian+set}" = set; then :
13324 > if ${ac_cv_c_bigendian+:} false; then :
13325    $as_echo_n "(cached) " >&6
13326   else
13327    ac_cv_c_bigendian=unknown
# Line 12613 | Line 13539 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13539  
13540       ;; #(
13541     *)
13542 <     as_fn_error "unknown endianness
13542 >     as_fn_error $? "unknown endianness
13543   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13544   esac
13545  
13546  
12621 # The cast to long int works around a bug in the HP C Compiler
12622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12624 # This bug is HP SR number 8606223364.
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12626 $as_echo_n "checking size of int64_t... " >&6; }
12627 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12628  $as_echo_n "(cached) " >&6
12629 else
12630  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12631
12632 else
12633  if test "$ac_cv_type_int64_t" = yes; then
12634     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12636 { as_fn_set_status 77
12637 as_fn_error "cannot compute sizeof (int64_t)
12638 See \`config.log' for more details." "$LINENO" 5; }; }
12639   else
12640     ac_cv_sizeof_int64_t=0
12641   fi
12642 fi
12643
12644 fi
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12646 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12647
12648
12649
12650 cat >>confdefs.h <<_ACEOF
12651 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12652 _ACEOF
12653
12654
12655 # The cast to long int works around a bug in the HP C Compiler
12656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12658 # This bug is HP SR number 8606223364.
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12660 $as_echo_n "checking size of long long... " >&6; }
12661 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12662  $as_echo_n "(cached) " >&6
12663 else
12664  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12665
12666 else
12667  if test "$ac_cv_type_long_long" = yes; then
12668     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12670 { as_fn_set_status 77
12671 as_fn_error "cannot compute sizeof (long long)
12672 See \`config.log' for more details." "$LINENO" 5; }; }
12673   else
12674     ac_cv_sizeof_long_long=0
12675   fi
12676 fi
12677
12678 fi
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12680 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12681
12682
12683
12684 cat >>confdefs.h <<_ACEOF
12685 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12686 _ACEOF
12687
12688
12689
12690 if test "$ac_cv_sizeof_int64_t" = 8; then
12691  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12692 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12693
12694 fi
12695
12696  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12697 if test "x$ac_cv_type_int64_t" = x""yes; then :
12698
12699 fi
12700
12701 elif test "$ac_cv_sizeof_long_long" = 8; then
12702  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12704
12705 else
12706
12707 cat >>confdefs.h <<_ACEOF
12708 #define uint64_t unsigned long long
12709 _ACEOF
12710
12711 fi
12712
12713  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12714 if test "x$ac_cv_type_int64_t" = x""yes; then :
12715
12716 else
12717
12718 cat >>confdefs.h <<_ACEOF
12719 #define int64_t long long
12720 _ACEOF
12721
12722 fi
12723
12724 else
12725  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12726 fi
12727
12728
13547   # Checks for library functions.
13548  
13549  
# Line 12734 | Line 13552 | fi
13552   do :
13553    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13554   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13555 < eval as_val=\$$as_ac_var
12738 <   if test "x$as_val" = x""yes; then :
13555 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13556    cat >>confdefs.h <<_ACEOF
13557   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13558   _ACEOF
# Line 12755 | Line 13572 | done
13572  
13573  
13574  
12758
12759
12760
12761
13575   # Checks for header files.
13576  
13577  
# Line 12768 | Line 13581 | do :
13581    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13582   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13583   "
13584 < eval as_val=\$$as_ac_Header
12772 <   if test "x$as_val" = x""yes; then :
13584 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13585    cat >>confdefs.h <<_ACEOF
13586   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13587   _ACEOF
# Line 12794 | Line 13606 | done
13606  
13607  
13608  
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12812 $as_echo_n "checking for /dev/null... " >&6; }
12813 if test -c /dev/null ; then
12814
12815 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12816
12817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12818 $as_echo "yes" >&6; }
12819 else
12820
12821 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12822
12823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12824 $as_echo "no - using devnull.log" >&6; }
12825 fi
12826
12827
13609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13610   $as_echo_n "checking for library containing crypt... " >&6; }
13611 < if test "${ac_cv_search_crypt+set}" = set; then :
13611 > if ${ac_cv_search_crypt+:} false; then :
13612    $as_echo_n "(cached) " >&6
13613   else
13614    ac_func_search_save_LIBS=$LIBS
# Line 12861 | Line 13642 | for ac_lib in '' crypt; do
13642   fi
13643   rm -f core conftest.err conftest.$ac_objext \
13644      conftest$ac_exeext
13645 <  if test "${ac_cv_search_crypt+set}" = set; then :
13645 >  if ${ac_cv_search_crypt+:} false; then :
13646    break
13647   fi
13648   done
13649 < if test "${ac_cv_search_crypt+set}" = set; then :
13649 > if ${ac_cv_search_crypt+:} false; then :
13650  
13651   else
13652    ac_cv_search_crypt=no
# Line 12882 | Line 13663 | if test "$ac_res" != no; then :
13663   fi
13664  
13665  
13666 <
13667 <
13668 < # Check whether --with-zlib-path was given.
13669 < if test "${with_zlib_path+set}" = set; then :
13670 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13671 < fi
13672 <
13673 <
13674 < # Check whether --enable-zlib was given.
12894 < if test "${enable_zlib+set}" = set; then :
12895 <  enableval=$enable_zlib; zlib=$enableval
12896 < else
12897 <  zlib=yes
12898 < fi
12899 <
12900 <
12901 < if test "$zlib" = yes; then
12902 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12903 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12904 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12905 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12906 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13666 > # Check whether --enable-libpcre was given.
13667 > if test "${enable_libpcre+set}" = set; then :
13668 >  enableval=$enable_libpcre;
13669 > else
13670 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13671 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13672 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13673 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13674 > if ${ac_cv_search_pcre_study+:} false; then :
13675    $as_echo_n "(cached) " >&6
13676   else
13677 <  ac_check_lib_save_LIBS=$LIBS
12910 < LIBS="-lz  $LIBS"
13677 >  ac_func_search_save_LIBS=$LIBS
13678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13679   /* end confdefs.h.  */
13680  
# Line 12917 | Line 13684 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13684   #ifdef __cplusplus
13685   extern "C"
13686   #endif
13687 < char zlibVersion ();
13687 > char pcre_study ();
13688   int
13689   main ()
13690   {
13691 < return zlibVersion ();
13691 > return pcre_study ();
13692    ;
13693    return 0;
13694   }
13695   _ACEOF
13696 < if ac_fn_c_try_link "$LINENO"; then :
13697 <  ac_cv_lib_z_zlibVersion=yes
13698 < else
13699 <  ac_cv_lib_z_zlibVersion=no
13696 > for ac_lib in '' pcre; do
13697 >  if test -z "$ac_lib"; then
13698 >    ac_res="none required"
13699 >  else
13700 >    ac_res=-l$ac_lib
13701 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13702 >  fi
13703 >  if ac_fn_c_try_link "$LINENO"; then :
13704 >  ac_cv_search_pcre_study=$ac_res
13705   fi
13706   rm -f core conftest.err conftest.$ac_objext \
13707 <    conftest$ac_exeext conftest.$ac_ext
13708 < LIBS=$ac_check_lib_save_LIBS
13707 >    conftest$ac_exeext
13708 >  if ${ac_cv_search_pcre_study+:} false; then :
13709 >  break
13710   fi
13711 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13712 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12940 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12941 <
12942 <      LIBS="-lz $LIBS"
12943 <
12944 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12945 <
13711 > done
13712 > if ${ac_cv_search_pcre_study+:} false; then :
13713  
13714   else
13715 <  zlib=no
13715 >  ac_cv_search_pcre_study=no
13716 > fi
13717 > rm conftest.$ac_ext
13718 > LIBS=$ac_func_search_save_LIBS
13719   fi
13720 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13721 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13722 + ac_res=$ac_cv_search_pcre_study
13723 + if test "$ac_res" != no; then :
13724 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13725  
13726 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13727 +
13728 + fi
13729  
12952 else
12953  zlib=no
13730   fi
13731  
13732  
# Line 12996 | Line 13772 | if test "$cf_enable_openssl" != "no"; th
13772    fi
13773  
13774        if test ! -z "$cf_openssl_basedir"; then
12999    LIBS="-lcrypto -lssl $LIBS"
13775      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13776   $as_echo "$cf_openssl_basedir" >&6; }
13777      cf_enable_openssl="yes"
13003
13004 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13005
13778    else
13779 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13780 < $as_echo "not found.  Please check your path." >&6; }
13779 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13780 > $as_echo "not found. Please check your path." >&6; }
13781      cf_enable_openssl="no"
13782    fi
13783    unset cf_openssl_basedir
# Line 13013 | Line 13785 | else
13785      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13786   $as_echo "disabled" >&6; }
13787   fi
13016 if test "$cf_enable_openssl" = yes; then
13017  ENABLE_SSL_TRUE=
13018  ENABLE_SSL_FALSE='#'
13019 else
13020  ENABLE_SSL_TRUE='#'
13021  ENABLE_SSL_FALSE=
13022 fi
13788  
13789 + if test "$cf_enable_openssl" != "no"; then :
13790 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13791 + $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13792 +  if test "$cross_compiling" = yes; then :
13793 +  cf_openssl_version_ok=no
13794 + else
13795 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 + /* end confdefs.h.  */
13797  
13798  
13799 < # Check whether --enable-assert was given.
13800 < if test "${enable_assert+set}" = set; then :
13801 <  enableval=$enable_assert; assert=$enableval
13799 >    #include <openssl/opensslv.h>
13800 >    #include <stdlib.h>
13801 > int
13802 > main ()
13803 > {
13804 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13805 >  ;
13806 >  return 0;
13807 > }
13808 > _ACEOF
13809 > if ac_fn_c_try_run "$LINENO"; then :
13810 >  cf_openssl_version_ok=yes
13811   else
13812 <  assert=no
13812 >  cf_openssl_version_ok=no
13813   fi
13814 <
13815 < if test "$assert" = no; then
13034 <
13035 < $as_echo "#define NDEBUG 1" >>confdefs.h
13036 <
13814 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13815 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13816   fi
13817  
13818  
13819 < # Check whether --enable-small-net was given.
13820 < if test "${enable_small_net+set}" = set; then :
13821 <  enableval=$enable_small_net; small_net=$enableval
13819 >  if test "$cf_openssl_version_ok" = "yes"; then :
13820 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13821 > $as_echo "found" >&6; }
13822 >
13823 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13824 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13825 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13826 >  $as_echo_n "(cached) " >&6
13827 > else
13828 >  ac_check_lib_save_LIBS=$LIBS
13829 > LIBS="-lcrypto  $LIBS"
13830 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 > /* end confdefs.h.  */
13832 >
13833 > /* Override any GCC internal prototype to avoid an error.
13834 >   Use char because int might match the return type of a GCC
13835 >   builtin and then its argument prototype would still apply.  */
13836 > #ifdef __cplusplus
13837 > extern "C"
13838 > #endif
13839 > char RSA_free ();
13840 > int
13841 > main ()
13842 > {
13843 > return RSA_free ();
13844 >  ;
13845 >  return 0;
13846 > }
13847 > _ACEOF
13848 > if ac_fn_c_try_link "$LINENO"; then :
13849 >  ac_cv_lib_crypto_RSA_free=yes
13850   else
13851 <  small_net=no
13851 >  ac_cv_lib_crypto_RSA_free=no
13852   fi
13853 + rm -f core conftest.err conftest.$ac_objext \
13854 +    conftest$ac_exeext conftest.$ac_ext
13855 + LIBS=$ac_check_lib_save_LIBS
13856 + fi
13857 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13858 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13859 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13860 +  cat >>confdefs.h <<_ACEOF
13861 + #define HAVE_LIBCRYPTO 1
13862 + _ACEOF
13863  
13864 +  LIBS="-lcrypto $LIBS"
13865  
13866 < if test "$small_net" = yes; then
13866 > fi
13867  
13868 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13868 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13869 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13870 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13871 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13872 >  $as_echo_n "(cached) " >&6
13873 > else
13874 >  ac_check_lib_save_LIBS=$LIBS
13875 > LIBS="-lssl  $LIBS"
13876 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 > /* end confdefs.h.  */
13878  
13879 + /* Override any GCC internal prototype to avoid an error.
13880 +   Use char because int might match the return type of a GCC
13881 +   builtin and then its argument prototype would still apply.  */
13882 + #ifdef __cplusplus
13883 + extern "C"
13884 + #endif
13885 + char SSL_connect ();
13886 + int
13887 + main ()
13888 + {
13889 + return SSL_connect ();
13890 +  ;
13891 +  return 0;
13892 + }
13893 + _ACEOF
13894 + if ac_fn_c_try_link "$LINENO"; then :
13895 +  ac_cv_lib_ssl_SSL_connect=yes
13896 + else
13897 +  ac_cv_lib_ssl_SSL_connect=no
13898 + fi
13899 + rm -f core conftest.err conftest.$ac_objext \
13900 +    conftest$ac_exeext conftest.$ac_ext
13901 + LIBS=$ac_check_lib_save_LIBS
13902 + fi
13903 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13904 + $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13905 + if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13906 +  cat >>confdefs.h <<_ACEOF
13907 + #define HAVE_LIBSSL 1
13908 + _ACEOF
13909  
13910 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13910 >  LIBS="-lssl $LIBS"
13911  
13912 + fi
13913  
13914 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13914 > fi
13915  
13916 + else
13917 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13918 + $as_echo "no - OpenSSL support disabled" >&6; }
13919 +    cf_enable_openssl="no"
13920 + fi
13921 + fi
13922  
13923 < $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13923 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13924 >  ENABLE_SSL_TRUE=
13925 >  ENABLE_SSL_FALSE='#'
13926 > else
13927 >  ENABLE_SSL_TRUE='#'
13928 >  ENABLE_SSL_FALSE=
13929 > fi
13930  
13931  
13062 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13932  
13933 + # Check whether --enable-assert was given.
13934 + if test "${enable_assert+set}" = set; then :
13935 +  enableval=$enable_assert; assert=$enableval
13936 + else
13937 +  assert=no
13938 + fi
13939  
13065 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13940  
13941 + if test "$assert" = "no"; then :
13942  
13943 < $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13943 > $as_echo "#define NDEBUG 1" >>confdefs.h
13944  
13945 + fi
13946  
13071 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13947  
13073 else
13948  
13949 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13949 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13950  
13951  
13952   $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
# Line 13090 | Line 13964 | $as_echo "#define LCLIENT_HEAP_SIZE 512"
13964   $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13965  
13966  
13967 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13967 > $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13968  
13969  
13970 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13970 > $as_echo "#define AUTH_HEAP_SIZE 256" >>confdefs.h
13971 >
13972 >
13973 > $as_echo "#define DNS_HEAP_SIZE 256" >>confdefs.h
13974  
13098 fi
13975  
13976  
13977   # Argument processing.
# Line 13116 | Line 13992 | if test "${enable_devpoll+set}" = set; t
13992    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13993   fi
13994  
13119  # Check whether --enable-rtsigio was given.
13120 if test "${enable_rtsigio+set}" = set; then :
13121  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13122 fi
13123
13995    # Check whether --enable-poll was given.
13996   if test "${enable_poll+set}" = set; then :
13997    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13202 | Line 14073 | _ACEOF
14073    if test "$cross_compiling" = yes; then :
14074    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14075   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14076 < as_fn_error "cannot run test program while cross compiling
14077 < See \`config.log' for more details." "$LINENO" 5; }
14076 > as_fn_error $? "cannot run test program while cross compiling
14077 > See \`config.log' for more details" "$LINENO" 5; }
14078   else
14079    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080   /* end confdefs.h.  */
# Line 13236 | Line 14107 | else
14107   #endif
14108   _syscall1(int, epoll_create, int, size)
14109   #endif
13239 main() { return epoll_create(256) == -1 ? 1 : 0; }
14110  
14111 + int
14112 + main ()
14113 + {
14114 + return epoll_create(256) == -1 ? 1 : 0
14115 +  ;
14116 +  return 0;
14117 + }
14118   _ACEOF
14119   if ac_fn_c_try_run "$LINENO"; then :
14120    is_epoll_mechanism_available="yes"
# Line 13298 | Line 14175 | rm -f core conftest.err conftest.$ac_obj
14175   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14176  
14177    fi
14178 <      iopoll_mechanism_rtsigio=4
13302 <
13303 < cat >>confdefs.h <<_ACEOF
13304 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13305 < _ACEOF
13306 <
13307 <  if test "$cross_compiling" = yes; then :
13308 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13309 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13310 < as_fn_error "cannot run test program while cross compiling
13311 < See \`config.log' for more details." "$LINENO" 5; }
13312 < else
13313 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13314 < /* end confdefs.h.  */
13315 <
13316 < #include <fcntl.h>
13317 < #ifdef F_SETSIG
13318 < main () { return 0; } /* F_SETSIG defined */
13319 < #else
13320 < main () { return 1; } /* F_SETSIG not defined */
13321 < #endif
13322 <
13323 < int
13324 < main ()
13325 < {
13326 <
13327 <  ;
13328 <  return 0;
13329 < }
13330 < _ACEOF
13331 < if ac_fn_c_try_run "$LINENO"; then :
13332 <  is_rtsigio_mechanism_available="yes"
13333 < else
13334 <  is_rtsigio_mechanism_available="no"
13335 < fi
13336 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13337 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13338 < fi
13339 <
13340 <      iopoll_mechanism_poll=5
14178 >      iopoll_mechanism_poll=4
14179  
14180   cat >>confdefs.h <<_ACEOF
14181   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13391 | Line 14229 | else
14229   fi
14230   rm -f core conftest.err conftest.$ac_objext \
14231      conftest$ac_exeext conftest.$ac_ext
14232 <      iopoll_mechanism_select=6
14232 >      iopoll_mechanism_select=5
14233  
14234   cat >>confdefs.h <<_ACEOF
14235   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13446 | Line 14284 | fi
14284   rm -f core conftest.err conftest.$ac_objext \
14285      conftest$ac_exeext conftest.$ac_ext
14286        optimal_iopoll_mechanism="none"
14287 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14287 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14288      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14289      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14290        optimal_iopoll_mechanism="$mechanism"
# Line 13457 | Line 14295 | rm -f core conftest.err conftest.$ac_obj
14295      if test "$optimal_iopoll_mechanism" = "none" ; then
14296        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14297   $as_echo "none" >&6; }
14298 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14298 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14299      else
14300        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14301        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13472 | Line 14310 | $as_echo "$selected_iopoll_mechanism" >&
14310      else
14311        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14312   $as_echo "none" >&6; }
14313 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14313 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14314      fi
14315    fi
14316        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13493 | Line 14331 | fi
14331  
14332  
14333   cat >>confdefs.h <<_ACEOF
14334 < #define NICKLEN ($nicklen+1)
14334 > #define NICKLEN ($nicklen)
14335   _ACEOF
14336  
14337  
# Line 13508 | Line 14346 | fi
14346  
14347  
14348   cat >>confdefs.h <<_ACEOF
14349 < #define TOPICLEN ($topiclen+1)
13512 < _ACEOF
13513 <
13514 <
13515 <
13516 <
13517 < # Check whether --with-syslog-facility was given.
13518 < if test "${with_syslog_facility+set}" = set; then :
13519 <  withval=$with_syslog_facility; syslog_facility="$withval"
13520 < else
13521 <  syslog_facility="LOG_LOCAL4"
13522 < fi
13523 <
13524 <
13525 < cat >>confdefs.h <<_ACEOF
13526 < #define LOG_FACILITY $syslog_facility
14349 > #define TOPICLEN ($topiclen)
14350   _ACEOF
14351  
14352  
14353  
13531  # Check whether --enable-efnet was given.
13532 if test "${enable_efnet+set}" = set; then :
13533  enableval=$enable_efnet; efnet="$enableval"
13534 else
13535  efnet="no"
13536 fi
13537
13538  if test "$efnet" = "yes" ; then
13539                use_efnet="yes"
13540
13541 $as_echo "#define EFNET 1" >>confdefs.h
13542
13543
13544 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13545
13546        else
13547
13548 $as_echo "#define INVARIANTS 1" >>confdefs.h
13549
13550                use_efnet="no"
13551  fi
13552   if test "$use_efnet" = "yes"; then
13553  EFNET_TRUE=
13554  EFNET_FALSE='#'
13555 else
13556  EFNET_TRUE='#'
13557  EFNET_FALSE=
13558 fi
13559
13560
13561
14354    # Check whether --enable-halfops was given.
14355   if test "${enable_halfops+set}" = set; then :
14356    enableval=$enable_halfops; halfops="$enableval"
# Line 13581 | Line 14373 | else
14373   fi
14374  
14375    if test "$debugging" = "yes" ; then
14376 <
13585 < $as_echo "#define DEBUG 1" >>confdefs.h
13586 <
13587 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13588 <  else
13589 <
13590 < $as_echo "#define NDEBUG 1" >>confdefs.h
13591 <
14376 >    CFLAGS="-Wall -g -O0"
14377    fi
14378  
14379  
# Line 13600 | Line 14385 | else
14385   fi
14386  
14387    if test "$warnings" = "yes" ; then
14388 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13604 <  fi
13605 <
13606 <
13607 <  for ac_header in syslog.h sys/syslog.h
13608 < do :
13609 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13610 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13611 < eval as_val=\$$as_ac_Header
13612 <   if test "x$as_val" = x""yes; then :
13613 <  cat >>confdefs.h <<_ACEOF
13614 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13615 < _ACEOF
13616 <
13617 < fi
13618 <
13619 < done
13620 <
13621 <  # Check whether --enable-syslog was given.
13622 < if test "${enable_syslog+set}" = set; then :
13623 <  enableval=$enable_syslog; syslog="$enableval"
13624 < else
13625 <  syslog="no"
13626 < fi
13627 <
13628 <  if test "$enableval" != "no" ; then
13629 <    for option in $enableval ; do
13630 <      case "$option" in
13631 <        users)
13632 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13633 < ;;
13634 <        oper)
13635 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13636 < ;;
13637 <        yes) : ;;
13638 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13639 <      esac
13640 <    done
13641 <
13642 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13643 <
14388 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14389    fi
14390  
14391  
# Line 13730 | Line 14475 | _ACEOF
14475    test "$exec_prefix_NONE" && exec_prefix=NONE
14476  
14477  
14478 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile"
14478 > 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"
14479  
14480  
14481   cat >confcache <<\_ACEOF
# Line 13797 | Line 14542 | $as_echo "$as_me: WARNING: cache variabl
14542       :end' >>confcache
14543   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14544    if test -w "$cache_file"; then
14545 <    test "x$cache_file" != "x/dev/null" &&
14545 >    if test "x$cache_file" != "x/dev/null"; then
14546        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14547   $as_echo "$as_me: updating cache $cache_file" >&6;}
14548 <    cat confcache >$cache_file
14548 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14549 >        cat confcache >"$cache_file"
14550 >      else
14551 >        case $cache_file in #(
14552 >        */* | ?:*)
14553 >          mv -f confcache "$cache_file"$$ &&
14554 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14555 >        *)
14556 >          mv -f confcache "$cache_file" ;;
14557 >        esac
14558 >      fi
14559 >    fi
14560    else
14561      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14562   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13816 | Line 14572 | DEFS=-DHAVE_CONFIG_H
14572  
14573   ac_libobjs=
14574   ac_ltlibobjs=
14575 + U=
14576   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14577    # 1. Remove the extension, and $U if already installed.
14578    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13830 | Line 14587 | LIBOBJS=$ac_libobjs
14587   LTLIBOBJS=$ac_ltlibobjs
14588  
14589  
14590 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14591 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14592 +   if test -n "$am_sleep_pid"; then
14593 +     # Hide warnings about reused PIDs.
14594 +     wait $am_sleep_pid 2>/dev/null
14595 +   fi
14596 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14597 + $as_echo "done" >&6; }
14598   if test -n "$EXEEXT"; then
14599    am__EXEEXT_TRUE=
14600    am__EXEEXT_FALSE='#'
# Line 13839 | Line 14604 | else
14604   fi
14605  
14606   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14607 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14607 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14608   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14609   fi
14610   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14611 <  as_fn_error "conditional \"AMDEP\" was never defined.
14611 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14612   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14613   fi
14614   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14615 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14615 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14616   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14617   fi
14618   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14619 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14619 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14620   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14621   fi
14622   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14623 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14623 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14624   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14625   fi
14626   LT_CONFIG_H=config.h
# Line 13877 | Line 14642 | LT_CONFIG_H=config.h
14642  
14643  
14644   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14645 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13881 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13882 < fi
13883 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13884 <  as_fn_error "conditional \"EFNET\" was never defined.
14645 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14646   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14647   fi
14648  
14649 < : ${CONFIG_STATUS=./config.status}
14649 > : "${CONFIG_STATUS=./config.status}"
14650   ac_write_fail=0
14651   ac_clean_files_save=$ac_clean_files
14652   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13986 | Line 14747 | fi
14747   IFS=" ""        $as_nl"
14748  
14749   # Find who we are.  Look in the path if we contain no directory separator.
14750 + as_myself=
14751   case $0 in #((
14752    *[\\/]* ) as_myself=$0 ;;
14753    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14031 | Line 14793 | export LANGUAGE
14793   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14794  
14795  
14796 < # as_fn_error ERROR [LINENO LOG_FD]
14797 < # ---------------------------------
14796 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14797 > # ----------------------------------------
14798   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14799   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14800 < # script with status $?, using 1 if that was 0.
14800 > # script with STATUS, using 1 if that was 0.
14801   as_fn_error ()
14802   {
14803 <  as_status=$?; test $as_status -eq 0 && as_status=1
14804 <  if test "$3"; then
14805 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14806 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14803 >  as_status=$1; test $as_status -eq 0 && as_status=1
14804 >  if test "$4"; then
14805 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14806 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14807    fi
14808 <  $as_echo "$as_me: error: $1" >&2
14808 >  $as_echo "$as_me: error: $2" >&2
14809    as_fn_exit $as_status
14810   } # as_fn_error
14811  
# Line 14181 | Line 14943 | if (echo >conf$$.file) 2>/dev/null; then
14943      # ... but there are two gotchas:
14944      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14945      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14946 <    # In both cases, we have to default to `cp -p'.
14946 >    # In both cases, we have to default to `cp -pR'.
14947      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14948 <      as_ln_s='cp -p'
14948 >      as_ln_s='cp -pR'
14949    elif ln conf$$.file conf$$ 2>/dev/null; then
14950      as_ln_s=ln
14951    else
14952 <    as_ln_s='cp -p'
14952 >    as_ln_s='cp -pR'
14953    fi
14954   else
14955 <  as_ln_s='cp -p'
14955 >  as_ln_s='cp -pR'
14956   fi
14957   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14958   rmdir conf$$.dir 2>/dev/null
# Line 14239 | Line 15001 | $as_echo X"$as_dir" |
15001        test -d "$as_dir" && break
15002      done
15003      test -z "$as_dirs" || eval "mkdir $as_dirs"
15004 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15004 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15005  
15006  
15007   } # as_fn_mkdir_p
# Line 14250 | Line 15012 | else
15012    as_mkdir_p=false
15013   fi
15014  
15015 < if test -x / >/dev/null 2>&1; then
15016 <  as_test_x='test -x'
15017 < else
15018 <  if ls -dL / >/dev/null 2>&1; then
15019 <    as_ls_L_option=L
15020 <  else
15021 <    as_ls_L_option=
15022 <  fi
15023 <  as_test_x='
15024 <    eval sh -c '\''
14263 <      if test -d "$1"; then
14264 <        test -d "$1/.";
14265 <      else
14266 <        case $1 in #(
14267 <        -*)set "./$1";;
14268 <        esac;
14269 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14270 <        ???[sx]*):;;*)false;;esac;fi
14271 <    '\'' sh
14272 <  '
14273 < fi
14274 < as_executable_p=$as_test_x
15015 >
15016 > # as_fn_executable_p FILE
15017 > # -----------------------
15018 > # Test if FILE is an executable regular file.
15019 > as_fn_executable_p ()
15020 > {
15021 >  test -f "$1" && test -x "$1"
15022 > } # as_fn_executable_p
15023 > as_test_x='test -x'
15024 > as_executable_p=as_fn_executable_p
15025  
15026   # Sed expression to map a string onto a valid CPP name.
15027   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14292 | Line 15042 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15042   # report actual input values of CONFIG_FILES etc. instead of their
15043   # values after options handling.
15044   ac_log="
15045 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
15046 < generated by GNU Autoconf 2.64.  Invocation command line was
15045 > This file was extended by ircd-hybrid $as_me 8.0.3, which was
15046 > generated by GNU Autoconf 2.69.  Invocation command line was
15047  
15048    CONFIG_FILES    = $CONFIG_FILES
15049    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14333 | Line 15083 | Usage: $0 [OPTION]... [TAG]...
15083  
15084    -h, --help       print this help, then exit
15085    -V, --version    print version number and configuration settings, then exit
15086 +      --config     print configuration, then exit
15087    -q, --quiet, --silent
15088                     do not print progress messages
15089    -d, --debug      don't remove temporary files
# Line 14351 | Line 15102 | $config_headers
15102   Configuration commands:
15103   $config_commands
15104  
15105 < Report bugs to the package provider."
15105 > Report bugs to <bugs@ircd-hybrid.org>."
15106  
15107   _ACEOF
15108   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15109 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15110   ac_cs_version="\\
15111 < ircd-hybrid config.status 7.2.4
15112 < configured by $0, generated by GNU Autoconf 2.64,
15113 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15111 > ircd-hybrid config.status 8.0.3
15112 > configured by $0, generated by GNU Autoconf 2.69,
15113 >  with options \\"\$ac_cs_config\\"
15114  
15115 < Copyright (C) 2009 Free Software Foundation, Inc.
15115 > Copyright (C) 2012 Free Software Foundation, Inc.
15116   This config.status script is free software; the Free Software Foundation
15117   gives unlimited permission to copy, distribute and modify it."
15118  
# Line 14378 | Line 15130 | ac_need_defaults=:
15130   while test $# != 0
15131   do
15132    case $1 in
15133 <  --*=*)
15133 >  --*=?*)
15134      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15135      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15136      ac_shift=:
15137      ;;
15138 +  --*=)
15139 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15140 +    ac_optarg=
15141 +    ac_shift=:
15142 +    ;;
15143    *)
15144      ac_option=$1
15145      ac_optarg=$2
# Line 14396 | Line 15153 | do
15153      ac_cs_recheck=: ;;
15154    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15155      $as_echo "$ac_cs_version"; exit ;;
15156 +  --config | --confi | --conf | --con | --co | --c )
15157 +    $as_echo "$ac_cs_config"; exit ;;
15158    --debug | --debu | --deb | --de | --d | -d )
15159      debug=: ;;
15160    --file | --fil | --fi | --f )
15161      $ac_shift
15162      case $ac_optarg in
15163      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15164 +    '') as_fn_error $? "missing file argument" ;;
15165      esac
15166      as_fn_append CONFIG_FILES " '$ac_optarg'"
15167      ac_need_defaults=false;;
# Line 14414 | Line 15174 | do
15174      ac_need_defaults=false;;
15175    --he | --h)
15176      # Conflict between --help and --header
15177 <    as_fn_error "ambiguous option: \`$1'
15177 >    as_fn_error $? "ambiguous option: \`$1'
15178   Try \`$0 --help' for more information.";;
15179    --help | --hel | -h )
15180      $as_echo "$ac_cs_usage"; exit ;;
# Line 14423 | Line 15183 | Try \`$0 --help' for more information.";
15183      ac_cs_silent=: ;;
15184  
15185    # This is an error.
15186 <  -*) as_fn_error "unrecognized option: \`$1'
15186 >  -*) as_fn_error $? "unrecognized option: \`$1'
15187   Try \`$0 --help' for more information." ;;
15188  
15189    *) as_fn_append ac_config_targets " $1"
# Line 14443 | Line 15203 | fi
15203   _ACEOF
15204   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15205   if \$ac_cs_recheck; then
15206 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15206 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15207    shift
15208    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15209    CONFIG_SHELL='$SHELL'
# Line 14477 | Line 15237 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15237   sed_quote_subst='$sed_quote_subst'
15238   double_quote_subst='$double_quote_subst'
15239   delay_variable_subst='$delay_variable_subst'
15240 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15241 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15242 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15243 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15244 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15245 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15246 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15247 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15248 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15249 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15250 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15251 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15252 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15253 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15254 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15255 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15256 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15257 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15258 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15259 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15260 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15261 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15262 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15263 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15264 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15265 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15266 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15267 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15268 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15269 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15270 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15271 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15272 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15273 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15274 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15275 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15276 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15277 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15278 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15279 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15280 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15281 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15282 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15283 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15284 < 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"`'
15285 < 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"`'
15286 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15287 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15288 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15289 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15290 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15291 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15292 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15293 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15294 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15295 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15296 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15297 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15298 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15299 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15300 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15301 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15302 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15303 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15304 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15305 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15306 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15307 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15308 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15309 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15310 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15311 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15312 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15313 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15314 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15315 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15316 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15317 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15318 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15319 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15320 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15321 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15322 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15323 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15324 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15325 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15326 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15327 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15328 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15329 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15330 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15331 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15332 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15333 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15334 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15335 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15336 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15337 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15338 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15339 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15340 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15341 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15342 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15343 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15344 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15345 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15346 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15347 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15348 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15349 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15350 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15351 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15352 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15353 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15354 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15355 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15356 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15357 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15240 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15241 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15242 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15243 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15244 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15245 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15246 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15247 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15248 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15249 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15250 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15251 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15252 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15253 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15254 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15255 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15256 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15257 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15258 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15259 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15260 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15261 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15262 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15263 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15264 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15265 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15266 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15267 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15268 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15269 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15270 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15271 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15272 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15273 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15274 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15275 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15276 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15277 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15278 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15279 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15280 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15281 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15282 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15283 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15284 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15285 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15286 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15287 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15288 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15289 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15290 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15291 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15292 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15293 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15294 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15295 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15296 > 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"`'
15297 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15298 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15299 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15300 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15301 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15302 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15303 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15304 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15305 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15306 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15307 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15308 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15309 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15310 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15311 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15312 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15313 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15314 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15315 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15316 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15317 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15318 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15319 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15320 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15321 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15322 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15323 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15324 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15325 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15326 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15327 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15328 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15329 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15330 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15331 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15332 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15333 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15334 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15335 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15336 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15337 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15338 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15339 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15340 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15341 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15342 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15343 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15344 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15345 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15346 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15347 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15348 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15349 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15350 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15351 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15352 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15353 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15354 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15355 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15356 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15357 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15358 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15359 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15360 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15361 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15362 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15363 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15364 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15365 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15366 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15367 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15368 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15369 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15370  
15371   LTCC='$LTCC'
15372   LTCFLAGS='$LTCFLAGS'
15373   compiler='$compiler_DEFAULT'
15374  
15375 + # A function that is used when there is no print builtin or printf.
15376 + func_fallback_echo ()
15377 + {
15378 +  eval 'cat <<_LTECHO_EOF
15379 + \$1
15380 + _LTECHO_EOF'
15381 + }
15382 +
15383   # Quote evaled strings.
15384 < for var in SED \
15384 > for var in SHELL \
15385 > ECHO \
15386 > PATH_SEPARATOR \
15387 > SED \
15388   GREP \
15389   EGREP \
15390   FGREP \
# Line 14614 | Line 15397 | reload_flag \
15397   OBJDUMP \
15398   deplibs_check_method \
15399   file_magic_cmd \
15400 + file_magic_glob \
15401 + want_nocaseglob \
15402 + DLLTOOL \
15403 + sharedlib_from_linklib_cmd \
15404   AR \
15405   AR_FLAGS \
15406 + archiver_list_spec \
15407   STRIP \
15408   RANLIB \
15409   CC \
# Line 14625 | Line 15413 | lt_cv_sys_global_symbol_pipe \
15413   lt_cv_sys_global_symbol_to_cdecl \
15414   lt_cv_sys_global_symbol_to_c_name_address \
15415   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15416 < SHELL \
14629 < ECHO \
15416 > nm_file_list_spec \
15417   lt_prog_compiler_no_builtin_flag \
14631 lt_prog_compiler_wl \
15418   lt_prog_compiler_pic \
15419 + lt_prog_compiler_wl \
15420   lt_prog_compiler_static \
15421   lt_cv_prog_compiler_c_o \
15422   need_locks \
15423 + MANIFEST_TOOL \
15424   DSYMUTIL \
15425   NMEDIT \
15426   LIPO \
# Line 14646 | Line 15434 | with_gnu_ld \
15434   allow_undefined_flag \
15435   no_undefined_flag \
15436   hardcode_libdir_flag_spec \
14649 hardcode_libdir_flag_spec_ld \
15437   hardcode_libdir_separator \
14651 fix_srcfile_path \
15438   exclude_expsyms \
15439   include_expsyms \
15440   file_list_spec \
# Line 14656 | Line 15442 | variables_saved_for_relink \
15442   libname_spec \
15443   library_names_spec \
15444   soname_spec \
15445 + install_override_mode \
15446   finish_eval \
15447   old_striplib \
15448   striplib; do
15449 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15449 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15450      *[\\\\\\\`\\"\\\$]*)
15451 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15451 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15452        ;;
15453      *)
15454        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14683 | Line 15470 | module_cmds \
15470   module_expsym_cmds \
15471   export_symbols_cmds \
15472   prelink_cmds \
15473 + postlink_cmds \
15474   postinstall_cmds \
15475   postuninstall_cmds \
15476   finish_cmds \
15477   sys_lib_search_path_spec \
15478   sys_lib_dlsearch_path_spec; do
15479 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15479 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15480      *[\\\\\\\`\\"\\\$]*)
15481 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15481 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15482        ;;
15483      *)
15484        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14698 | Line 15486 | sys_lib_dlsearch_path_spec; do
15486      esac
15487   done
15488  
14701 # Fix-up fallback echo if it was mangled by the above quoting rules.
14702 case \$lt_ECHO in
14703 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14704  ;;
14705 esac
14706
15489   ac_aux_dir='$ac_aux_dir'
15490   xsi_shell='$xsi_shell'
15491   lt_shell_append='$lt_shell_append'
# Line 14736 | Line 15518 | do
15518      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15519      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15520      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14739    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14740    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14741    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14742    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14743    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15521      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15522      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15523      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15524 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15525      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15526      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15527      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14751 | Line 15529 | do
15529      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15530      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15531      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14754    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14755    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
15532      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15533  
15534 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15534 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15535    esac
15536   done
15537  
# Line 14778 | Line 15554 | fi
15554   # after its creation but before its name has been assigned to `$tmp'.
15555   $debug ||
15556   {
15557 <  tmp=
15557 >  tmp= ac_tmp=
15558    trap 'exit_status=$?
15559 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15559 >  : "${ac_tmp:=$tmp}"
15560 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15561   ' 0
15562    trap 'as_fn_exit 1' 1 2 13 15
15563   }
# Line 14788 | Line 15565 | $debug ||
15565  
15566   {
15567    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15568 <  test -n "$tmp" && test -d "$tmp"
15568 >  test -d "$tmp"
15569   }  ||
15570   {
15571    tmp=./conf$$-$RANDOM
15572    (umask 077 && mkdir "$tmp")
15573 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15573 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15574 > ac_tmp=$tmp
15575  
15576   # Set up the scripts for CONFIG_FILES section.
15577   # No need to generate them if there are no CONFIG_FILES.
# Line 14810 | Line 15588 | if test "x$ac_cr" = x; then
15588   fi
15589   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15590   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15591 <  ac_cs_awk_cr='\r'
15591 >  ac_cs_awk_cr='\\r'
15592   else
15593    ac_cs_awk_cr=$ac_cr
15594   fi
15595  
15596 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15596 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15597   _ACEOF
15598  
15599  
# Line 14824 | Line 15602 | _ACEOF
15602    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15603    echo "_ACEOF"
15604   } >conf$$subs.sh ||
15605 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15606 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15605 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15606 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15607   ac_delim='%!_!# '
15608   for ac_last_try in false false false false false :; do
15609    . ./conf$$subs.sh ||
15610 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15610 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15611  
15612    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15613    if test $ac_delim_n = $ac_delim_num; then
15614      break
15615    elif $ac_last_try; then
15616 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15616 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15617    else
15618      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15619    fi
# Line 14843 | Line 15621 | done
15621   rm -f conf$$subs.sh
15622  
15623   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15624 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15624 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15625   _ACEOF
15626   sed -n '
15627   h
# Line 14857 | Line 15635 | s/'"$ac_delim"'$//
15635   t delim
15636   :nl
15637   h
15638 < s/\(.\{148\}\).*/\1/
15638 > s/\(.\{148\}\)..*/\1/
15639   t more1
15640   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15641   p
# Line 14871 | Line 15649 | s/.\{148\}//
15649   t nl
15650   :delim
15651   h
15652 < s/\(.\{148\}\).*/\1/
15652 > s/\(.\{148\}\)..*/\1/
15653   t more2
15654   s/["\\]/\\&/g; s/^/"/; s/$/"/
15655   p
# Line 14891 | Line 15669 | t delim
15669   rm -f conf$$subs.awk
15670   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15671   _ACAWK
15672 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15672 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15673    for (key in S) S_is_set[key] = 1
15674    FS = ""
15675  
# Line 14923 | Line 15701 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15701    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15702   else
15703    cat
15704 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15705 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15704 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15705 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15706   _ACEOF
15707  
15708 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15709 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15708 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15709 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15710   # trailing colons and then remove the whole line if VPATH becomes empty
15711   # (actually we leave an empty line to preserve line numbers).
15712   if test "x$srcdir" = x.; then
15713 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15714 < s/:*\$(srcdir):*/:/
15715 < s/:*\${srcdir}:*/:/
15716 < s/:*@srcdir@:*/:/
15717 < s/^\([^=]*=[     ]*\):*/\1/
15713 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15714 > h
15715 > s///
15716 > s/^/:/
15717 > s/[      ]*$/:/
15718 > s/:\$(srcdir):/:/g
15719 > s/:\${srcdir}:/:/g
15720 > s/:@srcdir@:/:/g
15721 > s/^:*//
15722   s/:*$//
15723 + x
15724 + s/\(=[   ]*\).*/\1/
15725 + G
15726 + s/\n//
15727   s/^[^=]*=[       ]*$//
15728   }'
15729   fi
# Line 14949 | Line 15735 | fi # test -n "$CONFIG_FILES"
15735   # No need to generate them if there are no CONFIG_HEADERS.
15736   # This happens for instance with `./config.status Makefile'.
15737   if test -n "$CONFIG_HEADERS"; then
15738 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15738 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15739   BEGIN {
15740   _ACEOF
15741  
# Line 14961 | Line 15747 | _ACEOF
15747   # handling of long lines.
15748   ac_delim='%!_!# '
15749   for ac_last_try in false false :; do
15750 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15751 <  if test -z "$ac_t"; then
15750 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15751 >  if test -z "$ac_tt"; then
15752      break
15753    elif $ac_last_try; then
15754 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15754 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15755    else
15756      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15757    fi
# Line 15050 | Line 15836 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15836   _ACAWK
15837   _ACEOF
15838   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15839 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15839 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15840   fi # test -n "$CONFIG_HEADERS"
15841  
15842  
# Line 15063 | Line 15849 | do
15849    esac
15850    case $ac_mode$ac_tag in
15851    :[FHL]*:*);;
15852 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15852 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15853    :[FH]-) ac_tag=-:-;;
15854    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15855    esac
# Line 15082 | Line 15868 | do
15868      for ac_f
15869      do
15870        case $ac_f in
15871 <      -) ac_f="$tmp/stdin";;
15871 >      -) ac_f="$ac_tmp/stdin";;
15872        *) # Look for the file first in the build tree, then in the source tree
15873           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15874           # because $ac_f cannot contain `:'.
# Line 15091 | Line 15877 | do
15877             [\\/$]*) false;;
15878             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15879             esac ||
15880 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15880 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15881        esac
15882        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15883        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15117 | Line 15903 | $as_echo "$as_me: creating $ac_file" >&6
15903      esac
15904  
15905      case $ac_tag in
15906 <    *:-:* | *:-) cat >"$tmp/stdin" \
15907 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15906 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15907 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15908      esac
15909      ;;
15910    esac
# Line 15254 | Line 16040 | s&@INSTALL@&$ac_INSTALL&;t t
16040   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16041   $ac_datarootdir_hack
16042   "
16043 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16044 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16043 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16044 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16045  
16046   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16047 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16048 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16047 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16048 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16049 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16050    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16051 < which seems to be undefined.  Please make sure it is defined." >&5
16051 > which seems to be undefined.  Please make sure it is defined" >&5
16052   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16053 < which seems to be undefined.  Please make sure it is defined." >&2;}
16053 > which seems to be undefined.  Please make sure it is defined" >&2;}
16054  
16055 <  rm -f "$tmp/stdin"
16055 >  rm -f "$ac_tmp/stdin"
16056    case $ac_file in
16057 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16058 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16057 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16058 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16059    esac \
16060 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16060 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16061   ;;
16062    :H)
16063    #
# Line 15279 | Line 16066 | which seems to be undefined.  Please mak
16066    if test x"$ac_file" != x-; then
16067      {
16068        $as_echo "/* $configure_input  */" \
16069 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16070 <    } >"$tmp/config.h" \
16071 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16072 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16069 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16070 >    } >"$ac_tmp/config.h" \
16071 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16072 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16073        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16074   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16075      else
16076        rm -f "$ac_file"
16077 <      mv "$tmp/config.h" "$ac_file" \
16078 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16077 >      mv "$ac_tmp/config.h" "$ac_file" \
16078 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16079      fi
16080    else
16081      $as_echo "/* $configure_input  */" \
16082 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16083 <      || as_fn_error "could not create -" "$LINENO" 5
16082 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16083 >      || as_fn_error $? "could not create -" "$LINENO" 5
16084    fi
16085   # Compute "$ac_file"'s index in $config_headers.
16086   _am_arg="$ac_file"
# Line 15339 | Line 16126 | $as_echo "$as_me: executing $ac_file com
16126  
16127    case $ac_file$ac_mode in
16128      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16129 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16129 >  # Older Autoconf quotes --file arguments for eval, but not when files
16130    # are listed without --file.  Let's play safe and only enable the eval
16131    # if we detect the quoting.
16132    case $CONFIG_FILES in
# Line 15352 | Line 16139 | $as_echo "$as_me: executing $ac_file com
16139      # Strip MF so we end up with the name of the file.
16140      mf=`echo "$mf" | sed -e 's/:.*$//'`
16141      # Check whether this is an Automake generated Makefile or not.
16142 <    # We used to match only the files named `Makefile.in', but
16142 >    # We used to match only the files named 'Makefile.in', but
16143      # some people rename them; so instead we look at the file content.
16144      # Grep'ing the first line is not enough: some people post-process
16145      # each Makefile.in and add a new line on top of each file to say so.
# Line 15386 | Line 16173 | $as_echo X"$mf" |
16173        continue
16174      fi
16175      # Extract the definition of DEPDIR, am__include, and am__quote
16176 <    # from the Makefile without running `make'.
16176 >    # from the Makefile without running 'make'.
16177      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16178      test -z "$DEPDIR" && continue
16179      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16180      test -z "am__include" && continue
16181      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15395    # When using ansi2knr, U may be empty or an underscore; expand it
15396    U=`sed -n 's/^U = //p' < "$mf"`
16182      # Find all dependency output files, they are included files with
16183      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16184      # simplest approach to changing $(DEPDIR) to its actual value in the
16185      # expansion.
16186      for file in `sed -n "
16187        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16188 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16188 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16189        # Make sure the directory exists.
16190        test -f "$dirpart/$file" && continue
16191        fdir=`$as_dirname -- "$file" ||
# Line 15454 | Line 16239 | $as_echo X"$file" |
16239   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16240   #
16241   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16242 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16242 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16243 > #                 Foundation, Inc.
16244   #   Written by Gordon Matzigkeit, 1996
16245   #
16246   #   This file is part of GNU Libtool.
# Line 15502 | Line 16288 | pic_mode=$pic_mode
16288   # Whether or not to optimize for fast installation.
16289   fast_install=$enable_fast_install
16290  
16291 + # Shell to use when invoking shell scripts.
16292 + SHELL=$lt_SHELL
16293 +
16294 + # An echo program that protects backslashes.
16295 + ECHO=$lt_ECHO
16296 +
16297 + # The PATH separator for the build system.
16298 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16299 +
16300   # The host system.
16301   host_alias=$host_alias
16302   host=$host
# Line 15551 | Line 16346 | SP2NL=$lt_lt_SP2NL
16346   # turn newlines into spaces.
16347   NL2SP=$lt_lt_NL2SP
16348  
16349 < # How to create reloadable object files.
16350 < reload_flag=$lt_reload_flag
16351 < reload_cmds=$lt_reload_cmds
16349 > # convert \$build file names to \$host format.
16350 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16351 >
16352 > # convert \$build files to toolchain format.
16353 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16354  
16355   # An object symbol dumper.
16356   OBJDUMP=$lt_OBJDUMP
# Line 15561 | Line 16358 | OBJDUMP=$lt_OBJDUMP
16358   # Method to check whether dependent libraries are shared objects.
16359   deplibs_check_method=$lt_deplibs_check_method
16360  
16361 < # Command to use when deplibs_check_method == "file_magic".
16361 > # Command to use when deplibs_check_method = "file_magic".
16362   file_magic_cmd=$lt_file_magic_cmd
16363  
16364 + # How to find potential files when deplibs_check_method = "file_magic".
16365 + file_magic_glob=$lt_file_magic_glob
16366 +
16367 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16368 + want_nocaseglob=$lt_want_nocaseglob
16369 +
16370 + # DLL creation program.
16371 + DLLTOOL=$lt_DLLTOOL
16372 +
16373 + # Command to associate shared and link libraries.
16374 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16375 +
16376   # The archiver.
16377   AR=$lt_AR
16378 +
16379 + # Flags to create an archive.
16380   AR_FLAGS=$lt_AR_FLAGS
16381  
16382 + # How to feed a file listing to the archiver.
16383 + archiver_list_spec=$lt_archiver_list_spec
16384 +
16385   # A symbol stripping program.
16386   STRIP=$lt_STRIP
16387  
# Line 15576 | Line 16390 | RANLIB=$lt_RANLIB
16390   old_postinstall_cmds=$lt_old_postinstall_cmds
16391   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16392  
16393 + # Whether to use a lock for old archive extraction.
16394 + lock_old_archive_extraction=$lock_old_archive_extraction
16395 +
16396   # A C compiler.
16397   LTCC=$lt_CC
16398  
# Line 15594 | Line 16411 | global_symbol_to_c_name_address=$lt_lt_c
16411   # Transform the output of nm in a C name address pair when lib prefix is needed.
16412   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16413  
16414 < # The name of the directory that contains temporary libtool files.
16415 < objdir=$objdir
16414 > # Specify filename containing input files for \$NM.
16415 > nm_file_list_spec=$lt_nm_file_list_spec
16416  
16417 < # Shell to use when invoking shell scripts.
16418 < SHELL=$lt_SHELL
16417 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16418 > lt_sysroot=$lt_sysroot
16419  
16420 < # An echo program that does not interpret backslashes.
16421 < ECHO=$lt_ECHO
16420 > # The name of the directory that contains temporary libtool files.
16421 > objdir=$objdir
16422  
16423   # Used to examine libraries when file_magic_cmd begins with "file".
16424   MAGIC_CMD=$MAGIC_CMD
# Line 15609 | Line 16426 | MAGIC_CMD=$MAGIC_CMD
16426   # Must we lock files when doing compilation?
16427   need_locks=$lt_need_locks
16428  
16429 + # Manifest tool.
16430 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16431 +
16432   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16433   DSYMUTIL=$lt_DSYMUTIL
16434  
# Line 15665 | Line 16485 | library_names_spec=$lt_library_names_spe
16485   # The coded name of the library, if different from the real name.
16486   soname_spec=$lt_soname_spec
16487  
16488 + # Permission mode override for installation of shared libraries.
16489 + install_override_mode=$lt_install_override_mode
16490 +
16491   # Command to use after installation of a shared archive.
16492   postinstall_cmds=$lt_postinstall_cmds
16493  
# Line 15704 | Line 16527 | striplib=$lt_striplib
16527   # The linker used to build libraries.
16528   LD=$lt_LD
16529  
16530 + # How to create reloadable object files.
16531 + reload_flag=$lt_reload_flag
16532 + reload_cmds=$lt_reload_cmds
16533 +
16534   # Commands used to build an old-style archive.
16535   old_archive_cmds=$lt_old_archive_cmds
16536  
# Line 15716 | Line 16543 | with_gcc=$GCC
16543   # Compiler flag to turn off builtin functions.
16544   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16545  
15719 # How to pass a linker flag through the compiler.
15720 wl=$lt_lt_prog_compiler_wl
15721
16546   # Additional compiler flags for building library objects.
16547   pic_flag=$lt_lt_prog_compiler_pic
16548  
16549 + # How to pass a linker flag through the compiler.
16550 + wl=$lt_lt_prog_compiler_wl
16551 +
16552   # Compiler flag to prevent dynamic linking.
16553   link_static_flag=$lt_lt_prog_compiler_static
16554  
# Line 15771 | Line 16598 | no_undefined_flag=$lt_no_undefined_flag
16598   # This must work even if \$libdir does not exist
16599   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16600  
15774 # If ld is used when linking, flag to hardcode \$libdir into a binary
15775 # during linking.  This must work even if \$libdir does not exist.
15776 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15777
16601   # Whether we need a single "-rpath" flag with a separated argument.
16602   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16603  
# Line 15808 | Line 16631 | inherit_rpath=$inherit_rpath
16631   # Whether libtool must link a program against all its dependency libraries.
16632   link_all_deplibs=$link_all_deplibs
16633  
15811 # Fix the shell variable \$srcfile for the compiler.
15812 fix_srcfile_path=$lt_fix_srcfile_path
15813
16634   # Set to "yes" if exported symbols are required.
16635   always_export_symbols=$always_export_symbols
16636  
# Line 15826 | Line 16646 | include_expsyms=$lt_include_expsyms
16646   # Commands necessary for linking programs (against libraries) with templates.
16647   prelink_cmds=$lt_prelink_cmds
16648  
16649 + # Commands necessary for finishing linking programs.
16650 + postlink_cmds=$lt_postlink_cmds
16651 +
16652   # Specify filename containing input files.
16653   file_list_spec=$lt_file_list_spec
16654  
# Line 15858 | Line 16681 | ltmain="$ac_aux_dir/ltmain.sh"
16681    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16682    # text mode, it properly converts lines to CR/LF.  This bash problem
16683    # is reportedly fixed, but why not run on old versions too?
16684 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16685 <    || (rm -f "$cfgfile"; exit 1)
15863 <
15864 <  case $xsi_shell in
15865 <  yes)
15866 <    cat << \_LT_EOF >> "$cfgfile"
15867 <
15868 < # func_dirname file append nondir_replacement
15869 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15870 < # otherwise set result to NONDIR_REPLACEMENT.
15871 < func_dirname ()
15872 < {
15873 <  case ${1} in
15874 <    */*) func_dirname_result="${1%/*}${2}" ;;
15875 <    *  ) func_dirname_result="${3}" ;;
15876 <  esac
15877 < }
15878 <
15879 < # func_basename file
15880 < func_basename ()
15881 < {
15882 <  func_basename_result="${1##*/}"
15883 < }
15884 <
15885 < # func_dirname_and_basename file append nondir_replacement
15886 < # perform func_basename and func_dirname in a single function
15887 < # call:
15888 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15889 < #             add APPEND to the result, otherwise set result
15890 < #             to NONDIR_REPLACEMENT.
15891 < #             value returned in "$func_dirname_result"
15892 < #   basename: Compute filename of FILE.
15893 < #             value retuned in "$func_basename_result"
15894 < # Implementation must be kept synchronized with func_dirname
15895 < # and func_basename. For efficiency, we do not delegate to
15896 < # those functions but instead duplicate the functionality here.
15897 < func_dirname_and_basename ()
15898 < {
15899 <  case ${1} in
15900 <    */*) func_dirname_result="${1%/*}${2}" ;;
15901 <    *  ) func_dirname_result="${3}" ;;
15902 <  esac
15903 <  func_basename_result="${1##*/}"
15904 < }
15905 <
15906 < # func_stripname prefix suffix name
15907 < # strip PREFIX and SUFFIX off of NAME.
15908 < # PREFIX and SUFFIX must not contain globbing or regex special
15909 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15910 < # dot (in which case that matches only a dot).
15911 < func_stripname ()
15912 < {
15913 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15914 <  # positional parameters, so assign one to ordinary parameter first.
15915 <  func_stripname_result=${3}
15916 <  func_stripname_result=${func_stripname_result#"${1}"}
15917 <  func_stripname_result=${func_stripname_result%"${2}"}
15918 < }
15919 <
15920 < # func_opt_split
15921 < func_opt_split ()
15922 < {
15923 <  func_opt_split_opt=${1%%=*}
15924 <  func_opt_split_arg=${1#*=}
15925 < }
15926 <
15927 < # func_lo2o object
15928 < func_lo2o ()
15929 < {
15930 <  case ${1} in
15931 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15932 <    *)    func_lo2o_result=${1} ;;
15933 <  esac
15934 < }
15935 <
15936 < # func_xform libobj-or-source
15937 < func_xform ()
15938 < {
15939 <  func_xform_result=${1%.*}.lo
15940 < }
15941 <
15942 < # func_arith arithmetic-term...
15943 < func_arith ()
15944 < {
15945 <  func_arith_result=$(( $* ))
15946 < }
15947 <
15948 < # func_len string
15949 < # STRING may not start with a hyphen.
15950 < func_len ()
15951 < {
15952 <  func_len_result=${#1}
15953 < }
15954 <
15955 < _LT_EOF
15956 <    ;;
15957 <  *) # Bourne compatible functions.
15958 <    cat << \_LT_EOF >> "$cfgfile"
15959 <
15960 < # func_dirname file append nondir_replacement
15961 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15962 < # otherwise set result to NONDIR_REPLACEMENT.
15963 < func_dirname ()
15964 < {
15965 <  # Extract subdirectory from the argument.
15966 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15967 <  if test "X$func_dirname_result" = "X${1}"; then
15968 <    func_dirname_result="${3}"
15969 <  else
15970 <    func_dirname_result="$func_dirname_result${2}"
15971 <  fi
15972 < }
15973 <
15974 < # func_basename file
15975 < func_basename ()
15976 < {
15977 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15978 < }
15979 <
15980 <
15981 < # func_stripname prefix suffix name
15982 < # strip PREFIX and SUFFIX off of NAME.
15983 < # PREFIX and SUFFIX must not contain globbing or regex special
15984 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15985 < # dot (in which case that matches only a dot).
15986 < # func_strip_suffix prefix name
15987 < func_stripname ()
15988 < {
15989 <  case ${2} in
15990 <    .*) func_stripname_result=`$ECHO "X${3}" \
15991 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15992 <    *)  func_stripname_result=`$ECHO "X${3}" \
15993 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15994 <  esac
15995 < }
15996 <
15997 < # sed scripts:
15998 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15999 < my_sed_long_arg='1s/^-[^=]*=//'
16000 <
16001 < # func_opt_split
16002 < func_opt_split ()
16003 < {
16004 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16005 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16006 < }
16007 <
16008 < # func_lo2o object
16009 < func_lo2o ()
16010 < {
16011 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16012 < }
16013 <
16014 < # func_xform libobj-or-source
16015 < func_xform ()
16016 < {
16017 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16018 < }
16019 <
16020 < # func_arith arithmetic-term...
16021 < func_arith ()
16022 < {
16023 <  func_arith_result=`expr "$@"`
16024 < }
16025 <
16026 < # func_len string
16027 < # STRING may not start with a hyphen.
16028 < func_len ()
16029 < {
16030 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16031 < }
16032 <
16033 < _LT_EOF
16034 < esac
16035 <
16036 < case $lt_shell_append in
16037 <  yes)
16038 <    cat << \_LT_EOF >> "$cfgfile"
16039 <
16040 < # func_append var value
16041 < # Append VALUE to the end of shell variable VAR.
16042 < func_append ()
16043 < {
16044 <  eval "$1+=\$2"
16045 < }
16046 < _LT_EOF
16047 <    ;;
16048 <  *)
16049 <    cat << \_LT_EOF >> "$cfgfile"
16050 <
16051 < # func_append var value
16052 < # Append VALUE to the end of shell variable VAR.
16053 < func_append ()
16054 < {
16055 <  eval "$1=\$$1\$2"
16056 < }
16057 <
16058 < _LT_EOF
16059 <    ;;
16060 <  esac
16684 >  sed '$q' "$ltmain" >> "$cfgfile" \
16685 >     || (rm -f "$cfgfile"; exit 1)
16686  
16687 +  if test x"$xsi_shell" = xyes; then
16688 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16689 + func_dirname ()\
16690 + {\
16691 + \    case ${1} in\
16692 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16693 + \      *  ) func_dirname_result="${3}" ;;\
16694 + \    esac\
16695 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16696 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16697 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16698 + test 0 -eq $? || _lt_function_replace_fail=:
16699 +
16700 +
16701 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16702 + func_basename ()\
16703 + {\
16704 + \    func_basename_result="${1##*/}"\
16705 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16706 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16707 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16708 + test 0 -eq $? || _lt_function_replace_fail=:
16709 +
16710 +
16711 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16712 + func_dirname_and_basename ()\
16713 + {\
16714 + \    case ${1} in\
16715 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16716 + \      *  ) func_dirname_result="${3}" ;;\
16717 + \    esac\
16718 + \    func_basename_result="${1##*/}"\
16719 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16720 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16721 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16722 + test 0 -eq $? || _lt_function_replace_fail=:
16723 +
16724 +
16725 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16726 + func_stripname ()\
16727 + {\
16728 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16729 + \    # positional parameters, so assign one to ordinary parameter first.\
16730 + \    func_stripname_result=${3}\
16731 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16732 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16733 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16734 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16735 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16736 + test 0 -eq $? || _lt_function_replace_fail=:
16737 +
16738 +
16739 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16740 + func_split_long_opt ()\
16741 + {\
16742 + \    func_split_long_opt_name=${1%%=*}\
16743 + \    func_split_long_opt_arg=${1#*=}\
16744 + } # Extended-shell func_split_long_opt 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_split_short_opt ()$/,/^} # func_split_short_opt /c\
16751 + func_split_short_opt ()\
16752 + {\
16753 + \    func_split_short_opt_arg=${1#??}\
16754 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16755 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16756 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16757 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16758 + test 0 -eq $? || _lt_function_replace_fail=:
16759 +
16760 +
16761 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16762 + func_lo2o ()\
16763 + {\
16764 + \    case ${1} in\
16765 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16766 + \      *)    func_lo2o_result=${1} ;;\
16767 + \    esac\
16768 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16769 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16770 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16771 + test 0 -eq $? || _lt_function_replace_fail=:
16772 +
16773 +
16774 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16775 + func_xform ()\
16776 + {\
16777 +    func_xform_result=${1%.*}.lo\
16778 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16779 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16780 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16781 + test 0 -eq $? || _lt_function_replace_fail=:
16782 +
16783 +
16784 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16785 + func_arith ()\
16786 + {\
16787 +    func_arith_result=$(( $* ))\
16788 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16789 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16790 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16791 + test 0 -eq $? || _lt_function_replace_fail=:
16792 +
16793 +
16794 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16795 + func_len ()\
16796 + {\
16797 +    func_len_result=${#1}\
16798 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16799 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16800 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16801 + test 0 -eq $? || _lt_function_replace_fail=:
16802 +
16803 + fi
16804 +
16805 + if test x"$lt_shell_append" = xyes; then
16806 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16807 + func_append ()\
16808 + {\
16809 +    eval "${1}+=\\${2}"\
16810 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16811 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16812 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16813 + test 0 -eq $? || _lt_function_replace_fail=:
16814 +
16815 +
16816 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16817 + func_append_quoted ()\
16818 + {\
16819 + \    func_quote_for_eval "${2}"\
16820 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16821 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16822 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16823 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16824 + test 0 -eq $? || _lt_function_replace_fail=:
16825 +
16826 +
16827 +  # Save a `func_append' function call where possible by direct use of '+='
16828 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16829 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16830 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16831 +  test 0 -eq $? || _lt_function_replace_fail=:
16832 + else
16833 +  # Save a `func_append' function call even when '+=' is not available
16834 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16835 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16836 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16837 +  test 0 -eq $? || _lt_function_replace_fail=:
16838 + fi
16839 +
16840 + if test x"$_lt_function_replace_fail" = x":"; then
16841 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16842 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16843 + fi
16844  
16063  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16064    || (rm -f "$cfgfile"; exit 1)
16845  
16846 <  mv -f "$cfgfile" "$ofile" ||
16846 >   mv -f "$cfgfile" "$ofile" ||
16847      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16848    chmod +x "$ofile"
16849  
# Line 16078 | Line 16858 | _ACEOF
16858   ac_clean_files=$ac_clean_files_save
16859  
16860   test $ac_write_fail = 0 ||
16861 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16861 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16862  
16863  
16864   # configure is writing to config.log, and then calls config.status.
# Line 16099 | Line 16879 | if test "$no_create" != yes; then
16879    exec 5>>config.log
16880    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16881    # would make configure fail if this is the last instruction.
16882 <  $ac_cs_success || as_fn_exit $?
16103 < fi
16104 <
16105 < #
16106 < # CONFIG_SUBDIRS section.
16107 < #
16108 < if test "$no_recursion" != yes; then
16109 <
16110 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16111 <  # so they do not pile up.
16112 <  ac_sub_configure_args=
16113 <  ac_prev=
16114 <  eval "set x $ac_configure_args"
16115 <  shift
16116 <  for ac_arg
16117 <  do
16118 <    if test -n "$ac_prev"; then
16119 <      ac_prev=
16120 <      continue
16121 <    fi
16122 <    case $ac_arg in
16123 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16124 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16125 <      ac_prev=cache_file ;;
16126 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16127 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16128 <    | --c=*)
16129 <      ;;
16130 <    --config-cache | -C)
16131 <      ;;
16132 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16133 <      ac_prev=srcdir ;;
16134 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16135 <      ;;
16136 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16137 <      ac_prev=prefix ;;
16138 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16139 <      ;;
16140 <    --disable-option-checking)
16141 <      ;;
16142 <    *)
16143 <      case $ac_arg in
16144 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16145 <      esac
16146 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16147 <    esac
16148 <  done
16149 <
16150 <  # Always prepend --prefix to ensure using the same prefix
16151 <  # in subdir configurations.
16152 <  ac_arg="--prefix=$prefix"
16153 <  case $ac_arg in
16154 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16155 <  esac
16156 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16157 <
16158 <  # Pass --silent
16159 <  if test "$silent" = yes; then
16160 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16161 <  fi
16162 <
16163 <  # Always prepend --disable-option-checking to silence warnings, since
16164 <  # different subdirs can have different --enable and --with options.
16165 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16166 <
16167 <  ac_popdir=`pwd`
16168 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16169 <
16170 <    # Do not complain, so a configure script can configure whichever
16171 <    # parts of a large source tree are present.
16172 <    test -d "$srcdir/$ac_dir" || continue
16173 <
16174 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16175 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16176 <    $as_echo "$ac_msg" >&6
16177 <    as_dir="$ac_dir"; as_fn_mkdir_p
16178 <    ac_builddir=.
16179 <
16180 < case "$ac_dir" in
16181 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16182 < *)
16183 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16184 <  # A ".." for each directory in $ac_dir_suffix.
16185 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16186 <  case $ac_top_builddir_sub in
16187 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16188 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16189 <  esac ;;
16190 < esac
16191 < ac_abs_top_builddir=$ac_pwd
16192 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16193 < # for backward compatibility:
16194 < ac_top_builddir=$ac_top_build_prefix
16195 <
16196 < case $srcdir in
16197 <  .)  # We are building in place.
16198 <    ac_srcdir=.
16199 <    ac_top_srcdir=$ac_top_builddir_sub
16200 <    ac_abs_top_srcdir=$ac_pwd ;;
16201 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16202 <    ac_srcdir=$srcdir$ac_dir_suffix;
16203 <    ac_top_srcdir=$srcdir
16204 <    ac_abs_top_srcdir=$srcdir ;;
16205 <  *) # Relative name.
16206 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16207 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16208 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16209 < esac
16210 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16211 <
16212 <
16213 <    cd "$ac_dir"
16214 <
16215 <    # Check for guested configure; otherwise get Cygnus style configure.
16216 <    if test -f "$ac_srcdir/configure.gnu"; then
16217 <      ac_sub_configure=$ac_srcdir/configure.gnu
16218 <    elif test -f "$ac_srcdir/configure"; then
16219 <      ac_sub_configure=$ac_srcdir/configure
16220 <    elif test -f "$ac_srcdir/configure.in"; then
16221 <      # This should be Cygnus configure.
16222 <      ac_sub_configure=$ac_aux_dir/configure
16223 <    else
16224 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16225 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16226 <      ac_sub_configure=
16227 <    fi
16228 <
16229 <    # The recursion is here.
16230 <    if test -n "$ac_sub_configure"; then
16231 <      # Make the cache file name correct relative to the subdirectory.
16232 <      case $cache_file in
16233 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16234 <      *) # Relative name.
16235 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16236 <      esac
16237 <
16238 <      { $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
16239 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16240 <      # The eval makes quoting arguments work.
16241 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16242 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16243 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16244 <    fi
16245 <
16246 <    cd "$ac_popdir"
16247 <  done
16882 >  $ac_cs_success || as_fn_exit 1
16883   fi
16884   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16885    { $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)