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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 1005 by michael, Mon Aug 31 23:07:43 2009 UTC vs.
ircd-hybrid/branches/8.2.x/configure (file contents), Revision 4353 by michael, Sat Aug 2 17:54:27 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 998 2009-08-23 12:43:17Z michael .
2 > # From configure.ac Id: configure.ac 4294 2014-07-20 10:33:10Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.0rc1.
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
572  
573 < ECHO=${lt_ECHO-echo}
574 < if test "X$1" = X--no-reexec; then
541 <  # Discard the --no-reexec flag, and continue.
542 <  shift
543 < elif test "X$1" = X--fallback-echo; then
544 <  # Avoid inline document here, it may be left over
545 <  :
546 < elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547 <  # Yippee, $ECHO works!
548 <  :
549 < else
550 <  # Restart under the correct shell.
551 <  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 < fi
553 <
554 < if test "X$1" = X--fallback-echo; then
555 <  # used as fallback echo
556 <  shift
557 <  cat <<_LT_EOF
558 < $*
559 < _LT_EOF
560 <  exit 0
561 < fi
562 <
563 < # The HP-UX ksh and POSIX shell print the target directory to stdout
564 < # if CDPATH is set.
565 < (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 <
567 < if test -z "$lt_ECHO"; then
568 <  if test "X${echo_test_string+set}" != Xset; then
569 <    # find a string as large as possible, as long as the shell can cope with it
570 <    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571 <      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572 <      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573 <         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574 <      then
575 <        break
576 <      fi
577 <    done
578 <  fi
579 <
580 <  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581 <     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582 <     test "X$echo_testing_string" = "X$echo_test_string"; then
583 <    :
584 <  else
585 <    # The Solaris, AIX, and Digital Unix default echo programs unquote
586 <    # backslashes.  This makes it impossible to quote backslashes using
587 <    #   echo "$something" | sed 's/\\/\\\\/g'
588 <    #
589 <    # So, first we look for a working echo in the user's PATH.
590 <
591 <    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592 <    for dir in $PATH /usr/ucb; do
593 <      IFS="$lt_save_ifs"
594 <      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595 <         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596 <         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597 <         test "X$echo_testing_string" = "X$echo_test_string"; then
598 <        ECHO="$dir/echo"
599 <        break
600 <      fi
601 <    done
602 <    IFS="$lt_save_ifs"
603 <
604 <    if test "X$ECHO" = Xecho; then
605 <      # We didn't find a better echo, so look for alternatives.
606 <      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607 <         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608 <         test "X$echo_testing_string" = "X$echo_test_string"; then
609 <        # This shell has a builtin print -r that does the trick.
610 <        ECHO='print -r'
611 <      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612 <           test "X$CONFIG_SHELL" != X/bin/ksh; then
613 <        # If we have ksh, try running configure again with it.
614 <        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615 <        export ORIGINAL_CONFIG_SHELL
616 <        CONFIG_SHELL=/bin/ksh
617 <        export CONFIG_SHELL
618 <        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619 <      else
620 <        # Try using printf.
621 <        ECHO='printf %s\n'
622 <        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623 <           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624 <           test "X$echo_testing_string" = "X$echo_test_string"; then
625 <          # Cool, printf works
626 <          :
627 <        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628 <             test "X$echo_testing_string" = 'X\t' &&
629 <             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630 <             test "X$echo_testing_string" = "X$echo_test_string"; then
631 <          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 <          export CONFIG_SHELL
633 <          SHELL="$CONFIG_SHELL"
634 <          export SHELL
635 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636 <        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 <             test "X$echo_testing_string" = 'X\t' &&
638 <             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 <             test "X$echo_testing_string" = "X$echo_test_string"; then
640 <          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 <        else
642 <          # maybe with a smaller string...
643 <          prev=:
644 <
645 <          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646 <            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647 <            then
648 <              break
649 <            fi
650 <            prev="$cmd"
651 <          done
652 <
653 <          if test "$prev" != 'sed 50q "$0"'; then
654 <            echo_test_string=`eval $prev`
655 <            export echo_test_string
656 <            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 <          else
658 <            # Oops.  We lost completely, so just stick with echo.
659 <            ECHO=echo
660 <          fi
661 <        fi
662 <      fi
663 <    fi
664 <  fi
665 < fi
666 <
667 < # Copy echo and quote the copy suitably for passing to libtool from
668 < # the Makefile, instead of quoting the original, which is used later.
669 < lt_ECHO=$ECHO
670 < if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671 <   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 < fi
673 <
674 <
675 <
676 <
677 < lt_ltdl_dir='libltdl'
678 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
680 <
681 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='8.2.0rc1'
597 > PACKAGE_STRING='ircd-hybrid 8.2.0rc1'
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_libgeoip
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
920 enable_select
921 with_nicklen
922 with_topiclen
923 with_syslog_facility
924 enable_efnet
925 enable_halfops
815   enable_debugging
816   enable_warnings
928 enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 938 | Line 826 | CPPFLAGS
826   YACC
827   YFLAGS
828   CPP'
829 < ac_subdirs_all='libltdl'
829 >
830  
831   # Initialize some variables set by options.
832   ac_init_help=
# Line 1000 | Line 888 | do
888    fi
889  
890    case $ac_option in
891 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 <  *)    ac_optarg=yes ;;
891 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 >  *=)   ac_optarg= ;;
893 >  *)    ac_optarg=yes ;;
894    esac
895  
896    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1046 | Line 935 | do
935      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936      # Reject names that are not valid shell variable names.
937      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 <      as_fn_error "invalid feature name: $ac_useropt"
938 >      as_fn_error $? "invalid feature name: $ac_useropt"
939      ac_useropt_orig=$ac_useropt
940      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941      case $ac_user_opts in
# Line 1072 | Line 961 | do
961      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962      # Reject names that are not valid shell variable names.
963      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 <      as_fn_error "invalid feature name: $ac_useropt"
964 >      as_fn_error $? "invalid feature name: $ac_useropt"
965      ac_useropt_orig=$ac_useropt
966      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967      case $ac_user_opts in
# Line 1276 | Line 1165 | do
1165      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166      # Reject names that are not valid shell variable names.
1167      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 <      as_fn_error "invalid package name: $ac_useropt"
1168 >      as_fn_error $? "invalid package name: $ac_useropt"
1169      ac_useropt_orig=$ac_useropt
1170      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171      case $ac_user_opts in
# Line 1292 | Line 1181 | do
1181      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182      # Reject names that are not valid shell variable names.
1183      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 <      as_fn_error "invalid package name: $ac_useropt"
1184 >      as_fn_error $? "invalid package name: $ac_useropt"
1185      ac_useropt_orig=$ac_useropt
1186      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187      case $ac_user_opts in
# Line 1322 | Line 1211 | do
1211    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212      x_libraries=$ac_optarg ;;
1213  
1214 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1215 < Try \`$0 --help' for more information."
1214 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 > Try \`$0 --help' for more information"
1216      ;;
1217  
1218    *=*)
# Line 1331 | Line 1220 | Try \`$0 --help' for more information."
1220      # Reject names that are not valid shell variable names.
1221      case $ac_envvar in #(
1222        '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1223 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224      esac
1225      eval $ac_envvar=\$ac_optarg
1226      export $ac_envvar ;;
# Line 1341 | Line 1230 | Try \`$0 --help' for more information."
1230      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234      ;;
1235  
1236    esac
# Line 1349 | Line 1238 | done
1238  
1239   if test -n "$ac_prev"; then
1240    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 <  as_fn_error "missing argument to $ac_option"
1241 >  as_fn_error $? "missing argument to $ac_option"
1242   fi
1243  
1244   if test -n "$ac_unrecognized_opts"; then
1245    case $enable_option_checking in
1246      no) ;;
1247 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1247 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249    esac
1250   fi
# Line 1378 | Line 1267 | do
1267      [\\/$]* | ?:[\\/]* )  continue;;
1268      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269    esac
1270 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1270 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271   done
1272  
1273   # There might be people who depend on the old broken behavior: `$host'
# Line 1392 | Line 1281 | target=$target_alias
1281   if test "x$host_alias" != x; then
1282    if test "x$build_alias" = x; then
1283      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
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1408 | Line 1295 | test "$silent" = yes && exec 6>/dev/null
1295   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296   ac_ls_di=`ls -di .` &&
1297   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 <  as_fn_error "working directory cannot be determined"
1298 >  as_fn_error $? "working directory cannot be determined"
1299   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 <  as_fn_error "pwd does not report name of working directory"
1300 >  as_fn_error $? "pwd does not report name of working directory"
1301  
1302  
1303   # Find the source files, if location was not specified.
# Line 1449 | Line 1336 | else
1336   fi
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1339 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340   fi
1341   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342   ac_abs_confdir=`(
1343 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1343 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344          pwd)`
1345   # When building in place, set srcdir=.
1346   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1479 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.2.0rc1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1493 | Line 1380 | Configuration:
1380        --help=short        display options specific to this package
1381        --help=recursive    display the short help of all the included packages
1382    -V, --version           display version information and exit
1383 <  -q, --quiet, --silent   do not print \`checking...' messages
1383 >  -q, --quiet, --silent   do not print \`checking ...' messages
1384        --cache-file=FILE   cache test results in FILE [disabled]
1385    -C, --config-cache      alias for \`--cache-file=config.cache'
1386    -n, --no-create         do not create output files
# Line 1549 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.2.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1557 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1448 <                          (and sometimes confusing) to the casual installer
1449 <  --disable-dependency-tracking  speeds up one-time build
1450 <  --enable-dependency-tracking   do not reject slow dependency extractors
1447 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1448 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1449 >  --enable-maintainer-mode
1450 >                          enable make rules and dependencies not useful (and
1451 >                          sometimes confusing) to the casual installer
1452 >  --enable-dependency-tracking
1453 >                          do not reject slow dependency extractors
1454 >  --disable-dependency-tracking
1455 >                          speeds up one-time build
1456    --enable-static[=PKGS]  build static libraries [default=no]
1457    --enable-shared[=PKGS]  build shared libraries [default=yes]
1458    --enable-fast-install[=PKGS]
1459                            optimize for fast installation [default=yes]
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462 <  --disable-zlib          Disable ziplinks support
1462 >  --disable-libgeoip      Disable GeoIP support
1463    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1464    --disable-openssl            Disable OpenSSL support.
1465    --enable-assert         Enable assert() statements
1574  --enable-small-net      Enable small network support.
1466    --enable-kqueue         Force kqueue usage.
1467    --enable-epoll          Force epoll usage.
1468    --enable-devpoll        Force devpoll usage.
1578  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1580  --enable-select         Force select usage.
1581  --enable-efnet          For IRCDs running on EFnet.
1582  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1585  --enable-syslog="EVENTS"
1586                          Enable syslog for events: users oper (space
1587                          separated in quotes; default: disabled).
1472  
1473   Optional Packages:
1474    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1475    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1476 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1476 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1477                            both]
1478    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1479 +  --with-sysroot=DIR Search for dependent libraries within DIR
1480 +                        (or the compiler's sysroot if not specified).
1481    --with-included-ltdl    use the GNU ltdl sources included here
1482    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1483    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1598  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1599  --with-nicklen=<value>  Set nickname length (default 9).
1600  --with-topiclen=<value> Set topic length (default 160).
1601  --with-syslog-facility=LOG
1602                          Define the syslog facility to use (default:
1603                          LOG_LOCAL4)
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 1608 | Line 1488 | Some influential environment variables:
1488    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1489                nonstandard directory <lib dir>
1490    LIBS        libraries to pass to the linker, e.g. -l<library>
1491 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1491 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492                you have headers in a nonstandard directory <include dir>
1493 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1494 <              the first program found out of: `bison -y', `byacc', `yacc'.
1493 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1494 >              Defaults to the first program found out of: `bison -y', `byacc',
1495 >              `yacc'.
1496    YFLAGS      The list of arguments that will be passed by default to $YACC.
1497                This script will default YFLAGS to the empty string to avoid a
1498                default value of `-d' given by some make applications.
# Line 1620 | Line 1501 | Some influential environment variables:
1501   Use these variables to override the choices made by `configure' or to help
1502   it to find libraries and programs with nonstandard names/locations.
1503  
1504 < Report bugs to the package provider.
1504 > Report bugs to <bugs@ircd-hybrid.org>.
1505   _ACEOF
1506   ac_status=$?
1507   fi
# Line 1683 | Line 1564 | fi
1564   test -n "$ac_init_help" && exit $ac_status
1565   if $ac_init_version; then
1566    cat <<\_ACEOF
1567 < ircd-hybrid configure 7.2.4
1568 < generated by GNU Autoconf 2.64
1567 > ircd-hybrid configure 8.2.0rc1
1568 > generated by GNU Autoconf 2.69
1569  
1570 < Copyright (C) 2009 Free Software Foundation, Inc.
1570 > Copyright (C) 2012 Free Software Foundation, Inc.
1571   This configure script is free software; the Free Software Foundation
1572   gives unlimited permission to copy, distribute and modify it.
1573   _ACEOF
# Line 1730 | Line 1611 | sed 's/^/| /' conftest.$ac_ext >&5
1611  
1612          ac_retval=1
1613   fi
1614 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1615 <  return $ac_retval
1614 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 >  as_fn_set_status $ac_retval
1616  
1617   } # ac_fn_c_try_compile
1618  
# Line 1762 | Line 1643 | $as_echo "$ac_try_echo"; } >&5
1643           test ! -s conftest.err
1644         } && test -s conftest$ac_exeext && {
1645           test "$cross_compiling" = yes ||
1646 <         $as_test_x conftest$ac_exeext
1646 >         test -x conftest$ac_exeext
1647         }; then :
1648    ac_retval=0
1649   else
# Line 1776 | Line 1657 | fi
1657    # interfere with the next link command; also delete a directory that is
1658    # left behind by Apple's compiler.  We do this before executing the actions.
1659    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661 <  return $ac_retval
1660 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 >  as_fn_set_status $ac_retval
1662  
1663   } # ac_fn_c_try_link
1664  
# Line 1790 | Line 1671 | ac_fn_c_check_header_compile ()
1671    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673   $as_echo_n "checking for $2... " >&6; }
1674 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1674 > if eval \${$3+:} false; then :
1675    $as_echo_n "(cached) " >&6
1676   else
1677    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1808 | Line 1689 | fi
1689   eval ac_res=\$$3
1690                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691   $as_echo "$ac_res" >&6; }
1692 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693  
1694   } # ac_fn_c_check_header_compile
1695  
# Line 1833 | Line 1714 | $as_echo "$ac_try_echo"; } >&5
1714      mv -f conftest.er1 conftest.err
1715    fi
1716    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 <  test $ac_status = 0; } >/dev/null && {
1717 >  test $ac_status = 0; } > conftest.i && {
1718           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1719           test ! -s conftest.err
1720         }; then :
# Line 1844 | Line 1725 | sed 's/^/| /' conftest.$ac_ext >&5
1725  
1726      ac_retval=1
1727   fi
1728 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 <  return $ac_retval
1728 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 >  as_fn_set_status $ac_retval
1730  
1731   } # ac_fn_c_try_cpp
1732  
# Line 1886 | Line 1767 | sed 's/^/| /' conftest.$ac_ext >&5
1767         ac_retval=$ac_status
1768   fi
1769    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1771 <  return $ac_retval
1770 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 >  as_fn_set_status $ac_retval
1772  
1773   } # ac_fn_c_try_run
1774  
# Line 1899 | Line 1780 | ac_fn_c_check_func ()
1780    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782   $as_echo_n "checking for $2... " >&6; }
1783 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 > if eval \${$3+:} false; then :
1784    $as_echo_n "(cached) " >&6
1785   else
1786    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1954 | Line 1835 | fi
1835   eval ac_res=\$$3
1836                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837   $as_echo "$ac_res" >&6; }
1838 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839  
1840   } # ac_fn_c_check_func
1841  
1842 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1843 < # ------------------------------------
1844 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1842 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1843 > # ---------------------------------------------
1844 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1845 > # accordingly.
1846   ac_fn_c_check_decl ()
1847   {
1848    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1850 < $as_echo_n "checking whether $2 is declared... " >&6; }
1851 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1849 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1850 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1851 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1852 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1853 > if eval \${$3+:} false; then :
1854    $as_echo_n "(cached) " >&6
1855   else
1856    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1975 | Line 1859 | $4
1859   int
1860   main ()
1861   {
1862 < #ifndef $2
1863 <  (void) $2;
1862 > #ifndef $as_decl_name
1863 > #ifdef __cplusplus
1864 >  (void) $as_decl_use;
1865 > #else
1866 >  (void) $as_decl_name;
1867 > #endif
1868   #endif
1869  
1870    ;
# Line 1993 | Line 1881 | fi
1881   eval ac_res=\$$3
1882                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883   $as_echo "$ac_res" >&6; }
1884 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885  
1886   } # ac_fn_c_check_decl
1887  
# Line 2006 | Line 1894 | ac_fn_c_check_type ()
1894    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896   $as_echo_n "checking for $2... " >&6; }
1897 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1897 > if eval \${$3+:} false; then :
1898    $as_echo_n "(cached) " >&6
1899   else
1900    eval "$3=no"
# Line 2047 | Line 1935 | fi
1935   eval ac_res=\$$3
1936                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937   $as_echo "$ac_res" >&6; }
1938 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939  
1940   } # ac_fn_c_check_type
1941  
# Line 2060 | Line 1948 | ac_fn_c_check_member ()
1948    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1950   $as_echo_n "checking for $2.$3... " >&6; }
1951 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1951 > if eval \${$4+:} false; then :
1952    $as_echo_n "(cached) " >&6
1953   else
1954    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2104 | Line 1992 | fi
1992   eval ac_res=\$$4
1993                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994   $as_echo "$ac_res" >&6; }
1995 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1995 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996  
1997   } # ac_fn_c_check_member
1998  
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
1999   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2000   # -------------------------------------------------------
2001   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2294 | Line 2004 | rm -f conftest.val
2004   ac_fn_c_check_header_mongrel ()
2005   {
2006    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2007 >  if eval \${$3+:} false; then :
2008    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2009   $as_echo_n "checking for $2... " >&6; }
2010 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 > if eval \${$3+:} false; then :
2011    $as_echo_n "(cached) " >&6
2012   fi
2013   eval ac_res=\$$3
# Line 2333 | Line 2043 | if ac_fn_c_try_cpp "$LINENO"; then :
2043   else
2044    ac_header_preproc=no
2045   fi
2046 < rm -f conftest.err conftest.$ac_ext
2046 > rm -f conftest.err conftest.i conftest.$ac_ext
2047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2048   $as_echo "$ac_header_preproc" >&6; }
2049  
# Line 2356 | Line 2066 | $as_echo "$as_me: WARNING: $2: see the A
2066   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2067      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2068   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2069 + ( $as_echo "## ----------------------------------- ##
2070 + ## Report this to bugs@ircd-hybrid.org ##
2071 + ## ----------------------------------- ##"
2072 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2073      ;;
2074   esac
2075    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2076   $as_echo_n "checking for $2... " >&6; }
2077 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2077 > if eval \${$3+:} false; then :
2078    $as_echo_n "(cached) " >&6
2079   else
2080    eval "$3=\$ac_header_compiler"
# Line 2369 | Line 2083 | eval ac_res=\$$3
2083                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084   $as_echo "$ac_res" >&6; }
2085   fi
2086 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2086 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087  
2088   } # ac_fn_c_check_header_mongrel
2089   cat >config.log <<_ACEOF
2090   This file contains any messages produced by compilers while
2091   running configure, to aid debugging if configure makes a mistake.
2092  
2093 < It was created by ircd-hybrid $as_me 7.2.4, which was
2094 < generated by GNU Autoconf 2.64.  Invocation command line was
2093 > It was created by ircd-hybrid $as_me 8.2.0rc1, which was
2094 > generated by GNU Autoconf 2.69.  Invocation command line was
2095  
2096    $ $0 $@
2097  
# Line 2487 | Line 2201 | trap 'exit_status=$?
2201    {
2202      echo
2203  
2204 <    cat <<\_ASBOX
2491 < ## ---------------- ##
2204 >    $as_echo "## ---------------- ##
2205   ## Cache variables. ##
2206 < ## ---------------- ##
2494 < _ASBOX
2206 > ## ---------------- ##"
2207      echo
2208      # The following way of writing the cache mishandles newlines in values,
2209   (
# Line 2525 | Line 2237 | $as_echo "$as_me: WARNING: cache variabl
2237   )
2238      echo
2239  
2240 <    cat <<\_ASBOX
2529 < ## ----------------- ##
2240 >    $as_echo "## ----------------- ##
2241   ## Output variables. ##
2242 < ## ----------------- ##
2532 < _ASBOX
2242 > ## ----------------- ##"
2243      echo
2244      for ac_var in $ac_subst_vars
2245      do
# Line 2542 | Line 2252 | _ASBOX
2252      echo
2253  
2254      if test -n "$ac_subst_files"; then
2255 <      cat <<\_ASBOX
2546 < ## ------------------- ##
2255 >      $as_echo "## ------------------- ##
2256   ## File substitutions. ##
2257 < ## ------------------- ##
2549 < _ASBOX
2257 > ## ------------------- ##"
2258        echo
2259        for ac_var in $ac_subst_files
2260        do
# Line 2560 | Line 2268 | _ASBOX
2268      fi
2269  
2270      if test -s confdefs.h; then
2271 <      cat <<\_ASBOX
2564 < ## ----------- ##
2271 >      $as_echo "## ----------- ##
2272   ## confdefs.h. ##
2273 < ## ----------- ##
2567 < _ASBOX
2273 > ## ----------- ##"
2274        echo
2275        cat confdefs.h
2276        echo
# Line 2619 | Line 2325 | _ACEOF
2325   ac_site_file1=NONE
2326   ac_site_file2=NONE
2327   if test -n "$CONFIG_SITE"; then
2328 <  ac_site_file1=$CONFIG_SITE
2328 >  # We do not want a PATH search for config.site.
2329 >  case $CONFIG_SITE in #((
2330 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2331 >    */*) ac_site_file1=$CONFIG_SITE;;
2332 >    *)   ac_site_file1=./$CONFIG_SITE;;
2333 >  esac
2334   elif test "x$prefix" != xNONE; then
2335    ac_site_file1=$prefix/share/config.site
2336    ac_site_file2=$prefix/etc/config.site
# Line 2630 | Line 2341 | fi
2341   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2342   do
2343    test "x$ac_site_file" = xNONE && continue
2344 <  if test -r "$ac_site_file"; then
2344 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2345      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2346   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2347      sed 's/^/| /' "$ac_site_file" >&5
2348 <    . "$ac_site_file"
2348 >    . "$ac_site_file" \
2349 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2350 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2351 > as_fn_error $? "failed to load site script $ac_site_file
2352 > See \`config.log' for more details" "$LINENO" 5; }
2353    fi
2354   done
2355  
2356   if test -r "$cache_file"; then
2357 <  # Some versions of bash will fail to source /dev/null (special
2358 <  # files actually), so we avoid doing that.
2359 <  if test -f "$cache_file"; then
2357 >  # Some versions of bash will fail to source /dev/null (special files
2358 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2359 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2360      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2361   $as_echo "$as_me: loading cache $cache_file" >&6;}
2362      case $cache_file in
# Line 2655 | Line 2370 | $as_echo "$as_me: creating cache $cache_
2370    >$cache_file
2371   fi
2372  
2658 as_fn_append ac_func_list " snprintf"
2659 as_fn_append ac_func_list " vsnprintf"
2660 as_fn_append ac_func_list " mmap"
2373   as_fn_append ac_func_list " strtok_r"
2374   as_fn_append ac_func_list " usleep"
2375   as_fn_append ac_func_list " strlcat"
2376   as_fn_append ac_func_list " strlcpy"
2377   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"
2378   as_fn_append ac_header_list " sys/resource.h"
2379   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"
2380   as_fn_append ac_header_list " types.h"
2381   as_fn_append ac_header_list " socket.h"
2382   as_fn_append ac_header_list " sys/wait.h"
2383   as_fn_append ac_header_list " wait.h"
2678 as_fn_append ac_header_list " link.h"
2384   # Check that the precious variables saved in the cache have kept the same
2385   # value.
2386   ac_cache_corrupted=false
# Line 2731 | Line 2436 | if $ac_cache_corrupted; then
2436   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2437    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2438   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2439 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2439 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2440   fi
2441   ## -------------------- ##
2442   ## Main body of script. ##
# Line 2744 | Line 2449 | ac_link='$CC -o conftest$ac_exeext $CFLA
2449   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450  
2451  
2452 < am__api_version='1.11'
2452 > am__api_version='1.14'
2453  
2454   ac_aux_dir=
2455   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2456 <  for ac_t in install-sh install.sh shtool; do
2457 <    if test -f "$ac_dir/$ac_t"; then
2458 <      ac_aux_dir=$ac_dir
2459 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2460 <      break 2
2461 <    fi
2462 <  done
2456 >  if test -f "$ac_dir/install-sh"; then
2457 >    ac_aux_dir=$ac_dir
2458 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2459 >    break
2460 >  elif test -f "$ac_dir/install.sh"; then
2461 >    ac_aux_dir=$ac_dir
2462 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2463 >    break
2464 >  elif test -f "$ac_dir/shtool"; then
2465 >    ac_aux_dir=$ac_dir
2466 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2467 >    break
2468 >  fi
2469   done
2470   if test -z "$ac_aux_dir"; then
2471 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2471 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2472   fi
2473  
2474   # These three variables are undocumented and unsupported,
# Line 2786 | Line 2497 | ac_configure="$SHELL $ac_aux_dir/configu
2497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2498   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2499   if test -z "$INSTALL"; then
2500 < if test "${ac_cv_path_install+set}" = set; then :
2500 > if ${ac_cv_path_install+:} false; then :
2501    $as_echo_n "(cached) " >&6
2502   else
2503    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2806 | Line 2517 | case $as_dir/ in #((
2517      # by default.
2518      for ac_prog in ginstall scoinst install; do
2519        for ac_exec_ext in '' $ac_executable_extensions; do
2520 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2520 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2521            if test $ac_prog = install &&
2522              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2523              # AIX install.  It has an incompatible calling convention.
# Line 2864 | Line 2575 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2575  
2576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2577   $as_echo_n "checking whether build environment is sane... " >&6; }
2867 # Just in case
2868 sleep 1
2869 echo timestamp > conftest.file
2578   # Reject unsafe characters in $srcdir or the absolute working directory
2579   # name.  Accept space and tab only in the latter.
2580   am_lf='
2581   '
2582   case `pwd` in
2583    *[\\\"\#\$\&\'\`$am_lf]*)
2584 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2584 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2585   esac
2586   case $srcdir in
2587    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2588 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2588 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2589   esac
2590  
2591 < # Do `set' in a subshell so we don't clobber the current shell's
2591 > # Do 'set' in a subshell so we don't clobber the current shell's
2592   # arguments.  Must try -L first in case configure is actually a
2593   # symlink; some systems play weird games with the mod time of symlinks
2594   # (eg FreeBSD returns the mod time of the symlink's containing
2595   # directory).
2596   if (
2597 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2598 <   if test "$*" = "X"; then
2599 <      # -L didn't work.
2600 <      set X `ls -t "$srcdir/configure" conftest.file`
2601 <   fi
2602 <   rm -f conftest.file
2603 <   if test "$*" != "X $srcdir/configure conftest.file" \
2604 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2605 <
2606 <      # 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
2597 >   am_has_slept=no
2598 >   for am_try in 1 2; do
2599 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2600 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2601 >     if test "$*" = "X"; then
2602 >        # -L didn't work.
2603 >        set X `ls -t "$srcdir/configure" conftest.file`
2604 >     fi
2605 >     if test "$*" != "X $srcdir/configure conftest.file" \
2606 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2607  
2608 +        # If neither matched, then we have a broken ls.  This can happen
2609 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2610 +        # broken ls alias from the environment.  This has actually
2611 +        # happened.  Such a system could not be considered "sane".
2612 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2613 +  alias in your environment" "$LINENO" 5
2614 +     fi
2615 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2616 +       break
2617 +     fi
2618 +     # Just in case.
2619 +     sleep 1
2620 +     am_has_slept=yes
2621 +   done
2622     test "$2" = conftest.file
2623     )
2624   then
2625     # Ok.
2626     :
2627   else
2628 <   as_fn_error "newly created file is older than distributed files!
2628 >   as_fn_error $? "newly created file is older than distributed files!
2629   Check your system clock" "$LINENO" 5
2630   fi
2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632   $as_echo "yes" >&6; }
2633 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2634 + # generated files are strictly newer.
2635 + am_sleep_pid=
2636 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2637 +  ( sleep 1 ) &
2638 +  am_sleep_pid=$!
2639 + fi
2640 +
2641 + rm -f conftest.file
2642 +
2643   test "$program_prefix" != NONE &&
2644    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2645   # Use a double $ so make ignores it.
# Line 2936 | Line 2662 | if test x"${MISSING+set}" != xset; then
2662    esac
2663   fi
2664   # Use eval to expand $SHELL
2665 < if eval "$MISSING --run true"; then
2666 <  am_missing_run="$MISSING --run "
2665 > if eval "$MISSING --is-lightweight"; then
2666 >  am_missing_run="$MISSING "
2667   else
2668    am_missing_run=
2669 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2670 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2669 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2670 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2671   fi
2672  
2673   if test x"${install_sh}" != xset; then
# Line 2953 | Line 2679 | if test x"${install_sh}" != xset; then
2679    esac
2680   fi
2681  
2682 < # Installed binaries are usually stripped using `strip' when the user
2683 < # run `make install-strip'.  However `strip' might not be the right
2682 > # Installed binaries are usually stripped using 'strip' when the user
2683 > # run "make install-strip".  However 'strip' might not be the right
2684   # tool to use in cross-compilation environments, therefore Automake
2685 < # will honor the `STRIP' environment variable to overrule this program.
2685 > # will honor the 'STRIP' environment variable to overrule this program.
2686   if test "$cross_compiling" != no; then
2687    if test -n "$ac_tool_prefix"; then
2688    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2689   set dummy ${ac_tool_prefix}strip; ac_word=$2
2690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691   $as_echo_n "checking for $ac_word... " >&6; }
2692 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2692 > if ${ac_cv_prog_STRIP+:} false; then :
2693    $as_echo_n "(cached) " >&6
2694   else
2695    if test -n "$STRIP"; then
# Line 2975 | Line 2701 | do
2701    IFS=$as_save_IFS
2702    test -z "$as_dir" && as_dir=.
2703      for ac_exec_ext in '' $ac_executable_extensions; do
2704 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2706      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707      break 2
# Line 3003 | Line 2729 | if test -z "$ac_cv_prog_STRIP"; then
2729   set dummy strip; ac_word=$2
2730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731   $as_echo_n "checking for $ac_word... " >&6; }
2732 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2732 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2733    $as_echo_n "(cached) " >&6
2734   else
2735    if test -n "$ac_ct_STRIP"; then
# Line 3015 | Line 2741 | do
2741    IFS=$as_save_IFS
2742    test -z "$as_dir" && as_dir=.
2743      for ac_exec_ext in '' $ac_executable_extensions; do
2744 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745      ac_cv_prog_ac_ct_STRIP="strip"
2746      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747      break 2
# Line 3056 | Line 2782 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2783   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2784   if test -z "$MKDIR_P"; then
2785 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2785 >  if ${ac_cv_path_mkdir+:} false; then :
2786    $as_echo_n "(cached) " >&6
2787   else
2788    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3066 | Line 2792 | do
2792    test -z "$as_dir" && as_dir=.
2793      for ac_prog in mkdir gmkdir; do
2794           for ac_exec_ext in '' $ac_executable_extensions; do
2795 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2795 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2796             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2797               'mkdir (GNU coreutils) '* | \
2798               'mkdir (coreutils) '* | \
# Line 3081 | Line 2807 | IFS=$as_save_IFS
2807  
2808   fi
2809  
2810 +  test -d ./--version && rmdir ./--version
2811    if test "${ac_cv_path_mkdir+set}" = set; then
2812      MKDIR_P="$ac_cv_path_mkdir -p"
2813    else
# Line 3088 | Line 2815 | fi
2815      # value for MKDIR_P within a source directory, because that will
2816      # break other packages using the cache if that directory is
2817      # removed, or if the value is a relative name.
3091    test -d ./--version && rmdir ./--version
2818      MKDIR_P="$ac_install_sh -d"
2819    fi
2820   fi
2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2822   $as_echo "$MKDIR_P" >&6; }
2823  
3098 mkdir_p="$MKDIR_P"
3099 case $mkdir_p in
3100  [\\/$]* | ?:[\\/]*) ;;
3101  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3102 esac
3103
2824   for ac_prog in gawk mawk nawk awk
2825   do
2826    # Extract the first word of "$ac_prog", so it can be a program name with args.
2827   set dummy $ac_prog; ac_word=$2
2828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2829   $as_echo_n "checking for $ac_word... " >&6; }
2830 < if test "${ac_cv_prog_AWK+set}" = set; then :
2830 > if ${ac_cv_prog_AWK+:} false; then :
2831    $as_echo_n "(cached) " >&6
2832   else
2833    if test -n "$AWK"; then
# Line 3119 | Line 2839 | do
2839    IFS=$as_save_IFS
2840    test -z "$as_dir" && as_dir=.
2841      for ac_exec_ext in '' $ac_executable_extensions; do
2842 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2842 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2843      ac_cv_prog_AWK="$ac_prog"
2844      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845      break 2
# Line 3147 | Line 2867 | done
2867   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2868   set x ${MAKE-make}
2869   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2870 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2870 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2871    $as_echo_n "(cached) " >&6
2872   else
2873    cat >conftest.make <<\_ACEOF
# Line 3155 | Line 2875 | SHELL = /bin/sh
2875   all:
2876          @echo '@@@%%%=$(MAKE)=@@@%%%'
2877   _ACEOF
2878 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2878 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2879   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2880    *@@@%%%=?*=@@@%%%*)
2881      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3183 | Line 2903 | else
2903   fi
2904   rmdir .tst 2>/dev/null
2905  
2906 + # Check whether --enable-silent-rules was given.
2907 + if test "${enable_silent_rules+set}" = set; then :
2908 +  enableval=$enable_silent_rules;
2909 + fi
2910 +
2911 + case $enable_silent_rules in # (((
2912 +  yes) AM_DEFAULT_VERBOSITY=0;;
2913 +   no) AM_DEFAULT_VERBOSITY=1;;
2914 +    *) AM_DEFAULT_VERBOSITY=1;;
2915 + esac
2916 + am_make=${MAKE-make}
2917 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2918 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2919 + if ${am_cv_make_support_nested_variables+:} false; then :
2920 +  $as_echo_n "(cached) " >&6
2921 + else
2922 +  if $as_echo 'TRUE=$(BAR$(V))
2923 + BAR0=false
2924 + BAR1=true
2925 + V=1
2926 + am__doit:
2927 +        @$(TRUE)
2928 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2929 +  am_cv_make_support_nested_variables=yes
2930 + else
2931 +  am_cv_make_support_nested_variables=no
2932 + fi
2933 + fi
2934 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2935 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2936 + if test $am_cv_make_support_nested_variables = yes; then
2937 +    AM_V='$(V)'
2938 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2939 + else
2940 +  AM_V=$AM_DEFAULT_VERBOSITY
2941 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2942 + fi
2943 + AM_BACKSLASH='\'
2944 +
2945   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2946    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2947    # is not polluted with repeated "-I."
2948    am__isrc=' -I$(srcdir)'
2949    # test to see if srcdir already configured
2950    if test -f $srcdir/config.status; then
2951 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2951 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2952    fi
2953   fi
2954  
# Line 3205 | Line 2964 | fi
2964  
2965   # Define the identity of the package.
2966   PACKAGE='ircd-hybrid'
2967 < VERSION='7.2.4'
2967 > VERSION='8.2.0rc1'
2968  
2969  
2970   cat >>confdefs.h <<_ACEOF
# Line 3233 | Line 2992 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2992  
2993   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2994  
2995 + # For better backward compatibility.  To be removed once Automake 1.9.x
2996 + # dies out for good.  For more background, see:
2997 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2998 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2999 + mkdir_p='$(MKDIR_P)'
3000 +
3001   # We need awk for the "check" target.  The system "awk" is bad on
3002   # some platforms.
3003 < # Always define AMTAR for backward compatibility.
3003 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3004 > # in the wild :-(  We should find a proper way to deprecate it ...
3005 > AMTAR='$${TAR-tar}'
3006 >
3007 >
3008 > # We'll loop over all known methods to create a tar archive until one works.
3009 > _am_tools='gnutar  pax cpio none'
3010 >
3011 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012 >
3013 >
3014 >
3015 >
3016  
3240 AMTAR=${AMTAR-"${am_missing_run}tar"}
3017  
3018 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3018 > # POSIX will say in a future version that running "rm -f" with no argument
3019 > # is OK; and we want to be able to make that assumption in our Makefile
3020 > # recipes.  So use an aggressive probe to check that the usage we want is
3021 > # actually supported "in the wild" to an acceptable degree.
3022 > # See automake bug#10828.
3023 > # To make any issue more visible, cause the running configure to be aborted
3024 > # by default if the 'rm' program in use doesn't match our expectations; the
3025 > # user can still override this though.
3026 > if rm -f && rm -fr && rm -rf; then : OK; else
3027 >  cat >&2 <<'END'
3028 > Oops!
3029  
3030 + Your 'rm' program seems unable to run without file operands specified
3031 + on the command line, even when the '-f' option is present.  This is contrary
3032 + to the behaviour of most rm programs out there, and not conforming with
3033 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3034  
3035 + Please tell bug-automake@gnu.org about your system, including the value
3036 + of your $PATH and any error possibly output before this message.  This
3037 + can help us improve future automake versions.
3038  
3039 + END
3040 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3041 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3042 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3043 +    echo >&2
3044 +  else
3045 +    cat >&2 <<'END'
3046 + Aborting the configuration process, to ensure you take notice of the issue.
3047 +
3048 + You can download and install GNU coreutils to get an 'rm' implementation
3049 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3050  
3051 + If you want to complete the configuration process using your problematic
3052 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3053 + to "yes", and re-run configure.
3054  
3055 + END
3056 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3057 +  fi
3058 + fi
3059  
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3061   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3268 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3271 ac_config_headers="$ac_config_headers config.h"
3082  
3083 + ac_config_headers="$ac_config_headers config.h"
3084  
3085  
3086  
3087   # Checks for programs.
3088 + DEPDIR="${am__leading_dot}deps"
3089 +
3090 + ac_config_commands="$ac_config_commands depfiles"
3091 +
3092 +
3093 + am_make=${MAKE-make}
3094 + cat > confinc << 'END'
3095 + am__doit:
3096 +        @echo this is the am__doit target
3097 + .PHONY: am__doit
3098 + END
3099 + # If we don't find an include directive, just comment out the code.
3100 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3101 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3102 + am__include="#"
3103 + am__quote=
3104 + _am_result=none
3105 + # First try GNU make style include.
3106 + echo "include confinc" > confmf
3107 + # Ignore all kinds of additional output from 'make'.
3108 + case `$am_make -s -f confmf 2> /dev/null` in #(
3109 + *the\ am__doit\ target*)
3110 +  am__include=include
3111 +  am__quote=
3112 +  _am_result=GNU
3113 +  ;;
3114 + esac
3115 + # Now try BSD make style include.
3116 + if test "$am__include" = "#"; then
3117 +   echo '.include "confinc"' > confmf
3118 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3119 +   *the\ am__doit\ target*)
3120 +     am__include=.include
3121 +     am__quote="\""
3122 +     _am_result=BSD
3123 +     ;;
3124 +   esac
3125 + fi
3126 +
3127 +
3128 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3129 + $as_echo "$_am_result" >&6; }
3130 + rm -f confinc confmf
3131 +
3132 + # Check whether --enable-dependency-tracking was given.
3133 + if test "${enable_dependency_tracking+set}" = set; then :
3134 +  enableval=$enable_dependency_tracking;
3135 + fi
3136 +
3137 + if test "x$enable_dependency_tracking" != xno; then
3138 +  am_depcomp="$ac_aux_dir/depcomp"
3139 +  AMDEPBACKSLASH='\'
3140 +  am__nodep='_no'
3141 + fi
3142 + if test "x$enable_dependency_tracking" != xno; then
3143 +  AMDEP_TRUE=
3144 +  AMDEP_FALSE='#'
3145 + else
3146 +  AMDEP_TRUE='#'
3147 +  AMDEP_FALSE=
3148 + fi
3149 +
3150 +
3151   ac_ext=c
3152   ac_cpp='$CPP $CPPFLAGS'
3153   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3284 | Line 3158 | if test -n "$ac_tool_prefix"; then
3158   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160   $as_echo_n "checking for $ac_word... " >&6; }
3161 < if test "${ac_cv_prog_CC+set}" = set; then :
3161 > if ${ac_cv_prog_CC+:} false; then :
3162    $as_echo_n "(cached) " >&6
3163   else
3164    if test -n "$CC"; then
# Line 3296 | Line 3170 | do
3170    IFS=$as_save_IFS
3171    test -z "$as_dir" && as_dir=.
3172      for ac_exec_ext in '' $ac_executable_extensions; do
3173 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3175      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176      break 2
# Line 3324 | Line 3198 | if test -z "$ac_cv_prog_CC"; then
3198   set dummy gcc; ac_word=$2
3199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200   $as_echo_n "checking for $ac_word... " >&6; }
3201 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3201 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3202    $as_echo_n "(cached) " >&6
3203   else
3204    if test -n "$ac_ct_CC"; then
# Line 3336 | Line 3210 | do
3210    IFS=$as_save_IFS
3211    test -z "$as_dir" && as_dir=.
3212      for ac_exec_ext in '' $ac_executable_extensions; do
3213 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214      ac_cv_prog_ac_ct_CC="gcc"
3215      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216      break 2
# Line 3377 | Line 3251 | if test -z "$CC"; then
3251   set dummy ${ac_tool_prefix}cc; ac_word=$2
3252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253   $as_echo_n "checking for $ac_word... " >&6; }
3254 < if test "${ac_cv_prog_CC+set}" = set; then :
3254 > if ${ac_cv_prog_CC+:} false; then :
3255    $as_echo_n "(cached) " >&6
3256   else
3257    if test -n "$CC"; then
# Line 3389 | Line 3263 | do
3263    IFS=$as_save_IFS
3264    test -z "$as_dir" && as_dir=.
3265      for ac_exec_ext in '' $ac_executable_extensions; do
3266 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267      ac_cv_prog_CC="${ac_tool_prefix}cc"
3268      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269      break 2
# Line 3417 | Line 3291 | if test -z "$CC"; then
3291   set dummy cc; ac_word=$2
3292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293   $as_echo_n "checking for $ac_word... " >&6; }
3294 < if test "${ac_cv_prog_CC+set}" = set; then :
3294 > if ${ac_cv_prog_CC+:} false; then :
3295    $as_echo_n "(cached) " >&6
3296   else
3297    if test -n "$CC"; then
# Line 3430 | Line 3304 | do
3304    IFS=$as_save_IFS
3305    test -z "$as_dir" && as_dir=.
3306      for ac_exec_ext in '' $ac_executable_extensions; do
3307 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3309         ac_prog_rejected=yes
3310         continue
# Line 3476 | Line 3350 | if test -z "$CC"; then
3350   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352   $as_echo_n "checking for $ac_word... " >&6; }
3353 < if test "${ac_cv_prog_CC+set}" = set; then :
3353 > if ${ac_cv_prog_CC+:} false; then :
3354    $as_echo_n "(cached) " >&6
3355   else
3356    if test -n "$CC"; then
# Line 3488 | Line 3362 | do
3362    IFS=$as_save_IFS
3363    test -z "$as_dir" && as_dir=.
3364      for ac_exec_ext in '' $ac_executable_extensions; do
3365 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3366      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3367      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368      break 2
# Line 3520 | Line 3394 | do
3394   set dummy $ac_prog; ac_word=$2
3395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396   $as_echo_n "checking for $ac_word... " >&6; }
3397 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3397 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3398    $as_echo_n "(cached) " >&6
3399   else
3400    if test -n "$ac_ct_CC"; then
# Line 3532 | Line 3406 | do
3406    IFS=$as_save_IFS
3407    test -z "$as_dir" && as_dir=.
3408      for ac_exec_ext in '' $ac_executable_extensions; do
3409 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410      ac_cv_prog_ac_ct_CC="$ac_prog"
3411      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412      break 2
# Line 3574 | Line 3448 | fi
3448  
3449   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 < as_fn_error "no acceptable C compiler found in \$PATH
3452 < See \`config.log' for more details." "$LINENO" 5; }
3451 > as_fn_error $? "no acceptable C compiler found in \$PATH
3452 > See \`config.log' for more details" "$LINENO" 5; }
3453  
3454   # Provide some information about the compiler.
3455   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3596 | Line 3470 | $as_echo "$ac_try_echo"; } >&5
3470   ... rest of stderr output deleted ...
3471           10q' conftest.err >conftest.er1
3472      cat conftest.er1 >&5
3599    rm -f conftest.er1 conftest.err
3473    fi
3474 +  rm -f conftest.er1 conftest.err
3475    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476    test $ac_status = 0; }
3477   done
3478  
3479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480   /* end confdefs.h.  */
3481 < #include <stdio.h>
3481 >
3482   int
3483   main ()
3484   {
3611 FILE *f = fopen ("conftest.out", "w");
3612 return ferror (f) || fclose (f) != 0;
3485  
3486    ;
3487    return 0;
3488   }
3489   _ACEOF
3490   ac_clean_files_save=$ac_clean_files
3491 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3491 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3492   # Try to create an executable without -o first, disregard a.out.
3493   # It will help us diagnose broken compilers, and finding out an intuition
3494   # of exeext.
3495 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3496 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3495 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3496 > $as_echo_n "checking whether the C compiler works... " >&6; }
3497   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3498  
3499   # The possible output files:
# Line 3683 | Line 3555 | test "$ac_cv_exeext" = no && ac_cv_exeex
3555   else
3556    ac_file=''
3557   fi
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3687 $as_echo "$ac_file" >&6; }
3558   if test -z "$ac_file"; then :
3559 <  $as_echo "$as_me: failed program was:" >&5
3559 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 > $as_echo "no" >&6; }
3561 > $as_echo "$as_me: failed program was:" >&5
3562   sed 's/^/| /' conftest.$ac_ext >&5
3563  
3564   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566 < { as_fn_set_status 77
3567 < as_fn_error "C compiler cannot create executables
3568 < See \`config.log' for more details." "$LINENO" 5; }; }
3566 > as_fn_error 77 "C compiler cannot create executables
3567 > See \`config.log' for more details" "$LINENO" 5; }
3568 > else
3569 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3570 > $as_echo "yes" >&6; }
3571   fi
3572 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3573 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3574 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3575 + $as_echo "$ac_file" >&6; }
3576   ac_exeext=$ac_cv_exeext
3577  
3578 < # 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
3578 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3579   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
3580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3581   $as_echo_n "checking for suffix of executables... " >&6; }
3582   if { { ac_try="$ac_link"
# Line 3768 | Line 3606 | done
3606   else
3607    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3610 < See \`config.log' for more details." "$LINENO" 5; }
3609 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3610 > See \`config.log' for more details" "$LINENO" 5; }
3611   fi
3612 < rm -f conftest$ac_cv_exeext
3612 > rm -f conftest conftest$ac_cv_exeext
3613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3614   $as_echo "$ac_cv_exeext" >&6; }
3615  
3616   rm -f conftest.$ac_ext
3617   EXEEXT=$ac_cv_exeext
3618   ac_exeext=$EXEEXT
3619 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 + /* end confdefs.h.  */
3621 + #include <stdio.h>
3622 + int
3623 + main ()
3624 + {
3625 + FILE *f = fopen ("conftest.out", "w");
3626 + return ferror (f) || fclose (f) != 0;
3627 +
3628 +  ;
3629 +  return 0;
3630 + }
3631 + _ACEOF
3632 + ac_clean_files="$ac_clean_files conftest.out"
3633 + # Check that the compiler produces executables we can run.  If not, either
3634 + # the compiler is broken, or we cross compile.
3635 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3636 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3637 + if test "$cross_compiling" != yes; then
3638 +  { { ac_try="$ac_link"
3639 + case "(($ac_try" in
3640 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641 +  *) ac_try_echo=$ac_try;;
3642 + esac
3643 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3644 + $as_echo "$ac_try_echo"; } >&5
3645 +  (eval "$ac_link") 2>&5
3646 +  ac_status=$?
3647 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3648 +  test $ac_status = 0; }
3649 +  if { ac_try='./conftest$ac_cv_exeext'
3650 +  { { case "(($ac_try" in
3651 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652 +  *) ac_try_echo=$ac_try;;
3653 + esac
3654 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3655 + $as_echo "$ac_try_echo"; } >&5
3656 +  (eval "$ac_try") 2>&5
3657 +  ac_status=$?
3658 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3659 +  test $ac_status = 0; }; }; then
3660 +    cross_compiling=no
3661 +  else
3662 +    if test "$cross_compiling" = maybe; then
3663 +        cross_compiling=yes
3664 +    else
3665 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 + as_fn_error $? "cannot run C compiled programs.
3668 + If you meant to cross compile, use \`--host'.
3669 + See \`config.log' for more details" "$LINENO" 5; }
3670 +    fi
3671 +  fi
3672 + fi
3673 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3674 + $as_echo "$cross_compiling" >&6; }
3675 +
3676 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3677 + ac_clean_files=$ac_clean_files_save
3678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3679   $as_echo_n "checking for suffix of object files... " >&6; }
3680 < if test "${ac_cv_objext+set}" = set; then :
3680 > if ${ac_cv_objext+:} false; then :
3681    $as_echo_n "(cached) " >&6
3682   else
3683    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3820 | Line 3717 | sed 's/^/| /' conftest.$ac_ext >&5
3717  
3718   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 < as_fn_error "cannot compute suffix of object files: cannot compile
3721 < See \`config.log' for more details." "$LINENO" 5; }
3720 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3721 > See \`config.log' for more details" "$LINENO" 5; }
3722   fi
3723   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3724   fi
# Line 3831 | Line 3728 | OBJEXT=$ac_cv_objext
3728   ac_objext=$OBJEXT
3729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3730   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3731 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3731 > if ${ac_cv_c_compiler_gnu+:} false; then :
3732    $as_echo_n "(cached) " >&6
3733   else
3734    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3868 | Line 3765 | ac_test_CFLAGS=${CFLAGS+set}
3765   ac_save_CFLAGS=$CFLAGS
3766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3767   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3768 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3768 > if ${ac_cv_prog_cc_g+:} false; then :
3769    $as_echo_n "(cached) " >&6
3770   else
3771    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3946 | Line 3843 | else
3843   fi
3844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3845   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3846 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3846 > if ${ac_cv_prog_cc_c89+:} false; then :
3847    $as_echo_n "(cached) " >&6
3848   else
3849    ac_cv_prog_cc_c89=no
# Line 3955 | Line 3852 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3852   /* end confdefs.h.  */
3853   #include <stdarg.h>
3854   #include <stdio.h>
3855 < #include <sys/types.h>
3959 < #include <sys/stat.h>
3855 > struct stat;
3856   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3857   struct buf { int x; };
3858   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 4040 | Line 3936 | ac_cpp='$CPP $CPPFLAGS'
3936   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938   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
3939  
3940 + ac_ext=c
3941 + ac_cpp='$CPP $CPPFLAGS'
3942 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3946 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3947 + if ${am_cv_prog_cc_c_o+:} false; then :
3948 +  $as_echo_n "(cached) " >&6
3949 + else
3950 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 + /* end confdefs.h.  */
3952  
3953 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3954 < $as_echo "$_am_result" >&6; }
3955 < 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
3953 > int
3954 > main ()
3955 > {
3956  
3957 < if test "x$enable_dependency_tracking" != xno; then
3958 <  am_depcomp="$ac_aux_dir/depcomp"
3959 <  AMDEPBACKSLASH='\'
3957 >  ;
3958 >  return 0;
3959 > }
3960 > _ACEOF
3961 >  # Make sure it works both with $CC and with simple cc.
3962 >  # Following AC_PROG_CC_C_O, we do the test twice because some
3963 >  # compilers refuse to overwrite an existing .o file with -o,
3964 >  # though they will create one.
3965 >  am_cv_prog_cc_c_o=yes
3966 >  for am_i in 1 2; do
3967 >    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3968 >   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3969 >   ac_status=$?
3970 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 >   (exit $ac_status); } \
3972 >         && test -f conftest2.$ac_objext; then
3973 >      : OK
3974 >    else
3975 >      am_cv_prog_cc_c_o=no
3976 >      break
3977 >    fi
3978 >  done
3979 >  rm -f core conftest*
3980 >  unset am_i
3981   fi
3982 < if test "x$enable_dependency_tracking" != xno; then
3983 <  AMDEP_TRUE=
3984 <  AMDEP_FALSE='#'
3985 < else
3986 <  AMDEP_TRUE='#'
3987 <  AMDEP_FALSE=
3982 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3983 > $as_echo "$am_cv_prog_cc_c_o" >&6; }
3984 > if test "$am_cv_prog_cc_c_o" != yes; then
3985 >   # Losing compiler, so override with the script.
3986 >   # FIXME: It is wrong to rewrite CC.
3987 >   # But if we don't then we get into trouble of one sort or another.
3988 >   # A longer-term fix would be to have automake use am__CC in this case,
3989 >   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3990 >   CC="$am_aux_dir/compile $CC"
3991   fi
3992 <
3992 > ac_ext=c
3993 > ac_cpp='$CPP $CPPFLAGS'
3994 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997  
3998  
3999   depcc="$CC"   am_compiler_list=
4000  
4001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4002   $as_echo_n "checking dependency style of $depcc... " >&6; }
4003 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4003 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4004    $as_echo_n "(cached) " >&6
4005   else
4006    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4007    # We make a subdir and do the tests there.  Otherwise we can end up
4008    # making bogus files that we don't know about and never remove.  For
4009    # instance it was reported that on HP-UX the gcc test will end up
4010 <  # making a dummy file named `D' -- because `-MD' means `put the output
4011 <  # in D'.
4010 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4011 >  # in D".
4012 >  rm -rf conftest.dir
4013    mkdir conftest.dir
4014    # Copy depcomp to subdir because otherwise we won't find it if we're
4015    # using a relative directory.
# Line 4149 | Line 4043 | else
4043      : > sub/conftest.c
4044      for i in 1 2 3 4 5 6; do
4045        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4046 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4047 <      # Solaris 8's {/usr,}/bin/sh.
4048 <      touch sub/conftst$i.h
4046 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4047 >      # Solaris 10 /bin/sh.
4048 >      echo '/* dummy */' > sub/conftst$i.h
4049      done
4050      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4051  
4052 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4052 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4053      # mode.  It turns out that the SunPro C++ compiler does not properly
4054 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4055 <    # versions had trouble with output in subdirs
4054 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4055 >    # versions had trouble with output in subdirs.
4056      am__obj=sub/conftest.${OBJEXT-o}
4057      am__minus_obj="-o $am__obj"
4058      case $depmode in
# Line 4167 | Line 4061 | else
4061        test "$am__universal" = false || continue
4062        ;;
4063      nosideeffect)
4064 <      # after this tag, mechanisms are not by side-effect, so they'll
4065 <      # only be used when explicitly requested
4064 >      # After this tag, mechanisms are not by side-effect, so they'll
4065 >      # only be used when explicitly requested.
4066        if test "x$enable_dependency_tracking" = xyes; then
4067          continue
4068        else
4069          break
4070        fi
4071        ;;
4072 <    msvisualcpp | msvcmsys)
4073 <      # This compiler won't grok `-c -o', but also, the minuso test has
4072 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4073 >      # This compiler won't grok '-c -o', but also, the minuso test has
4074        # not run yet.  These depmodes are late enough in the game, and
4075        # so weak that their functioning should not be impacted.
4076        am__obj=conftest.${OBJEXT-o}
# Line 4230 | Line 4124 | else
4124   fi
4125  
4126  
4127 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4128 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4129 + if ${ac_cv_prog_cc_c99+:} false; then :
4130 +  $as_echo_n "(cached) " >&6
4131 + else
4132 +  ac_cv_prog_cc_c99=no
4133 + ac_save_CC=$CC
4134 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 + /* end confdefs.h.  */
4136 + #include <stdarg.h>
4137 + #include <stdbool.h>
4138 + #include <stdlib.h>
4139 + #include <wchar.h>
4140 + #include <stdio.h>
4141 +
4142 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4143 + #define debug(...) fprintf (stderr, __VA_ARGS__)
4144 + #define showlist(...) puts (#__VA_ARGS__)
4145 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4146 + static void
4147 + test_varargs_macros (void)
4148 + {
4149 +  int x = 1234;
4150 +  int y = 5678;
4151 +  debug ("Flag");
4152 +  debug ("X = %d\n", x);
4153 +  showlist (The first, second, and third items.);
4154 +  report (x>y, "x is %d but y is %d", x, y);
4155 + }
4156 +
4157 + // Check long long types.
4158 + #define BIG64 18446744073709551615ull
4159 + #define BIG32 4294967295ul
4160 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4161 + #if !BIG_OK
4162 +  your preprocessor is broken;
4163 + #endif
4164 + #if BIG_OK
4165 + #else
4166 +  your preprocessor is broken;
4167 + #endif
4168 + static long long int bignum = -9223372036854775807LL;
4169 + static unsigned long long int ubignum = BIG64;
4170 +
4171 + struct incomplete_array
4172 + {
4173 +  int datasize;
4174 +  double data[];
4175 + };
4176 +
4177 + struct named_init {
4178 +  int number;
4179 +  const wchar_t *name;
4180 +  double average;
4181 + };
4182 +
4183 + typedef const char *ccp;
4184 +
4185 + static inline int
4186 + test_restrict (ccp restrict text)
4187 + {
4188 +  // See if C++-style comments work.
4189 +  // Iterate through items via the restricted pointer.
4190 +  // Also check for declarations in for loops.
4191 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4192 +    continue;
4193 +  return 0;
4194 + }
4195 +
4196 + // Check varargs and va_copy.
4197 + static void
4198 + test_varargs (const char *format, ...)
4199 + {
4200 +  va_list args;
4201 +  va_start (args, format);
4202 +  va_list args_copy;
4203 +  va_copy (args_copy, args);
4204 +
4205 +  const char *str;
4206 +  int number;
4207 +  float fnumber;
4208 +
4209 +  while (*format)
4210 +    {
4211 +      switch (*format++)
4212 +        {
4213 +        case 's': // string
4214 +          str = va_arg (args_copy, const char *);
4215 +          break;
4216 +        case 'd': // int
4217 +          number = va_arg (args_copy, int);
4218 +          break;
4219 +        case 'f': // float
4220 +          fnumber = va_arg (args_copy, double);
4221 +          break;
4222 +        default:
4223 +          break;
4224 +        }
4225 +    }
4226 +  va_end (args_copy);
4227 +  va_end (args);
4228 + }
4229 +
4230 + int
4231 + main ()
4232 + {
4233 +
4234 +  // Check bool.
4235 +  _Bool success = false;
4236 +
4237 +  // Check restrict.
4238 +  if (test_restrict ("String literal") == 0)
4239 +    success = true;
4240 +  char *restrict newvar = "Another string";
4241 +
4242 +  // Check varargs.
4243 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4244 +  test_varargs_macros ();
4245 +
4246 +  // Check flexible array members.
4247 +  struct incomplete_array *ia =
4248 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4249 +  ia->datasize = 10;
4250 +  for (int i = 0; i < ia->datasize; ++i)
4251 +    ia->data[i] = i * 1.234;
4252 +
4253 +  // Check named initializers.
4254 +  struct named_init ni = {
4255 +    .number = 34,
4256 +    .name = L"Test wide string",
4257 +    .average = 543.34343,
4258 +  };
4259 +
4260 +  ni.number = 58;
4261 +
4262 +  int dynamic_array[ni.number];
4263 +  dynamic_array[ni.number - 1] = 543;
4264 +
4265 +  // work around unused variable warnings
4266 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4267 +          || dynamic_array[ni.number - 1] != 543);
4268 +
4269 +  ;
4270 +  return 0;
4271 + }
4272 + _ACEOF
4273 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4274 + do
4275 +  CC="$ac_save_CC $ac_arg"
4276 +  if ac_fn_c_try_compile "$LINENO"; then :
4277 +  ac_cv_prog_cc_c99=$ac_arg
4278 + fi
4279 + rm -f core conftest.err conftest.$ac_objext
4280 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4281 + done
4282 + rm -f conftest.$ac_ext
4283 + CC=$ac_save_CC
4284 +
4285 + fi
4286 + # AC_CACHE_VAL
4287 + case "x$ac_cv_prog_cc_c99" in
4288 +  x)
4289 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4290 + $as_echo "none needed" >&6; } ;;
4291 +  xno)
4292 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4293 + $as_echo "unsupported" >&6; } ;;
4294 +  *)
4295 +    CC="$CC $ac_cv_prog_cc_c99"
4296 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4297 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4298 + esac
4299 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4300 +
4301 + fi
4302 +
4303 +
4304 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4305 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4306 + fi
4307   for ac_prog in 'bison -y' byacc
4308   do
4309    # Extract the first word of "$ac_prog", so it can be a program name with args.
4310   set dummy $ac_prog; ac_word=$2
4311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312   $as_echo_n "checking for $ac_word... " >&6; }
4313 < if test "${ac_cv_prog_YACC+set}" = set; then :
4313 > if ${ac_cv_prog_YACC+:} false; then :
4314    $as_echo_n "(cached) " >&6
4315   else
4316    if test -n "$YACC"; then
# Line 4248 | Line 4322 | do
4322    IFS=$as_save_IFS
4323    test -z "$as_dir" && as_dir=.
4324      for ac_exec_ext in '' $ac_executable_extensions; do
4325 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4326      ac_cv_prog_YACC="$ac_prog"
4327      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328      break 2
# Line 4280 | Line 4354 | do
4354   set dummy $ac_prog; ac_word=$2
4355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356   $as_echo_n "checking for $ac_word... " >&6; }
4357 < if test "${ac_cv_prog_LEX+set}" = set; then :
4357 > if ${ac_cv_prog_LEX+:} false; then :
4358    $as_echo_n "(cached) " >&6
4359   else
4360    if test -n "$LEX"; then
# Line 4292 | Line 4366 | do
4366    IFS=$as_save_IFS
4367    test -z "$as_dir" && as_dir=.
4368      for ac_exec_ext in '' $ac_executable_extensions; do
4369 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370      ac_cv_prog_LEX="$ac_prog"
4371      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372      break 2
# Line 4324 | Line 4398 | a { ECHO; }
4398   b { REJECT; }
4399   c { yymore (); }
4400   d { yyless (1); }
4401 < e { yyless (input () != 0); }
4401 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4402 >    yyless ((input () != 0)); }
4403   f { unput (yytext[0]); }
4404   . { BEGIN INITIAL; }
4405   %%
# Line 4350 | Line 4425 | $as_echo "$ac_try_echo"; } >&5
4425    test $ac_status = 0; }
4426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4427   $as_echo_n "checking lex output file root... " >&6; }
4428 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4428 > if ${ac_cv_prog_lex_root+:} false; then :
4429    $as_echo_n "(cached) " >&6
4430   else
4431  
# Line 4359 | Line 4434 | if test -f lex.yy.c; then
4434   elif test -f lexyy.c; then
4435    ac_cv_prog_lex_root=lexyy
4436   else
4437 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4437 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4438   fi
4439   fi
4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4369 | Line 4444 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4444   if test -z "${LEXLIB+set}"; then
4445    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4446   $as_echo_n "checking lex library... " >&6; }
4447 < if test "${ac_cv_lib_lex+set}" = set; then :
4447 > if ${ac_cv_lib_lex+:} false; then :
4448    $as_echo_n "(cached) " >&6
4449   else
4450  
# Line 4399 | Line 4474 | fi
4474  
4475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4476   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4477 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4477 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4478    $as_echo_n "(cached) " >&6
4479   else
4480    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4410 | Line 4485 | ac_save_LIBS=$LIBS
4485   LIBS="$LEXLIB $ac_save_LIBS"
4486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487   /* end confdefs.h.  */
4488 < #define YYTEXT_POINTER 1
4488 >
4489 >  #define YYTEXT_POINTER 1
4490   `cat $LEX_OUTPUT_ROOT.c`
4491   _ACEOF
4492   if ac_fn_c_try_link "$LINENO"; then :
# Line 4436 | Line 4512 | if test "$LEX" = :; then
4512   fi
4513  
4514  
4515 + # Initializing libtool.
4516 +
4517 +
4518 +
4519 +
4520 +
4521 +
4522  
4440 #ltdl stuff
4523   case `pwd` in
4524    *\ * | *\     *)
4525      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4446 | Line 4528 | esac
4528  
4529  
4530  
4531 < macro_version='2.2.6'
4532 < macro_revision='1.3012'
4531 > macro_version='2.4.2'
4532 > macro_revision='1.3337'
4533  
4534  
4535  
# Line 4465 | Line 4547 | ltmain="$ac_aux_dir/ltmain.sh"
4547  
4548   # Make sure we can run config.sub.
4549   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4550 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4550 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4551  
4552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4553   $as_echo_n "checking build system type... " >&6; }
4554 < if test "${ac_cv_build+set}" = set; then :
4554 > if ${ac_cv_build+:} false; then :
4555    $as_echo_n "(cached) " >&6
4556   else
4557    ac_build_alias=$build_alias
4558   test "x$ac_build_alias" = x &&
4559    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4560   test "x$ac_build_alias" = x &&
4561 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4561 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4562   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4563 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4563 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4564  
4565   fi
4566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4567   $as_echo "$ac_cv_build" >&6; }
4568   case $ac_cv_build in
4569   *-*-*) ;;
4570 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4570 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4571   esac
4572   build=$ac_cv_build
4573   ac_save_IFS=$IFS; IFS='-'
# Line 4503 | Line 4585 | case $build_os in *\ *) build_os=`echo "
4585  
4586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4587   $as_echo_n "checking host system type... " >&6; }
4588 < if test "${ac_cv_host+set}" = set; then :
4588 > if ${ac_cv_host+:} false; then :
4589    $as_echo_n "(cached) " >&6
4590   else
4591    if test "x$host_alias" = x; then
4592    ac_cv_host=$ac_cv_build
4593   else
4594    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4595 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4595 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4596   fi
4597  
4598   fi
# Line 4518 | Line 4600 | fi
4600   $as_echo "$ac_cv_host" >&6; }
4601   case $ac_cv_host in
4602   *-*-*) ;;
4603 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4603 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4604   esac
4605   host=$ac_cv_host
4606   ac_save_IFS=$IFS; IFS='-'
# Line 4534 | Line 4616 | IFS=$ac_save_IFS
4616   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4617  
4618  
4619 + # Backslashify metacharacters that are still active within
4620 + # double-quoted strings.
4621 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4622 +
4623 + # Same as above, but do not quote variable references.
4624 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4625 +
4626 + # Sed substitution to delay expansion of an escaped shell variable in a
4627 + # double_quote_subst'ed string.
4628 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4629 +
4630 + # Sed substitution to delay expansion of an escaped single quote.
4631 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4632 +
4633 + # Sed substitution to avoid accidental globbing in evaled expressions
4634 + no_glob_subst='s/\*/\\\*/g'
4635 +
4636 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4637 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4638 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4639 +
4640 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4641 + $as_echo_n "checking how to print strings... " >&6; }
4642 + # Test print first, because it will be a builtin if present.
4643 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4644 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4645 +  ECHO='print -r --'
4646 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4647 +  ECHO='printf %s\n'
4648 + else
4649 +  # Use this function as a fallback that always works.
4650 +  func_fallback_echo ()
4651 +  {
4652 +    eval 'cat <<_LTECHO_EOF
4653 + $1
4654 + _LTECHO_EOF'
4655 +  }
4656 +  ECHO='func_fallback_echo'
4657 + fi
4658 +
4659 + # func_echo_all arg...
4660 + # Invoke $ECHO with all args, space-separated.
4661 + func_echo_all ()
4662 + {
4663 +    $ECHO ""
4664 + }
4665 +
4666 + case "$ECHO" in
4667 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4668 + $as_echo "printf" >&6; } ;;
4669 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4670 + $as_echo "print -r" >&6; } ;;
4671 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4672 + $as_echo "cat" >&6; } ;;
4673 + esac
4674 +
4675 +
4676 +
4677 +
4678 +
4679 +
4680 +
4681 +
4682 +
4683 +
4684 +
4685 +
4686 +
4687 +
4688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4689   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4690 < if test "${ac_cv_path_SED+set}" = set; then :
4690 > if ${ac_cv_path_SED+:} false; then :
4691    $as_echo_n "(cached) " >&6
4692   else
4693              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4556 | Line 4707 | do
4707      for ac_prog in sed gsed; do
4708      for ac_exec_ext in '' $ac_executable_extensions; do
4709        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4710 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4710 >      as_fn_executable_p "$ac_path_SED" || continue
4711   # Check for GNU ac_path_SED and select it if it is found.
4712    # Check for GNU $ac_path_SED
4713   case `"$ac_path_SED" --version 2>&1` in
# Line 4591 | Line 4742 | esac
4742    done
4743   IFS=$as_save_IFS
4744    if test -z "$ac_cv_path_SED"; then
4745 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4745 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4746    fi
4747   else
4748    ac_cv_path_SED=$SED
# Line 4618 | Line 4769 | Xsed="$SED -e 1s/^X//"
4769  
4770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4771   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4772 < if test "${ac_cv_path_GREP+set}" = set; then :
4772 > if ${ac_cv_path_GREP+:} false; then :
4773    $as_echo_n "(cached) " >&6
4774   else
4775    if test -z "$GREP"; then
# Line 4632 | Line 4783 | do
4783      for ac_prog in grep ggrep; do
4784      for ac_exec_ext in '' $ac_executable_extensions; do
4785        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4786 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4786 >      as_fn_executable_p "$ac_path_GREP" || continue
4787   # Check for GNU ac_path_GREP and select it if it is found.
4788    # Check for GNU $ac_path_GREP
4789   case `"$ac_path_GREP" --version 2>&1` in
# Line 4667 | Line 4818 | esac
4818    done
4819   IFS=$as_save_IFS
4820    if test -z "$ac_cv_path_GREP"; then
4821 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4821 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4822    fi
4823   else
4824    ac_cv_path_GREP=$GREP
# Line 4681 | Line 4832 | $as_echo "$ac_cv_path_GREP" >&6; }
4832  
4833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4834   $as_echo_n "checking for egrep... " >&6; }
4835 < if test "${ac_cv_path_EGREP+set}" = set; then :
4835 > if ${ac_cv_path_EGREP+:} false; then :
4836    $as_echo_n "(cached) " >&6
4837   else
4838    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4698 | Line 4849 | do
4849      for ac_prog in egrep; do
4850      for ac_exec_ext in '' $ac_executable_extensions; do
4851        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4852 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4852 >      as_fn_executable_p "$ac_path_EGREP" || continue
4853   # Check for GNU ac_path_EGREP and select it if it is found.
4854    # Check for GNU $ac_path_EGREP
4855   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4733 | Line 4884 | esac
4884    done
4885   IFS=$as_save_IFS
4886    if test -z "$ac_cv_path_EGREP"; then
4887 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4887 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4888    fi
4889   else
4890    ac_cv_path_EGREP=$EGREP
# Line 4748 | Line 4899 | $as_echo "$ac_cv_path_EGREP" >&6; }
4899  
4900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4901   $as_echo_n "checking for fgrep... " >&6; }
4902 < if test "${ac_cv_path_FGREP+set}" = set; then :
4902 > if ${ac_cv_path_FGREP+:} false; then :
4903    $as_echo_n "(cached) " >&6
4904   else
4905    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4765 | Line 4916 | do
4916      for ac_prog in fgrep; do
4917      for ac_exec_ext in '' $ac_executable_extensions; do
4918        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4919 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4919 >      as_fn_executable_p "$ac_path_FGREP" || continue
4920   # Check for GNU ac_path_FGREP and select it if it is found.
4921    # Check for GNU $ac_path_FGREP
4922   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4800 | Line 4951 | esac
4951    done
4952   IFS=$as_save_IFS
4953    if test -z "$ac_cv_path_FGREP"; then
4954 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4954 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4955    fi
4956   else
4957    ac_cv_path_FGREP=$FGREP
# Line 4879 | Line 5030 | else
5030    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5031   $as_echo_n "checking for non-GNU ld... " >&6; }
5032   fi
5033 < if test "${lt_cv_path_LD+set}" = set; then :
5033 > if ${lt_cv_path_LD+:} false; then :
5034    $as_echo_n "(cached) " >&6
5035   else
5036    if test -z "$LD"; then
# Line 4916 | Line 5067 | else
5067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068   $as_echo "no" >&6; }
5069   fi
5070 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5070 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5072   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5073 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5073 > if ${lt_cv_prog_gnu_ld+:} false; then :
5074    $as_echo_n "(cached) " >&6
5075   else
5076    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4946 | Line 5097 | with_gnu_ld=$lt_cv_prog_gnu_ld
5097  
5098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5099   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5100 < if test "${lt_cv_path_NM+set}" = set; then :
5100 > if ${lt_cv_path_NM+:} false; then :
5101    $as_echo_n "(cached) " >&6
5102   else
5103    if test -n "$NM"; then
# Line 4999 | Line 5150 | if test "$lt_cv_path_NM" != "no"; then
5150    NM="$lt_cv_path_NM"
5151   else
5152    # Didn't find any BSD compatible name lister, look for dumpbin.
5153 <  if test -n "$ac_tool_prefix"; then
5154 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5153 >  if test -n "$DUMPBIN"; then :
5154 >    # Let the user override the test.
5155 >  else
5156 >    if test -n "$ac_tool_prefix"; then
5157 >  for ac_prog in dumpbin "link -dump"
5158    do
5159      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5160   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162   $as_echo_n "checking for $ac_word... " >&6; }
5163 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5163 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5164    $as_echo_n "(cached) " >&6
5165   else
5166    if test -n "$DUMPBIN"; then
# Line 5018 | Line 5172 | do
5172    IFS=$as_save_IFS
5173    test -z "$as_dir" && as_dir=.
5174      for ac_exec_ext in '' $ac_executable_extensions; do
5175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178      break 2
# Line 5044 | Line 5198 | fi
5198   fi
5199   if test -z "$DUMPBIN"; then
5200    ac_ct_DUMPBIN=$DUMPBIN
5201 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5201 >  for ac_prog in dumpbin "link -dump"
5202   do
5203    # Extract the first word of "$ac_prog", so it can be a program name with args.
5204   set dummy $ac_prog; ac_word=$2
5205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206   $as_echo_n "checking for $ac_word... " >&6; }
5207 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5207 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5208    $as_echo_n "(cached) " >&6
5209   else
5210    if test -n "$ac_ct_DUMPBIN"; then
# Line 5062 | Line 5216 | do
5216    IFS=$as_save_IFS
5217    test -z "$as_dir" && as_dir=.
5218      for ac_exec_ext in '' $ac_executable_extensions; do
5219 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5221      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222      break 2
# Line 5099 | Line 5253 | esac
5253    fi
5254   fi
5255  
5256 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5257 +    *COFF*)
5258 +      DUMPBIN="$DUMPBIN -symbols"
5259 +      ;;
5260 +    *)
5261 +      DUMPBIN=:
5262 +      ;;
5263 +    esac
5264 +  fi
5265  
5266    if test "$DUMPBIN" != ":"; then
5267      NM="$DUMPBIN"
# Line 5113 | Line 5276 | test -z "$NM" && NM=nm
5276  
5277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5278   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5279 < if test "${lt_cv_nm_interface+set}" = set; then :
5279 > if ${lt_cv_nm_interface+:} false; then :
5280    $as_echo_n "(cached) " >&6
5281   else
5282    lt_cv_nm_interface="BSD nm"
5283    echo "int some_variable = 0;" > conftest.$ac_ext
5284 <  (eval echo "\"\$as_me:5121: $ac_compile\"" >&5)
5284 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5285    (eval "$ac_compile" 2>conftest.err)
5286    cat conftest.err >&5
5287 <  (eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5287 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5288    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5289    cat conftest.err >&5
5290 <  (eval echo "\"\$as_me:5127: output\"" >&5)
5290 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5291    cat conftest.out >&5
5292    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5293      lt_cv_nm_interface="MS dumpbin"
# Line 5148 | Line 5311 | fi
5311   # find the maximum length of command line arguments
5312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5313   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5314 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5314 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5315    $as_echo_n "(cached) " >&6
5316   else
5317      i=0
# Line 5181 | Line 5344 | else
5344      lt_cv_sys_max_cmd_len=8192;
5345      ;;
5346  
5347 +  mint*)
5348 +    # On MiNT this can take a long time and run out of memory.
5349 +    lt_cv_sys_max_cmd_len=8192;
5350 +    ;;
5351 +
5352    amigaos*)
5353      # On AmigaOS with pdksh, this test takes hours, literally.
5354      # So we just punt and use a minimum line length of 8192.
# Line 5206 | Line 5374 | else
5374      lt_cv_sys_max_cmd_len=196608
5375      ;;
5376  
5377 +  os2*)
5378 +    # The test takes a long time on OS/2.
5379 +    lt_cv_sys_max_cmd_len=8192
5380 +    ;;
5381 +
5382    osf*)
5383      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5384      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5245 | Line 5418 | else
5418        # If test is not a shell built-in, we'll probably end up computing a
5419        # maximum length that is only half of the actual maximum length, but
5420        # we can't tell.
5421 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5422 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5421 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5422 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5423                test $i != 17 # 1/2 MB should be enough
5424        do
5425          i=`expr $i + 1`
# Line 5288 | Line 5461 | $as_echo_n "checking whether the shell u
5461   # Try some XSI features
5462   xsi_shell=no
5463   ( _lt_dummy="a/b/c"
5464 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5465 <      = c,a/b,, \
5464 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5465 >      = c,a/b,b/c, \
5466      && eval 'test $(( 1 + 1 )) -eq 2 \
5467      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5468    && xsi_shell=yes
# Line 5338 | Line 5511 | esac
5511  
5512  
5513  
5514 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5515 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5516 + if ${lt_cv_to_host_file_cmd+:} false; then :
5517 +  $as_echo_n "(cached) " >&6
5518 + else
5519 +  case $host in
5520 +  *-*-mingw* )
5521 +    case $build in
5522 +      *-*-mingw* ) # actually msys
5523 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5524 +        ;;
5525 +      *-*-cygwin* )
5526 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5527 +        ;;
5528 +      * ) # otherwise, assume *nix
5529 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5530 +        ;;
5531 +    esac
5532 +    ;;
5533 +  *-*-cygwin* )
5534 +    case $build in
5535 +      *-*-mingw* ) # actually msys
5536 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5537 +        ;;
5538 +      *-*-cygwin* )
5539 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5540 +        ;;
5541 +      * ) # otherwise, assume *nix
5542 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5543 +        ;;
5544 +    esac
5545 +    ;;
5546 +  * ) # unhandled hosts (and "normal" native builds)
5547 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5548 +    ;;
5549 + esac
5550 +
5551 + fi
5552 +
5553 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5554 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5555 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5556 +
5557 +
5558 +
5559 +
5560 +
5561 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5562 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5563 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5564 +  $as_echo_n "(cached) " >&6
5565 + else
5566 +  #assume ordinary cross tools, or native build.
5567 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5568 + case $host in
5569 +  *-*-mingw* )
5570 +    case $build in
5571 +      *-*-mingw* ) # actually msys
5572 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5573 +        ;;
5574 +    esac
5575 +    ;;
5576 + esac
5577 +
5578 + fi
5579 +
5580 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5581 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5582 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5583 +
5584 +
5585 +
5586 +
5587 +
5588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5589   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5590 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5590 > if ${lt_cv_ld_reload_flag+:} false; then :
5591    $as_echo_n "(cached) " >&6
5592   else
5593    lt_cv_ld_reload_flag='-r'
# Line 5354 | Line 5601 | case $reload_flag in
5601   esac
5602   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5603   case $host_os in
5604 +  cygwin* | mingw* | pw32* | cegcc*)
5605 +    if test "$GCC" != yes; then
5606 +      reload_cmds=false
5607 +    fi
5608 +    ;;
5609    darwin*)
5610      if test "$GCC" = yes; then
5611        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5376 | Line 5628 | if test -n "$ac_tool_prefix"; then
5628   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630   $as_echo_n "checking for $ac_word... " >&6; }
5631 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5631 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5632    $as_echo_n "(cached) " >&6
5633   else
5634    if test -n "$OBJDUMP"; then
# Line 5388 | Line 5640 | do
5640    IFS=$as_save_IFS
5641    test -z "$as_dir" && as_dir=.
5642      for ac_exec_ext in '' $ac_executable_extensions; do
5643 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5645      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646      break 2
# Line 5416 | Line 5668 | if test -z "$ac_cv_prog_OBJDUMP"; then
5668   set dummy objdump; ac_word=$2
5669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670   $as_echo_n "checking for $ac_word... " >&6; }
5671 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5671 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5672    $as_echo_n "(cached) " >&6
5673   else
5674    if test -n "$ac_ct_OBJDUMP"; then
# Line 5428 | Line 5680 | do
5680    IFS=$as_save_IFS
5681    test -z "$as_dir" && as_dir=.
5682      for ac_exec_ext in '' $ac_executable_extensions; do
5683 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5685      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686      break 2
# Line 5475 | Line 5727 | test -z "$OBJDUMP" && OBJDUMP=objdump
5727  
5728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5729   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5730 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5730 > if ${lt_cv_deplibs_check_method+:} false; then :
5731    $as_echo_n "(cached) " >&6
5732   else
5733    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5517 | Line 5769 | mingw* | pw32*)
5769    # Base MSYS/MinGW do not provide the 'file' command needed by
5770    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5771    # unless we find 'file', for example because we are cross-compiling.
5772 <  if ( file / ) >/dev/null 2>&1; then
5772 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5773 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5774      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5775      lt_cv_file_magic_cmd='func_win32_libid'
5776    else
5777 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5777 >    # Keep this pattern in sync with the one in func_win32_libid.
5778 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5779      lt_cv_file_magic_cmd='$OBJDUMP -f'
5780    fi
5781    ;;
5782  
5783 < cegcc)
5783 > cegcc*)
5784    # use the weaker test based on 'objdump'. See mingw*.
5785    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5786    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5556 | Line 5810 | gnu*)
5810    lt_cv_deplibs_check_method=pass_all
5811    ;;
5812  
5813 + haiku*)
5814 +  lt_cv_deplibs_check_method=pass_all
5815 +  ;;
5816 +
5817   hpux10.20* | hpux11*)
5818    lt_cv_file_magic_cmd=/usr/bin/file
5819    case $host_cpu in
# Line 5564 | Line 5822 | hpux10.20* | hpux11*)
5822      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5823      ;;
5824    hppa*64*)
5825 <    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]'
5825 >    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]'
5826      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5827      ;;
5828    *)
5829 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5829 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5830      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5831      ;;
5832    esac
# Line 5589 | Line 5847 | irix5* | irix6* | nonstopux*)
5847    lt_cv_deplibs_check_method=pass_all
5848    ;;
5849  
5850 < # This must be Linux ELF.
5851 < linux* | k*bsd*-gnu)
5850 > # This must be glibc/ELF.
5851 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5852    lt_cv_deplibs_check_method=pass_all
5853    ;;
5854  
# Line 5671 | Line 5929 | esac
5929   fi
5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5931   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5932 +
5933 + file_magic_glob=
5934 + want_nocaseglob=no
5935 + if test "$build" = "$host"; then
5936 +  case $host_os in
5937 +  mingw* | pw32*)
5938 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5939 +      want_nocaseglob=yes
5940 +    else
5941 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5942 +    fi
5943 +    ;;
5944 +  esac
5945 + fi
5946 +
5947   file_magic_cmd=$lt_cv_file_magic_cmd
5948   deplibs_check_method=$lt_cv_deplibs_check_method
5949   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5686 | Line 5959 | test -z "$deplibs_check_method" && depli
5959  
5960  
5961  
5962 +
5963 +
5964 +
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972 + if test -n "$ac_tool_prefix"; then
5973 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5974 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5975 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 + $as_echo_n "checking for $ac_word... " >&6; }
5977 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5978 +  $as_echo_n "(cached) " >&6
5979 + else
5980 +  if test -n "$DLLTOOL"; then
5981 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5982 + else
5983 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 + for as_dir in $PATH
5985 + do
5986 +  IFS=$as_save_IFS
5987 +  test -z "$as_dir" && as_dir=.
5988 +    for ac_exec_ext in '' $ac_executable_extensions; do
5989 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5990 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5991 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 +    break 2
5993 +  fi
5994 + done
5995 +  done
5996 + IFS=$as_save_IFS
5997 +
5998 + fi
5999 + fi
6000 + DLLTOOL=$ac_cv_prog_DLLTOOL
6001 + if test -n "$DLLTOOL"; then
6002 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6003 + $as_echo "$DLLTOOL" >&6; }
6004 + else
6005 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006 + $as_echo "no" >&6; }
6007 + fi
6008 +
6009 +
6010 + fi
6011 + if test -z "$ac_cv_prog_DLLTOOL"; then
6012 +  ac_ct_DLLTOOL=$DLLTOOL
6013 +  # Extract the first word of "dlltool", so it can be a program name with args.
6014 + set dummy dlltool; ac_word=$2
6015 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 + $as_echo_n "checking for $ac_word... " >&6; }
6017 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6018 +  $as_echo_n "(cached) " >&6
6019 + else
6020 +  if test -n "$ac_ct_DLLTOOL"; then
6021 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6022 + else
6023 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 + for as_dir in $PATH
6025 + do
6026 +  IFS=$as_save_IFS
6027 +  test -z "$as_dir" && as_dir=.
6028 +    for ac_exec_ext in '' $ac_executable_extensions; do
6029 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6031 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 +    break 2
6033 +  fi
6034 + done
6035 +  done
6036 + IFS=$as_save_IFS
6037 +
6038 + fi
6039 + fi
6040 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6041 + if test -n "$ac_ct_DLLTOOL"; then
6042 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6043 + $as_echo "$ac_ct_DLLTOOL" >&6; }
6044 + else
6045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 + $as_echo "no" >&6; }
6047 + fi
6048 +
6049 +  if test "x$ac_ct_DLLTOOL" = x; then
6050 +    DLLTOOL="false"
6051 +  else
6052 +    case $cross_compiling:$ac_tool_warned in
6053 + yes:)
6054 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6055 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6056 + ac_tool_warned=yes ;;
6057 + esac
6058 +    DLLTOOL=$ac_ct_DLLTOOL
6059 +  fi
6060 + else
6061 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
6062 + fi
6063 +
6064 + test -z "$DLLTOOL" && DLLTOOL=dlltool
6065 +
6066 +
6067 +
6068 +
6069 +
6070 +
6071 +
6072 +
6073 +
6074 +
6075 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6076 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6077 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6078 +  $as_echo_n "(cached) " >&6
6079 + else
6080 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6081 +
6082 + case $host_os in
6083 + cygwin* | mingw* | pw32* | cegcc*)
6084 +  # two different shell functions defined in ltmain.sh
6085 +  # decide which to use based on capabilities of $DLLTOOL
6086 +  case `$DLLTOOL --help 2>&1` in
6087 +  *--identify-strict*)
6088 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6089 +    ;;
6090 +  *)
6091 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6092 +    ;;
6093 +  esac
6094 +  ;;
6095 + *)
6096 +  # fallback: assume linklib IS sharedlib
6097 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6098 +  ;;
6099 + esac
6100 +
6101 + fi
6102 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6103 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6104 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6105 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6106 +
6107 +
6108 +
6109 +
6110 +
6111 +
6112 +
6113   if test -n "$ac_tool_prefix"; then
6114 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6115 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6114 >  for ac_prog in ar
6115 >  do
6116 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6117 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119   $as_echo_n "checking for $ac_word... " >&6; }
6120 < if test "${ac_cv_prog_AR+set}" = set; then :
6120 > if ${ac_cv_prog_AR+:} false; then :
6121    $as_echo_n "(cached) " >&6
6122   else
6123    if test -n "$AR"; then
# Line 5703 | Line 6129 | do
6129    IFS=$as_save_IFS
6130    test -z "$as_dir" && as_dir=.
6131      for ac_exec_ext in '' $ac_executable_extensions; do
6132 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6133 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6132 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6134      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135      break 2
6136    fi
# Line 5724 | Line 6150 | $as_echo "no" >&6; }
6150   fi
6151  
6152  
6153 +    test -n "$AR" && break
6154 +  done
6155   fi
6156 < if test -z "$ac_cv_prog_AR"; then
6156 > if test -z "$AR"; then
6157    ac_ct_AR=$AR
6158 <  # Extract the first word of "ar", so it can be a program name with args.
6159 < set dummy ar; ac_word=$2
6158 >  for ac_prog in ar
6159 > do
6160 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6161 > set dummy $ac_prog; ac_word=$2
6162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163   $as_echo_n "checking for $ac_word... " >&6; }
6164 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6164 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6165    $as_echo_n "(cached) " >&6
6166   else
6167    if test -n "$ac_ct_AR"; then
# Line 5743 | Line 6173 | do
6173    IFS=$as_save_IFS
6174    test -z "$as_dir" && as_dir=.
6175      for ac_exec_ext in '' $ac_executable_extensions; do
6176 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6177 <    ac_cv_prog_ac_ct_AR="ar"
6176 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6177 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6178      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179      break 2
6180    fi
# Line 5763 | Line 6193 | else
6193   $as_echo "no" >&6; }
6194   fi
6195  
6196 +
6197 +  test -n "$ac_ct_AR" && break
6198 + done
6199 +
6200    if test "x$ac_ct_AR" = x; then
6201      AR="false"
6202    else
# Line 5774 | Line 6208 | ac_tool_warned=yes ;;
6208   esac
6209      AR=$ac_ct_AR
6210    fi
5777 else
5778  AR="$ac_cv_prog_AR"
6211   fi
6212  
6213 < test -z "$AR" && AR=ar
6214 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6213 > : ${AR=ar}
6214 > : ${AR_FLAGS=cru}
6215  
6216  
6217  
# Line 5791 | Line 6223 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6223  
6224  
6225  
6226 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6227 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6228 + if ${lt_cv_ar_at_file+:} false; then :
6229 +  $as_echo_n "(cached) " >&6
6230 + else
6231 +  lt_cv_ar_at_file=no
6232 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 + /* end confdefs.h.  */
6234 +
6235 + int
6236 + main ()
6237 + {
6238 +
6239 +  ;
6240 +  return 0;
6241 + }
6242 + _ACEOF
6243 + if ac_fn_c_try_compile "$LINENO"; then :
6244 +  echo conftest.$ac_objext > conftest.lst
6245 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6246 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6247 +  (eval $lt_ar_try) 2>&5
6248 +  ac_status=$?
6249 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6250 +  test $ac_status = 0; }
6251 +      if test "$ac_status" -eq 0; then
6252 +        # Ensure the archiver fails upon bogus file names.
6253 +        rm -f conftest.$ac_objext libconftest.a
6254 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6255 +  (eval $lt_ar_try) 2>&5
6256 +  ac_status=$?
6257 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6258 +  test $ac_status = 0; }
6259 +        if test "$ac_status" -ne 0; then
6260 +          lt_cv_ar_at_file=@
6261 +        fi
6262 +      fi
6263 +      rm -f conftest.* libconftest.a
6264 +
6265 + fi
6266 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6267 +
6268 + fi
6269 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6270 + $as_echo "$lt_cv_ar_at_file" >&6; }
6271 +
6272 + if test "x$lt_cv_ar_at_file" = xno; then
6273 +  archiver_list_spec=
6274 + else
6275 +  archiver_list_spec=$lt_cv_ar_at_file
6276 + fi
6277 +
6278 +
6279 +
6280 +
6281 +
6282 +
6283 +
6284   if test -n "$ac_tool_prefix"; then
6285    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6286   set dummy ${ac_tool_prefix}strip; ac_word=$2
6287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288   $as_echo_n "checking for $ac_word... " >&6; }
6289 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6289 > if ${ac_cv_prog_STRIP+:} false; then :
6290    $as_echo_n "(cached) " >&6
6291   else
6292    if test -n "$STRIP"; then
# Line 5808 | Line 6298 | do
6298    IFS=$as_save_IFS
6299    test -z "$as_dir" && as_dir=.
6300      for ac_exec_ext in '' $ac_executable_extensions; do
6301 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6301 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6303      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304      break 2
# Line 5836 | Line 6326 | if test -z "$ac_cv_prog_STRIP"; then
6326   set dummy strip; ac_word=$2
6327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328   $as_echo_n "checking for $ac_word... " >&6; }
6329 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6329 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6330    $as_echo_n "(cached) " >&6
6331   else
6332    if test -n "$ac_ct_STRIP"; then
# Line 5848 | Line 6338 | do
6338    IFS=$as_save_IFS
6339    test -z "$as_dir" && as_dir=.
6340      for ac_exec_ext in '' $ac_executable_extensions; do
6341 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342      ac_cv_prog_ac_ct_STRIP="strip"
6343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344      break 2
# Line 5895 | Line 6385 | if test -n "$ac_tool_prefix"; then
6385   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387   $as_echo_n "checking for $ac_word... " >&6; }
6388 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6388 > if ${ac_cv_prog_RANLIB+:} false; then :
6389    $as_echo_n "(cached) " >&6
6390   else
6391    if test -n "$RANLIB"; then
# Line 5907 | Line 6397 | do
6397    IFS=$as_save_IFS
6398    test -z "$as_dir" && as_dir=.
6399      for ac_exec_ext in '' $ac_executable_extensions; do
6400 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6402      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403      break 2
# Line 5935 | Line 6425 | if test -z "$ac_cv_prog_RANLIB"; then
6425   set dummy ranlib; ac_word=$2
6426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427   $as_echo_n "checking for $ac_word... " >&6; }
6428 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6428 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6429    $as_echo_n "(cached) " >&6
6430   else
6431    if test -n "$ac_ct_RANLIB"; then
# Line 5947 | Line 6437 | do
6437    IFS=$as_save_IFS
6438    test -z "$as_dir" && as_dir=.
6439      for ac_exec_ext in '' $ac_executable_extensions; do
6440 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441      ac_cv_prog_ac_ct_RANLIB="ranlib"
6442      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443      break 2
# Line 5997 | Line 6487 | old_postuninstall_cmds=
6487   if test -n "$RANLIB"; then
6488    case $host_os in
6489    openbsd*)
6490 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6490 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6491      ;;
6492    *)
6493 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6493 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6494      ;;
6495    esac
6496 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6496 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6497   fi
6498  
6499 + case $host_os in
6500 +  darwin*)
6501 +    lock_old_archive_extraction=yes ;;
6502 +  *)
6503 +    lock_old_archive_extraction=no ;;
6504 + esac
6505 +
6506 +
6507 +
6508 +
6509 +
6510 +
6511  
6512  
6513  
# Line 6052 | Line 6554 | compiler=$CC
6554   # Check for command to grab the raw symbol name followed by C symbol from nm.
6555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6556   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6557 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6557 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6558    $as_echo_n "(cached) " >&6
6559   else
6560  
# Line 6113 | Line 6615 | esac
6615   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6616  
6617   # Transform an extracted symbol line into symbol name and symbol address
6618 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6619 < 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'"
6618 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6619 > 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'"
6620  
6621   # Handle CRLF in mingw tool chain
6622   opt_cr=
# Line 6138 | Line 6640 | for ac_symprfx in "" "_"; do
6640      # which start with @ or ?.
6641      lt_cv_sys_global_symbol_pipe="$AWK '"\
6642   "     {last_section=section; section=\$ 3};"\
6643 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6644   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6645   "     \$ 0!~/External *\|/{next};"\
6646   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6150 | Line 6653 | for ac_symprfx in "" "_"; do
6653    else
6654      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6655    fi
6656 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6657  
6658    # Check to see that the pipe works correctly.
6659    pipe_works=no
# Line 6175 | Line 6679 | _LT_EOF
6679    test $ac_status = 0; }; then
6680      # Now try to grab the symbols.
6681      nlist=conftest.nm
6682 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6683 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6682 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6683 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6684    ac_status=$?
6685    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6686    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6191 | Line 6695 | _LT_EOF
6695        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6696          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6697            cat <<_LT_EOF > conftest.$ac_ext
6698 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6699 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6700 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6701 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6702 + # define LT_DLSYM_CONST
6703 + #elif defined(__osf__)
6704 + /* This system does not cope well with relocations in const data.  */
6705 + # define LT_DLSYM_CONST
6706 + #else
6707 + # define LT_DLSYM_CONST const
6708 + #endif
6709 +
6710   #ifdef __cplusplus
6711   extern "C" {
6712   #endif
# Line 6202 | Line 6718 | _LT_EOF
6718            cat <<_LT_EOF >> conftest.$ac_ext
6719  
6720   /* The mapping between symbol names and symbols.  */
6721 < const struct {
6721 > LT_DLSYM_CONST struct {
6722    const char *name;
6723    void       *address;
6724   }
# Line 6228 | Line 6744 | static const void *lt_preloaded_setup()
6744   _LT_EOF
6745            # Now try linking the two files.
6746            mv conftest.$ac_objext conftstm.$ac_objext
6747 <          lt_save_LIBS="$LIBS"
6748 <          lt_save_CFLAGS="$CFLAGS"
6747 >          lt_globsym_save_LIBS=$LIBS
6748 >          lt_globsym_save_CFLAGS=$CFLAGS
6749            LIBS="conftstm.$ac_objext"
6750            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6751            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6239 | Line 6755 | _LT_EOF
6755    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6756              pipe_works=yes
6757            fi
6758 <          LIBS="$lt_save_LIBS"
6759 <          CFLAGS="$lt_save_CFLAGS"
6758 >          LIBS=$lt_globsym_save_LIBS
6759 >          CFLAGS=$lt_globsym_save_CFLAGS
6760          else
6761            echo "cannot find nm_test_func in $nlist" >&5
6762          fi
# Line 6277 | Line 6793 | else
6793   $as_echo "ok" >&6; }
6794   fi
6795  
6796 + # Response file support.
6797 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6798 +  nm_file_list_spec='@'
6799 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6800 +  nm_file_list_spec='@'
6801 + fi
6802 +
6803 +
6804 +
6805 +
6806 +
6807 +
6808 +
6809 +
6810 +
6811 +
6812 +
6813 +
6814 +
6815  
6816  
6817  
# Line 6291 | Line 6826 | fi
6826  
6827  
6828  
6829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6830 + $as_echo_n "checking for sysroot... " >&6; }
6831  
6832 + # Check whether --with-sysroot was given.
6833 + if test "${with_sysroot+set}" = set; then :
6834 +  withval=$with_sysroot;
6835 + else
6836 +  with_sysroot=no
6837 + fi
6838 +
6839 +
6840 + lt_sysroot=
6841 + case ${with_sysroot} in #(
6842 + yes)
6843 +   if test "$GCC" = yes; then
6844 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6845 +   fi
6846 +   ;; #(
6847 + /*)
6848 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6849 +   ;; #(
6850 + no|'')
6851 +   ;; #(
6852 + *)
6853 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6854 + $as_echo "${with_sysroot}" >&6; }
6855 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6856 +   ;;
6857 + esac
6858  
6859 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6860 + $as_echo "${lt_sysroot:-no}" >&6; }
6861  
6862  
6863  
# Line 6329 | Line 6894 | ia64-*-hpux*)
6894    ;;
6895   *-*-irix6*)
6896    # Find out which ABI we are using.
6897 <  echo '#line 6332 "configure"' > conftest.$ac_ext
6897 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6898    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6899    (eval $ac_compile) 2>&5
6900    ac_status=$?
# Line 6423 | Line 6988 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6988    CFLAGS="$CFLAGS -belf"
6989    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6990   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6991 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6991 > if ${lt_cv_cc_needs_belf+:} false; then :
6992    $as_echo_n "(cached) " >&6
6993   else
6994    ac_ext=c
# Line 6464 | Line 7029 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7029      CFLAGS="$SAVE_CFLAGS"
7030    fi
7031    ;;
7032 < sparc*-*solaris*)
7032 > *-*solaris*)
7033    # Find out which ABI we are using.
7034    echo 'int i;' > conftest.$ac_ext
7035    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6475 | Line 7040 | sparc*-*solaris*)
7040      case `/usr/bin/file conftest.o` in
7041      *64-bit*)
7042        case $lt_cv_prog_gnu_ld in
7043 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7043 >      yes*)
7044 >        case $host in
7045 >        i?86-*-solaris*)
7046 >          LD="${LD-ld} -m elf_x86_64"
7047 >          ;;
7048 >        sparc*-*-solaris*)
7049 >          LD="${LD-ld} -m elf64_sparc"
7050 >          ;;
7051 >        esac
7052 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7053 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7054 >          LD="${LD-ld}_sol2"
7055 >        fi
7056 >        ;;
7057        *)
7058          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7059            LD="${LD-ld} -64"
# Line 6491 | Line 7069 | esac
7069  
7070   need_locks="$enable_libtool_lock"
7071  
7072 + if test -n "$ac_tool_prefix"; then
7073 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7074 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7075 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 + $as_echo_n "checking for $ac_word... " >&6; }
7077 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7078 +  $as_echo_n "(cached) " >&6
7079 + else
7080 +  if test -n "$MANIFEST_TOOL"; then
7081 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7082 + else
7083 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 + for as_dir in $PATH
7085 + do
7086 +  IFS=$as_save_IFS
7087 +  test -z "$as_dir" && as_dir=.
7088 +    for ac_exec_ext in '' $ac_executable_extensions; do
7089 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7091 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092 +    break 2
7093 +  fi
7094 + done
7095 +  done
7096 + IFS=$as_save_IFS
7097 +
7098 + fi
7099 + fi
7100 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7101 + if test -n "$MANIFEST_TOOL"; then
7102 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7103 + $as_echo "$MANIFEST_TOOL" >&6; }
7104 + else
7105 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 + $as_echo "no" >&6; }
7107 + fi
7108 +
7109 +
7110 + fi
7111 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7112 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7113 +  # Extract the first word of "mt", so it can be a program name with args.
7114 + set dummy mt; ac_word=$2
7115 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 + $as_echo_n "checking for $ac_word... " >&6; }
7117 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7118 +  $as_echo_n "(cached) " >&6
7119 + else
7120 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7121 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7122 + else
7123 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 + for as_dir in $PATH
7125 + do
7126 +  IFS=$as_save_IFS
7127 +  test -z "$as_dir" && as_dir=.
7128 +    for ac_exec_ext in '' $ac_executable_extensions; do
7129 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7131 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132 +    break 2
7133 +  fi
7134 + done
7135 +  done
7136 + IFS=$as_save_IFS
7137 +
7138 + fi
7139 + fi
7140 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7141 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7142 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7143 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7144 + else
7145 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 + $as_echo "no" >&6; }
7147 + fi
7148 +
7149 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7150 +    MANIFEST_TOOL=":"
7151 +  else
7152 +    case $cross_compiling:$ac_tool_warned in
7153 + yes:)
7154 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7155 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7156 + ac_tool_warned=yes ;;
7157 + esac
7158 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7159 +  fi
7160 + else
7161 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7162 + fi
7163 +
7164 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7165 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7166 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7167 + if ${lt_cv_path_mainfest_tool+:} false; then :
7168 +  $as_echo_n "(cached) " >&6
7169 + else
7170 +  lt_cv_path_mainfest_tool=no
7171 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7172 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7173 +  cat conftest.err >&5
7174 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7175 +    lt_cv_path_mainfest_tool=yes
7176 +  fi
7177 +  rm -f conftest*
7178 + fi
7179 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7180 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7181 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7182 +  MANIFEST_TOOL=:
7183 + fi
7184 +
7185 +
7186 +
7187 +
7188 +
7189  
7190    case $host_os in
7191      rhapsody* | darwin*)
# Line 6499 | Line 7194 | need_locks="$enable_libtool_lock"
7194   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196   $as_echo_n "checking for $ac_word... " >&6; }
7197 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7197 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7198    $as_echo_n "(cached) " >&6
7199   else
7200    if test -n "$DSYMUTIL"; then
# Line 6511 | Line 7206 | do
7206    IFS=$as_save_IFS
7207    test -z "$as_dir" && as_dir=.
7208      for ac_exec_ext in '' $ac_executable_extensions; do
7209 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7209 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7210      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7211      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212      break 2
# Line 6539 | Line 7234 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7234   set dummy dsymutil; ac_word=$2
7235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236   $as_echo_n "checking for $ac_word... " >&6; }
7237 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7237 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7238    $as_echo_n "(cached) " >&6
7239   else
7240    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6551 | Line 7246 | do
7246    IFS=$as_save_IFS
7247    test -z "$as_dir" && as_dir=.
7248      for ac_exec_ext in '' $ac_executable_extensions; do
7249 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7251      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252      break 2
# Line 6591 | Line 7286 | fi
7286   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7288   $as_echo_n "checking for $ac_word... " >&6; }
7289 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7289 > if ${ac_cv_prog_NMEDIT+:} false; then :
7290    $as_echo_n "(cached) " >&6
7291   else
7292    if test -n "$NMEDIT"; then
# Line 6603 | Line 7298 | do
7298    IFS=$as_save_IFS
7299    test -z "$as_dir" && as_dir=.
7300      for ac_exec_ext in '' $ac_executable_extensions; do
7301 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7301 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7303      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304      break 2
# Line 6631 | Line 7326 | if test -z "$ac_cv_prog_NMEDIT"; then
7326   set dummy nmedit; ac_word=$2
7327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328   $as_echo_n "checking for $ac_word... " >&6; }
7329 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7329 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7330    $as_echo_n "(cached) " >&6
7331   else
7332    if test -n "$ac_ct_NMEDIT"; then
# Line 6643 | Line 7338 | do
7338    IFS=$as_save_IFS
7339    test -z "$as_dir" && as_dir=.
7340      for ac_exec_ext in '' $ac_executable_extensions; do
7341 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344      break 2
# Line 6683 | Line 7378 | fi
7378   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380   $as_echo_n "checking for $ac_word... " >&6; }
7381 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7381 > if ${ac_cv_prog_LIPO+:} false; then :
7382    $as_echo_n "(cached) " >&6
7383   else
7384    if test -n "$LIPO"; then
# Line 6695 | Line 7390 | do
7390    IFS=$as_save_IFS
7391    test -z "$as_dir" && as_dir=.
7392      for ac_exec_ext in '' $ac_executable_extensions; do
7393 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7395      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396      break 2
# Line 6723 | Line 7418 | if test -z "$ac_cv_prog_LIPO"; then
7418   set dummy lipo; ac_word=$2
7419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420   $as_echo_n "checking for $ac_word... " >&6; }
7421 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7421 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7422    $as_echo_n "(cached) " >&6
7423   else
7424    if test -n "$ac_ct_LIPO"; then
# Line 6735 | Line 7430 | do
7430    IFS=$as_save_IFS
7431    test -z "$as_dir" && as_dir=.
7432      for ac_exec_ext in '' $ac_executable_extensions; do
7433 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434      ac_cv_prog_ac_ct_LIPO="lipo"
7435      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436      break 2
# Line 6775 | Line 7470 | fi
7470   set dummy ${ac_tool_prefix}otool; ac_word=$2
7471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7472   $as_echo_n "checking for $ac_word... " >&6; }
7473 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7473 > if ${ac_cv_prog_OTOOL+:} false; then :
7474    $as_echo_n "(cached) " >&6
7475   else
7476    if test -n "$OTOOL"; then
# Line 6787 | Line 7482 | do
7482    IFS=$as_save_IFS
7483    test -z "$as_dir" && as_dir=.
7484      for ac_exec_ext in '' $ac_executable_extensions; do
7485 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7486      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7487      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7488      break 2
# Line 6815 | Line 7510 | if test -z "$ac_cv_prog_OTOOL"; then
7510   set dummy otool; ac_word=$2
7511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512   $as_echo_n "checking for $ac_word... " >&6; }
7513 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7513 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7514    $as_echo_n "(cached) " >&6
7515   else
7516    if test -n "$ac_ct_OTOOL"; then
# Line 6827 | Line 7522 | do
7522    IFS=$as_save_IFS
7523    test -z "$as_dir" && as_dir=.
7524      for ac_exec_ext in '' $ac_executable_extensions; do
7525 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526      ac_cv_prog_ac_ct_OTOOL="otool"
7527      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528      break 2
# Line 6867 | Line 7562 | fi
7562   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7564   $as_echo_n "checking for $ac_word... " >&6; }
7565 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7565 > if ${ac_cv_prog_OTOOL64+:} false; then :
7566    $as_echo_n "(cached) " >&6
7567   else
7568    if test -n "$OTOOL64"; then
# Line 6879 | Line 7574 | do
7574    IFS=$as_save_IFS
7575    test -z "$as_dir" && as_dir=.
7576      for ac_exec_ext in '' $ac_executable_extensions; do
7577 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7578      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7579      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7580      break 2
# Line 6907 | Line 7602 | if test -z "$ac_cv_prog_OTOOL64"; then
7602   set dummy otool64; ac_word=$2
7603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7604   $as_echo_n "checking for $ac_word... " >&6; }
7605 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7605 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7606    $as_echo_n "(cached) " >&6
7607   else
7608    if test -n "$ac_ct_OTOOL64"; then
# Line 6919 | Line 7614 | do
7614    IFS=$as_save_IFS
7615    test -z "$as_dir" && as_dir=.
7616      for ac_exec_ext in '' $ac_executable_extensions; do
7617 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7618      ac_cv_prog_ac_ct_OTOOL64="otool64"
7619      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7620      break 2
# Line 6982 | Line 7677 | fi
7677  
7678      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7679   $as_echo_n "checking for -single_module linker flag... " >&6; }
7680 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7680 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7681    $as_echo_n "(cached) " >&6
7682   else
7683    lt_cv_apple_cc_single_mod=no
# Line 6998 | Line 7693 | else
7693          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7694            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7695          _lt_result=$?
7696 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7696 >        # If there is a non-empty error log, and "single_module"
7697 >        # appears in it, assume the flag caused a linker warning
7698 >        if test -s conftest.err && $GREP single_module conftest.err; then
7699 >          cat conftest.err >&5
7700 >        # Otherwise, if the output was created with a 0 exit code from
7701 >        # the compiler, it worked.
7702 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7703            lt_cv_apple_cc_single_mod=yes
7704          else
7705            cat conftest.err >&5
# Line 7009 | Line 7710 | else
7710   fi
7711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7712   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7713 +
7714      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7715   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7716 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7716 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7717    $as_echo_n "(cached) " >&6
7718   else
7719    lt_cv_ld_exported_symbols_list=no
# Line 7041 | Line 7743 | rm -f core conftest.err conftest.$ac_obj
7743   fi
7744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7745   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7746 +
7747 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7748 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7749 + if ${lt_cv_ld_force_load+:} false; then :
7750 +  $as_echo_n "(cached) " >&6
7751 + else
7752 +  lt_cv_ld_force_load=no
7753 +      cat > conftest.c << _LT_EOF
7754 + int forced_loaded() { return 2;}
7755 + _LT_EOF
7756 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7757 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7758 +      echo "$AR cru libconftest.a conftest.o" >&5
7759 +      $AR cru libconftest.a conftest.o 2>&5
7760 +      echo "$RANLIB libconftest.a" >&5
7761 +      $RANLIB libconftest.a 2>&5
7762 +      cat > conftest.c << _LT_EOF
7763 + int main() { return 0;}
7764 + _LT_EOF
7765 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7766 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7767 +      _lt_result=$?
7768 +      if test -s conftest.err && $GREP force_load conftest.err; then
7769 +        cat conftest.err >&5
7770 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7771 +        lt_cv_ld_force_load=yes
7772 +      else
7773 +        cat conftest.err >&5
7774 +      fi
7775 +        rm -f conftest.err libconftest.a conftest conftest.c
7776 +        rm -rf conftest.dSYM
7777 +
7778 + fi
7779 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7780 + $as_echo "$lt_cv_ld_force_load" >&6; }
7781      case $host_os in
7782      rhapsody* | darwin1.[012])
7783        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7068 | Line 7805 | $as_echo "$lt_cv_ld_exported_symbols_lis
7805      else
7806        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7807      fi
7808 <    if test "$DSYMUTIL" != ":"; then
7808 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7809        _lt_dsymutil='~$DSYMUTIL $lib || :'
7810      else
7811        _lt_dsymutil=
# Line 7088 | Line 7825 | if test -n "$CPP" && test -d "$CPP"; the
7825    CPP=
7826   fi
7827   if test -z "$CPP"; then
7828 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7828 >  if ${ac_cv_prog_CPP+:} false; then :
7829    $as_echo_n "(cached) " >&6
7830   else
7831        # Double quotes because CPP needs to be expanded
# Line 7118 | Line 7855 | else
7855    # Broken: fails on valid input.
7856   continue
7857   fi
7858 < rm -f conftest.err conftest.$ac_ext
7858 > rm -f conftest.err conftest.i conftest.$ac_ext
7859  
7860    # OK, works on sane cases.  Now check whether nonexistent headers
7861    # can be detected and how.
# Line 7134 | Line 7871 | else
7871   ac_preproc_ok=:
7872   break
7873   fi
7874 < rm -f conftest.err conftest.$ac_ext
7874 > rm -f conftest.err conftest.i conftest.$ac_ext
7875  
7876   done
7877   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7878 < rm -f conftest.err conftest.$ac_ext
7878 > rm -f conftest.i conftest.err conftest.$ac_ext
7879   if $ac_preproc_ok; then :
7880    break
7881   fi
# Line 7177 | Line 7914 | else
7914    # Broken: fails on valid input.
7915   continue
7916   fi
7917 < rm -f conftest.err conftest.$ac_ext
7917 > rm -f conftest.err conftest.i conftest.$ac_ext
7918  
7919    # OK, works on sane cases.  Now check whether nonexistent headers
7920    # can be detected and how.
# Line 7193 | Line 7930 | else
7930   ac_preproc_ok=:
7931   break
7932   fi
7933 < rm -f conftest.err conftest.$ac_ext
7933 > rm -f conftest.err conftest.i conftest.$ac_ext
7934  
7935   done
7936   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7937 < rm -f conftest.err conftest.$ac_ext
7937 > rm -f conftest.i conftest.err conftest.$ac_ext
7938   if $ac_preproc_ok; then :
7939  
7940   else
7941    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7942   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7943 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7944 < See \`config.log' for more details." "$LINENO" 5; }
7943 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7944 > See \`config.log' for more details" "$LINENO" 5; }
7945   fi
7946  
7947   ac_ext=c
# Line 7216 | Line 7953 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7953  
7954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7955   $as_echo_n "checking for ANSI C header files... " >&6; }
7956 < if test "${ac_cv_header_stdc+set}" = set; then :
7956 > if ${ac_cv_header_stdc+:} false; then :
7957    $as_echo_n "(cached) " >&6
7958   else
7959    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7333 | Line 8070 | do :
8070    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8071   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8072   "
8073 < eval as_val=\$$as_ac_Header
7337 <   if test "x$as_val" = x""yes; then :
8073 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8074    cat >>confdefs.h <<_ACEOF
8075   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076   _ACEOF
# Line 7348 | Line 8084 | for ac_header in dlfcn.h
8084   do :
8085    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8086   "
8087 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8087 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8088    cat >>confdefs.h <<_ACEOF
8089   #define HAVE_DLFCN_H 1
8090   _ACEOF
# Line 7359 | Line 8095 | done
8095  
8096  
8097  
8098 +
8099 +
8100   # Set options
8101   enable_dlopen=yes
8102   # Check whether --enable-static was given.
# Line 7432 | Line 8170 | fi
8170  
8171   # Check whether --with-pic was given.
8172   if test "${with_pic+set}" = set; then :
8173 <  withval=$with_pic; pic_mode="$withval"
8173 >  withval=$with_pic; lt_p=${PACKAGE-default}
8174 >    case $withval in
8175 >    yes|no) pic_mode=$withval ;;
8176 >    *)
8177 >      pic_mode=default
8178 >      # Look at the argument we got.  We use all the common list separators.
8179 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8180 >      for lt_pkg in $withval; do
8181 >        IFS="$lt_save_ifs"
8182 >        if test "X$lt_pkg" = "X$lt_p"; then
8183 >          pic_mode=yes
8184 >        fi
8185 >      done
8186 >      IFS="$lt_save_ifs"
8187 >      ;;
8188 >    esac
8189   else
8190    pic_mode=default
8191   fi
# Line 7509 | Line 8262 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8262  
8263  
8264  
8265 +
8266 +
8267 +
8268 +
8269 +
8270   test -z "$LN_S" && LN_S="ln -s"
8271  
8272  
# Line 7530 | Line 8288 | fi
8288  
8289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8290   $as_echo_n "checking for objdir... " >&6; }
8291 < if test "${lt_cv_objdir+set}" = set; then :
8291 > if ${lt_cv_objdir+:} false; then :
8292    $as_echo_n "(cached) " >&6
8293   else
8294    rm -f .libs 2>/dev/null
# Line 7558 | Line 8316 | _ACEOF
8316  
8317  
8318  
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
8319   case $host_os in
8320   aix3*)
8321    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7583 | Line 8328 | aix3*)
8328    ;;
8329   esac
8330  
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
8331   # Global variables:
8332   ofile=libtool
8333   can_build_shared=yes
# Line 7628 | Line 8356 | for cc_temp in $compiler""; do
8356      *) break;;
8357    esac
8358   done
8359 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8359 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8360  
8361  
8362   # Only perform the check for file, if the check method requires it
# Line 7638 | Line 8366 | file_magic*)
8366    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8367      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8368   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8369 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8369 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8370    $as_echo_n "(cached) " >&6
8371   else
8372    case $MAGIC_CMD in
# Line 7704 | Line 8432 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8432    if test -n "$ac_tool_prefix"; then
8433      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8434   $as_echo_n "checking for file... " >&6; }
8435 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8435 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8436    $as_echo_n "(cached) " >&6
8437   else
8438    case $MAGIC_CMD in
# Line 7828 | Line 8556 | _lt_linker_boilerplate=`cat conftest.err
8556   $RM -r conftest*
8557  
8558  
8559 + ## CAVEAT EMPTOR:
8560 + ## There is no encapsulation within the following macros, do not change
8561 + ## the running order or otherwise move them around unless you know exactly
8562 + ## what you are doing...
8563   if test -n "$compiler"; then
8564  
8565   lt_prog_compiler_no_builtin_flag=
8566  
8567   if test "$GCC" = yes; then
8568 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8568 >  case $cc_basename in
8569 >  nvcc*)
8570 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8571 >  *)
8572 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8573 >  esac
8574  
8575    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8576   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8577 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8577 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8578    $as_echo_n "(cached) " >&6
8579   else
8580    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7853 | Line 8590 | else
8590     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8591     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8592     -e 's:$: $lt_compiler_flag:'`
8593 <   (eval echo "\"\$as_me:7856: $lt_compile\"" >&5)
8593 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8594     (eval "$lt_compile" 2>conftest.err)
8595     ac_status=$?
8596     cat conftest.err >&5
8597 <   echo "$as_me:7860: \$? = $ac_status" >&5
8597 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598     if (exit $ac_status) && test -s "$ac_outfile"; then
8599       # The compiler can only warn and ignore the option if not recognized
8600       # So say no if there are warnings other than the usual output.
8601 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8601 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8602       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8603       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8604         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7890 | Line 8627 | fi
8627   lt_prog_compiler_pic=
8628   lt_prog_compiler_static=
8629  
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; }
8630  
8631    if test "$GCC" = yes; then
8632      lt_prog_compiler_wl='-Wl,'
# Line 7939 | Line 8674 | $as_echo_n "checking for $compiler optio
8674        lt_prog_compiler_pic='-fno-common'
8675        ;;
8676  
8677 +    haiku*)
8678 +      # PIC is the default for Haiku.
8679 +      # The "-static" flag exists, but is broken.
8680 +      lt_prog_compiler_static=
8681 +      ;;
8682 +
8683      hpux*)
8684        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8685        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7981 | Line 8722 | $as_echo_n "checking for $compiler optio
8722        lt_prog_compiler_pic='-fPIC'
8723        ;;
8724      esac
8725 +
8726 +    case $cc_basename in
8727 +    nvcc*) # Cuda Compiler Driver 2.2
8728 +      lt_prog_compiler_wl='-Xlinker '
8729 +      if test -n "$lt_prog_compiler_pic"; then
8730 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8731 +      fi
8732 +      ;;
8733 +    esac
8734    else
8735      # PORTME Check for flag to pass linker flags through the system compiler.
8736      case $host_os in
# Line 8022 | Line 8772 | $as_echo_n "checking for $compiler optio
8772        lt_prog_compiler_static='-non_shared'
8773        ;;
8774  
8775 <    linux* | k*bsd*-gnu)
8775 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8776        case $cc_basename in
8777        # old Intel for x86_64 which still supported -KPIC.
8778        ecc*)
# Line 8043 | Line 8793 | $as_echo_n "checking for $compiler optio
8793          lt_prog_compiler_pic='--shared'
8794          lt_prog_compiler_static='--static'
8795          ;;
8796 <      pgcc* | pgf77* | pgf90* | pgf95*)
8796 >      nagfor*)
8797 >        # NAG Fortran compiler
8798 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8799 >        lt_prog_compiler_pic='-PIC'
8800 >        lt_prog_compiler_static='-Bstatic'
8801 >        ;;
8802 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8803          # Portland Group compilers (*not* the Pentium gcc compiler,
8804          # which looks to be a dead project)
8805          lt_prog_compiler_wl='-Wl,'
# Line 8055 | Line 8811 | $as_echo_n "checking for $compiler optio
8811          # All Alpha code is PIC.
8812          lt_prog_compiler_static='-non_shared'
8813          ;;
8814 <      xl*)
8815 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8814 >      xl* | bgxl* | bgf* | mpixl*)
8815 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8816          lt_prog_compiler_wl='-Wl,'
8817          lt_prog_compiler_pic='-qpic'
8818          lt_prog_compiler_static='-qstaticlink'
8819          ;;
8820        *)
8821          case `$CC -V 2>&1 | sed 5q` in
8822 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8823 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8824 +          lt_prog_compiler_pic='-KPIC'
8825 +          lt_prog_compiler_static='-Bstatic'
8826 +          lt_prog_compiler_wl=''
8827 +          ;;
8828 +        *Sun\ F* | *Sun*Fortran*)
8829 +          lt_prog_compiler_pic='-KPIC'
8830 +          lt_prog_compiler_static='-Bstatic'
8831 +          lt_prog_compiler_wl='-Qoption ld '
8832 +          ;;
8833          *Sun\ C*)
8834            # Sun C 5.9
8835            lt_prog_compiler_pic='-KPIC'
8836            lt_prog_compiler_static='-Bstatic'
8837            lt_prog_compiler_wl='-Wl,'
8838            ;;
8839 <        *Sun\ F*)
8840 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8841 <          lt_prog_compiler_pic='-KPIC'
8839 >        *Intel*\ [CF]*Compiler*)
8840 >          lt_prog_compiler_wl='-Wl,'
8841 >          lt_prog_compiler_pic='-fPIC'
8842 >          lt_prog_compiler_static='-static'
8843 >          ;;
8844 >        *Portland\ Group*)
8845 >          lt_prog_compiler_wl='-Wl,'
8846 >          lt_prog_compiler_pic='-fpic'
8847            lt_prog_compiler_static='-Bstatic'
8076          lt_prog_compiler_wl=''
8848            ;;
8849          esac
8850          ;;
# Line 8105 | Line 8876 | $as_echo_n "checking for $compiler optio
8876        lt_prog_compiler_pic='-KPIC'
8877        lt_prog_compiler_static='-Bstatic'
8878        case $cc_basename in
8879 <      f77* | f90* | f95*)
8879 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8880          lt_prog_compiler_wl='-Qoption ld ';;
8881        *)
8882          lt_prog_compiler_wl='-Wl,';;
# Line 8162 | Line 8933 | case $host_os in
8933      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8934      ;;
8935   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
8936  
8937 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8938 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8939 + if ${lt_cv_prog_compiler_pic+:} false; then :
8940 +  $as_echo_n "(cached) " >&6
8941 + else
8942 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8943 + fi
8944 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8945 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8946 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8947  
8948   #
8949   # Check to make sure the PIC flag actually works.
# Line 8176 | Line 8951 | $as_echo "$lt_prog_compiler_pic" >&6; }
8951   if test -n "$lt_prog_compiler_pic"; then
8952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8953   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8954 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8954 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8955    $as_echo_n "(cached) " >&6
8956   else
8957    lt_cv_prog_compiler_pic_works=no
# Line 8192 | Line 8967 | else
8967     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8968     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8969     -e 's:$: $lt_compiler_flag:'`
8970 <   (eval echo "\"\$as_me:8195: $lt_compile\"" >&5)
8970 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8971     (eval "$lt_compile" 2>conftest.err)
8972     ac_status=$?
8973     cat conftest.err >&5
8974 <   echo "$as_me:8199: \$? = $ac_status" >&5
8974 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975     if (exit $ac_status) && test -s "$ac_outfile"; then
8976       # The compiler can only warn and ignore the option if not recognized
8977       # So say no if there are warnings other than the usual output.
8978 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8978 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8979       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8980       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8981         lt_cv_prog_compiler_pic_works=yes
# Line 8229 | Line 9004 | fi
9004  
9005  
9006  
9007 +
9008 +
9009 +
9010 +
9011 +
9012   #
9013   # Check to make sure the static flag actually works.
9014   #
9015   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9017   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9018 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9018 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9019    $as_echo_n "(cached) " >&6
9020   else
9021    lt_cv_prog_compiler_static_works=no
# Line 8248 | Line 9028 | else
9028       if test -s conftest.err; then
9029         # Append any errors to the config.log.
9030         cat conftest.err 1>&5
9031 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9031 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9032         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9033         if diff conftest.exp conftest.er2 >/dev/null; then
9034           lt_cv_prog_compiler_static_works=yes
# Line 8278 | Line 9058 | fi
9058  
9059    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9060   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9061 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9061 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9062    $as_echo_n "(cached) " >&6
9063   else
9064    lt_cv_prog_compiler_c_o=no
# Line 8297 | Line 9077 | else
9077     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9078     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9079     -e 's:$: $lt_compiler_flag:'`
9080 <   (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
9080 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9081     (eval "$lt_compile" 2>out/conftest.err)
9082     ac_status=$?
9083     cat out/conftest.err >&5
9084 <   echo "$as_me:8304: \$? = $ac_status" >&5
9084 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9086     then
9087       # The compiler can only warn and ignore the option if not recognized
9088       # So say no if there are warnings
9089 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9089 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9090       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9091       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9092         lt_cv_prog_compiler_c_o=yes
# Line 8333 | Line 9113 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9113  
9114    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9115   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9116 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9116 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9117    $as_echo_n "(cached) " >&6
9118   else
9119    lt_cv_prog_compiler_c_o=no
# Line 8352 | Line 9132 | else
9132     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9133     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9134     -e 's:$: $lt_compiler_flag:'`
9135 <   (eval echo "\"\$as_me:8355: $lt_compile\"" >&5)
9135 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9136     (eval "$lt_compile" 2>out/conftest.err)
9137     ac_status=$?
9138     cat out/conftest.err >&5
9139 <   echo "$as_me:8359: \$? = $ac_status" >&5
9139 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9141     then
9142       # The compiler can only warn and ignore the option if not recognized
9143       # So say no if there are warnings
9144 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9144 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9145       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9146       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9147         lt_cv_prog_compiler_c_o=yes
# Line 8427 | Line 9207 | $as_echo_n "checking whether the $compil
9207    hardcode_direct=no
9208    hardcode_direct_absolute=no
9209    hardcode_libdir_flag_spec=
8430  hardcode_libdir_flag_spec_ld=
9210    hardcode_libdir_separator=
9211    hardcode_minus_L=no
9212    hardcode_shlibpath_var=unsupported
# Line 8474 | Line 9253 | $as_echo_n "checking whether the $compil
9253    esac
9254  
9255    ld_shlibs=yes
9256 +
9257 +  # On some targets, GNU ld is compatible enough with the native linker
9258 +  # that we're better off using the native interface for both.
9259 +  lt_use_gnu_ld_interface=no
9260    if test "$with_gnu_ld" = yes; then
9261 +    case $host_os in
9262 +      aix*)
9263 +        # The AIX port of GNU ld has always aspired to compatibility
9264 +        # with the native linker.  However, as the warning in the GNU ld
9265 +        # block says, versions before 2.19.5* couldn't really create working
9266 +        # shared libraries, regardless of the interface used.
9267 +        case `$LD -v 2>&1` in
9268 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9269 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9270 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9271 +          *)
9272 +            lt_use_gnu_ld_interface=yes
9273 +            ;;
9274 +        esac
9275 +        ;;
9276 +      *)
9277 +        lt_use_gnu_ld_interface=yes
9278 +        ;;
9279 +    esac
9280 +  fi
9281 +
9282 +  if test "$lt_use_gnu_ld_interface" = yes; then
9283      # If archive_cmds runs LD, not CC, wlarc should be empty
9284      wlarc='${wl}'
9285  
# Line 8492 | Line 9297 | $as_echo_n "checking whether the $compil
9297      fi
9298      supports_anon_versioning=no
9299      case `$LD -v 2>&1` in
9300 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9301        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9302        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9303        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8507 | Line 9313 | $as_echo_n "checking whether the $compil
9313          ld_shlibs=no
9314          cat <<_LT_EOF 1>&2
9315  
9316 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9316 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9317   *** to be unable to reliably create shared libraries on AIX.
9318   *** Therefore, libtool is disabling shared libraries support.  If you
9319 < *** really care for shared libraries, you may want to modify your PATH
9320 < *** so that a non-GNU linker is found, and then restart.
9319 > *** really care for shared libraries, you may want to install binutils
9320 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9321 > *** You will then need to restart the configuration process.
9322  
9323   _LT_EOF
9324        fi
# Line 8547 | Line 9354 | _LT_EOF
9354        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9355        # as there is no search path for DLLs.
9356        hardcode_libdir_flag_spec='-L$libdir'
9357 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9358        allow_undefined_flag=unsupported
9359        always_export_symbols=no
9360        enable_shared_with_static_runtimes=yes
9361 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9361 >      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'
9362 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9363  
9364        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9365          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 9377 | _LT_EOF
9377        fi
9378        ;;
9379  
9380 +    haiku*)
9381 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 +      link_all_deplibs=yes
9383 +      ;;
9384 +
9385      interix[3-9]*)
9386        hardcode_direct=no
9387        hardcode_shlibpath_var=no
# Line 8583 | Line 9397 | _LT_EOF
9397        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'
9398        ;;
9399  
9400 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9400 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9401        tmp_diet=no
9402        if test "$host_os" = linux-dietlibc; then
9403          case $cc_basename in
# Line 8593 | Line 9407 | _LT_EOF
9407        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9408           && test "$tmp_diet" = no
9409        then
9410 <        tmp_addflag=
9410 >        tmp_addflag=' $pic_flag'
9411          tmp_sharedflag='-shared'
9412          case $cc_basename,$host_cpu in
9413          pgcc*)                          # Portland Group C compiler
9414 <          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'
9414 >          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'
9415            tmp_addflag=' $pic_flag'
9416            ;;
9417 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9418 <          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'
9417 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9418 >                                        # Portland Group f77 and f90 compilers
9419 >          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'
9420            tmp_addflag=' $pic_flag -Mnomain' ;;
9421          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9422            tmp_addflag=' -i_dynamic' ;;
# Line 8612 | Line 9427 | _LT_EOF
9427          lf95*)                          # Lahey Fortran 8.1
9428            whole_archive_flag_spec=
9429            tmp_sharedflag='--shared' ;;
9430 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9430 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9431            tmp_sharedflag='-qmkshrobj'
9432            tmp_addflag= ;;
9433 +        nvcc*)  # Cuda Compiler Driver 2.2
9434 +          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'
9435 +          compiler_needs_object=yes
9436 +          ;;
9437          esac
9438          case `$CC -V 2>&1 | sed 5q` in
9439          *Sun\ C*)                       # Sun C 5.9
9440 <          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'
9440 >          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'
9441            compiler_needs_object=yes
9442            tmp_sharedflag='-G' ;;
9443          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8634 | Line 9453 | _LT_EOF
9453          fi
9454  
9455          case $cc_basename in
9456 <        xlf*)
9456 >        xlf* | bgf* | bgxlf* | mpixlf*)
9457            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9458            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9459 <          hardcode_libdir_flag_spec=
9460 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8642 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9459 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9460 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9461            if test "x$supports_anon_versioning" = xyes; then
9462              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9463                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9464                echo "local: *; };" >> $output_objdir/$libname.ver~
9465 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9465 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9466            fi
9467            ;;
9468          esac
# Line 8658 | Line 9476 | _LT_EOF
9476          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9477          wlarc=
9478        else
9479 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9480 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9479 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9480 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9481        fi
9482        ;;
9483  
# Line 8677 | Line 9495 | _LT_EOF
9495  
9496   _LT_EOF
9497        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500        else
9501          ld_shlibs=no
9502        fi
# Line 8724 | Line 9542 | _LT_EOF
9542  
9543      *)
9544        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9545 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9545 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9547        else
9548          ld_shlibs=no
9549        fi
# Line 8765 | Line 9583 | _LT_EOF
9583        else
9584          # If we're using GNU nm, then we don't want the "-C" option.
9585          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9586 +        # Also, AIX nm treats weak defined symbols like other global
9587 +        # defined symbols, whereas GNU nm marks them as "W".
9588          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9589 <          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'
9589 >          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'
9590          else
9591            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'
9592          fi
# Line 8828 | Line 9648 | _LT_EOF
9648          if test "$aix_use_runtimelinking" = yes; then
9649            shared_flag="$shared_flag "'${wl}-G'
9650          fi
8831        link_all_deplibs=no
9651        else
9652          # not using gcc
9653          if test "$host_cpu" = ia64; then
# Line 8854 | Line 9673 | _LT_EOF
9673          allow_undefined_flag='-berok'
9674          # Determine the default libpath from the value encoded in an
9675          # empty executable.
9676 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 >        if test "${lt_cv_aix_libpath+set}" = set; then
9677 >  aix_libpath=$lt_cv_aix_libpath
9678 > else
9679 >  if ${lt_cv_aix_libpath_+:} false; then :
9680 >  $as_echo_n "(cached) " >&6
9681 > else
9682 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683   /* end confdefs.h.  */
9684  
9685   int
# Line 8867 | Line 9692 | main ()
9692   _ACEOF
9693   if ac_fn_c_try_link "$LINENO"; then :
9694  
9695 < lt_aix_libpath_sed='
9696 <    /Import File Strings/,/^$/ {
9697 <        /^0/ {
9698 <            s/^0  *\(.*\)$/\1/
9699 <            p
9700 <        }
9701 <    }'
9702 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9703 < # Check for a 64-bit object if we didn't find anything.
9704 < if test -z "$aix_libpath"; then
9705 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9706 < fi
9695 >  lt_aix_libpath_sed='
9696 >      /Import File Strings/,/^$/ {
9697 >          /^0/ {
9698 >              s/^0  *\([^ ]*\) *$/\1/
9699 >              p
9700 >          }
9701 >      }'
9702 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9703 >  # Check for a 64-bit object if we didn't find anything.
9704 >  if test -z "$lt_cv_aix_libpath_"; then
9705 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9706 >  fi
9707   fi
9708   rm -f core conftest.err conftest.$ac_objext \
9709      conftest$ac_exeext conftest.$ac_ext
9710 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9710 >  if test -z "$lt_cv_aix_libpath_"; then
9711 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9712 >  fi
9713 >
9714 > fi
9715 >
9716 >  aix_libpath=$lt_cv_aix_libpath_
9717 > fi
9718  
9719          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9720 <        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"
9720 >        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"
9721        else
9722          if test "$host_cpu" = ia64; then
9723            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8894 | Line 9726 | if test -z "$aix_libpath"; then aix_libp
9726          else
9727           # Determine the default libpath from the value encoded in an
9728           # empty executable.
9729 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 >         if test "${lt_cv_aix_libpath+set}" = set; then
9730 >  aix_libpath=$lt_cv_aix_libpath
9731 > else
9732 >  if ${lt_cv_aix_libpath_+:} false; then :
9733 >  $as_echo_n "(cached) " >&6
9734 > else
9735 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736   /* end confdefs.h.  */
9737  
9738   int
# Line 8907 | Line 9745 | main ()
9745   _ACEOF
9746   if ac_fn_c_try_link "$LINENO"; then :
9747  
9748 < lt_aix_libpath_sed='
9749 <    /Import File Strings/,/^$/ {
9750 <        /^0/ {
9751 <            s/^0  *\(.*\)$/\1/
9752 <            p
9753 <        }
9754 <    }'
9755 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9756 < # Check for a 64-bit object if we didn't find anything.
9757 < if test -z "$aix_libpath"; then
9758 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9759 < fi
9748 >  lt_aix_libpath_sed='
9749 >      /Import File Strings/,/^$/ {
9750 >          /^0/ {
9751 >              s/^0  *\([^ ]*\) *$/\1/
9752 >              p
9753 >          }
9754 >      }'
9755 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9756 >  # Check for a 64-bit object if we didn't find anything.
9757 >  if test -z "$lt_cv_aix_libpath_"; then
9758 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9759 >  fi
9760   fi
9761   rm -f core conftest.err conftest.$ac_objext \
9762      conftest$ac_exeext conftest.$ac_ext
9763 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9763 >  if test -z "$lt_cv_aix_libpath_"; then
9764 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9765 >  fi
9766 >
9767 > fi
9768 >
9769 >  aix_libpath=$lt_cv_aix_libpath_
9770 > fi
9771  
9772           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9773            # Warning - without using the other run time loading flags,
9774            # -berok will link without error, but may produce a broken library.
9775            no_undefined_flag=' ${wl}-bernotok'
9776            allow_undefined_flag=' ${wl}-berok'
9777 <          # Exported symbols can be pulled into shared objects from archives
9778 <          whole_archive_flag_spec='$convenience'
9777 >          if test "$with_gnu_ld" = yes; then
9778 >            # We only use this code for GNU lds that support --whole-archive.
9779 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9780 >          else
9781 >            # Exported symbols can be pulled into shared objects from archives
9782 >            whole_archive_flag_spec='$convenience'
9783 >          fi
9784            archive_cmds_need_lc=yes
9785            # This is similar to how AIX traditionally builds its shared libraries.
9786            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 9812 | if test -z "$aix_libpath"; then aix_libp
9812        # Microsoft Visual C++.
9813        # hardcode_libdir_flag_spec is actually meaningless, as there is
9814        # no search path for DLLs.
9815 <      hardcode_libdir_flag_spec=' '
9816 <      allow_undefined_flag=unsupported
9817 <      # Tell ltmain to make .lib files, not .a files.
9818 <      libext=lib
9819 <      # Tell ltmain to make .dll files, not .so files.
9820 <      shrext_cmds=".dll"
9821 <      # FIXME: Setting linknames here is a bad hack.
9822 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9823 <      # The linker will automatically build a .lib file if we build a DLL.
9824 <      old_archive_from_new_cmds='true'
9825 <      # FIXME: Should let the user specify the lib program.
9826 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9827 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9828 <      enable_shared_with_static_runtimes=yes
9815 >      case $cc_basename in
9816 >      cl*)
9817 >        # Native MSVC
9818 >        hardcode_libdir_flag_spec=' '
9819 >        allow_undefined_flag=unsupported
9820 >        always_export_symbols=yes
9821 >        file_list_spec='@'
9822 >        # Tell ltmain to make .lib files, not .a files.
9823 >        libext=lib
9824 >        # Tell ltmain to make .dll files, not .so files.
9825 >        shrext_cmds=".dll"
9826 >        # FIXME: Setting linknames here is a bad hack.
9827 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9828 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9829 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9830 >          else
9831 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9832 >          fi~
9833 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9834 >          linknames='
9835 >        # The linker will not automatically build a static lib if we build a DLL.
9836 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9837 >        enable_shared_with_static_runtimes=yes
9838 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9839 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9840 >        # Don't use ranlib
9841 >        old_postinstall_cmds='chmod 644 $oldlib'
9842 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9843 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9844 >          case $lt_outputfile in
9845 >            *.exe|*.EXE) ;;
9846 >            *)
9847 >              lt_outputfile="$lt_outputfile.exe"
9848 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9849 >              ;;
9850 >          esac~
9851 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9852 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9853 >            $RM "$lt_outputfile.manifest";
9854 >          fi'
9855 >        ;;
9856 >      *)
9857 >        # Assume MSVC wrapper
9858 >        hardcode_libdir_flag_spec=' '
9859 >        allow_undefined_flag=unsupported
9860 >        # Tell ltmain to make .lib files, not .a files.
9861 >        libext=lib
9862 >        # Tell ltmain to make .dll files, not .so files.
9863 >        shrext_cmds=".dll"
9864 >        # FIXME: Setting linknames here is a bad hack.
9865 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9866 >        # The linker will automatically build a .lib file if we build a DLL.
9867 >        old_archive_from_new_cmds='true'
9868 >        # FIXME: Should let the user specify the lib program.
9869 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9870 >        enable_shared_with_static_runtimes=yes
9871 >        ;;
9872 >      esac
9873        ;;
9874  
9875      darwin* | rhapsody*)
# Line 8985 | Line 9879 | if test -z "$aix_libpath"; then aix_libp
9879    hardcode_direct=no
9880    hardcode_automatic=yes
9881    hardcode_shlibpath_var=unsupported
9882 <  whole_archive_flag_spec=''
9882 >  if test "$lt_cv_ld_force_load" = "yes"; then
9883 >    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\"`'
9884 >
9885 >  else
9886 >    whole_archive_flag_spec=''
9887 >  fi
9888    link_all_deplibs=yes
9889    allow_undefined_flag="$_lt_dar_allow_undefined"
9890    case $cc_basename in
# Line 8993 | Line 9892 | if test -z "$aix_libpath"; then aix_libp
9892       *) _lt_dar_can_shared=$GCC ;;
9893    esac
9894    if test "$_lt_dar_can_shared" = "yes"; then
9895 <    output_verbose_link_cmd=echo
9895 >    output_verbose_link_cmd=func_echo_all
9896      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9897      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9898      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 9910 | if test -z "$aix_libpath"; then aix_libp
9910        hardcode_shlibpath_var=no
9911        ;;
9912  
9014    freebsd1*)
9015      ld_shlibs=no
9016      ;;
9017
9913      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9914      # support.  Future versions do this automatically, but an explicit c++rt0.o
9915      # does not break anything, and helps significantly (at the cost of a little
# Line 9027 | Line 9922 | if test -z "$aix_libpath"; then aix_libp
9922        ;;
9923  
9924      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9925 <    freebsd2*)
9925 >    freebsd2.*)
9926        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9927        hardcode_direct=yes
9928        hardcode_minus_L=yes
# Line 9036 | Line 9931 | if test -z "$aix_libpath"; then aix_libp
9931  
9932      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9933      freebsd* | dragonfly*)
9934 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9934 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9935        hardcode_libdir_flag_spec='-R$libdir'
9936        hardcode_direct=yes
9937        hardcode_shlibpath_var=no
# Line 9044 | Line 9939 | if test -z "$aix_libpath"; then aix_libp
9939  
9940      hpux9*)
9941        if test "$GCC" = yes; then
9942 <        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'
9942 >        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'
9943        else
9944          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'
9945        fi
# Line 9059 | Line 9954 | if test -z "$aix_libpath"; then aix_libp
9954        ;;
9955  
9956      hpux10*)
9957 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9958 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9957 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9958 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9959        else
9960          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9961        fi
9962        if test "$with_gnu_ld" = no; then
9963          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9069        hardcode_libdir_flag_spec_ld='+b $libdir'
9964          hardcode_libdir_separator=:
9965          hardcode_direct=yes
9966          hardcode_direct_absolute=yes
# Line 9078 | Line 9972 | if test -z "$aix_libpath"; then aix_libp
9972        ;;
9973  
9974      hpux11*)
9975 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9975 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9976          case $host_cpu in
9977          hppa*64*)
9978            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9979            ;;
9980          ia64*)
9981 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9981 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9982            ;;
9983          *)
9984 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9984 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9985            ;;
9986          esac
9987        else
# Line 9099 | Line 9993 | if test -z "$aix_libpath"; then aix_libp
9993            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9994            ;;
9995          *)
9996 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9996 >
9997 >          # Older versions of the 11.00 compiler do not understand -b yet
9998 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9999 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10000 > $as_echo_n "checking if $CC understands -b... " >&6; }
10001 > if ${lt_cv_prog_compiler__b+:} false; then :
10002 >  $as_echo_n "(cached) " >&6
10003 > else
10004 >  lt_cv_prog_compiler__b=no
10005 >   save_LDFLAGS="$LDFLAGS"
10006 >   LDFLAGS="$LDFLAGS -b"
10007 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10008 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10009 >     # The linker can only warn and ignore the option if not recognized
10010 >     # So say no if there are warnings
10011 >     if test -s conftest.err; then
10012 >       # Append any errors to the config.log.
10013 >       cat conftest.err 1>&5
10014 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10015 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10016 >       if diff conftest.exp conftest.er2 >/dev/null; then
10017 >         lt_cv_prog_compiler__b=yes
10018 >       fi
10019 >     else
10020 >       lt_cv_prog_compiler__b=yes
10021 >     fi
10022 >   fi
10023 >   $RM -r conftest*
10024 >   LDFLAGS="$save_LDFLAGS"
10025 >
10026 > fi
10027 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10028 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10029 >
10030 > if test x"$lt_cv_prog_compiler__b" = xyes; then
10031 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10032 > else
10033 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10034 > fi
10035 >
10036            ;;
10037          esac
10038        fi
# Line 9127 | Line 10060 | if test -z "$aix_libpath"; then aix_libp
10060  
10061      irix5* | irix6* | nonstopux*)
10062        if test "$GCC" = yes; then
10063 <        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'
10063 >        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'
10064          # Try to use the -exported_symbol ld option, if it does not
10065          # work, assume that -exports_file does not work either and
10066          # implicitly export all symbols.
10067 <        save_LDFLAGS="$LDFLAGS"
10068 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10069 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 >        # This should be the same for all languages, so no per-tag cache variable.
10068 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10069 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10070 > if ${lt_cv_irix_exported_symbol+:} false; then :
10071 >  $as_echo_n "(cached) " >&6
10072 > else
10073 >  save_LDFLAGS="$LDFLAGS"
10074 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10075 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076   /* end confdefs.h.  */
10077 < int foo(void) {}
10077 > int foo (void) { return 0; }
10078   _ACEOF
10079   if ac_fn_c_try_link "$LINENO"; then :
10080 <  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'
10081 <
10080 >  lt_cv_irix_exported_symbol=yes
10081 > else
10082 >  lt_cv_irix_exported_symbol=no
10083   fi
10084   rm -f core conftest.err conftest.$ac_objext \
10085      conftest$ac_exeext conftest.$ac_ext
10086 <        LDFLAGS="$save_LDFLAGS"
10086 >           LDFLAGS="$save_LDFLAGS"
10087 > fi
10088 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10089 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10090 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10091 >          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'
10092 >        fi
10093        else
10094 <        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'
10095 <        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'
10094 >        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'
10095 >        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'
10096        fi
10097        archive_cmds_need_lc='no'
10098        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9208 | Line 10154 | rm -f core conftest.err conftest.$ac_obj
10154        hardcode_libdir_flag_spec='-L$libdir'
10155        hardcode_minus_L=yes
10156        allow_undefined_flag=unsupported
10157 <      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'
10157 >      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'
10158        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10159        ;;
10160  
10161      osf3*)
10162        if test "$GCC" = yes; then
10163          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10164 <        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'
10164 >        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'
10165        else
10166          allow_undefined_flag=' -expect_unresolved \*'
10167 <        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'
10167 >        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'
10168        fi
10169        archive_cmds_need_lc='no'
10170        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9228 | Line 10174 | rm -f core conftest.err conftest.$ac_obj
10174      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10175        if test "$GCC" = yes; then
10176          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10177 <        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'
10177 >        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'
10178          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10179        else
10180          allow_undefined_flag=' -expect_unresolved \*'
10181 <        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'
10181 >        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'
10182          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~
10183 <        $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'
10183 >        $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'
10184  
10185          # Both c and cxx compiler support -rpath directly
10186          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9247 | Line 10193 | rm -f core conftest.err conftest.$ac_obj
10193        no_undefined_flag=' -z defs'
10194        if test "$GCC" = yes; then
10195          wlarc='${wl}'
10196 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10196 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10197          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10198 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10198 >          $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'
10199        else
10200          case `$CC -V 2>&1` in
10201          *"Compilers 5.0"*)
# Line 9437 | Line 10383 | x|xyes)
10383        # to ld, don't add -lc before -lgcc.
10384        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10385   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10386 <      $RM conftest*
10387 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10386 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10387 >  $as_echo_n "(cached) " >&6
10388 > else
10389 >  $RM conftest*
10390 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10391  
10392 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10392 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10393    (eval $ac_compile) 2>&5
10394    ac_status=$?
10395    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10396    test $ac_status = 0; } 2>conftest.err; then
10397 <        soname=conftest
10398 <        lib=conftest
10399 <        libobjs=conftest.$ac_objext
10400 <        deplibs=
10401 <        wl=$lt_prog_compiler_wl
10402 <        pic_flag=$lt_prog_compiler_pic
10403 <        compiler_flags=-v
10404 <        linker_flags=-v
10405 <        verstring=
10406 <        output_objdir=.
10407 <        libname=conftest
10408 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10409 <        allow_undefined_flag=
10410 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10397 >          soname=conftest
10398 >          lib=conftest
10399 >          libobjs=conftest.$ac_objext
10400 >          deplibs=
10401 >          wl=$lt_prog_compiler_wl
10402 >          pic_flag=$lt_prog_compiler_pic
10403 >          compiler_flags=-v
10404 >          linker_flags=-v
10405 >          verstring=
10406 >          output_objdir=.
10407 >          libname=conftest
10408 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10409 >          allow_undefined_flag=
10410 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10411    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10412    ac_status=$?
10413    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10414    test $ac_status = 0; }
10415 <        then
10416 <          archive_cmds_need_lc=no
10417 <        else
10418 <          archive_cmds_need_lc=yes
10419 <        fi
10420 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10421 <      else
10422 <        cat conftest.err 1>&5
10423 <      fi
10424 <      $RM conftest*
10425 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10426 < $as_echo "$archive_cmds_need_lc" >&6; }
10415 >          then
10416 >            lt_cv_archive_cmds_need_lc=no
10417 >          else
10418 >            lt_cv_archive_cmds_need_lc=yes
10419 >          fi
10420 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10421 >        else
10422 >          cat conftest.err 1>&5
10423 >        fi
10424 >        $RM conftest*
10425 >
10426 > fi
10427 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10428 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10429 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10430        ;;
10431      esac
10432    fi
# Line 9632 | Line 10584 | esac
10584  
10585  
10586  
9635
9636
9637
9638
9639
10587    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10588   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10589  
# Line 9645 | Line 10592 | if test "$GCC" = yes; then
10592      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10593      *) lt_awk_arg="/^libraries:/" ;;
10594    esac
10595 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10596 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10595 >  case $host_os in
10596 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10597 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10598 >  esac
10599 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10600 >  case $lt_search_path_spec in
10601 >  *\;*)
10602      # if the path contains ";" then we assume it to be the separator
10603      # otherwise default to the standard path separator (i.e. ":") - it is
10604      # assumed that no part of a normal pathname contains ";" but that should
10605      # okay in the real world where ";" in dirpaths is itself problematic.
10606 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10607 <  else
10608 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10609 <  fi
10606 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10607 >    ;;
10608 >  *)
10609 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10610 >    ;;
10611 >  esac
10612    # Ok, now we have the path, separated by spaces, we can step through it
10613    # and add multilib dir if necessary.
10614    lt_tmp_lt_search_path_spec=
# Line 9667 | Line 10621 | if test "$GCC" = yes; then
10621          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10622      fi
10623    done
10624 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10624 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10625   BEGIN {RS=" "; FS="/|\n";} {
10626    lt_foo="";
10627    lt_count=0;
# Line 9687 | Line 10641 | BEGIN {RS=" "; FS="/|\n";} {
10641    if (lt_foo != "") { lt_freq[lt_foo]++; }
10642    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10643   }'`
10644 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10644 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10645 >  # for these hosts.
10646 >  case $host_os in
10647 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10648 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10649 >  esac
10650 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10651   else
10652    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10653   fi
# Line 9713 | Line 10673 | need_version=unknown
10673  
10674   case $host_os in
10675   aix3*)
10676 <  version_type=linux
10676 >  version_type=linux # correct to gnu/linux during the next big refactor
10677    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10678    shlibpath_var=LIBPATH
10679  
# Line 9722 | Line 10682 | aix3*)
10682    ;;
10683  
10684   aix[4-9]*)
10685 <  version_type=linux
10685 >  version_type=linux # correct to gnu/linux during the next big refactor
10686    need_lib_prefix=no
10687    need_version=no
10688    hardcode_into_libs=yes
# Line 9775 | Line 10735 | amigaos*)
10735    m68k)
10736      library_names_spec='$libname.ixlibrary $libname.a'
10737      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10738 <    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'
10738 >    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'
10739      ;;
10740    esac
10741    ;;
# Line 9787 | Line 10747 | beos*)
10747    ;;
10748  
10749   bsdi[45]*)
10750 <  version_type=linux
10750 >  version_type=linux # correct to gnu/linux during the next big refactor
10751    need_version=no
10752    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9806 | Line 10766 | cygwin* | mingw* | pw32* | cegcc*)
10766    need_version=no
10767    need_lib_prefix=no
10768  
10769 <  case $GCC,$host_os in
10770 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10769 >  case $GCC,$cc_basename in
10770 >  yes,*)
10771 >    # gcc
10772      library_names_spec='$libname.dll.a'
10773      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10774      postinstall_cmds='base_file=`basename \${file}`~
# Line 9828 | Line 10789 | cygwin* | mingw* | pw32* | cegcc*)
10789      cygwin*)
10790        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10791        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10792 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10792 >
10793 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10794        ;;
10795      mingw* | cegcc*)
10796        # MinGW DLLs use traditional 'lib' prefix
10797        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
10798        ;;
10799      pw32*)
10800        # pw32 DLLs use 'pw' prefix rather than 'lib'
10801        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10802        ;;
10803      esac
10804 +    dynamic_linker='Win32 ld.exe'
10805 +    ;;
10806 +
10807 +  *,cl*)
10808 +    # Native MSVC
10809 +    libname_spec='$name'
10810 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10811 +    library_names_spec='${libname}.dll.lib'
10812 +
10813 +    case $build_os in
10814 +    mingw*)
10815 +      sys_lib_search_path_spec=
10816 +      lt_save_ifs=$IFS
10817 +      IFS=';'
10818 +      for lt_path in $LIB
10819 +      do
10820 +        IFS=$lt_save_ifs
10821 +        # Let DOS variable expansion print the short 8.3 style file name.
10822 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10823 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10824 +      done
10825 +      IFS=$lt_save_ifs
10826 +      # Convert to MSYS style.
10827 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10828 +      ;;
10829 +    cygwin*)
10830 +      # Convert to unix form, then to dos form, then back to unix form
10831 +      # but this time dos style (no spaces!) so that the unix form looks
10832 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10833 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10834 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10835 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10836 +      ;;
10837 +    *)
10838 +      sys_lib_search_path_spec="$LIB"
10839 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10840 +        # It is most probably a Windows format PATH.
10841 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10842 +      else
10843 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10844 +      fi
10845 +      # FIXME: find the short name or the path components, as spaces are
10846 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10847 +      ;;
10848 +    esac
10849 +
10850 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10851 +    postinstall_cmds='base_file=`basename \${file}`~
10852 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10853 +      dldir=$destdir/`dirname \$dlpath`~
10854 +      test -d \$dldir || mkdir -p \$dldir~
10855 +      $install_prog $dir/$dlname \$dldir/$dlname'
10856 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10857 +      dlpath=$dir/\$dldll~
10858 +       $RM \$dlpath'
10859 +    shlibpath_overrides_runpath=yes
10860 +    dynamic_linker='Win32 link.exe'
10861      ;;
10862  
10863    *)
10864 +    # Assume MSVC wrapper
10865      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10866 +    dynamic_linker='Win32 ld.exe'
10867      ;;
10868    esac
9860  dynamic_linker='Win32 ld.exe'
10869    # FIXME: first we should search . and the directory the executable is in
10870    shlibpath_var=PATH
10871    ;;
# Line 9878 | Line 10886 | darwin* | rhapsody*)
10886    ;;
10887  
10888   dgux*)
10889 <  version_type=linux
10889 >  version_type=linux # correct to gnu/linux during the next big refactor
10890    need_lib_prefix=no
10891    need_version=no
10892    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9886 | Line 10894 | dgux*)
10894    shlibpath_var=LD_LIBRARY_PATH
10895    ;;
10896  
9889 freebsd1*)
9890  dynamic_linker=no
9891  ;;
9892
10897   freebsd* | dragonfly*)
10898    # DragonFly does not have aout.  When/if they implement a new
10899    # versioning mechanism, adjust this.
# Line 9897 | Line 10901 | freebsd* | dragonfly*)
10901      objformat=`/usr/bin/objformat`
10902    else
10903      case $host_os in
10904 <    freebsd[123]*) objformat=aout ;;
10904 >    freebsd[23].*) objformat=aout ;;
10905      *) objformat=elf ;;
10906      esac
10907    fi
# Line 9915 | Line 10919 | freebsd* | dragonfly*)
10919    esac
10920    shlibpath_var=LD_LIBRARY_PATH
10921    case $host_os in
10922 <  freebsd2*)
10922 >  freebsd2.*)
10923      shlibpath_overrides_runpath=yes
10924      ;;
10925    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9935 | Line 10939 | freebsd* | dragonfly*)
10939    ;;
10940  
10941   gnu*)
10942 <  version_type=linux
10942 >  version_type=linux # correct to gnu/linux during the next big refactor
10943    need_lib_prefix=no
10944    need_version=no
10945    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10946    soname_spec='${libname}${release}${shared_ext}$major'
10947    shlibpath_var=LD_LIBRARY_PATH
10948 +  shlibpath_overrides_runpath=no
10949 +  hardcode_into_libs=yes
10950 +  ;;
10951 +
10952 + haiku*)
10953 +  version_type=linux # correct to gnu/linux during the next big refactor
10954 +  need_lib_prefix=no
10955 +  need_version=no
10956 +  dynamic_linker="$host_os runtime_loader"
10957 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10958 +  soname_spec='${libname}${release}${shared_ext}$major'
10959 +  shlibpath_var=LIBRARY_PATH
10960 +  shlibpath_overrides_runpath=yes
10961 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10962    hardcode_into_libs=yes
10963    ;;
10964  
# Line 9986 | Line 11004 | hpux9* | hpux10* | hpux11*)
11004      soname_spec='${libname}${release}${shared_ext}$major'
11005      ;;
11006    esac
11007 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11007 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11008    postinstall_cmds='chmod 555 $lib'
11009 +  # or fails outright, so override atomically:
11010 +  install_override_mode=555
11011    ;;
11012  
11013   interix[3-9]*)
11014 <  version_type=linux
11014 >  version_type=linux # correct to gnu/linux during the next big refactor
11015    need_lib_prefix=no
11016    need_version=no
11017    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10007 | Line 11027 | irix5* | irix6* | nonstopux*)
11027      nonstopux*) version_type=nonstopux ;;
11028      *)
11029          if test "$lt_cv_prog_gnu_ld" = yes; then
11030 <                version_type=linux
11030 >                version_type=linux # correct to gnu/linux during the next big refactor
11031          else
11032                  version_type=irix
11033          fi ;;
# Line 10044 | Line 11064 | linux*oldld* | linux*aout* | linux*coff*
11064    dynamic_linker=no
11065    ;;
11066  
11067 < # This must be Linux ELF.
11068 < linux* | k*bsd*-gnu)
11069 <  version_type=linux
11067 > # This must be glibc/ELF.
11068 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11069 >  version_type=linux # correct to gnu/linux during the next big refactor
11070    need_lib_prefix=no
11071    need_version=no
11072    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10054 | Line 11074 | linux* | k*bsd*-gnu)
11074    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11075    shlibpath_var=LD_LIBRARY_PATH
11076    shlibpath_overrides_runpath=no
11077 +
11078    # Some binutils ld are patched to set DT_RUNPATH
11079 <  save_LDFLAGS=$LDFLAGS
11080 <  save_libdir=$libdir
11081 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11082 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11083 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11080 >  $as_echo_n "(cached) " >&6
11081 > else
11082 >  lt_cv_shlibpath_overrides_runpath=no
11083 >    save_LDFLAGS=$LDFLAGS
11084 >    save_libdir=$libdir
11085 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11086 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11087 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088   /* end confdefs.h.  */
11089  
11090   int
# Line 10072 | Line 11097 | main ()
11097   _ACEOF
11098   if ac_fn_c_try_link "$LINENO"; then :
11099    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11100 <  shlibpath_overrides_runpath=yes
11100 >  lt_cv_shlibpath_overrides_runpath=yes
11101   fi
11102   fi
11103   rm -f core conftest.err conftest.$ac_objext \
11104      conftest$ac_exeext conftest.$ac_ext
11105 <  LDFLAGS=$save_LDFLAGS
11106 <  libdir=$save_libdir
11105 >    LDFLAGS=$save_LDFLAGS
11106 >    libdir=$save_libdir
11107 >
11108 > fi
11109 >
11110 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11111  
11112    # This implies no fast_install, which is unacceptable.
11113    # Some rework will be needed to allow for fast_install
11114    # before this can be enabled.
11115    hardcode_into_libs=yes
11116  
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
11117    # Append ld.so.conf contents to the search path
11118    if test -f /etc/ld.so.conf; then
11119 <    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' ' '`
11120 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11119 >    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' ' '`
11120 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11121    fi
11122  
11123    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10141 | Line 11148 | netbsd*)
11148    ;;
11149  
11150   newsos6)
11151 <  version_type=linux
11151 >  version_type=linux # correct to gnu/linux during the next big refactor
11152    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153    shlibpath_var=LD_LIBRARY_PATH
11154    shlibpath_overrides_runpath=yes
# Line 10210 | Line 11217 | rdos*)
11217    ;;
11218  
11219   solaris*)
11220 <  version_type=linux
11220 >  version_type=linux # correct to gnu/linux during the next big refactor
11221    need_lib_prefix=no
11222    need_version=no
11223    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10235 | Line 11242 | sunos4*)
11242    ;;
11243  
11244   sysv4 | sysv4.3*)
11245 <  version_type=linux
11245 >  version_type=linux # correct to gnu/linux during the next big refactor
11246    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11247    soname_spec='${libname}${release}${shared_ext}$major'
11248    shlibpath_var=LD_LIBRARY_PATH
# Line 10259 | Line 11266 | sysv4 | sysv4.3*)
11266  
11267   sysv4*MP*)
11268    if test -d /usr/nec ;then
11269 <    version_type=linux
11269 >    version_type=linux # correct to gnu/linux during the next big refactor
11270      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11271      soname_spec='$libname${shared_ext}.$major'
11272      shlibpath_var=LD_LIBRARY_PATH
# Line 10290 | Line 11297 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11297  
11298   tpf*)
11299    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11300 <  version_type=linux
11300 >  version_type=linux # correct to gnu/linux during the next big refactor
11301    need_lib_prefix=no
11302    need_version=no
11303    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10300 | Line 11307 | tpf*)
11307    ;;
11308  
11309   uts4*)
11310 <  version_type=linux
11310 >  version_type=linux # correct to gnu/linux during the next big refactor
11311    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11312    soname_spec='${libname}${release}${shared_ext}$major'
11313    shlibpath_var=LD_LIBRARY_PATH
# Line 10412 | Line 11419 | fi
11419  
11420  
11421  
11422 +
11423 +
11424 +
11425 +
11426 +
11427    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11428   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11429   hardcode_action=
# Line 10484 | Line 11496 | else
11496    # if libdl is installed we need to link against it
11497      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11498   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11499 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11499 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11500    $as_echo_n "(cached) " >&6
11501   else
11502    ac_check_lib_save_LIBS=$LIBS
# Line 10518 | Line 11530 | LIBS=$ac_check_lib_save_LIBS
11530   fi
11531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11532   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11533 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11533 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11534    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11535   else
11536  
# Line 10532 | Line 11544 | fi
11544  
11545    *)
11546      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11547 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11547 > if test "x$ac_cv_func_shl_load" = xyes; then :
11548    lt_cv_dlopen="shl_load"
11549   else
11550    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11551   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11552 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11552 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11553    $as_echo_n "(cached) " >&6
11554   else
11555    ac_check_lib_save_LIBS=$LIBS
# Line 10571 | Line 11583 | LIBS=$ac_check_lib_save_LIBS
11583   fi
11584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11585   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11586 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11586 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11587    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11588   else
11589    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11590 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11590 > if test "x$ac_cv_func_dlopen" = xyes; then :
11591    lt_cv_dlopen="dlopen"
11592   else
11593    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11594   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11595 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11595 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11596    $as_echo_n "(cached) " >&6
11597   else
11598    ac_check_lib_save_LIBS=$LIBS
# Line 10614 | Line 11626 | LIBS=$ac_check_lib_save_LIBS
11626   fi
11627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11628   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11629 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11629 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11630    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11631   else
11632    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11633   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11634 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11634 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11635    $as_echo_n "(cached) " >&6
11636   else
11637    ac_check_lib_save_LIBS=$LIBS
# Line 10653 | Line 11665 | LIBS=$ac_check_lib_save_LIBS
11665   fi
11666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11667   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11668 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11668 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11669    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11670   else
11671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11672   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11673 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11673 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11674    $as_echo_n "(cached) " >&6
11675   else
11676    ac_check_lib_save_LIBS=$LIBS
# Line 10692 | Line 11704 | LIBS=$ac_check_lib_save_LIBS
11704   fi
11705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11706   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11707 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11707 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11708    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11709   fi
11710  
# Line 10733 | Line 11745 | fi
11745  
11746      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11747   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11748 < if test "${lt_cv_dlopen_self+set}" = set; then :
11748 > if ${lt_cv_dlopen_self+:} false; then :
11749    $as_echo_n "(cached) " >&6
11750   else
11751            if test "$cross_compiling" = yes; then :
# Line 10742 | Line 11754 | else
11754    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11755    lt_status=$lt_dlunknown
11756    cat > conftest.$ac_ext <<_LT_EOF
11757 < #line 10745 "configure"
11757 > #line $LINENO "configure"
11758   #include "confdefs.h"
11759  
11760   #if HAVE_DLFCN_H
# Line 10783 | Line 11795 | else
11795   #  endif
11796   #endif
11797  
11798 < void fnord() { int i=42;}
11798 > /* When -fvisbility=hidden is used, assume the code has been annotated
11799 >   correspondingly for the symbols needed.  */
11800 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11801 > int fnord () __attribute__((visibility("default")));
11802 > #endif
11803 >
11804 > int fnord () { return 42; }
11805   int main ()
11806   {
11807    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10792 | Line 11810 | int main ()
11810    if (self)
11811      {
11812        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11813 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11813 >      else
11814 >        {
11815 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11816 >          else puts (dlerror ());
11817 >        }
11818        /* dlclose (self); */
11819      }
11820    else
# Line 10829 | Line 11851 | $as_echo "$lt_cv_dlopen_self" >&6; }
11851        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11852        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11853   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11854 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11854 > if ${lt_cv_dlopen_self_static+:} false; then :
11855    $as_echo_n "(cached) " >&6
11856   else
11857            if test "$cross_compiling" = yes; then :
# Line 10838 | Line 11860 | else
11860    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11861    lt_status=$lt_dlunknown
11862    cat > conftest.$ac_ext <<_LT_EOF
11863 < #line 10841 "configure"
11863 > #line $LINENO "configure"
11864   #include "confdefs.h"
11865  
11866   #if HAVE_DLFCN_H
# Line 10879 | Line 11901 | else
11901   #  endif
11902   #endif
11903  
11904 < void fnord() { int i=42;}
11904 > /* When -fvisbility=hidden is used, assume the code has been annotated
11905 >   correspondingly for the symbols needed.  */
11906 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11907 > int fnord () __attribute__((visibility("default")));
11908 > #endif
11909 >
11910 > int fnord () { return 42; }
11911   int main ()
11912   {
11913    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10888 | Line 11916 | int main ()
11916    if (self)
11917      {
11918        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11919 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11919 >      else
11920 >        {
11921 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11922 >          else puts (dlerror ());
11923 >        }
11924        /* dlclose (self); */
11925      }
11926    else
# Line 11057 | Line 12089 | CC="$lt_save_CC"
12089  
12090  
12091  
12092 +
12093 +
12094          ac_config_commands="$ac_config_commands libtool"
12095  
12096  
# Line 11067 | Line 12101 | CC="$lt_save_CC"
12101  
12102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12103   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12104 < if test "${libltdl_cv_shlibext+set}" = set; then :
12104 > if ${libltdl_cv_shlibext+:} false; then :
12105    $as_echo_n "(cached) " >&6
12106   else
12107  
12108   module=yes
12109   eval libltdl_cv_shlibext=$shrext_cmds
12110 + module=no
12111 + eval libltdl_cv_shrext=$shrext_cmds
12112  
12113   fi
12114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11084 | Line 12120 | cat >>confdefs.h <<_ACEOF
12120   _ACEOF
12121  
12122   fi
12123 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12124 +
12125 + cat >>confdefs.h <<_ACEOF
12126 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12127 + _ACEOF
12128 +
12129 + fi
12130  
12131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12132   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12133 < if test "${lt_cv_module_path_var+set}" = set; then :
12133 > if ${lt_cv_module_path_var+:} false; then :
12134    $as_echo_n "(cached) " >&6
12135   else
12136    lt_cv_module_path_var="$shlibpath_var"
# Line 11104 | Line 12147 | fi
12147  
12148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12149   $as_echo_n "checking for the default library search path... " >&6; }
12150 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12150 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12151    $as_echo_n "(cached) " >&6
12152   else
12153    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11141 | Line 12184 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12184   LIBADD_DLOPEN=
12185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12186   $as_echo_n "checking for library containing dlopen... " >&6; }
12187 < if test "${ac_cv_search_dlopen+set}" = set; then :
12187 > if ${ac_cv_search_dlopen+:} false; then :
12188    $as_echo_n "(cached) " >&6
12189   else
12190    ac_func_search_save_LIBS=$LIBS
# Line 11175 | Line 12218 | for ac_lib in '' dl; do
12218   fi
12219   rm -f core conftest.err conftest.$ac_objext \
12220      conftest$ac_exeext
12221 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12221 >  if ${ac_cv_search_dlopen+:} false; then :
12222    break
12223   fi
12224   done
12225 < if test "${ac_cv_search_dlopen+set}" = set; then :
12225 > if ${ac_cv_search_dlopen+:} false; then :
12226  
12227   else
12228    ac_cv_search_dlopen=no
# Line 11224 | Line 12267 | $as_echo "#define HAVE_LIBDL 1" >>confde
12267   else
12268    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12269   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12270 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12270 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12271    $as_echo_n "(cached) " >&6
12272   else
12273    ac_check_lib_save_LIBS=$LIBS
# Line 11258 | Line 12301 | LIBS=$ac_check_lib_save_LIBS
12301   fi
12302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12303   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12304 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12304 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12305  
12306   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12307  
# Line 11278 | Line 12321 | then
12321    for ac_func in dlerror
12322   do :
12323    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12324 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12324 > if test "x$ac_cv_func_dlerror" = xyes; then :
12325    cat >>confdefs.h <<_ACEOF
12326   #define HAVE_DLERROR 1
12327   _ACEOF
# Line 11292 | Line 12335 | fi
12335  
12336   LIBADD_SHL_LOAD=
12337   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12338 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12338 > if test "x$ac_cv_func_shl_load" = xyes; then :
12339  
12340   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12341  
# Line 11300 | Line 12343 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12343   else
12344    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12345   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12346 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12346 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12347    $as_echo_n "(cached) " >&6
12348   else
12349    ac_check_lib_save_LIBS=$LIBS
# Line 11334 | Line 12377 | LIBS=$ac_check_lib_save_LIBS
12377   fi
12378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12379   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12380 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12380 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12381  
12382   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12383  
# Line 11350 | Line 12393 | case $host_os in
12393   darwin[1567].*)
12394   # We only want this for pre-Mac OS X 10.4.
12395    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12396 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12396 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12397  
12398   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12399  
# Line 11364 | Line 12407 | beos*)
12407   cygwin* | mingw* | os2* | pw32*)
12408    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12409   "
12410 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12410 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12411    ac_have_decl=1
12412   else
12413    ac_have_decl=0
# Line 11380 | Line 12423 | esac
12423  
12424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12425   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12426 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12426 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12427    $as_echo_n "(cached) " >&6
12428   else
12429    ac_check_lib_save_LIBS=$LIBS
# Line 11414 | Line 12457 | LIBS=$ac_check_lib_save_LIBS
12457   fi
12458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12459   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12460 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12460 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12461  
12462   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12463  
# Line 11448 | Line 12491 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12491  
12492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12493   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12494 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12494 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12495    $as_echo_n "(cached) " >&6
12496   else
12497    lt_cv_sys_symbol_underscore=no
# Line 11498 | Line 12541 | if test x"$lt_cv_sys_symbol_underscore"
12541       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12542          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12543   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12544 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12544 > if ${libltdl_cv_need_uscore+:} false; then :
12545    $as_echo_n "(cached) " >&6
12546   else
12547    libltdl_cv_need_uscore=unknown
# Line 11510 | Line 12553 | else
12553    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12554    lt_status=$lt_dlunknown
12555    cat > conftest.$ac_ext <<_LT_EOF
12556 < #line 11513 "configure"
12556 > #line $LINENO "configure"
12557   #include "confdefs.h"
12558  
12559   #if HAVE_DLFCN_H
# Line 11551 | Line 12594 | else
12594   #  endif
12595   #endif
12596  
12597 < void fnord() { int i=42;}
12597 > /* When -fvisbility=hidden is used, assume the code has been annotated
12598 >   correspondingly for the symbols needed.  */
12599 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12600 > int fnord () __attribute__((visibility("default")));
12601 > #endif
12602 >
12603 > int fnord () { return 42; }
12604   int main ()
12605   {
12606    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11560 | Line 12609 | int main ()
12609    if (self)
12610      {
12611        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12612 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12612 >      else
12613 >        {
12614 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12615 >          else puts (dlerror ());
12616 >        }
12617        /* dlclose (self); */
12618      }
12619    else
# Line 11604 | Line 12657 | fi
12657  
12658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12659   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12660 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12660 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12661    $as_echo_n "(cached) " >&6
12662   else
12663    # PORTME does your system automatically load deplibs for dlopen?
# Line 11636 | Line 12689 | else
12689    freebsd* | dragonfly*)
12690      lt_cv_sys_dlopen_deplibs=yes
12691      ;;
12692 <  gnu* | linux* | k*bsd*-gnu)
12692 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12693      # GNU and its variants, using gnu ld.so (Glibc)
12694      lt_cv_sys_dlopen_deplibs=yes
12695      ;;
# Line 11710 | Line 12763 | for ac_header in argz.h
12763   do :
12764    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12765   "
12766 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12766 > if test "x$ac_cv_header_argz_h" = xyes; then :
12767    cat >>confdefs.h <<_ACEOF
12768   #define HAVE_ARGZ_H 1
12769   _ACEOF
# Line 11724 | Line 12777 | ac_fn_c_check_type "$LINENO" "error_t" "
12777   #  include <argz.h>
12778   #endif
12779   "
12780 < if test "x$ac_cv_type_error_t" = x""yes; then :
12780 > if test "x$ac_cv_type_error_t" = xyes; then :
12781  
12782   cat >>confdefs.h <<_ACEOF
12783   #define HAVE_ERROR_T 1
# Line 11747 | Line 12800 | for ac_func in argz_add argz_append argz
12800   do :
12801    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12802   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12803 < eval as_val=\$$as_ac_var
11751 <   if test "x$as_val" = x""yes; then :
12803 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12804    cat >>confdefs.h <<_ACEOF
12805   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12806   _ACEOF
# Line 11765 | Line 12817 | done
12817   if test -z "$ARGZ_H"; then :
12818    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12819   $as_echo_n "checking if argz actually works... " >&6; }
12820 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12820 > if ${lt_cv_sys_argz_works+:} false; then :
12821    $as_echo_n "(cached) " >&6
12822   else
12823    case $host_os in #(
# Line 11796 | Line 12848 | else
12848   fi
12849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12850   $as_echo "$lt_cv_sys_argz_works" >&6; }
12851 <     if test $lt_cv_sys_argz_works = yes; then :
12851 >     if test "$lt_cv_sys_argz_works" = yes; then :
12852  
12853   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12854  
# Line 11813 | Line 12865 | fi
12865  
12866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12867   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12868 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12868 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12869    $as_echo_n "(cached) " >&6
12870   else
12871    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11831 | Line 12883 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12883  
12884   fi
12885  
11834
11835
12886   # Set options
12887  
12888  
# Line 11845 | Line 12895 | fi
12895  
12896  
12897  
11848
12898   # Check whether --with-included_ltdl was given.
12899   if test "${with_included_ltdl+set}" = set; then :
12900    withval=$with_included_ltdl;
# Line 11858 | Line 12907 | if test "x$with_included_ltdl" != xyes;
12907    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12908  
12909   "
12910 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12910 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12911    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12912              #include <ltdl.h>
12913   "
12914 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12914 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12915    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12916   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12917 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12917 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12918    $as_echo_n "(cached) " >&6
12919   else
12920    ac_check_lib_save_LIBS=$LIBS
# Line 11899 | Line 12948 | LIBS=$ac_check_lib_save_LIBS
12948   fi
12949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12950   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12951 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12951 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12952    with_included_ltdl=no
12953   else
12954    with_included_ltdl=yes
# Line 11919 | Line 12968 | fi
12968  
12969  
12970  
11922
11923
11924
11925
11926
12971   # Check whether --with-ltdl_include was given.
12972   if test "${with_ltdl_include+set}" = set; then :
12973    withval=$with_ltdl_include;
# Line 11933 | Line 12977 | fi
12977   if test -n "$with_ltdl_include"; then
12978    if test -f "$with_ltdl_include/ltdl.h"; then :
12979    else
12980 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12980 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12981    fi
12982   else
12983    with_ltdl_include=no
# Line 11949 | Line 12993 | fi
12993   if test -n "$with_ltdl_lib"; then
12994    if test -f "$with_ltdl_lib/libltdl.la"; then :
12995    else
12996 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12996 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12997    fi
12998   else
12999    with_ltdl_lib=no
# Line 11958 | Line 13002 | fi
13002   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13003    ,yes,no,no,)
13004          case $enable_ltdl_convenience in
13005 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13005 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13006    "") enable_ltdl_convenience=yes
13007        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13008   esac
# Line 11986 | Line 13030 | $as_echo "#define HAVE_LTDL 1" >>confdef
13030          LTDLINCL=
13031          ;;
13032    ,no*,no,*)
13033 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13033 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13034          ;;
13035    *)    with_included_ltdl=no
13036          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12037 | Line 13081 | fi
13081  
13082  
13083  
12040    subdirs="$subdirs libltdl"
12041
12042
13084  
13085  
13086  
# Line 12056 | Line 13097 | do :
13097    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13098   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13099   "
13100 < eval as_val=\$$as_ac_Header
12060 <   if test "x$as_val" = x""yes; then :
13100 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13101    cat >>confdefs.h <<_ACEOF
13102   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13103   _ACEOF
# Line 12071 | Line 13111 | for ac_func in closedir opendir readdir
13111   do :
13112    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13113   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13114 < eval as_val=\$$as_ac_var
12075 <   if test "x$as_val" = x""yes; then :
13114 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13115    cat >>confdefs.h <<_ACEOF
13116   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13117   _ACEOF
# Line 12089 | Line 13128 | for ac_func in strlcat strlcpy
13128   do :
13129    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13130   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13131 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
13131 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13132    cat >>confdefs.h <<_ACEOF
13133   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13134   _ACEOF
# Line 12110 | Line 13148 | cat >>confdefs.h <<_ACEOF
13148   _ACEOF
13149  
13150  
13151 + name=
13152 + eval "lt_libprefix=\"$libname_spec\""
13153 +
13154 + cat >>confdefs.h <<_ACEOF
13155 + #define LT_LIBPREFIX "$lt_libprefix"
13156 + _ACEOF
13157 +
13158 +
13159   name=ltdl
13160 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13160 > eval "LTDLOPEN=\"$libname_spec\""
13161  
13162  
13163  
# Line 12125 | Line 13171 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13171  
13172   LIBTOOL="$LIBTOOL --silent"
13173  
12128
13174   # Checks for libraries.
13175  
13176 +
13177 +  if test "X$CC" != "X"; then
13178 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13179 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13180 + if ${ssp_cv_cc+:} false; then :
13181 +  $as_echo_n "(cached) " >&6
13182 + else
13183 +  ssp_old_cflags="$CFLAGS"
13184 +       CFLAGS="$CFLAGS -fstack-protector"
13185 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 + /* end confdefs.h.  */
13187 +
13188 + int
13189 + main ()
13190 + {
13191 +
13192 +  ;
13193 +  return 0;
13194 + }
13195 + _ACEOF
13196 + if ac_fn_c_try_compile "$LINENO"; then :
13197 +  ssp_cv_cc=yes
13198 + else
13199 +  ssp_cv_cc=no
13200 + fi
13201 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13202 +       CFLAGS="$ssp_old_cflags"
13203 +
13204 + fi
13205 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13206 + $as_echo "$ssp_cv_cc" >&6; }
13207 +    if test $ssp_cv_cc = yes; then
13208 +      CFLAGS="$CFLAGS -fstack-protector"
13209 +
13210 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13211 +
13212 +    fi
13213 +  fi
13214 +
13215 +
13216 +
13217 +
13218 +
13219 +
13220 + for flag in -fno-strict-aliasing; do
13221 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13222 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13223 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13224 + if eval \${$as_CACHEVAR+:} false; then :
13225 +  $as_echo_n "(cached) " >&6
13226 + else
13227 +
13228 +  ax_check_save_flags=$CFLAGS
13229 +  CFLAGS="$CFLAGS  $flag"
13230 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 + /* end confdefs.h.  */
13232 +
13233 + int
13234 + main ()
13235 + {
13236 +
13237 +  ;
13238 +  return 0;
13239 + }
13240 + _ACEOF
13241 + if ac_fn_c_try_compile "$LINENO"; then :
13242 +  eval "$as_CACHEVAR=yes"
13243 + else
13244 +  eval "$as_CACHEVAR=no"
13245 + fi
13246 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13247 +  CFLAGS=$ax_check_save_flags
13248 + fi
13249 + eval ac_res=\$$as_CACHEVAR
13250 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13251 + $as_echo "$ac_res" >&6; }
13252 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13253 +  if ${CFLAGS+:} false; then :
13254 +  case " $CFLAGS " in
13255 +    *" $flag "*)
13256 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13257 +  (: CFLAGS already contains $flag) 2>&5
13258 +  ac_status=$?
13259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 +  test $ac_status = 0; }
13261 +      ;;
13262 +    *)
13263 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13264 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13265 +  ac_status=$?
13266 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 +  test $ac_status = 0; }
13268 +      CFLAGS="$CFLAGS $flag"
13269 +      ;;
13270 +   esac
13271 + else
13272 +  CFLAGS="$flag"
13273 + fi
13274 +
13275 + else
13276 +  :
13277 + fi
13278 +
13279 + done
13280 +
13281 +
13282 +
13283 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13284 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13285 +
13286 + else
13287 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13288 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13289 + if ${ac_cv_search_getaddrinfo+:} false; then :
13290 +  $as_echo_n "(cached) " >&6
13291 + else
13292 +  ac_func_search_save_LIBS=$LIBS
13293 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294 + /* end confdefs.h.  */
13295 +
13296 + /* Override any GCC internal prototype to avoid an error.
13297 +   Use char because int might match the return type of a GCC
13298 +   builtin and then its argument prototype would still apply.  */
13299 + #ifdef __cplusplus
13300 + extern "C"
13301 + #endif
13302 + char getaddrinfo ();
13303 + int
13304 + main ()
13305 + {
13306 + return getaddrinfo ();
13307 +  ;
13308 +  return 0;
13309 + }
13310 + _ACEOF
13311 + for ac_lib in '' nsl; do
13312 +  if test -z "$ac_lib"; then
13313 +    ac_res="none required"
13314 +  else
13315 +    ac_res=-l$ac_lib
13316 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13317 +  fi
13318 +  if ac_fn_c_try_link "$LINENO"; then :
13319 +  ac_cv_search_getaddrinfo=$ac_res
13320 + fi
13321 + rm -f core conftest.err conftest.$ac_objext \
13322 +    conftest$ac_exeext
13323 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13324 +  break
13325 + fi
13326 + done
13327 + if ${ac_cv_search_getaddrinfo+:} false; then :
13328 +
13329 + else
13330 +  ac_cv_search_getaddrinfo=no
13331 + fi
13332 + rm conftest.$ac_ext
13333 + LIBS=$ac_func_search_save_LIBS
13334 + fi
13335 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13336 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13337 + ac_res=$ac_cv_search_getaddrinfo
13338 + if test "$ac_res" != no; then :
13339 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13340 +
13341 + fi
13342 +
13343 + fi
13344 +
13345 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13346 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13347 +
13348 + else
13349 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13350 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13351 + if ${ac_cv_search_getnameinfo+:} false; then :
13352 +  $as_echo_n "(cached) " >&6
13353 + else
13354 +  ac_func_search_save_LIBS=$LIBS
13355 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 + /* end confdefs.h.  */
13357 +
13358 + /* Override any GCC internal prototype to avoid an error.
13359 +   Use char because int might match the return type of a GCC
13360 +   builtin and then its argument prototype would still apply.  */
13361 + #ifdef __cplusplus
13362 + extern "C"
13363 + #endif
13364 + char getnameinfo ();
13365 + int
13366 + main ()
13367 + {
13368 + return getnameinfo ();
13369 +  ;
13370 +  return 0;
13371 + }
13372 + _ACEOF
13373 + for ac_lib in '' nsl; do
13374 +  if test -z "$ac_lib"; then
13375 +    ac_res="none required"
13376 +  else
13377 +    ac_res=-l$ac_lib
13378 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13379 +  fi
13380 +  if ac_fn_c_try_link "$LINENO"; then :
13381 +  ac_cv_search_getnameinfo=$ac_res
13382 + fi
13383 + rm -f core conftest.err conftest.$ac_objext \
13384 +    conftest$ac_exeext
13385 +  if ${ac_cv_search_getnameinfo+:} false; then :
13386 +  break
13387 + fi
13388 + done
13389 + if ${ac_cv_search_getnameinfo+:} false; then :
13390 +
13391 + else
13392 +  ac_cv_search_getnameinfo=no
13393 + fi
13394 + rm conftest.$ac_ext
13395 + LIBS=$ac_func_search_save_LIBS
13396 + fi
13397 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13398 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13399 + ac_res=$ac_cv_search_getnameinfo
13400 + if test "$ac_res" != no; then :
13401 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13402 +
13403 + fi
13404 +
13405 + fi
13406 +
13407    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13408   $as_echo_n "checking for library containing socket... " >&6; }
13409 < if test "${ac_cv_search_socket+set}" = set; then :
13409 > if ${ac_cv_search_socket+:} false; then :
13410    $as_echo_n "(cached) " >&6
13411   else
13412    ac_func_search_save_LIBS=$LIBS
# Line 12164 | Line 13440 | for ac_lib in '' socket; do
13440   fi
13441   rm -f core conftest.err conftest.$ac_objext \
13442      conftest$ac_exeext
13443 <  if test "${ac_cv_search_socket+set}" = set; then :
13443 >  if ${ac_cv_search_socket+:} false; then :
13444    break
13445   fi
13446   done
13447 < if test "${ac_cv_search_socket+set}" = set; then :
13447 > if ${ac_cv_search_socket+:} false; then :
13448  
13449   else
13450    ac_cv_search_socket=no
# Line 12183 | Line 13459 | if test "$ac_res" != no; then :
13459    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13460  
13461   else
13462 <  as_fn_error "socket library not found" "$LINENO" 5
12187 < fi
12188 <
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 <
13462 >  as_fn_error $? "socket library not found" "$LINENO" 5
13463   fi
12200 done
13464  
13465    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13466     #include <sys/socket.h>
13467     #include <netdb.h>
13468  
13469   "
13470 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13470 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13471  
13472   cat >>confdefs.h <<_ACEOF
13473   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12217 | Line 13480 | ac_fn_c_check_type "$LINENO" "struct soc
13480     #include <netdb.h>
13481  
13482   "
13483 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13483 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13484  
13485   cat >>confdefs.h <<_ACEOF
13486   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12230 | Line 13493 | ac_fn_c_check_type "$LINENO" "struct add
13493     #include <netdb.h>
13494  
13495   "
13496 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13496 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13497  
13498   cat >>confdefs.h <<_ACEOF
13499   #define HAVE_STRUCT_ADDRINFO 1
# Line 12242 | Line 13505 | fi
13505    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13506    <sys/socket.h>
13507   "
13508 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13508 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13509  
13510   cat >>confdefs.h <<_ACEOF
13511   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12253 | Line 13516 | fi
13516  
13517  
13518  
13519 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13520 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13521 <
12259 < cat >>confdefs.h <<_ACEOF
12260 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12261 < _ACEOF
12262 <
12263 <
12264 < else
13519 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13520 > "
13521 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13522  
13523   $as_echo "#define IPV6 1" >>confdefs.h
13524  
# Line 12269 | Line 13526 | fi
13526  
13527  
13528  
12272
13529   # 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
13530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13531   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13532 < if test "${ac_cv_c_bigendian+set}" = set; then :
13532 > if ${ac_cv_c_bigendian+:} false; then :
13533    $as_echo_n "(cached) " >&6
13534   else
13535    ac_cv_c_bigendian=unknown
# Line 12613 | Line 13747 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13747  
13748       ;; #(
13749     *)
13750 <     as_fn_error "unknown endianness
13750 >     as_fn_error $? "unknown endianness
13751   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13752   esac
13753  
13754  
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
13755   # Checks for library functions.
13756  
13757  
# Line 12734 | Line 13760 | fi
13760   do :
13761    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13762   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13763 < eval as_val=\$$as_ac_var
12738 <   if test "x$as_val" = x""yes; then :
13763 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13764    cat >>confdefs.h <<_ACEOF
13765   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13766   _ACEOF
# Line 12753 | Line 13778 | done
13778  
13779  
13780  
12756
12757
12758
12759
12760
12761
13781   # Checks for header files.
13782  
13783  
# Line 12768 | Line 13787 | do :
13787    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13788   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13789   "
13790 < eval as_val=\$$as_ac_Header
12772 <   if test "x$as_val" = x""yes; then :
13790 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13791    cat >>confdefs.h <<_ACEOF
13792   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13793   _ACEOF
# Line 12794 | Line 13812 | done
13812  
13813  
13814  
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
13815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13816   $as_echo_n "checking for library containing crypt... " >&6; }
13817 < if test "${ac_cv_search_crypt+set}" = set; then :
13817 > if ${ac_cv_search_crypt+:} false; then :
13818    $as_echo_n "(cached) " >&6
13819   else
13820    ac_func_search_save_LIBS=$LIBS
# Line 12861 | Line 13848 | for ac_lib in '' crypt; do
13848   fi
13849   rm -f core conftest.err conftest.$ac_objext \
13850      conftest$ac_exeext
13851 <  if test "${ac_cv_search_crypt+set}" = set; then :
13851 >  if ${ac_cv_search_crypt+:} false; then :
13852    break
13853   fi
13854   done
13855 < if test "${ac_cv_search_crypt+set}" = set; then :
13855 > if ${ac_cv_search_crypt+:} false; then :
13856  
13857   else
13858    ac_cv_search_crypt=no
# Line 12882 | Line 13869 | if test "$ac_res" != no; then :
13869   fi
13870  
13871  
13872 <
13873 <
13874 < # Check whether --with-zlib-path was given.
13875 < if test "${with_zlib_path+set}" = set; then :
13876 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13877 < fi
13878 <
13879 <
13880 < # 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 :
13872 > # Check whether --enable-libgeoip was given.
13873 > if test "${enable_libgeoip+set}" = set; then :
13874 >  enableval=$enable_libgeoip;
13875 > else
13876 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13877 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13878 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13879 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13880 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13881    $as_echo_n "(cached) " >&6
13882   else
13883 <  ac_check_lib_save_LIBS=$LIBS
12910 < LIBS="-lz  $LIBS"
13883 >  ac_func_search_save_LIBS=$LIBS
13884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885   /* end confdefs.h.  */
13886  
# Line 12917 | Line 13890 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13890   #ifdef __cplusplus
13891   extern "C"
13892   #endif
13893 < char zlibVersion ();
13893 > char GeoIP_id_by_ipnum_v6_gl ();
13894   int
13895   main ()
13896   {
13897 < return zlibVersion ();
13897 > return GeoIP_id_by_ipnum_v6_gl ();
13898    ;
13899    return 0;
13900   }
13901   _ACEOF
13902 < if ac_fn_c_try_link "$LINENO"; then :
13903 <  ac_cv_lib_z_zlibVersion=yes
13904 < else
13905 <  ac_cv_lib_z_zlibVersion=no
13902 > for ac_lib in '' GeoIP; do
13903 >  if test -z "$ac_lib"; then
13904 >    ac_res="none required"
13905 >  else
13906 >    ac_res=-l$ac_lib
13907 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13908 >  fi
13909 >  if ac_fn_c_try_link "$LINENO"; then :
13910 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13911   fi
13912   rm -f core conftest.err conftest.$ac_objext \
13913 <    conftest$ac_exeext conftest.$ac_ext
13914 < LIBS=$ac_check_lib_save_LIBS
13913 >    conftest$ac_exeext
13914 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13915 >  break
13916   fi
13917 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13918 < $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 <
13917 > done
13918 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13919  
13920   else
13921 <  zlib=no
13921 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13922 > fi
13923 > rm conftest.$ac_ext
13924 > LIBS=$ac_func_search_save_LIBS
13925   fi
13926 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13927 + $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13928 + ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13929 + if test "$ac_res" != no; then :
13930 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13931  
13932 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13933 +
13934 + fi
13935  
12952 else
12953  zlib=no
13936   fi
13937  
13938  
13939   fi
13940  
13941  
13942 +
13943   # Check whether --enable-openssl was given.
13944   if test "${enable_openssl+set}" = set; then :
13945    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 12996 | Line 13979 | if test "$cf_enable_openssl" != "no"; th
13979    fi
13980  
13981        if test ! -z "$cf_openssl_basedir"; then
12999    LIBS="-lcrypto -lssl $LIBS"
13982      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13983   $as_echo "$cf_openssl_basedir" >&6; }
13984      cf_enable_openssl="yes"
13003
13004 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13005
13985    else
13986 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13987 < $as_echo "not found.  Please check your path." >&6; }
13986 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13987 > $as_echo "not found. Please check your path." >&6; }
13988      cf_enable_openssl="no"
13989    fi
13990    unset cf_openssl_basedir
# Line 13013 | Line 13992 | else
13992      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13993   $as_echo "disabled" >&6; }
13994   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
13995  
13996 + if test "$cf_enable_openssl" != "no"; then :
13997 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
13998 + $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
13999 +  if test "$cross_compiling" = yes; then :
14000 +  cf_openssl_version_ok=no
14001 + else
14002 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 + /* end confdefs.h.  */
14004  
14005  
14006 < # Check whether --enable-assert was given.
14007 < if test "${enable_assert+set}" = set; then :
14008 <  enableval=$enable_assert; assert=$enableval
14006 >    #include <openssl/opensslv.h>
14007 >    #include <stdlib.h>
14008 > int
14009 > main ()
14010 > {
14011 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
14012 >  ;
14013 >  return 0;
14014 > }
14015 > _ACEOF
14016 > if ac_fn_c_try_run "$LINENO"; then :
14017 >  cf_openssl_version_ok=yes
14018   else
14019 <  assert=no
14019 >  cf_openssl_version_ok=no
14020 > fi
14021 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14022 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
14023   fi
14024  
13033 if test "$assert" = no; then
14025  
14026 < $as_echo "#define NDEBUG 1" >>confdefs.h
14026 >  if test "$cf_openssl_version_ok" = "yes"; then :
14027 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14028 > $as_echo "found" >&6; }
14029 >
14030 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14031 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14032 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14033 >  $as_echo_n "(cached) " >&6
14034 > else
14035 >  ac_check_lib_save_LIBS=$LIBS
14036 > LIBS="-lcrypto  $LIBS"
14037 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 > /* end confdefs.h.  */
14039  
14040 + /* Override any GCC internal prototype to avoid an error.
14041 +   Use char because int might match the return type of a GCC
14042 +   builtin and then its argument prototype would still apply.  */
14043 + #ifdef __cplusplus
14044 + extern "C"
14045 + #endif
14046 + char RSA_free ();
14047 + int
14048 + main ()
14049 + {
14050 + return RSA_free ();
14051 +  ;
14052 +  return 0;
14053 + }
14054 + _ACEOF
14055 + if ac_fn_c_try_link "$LINENO"; then :
14056 +  ac_cv_lib_crypto_RSA_free=yes
14057 + else
14058 +  ac_cv_lib_crypto_RSA_free=no
14059   fi
14060 + rm -f core conftest.err conftest.$ac_objext \
14061 +    conftest$ac_exeext conftest.$ac_ext
14062 + LIBS=$ac_check_lib_save_LIBS
14063 + fi
14064 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14065 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14066 + if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14067 +  cat >>confdefs.h <<_ACEOF
14068 + #define HAVE_LIBCRYPTO 1
14069 + _ACEOF
14070  
14071 +  LIBS="-lcrypto $LIBS"
14072  
13040 # Check whether --enable-small-net was given.
13041 if test "${enable_small_net+set}" = set; then :
13042  enableval=$enable_small_net; small_net=$enableval
13043 else
13044  small_net=no
14073   fi
14074  
14075 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14076 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14077 + $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14078 + if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14079 +  $as_echo_n "(cached) " >&6
14080 + else
14081 +  ac_check_lib_save_LIBS=$LIBS
14082 + LIBS="-lssl  $LIBS"
14083 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 + /* end confdefs.h.  */
14085  
14086 < if test "$small_net" = yes; then
14086 > /* Override any GCC internal prototype to avoid an error.
14087 >   Use char because int might match the return type of a GCC
14088 >   builtin and then its argument prototype would still apply.  */
14089 > #ifdef __cplusplus
14090 > extern "C"
14091 > #endif
14092 > char SSL_connect ();
14093 > int
14094 > main ()
14095 > {
14096 > return SSL_connect ();
14097 >  ;
14098 >  return 0;
14099 > }
14100 > _ACEOF
14101 > if ac_fn_c_try_link "$LINENO"; then :
14102 >  ac_cv_lib_ssl_SSL_connect=yes
14103 > else
14104 >  ac_cv_lib_ssl_SSL_connect=no
14105 > fi
14106 > rm -f core conftest.err conftest.$ac_objext \
14107 >    conftest$ac_exeext conftest.$ac_ext
14108 > LIBS=$ac_check_lib_save_LIBS
14109 > fi
14110 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14111 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14112 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14113 >  cat >>confdefs.h <<_ACEOF
14114 > #define HAVE_LIBSSL 1
14115 > _ACEOF
14116  
14117 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14117 >  LIBS="-lssl $LIBS"
14118  
14119 + fi
14120  
14121 < $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14121 > fi
14122  
14123 + else
14124 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14125 + $as_echo "no - OpenSSL support disabled" >&6; }
14126 +    cf_enable_openssl="no"
14127 + fi
14128 + fi
14129  
14130 < $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14130 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14131 >  ENABLE_SSL_TRUE=
14132 >  ENABLE_SSL_FALSE='#'
14133 > else
14134 >  ENABLE_SSL_TRUE='#'
14135 >  ENABLE_SSL_FALSE=
14136 > fi
14137  
14138  
13059 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14139  
14140 + # Check whether --enable-assert was given.
14141 + if test "${enable_assert+set}" = set; then :
14142 +  enableval=$enable_assert; assert=$enableval
14143 + else
14144 +  assert=no
14145 + fi
14146  
13062 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14147  
14148 + if test "$assert" = "no"; then :
14149  
14150 < $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14150 > $as_echo "#define NDEBUG 1" >>confdefs.h
14151  
14152 + fi
14153  
13068 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14154  
14155 + $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14156  
13071 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14157  
14158 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14159  
13074 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
14160  
14161 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14162  
13077 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
14163  
14164 < else
14164 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14165  
13081 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14166  
14167 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14168  
13084 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14169  
14170 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14171  
13087 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14172  
14173 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14174  
13090 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
14175  
14176 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14177  
13093 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
14178  
14179 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14180  
13096 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
14181  
14182 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14183  
13099 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
14184  
14185 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14186  
13102 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
14187  
14188 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14189  
13105 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
14190  
14191 + $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14192  
13108 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
14193  
14194 < fi
14194 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14195  
14196  
14197   # Argument processing.
# Line 13128 | Line 14212 | if test "${enable_devpoll+set}" = set; t
14212    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14213   fi
14214  
13131  # Check whether --enable-rtsigio was given.
13132 if test "${enable_rtsigio+set}" = set; then :
13133  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13134 fi
13135
14215    # Check whether --enable-poll was given.
14216   if test "${enable_poll+set}" = set; then :
14217    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14218   fi
14219  
13141  # Check whether --enable-select was given.
13142 if test "${enable_select+set}" = set; then :
13143  enableval=$enable_select; desired_iopoll_mechanism="select"
13144 fi
13145
14220        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14221   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14222    iopoll_mechanism_none=0
# Line 13211 | Line 14285 | cat >>confdefs.h <<_ACEOF
14285   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14286   _ACEOF
14287  
13214  if test "$cross_compiling" = yes; then :
13215  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13217 as_fn_error "cannot run test program while cross compiling
13218 See \`config.log' for more details." "$LINENO" 5; }
13219 else
14288    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289   /* end confdefs.h.  */
13222
14290   #include <sys/epoll.h>
14291 < #include <sys/syscall.h>
14292 < #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14293 < #if !defined(__NR_epoll_create)
14294 < #if defined(__ia64__)
14295 < #define __NR_epoll_create 1243
14296 < #elif defined(__x86_64__)
14297 < #define __NR_epoll_create 214
13231 < #elif defined(__sparc64__) || defined(__sparc__)
13232 < #define __NR_epoll_create 193
13233 < #elif defined(__s390__) || defined(__m68k__)
13234 < #define __NR_epoll_create 249
13235 < #elif defined(__ppc64__) || defined(__ppc__)
13236 < #define __NR_epoll_create 236
13237 < #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
13238 < #define __NR_epoll_create 224
13239 < #elif defined(__alpha__)
13240 < #define __NR_epoll_create 407
13241 < #elif defined(__sh64__)
13242 < #define __NR_epoll_create 282
13243 < #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
13244 < #define __NR_epoll_create 254
13245 < #else
13246 < #error No system call numbers defined for epoll family.
13247 < #endif
13248 < #endif
13249 < _syscall1(int, epoll_create, int, size)
13250 < #endif
13251 < main() { return epoll_create(256) == -1 ? 1 : 0; }
13252 <
14291 > int
14292 > main ()
14293 > {
14294 > epoll_create(256);
14295 >  ;
14296 >  return 0;
14297 > }
14298   _ACEOF
14299 < if ac_fn_c_try_run "$LINENO"; then :
14299 > if ac_fn_c_try_link "$LINENO"; then :
14300    is_epoll_mechanism_available="yes"
14301   else
14302    is_epoll_mechanism_available="no"
14303   fi
14304 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14305 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13261 < fi
13262 <
14304 > rm -f core conftest.err conftest.$ac_objext \
14305 >    conftest$ac_exeext conftest.$ac_ext
14306        iopoll_mechanism_devpoll=3
14307  
14308   cat >>confdefs.h <<_ACEOF
# Line 13310 | Line 14353 | rm -f core conftest.err conftest.$ac_obj
14353   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14354  
14355    fi
14356 <      iopoll_mechanism_rtsigio=4
13314 <
13315 < cat >>confdefs.h <<_ACEOF
13316 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13317 < _ACEOF
13318 <
13319 <  if test "$cross_compiling" = yes; then :
13320 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13321 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13322 < as_fn_error "cannot run test program while cross compiling
13323 < See \`config.log' for more details." "$LINENO" 5; }
13324 < else
13325 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326 < /* end confdefs.h.  */
13327 <
13328 < #include <fcntl.h>
13329 < #ifdef F_SETSIG
13330 < main () { return 0; } /* F_SETSIG defined */
13331 < #else
13332 < main () { return 1; } /* F_SETSIG not defined */
13333 < #endif
13334 <
13335 < int
13336 < main ()
13337 < {
13338 <
13339 <  ;
13340 <  return 0;
13341 < }
13342 < _ACEOF
13343 < if ac_fn_c_try_run "$LINENO"; then :
13344 <  is_rtsigio_mechanism_available="yes"
13345 < else
13346 <  is_rtsigio_mechanism_available="no"
13347 < fi
13348 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13349 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13350 < fi
13351 <
13352 <      iopoll_mechanism_poll=5
14356 >      iopoll_mechanism_poll=4
14357  
14358   cat >>confdefs.h <<_ACEOF
14359   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13403 | Line 14407 | else
14407   fi
14408   rm -f core conftest.err conftest.$ac_objext \
14409      conftest$ac_exeext conftest.$ac_ext
13406      iopoll_mechanism_select=6
13407
13408 cat >>confdefs.h <<_ACEOF
13409 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
13410 _ACEOF
13411
13412  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h.  */
13414 /* Define select to an innocuous variant, in case <limits.h> declares select.
13415   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13416 #define select innocuous_select
13417
13418 /* System header to define __stub macros and hopefully few prototypes,
13419    which can conflict with char select (); below.
13420    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13421    <limits.h> exists even on freestanding compilers.  */
13422
13423 #ifdef __STDC__
13424 # include <limits.h>
13425 #else
13426 # include <assert.h>
13427 #endif
13428
13429 #undef select
13430
13431 /* Override any GCC internal prototype to avoid an error.
13432   Use char because int might match the return type of a GCC
13433   builtin and then its argument prototype would still apply.  */
13434 #ifdef __cplusplus
13435 extern "C"
13436 #endif
13437 char select ();
13438 /* The GNU C library defines this for functions which it implements
13439    to always fail with ENOSYS.  Some functions are actually named
13440    something starting with __ and the normal name is an alias.  */
13441 #if defined __stub_select || defined __stub___select
13442 choke me
13443 #endif
13444
13445 int
13446 main ()
13447 {
13448 return select ();
13449  ;
13450  return 0;
13451 }
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454  is_select_mechanism_available="yes"
13455 else
13456  is_select_mechanism_available="no"
13457 fi
13458 rm -f core conftest.err conftest.$ac_objext \
13459    conftest$ac_exeext conftest.$ac_ext
14410        optimal_iopoll_mechanism="none"
14411 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14411 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14412      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14413      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14414        optimal_iopoll_mechanism="$mechanism"
# Line 13469 | Line 14419 | rm -f core conftest.err conftest.$ac_obj
14419      if test "$optimal_iopoll_mechanism" = "none" ; then
14420        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14421   $as_echo "none" >&6; }
14422 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14422 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14423      else
14424        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14425        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13484 | Line 14434 | $as_echo "$selected_iopoll_mechanism" >&
14434      else
14435        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14436   $as_echo "none" >&6; }
14437 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14437 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14438      fi
14439    fi
14440        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13495 | Line 14445 | _ACEOF
14445  
14446  
14447  
14448 +  # Check whether --enable-debugging was given.
14449 + if test "${enable_debugging+set}" = set; then :
14450 +  enableval=$enable_debugging; debugging="$enableval"
14451 + else
14452 +  debugging="no"
14453 + fi
14454  
14455 < # Check whether --with-nicklen was given.
14456 < if test "${with_nicklen+set}" = set; then :
14457 <  withval=$with_nicklen; nicklen="$withval"
14455 >  if test "$debugging" = "yes" ; then
14456 >    CFLAGS="-Wall -g -O0"
14457 >  fi
14458 >
14459 >
14460 >  # Check whether --enable-warnings was given.
14461 > if test "${enable_warnings+set}" = set; then :
14462 >  enableval=$enable_warnings; warnings="$enableval"
14463   else
14464 <  nicklen="9"
14464 >  warnings="no"
14465   fi
14466  
14467 +  if test "$warnings" = "yes" ; then
14468  
14469 < cat >>confdefs.h <<_ACEOF
14470 < #define NICKLEN ($nicklen+1)
14469 >
14470 >
14471 >
14472 > for flag in -Wall; do
14473 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14474 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14475 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14476 > if eval \${$as_CACHEVAR+:} false; then :
14477 >  $as_echo_n "(cached) " >&6
14478 > else
14479 >
14480 >  ax_check_save_flags=$CFLAGS
14481 >  CFLAGS="$CFLAGS  $flag"
14482 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 > /* end confdefs.h.  */
14484 >
14485 > int
14486 > main ()
14487 > {
14488 >
14489 >  ;
14490 >  return 0;
14491 > }
14492 > _ACEOF
14493 > if ac_fn_c_try_compile "$LINENO"; then :
14494 >  eval "$as_CACHEVAR=yes"
14495 > else
14496 >  eval "$as_CACHEVAR=no"
14497 > fi
14498 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14499 >  CFLAGS=$ax_check_save_flags
14500 > fi
14501 > eval ac_res=\$$as_CACHEVAR
14502 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14503 > $as_echo "$ac_res" >&6; }
14504 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14505 >  if ${CFLAGS+:} false; then :
14506 >  case " $CFLAGS " in
14507 >    *" $flag "*)
14508 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14509 >  (: CFLAGS already contains $flag) 2>&5
14510 >  ac_status=$?
14511 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14512 >  test $ac_status = 0; }
14513 >      ;;
14514 >    *)
14515 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14516 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14517 >  ac_status=$?
14518 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14519 >  test $ac_status = 0; }
14520 >      CFLAGS="$CFLAGS $flag"
14521 >      ;;
14522 >   esac
14523 > else
14524 >  CFLAGS="$flag"
14525 > fi
14526 >
14527 > else
14528 >  :
14529 > fi
14530 >
14531 > done
14532 >
14533 >
14534 >
14535 >
14536 >
14537 > for flag in -Wextra; do
14538 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14539 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14540 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14541 > if eval \${$as_CACHEVAR+:} false; then :
14542 >  $as_echo_n "(cached) " >&6
14543 > else
14544 >
14545 >  ax_check_save_flags=$CFLAGS
14546 >  CFLAGS="$CFLAGS  $flag"
14547 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 > /* end confdefs.h.  */
14549 >
14550 > int
14551 > main ()
14552 > {
14553 >
14554 >  ;
14555 >  return 0;
14556 > }
14557   _ACEOF
14558 + if ac_fn_c_try_compile "$LINENO"; then :
14559 +  eval "$as_CACHEVAR=yes"
14560 + else
14561 +  eval "$as_CACHEVAR=no"
14562 + fi
14563 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14564 +  CFLAGS=$ax_check_save_flags
14565 + fi
14566 + eval ac_res=\$$as_CACHEVAR
14567 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14568 + $as_echo "$ac_res" >&6; }
14569 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14570 +  if ${CFLAGS+:} false; then :
14571 +  case " $CFLAGS " in
14572 +    *" $flag "*)
14573 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14574 +  (: CFLAGS already contains $flag) 2>&5
14575 +  ac_status=$?
14576 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14577 +  test $ac_status = 0; }
14578 +      ;;
14579 +    *)
14580 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14581 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14582 +  ac_status=$?
14583 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14584 +  test $ac_status = 0; }
14585 +      CFLAGS="$CFLAGS $flag"
14586 +      ;;
14587 +   esac
14588 + else
14589 +  CFLAGS="$flag"
14590 + fi
14591 +
14592 + else
14593 +  :
14594 + fi
14595 +
14596 + done
14597 +
14598  
14599  
14600  
14601  
14602 < # Check whether --with-topiclen was given.
14603 < if test "${with_topiclen+set}" = set; then :
14604 <  withval=$with_topiclen; topiclen="$withval"
14602 > for flag in -Wno-unused; do
14603 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14604 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14605 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14606 > if eval \${$as_CACHEVAR+:} false; then :
14607 >  $as_echo_n "(cached) " >&6
14608 > else
14609 >
14610 >  ax_check_save_flags=$CFLAGS
14611 >  CFLAGS="$CFLAGS  $flag"
14612 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 > /* end confdefs.h.  */
14614 >
14615 > int
14616 > main ()
14617 > {
14618 >
14619 >  ;
14620 >  return 0;
14621 > }
14622 > _ACEOF
14623 > if ac_fn_c_try_compile "$LINENO"; then :
14624 >  eval "$as_CACHEVAR=yes"
14625 > else
14626 >  eval "$as_CACHEVAR=no"
14627 > fi
14628 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14629 >  CFLAGS=$ax_check_save_flags
14630 > fi
14631 > eval ac_res=\$$as_CACHEVAR
14632 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14633 > $as_echo "$ac_res" >&6; }
14634 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14635 >  if ${CFLAGS+:} false; then :
14636 >  case " $CFLAGS " in
14637 >    *" $flag "*)
14638 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14639 >  (: CFLAGS already contains $flag) 2>&5
14640 >  ac_status=$?
14641 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14642 >  test $ac_status = 0; }
14643 >      ;;
14644 >    *)
14645 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14646 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14647 >  ac_status=$?
14648 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14649 >  test $ac_status = 0; }
14650 >      CFLAGS="$CFLAGS $flag"
14651 >      ;;
14652 >   esac
14653 > else
14654 >  CFLAGS="$flag"
14655 > fi
14656 >
14657   else
14658 <  topiclen="160"
14658 >  :
14659   fi
14660  
14661 + done
14662  
14663 < cat >>confdefs.h <<_ACEOF
14664 < #define TOPICLEN ($topiclen+1)
14663 >
14664 >
14665 >
14666 >
14667 > for flag in -Wcast-qual; do
14668 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14669 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14670 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14671 > if eval \${$as_CACHEVAR+:} false; then :
14672 >  $as_echo_n "(cached) " >&6
14673 > else
14674 >
14675 >  ax_check_save_flags=$CFLAGS
14676 >  CFLAGS="$CFLAGS  $flag"
14677 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 > /* end confdefs.h.  */
14679 >
14680 > int
14681 > main ()
14682 > {
14683 >
14684 >  ;
14685 >  return 0;
14686 > }
14687   _ACEOF
14688 + if ac_fn_c_try_compile "$LINENO"; then :
14689 +  eval "$as_CACHEVAR=yes"
14690 + else
14691 +  eval "$as_CACHEVAR=no"
14692 + fi
14693 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14694 +  CFLAGS=$ax_check_save_flags
14695 + fi
14696 + eval ac_res=\$$as_CACHEVAR
14697 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14698 + $as_echo "$ac_res" >&6; }
14699 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14700 +  if ${CFLAGS+:} false; then :
14701 +  case " $CFLAGS " in
14702 +    *" $flag "*)
14703 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14704 +  (: CFLAGS already contains $flag) 2>&5
14705 +  ac_status=$?
14706 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14707 +  test $ac_status = 0; }
14708 +      ;;
14709 +    *)
14710 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14711 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14712 +  ac_status=$?
14713 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14714 +  test $ac_status = 0; }
14715 +      CFLAGS="$CFLAGS $flag"
14716 +      ;;
14717 +   esac
14718 + else
14719 +  CFLAGS="$flag"
14720 + fi
14721 +
14722 + else
14723 +  :
14724 + fi
14725 +
14726 + done
14727 +
14728  
14729  
14730  
14731  
14732 < # Check whether --with-syslog-facility was given.
14733 < if test "${with_syslog_facility+set}" = set; then :
14734 <  withval=$with_syslog_facility; syslog_facility="$withval"
14732 > for flag in -Wcast-align; do
14733 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14734 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14735 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14736 > if eval \${$as_CACHEVAR+:} false; then :
14737 >  $as_echo_n "(cached) " >&6
14738 > else
14739 >
14740 >  ax_check_save_flags=$CFLAGS
14741 >  CFLAGS="$CFLAGS  $flag"
14742 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 > /* end confdefs.h.  */
14744 >
14745 > int
14746 > main ()
14747 > {
14748 >
14749 >  ;
14750 >  return 0;
14751 > }
14752 > _ACEOF
14753 > if ac_fn_c_try_compile "$LINENO"; then :
14754 >  eval "$as_CACHEVAR=yes"
14755   else
14756 <  syslog_facility="LOG_LOCAL4"
14756 >  eval "$as_CACHEVAR=no"
14757 > fi
14758 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14759 >  CFLAGS=$ax_check_save_flags
14760 > fi
14761 > eval ac_res=\$$as_CACHEVAR
14762 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14763 > $as_echo "$ac_res" >&6; }
14764 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14765 >  if ${CFLAGS+:} false; then :
14766 >  case " $CFLAGS " in
14767 >    *" $flag "*)
14768 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14769 >  (: CFLAGS already contains $flag) 2>&5
14770 >  ac_status=$?
14771 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14772 >  test $ac_status = 0; }
14773 >      ;;
14774 >    *)
14775 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14776 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14777 >  ac_status=$?
14778 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14779 >  test $ac_status = 0; }
14780 >      CFLAGS="$CFLAGS $flag"
14781 >      ;;
14782 >   esac
14783 > else
14784 >  CFLAGS="$flag"
14785   fi
14786  
14787 + else
14788 +  :
14789 + fi
14790  
14791 < cat >>confdefs.h <<_ACEOF
14792 < #define LOG_FACILITY $syslog_facility
14791 > done
14792 >
14793 >
14794 >
14795 >
14796 >
14797 > for flag in -Wbad-function-cast; do
14798 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14799 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14800 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14801 > if eval \${$as_CACHEVAR+:} false; then :
14802 >  $as_echo_n "(cached) " >&6
14803 > else
14804 >
14805 >  ax_check_save_flags=$CFLAGS
14806 >  CFLAGS="$CFLAGS  $flag"
14807 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 > /* end confdefs.h.  */
14809 >
14810 > int
14811 > main ()
14812 > {
14813 >
14814 >  ;
14815 >  return 0;
14816 > }
14817   _ACEOF
14818 + if ac_fn_c_try_compile "$LINENO"; then :
14819 +  eval "$as_CACHEVAR=yes"
14820 + else
14821 +  eval "$as_CACHEVAR=no"
14822 + fi
14823 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824 +  CFLAGS=$ax_check_save_flags
14825 + fi
14826 + eval ac_res=\$$as_CACHEVAR
14827 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14828 + $as_echo "$ac_res" >&6; }
14829 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14830 +  if ${CFLAGS+:} false; then :
14831 +  case " $CFLAGS " in
14832 +    *" $flag "*)
14833 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14834 +  (: CFLAGS already contains $flag) 2>&5
14835 +  ac_status=$?
14836 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14837 +  test $ac_status = 0; }
14838 +      ;;
14839 +    *)
14840 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14841 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14842 +  ac_status=$?
14843 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14844 +  test $ac_status = 0; }
14845 +      CFLAGS="$CFLAGS $flag"
14846 +      ;;
14847 +   esac
14848 + else
14849 +  CFLAGS="$flag"
14850 + fi
14851 +
14852 + else
14853 +  :
14854 + fi
14855 +
14856 + done
14857  
14858  
14859  
14860 <  # Check whether --enable-efnet was given.
14861 < if test "${enable_efnet+set}" = set; then :
14862 <  enableval=$enable_efnet; efnet="$enableval"
14860 >
14861 >
14862 > for flag in -Wlogical-op; do
14863 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14864 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14865 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14866 > if eval \${$as_CACHEVAR+:} false; then :
14867 >  $as_echo_n "(cached) " >&6
14868 > else
14869 >
14870 >  ax_check_save_flags=$CFLAGS
14871 >  CFLAGS="$CFLAGS  $flag"
14872 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 > /* end confdefs.h.  */
14874 >
14875 > int
14876 > main ()
14877 > {
14878 >
14879 >  ;
14880 >  return 0;
14881 > }
14882 > _ACEOF
14883 > if ac_fn_c_try_compile "$LINENO"; then :
14884 >  eval "$as_CACHEVAR=yes"
14885 > else
14886 >  eval "$as_CACHEVAR=no"
14887 > fi
14888 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14889 >  CFLAGS=$ax_check_save_flags
14890 > fi
14891 > eval ac_res=\$$as_CACHEVAR
14892 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14893 > $as_echo "$ac_res" >&6; }
14894 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14895 >  if ${CFLAGS+:} false; then :
14896 >  case " $CFLAGS " in
14897 >    *" $flag "*)
14898 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14899 >  (: CFLAGS already contains $flag) 2>&5
14900 >  ac_status=$?
14901 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14902 >  test $ac_status = 0; }
14903 >      ;;
14904 >    *)
14905 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14906 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14907 >  ac_status=$?
14908 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14909 >  test $ac_status = 0; }
14910 >      CFLAGS="$CFLAGS $flag"
14911 >      ;;
14912 >   esac
14913   else
14914 <  efnet="no"
14914 >  CFLAGS="$flag"
14915 > fi
14916 >
14917 > else
14918 >  :
14919   fi
14920  
14921 <  if test "$efnet" = "yes" ; then
13551 <                use_efnet="yes"
14921 > done
14922  
13553 $as_echo "#define EFNET 1" >>confdefs.h
14923  
14924  
13556 $as_echo "#define TS5_ONLY 1" >>confdefs.h
14925  
13558        else
14926  
14927 < $as_echo "#define INVARIANTS 1" >>confdefs.h
14927 > for flag in -Wmissing-declarations; do
14928 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14929 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14930 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14931 > if eval \${$as_CACHEVAR+:} false; then :
14932 >  $as_echo_n "(cached) " >&6
14933 > else
14934  
14935 <                use_efnet="no"
14936 <  fi
14937 <   if test "$use_efnet" = "yes"; then
14938 <  EFNET_TRUE=
14939 <  EFNET_FALSE='#'
14935 >  ax_check_save_flags=$CFLAGS
14936 >  CFLAGS="$CFLAGS  $flag"
14937 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 > /* end confdefs.h.  */
14939 >
14940 > int
14941 > main ()
14942 > {
14943 >
14944 >  ;
14945 >  return 0;
14946 > }
14947 > _ACEOF
14948 > if ac_fn_c_try_compile "$LINENO"; then :
14949 >  eval "$as_CACHEVAR=yes"
14950   else
14951 <  EFNET_TRUE='#'
14952 <  EFNET_FALSE=
14951 >  eval "$as_CACHEVAR=no"
14952 > fi
14953 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14954 >  CFLAGS=$ax_check_save_flags
14955 > fi
14956 > eval ac_res=\$$as_CACHEVAR
14957 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14958 > $as_echo "$ac_res" >&6; }
14959 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14960 >  if ${CFLAGS+:} false; then :
14961 >  case " $CFLAGS " in
14962 >    *" $flag "*)
14963 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14964 >  (: CFLAGS already contains $flag) 2>&5
14965 >  ac_status=$?
14966 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 >  test $ac_status = 0; }
14968 >      ;;
14969 >    *)
14970 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14971 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14972 >  ac_status=$?
14973 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14974 >  test $ac_status = 0; }
14975 >      CFLAGS="$CFLAGS $flag"
14976 >      ;;
14977 >   esac
14978 > else
14979 >  CFLAGS="$flag"
14980   fi
14981  
14982 + else
14983 +  :
14984 + fi
14985 +
14986 + done
14987  
14988  
14989 <  # Check whether --enable-halfops was given.
14990 < if test "${enable_halfops+set}" = set; then :
14991 <  enableval=$enable_halfops; halfops="$enableval"
14989 >
14990 >
14991 >
14992 > for flag in -Wmissing-include-dirs; do
14993 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14994 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14995 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14996 > if eval \${$as_CACHEVAR+:} false; then :
14997 >  $as_echo_n "(cached) " >&6
14998   else
14999 <  halfops="no"
14999 >
15000 >  ax_check_save_flags=$CFLAGS
15001 >  CFLAGS="$CFLAGS  $flag"
15002 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 > /* end confdefs.h.  */
15004 >
15005 > int
15006 > main ()
15007 > {
15008 >
15009 >  ;
15010 >  return 0;
15011 > }
15012 > _ACEOF
15013 > if ac_fn_c_try_compile "$LINENO"; then :
15014 >  eval "$as_CACHEVAR=yes"
15015 > else
15016 >  eval "$as_CACHEVAR=no"
15017 > fi
15018 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15019 >  CFLAGS=$ax_check_save_flags
15020 > fi
15021 > eval ac_res=\$$as_CACHEVAR
15022 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15023 > $as_echo "$ac_res" >&6; }
15024 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15025 >  if ${CFLAGS+:} false; then :
15026 >  case " $CFLAGS " in
15027 >    *" $flag "*)
15028 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15029 >  (: CFLAGS already contains $flag) 2>&5
15030 >  ac_status=$?
15031 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15032 >  test $ac_status = 0; }
15033 >      ;;
15034 >    *)
15035 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15036 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15037 >  ac_status=$?
15038 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15039 >  test $ac_status = 0; }
15040 >      CFLAGS="$CFLAGS $flag"
15041 >      ;;
15042 >   esac
15043 > else
15044 >  CFLAGS="$flag"
15045   fi
15046  
15047 <  if test "$halfops" = "yes" ; then
15047 > else
15048 >  :
15049 > fi
15050  
15051 < $as_echo "#define HALFOPS 1" >>confdefs.h
15051 > done
15052  
13585  fi
15053  
15054  
15055 <  # Check whether --enable-debugging was given.
15056 < if test "${enable_debugging+set}" = set; then :
15057 <  enableval=$enable_debugging; debugging="$enableval"
15055 >
15056 >
15057 > for flag in -Wmissing-prototypes; do
15058 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15059 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15060 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15061 > if eval \${$as_CACHEVAR+:} false; then :
15062 >  $as_echo_n "(cached) " >&6
15063   else
15064 <  debugging="no"
15064 >
15065 >  ax_check_save_flags=$CFLAGS
15066 >  CFLAGS="$CFLAGS  $flag"
15067 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 > /* end confdefs.h.  */
15069 >
15070 > int
15071 > main ()
15072 > {
15073 >
15074 >  ;
15075 >  return 0;
15076 > }
15077 > _ACEOF
15078 > if ac_fn_c_try_compile "$LINENO"; then :
15079 >  eval "$as_CACHEVAR=yes"
15080 > else
15081 >  eval "$as_CACHEVAR=no"
15082 > fi
15083 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15084 >  CFLAGS=$ax_check_save_flags
15085 > fi
15086 > eval ac_res=\$$as_CACHEVAR
15087 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15088 > $as_echo "$ac_res" >&6; }
15089 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15090 >  if ${CFLAGS+:} false; then :
15091 >  case " $CFLAGS " in
15092 >    *" $flag "*)
15093 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15094 >  (: CFLAGS already contains $flag) 2>&5
15095 >  ac_status=$?
15096 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15097 >  test $ac_status = 0; }
15098 >      ;;
15099 >    *)
15100 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15101 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15102 >  ac_status=$?
15103 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 >  test $ac_status = 0; }
15105 >      CFLAGS="$CFLAGS $flag"
15106 >      ;;
15107 >   esac
15108 > else
15109 >  CFLAGS="$flag"
15110   fi
15111  
15112 <  if test "$debugging" = "yes" ; then
15112 > else
15113 >  :
15114 > fi
15115  
15116 < $as_echo "#define DEBUG 1" >>confdefs.h
15116 > done
15117  
13599    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13600  else
15118  
13602 $as_echo "#define NDEBUG 1" >>confdefs.h
15119  
13604  fi
15120  
15121  
15122 <  # Check whether --enable-warnings was given.
15123 < if test "${enable_warnings+set}" = set; then :
15124 <  enableval=$enable_warnings; warnings="$enableval"
15122 > for flag in -Wnested-externs; do
15123 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15124 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15125 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15126 > if eval \${$as_CACHEVAR+:} false; then :
15127 >  $as_echo_n "(cached) " >&6
15128   else
15129 <  warnings="no"
15129 >
15130 >  ax_check_save_flags=$CFLAGS
15131 >  CFLAGS="$CFLAGS  $flag"
15132 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 > /* end confdefs.h.  */
15134 >
15135 > int
15136 > main ()
15137 > {
15138 >
15139 >  ;
15140 >  return 0;
15141 > }
15142 > _ACEOF
15143 > if ac_fn_c_try_compile "$LINENO"; then :
15144 >  eval "$as_CACHEVAR=yes"
15145 > else
15146 >  eval "$as_CACHEVAR=no"
15147 > fi
15148 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15149 >  CFLAGS=$ax_check_save_flags
15150 > fi
15151 > eval ac_res=\$$as_CACHEVAR
15152 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15153 > $as_echo "$ac_res" >&6; }
15154 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15155 >  if ${CFLAGS+:} false; then :
15156 >  case " $CFLAGS " in
15157 >    *" $flag "*)
15158 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15159 >  (: CFLAGS already contains $flag) 2>&5
15160 >  ac_status=$?
15161 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15162 >  test $ac_status = 0; }
15163 >      ;;
15164 >    *)
15165 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15166 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15167 >  ac_status=$?
15168 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15169 >  test $ac_status = 0; }
15170 >      CFLAGS="$CFLAGS $flag"
15171 >      ;;
15172 >   esac
15173 > else
15174 >  CFLAGS="$flag"
15175   fi
15176  
15177 <  if test "$warnings" = "yes" ; then
15178 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef"
15179 <  fi
15177 > else
15178 >  :
15179 > fi
15180  
15181 + done
15182  
15183 <  for ac_header in syslog.h sys/syslog.h
15184 < do :
15185 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15186 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15187 < eval as_val=\$$as_ac_Header
15188 <   if test "x$as_val" = x""yes; then :
15189 <  cat >>confdefs.h <<_ACEOF
15190 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15183 >
15184 >
15185 >
15186 >
15187 > for flag in -Wpointer-arith; do
15188 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15189 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15190 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15191 > if eval \${$as_CACHEVAR+:} false; then :
15192 >  $as_echo_n "(cached) " >&6
15193 > else
15194 >
15195 >  ax_check_save_flags=$CFLAGS
15196 >  CFLAGS="$CFLAGS  $flag"
15197 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 > /* end confdefs.h.  */
15199 >
15200 > int
15201 > main ()
15202 > {
15203 >
15204 >  ;
15205 >  return 0;
15206 > }
15207   _ACEOF
15208 + if ac_fn_c_try_compile "$LINENO"; then :
15209 +  eval "$as_CACHEVAR=yes"
15210 + else
15211 +  eval "$as_CACHEVAR=no"
15212 + fi
15213 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15214 +  CFLAGS=$ax_check_save_flags
15215 + fi
15216 + eval ac_res=\$$as_CACHEVAR
15217 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15218 + $as_echo "$ac_res" >&6; }
15219 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15220 +  if ${CFLAGS+:} false; then :
15221 +  case " $CFLAGS " in
15222 +    *" $flag "*)
15223 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15224 +  (: CFLAGS already contains $flag) 2>&5
15225 +  ac_status=$?
15226 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15227 +  test $ac_status = 0; }
15228 +      ;;
15229 +    *)
15230 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15231 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15232 +  ac_status=$?
15233 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15234 +  test $ac_status = 0; }
15235 +      CFLAGS="$CFLAGS $flag"
15236 +      ;;
15237 +   esac
15238 + else
15239 +  CFLAGS="$flag"
15240 + fi
15241  
15242 + else
15243 +  :
15244   fi
15245  
15246   done
15247  
15248 <  # Check whether --enable-syslog was given.
15249 < if test "${enable_syslog+set}" = set; then :
15250 <  enableval=$enable_syslog; syslog="$enableval"
15251 < else
15252 <  syslog="no"
15248 >
15249 >
15250 >
15251 >
15252 > for flag in -Wredundant-decls; do
15253 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15254 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15255 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15256 > if eval \${$as_CACHEVAR+:} false; then :
15257 >  $as_echo_n "(cached) " >&6
15258 > else
15259 >
15260 >  ax_check_save_flags=$CFLAGS
15261 >  CFLAGS="$CFLAGS  $flag"
15262 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 > /* end confdefs.h.  */
15264 >
15265 > int
15266 > main ()
15267 > {
15268 >
15269 >  ;
15270 >  return 0;
15271 > }
15272 > _ACEOF
15273 > if ac_fn_c_try_compile "$LINENO"; then :
15274 >  eval "$as_CACHEVAR=yes"
15275 > else
15276 >  eval "$as_CACHEVAR=no"
15277 > fi
15278 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15279 >  CFLAGS=$ax_check_save_flags
15280 > fi
15281 > eval ac_res=\$$as_CACHEVAR
15282 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15283 > $as_echo "$ac_res" >&6; }
15284 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15285 >  if ${CFLAGS+:} false; then :
15286 >  case " $CFLAGS " in
15287 >    *" $flag "*)
15288 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15289 >  (: CFLAGS already contains $flag) 2>&5
15290 >  ac_status=$?
15291 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15292 >  test $ac_status = 0; }
15293 >      ;;
15294 >    *)
15295 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15296 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15297 >  ac_status=$?
15298 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15299 >  test $ac_status = 0; }
15300 >      CFLAGS="$CFLAGS $flag"
15301 >      ;;
15302 >   esac
15303 > else
15304 >  CFLAGS="$flag"
15305   fi
15306  
15307 <  if test "$enableval" != "no" ; then
15308 <    for option in $enableval ; do
15309 <      case "$option" in
15310 <        users)
15311 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
15312 < ;;
15313 <        oper)
15314 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
15315 < ;;
15316 <        yes) : ;;
15317 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
15318 <      esac
15319 <    done
15307 > else
15308 >  :
15309 > fi
15310 >
15311 > done
15312 >
15313 >
15314 >
15315 >
15316 >
15317 > for flag in -Wshadow; do
15318 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15319 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15320 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15321 > if eval \${$as_CACHEVAR+:} false; then :
15322 >  $as_echo_n "(cached) " >&6
15323 > else
15324 >
15325 >  ax_check_save_flags=$CFLAGS
15326 >  CFLAGS="$CFLAGS  $flag"
15327 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 > /* end confdefs.h.  */
15329  
15330 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15330 > int
15331 > main ()
15332 > {
15333 >
15334 >  ;
15335 >  return 0;
15336 > }
15337 > _ACEOF
15338 > if ac_fn_c_try_compile "$LINENO"; then :
15339 >  eval "$as_CACHEVAR=yes"
15340 > else
15341 >  eval "$as_CACHEVAR=no"
15342 > fi
15343 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344 >  CFLAGS=$ax_check_save_flags
15345 > fi
15346 > eval ac_res=\$$as_CACHEVAR
15347 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15348 > $as_echo "$ac_res" >&6; }
15349 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15350 >  if ${CFLAGS+:} false; then :
15351 >  case " $CFLAGS " in
15352 >    *" $flag "*)
15353 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15354 >  (: CFLAGS already contains $flag) 2>&5
15355 >  ac_status=$?
15356 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15357 >  test $ac_status = 0; }
15358 >      ;;
15359 >    *)
15360 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15361 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15362 >  ac_status=$?
15363 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15364 >  test $ac_status = 0; }
15365 >      CFLAGS="$CFLAGS $flag"
15366 >      ;;
15367 >   esac
15368 > else
15369 >  CFLAGS="$flag"
15370 > fi
15371 >
15372 > else
15373 >  :
15374 > fi
15375 >
15376 > done
15377 >
15378 >
15379 >
15380 >
15381 >
15382 > for flag in -Wwrite-strings; do
15383 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15384 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15385 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15386 > if eval \${$as_CACHEVAR+:} false; then :
15387 >  $as_echo_n "(cached) " >&6
15388 > else
15389 >
15390 >  ax_check_save_flags=$CFLAGS
15391 >  CFLAGS="$CFLAGS  $flag"
15392 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 > /* end confdefs.h.  */
15394 >
15395 > int
15396 > main ()
15397 > {
15398 >
15399 >  ;
15400 >  return 0;
15401 > }
15402 > _ACEOF
15403 > if ac_fn_c_try_compile "$LINENO"; then :
15404 >  eval "$as_CACHEVAR=yes"
15405 > else
15406 >  eval "$as_CACHEVAR=no"
15407 > fi
15408 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15409 >  CFLAGS=$ax_check_save_flags
15410 > fi
15411 > eval ac_res=\$$as_CACHEVAR
15412 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15413 > $as_echo "$ac_res" >&6; }
15414 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15415 >  if ${CFLAGS+:} false; then :
15416 >  case " $CFLAGS " in
15417 >    *" $flag "*)
15418 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15419 >  (: CFLAGS already contains $flag) 2>&5
15420 >  ac_status=$?
15421 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15422 >  test $ac_status = 0; }
15423 >      ;;
15424 >    *)
15425 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15426 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15427 >  ac_status=$?
15428 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15429 >  test $ac_status = 0; }
15430 >      CFLAGS="$CFLAGS $flag"
15431 >      ;;
15432 >   esac
15433 > else
15434 >  CFLAGS="$flag"
15435 > fi
15436 >
15437 > else
15438 >  :
15439 > fi
15440 >
15441 > done
15442 >
15443 >
15444 >
15445 >
15446 >
15447 > for flag in -Wundef; do
15448 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15449 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15450 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15451 > if eval \${$as_CACHEVAR+:} false; then :
15452 >  $as_echo_n "(cached) " >&6
15453 > else
15454 >
15455 >  ax_check_save_flags=$CFLAGS
15456 >  CFLAGS="$CFLAGS  $flag"
15457 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 > /* end confdefs.h.  */
15459 >
15460 > int
15461 > main ()
15462 > {
15463 >
15464 >  ;
15465 >  return 0;
15466 > }
15467 > _ACEOF
15468 > if ac_fn_c_try_compile "$LINENO"; then :
15469 >  eval "$as_CACHEVAR=yes"
15470 > else
15471 >  eval "$as_CACHEVAR=no"
15472 > fi
15473 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15474 >  CFLAGS=$ax_check_save_flags
15475 > fi
15476 > eval ac_res=\$$as_CACHEVAR
15477 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15478 > $as_echo "$ac_res" >&6; }
15479 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15480 >  if ${CFLAGS+:} false; then :
15481 >  case " $CFLAGS " in
15482 >    *" $flag "*)
15483 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15484 >  (: CFLAGS already contains $flag) 2>&5
15485 >  ac_status=$?
15486 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15487 >  test $ac_status = 0; }
15488 >      ;;
15489 >    *)
15490 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15491 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15492 >  ac_status=$?
15493 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15494 >  test $ac_status = 0; }
15495 >      CFLAGS="$CFLAGS $flag"
15496 >      ;;
15497 >   esac
15498 > else
15499 >  CFLAGS="$flag"
15500 > fi
15501 >
15502 > else
15503 >  :
15504 > fi
15505 >
15506 > done
15507  
15508    fi
15509  
# Line 13742 | Line 15594 | _ACEOF
15594    test "$exec_prefix_NONE" && exec_prefix=NONE
15595  
15596  
15597 < 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"
15597 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15598  
15599  
15600   cat >confcache <<\_ACEOF
# Line 13809 | Line 15661 | $as_echo "$as_me: WARNING: cache variabl
15661       :end' >>confcache
15662   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15663    if test -w "$cache_file"; then
15664 <    test "x$cache_file" != "x/dev/null" &&
15664 >    if test "x$cache_file" != "x/dev/null"; then
15665        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15666   $as_echo "$as_me: updating cache $cache_file" >&6;}
15667 <    cat confcache >$cache_file
15667 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15668 >        cat confcache >"$cache_file"
15669 >      else
15670 >        case $cache_file in #(
15671 >        */* | ?:*)
15672 >          mv -f confcache "$cache_file"$$ &&
15673 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15674 >        *)
15675 >          mv -f confcache "$cache_file" ;;
15676 >        esac
15677 >      fi
15678 >    fi
15679    else
15680      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15681   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13828 | Line 15691 | DEFS=-DHAVE_CONFIG_H
15691  
15692   ac_libobjs=
15693   ac_ltlibobjs=
15694 + U=
15695   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15696    # 1. Remove the extension, and $U if already installed.
15697    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13842 | Line 15706 | LIBOBJS=$ac_libobjs
15706   LTLIBOBJS=$ac_ltlibobjs
15707  
15708  
15709 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15710 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15711 +   if test -n "$am_sleep_pid"; then
15712 +     # Hide warnings about reused PIDs.
15713 +     wait $am_sleep_pid 2>/dev/null
15714 +   fi
15715 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15716 + $as_echo "done" >&6; }
15717   if test -n "$EXEEXT"; then
15718    am__EXEEXT_TRUE=
15719    am__EXEEXT_FALSE='#'
# Line 13851 | Line 15723 | else
15723   fi
15724  
15725   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15726 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15726 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15727   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15728   fi
15729   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15730 <  as_fn_error "conditional \"AMDEP\" was never defined.
15730 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15731   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15732   fi
15733   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15734 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15734 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15735   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15736   fi
15737   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15738 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15738 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15739   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15740   fi
15741   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15742 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15742 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15743   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15744   fi
15745   LT_CONFIG_H=config.h
# Line 13889 | Line 15761 | LT_CONFIG_H=config.h
15761  
15762  
15763   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15764 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13893 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13894 < fi
13895 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13896 <  as_fn_error "conditional \"EFNET\" was never defined.
15764 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15765   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15766   fi
15767  
15768 < : ${CONFIG_STATUS=./config.status}
15768 > : "${CONFIG_STATUS=./config.status}"
15769   ac_write_fail=0
15770   ac_clean_files_save=$ac_clean_files
15771   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13998 | Line 15866 | fi
15866   IFS=" ""        $as_nl"
15867  
15868   # Find who we are.  Look in the path if we contain no directory separator.
15869 + as_myself=
15870   case $0 in #((
15871    *[\\/]* ) as_myself=$0 ;;
15872    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14043 | Line 15912 | export LANGUAGE
15912   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15913  
15914  
15915 < # as_fn_error ERROR [LINENO LOG_FD]
15916 < # ---------------------------------
15915 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15916 > # ----------------------------------------
15917   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15918   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15919 < # script with status $?, using 1 if that was 0.
15919 > # script with STATUS, using 1 if that was 0.
15920   as_fn_error ()
15921   {
15922 <  as_status=$?; test $as_status -eq 0 && as_status=1
15923 <  if test "$3"; then
15924 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15925 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15922 >  as_status=$1; test $as_status -eq 0 && as_status=1
15923 >  if test "$4"; then
15924 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15925 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15926    fi
15927 <  $as_echo "$as_me: error: $1" >&2
15927 >  $as_echo "$as_me: error: $2" >&2
15928    as_fn_exit $as_status
15929   } # as_fn_error
15930  
# Line 14193 | Line 16062 | if (echo >conf$$.file) 2>/dev/null; then
16062      # ... but there are two gotchas:
16063      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16064      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16065 <    # In both cases, we have to default to `cp -p'.
16065 >    # In both cases, we have to default to `cp -pR'.
16066      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16067 <      as_ln_s='cp -p'
16067 >      as_ln_s='cp -pR'
16068    elif ln conf$$.file conf$$ 2>/dev/null; then
16069      as_ln_s=ln
16070    else
16071 <    as_ln_s='cp -p'
16071 >    as_ln_s='cp -pR'
16072    fi
16073   else
16074 <  as_ln_s='cp -p'
16074 >  as_ln_s='cp -pR'
16075   fi
16076   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16077   rmdir conf$$.dir 2>/dev/null
# Line 14251 | Line 16120 | $as_echo X"$as_dir" |
16120        test -d "$as_dir" && break
16121      done
16122      test -z "$as_dirs" || eval "mkdir $as_dirs"
16123 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16123 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16124  
16125  
16126   } # as_fn_mkdir_p
# Line 14262 | Line 16131 | else
16131    as_mkdir_p=false
16132   fi
16133  
16134 < if test -x / >/dev/null 2>&1; then
16135 <  as_test_x='test -x'
16136 < else
16137 <  if ls -dL / >/dev/null 2>&1; then
16138 <    as_ls_L_option=L
16139 <  else
16140 <    as_ls_L_option=
16141 <  fi
16142 <  as_test_x='
16143 <    eval sh -c '\''
14275 <      if test -d "$1"; then
14276 <        test -d "$1/.";
14277 <      else
14278 <        case $1 in #(
14279 <        -*)set "./$1";;
14280 <        esac;
14281 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14282 <        ???[sx]*):;;*)false;;esac;fi
14283 <    '\'' sh
14284 <  '
14285 < fi
14286 < as_executable_p=$as_test_x
16134 >
16135 > # as_fn_executable_p FILE
16136 > # -----------------------
16137 > # Test if FILE is an executable regular file.
16138 > as_fn_executable_p ()
16139 > {
16140 >  test -f "$1" && test -x "$1"
16141 > } # as_fn_executable_p
16142 > as_test_x='test -x'
16143 > as_executable_p=as_fn_executable_p
16144  
16145   # Sed expression to map a string onto a valid CPP name.
16146   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14304 | Line 16161 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16161   # report actual input values of CONFIG_FILES etc. instead of their
16162   # values after options handling.
16163   ac_log="
16164 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
16165 < generated by GNU Autoconf 2.64.  Invocation command line was
16164 > This file was extended by ircd-hybrid $as_me 8.2.0rc1, which was
16165 > generated by GNU Autoconf 2.69.  Invocation command line was
16166  
16167    CONFIG_FILES    = $CONFIG_FILES
16168    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14345 | Line 16202 | Usage: $0 [OPTION]... [TAG]...
16202  
16203    -h, --help       print this help, then exit
16204    -V, --version    print version number and configuration settings, then exit
16205 +      --config     print configuration, then exit
16206    -q, --quiet, --silent
16207                     do not print progress messages
16208    -d, --debug      don't remove temporary files
# Line 14363 | Line 16221 | $config_headers
16221   Configuration commands:
16222   $config_commands
16223  
16224 < Report bugs to the package provider."
16224 > Report bugs to <bugs@ircd-hybrid.org>."
16225  
16226   _ACEOF
16227   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16228 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16229   ac_cs_version="\\
16230 < ircd-hybrid config.status 7.2.4
16231 < configured by $0, generated by GNU Autoconf 2.64,
16232 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16230 > ircd-hybrid config.status 8.2.0rc1
16231 > configured by $0, generated by GNU Autoconf 2.69,
16232 >  with options \\"\$ac_cs_config\\"
16233  
16234 < Copyright (C) 2009 Free Software Foundation, Inc.
16234 > Copyright (C) 2012 Free Software Foundation, Inc.
16235   This config.status script is free software; the Free Software Foundation
16236   gives unlimited permission to copy, distribute and modify it."
16237  
# Line 14390 | Line 16249 | ac_need_defaults=:
16249   while test $# != 0
16250   do
16251    case $1 in
16252 <  --*=*)
16252 >  --*=?*)
16253      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16254      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16255      ac_shift=:
16256      ;;
16257 +  --*=)
16258 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16259 +    ac_optarg=
16260 +    ac_shift=:
16261 +    ;;
16262    *)
16263      ac_option=$1
16264      ac_optarg=$2
# Line 14408 | Line 16272 | do
16272      ac_cs_recheck=: ;;
16273    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16274      $as_echo "$ac_cs_version"; exit ;;
16275 +  --config | --confi | --conf | --con | --co | --c )
16276 +    $as_echo "$ac_cs_config"; exit ;;
16277    --debug | --debu | --deb | --de | --d | -d )
16278      debug=: ;;
16279    --file | --fil | --fi | --f )
16280      $ac_shift
16281      case $ac_optarg in
16282      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16283 +    '') as_fn_error $? "missing file argument" ;;
16284      esac
16285      as_fn_append CONFIG_FILES " '$ac_optarg'"
16286      ac_need_defaults=false;;
# Line 14426 | Line 16293 | do
16293      ac_need_defaults=false;;
16294    --he | --h)
16295      # Conflict between --help and --header
16296 <    as_fn_error "ambiguous option: \`$1'
16296 >    as_fn_error $? "ambiguous option: \`$1'
16297   Try \`$0 --help' for more information.";;
16298    --help | --hel | -h )
16299      $as_echo "$ac_cs_usage"; exit ;;
# Line 14435 | Line 16302 | Try \`$0 --help' for more information.";
16302      ac_cs_silent=: ;;
16303  
16304    # This is an error.
16305 <  -*) as_fn_error "unrecognized option: \`$1'
16305 >  -*) as_fn_error $? "unrecognized option: \`$1'
16306   Try \`$0 --help' for more information." ;;
16307  
16308    *) as_fn_append ac_config_targets " $1"
# Line 14455 | Line 16322 | fi
16322   _ACEOF
16323   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16324   if \$ac_cs_recheck; then
16325 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16325 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16326    shift
16327    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16328    CONFIG_SHELL='$SHELL'
# Line 14489 | Line 16356 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16356   sed_quote_subst='$sed_quote_subst'
16357   double_quote_subst='$double_quote_subst'
16358   delay_variable_subst='$delay_variable_subst'
16359 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16360 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16361 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16362 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16363 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16364 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16365 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16366 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16367 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16368 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16369 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16370 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16371 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16372 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16373 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16374 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16375 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16376 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16377 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16378 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16379 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16380 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16381 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16382 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16383 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16384 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16385 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16386 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16387 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16388 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16389 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16390 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16391 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16392 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16393 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16394 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16395 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16396 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16397 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16398 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16399 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16400 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16401 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16402 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16403 < 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"`'
16404 < 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"`'
16405 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16406 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16407 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16408 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16409 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16410 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16411 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16412 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16413 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16414 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16415 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16416 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16417 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16418 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16419 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16420 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16421 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16422 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16423 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16424 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16425 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16426 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16427 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16428 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16429 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16430 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16431 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16432 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16433 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16434 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16435 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16436 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16437 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16438 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16439 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16440 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16441 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16442 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16443 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16444 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16445 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16446 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16447 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16448 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16449 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16450 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16451 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16452 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16453 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16454 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16455 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16456 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16457 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16458 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16459 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16460 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16461 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16462 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16463 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16464 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16465 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16466 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16467 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16468 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16469 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16470 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16471 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16472 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16473 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16474 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16475 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16476 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16359 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16360 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16361 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16362 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16363 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16364 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16365 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16366 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16367 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16368 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16369 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16370 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16371 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16372 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16373 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16374 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16375 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16376 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16377 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16378 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16379 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16380 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16381 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16382 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16383 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16384 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16385 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16386 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16387 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16388 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16389 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16390 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16391 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16392 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16393 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16394 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16395 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16396 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16397 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16398 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16399 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16400 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16401 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16402 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16403 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16404 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16405 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16406 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16407 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16408 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16409 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16410 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16411 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16412 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16413 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16414 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16415 > 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"`'
16416 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16417 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16418 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16419 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16420 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16421 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16422 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16423 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16424 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16425 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16426 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16427 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16428 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16429 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16430 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16431 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16432 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16433 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16434 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16435 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16436 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16437 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16438 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16439 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16440 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16441 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16442 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16443 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16444 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16445 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16446 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16447 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16448 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16449 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16450 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16451 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16452 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16453 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16454 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16455 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16456 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16457 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16458 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16459 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16460 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16461 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16462 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16463 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16464 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16465 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16466 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16467 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16468 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16469 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16470 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16471 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16472 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16473 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16474 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16475 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16476 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16477 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16478 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16479 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16480 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16481 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16482 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16483 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16484 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16485 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16486 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16487 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16488 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16489  
16490   LTCC='$LTCC'
16491   LTCFLAGS='$LTCFLAGS'
16492   compiler='$compiler_DEFAULT'
16493  
16494 + # A function that is used when there is no print builtin or printf.
16495 + func_fallback_echo ()
16496 + {
16497 +  eval 'cat <<_LTECHO_EOF
16498 + \$1
16499 + _LTECHO_EOF'
16500 + }
16501 +
16502   # Quote evaled strings.
16503 < for var in SED \
16503 > for var in SHELL \
16504 > ECHO \
16505 > PATH_SEPARATOR \
16506 > SED \
16507   GREP \
16508   EGREP \
16509   FGREP \
# Line 14626 | Line 16516 | reload_flag \
16516   OBJDUMP \
16517   deplibs_check_method \
16518   file_magic_cmd \
16519 + file_magic_glob \
16520 + want_nocaseglob \
16521 + DLLTOOL \
16522 + sharedlib_from_linklib_cmd \
16523   AR \
16524   AR_FLAGS \
16525 + archiver_list_spec \
16526   STRIP \
16527   RANLIB \
16528   CC \
# Line 14637 | Line 16532 | lt_cv_sys_global_symbol_pipe \
16532   lt_cv_sys_global_symbol_to_cdecl \
16533   lt_cv_sys_global_symbol_to_c_name_address \
16534   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16535 < SHELL \
14641 < ECHO \
16535 > nm_file_list_spec \
16536   lt_prog_compiler_no_builtin_flag \
14643 lt_prog_compiler_wl \
16537   lt_prog_compiler_pic \
16538 + lt_prog_compiler_wl \
16539   lt_prog_compiler_static \
16540   lt_cv_prog_compiler_c_o \
16541   need_locks \
16542 + MANIFEST_TOOL \
16543   DSYMUTIL \
16544   NMEDIT \
16545   LIPO \
# Line 14658 | Line 16553 | with_gnu_ld \
16553   allow_undefined_flag \
16554   no_undefined_flag \
16555   hardcode_libdir_flag_spec \
14661 hardcode_libdir_flag_spec_ld \
16556   hardcode_libdir_separator \
14663 fix_srcfile_path \
16557   exclude_expsyms \
16558   include_expsyms \
16559   file_list_spec \
# Line 14668 | Line 16561 | variables_saved_for_relink \
16561   libname_spec \
16562   library_names_spec \
16563   soname_spec \
16564 + install_override_mode \
16565   finish_eval \
16566   old_striplib \
16567   striplib; do
16568 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16568 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16569      *[\\\\\\\`\\"\\\$]*)
16570 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16570 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16571        ;;
16572      *)
16573        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14695 | Line 16589 | module_cmds \
16589   module_expsym_cmds \
16590   export_symbols_cmds \
16591   prelink_cmds \
16592 + postlink_cmds \
16593   postinstall_cmds \
16594   postuninstall_cmds \
16595   finish_cmds \
16596   sys_lib_search_path_spec \
16597   sys_lib_dlsearch_path_spec; do
16598 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16598 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16599      *[\\\\\\\`\\"\\\$]*)
16600 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16600 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16601        ;;
16602      *)
16603        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14710 | Line 16605 | sys_lib_dlsearch_path_spec; do
16605      esac
16606   done
16607  
14713 # Fix-up fallback echo if it was mangled by the above quoting rules.
14714 case \$lt_ECHO in
14715 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14716  ;;
14717 esac
14718
16608   ac_aux_dir='$ac_aux_dir'
16609   xsi_shell='$xsi_shell'
16610   lt_shell_append='$lt_shell_append'
# Line 14748 | Line 16637 | do
16637      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16638      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16639      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14751    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14752    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14753    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14754    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14755    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14756    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14757    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16640      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16641 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16641 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
16642      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16643      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16644      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16645      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14764    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14765    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14766    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14767    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
16646      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16647  
16648 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16648 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16649    esac
16650   done
16651  
# Line 14790 | Line 16668 | fi
16668   # after its creation but before its name has been assigned to `$tmp'.
16669   $debug ||
16670   {
16671 <  tmp=
16671 >  tmp= ac_tmp=
16672    trap 'exit_status=$?
16673 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16673 >  : "${ac_tmp:=$tmp}"
16674 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16675   ' 0
16676    trap 'as_fn_exit 1' 1 2 13 15
16677   }
# Line 14800 | Line 16679 | $debug ||
16679  
16680   {
16681    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16682 <  test -n "$tmp" && test -d "$tmp"
16682 >  test -d "$tmp"
16683   }  ||
16684   {
16685    tmp=./conf$$-$RANDOM
16686    (umask 077 && mkdir "$tmp")
16687 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16687 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16688 > ac_tmp=$tmp
16689  
16690   # Set up the scripts for CONFIG_FILES section.
16691   # No need to generate them if there are no CONFIG_FILES.
# Line 14822 | Line 16702 | if test "x$ac_cr" = x; then
16702   fi
16703   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16704   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16705 <  ac_cs_awk_cr='\r'
16705 >  ac_cs_awk_cr='\\r'
16706   else
16707    ac_cs_awk_cr=$ac_cr
16708   fi
16709  
16710 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16710 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16711   _ACEOF
16712  
16713  
# Line 14836 | Line 16716 | _ACEOF
16716    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16717    echo "_ACEOF"
16718   } >conf$$subs.sh ||
16719 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16720 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16719 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16720 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16721   ac_delim='%!_!# '
16722   for ac_last_try in false false false false false :; do
16723    . ./conf$$subs.sh ||
16724 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16724 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16725  
16726    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16727    if test $ac_delim_n = $ac_delim_num; then
16728      break
16729    elif $ac_last_try; then
16730 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16730 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16731    else
16732      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16733    fi
# Line 14855 | Line 16735 | done
16735   rm -f conf$$subs.sh
16736  
16737   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16738 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16738 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16739   _ACEOF
16740   sed -n '
16741   h
# Line 14869 | Line 16749 | s/'"$ac_delim"'$//
16749   t delim
16750   :nl
16751   h
16752 < s/\(.\{148\}\).*/\1/
16752 > s/\(.\{148\}\)..*/\1/
16753   t more1
16754   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16755   p
# Line 14883 | Line 16763 | s/.\{148\}//
16763   t nl
16764   :delim
16765   h
16766 < s/\(.\{148\}\).*/\1/
16766 > s/\(.\{148\}\)..*/\1/
16767   t more2
16768   s/["\\]/\\&/g; s/^/"/; s/$/"/
16769   p
# Line 14903 | Line 16783 | t delim
16783   rm -f conf$$subs.awk
16784   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16785   _ACAWK
16786 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16786 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16787    for (key in S) S_is_set[key] = 1
16788    FS = ""
16789  
# Line 14935 | Line 16815 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16815    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16816   else
16817    cat
16818 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16819 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16818 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16819 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16820   _ACEOF
16821  
16822 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16823 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16822 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16823 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16824   # trailing colons and then remove the whole line if VPATH becomes empty
16825   # (actually we leave an empty line to preserve line numbers).
16826   if test "x$srcdir" = x.; then
16827 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16828 < s/:*\$(srcdir):*/:/
16829 < s/:*\${srcdir}:*/:/
16830 < s/:*@srcdir@:*/:/
16831 < s/^\([^=]*=[     ]*\):*/\1/
16827 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16828 > h
16829 > s///
16830 > s/^/:/
16831 > s/[      ]*$/:/
16832 > s/:\$(srcdir):/:/g
16833 > s/:\${srcdir}:/:/g
16834 > s/:@srcdir@:/:/g
16835 > s/^:*//
16836   s/:*$//
16837 + x
16838 + s/\(=[   ]*\).*/\1/
16839 + G
16840 + s/\n//
16841   s/^[^=]*=[       ]*$//
16842   }'
16843   fi
# Line 14961 | Line 16849 | fi # test -n "$CONFIG_FILES"
16849   # No need to generate them if there are no CONFIG_HEADERS.
16850   # This happens for instance with `./config.status Makefile'.
16851   if test -n "$CONFIG_HEADERS"; then
16852 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16852 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16853   BEGIN {
16854   _ACEOF
16855  
# Line 14973 | Line 16861 | _ACEOF
16861   # handling of long lines.
16862   ac_delim='%!_!# '
16863   for ac_last_try in false false :; do
16864 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16865 <  if test -z "$ac_t"; then
16864 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16865 >  if test -z "$ac_tt"; then
16866      break
16867    elif $ac_last_try; then
16868 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16868 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16869    else
16870      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16871    fi
# Line 15062 | Line 16950 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16950   _ACAWK
16951   _ACEOF
16952   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16953 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16953 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16954   fi # test -n "$CONFIG_HEADERS"
16955  
16956  
# Line 15075 | Line 16963 | do
16963    esac
16964    case $ac_mode$ac_tag in
16965    :[FHL]*:*);;
16966 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16966 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16967    :[FH]-) ac_tag=-:-;;
16968    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16969    esac
# Line 15094 | Line 16982 | do
16982      for ac_f
16983      do
16984        case $ac_f in
16985 <      -) ac_f="$tmp/stdin";;
16985 >      -) ac_f="$ac_tmp/stdin";;
16986        *) # Look for the file first in the build tree, then in the source tree
16987           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16988           # because $ac_f cannot contain `:'.
# Line 15103 | Line 16991 | do
16991             [\\/$]*) false;;
16992             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16993             esac ||
16994 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16994 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16995        esac
16996        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16997        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15129 | Line 17017 | $as_echo "$as_me: creating $ac_file" >&6
17017      esac
17018  
17019      case $ac_tag in
17020 <    *:-:* | *:-) cat >"$tmp/stdin" \
17021 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17020 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17021 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17022      esac
17023      ;;
17024    esac
# Line 15266 | Line 17154 | s&@INSTALL@&$ac_INSTALL&;t t
17154   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17155   $ac_datarootdir_hack
17156   "
17157 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17158 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17157 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17158 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17159  
17160   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17161 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17162 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17161 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17162 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17163 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17164    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17165 < which seems to be undefined.  Please make sure it is defined." >&5
17165 > which seems to be undefined.  Please make sure it is defined" >&5
17166   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17167 < which seems to be undefined.  Please make sure it is defined." >&2;}
17167 > which seems to be undefined.  Please make sure it is defined" >&2;}
17168  
17169 <  rm -f "$tmp/stdin"
17169 >  rm -f "$ac_tmp/stdin"
17170    case $ac_file in
17171 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17172 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17171 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17172 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17173    esac \
17174 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17174 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17175   ;;
17176    :H)
17177    #
# Line 15291 | Line 17180 | which seems to be undefined.  Please mak
17180    if test x"$ac_file" != x-; then
17181      {
17182        $as_echo "/* $configure_input  */" \
17183 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17184 <    } >"$tmp/config.h" \
17185 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17186 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17183 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17184 >    } >"$ac_tmp/config.h" \
17185 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17186 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17187        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17188   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17189      else
17190        rm -f "$ac_file"
17191 <      mv "$tmp/config.h" "$ac_file" \
17192 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17191 >      mv "$ac_tmp/config.h" "$ac_file" \
17192 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17193      fi
17194    else
17195      $as_echo "/* $configure_input  */" \
17196 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17197 <      || as_fn_error "could not create -" "$LINENO" 5
17196 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17197 >      || as_fn_error $? "could not create -" "$LINENO" 5
17198    fi
17199   # Compute "$ac_file"'s index in $config_headers.
17200   _am_arg="$ac_file"
# Line 15351 | Line 17240 | $as_echo "$as_me: executing $ac_file com
17240  
17241    case $ac_file$ac_mode in
17242      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17243 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17243 >  # Older Autoconf quotes --file arguments for eval, but not when files
17244    # are listed without --file.  Let's play safe and only enable the eval
17245    # if we detect the quoting.
17246    case $CONFIG_FILES in
# Line 15364 | Line 17253 | $as_echo "$as_me: executing $ac_file com
17253      # Strip MF so we end up with the name of the file.
17254      mf=`echo "$mf" | sed -e 's/:.*$//'`
17255      # Check whether this is an Automake generated Makefile or not.
17256 <    # We used to match only the files named `Makefile.in', but
17256 >    # We used to match only the files named 'Makefile.in', but
17257      # some people rename them; so instead we look at the file content.
17258      # Grep'ing the first line is not enough: some people post-process
17259      # each Makefile.in and add a new line on top of each file to say so.
# Line 15398 | Line 17287 | $as_echo X"$mf" |
17287        continue
17288      fi
17289      # Extract the definition of DEPDIR, am__include, and am__quote
17290 <    # from the Makefile without running `make'.
17290 >    # from the Makefile without running 'make'.
17291      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17292      test -z "$DEPDIR" && continue
17293      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17294 <    test -z "am__include" && continue
17294 >    test -z "$am__include" && continue
17295      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15407    # When using ansi2knr, U may be empty or an underscore; expand it
15408    U=`sed -n 's/^U = //p' < "$mf"`
17296      # Find all dependency output files, they are included files with
17297      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17298      # simplest approach to changing $(DEPDIR) to its actual value in the
17299      # expansion.
17300      for file in `sed -n "
17301        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17302 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17302 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17303        # Make sure the directory exists.
17304        test -f "$dirpart/$file" && continue
17305        fdir=`$as_dirname -- "$file" ||
# Line 15466 | Line 17353 | $as_echo X"$file" |
17353   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17354   #
17355   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17356 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17356 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17357 > #                 Foundation, Inc.
17358   #   Written by Gordon Matzigkeit, 1996
17359   #
17360   #   This file is part of GNU Libtool.
# Line 15514 | Line 17402 | pic_mode=$pic_mode
17402   # Whether or not to optimize for fast installation.
17403   fast_install=$enable_fast_install
17404  
17405 + # Shell to use when invoking shell scripts.
17406 + SHELL=$lt_SHELL
17407 +
17408 + # An echo program that protects backslashes.
17409 + ECHO=$lt_ECHO
17410 +
17411 + # The PATH separator for the build system.
17412 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17413 +
17414   # The host system.
17415   host_alias=$host_alias
17416   host=$host
# Line 15563 | Line 17460 | SP2NL=$lt_lt_SP2NL
17460   # turn newlines into spaces.
17461   NL2SP=$lt_lt_NL2SP
17462  
17463 < # How to create reloadable object files.
17464 < reload_flag=$lt_reload_flag
17465 < reload_cmds=$lt_reload_cmds
17463 > # convert \$build file names to \$host format.
17464 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17465 >
17466 > # convert \$build files to toolchain format.
17467 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17468  
17469   # An object symbol dumper.
17470   OBJDUMP=$lt_OBJDUMP
# Line 15573 | Line 17472 | OBJDUMP=$lt_OBJDUMP
17472   # Method to check whether dependent libraries are shared objects.
17473   deplibs_check_method=$lt_deplibs_check_method
17474  
17475 < # Command to use when deplibs_check_method == "file_magic".
17475 > # Command to use when deplibs_check_method = "file_magic".
17476   file_magic_cmd=$lt_file_magic_cmd
17477  
17478 + # How to find potential files when deplibs_check_method = "file_magic".
17479 + file_magic_glob=$lt_file_magic_glob
17480 +
17481 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17482 + want_nocaseglob=$lt_want_nocaseglob
17483 +
17484 + # DLL creation program.
17485 + DLLTOOL=$lt_DLLTOOL
17486 +
17487 + # Command to associate shared and link libraries.
17488 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17489 +
17490   # The archiver.
17491   AR=$lt_AR
17492 +
17493 + # Flags to create an archive.
17494   AR_FLAGS=$lt_AR_FLAGS
17495  
17496 + # How to feed a file listing to the archiver.
17497 + archiver_list_spec=$lt_archiver_list_spec
17498 +
17499   # A symbol stripping program.
17500   STRIP=$lt_STRIP
17501  
# Line 15588 | Line 17504 | RANLIB=$lt_RANLIB
17504   old_postinstall_cmds=$lt_old_postinstall_cmds
17505   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17506  
17507 + # Whether to use a lock for old archive extraction.
17508 + lock_old_archive_extraction=$lock_old_archive_extraction
17509 +
17510   # A C compiler.
17511   LTCC=$lt_CC
17512  
# Line 15606 | Line 17525 | global_symbol_to_c_name_address=$lt_lt_c
17525   # Transform the output of nm in a C name address pair when lib prefix is needed.
17526   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17527  
17528 < # The name of the directory that contains temporary libtool files.
17529 < objdir=$objdir
17528 > # Specify filename containing input files for \$NM.
17529 > nm_file_list_spec=$lt_nm_file_list_spec
17530  
17531 < # Shell to use when invoking shell scripts.
17532 < SHELL=$lt_SHELL
17531 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17532 > lt_sysroot=$lt_sysroot
17533  
17534 < # An echo program that does not interpret backslashes.
17535 < ECHO=$lt_ECHO
17534 > # The name of the directory that contains temporary libtool files.
17535 > objdir=$objdir
17536  
17537   # Used to examine libraries when file_magic_cmd begins with "file".
17538   MAGIC_CMD=$MAGIC_CMD
# Line 15621 | Line 17540 | MAGIC_CMD=$MAGIC_CMD
17540   # Must we lock files when doing compilation?
17541   need_locks=$lt_need_locks
17542  
17543 + # Manifest tool.
17544 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17545 +
17546   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17547   DSYMUTIL=$lt_DSYMUTIL
17548  
# Line 15677 | Line 17599 | library_names_spec=$lt_library_names_spe
17599   # The coded name of the library, if different from the real name.
17600   soname_spec=$lt_soname_spec
17601  
17602 + # Permission mode override for installation of shared libraries.
17603 + install_override_mode=$lt_install_override_mode
17604 +
17605   # Command to use after installation of a shared archive.
17606   postinstall_cmds=$lt_postinstall_cmds
17607  
# Line 15716 | Line 17641 | striplib=$lt_striplib
17641   # The linker used to build libraries.
17642   LD=$lt_LD
17643  
17644 + # How to create reloadable object files.
17645 + reload_flag=$lt_reload_flag
17646 + reload_cmds=$lt_reload_cmds
17647 +
17648   # Commands used to build an old-style archive.
17649   old_archive_cmds=$lt_old_archive_cmds
17650  
# Line 15728 | Line 17657 | with_gcc=$GCC
17657   # Compiler flag to turn off builtin functions.
17658   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17659  
15731 # How to pass a linker flag through the compiler.
15732 wl=$lt_lt_prog_compiler_wl
15733
17660   # Additional compiler flags for building library objects.
17661   pic_flag=$lt_lt_prog_compiler_pic
17662  
17663 + # How to pass a linker flag through the compiler.
17664 + wl=$lt_lt_prog_compiler_wl
17665 +
17666   # Compiler flag to prevent dynamic linking.
17667   link_static_flag=$lt_lt_prog_compiler_static
17668  
# Line 15783 | Line 17712 | no_undefined_flag=$lt_no_undefined_flag
17712   # This must work even if \$libdir does not exist
17713   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17714  
15786 # If ld is used when linking, flag to hardcode \$libdir into a binary
15787 # during linking.  This must work even if \$libdir does not exist.
15788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15789
17715   # Whether we need a single "-rpath" flag with a separated argument.
17716   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17717  
# Line 15820 | Line 17745 | inherit_rpath=$inherit_rpath
17745   # Whether libtool must link a program against all its dependency libraries.
17746   link_all_deplibs=$link_all_deplibs
17747  
15823 # Fix the shell variable \$srcfile for the compiler.
15824 fix_srcfile_path=$lt_fix_srcfile_path
15825
17748   # Set to "yes" if exported symbols are required.
17749   always_export_symbols=$always_export_symbols
17750  
# Line 15838 | Line 17760 | include_expsyms=$lt_include_expsyms
17760   # Commands necessary for linking programs (against libraries) with templates.
17761   prelink_cmds=$lt_prelink_cmds
17762  
17763 + # Commands necessary for finishing linking programs.
17764 + postlink_cmds=$lt_postlink_cmds
17765 +
17766   # Specify filename containing input files.
17767   file_list_spec=$lt_file_list_spec
17768  
# Line 15870 | Line 17795 | ltmain="$ac_aux_dir/ltmain.sh"
17795    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17796    # text mode, it properly converts lines to CR/LF.  This bash problem
17797    # is reportedly fixed, but why not run on old versions too?
17798 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17799 <    || (rm -f "$cfgfile"; exit 1)
15875 <
15876 <  case $xsi_shell in
15877 <  yes)
15878 <    cat << \_LT_EOF >> "$cfgfile"
15879 <
15880 < # func_dirname file append nondir_replacement
15881 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15882 < # otherwise set result to NONDIR_REPLACEMENT.
15883 < func_dirname ()
15884 < {
15885 <  case ${1} in
15886 <    */*) func_dirname_result="${1%/*}${2}" ;;
15887 <    *  ) func_dirname_result="${3}" ;;
15888 <  esac
15889 < }
15890 <
15891 < # func_basename file
15892 < func_basename ()
15893 < {
15894 <  func_basename_result="${1##*/}"
15895 < }
15896 <
15897 < # func_dirname_and_basename file append nondir_replacement
15898 < # perform func_basename and func_dirname in a single function
15899 < # call:
15900 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15901 < #             add APPEND to the result, otherwise set result
15902 < #             to NONDIR_REPLACEMENT.
15903 < #             value returned in "$func_dirname_result"
15904 < #   basename: Compute filename of FILE.
15905 < #             value retuned in "$func_basename_result"
15906 < # Implementation must be kept synchronized with func_dirname
15907 < # and func_basename. For efficiency, we do not delegate to
15908 < # those functions but instead duplicate the functionality here.
15909 < func_dirname_and_basename ()
15910 < {
15911 <  case ${1} in
15912 <    */*) func_dirname_result="${1%/*}${2}" ;;
15913 <    *  ) func_dirname_result="${3}" ;;
15914 <  esac
15915 <  func_basename_result="${1##*/}"
15916 < }
15917 <
15918 < # func_stripname prefix suffix name
15919 < # strip PREFIX and SUFFIX off of NAME.
15920 < # PREFIX and SUFFIX must not contain globbing or regex special
15921 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15922 < # dot (in which case that matches only a dot).
15923 < func_stripname ()
15924 < {
15925 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15926 <  # positional parameters, so assign one to ordinary parameter first.
15927 <  func_stripname_result=${3}
15928 <  func_stripname_result=${func_stripname_result#"${1}"}
15929 <  func_stripname_result=${func_stripname_result%"${2}"}
15930 < }
15931 <
15932 < # func_opt_split
15933 < func_opt_split ()
15934 < {
15935 <  func_opt_split_opt=${1%%=*}
15936 <  func_opt_split_arg=${1#*=}
15937 < }
15938 <
15939 < # func_lo2o object
15940 < func_lo2o ()
15941 < {
15942 <  case ${1} in
15943 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15944 <    *)    func_lo2o_result=${1} ;;
15945 <  esac
15946 < }
15947 <
15948 < # func_xform libobj-or-source
15949 < func_xform ()
15950 < {
15951 <  func_xform_result=${1%.*}.lo
15952 < }
15953 <
15954 < # func_arith arithmetic-term...
15955 < func_arith ()
15956 < {
15957 <  func_arith_result=$(( $* ))
15958 < }
15959 <
15960 < # func_len string
15961 < # STRING may not start with a hyphen.
15962 < func_len ()
15963 < {
15964 <  func_len_result=${#1}
15965 < }
15966 <
15967 < _LT_EOF
15968 <    ;;
15969 <  *) # Bourne compatible functions.
15970 <    cat << \_LT_EOF >> "$cfgfile"
15971 <
15972 < # func_dirname file append nondir_replacement
15973 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15974 < # otherwise set result to NONDIR_REPLACEMENT.
15975 < func_dirname ()
15976 < {
15977 <  # Extract subdirectory from the argument.
15978 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15979 <  if test "X$func_dirname_result" = "X${1}"; then
15980 <    func_dirname_result="${3}"
15981 <  else
15982 <    func_dirname_result="$func_dirname_result${2}"
15983 <  fi
15984 < }
15985 <
15986 < # func_basename file
15987 < func_basename ()
15988 < {
15989 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15990 < }
15991 <
15992 <
15993 < # func_stripname prefix suffix name
15994 < # strip PREFIX and SUFFIX off of NAME.
15995 < # PREFIX and SUFFIX must not contain globbing or regex special
15996 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15997 < # dot (in which case that matches only a dot).
15998 < # func_strip_suffix prefix name
15999 < func_stripname ()
16000 < {
16001 <  case ${2} in
16002 <    .*) func_stripname_result=`$ECHO "X${3}" \
16003 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16004 <    *)  func_stripname_result=`$ECHO "X${3}" \
16005 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16006 <  esac
16007 < }
16008 <
16009 < # sed scripts:
16010 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16011 < my_sed_long_arg='1s/^-[^=]*=//'
16012 <
16013 < # func_opt_split
16014 < func_opt_split ()
16015 < {
16016 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16017 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16018 < }
16019 <
16020 < # func_lo2o object
16021 < func_lo2o ()
16022 < {
16023 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16024 < }
16025 <
16026 < # func_xform libobj-or-source
16027 < func_xform ()
16028 < {
16029 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16030 < }
16031 <
16032 < # func_arith arithmetic-term...
16033 < func_arith ()
16034 < {
16035 <  func_arith_result=`expr "$@"`
16036 < }
16037 <
16038 < # func_len string
16039 < # STRING may not start with a hyphen.
16040 < func_len ()
16041 < {
16042 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16043 < }
16044 <
16045 < _LT_EOF
16046 < esac
16047 <
16048 < case $lt_shell_append in
16049 <  yes)
16050 <    cat << \_LT_EOF >> "$cfgfile"
16051 <
16052 < # func_append var value
16053 < # Append VALUE to the end of shell variable VAR.
16054 < func_append ()
16055 < {
16056 <  eval "$1+=\$2"
16057 < }
16058 < _LT_EOF
16059 <    ;;
16060 <  *)
16061 <    cat << \_LT_EOF >> "$cfgfile"
16062 <
16063 < # func_append var value
16064 < # Append VALUE to the end of shell variable VAR.
16065 < func_append ()
16066 < {
16067 <  eval "$1=\$$1\$2"
16068 < }
16069 <
16070 < _LT_EOF
16071 <    ;;
16072 <  esac
17798 >  sed '$q' "$ltmain" >> "$cfgfile" \
17799 >     || (rm -f "$cfgfile"; exit 1)
17800  
17801 +  if test x"$xsi_shell" = xyes; then
17802 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17803 + func_dirname ()\
17804 + {\
17805 + \    case ${1} in\
17806 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17807 + \      *  ) func_dirname_result="${3}" ;;\
17808 + \    esac\
17809 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17810 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17811 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17812 + test 0 -eq $? || _lt_function_replace_fail=:
17813 +
17814 +
17815 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17816 + func_basename ()\
17817 + {\
17818 + \    func_basename_result="${1##*/}"\
17819 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17820 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17821 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17822 + test 0 -eq $? || _lt_function_replace_fail=:
17823 +
17824 +
17825 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17826 + func_dirname_and_basename ()\
17827 + {\
17828 + \    case ${1} in\
17829 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17830 + \      *  ) func_dirname_result="${3}" ;;\
17831 + \    esac\
17832 + \    func_basename_result="${1##*/}"\
17833 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17834 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17835 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17836 + test 0 -eq $? || _lt_function_replace_fail=:
17837 +
17838 +
17839 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17840 + func_stripname ()\
17841 + {\
17842 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17843 + \    # positional parameters, so assign one to ordinary parameter first.\
17844 + \    func_stripname_result=${3}\
17845 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17846 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17847 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17848 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17849 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17850 + test 0 -eq $? || _lt_function_replace_fail=:
17851 +
17852 +
17853 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17854 + func_split_long_opt ()\
17855 + {\
17856 + \    func_split_long_opt_name=${1%%=*}\
17857 + \    func_split_long_opt_arg=${1#*=}\
17858 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17859 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17860 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17861 + test 0 -eq $? || _lt_function_replace_fail=:
17862 +
17863 +
17864 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17865 + func_split_short_opt ()\
17866 + {\
17867 + \    func_split_short_opt_arg=${1#??}\
17868 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17869 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17870 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17871 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17872 + test 0 -eq $? || _lt_function_replace_fail=:
17873 +
17874 +
17875 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17876 + func_lo2o ()\
17877 + {\
17878 + \    case ${1} in\
17879 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17880 + \      *)    func_lo2o_result=${1} ;;\
17881 + \    esac\
17882 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17883 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17884 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17885 + test 0 -eq $? || _lt_function_replace_fail=:
17886 +
17887 +
17888 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17889 + func_xform ()\
17890 + {\
17891 +    func_xform_result=${1%.*}.lo\
17892 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17893 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17894 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17895 + test 0 -eq $? || _lt_function_replace_fail=:
17896 +
17897 +
17898 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17899 + func_arith ()\
17900 + {\
17901 +    func_arith_result=$(( $* ))\
17902 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17903 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17904 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17905 + test 0 -eq $? || _lt_function_replace_fail=:
17906 +
17907 +
17908 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17909 + func_len ()\
17910 + {\
17911 +    func_len_result=${#1}\
17912 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17913 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17914 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17915 + test 0 -eq $? || _lt_function_replace_fail=:
17916 +
17917 + fi
17918 +
17919 + if test x"$lt_shell_append" = xyes; then
17920 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17921 + func_append ()\
17922 + {\
17923 +    eval "${1}+=\\${2}"\
17924 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17925 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17926 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17927 + test 0 -eq $? || _lt_function_replace_fail=:
17928 +
17929 +
17930 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17931 + func_append_quoted ()\
17932 + {\
17933 + \    func_quote_for_eval "${2}"\
17934 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17935 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17936 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17937 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17938 + test 0 -eq $? || _lt_function_replace_fail=:
17939 +
17940 +
17941 +  # Save a `func_append' function call where possible by direct use of '+='
17942 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17943 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17944 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17945 +  test 0 -eq $? || _lt_function_replace_fail=:
17946 + else
17947 +  # Save a `func_append' function call even when '+=' is not available
17948 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17949 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17950 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17951 +  test 0 -eq $? || _lt_function_replace_fail=:
17952 + fi
17953 +
17954 + if test x"$_lt_function_replace_fail" = x":"; then
17955 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17956 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17957 + fi
17958  
16075  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16076    || (rm -f "$cfgfile"; exit 1)
17959  
17960 <  mv -f "$cfgfile" "$ofile" ||
17960 >   mv -f "$cfgfile" "$ofile" ||
17961      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17962    chmod +x "$ofile"
17963  
# Line 16090 | Line 17972 | _ACEOF
17972   ac_clean_files=$ac_clean_files_save
17973  
17974   test $ac_write_fail = 0 ||
17975 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17975 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17976  
17977  
17978   # configure is writing to config.log, and then calls config.status.
# Line 16111 | Line 17993 | if test "$no_create" != yes; then
17993    exec 5>>config.log
17994    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17995    # would make configure fail if this is the last instruction.
17996 <  $ac_cs_success || as_fn_exit $?
16115 < fi
16116 <
16117 < #
16118 < # CONFIG_SUBDIRS section.
16119 < #
16120 < if test "$no_recursion" != yes; then
16121 <
16122 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16123 <  # so they do not pile up.
16124 <  ac_sub_configure_args=
16125 <  ac_prev=
16126 <  eval "set x $ac_configure_args"
16127 <  shift
16128 <  for ac_arg
16129 <  do
16130 <    if test -n "$ac_prev"; then
16131 <      ac_prev=
16132 <      continue
16133 <    fi
16134 <    case $ac_arg in
16135 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16136 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16137 <      ac_prev=cache_file ;;
16138 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16139 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16140 <    | --c=*)
16141 <      ;;
16142 <    --config-cache | -C)
16143 <      ;;
16144 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16145 <      ac_prev=srcdir ;;
16146 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16147 <      ;;
16148 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16149 <      ac_prev=prefix ;;
16150 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16151 <      ;;
16152 <    --disable-option-checking)
16153 <      ;;
16154 <    *)
16155 <      case $ac_arg in
16156 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16157 <      esac
16158 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16159 <    esac
16160 <  done
16161 <
16162 <  # Always prepend --prefix to ensure using the same prefix
16163 <  # in subdir configurations.
16164 <  ac_arg="--prefix=$prefix"
16165 <  case $ac_arg in
16166 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16167 <  esac
16168 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16169 <
16170 <  # Pass --silent
16171 <  if test "$silent" = yes; then
16172 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16173 <  fi
16174 <
16175 <  # Always prepend --disable-option-checking to silence warnings, since
16176 <  # different subdirs can have different --enable and --with options.
16177 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16178 <
16179 <  ac_popdir=`pwd`
16180 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16181 <
16182 <    # Do not complain, so a configure script can configure whichever
16183 <    # parts of a large source tree are present.
16184 <    test -d "$srcdir/$ac_dir" || continue
16185 <
16186 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16187 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16188 <    $as_echo "$ac_msg" >&6
16189 <    as_dir="$ac_dir"; as_fn_mkdir_p
16190 <    ac_builddir=.
16191 <
16192 < case "$ac_dir" in
16193 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16194 < *)
16195 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16196 <  # A ".." for each directory in $ac_dir_suffix.
16197 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16198 <  case $ac_top_builddir_sub in
16199 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16200 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16201 <  esac ;;
16202 < esac
16203 < ac_abs_top_builddir=$ac_pwd
16204 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16205 < # for backward compatibility:
16206 < ac_top_builddir=$ac_top_build_prefix
16207 <
16208 < case $srcdir in
16209 <  .)  # We are building in place.
16210 <    ac_srcdir=.
16211 <    ac_top_srcdir=$ac_top_builddir_sub
16212 <    ac_abs_top_srcdir=$ac_pwd ;;
16213 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16214 <    ac_srcdir=$srcdir$ac_dir_suffix;
16215 <    ac_top_srcdir=$srcdir
16216 <    ac_abs_top_srcdir=$srcdir ;;
16217 <  *) # Relative name.
16218 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16219 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16220 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16221 < esac
16222 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16223 <
16224 <
16225 <    cd "$ac_dir"
16226 <
16227 <    # Check for guested configure; otherwise get Cygnus style configure.
16228 <    if test -f "$ac_srcdir/configure.gnu"; then
16229 <      ac_sub_configure=$ac_srcdir/configure.gnu
16230 <    elif test -f "$ac_srcdir/configure"; then
16231 <      ac_sub_configure=$ac_srcdir/configure
16232 <    elif test -f "$ac_srcdir/configure.in"; then
16233 <      # This should be Cygnus configure.
16234 <      ac_sub_configure=$ac_aux_dir/configure
16235 <    else
16236 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16237 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16238 <      ac_sub_configure=
16239 <    fi
16240 <
16241 <    # The recursion is here.
16242 <    if test -n "$ac_sub_configure"; then
16243 <      # Make the cache file name correct relative to the subdirectory.
16244 <      case $cache_file in
16245 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16246 <      *) # Relative name.
16247 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16248 <      esac
16249 <
16250 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16251 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16252 <      # The eval makes quoting arguments work.
16253 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16254 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16255 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16256 <    fi
16257 <
16258 <    cd "$ac_popdir"
16259 <  done
17996 >  $ac_cs_success || as_fn_exit 1
17997   fi
17998   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17999    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.2/configure (property svn:eol-style), Revision 1005 by michael, Mon Aug 31 23:07:43 2009 UTC vs.
ircd-hybrid/branches/8.2.x/configure (property svn:eol-style), Revision 4353 by michael, Sat Aug 2 17:54:27 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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