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

Comparing:
ircd-hybrid-7.3/configure (file contents), Revision 1090 by michael, Wed Mar 24 22:37:53 2010 UTC vs.
ircd-hybrid/trunk/configure (file contents), Revision 3724 by michael, Sat May 31 16:27:09 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1084 2010-03-13 23:24:10Z michael .
2 > # From configure.ac Id: configure.ac 2594 2013-11-21 17:20:41Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9 < # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 < # Inc.
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
11   #
12   # This configure script is free software; the Free Software Foundation
# Line 92 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 136 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 169 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 214 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 320 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 360 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 445 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 479 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 500 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
505 < else
506 <  if ls -dL / >/dev/null 2>&1; then
507 <    as_ls_L_option=L
508 <  else
509 <    as_ls_L_option=
510 <  fi
511 <  as_test_x='
512 <    eval sh -c '\''
513 <      if test -d "$1"; then
514 <        test -d "$1/.";
515 <      else
516 <        case $1 in #(
517 <        -*)set "./$1";;
518 <        esac;
519 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 <        ???[sx]*):;;*)false;;esac;fi
521 <    '\'' sh
522 <  '
523 < fi
524 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 529 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
532 –
568   lt_ltdl_dir='libltdl'
569  
535 –
536 – # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
539 – case X$lt_ECHO in
540 – X*--fallback-echo)
541 –  # Remove one level of quotation (which was required for Make).
542 –  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
543 –  ;;
544 – esac
545 –
546 – ECHO=${lt_ECHO-echo}
547 – if test "X$1" = X--no-reexec; then
548 –  # Discard the --no-reexec flag, and continue.
549 –  shift
550 – elif test "X$1" = X--fallback-echo; then
551 –  # Avoid inline document here, it may be left over
552 –  :
553 – elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
554 –  # Yippee, $ECHO works!
555 –  :
556 – else
557 –  # Restart under the correct shell.
558 –  exec $SHELL "$0" --no-reexec ${1+"$@"}
559 – fi
560 –
561 – if test "X$1" = X--fallback-echo; then
562 –  # used as fallback echo
563 –  shift
564 –  cat <<_LT_EOF
565 – $*
566 – _LT_EOF
567 –  exit 0
568 – fi
569 –
570 – # The HP-UX ksh and POSIX shell print the target directory to stdout
571 – # if CDPATH is set.
572 – (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
573 –
574 – if test -z "$lt_ECHO"; then
575 –  if test "X${echo_test_string+set}" != Xset; then
576 –    # find a string as large as possible, as long as the shell can cope with it
577 –    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
578 –      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
579 –      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
580 –         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 –      then
582 –        break
583 –      fi
584 –    done
585 –  fi
586 –
587 –  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
588 –     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
589 –     test "X$echo_testing_string" = "X$echo_test_string"; then
590 –    :
591 –  else
592 –    # The Solaris, AIX, and Digital Unix default echo programs unquote
593 –    # backslashes.  This makes it impossible to quote backslashes using
594 –    #   echo "$something" | sed 's/\\/\\\\/g'
595 –    #
596 –    # So, first we look for a working echo in the user's PATH.
597 –
598 –    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
599 –    for dir in $PATH /usr/ucb; do
600 –      IFS="$lt_save_ifs"
601 –      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
602 –         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
603 –         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
604 –         test "X$echo_testing_string" = "X$echo_test_string"; then
605 –        ECHO="$dir/echo"
606 –        break
607 –      fi
608 –    done
609 –    IFS="$lt_save_ifs"
610 –
611 –    if test "X$ECHO" = Xecho; then
612 –      # We didn't find a better echo, so look for alternatives.
613 –      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
614 –         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
615 –         test "X$echo_testing_string" = "X$echo_test_string"; then
616 –        # This shell has a builtin print -r that does the trick.
617 –        ECHO='print -r'
618 –      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
619 –           test "X$CONFIG_SHELL" != X/bin/ksh; then
620 –        # If we have ksh, try running configure again with it.
621 –        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
622 –        export ORIGINAL_CONFIG_SHELL
623 –        CONFIG_SHELL=/bin/ksh
624 –        export CONFIG_SHELL
625 –        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 –      else
627 –        # Try using printf.
628 –        ECHO='printf %s\n'
629 –        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630 –           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631 –           test "X$echo_testing_string" = "X$echo_test_string"; then
632 –          # Cool, printf works
633 –          :
634 –        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
635 –             test "X$echo_testing_string" = 'X\t' &&
636 –             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
637 –             test "X$echo_testing_string" = "X$echo_test_string"; then
638 –          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
639 –          export CONFIG_SHELL
640 –          SHELL="$CONFIG_SHELL"
641 –          export SHELL
642 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 –        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
644 –             test "X$echo_testing_string" = 'X\t' &&
645 –             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
646 –             test "X$echo_testing_string" = "X$echo_test_string"; then
647 –          ECHO="$CONFIG_SHELL $0 --fallback-echo"
648 –        else
649 –          # maybe with a smaller string...
650 –          prev=:
651 –
652 –          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
653 –            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 –            then
655 –              break
656 –            fi
657 –            prev="$cmd"
658 –          done
659 –
660 –          if test "$prev" != 'sed 50q "$0"'; then
661 –            echo_test_string=`eval $prev`
662 –            export echo_test_string
663 –            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664 –          else
665 –            # Oops.  We lost completely, so just stick with echo.
666 –            ECHO=echo
667 –          fi
668 –        fi
669 –      fi
670 –    fi
671 –  fi
672 – fi
673 –
674 – # Copy echo and quote the copy suitably for passing to libtool from
675 – # the Makefile, instead of quoting the original, which is used later.
676 – lt_ECHO=$ECHO
677 – if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
678 –   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 – fi
680 –
681 –
682 –
683 –
684 – lt_dlopen_dir="$lt_ltdl_dir"
572  
573   test -n "$DJDIR" || exec 7<&0 </dev/null
574   exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 706 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.3-rc1'
597 < PACKAGE_STRING='ircd-hybrid 7.3-rc1'
596 > PACKAGE_VERSION='TRUNK'
597 > PACKAGE_STRING='ircd-hybrid TRUNK'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 748 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
751 – enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 762 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
765 – EFNET_FALSE
766 – EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
769 – ENABLE_PCRE_FALSE
770 – ENABLE_PCRE_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
773 – subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 793 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 823 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 839 | Line 723 | CC
723   MAINT
724   MAINTAINER_MODE_FALSE
725   MAINTAINER_MODE_TRUE
726 + AM_BACKSLASH
727 + AM_DEFAULT_VERBOSITY
728 + AM_DEFAULT_V
729 + AM_V
730   am__untar
731   am__tar
732   AMTAR
# Line 903 | Line 791 | SHELL'
791   ac_subst_files=''
792   ac_user_opts='
793   enable_option_checking
794 + enable_silent_rules
795   enable_maintainer_mode
796   enable_dependency_tracking
797   enable_static
# Line 910 | 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
919 < enable_zlib
920 < with_libpcre_path
921 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
924 – enable_small_net
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
928 – enable_rtsigio
814   enable_poll
815   enable_select
931 – with_nicklen
932 – with_topiclen
933 – with_syslog_facility
934 – enable_efnet
935 – enable_halfops
816   enable_debugging
817   enable_warnings
938 – enable_syslog
818   '
819        ac_precious_vars='build_alias
820   host_alias
# Line 948 | Line 827 | CPPFLAGS
827   YACC
828   YFLAGS
829   CPP'
830 < ac_subdirs_all='libltdl'
830 >
831  
832   # Initialize some variables set by options.
833   ac_init_help=
# Line 1010 | Line 889 | do
889    fi
890  
891    case $ac_option in
892 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 <  *)    ac_optarg=yes ;;
892 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 >  *=)   ac_optarg= ;;
894 >  *)    ac_optarg=yes ;;
895    esac
896  
897    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1056 | Line 936 | do
936      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937      # Reject names that are not valid shell variable names.
938      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 <      as_fn_error "invalid feature name: $ac_useropt"
939 >      as_fn_error $? "invalid feature name: $ac_useropt"
940      ac_useropt_orig=$ac_useropt
941      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942      case $ac_user_opts in
# Line 1082 | Line 962 | do
962      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963      # Reject names that are not valid shell variable names.
964      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965 <      as_fn_error "invalid feature name: $ac_useropt"
965 >      as_fn_error $? "invalid feature name: $ac_useropt"
966      ac_useropt_orig=$ac_useropt
967      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968      case $ac_user_opts in
# Line 1286 | Line 1166 | do
1166      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167      # Reject names that are not valid shell variable names.
1168      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 <      as_fn_error "invalid package name: $ac_useropt"
1169 >      as_fn_error $? "invalid package name: $ac_useropt"
1170      ac_useropt_orig=$ac_useropt
1171      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172      case $ac_user_opts in
# Line 1302 | Line 1182 | do
1182      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183      # Reject names that are not valid shell variable names.
1184      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 <      as_fn_error "invalid package name: $ac_useropt"
1185 >      as_fn_error $? "invalid package name: $ac_useropt"
1186      ac_useropt_orig=$ac_useropt
1187      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188      case $ac_user_opts in
# Line 1332 | Line 1212 | do
1212    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213      x_libraries=$ac_optarg ;;
1214  
1215 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1216 < Try \`$0 --help' for more information."
1215 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 > Try \`$0 --help' for more information"
1217      ;;
1218  
1219    *=*)
# Line 1341 | Line 1221 | Try \`$0 --help' for more information."
1221      # Reject names that are not valid shell variable names.
1222      case $ac_envvar in #(
1223        '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1224 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1225      esac
1226      eval $ac_envvar=\$ac_optarg
1227      export $ac_envvar ;;
# Line 1351 | Line 1231 | Try \`$0 --help' for more information."
1231      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1234 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1235      ;;
1236  
1237    esac
# Line 1359 | Line 1239 | done
1239  
1240   if test -n "$ac_prev"; then
1241    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242 <  as_fn_error "missing argument to $ac_option"
1242 >  as_fn_error $? "missing argument to $ac_option"
1243   fi
1244  
1245   if test -n "$ac_unrecognized_opts"; then
1246    case $enable_option_checking in
1247      no) ;;
1248 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1248 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250    esac
1251   fi
# Line 1388 | Line 1268 | do
1268      [\\/$]* | ?:[\\/]* )  continue;;
1269      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270    esac
1271 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1271 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272   done
1273  
1274   # There might be people who depend on the old broken behavior: `$host'
# Line 1402 | Line 1282 | target=$target_alias
1282   if test "x$host_alias" != x; then
1283    if test "x$build_alias" = x; then
1284      cross_compiling=maybe
1405 –    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406 –    If a cross compiler is detected then cross compile mode will be used." >&2
1285    elif test "x$build_alias" != "x$host_alias"; then
1286      cross_compiling=yes
1287    fi
# Line 1418 | Line 1296 | test "$silent" = yes && exec 6>/dev/null
1296   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297   ac_ls_di=`ls -di .` &&
1298   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299 <  as_fn_error "working directory cannot be determined"
1299 >  as_fn_error $? "working directory cannot be determined"
1300   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 <  as_fn_error "pwd does not report name of working directory"
1301 >  as_fn_error $? "pwd does not report name of working directory"
1302  
1303  
1304   # Find the source files, if location was not specified.
# Line 1459 | Line 1337 | else
1337   fi
1338   if test ! -r "$srcdir/$ac_unique_file"; then
1339    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1340 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1340 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1341   fi
1342   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1343   ac_abs_confdir=`(
1344 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1344 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1345          pwd)`
1346   # When building in place, set srcdir=.
1347   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1489 | Line 1367 | if test "$ac_init_help" = "long"; then
1367    # Omit some internal or obsolete options to make the list less imposing.
1368    # This message is too long to be a string in the A/UX 3.1 sh.
1369    cat <<_ACEOF
1370 < \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1370 > \`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems.
1371  
1372   Usage: $0 [OPTION]... [VAR=VALUE]...
1373  
# Line 1503 | Line 1381 | Configuration:
1381        --help=short        display options specific to this package
1382        --help=recursive    display the short help of all the included packages
1383    -V, --version           display version information and exit
1384 <  -q, --quiet, --silent   do not print \`checking...' messages
1384 >  -q, --quiet, --silent   do not print \`checking ...' messages
1385        --cache-file=FILE   cache test results in FILE [disabled]
1386    -C, --config-cache      alias for \`--cache-file=config.cache'
1387    -n, --no-create         do not create output files
# Line 1559 | Line 1437 | fi
1437  
1438   if test -n "$ac_init_help"; then
1439    case $ac_init_help in
1440 <     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1440 >     short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";;
1441     esac
1442    cat <<\_ACEOF
1443  
# Line 1567 | Line 1445 | Optional Features:
1445    --disable-option-checking  ignore unrecognized --enable/--with options
1446    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1447    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1448 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1449 <                          (and sometimes confusing) to the casual installer
1450 <  --disable-dependency-tracking  speeds up one-time build
1451 <  --enable-dependency-tracking   do not reject slow dependency extractors
1448 >  --enable-silent-rules   less verbose build output (undo: "make V=1")
1449 >  --disable-silent-rules  verbose build output (undo: "make V=0")
1450 >  --enable-maintainer-mode
1451 >                          enable make rules and dependencies not useful (and
1452 >                          sometimes confusing) to the casual installer
1453 >  --enable-dependency-tracking
1454 >                          do not reject slow dependency extractors
1455 >  --disable-dependency-tracking
1456 >                          speeds up one-time build
1457    --enable-static[=PKGS]  build static libraries [default=no]
1458    --enable-shared[=PKGS]  build shared libraries [default=yes]
1459    --enable-fast-install[=PKGS]
1460                            optimize for fast installation [default=yes]
1461    --disable-libtool-lock  avoid locking (might break parallel builds)
1462    --enable-ltdl-install   install libltdl
1463 <  --disable-zlib          Disable ziplinks support
1581 <  --disable-libpcre       Disable PCRE support
1463 >  --disable-libgeoip      Disable GeoIP support
1464    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1465    --disable-openssl            Disable OpenSSL support.
1466    --enable-assert         Enable assert() statements
1585 –  --enable-small-net      Enable small network support.
1467    --enable-kqueue         Force kqueue usage.
1468    --enable-epoll          Force epoll usage.
1469    --enable-devpoll        Force devpoll usage.
1589 –  --enable-rtsigio        Force rtsigio usage.
1470    --enable-poll           Force poll usage.
1471    --enable-select         Force select usage.
1592 –  --enable-efnet          For IRCDs running on EFnet.
1593 –  --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1596 –  --enable-syslog="EVENTS"
1597 –                          Enable syslog for events: users oper (space
1598 –                          separated in quotes; default: disabled).
1474  
1475   Optional Packages:
1476    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1477    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1478 <  --with-pic              try to use only PIC/non-PIC objects [default=use
1478 >  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1479                            both]
1480    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1481 +  --with-sysroot=DIR Search for dependent libraries within DIR
1482 +                        (or the compiler's sysroot if not specified).
1483    --with-included-ltdl    use the GNU ltdl sources included here
1484    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1485    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1609 –  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1610 –  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1611 –  --with-nicklen=<value>  Set nickname length (default 9).
1612 –  --with-topiclen=<value> Set topic length (default 160).
1613 –  --with-syslog-facility=LOG
1614 –                          Define the syslog facility to use (default:
1615 –                          LOG_LOCAL4)
1486  
1487   Some influential environment variables:
1488    CC          C compiler command
# Line 1622 | Line 1492 | Some influential environment variables:
1492    LIBS        libraries to pass to the linker, e.g. -l<library>
1493    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1494                you have headers in a nonstandard directory <include dir>
1495 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1496 <              the first program found out of: `bison -y', `byacc', `yacc'.
1495 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1496 >              Defaults to the first program found out of: `bison -y', `byacc',
1497 >              `yacc'.
1498    YFLAGS      The list of arguments that will be passed by default to $YACC.
1499                This script will default YFLAGS to the empty string to avoid a
1500                default value of `-d' given by some make applications.
# Line 1695 | Line 1566 | fi
1566   test -n "$ac_init_help" && exit $ac_status
1567   if $ac_init_version; then
1568    cat <<\_ACEOF
1569 < ircd-hybrid configure 7.3-rc1
1570 < generated by GNU Autoconf 2.65
1569 > ircd-hybrid configure TRUNK
1570 > generated by GNU Autoconf 2.69
1571  
1572 < Copyright (C) 2009 Free Software Foundation, Inc.
1572 > Copyright (C) 2012 Free Software Foundation, Inc.
1573   This configure script is free software; the Free Software Foundation
1574   gives unlimited permission to copy, distribute and modify it.
1575   _ACEOF
# Line 1742 | Line 1613 | sed 's/^/| /' conftest.$ac_ext >&5
1613  
1614          ac_retval=1
1615   fi
1616 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617    as_fn_set_status $ac_retval
1618  
1619   } # ac_fn_c_try_compile
# Line 1774 | Line 1645 | $as_echo "$ac_try_echo"; } >&5
1645           test ! -s conftest.err
1646         } && test -s conftest$ac_exeext && {
1647           test "$cross_compiling" = yes ||
1648 <         $as_test_x conftest$ac_exeext
1648 >         test -x conftest$ac_exeext
1649         }; then :
1650    ac_retval=0
1651   else
# Line 1788 | Line 1659 | fi
1659    # interfere with the next link command; also delete a directory that is
1660    # left behind by Apple's compiler.  We do this before executing the actions.
1661    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663    as_fn_set_status $ac_retval
1664  
1665   } # ac_fn_c_try_link
# Line 1802 | Line 1673 | ac_fn_c_check_header_compile ()
1673    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675   $as_echo_n "checking for $2... " >&6; }
1676 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1676 > if eval \${$3+:} false; then :
1677    $as_echo_n "(cached) " >&6
1678   else
1679    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1820 | Line 1691 | fi
1691   eval ac_res=\$$3
1692                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693   $as_echo "$ac_res" >&6; }
1694 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1694 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695  
1696   } # ac_fn_c_check_header_compile
1697  
# Line 1845 | Line 1716 | $as_echo "$ac_try_echo"; } >&5
1716      mv -f conftest.er1 conftest.err
1717    fi
1718    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 <  test $ac_status = 0; } >/dev/null && {
1719 >  test $ac_status = 0; } > conftest.i && {
1720           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1721           test ! -s conftest.err
1722         }; then :
# Line 1856 | Line 1727 | sed 's/^/| /' conftest.$ac_ext >&5
1727  
1728      ac_retval=1
1729   fi
1730 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731    as_fn_set_status $ac_retval
1732  
1733   } # ac_fn_c_try_cpp
# Line 1898 | Line 1769 | sed 's/^/| /' conftest.$ac_ext >&5
1769         ac_retval=$ac_status
1770   fi
1771    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773    as_fn_set_status $ac_retval
1774  
1775   } # ac_fn_c_try_run
# Line 1911 | Line 1782 | ac_fn_c_check_func ()
1782    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784   $as_echo_n "checking for $2... " >&6; }
1785 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1785 > if eval \${$3+:} false; then :
1786    $as_echo_n "(cached) " >&6
1787   else
1788    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1966 | Line 1837 | fi
1837   eval ac_res=\$$3
1838                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839   $as_echo "$ac_res" >&6; }
1840 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841  
1842   } # ac_fn_c_check_func
1843  
1844 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1845 < # ------------------------------------
1846 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1844 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1845 > # ---------------------------------------------
1846 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1847 > # accordingly.
1848   ac_fn_c_check_decl ()
1849   {
1850    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1852 < $as_echo_n "checking whether $2 is declared... " >&6; }
1853 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1851 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1852 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1853 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1854 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1855 > if eval \${$3+:} false; then :
1856    $as_echo_n "(cached) " >&6
1857   else
1858    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1987 | Line 1861 | $4
1861   int
1862   main ()
1863   {
1864 < #ifndef $2
1865 <  (void) $2;
1864 > #ifndef $as_decl_name
1865 > #ifdef __cplusplus
1866 >  (void) $as_decl_use;
1867 > #else
1868 >  (void) $as_decl_name;
1869 > #endif
1870   #endif
1871  
1872    ;
# Line 2005 | Line 1883 | fi
1883   eval ac_res=\$$3
1884                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885   $as_echo "$ac_res" >&6; }
1886 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887  
1888   } # ac_fn_c_check_decl
1889  
# Line 2018 | Line 1896 | ac_fn_c_check_type ()
1896    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898   $as_echo_n "checking for $2... " >&6; }
1899 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1899 > if eval \${$3+:} false; then :
1900    $as_echo_n "(cached) " >&6
1901   else
1902    eval "$3=no"
# Line 2059 | Line 1937 | fi
1937   eval ac_res=\$$3
1938                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939   $as_echo "$ac_res" >&6; }
1940 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941  
1942   } # ac_fn_c_check_type
1943  
# Line 2072 | Line 1950 | ac_fn_c_check_member ()
1950    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1952   $as_echo_n "checking for $2.$3... " >&6; }
1953 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 > if eval \${$4+:} false; then :
1954    $as_echo_n "(cached) " >&6
1955   else
1956    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2116 | Line 1994 | fi
1994   eval ac_res=\$$4
1995                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996   $as_echo "$ac_res" >&6; }
1997 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998  
1999   } # ac_fn_c_check_member
2000  
# Line 2128 | Line 2006 | $as_echo "$ac_res" >&6; }
2006   ac_fn_c_check_header_mongrel ()
2007   {
2008    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2009 >  if eval \${$3+:} false; then :
2010    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2011   $as_echo_n "checking for $2... " >&6; }
2012 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2012 > if eval \${$3+:} false; then :
2013    $as_echo_n "(cached) " >&6
2014   fi
2015   eval ac_res=\$$3
# Line 2167 | Line 2045 | if ac_fn_c_try_cpp "$LINENO"; then :
2045   else
2046    ac_header_preproc=no
2047   fi
2048 < rm -f conftest.err conftest.$ac_ext
2048 > rm -f conftest.err conftest.i conftest.$ac_ext
2049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2050   $as_echo "$ac_header_preproc" >&6; }
2051  
# Line 2190 | Line 2068 | $as_echo "$as_me: WARNING: $2: see the A
2068   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2069      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2070   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2071 < ( cat <<\_ASBOX
2194 < ## ----------------------------------- ##
2071 > ( $as_echo "## ----------------------------------- ##
2072   ## Report this to bugs@ircd-hybrid.org ##
2073 < ## ----------------------------------- ##
2197 < _ASBOX
2073 > ## ----------------------------------- ##"
2074       ) | sed "s/^/$as_me: WARNING:     /" >&2
2075      ;;
2076   esac
2077    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2078   $as_echo_n "checking for $2... " >&6; }
2079 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2079 > if eval \${$3+:} false; then :
2080    $as_echo_n "(cached) " >&6
2081   else
2082    eval "$3=\$ac_header_compiler"
# Line 2209 | Line 2085 | eval ac_res=\$$3
2085                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086   $as_echo "$ac_res" >&6; }
2087   fi
2088 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2088 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2089  
2090   } # ac_fn_c_check_header_mongrel
2091   cat >config.log <<_ACEOF
2092   This file contains any messages produced by compilers while
2093   running configure, to aid debugging if configure makes a mistake.
2094  
2095 < It was created by ircd-hybrid $as_me 7.3-rc1, which was
2096 < generated by GNU Autoconf 2.65.  Invocation command line was
2095 > It was created by ircd-hybrid $as_me TRUNK, which was
2096 > generated by GNU Autoconf 2.69.  Invocation command line was
2097  
2098    $ $0 $@
2099  
# Line 2327 | Line 2203 | trap 'exit_status=$?
2203    {
2204      echo
2205  
2206 <    cat <<\_ASBOX
2331 < ## ---------------- ##
2206 >    $as_echo "## ---------------- ##
2207   ## Cache variables. ##
2208 < ## ---------------- ##
2334 < _ASBOX
2208 > ## ---------------- ##"
2209      echo
2210      # The following way of writing the cache mishandles newlines in values,
2211   (
# Line 2365 | Line 2239 | $as_echo "$as_me: WARNING: cache variabl
2239   )
2240      echo
2241  
2242 <    cat <<\_ASBOX
2369 < ## ----------------- ##
2242 >    $as_echo "## ----------------- ##
2243   ## Output variables. ##
2244 < ## ----------------- ##
2372 < _ASBOX
2244 > ## ----------------- ##"
2245      echo
2246      for ac_var in $ac_subst_vars
2247      do
# Line 2382 | Line 2254 | _ASBOX
2254      echo
2255  
2256      if test -n "$ac_subst_files"; then
2257 <      cat <<\_ASBOX
2386 < ## ------------------- ##
2257 >      $as_echo "## ------------------- ##
2258   ## File substitutions. ##
2259 < ## ------------------- ##
2389 < _ASBOX
2259 > ## ------------------- ##"
2260        echo
2261        for ac_var in $ac_subst_files
2262        do
# Line 2400 | Line 2270 | _ASBOX
2270      fi
2271  
2272      if test -s confdefs.h; then
2273 <      cat <<\_ASBOX
2404 < ## ----------- ##
2273 >      $as_echo "## ----------- ##
2274   ## confdefs.h. ##
2275 < ## ----------- ##
2407 < _ASBOX
2275 > ## ----------- ##"
2276        echo
2277        cat confdefs.h
2278        echo
# Line 2459 | Line 2327 | _ACEOF
2327   ac_site_file1=NONE
2328   ac_site_file2=NONE
2329   if test -n "$CONFIG_SITE"; then
2330 <  ac_site_file1=$CONFIG_SITE
2330 >  # We do not want a PATH search for config.site.
2331 >  case $CONFIG_SITE in #((
2332 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2333 >    */*) ac_site_file1=$CONFIG_SITE;;
2334 >    *)   ac_site_file1=./$CONFIG_SITE;;
2335 >  esac
2336   elif test "x$prefix" != xNONE; then
2337    ac_site_file1=$prefix/share/config.site
2338    ac_site_file2=$prefix/etc/config.site
# Line 2474 | Line 2347 | do
2347      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2348   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2349      sed 's/^/| /' "$ac_site_file" >&5
2350 <    . "$ac_site_file"
2350 >    . "$ac_site_file" \
2351 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353 > as_fn_error $? "failed to load site script $ac_site_file
2354 > See \`config.log' for more details" "$LINENO" 5; }
2355    fi
2356   done
2357  
# Line 2495 | Line 2372 | $as_echo "$as_me: creating cache $cache_
2372    >$cache_file
2373   fi
2374  
2498 – as_fn_append ac_func_list " mmap"
2375   as_fn_append ac_func_list " strtok_r"
2376   as_fn_append ac_func_list " usleep"
2377   as_fn_append ac_func_list " strlcat"
2378   as_fn_append ac_func_list " strlcpy"
2379   as_fn_append ac_header_list " crypt.h"
2504 – as_fn_append ac_header_list " inttypes.h"
2505 – as_fn_append ac_header_list " stdint.h"
2380   as_fn_append ac_header_list " sys/resource.h"
2381   as_fn_append ac_header_list " sys/param.h"
2508 – as_fn_append ac_header_list " errno.h"
2509 – as_fn_append ac_header_list " sys/syslog.h"
2382   as_fn_append ac_header_list " types.h"
2383   as_fn_append ac_header_list " socket.h"
2384   as_fn_append ac_header_list " sys/wait.h"
2385   as_fn_append ac_header_list " wait.h"
2514 – as_fn_append ac_header_list " link.h"
2386   # Check that the precious variables saved in the cache have kept the same
2387   # value.
2388   ac_cache_corrupted=false
# Line 2567 | Line 2438 | if $ac_cache_corrupted; then
2438   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2440   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2441 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2441 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2442   fi
2443   ## -------------------- ##
2444   ## Main body of script. ##
# Line 2580 | Line 2451 | ac_link='$CC -o conftest$ac_exeext $CFLA
2451   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452  
2453  
2454 < am__api_version='1.11'
2454 > am__api_version='1.14'
2455  
2456   ac_aux_dir=
2457   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2458 <  for ac_t in install-sh install.sh shtool; do
2459 <    if test -f "$ac_dir/$ac_t"; then
2460 <      ac_aux_dir=$ac_dir
2461 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2462 <      break 2
2463 <    fi
2464 <  done
2458 >  if test -f "$ac_dir/install-sh"; then
2459 >    ac_aux_dir=$ac_dir
2460 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2461 >    break
2462 >  elif test -f "$ac_dir/install.sh"; then
2463 >    ac_aux_dir=$ac_dir
2464 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2465 >    break
2466 >  elif test -f "$ac_dir/shtool"; then
2467 >    ac_aux_dir=$ac_dir
2468 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2469 >    break
2470 >  fi
2471   done
2472   if test -z "$ac_aux_dir"; then
2473 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2473 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2474   fi
2475  
2476   # These three variables are undocumented and unsupported,
# Line 2622 | Line 2499 | ac_configure="$SHELL $ac_aux_dir/configu
2499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2500   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2501   if test -z "$INSTALL"; then
2502 < if test "${ac_cv_path_install+set}" = set; then :
2502 > if ${ac_cv_path_install+:} false; then :
2503    $as_echo_n "(cached) " >&6
2504   else
2505    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2642 | Line 2519 | case $as_dir/ in #((
2519      # by default.
2520      for ac_prog in ginstall scoinst install; do
2521        for ac_exec_ext in '' $ac_executable_extensions; do
2522 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2522 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2523            if test $ac_prog = install &&
2524              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525              # AIX install.  It has an incompatible calling convention.
# Line 2700 | Line 2577 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2577  
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2579   $as_echo_n "checking whether build environment is sane... " >&6; }
2703 – # Just in case
2704 – sleep 1
2705 – echo timestamp > conftest.file
2580   # Reject unsafe characters in $srcdir or the absolute working directory
2581   # name.  Accept space and tab only in the latter.
2582   am_lf='
2583   '
2584   case `pwd` in
2585    *[\\\"\#\$\&\'\`$am_lf]*)
2586 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2586 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2587   esac
2588   case $srcdir in
2589    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2590 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2590 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2591   esac
2592  
2593 < # Do `set' in a subshell so we don't clobber the current shell's
2593 > # Do 'set' in a subshell so we don't clobber the current shell's
2594   # arguments.  Must try -L first in case configure is actually a
2595   # symlink; some systems play weird games with the mod time of symlinks
2596   # (eg FreeBSD returns the mod time of the symlink's containing
2597   # directory).
2598   if (
2599 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2600 <   if test "$*" = "X"; then
2601 <      # -L didn't work.
2602 <      set X `ls -t "$srcdir/configure" conftest.file`
2603 <   fi
2604 <   rm -f conftest.file
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
2735 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 <      # broken ls alias from the environment.  This has actually
2737 <      # happened.  Such a system could not be considered "sane".
2738 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2739 < alias in your environment" "$LINENO" 5
2740 <   fi
2599 >   am_has_slept=no
2600 >   for am_try in 1 2; do
2601 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2602 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 >     if test "$*" = "X"; then
2604 >        # -L didn't work.
2605 >        set X `ls -t "$srcdir/configure" conftest.file`
2606 >     fi
2607 >     if test "$*" != "X $srcdir/configure conftest.file" \
2608 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2609  
2610 +        # If neither matched, then we have a broken ls.  This can happen
2611 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2612 +        # broken ls alias from the environment.  This has actually
2613 +        # happened.  Such a system could not be considered "sane".
2614 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2615 +  alias in your environment" "$LINENO" 5
2616 +     fi
2617 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2618 +       break
2619 +     fi
2620 +     # Just in case.
2621 +     sleep 1
2622 +     am_has_slept=yes
2623 +   done
2624     test "$2" = conftest.file
2625     )
2626   then
2627     # Ok.
2628     :
2629   else
2630 <   as_fn_error "newly created file is older than distributed files!
2630 >   as_fn_error $? "newly created file is older than distributed files!
2631   Check your system clock" "$LINENO" 5
2632   fi
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634   $as_echo "yes" >&6; }
2635 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2636 + # generated files are strictly newer.
2637 + am_sleep_pid=
2638 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2639 +  ( sleep 1 ) &
2640 +  am_sleep_pid=$!
2641 + fi
2642 +
2643 + rm -f conftest.file
2644 +
2645   test "$program_prefix" != NONE &&
2646    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2647   # Use a double $ so make ignores it.
# Line 2772 | Line 2664 | if test x"${MISSING+set}" != xset; then
2664    esac
2665   fi
2666   # Use eval to expand $SHELL
2667 < if eval "$MISSING --run true"; then
2668 <  am_missing_run="$MISSING --run "
2667 > if eval "$MISSING --is-lightweight"; then
2668 >  am_missing_run="$MISSING "
2669   else
2670    am_missing_run=
2671 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2672 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2671 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2672 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2673   fi
2674  
2675   if test x"${install_sh}" != xset; then
# Line 2789 | Line 2681 | if test x"${install_sh}" != xset; then
2681    esac
2682   fi
2683  
2684 < # Installed binaries are usually stripped using `strip' when the user
2685 < # run `make install-strip'.  However `strip' might not be the right
2684 > # Installed binaries are usually stripped using 'strip' when the user
2685 > # run "make install-strip".  However 'strip' might not be the right
2686   # tool to use in cross-compilation environments, therefore Automake
2687 < # will honor the `STRIP' environment variable to overrule this program.
2687 > # will honor the 'STRIP' environment variable to overrule this program.
2688   if test "$cross_compiling" != no; then
2689    if test -n "$ac_tool_prefix"; then
2690    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2691   set dummy ${ac_tool_prefix}strip; ac_word=$2
2692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693   $as_echo_n "checking for $ac_word... " >&6; }
2694 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2694 > if ${ac_cv_prog_STRIP+:} false; then :
2695    $as_echo_n "(cached) " >&6
2696   else
2697    if test -n "$STRIP"; then
# Line 2811 | Line 2703 | do
2703    IFS=$as_save_IFS
2704    test -z "$as_dir" && as_dir=.
2705      for ac_exec_ext in '' $ac_executable_extensions; do
2706 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2707      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2708      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709      break 2
# Line 2839 | Line 2731 | if test -z "$ac_cv_prog_STRIP"; then
2731   set dummy strip; ac_word=$2
2732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733   $as_echo_n "checking for $ac_word... " >&6; }
2734 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2734 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2735    $as_echo_n "(cached) " >&6
2736   else
2737    if test -n "$ac_ct_STRIP"; then
# Line 2851 | Line 2743 | do
2743    IFS=$as_save_IFS
2744    test -z "$as_dir" && as_dir=.
2745      for ac_exec_ext in '' $ac_executable_extensions; do
2746 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747      ac_cv_prog_ac_ct_STRIP="strip"
2748      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749      break 2
# Line 2892 | Line 2784 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2785   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2786   if test -z "$MKDIR_P"; then
2787 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2787 >  if ${ac_cv_path_mkdir+:} false; then :
2788    $as_echo_n "(cached) " >&6
2789   else
2790    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2902 | Line 2794 | do
2794    test -z "$as_dir" && as_dir=.
2795      for ac_prog in mkdir gmkdir; do
2796           for ac_exec_ext in '' $ac_executable_extensions; do
2797 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2797 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2798             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2799               'mkdir (GNU coreutils) '* | \
2800               'mkdir (coreutils) '* | \
# Line 2931 | Line 2823 | fi
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2824   $as_echo "$MKDIR_P" >&6; }
2825  
2934 – mkdir_p="$MKDIR_P"
2935 – case $mkdir_p in
2936 –  [\\/$]* | ?:[\\/]*) ;;
2937 –  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2938 – esac
2939 –
2826   for ac_prog in gawk mawk nawk awk
2827   do
2828    # Extract the first word of "$ac_prog", so it can be a program name with args.
2829   set dummy $ac_prog; ac_word=$2
2830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831   $as_echo_n "checking for $ac_word... " >&6; }
2832 < if test "${ac_cv_prog_AWK+set}" = set; then :
2832 > if ${ac_cv_prog_AWK+:} false; then :
2833    $as_echo_n "(cached) " >&6
2834   else
2835    if test -n "$AWK"; then
# Line 2955 | Line 2841 | do
2841    IFS=$as_save_IFS
2842    test -z "$as_dir" && as_dir=.
2843      for ac_exec_ext in '' $ac_executable_extensions; do
2844 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845      ac_cv_prog_AWK="$ac_prog"
2846      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847      break 2
# Line 2983 | Line 2869 | done
2869   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870   set x ${MAKE-make}
2871   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2872 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2872 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2873    $as_echo_n "(cached) " >&6
2874   else
2875    cat >conftest.make <<\_ACEOF
# Line 2991 | Line 2877 | SHELL = /bin/sh
2877   all:
2878          @echo '@@@%%%=$(MAKE)=@@@%%%'
2879   _ACEOF
2880 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2880 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2881   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2882    *@@@%%%=?*=@@@%%%*)
2883      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3019 | Line 2905 | else
2905   fi
2906   rmdir .tst 2>/dev/null
2907  
2908 + # Check whether --enable-silent-rules was given.
2909 + if test "${enable_silent_rules+set}" = set; then :
2910 +  enableval=$enable_silent_rules;
2911 + fi
2912 +
2913 + case $enable_silent_rules in # (((
2914 +  yes) AM_DEFAULT_VERBOSITY=0;;
2915 +   no) AM_DEFAULT_VERBOSITY=1;;
2916 +    *) AM_DEFAULT_VERBOSITY=1;;
2917 + esac
2918 + am_make=${MAKE-make}
2919 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2920 + $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2921 + if ${am_cv_make_support_nested_variables+:} false; then :
2922 +  $as_echo_n "(cached) " >&6
2923 + else
2924 +  if $as_echo 'TRUE=$(BAR$(V))
2925 + BAR0=false
2926 + BAR1=true
2927 + V=1
2928 + am__doit:
2929 +        @$(TRUE)
2930 + .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2931 +  am_cv_make_support_nested_variables=yes
2932 + else
2933 +  am_cv_make_support_nested_variables=no
2934 + fi
2935 + fi
2936 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2937 + $as_echo "$am_cv_make_support_nested_variables" >&6; }
2938 + if test $am_cv_make_support_nested_variables = yes; then
2939 +    AM_V='$(V)'
2940 +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2941 + else
2942 +  AM_V=$AM_DEFAULT_VERBOSITY
2943 +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2944 + fi
2945 + AM_BACKSLASH='\'
2946 +
2947   if test "`cd $srcdir && pwd`" != "`pwd`"; then
2948    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2949    # is not polluted with repeated "-I."
2950    am__isrc=' -I$(srcdir)'
2951    # test to see if srcdir already configured
2952    if test -f $srcdir/config.status; then
2953 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2953 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2954    fi
2955   fi
2956  
# Line 3041 | Line 2966 | fi
2966  
2967   # Define the identity of the package.
2968   PACKAGE='ircd-hybrid'
2969 < VERSION='7.3-rc1'
2969 > VERSION='TRUNK'
2970  
2971  
2972   cat >>confdefs.h <<_ACEOF
# Line 3069 | Line 2994 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2994  
2995   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2996  
2997 + # For better backward compatibility.  To be removed once Automake 1.9.x
2998 + # dies out for good.  For more background, see:
2999 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3000 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3001 + mkdir_p='$(MKDIR_P)'
3002 +
3003   # We need awk for the "check" target.  The system "awk" is bad on
3004   # some platforms.
3005 < # Always define AMTAR for backward compatibility.
3005 > # Always define AMTAR for backward compatibility.  Yes, it's still used
3006 > # in the wild :-(  We should find a proper way to deprecate it ...
3007 > AMTAR='$${TAR-tar}'
3008 >
3009  
3010 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3010 > # We'll loop over all known methods to create a tar archive until one works.
3011 > _am_tools='gnutar  pax cpio none'
3012  
3013 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3013 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3014  
3015  
3016  
3017  
3018  
3019  
3020 + # POSIX will say in a future version that running "rm -f" with no argument
3021 + # is OK; and we want to be able to make that assumption in our Makefile
3022 + # recipes.  So use an aggressive probe to check that the usage we want is
3023 + # actually supported "in the wild" to an acceptable degree.
3024 + # See automake bug#10828.
3025 + # To make any issue more visible, cause the running configure to be aborted
3026 + # by default if the 'rm' program in use doesn't match our expectations; the
3027 + # user can still override this though.
3028 + if rm -f && rm -fr && rm -rf; then : OK; else
3029 +  cat >&2 <<'END'
3030 + Oops!
3031 +
3032 + Your 'rm' program seems unable to run without file operands specified
3033 + on the command line, even when the '-f' option is present.  This is contrary
3034 + to the behaviour of most rm programs out there, and not conforming with
3035 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3036 +
3037 + Please tell bug-automake@gnu.org about your system, including the value
3038 + of your $PATH and any error possibly output before this message.  This
3039 + can help us improve future automake versions.
3040 +
3041 + END
3042 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3043 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3044 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3045 +    echo >&2
3046 +  else
3047 +    cat >&2 <<'END'
3048 + Aborting the configuration process, to ensure you take notice of the issue.
3049 +
3050 + You can download and install GNU coreutils to get an 'rm' implementation
3051 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3052 +
3053 + If you want to complete the configuration process using your problematic
3054 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3055 + to "yes", and re-run configure.
3056 +
3057 + END
3058 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3059 +  fi
3060 + fi
3061 +
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3063   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3064      # Check whether --enable-maintainer-mode was given.
# Line 3104 | Line 3081 | fi
3081    MAINT=$MAINTAINER_MODE_TRUE
3082  
3083  
3084 +
3085   ac_config_headers="$ac_config_headers config.h"
3086  
3087  
# Line 3128 | Line 3106 | am__quote=
3106   _am_result=none
3107   # First try GNU make style include.
3108   echo "include confinc" > confmf
3109 < # Ignore all kinds of additional output from `make'.
3109 > # Ignore all kinds of additional output from 'make'.
3110   case `$am_make -s -f confmf 2> /dev/null` in #(
3111   *the\ am__doit\ target*)
3112    am__include=include
# Line 3161 | Line 3139 | fi
3139   if test "x$enable_dependency_tracking" != xno; then
3140    am_depcomp="$ac_aux_dir/depcomp"
3141    AMDEPBACKSLASH='\'
3142 +  am__nodep='_no'
3143   fi
3144   if test "x$enable_dependency_tracking" != xno; then
3145    AMDEP_TRUE=
# Line 3181 | Line 3160 | if test -n "$ac_tool_prefix"; then
3160   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162   $as_echo_n "checking for $ac_word... " >&6; }
3163 < if test "${ac_cv_prog_CC+set}" = set; then :
3163 > if ${ac_cv_prog_CC+:} false; then :
3164    $as_echo_n "(cached) " >&6
3165   else
3166    if test -n "$CC"; then
# Line 3193 | Line 3172 | do
3172    IFS=$as_save_IFS
3173    test -z "$as_dir" && as_dir=.
3174      for ac_exec_ext in '' $ac_executable_extensions; do
3175 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3177      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178      break 2
# Line 3221 | Line 3200 | if test -z "$ac_cv_prog_CC"; then
3200   set dummy gcc; ac_word=$2
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202   $as_echo_n "checking for $ac_word... " >&6; }
3203 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3203 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3204    $as_echo_n "(cached) " >&6
3205   else
3206    if test -n "$ac_ct_CC"; then
# Line 3233 | Line 3212 | do
3212    IFS=$as_save_IFS
3213    test -z "$as_dir" && as_dir=.
3214      for ac_exec_ext in '' $ac_executable_extensions; do
3215 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216      ac_cv_prog_ac_ct_CC="gcc"
3217      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218      break 2
# Line 3274 | Line 3253 | if test -z "$CC"; then
3253   set dummy ${ac_tool_prefix}cc; ac_word=$2
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255   $as_echo_n "checking for $ac_word... " >&6; }
3256 < if test "${ac_cv_prog_CC+set}" = set; then :
3256 > if ${ac_cv_prog_CC+:} false; then :
3257    $as_echo_n "(cached) " >&6
3258   else
3259    if test -n "$CC"; then
# Line 3286 | Line 3265 | do
3265    IFS=$as_save_IFS
3266    test -z "$as_dir" && as_dir=.
3267      for ac_exec_ext in '' $ac_executable_extensions; do
3268 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269      ac_cv_prog_CC="${ac_tool_prefix}cc"
3270      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271      break 2
# Line 3314 | Line 3293 | if test -z "$CC"; then
3293   set dummy cc; ac_word=$2
3294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295   $as_echo_n "checking for $ac_word... " >&6; }
3296 < if test "${ac_cv_prog_CC+set}" = set; then :
3296 > if ${ac_cv_prog_CC+:} false; then :
3297    $as_echo_n "(cached) " >&6
3298   else
3299    if test -n "$CC"; then
# Line 3327 | Line 3306 | do
3306    IFS=$as_save_IFS
3307    test -z "$as_dir" && as_dir=.
3308      for ac_exec_ext in '' $ac_executable_extensions; do
3309 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3311         ac_prog_rejected=yes
3312         continue
# Line 3373 | Line 3352 | if test -z "$CC"; then
3352   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354   $as_echo_n "checking for $ac_word... " >&6; }
3355 < if test "${ac_cv_prog_CC+set}" = set; then :
3355 > if ${ac_cv_prog_CC+:} false; then :
3356    $as_echo_n "(cached) " >&6
3357   else
3358    if test -n "$CC"; then
# Line 3385 | Line 3364 | do
3364    IFS=$as_save_IFS
3365    test -z "$as_dir" && as_dir=.
3366      for ac_exec_ext in '' $ac_executable_extensions; do
3367 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3369      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370      break 2
# Line 3417 | Line 3396 | do
3396   set dummy $ac_prog; ac_word=$2
3397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398   $as_echo_n "checking for $ac_word... " >&6; }
3399 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3399 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3400    $as_echo_n "(cached) " >&6
3401   else
3402    if test -n "$ac_ct_CC"; then
# Line 3429 | Line 3408 | do
3408    IFS=$as_save_IFS
3409    test -z "$as_dir" && as_dir=.
3410      for ac_exec_ext in '' $ac_executable_extensions; do
3411 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412      ac_cv_prog_ac_ct_CC="$ac_prog"
3413      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414      break 2
# Line 3471 | Line 3450 | fi
3450  
3451   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 < as_fn_error "no acceptable C compiler found in \$PATH
3454 < See \`config.log' for more details." "$LINENO" 5; }
3453 > as_fn_error $? "no acceptable C compiler found in \$PATH
3454 > See \`config.log' for more details" "$LINENO" 5; }
3455  
3456   # Provide some information about the compiler.
3457   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3586 | Line 3565 | sed 's/^/| /' conftest.$ac_ext >&5
3565  
3566   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568 < { as_fn_set_status 77
3569 < as_fn_error "C compiler cannot create executables
3591 < See \`config.log' for more details." "$LINENO" 5; }; }
3568 > as_fn_error 77 "C compiler cannot create executables
3569 > See \`config.log' for more details" "$LINENO" 5; }
3570   else
3571    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3572   $as_echo "yes" >&6; }
# Line 3630 | Line 3608 | done
3608   else
3609    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3610   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3611 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3612 < See \`config.log' for more details." "$LINENO" 5; }
3611 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3612 > See \`config.log' for more details" "$LINENO" 5; }
3613   fi
3614   rm -f conftest conftest$ac_cv_exeext
3615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
# Line 3688 | Line 3666 | $as_echo "$ac_try_echo"; } >&5
3666      else
3667          { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3668   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3669 < as_fn_error "cannot run C compiled programs.
3669 > as_fn_error $? "cannot run C compiled programs.
3670   If you meant to cross compile, use \`--host'.
3671 < See \`config.log' for more details." "$LINENO" 5; }
3671 > See \`config.log' for more details" "$LINENO" 5; }
3672      fi
3673    fi
3674   fi
# Line 3701 | Line 3679 | rm -f conftest.$ac_ext conftest$ac_cv_ex
3679   ac_clean_files=$ac_clean_files_save
3680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3681   $as_echo_n "checking for suffix of object files... " >&6; }
3682 < if test "${ac_cv_objext+set}" = set; then :
3682 > if ${ac_cv_objext+:} false; then :
3683    $as_echo_n "(cached) " >&6
3684   else
3685    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3741 | Line 3719 | sed 's/^/| /' conftest.$ac_ext >&5
3719  
3720   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 < as_fn_error "cannot compute suffix of object files: cannot compile
3723 < See \`config.log' for more details." "$LINENO" 5; }
3722 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3723 > See \`config.log' for more details" "$LINENO" 5; }
3724   fi
3725   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3726   fi
# Line 3752 | Line 3730 | OBJEXT=$ac_cv_objext
3730   ac_objext=$OBJEXT
3731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3732   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3733 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3733 > if ${ac_cv_c_compiler_gnu+:} false; then :
3734    $as_echo_n "(cached) " >&6
3735   else
3736    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3789 | Line 3767 | ac_test_CFLAGS=${CFLAGS+set}
3767   ac_save_CFLAGS=$CFLAGS
3768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3769   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3770 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3770 > if ${ac_cv_prog_cc_g+:} false; then :
3771    $as_echo_n "(cached) " >&6
3772   else
3773    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3867 | Line 3845 | else
3845   fi
3846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3847   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3848 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3848 > if ${ac_cv_prog_cc_c89+:} false; then :
3849    $as_echo_n "(cached) " >&6
3850   else
3851    ac_cv_prog_cc_c89=no
# Line 3876 | Line 3854 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3854   /* end confdefs.h.  */
3855   #include <stdarg.h>
3856   #include <stdio.h>
3857 < #include <sys/types.h>
3880 < #include <sys/stat.h>
3857 > struct stat;
3858   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3859   struct buf { int x; };
3860   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 3962 | Line 3939 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3939   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941  
3942 + ac_ext=c
3943 + ac_cpp='$CPP $CPPFLAGS'
3944 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3948 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3949 + if ${am_cv_prog_cc_c_o+:} false; then :
3950 +  $as_echo_n "(cached) " >&6
3951 + else
3952 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 + /* end confdefs.h.  */
3954 +
3955 + int
3956 + main ()
3957 + {
3958 +
3959 +  ;
3960 +  return 0;
3961 + }
3962 + _ACEOF
3963 +  # Make sure it works both with $CC and with simple cc.
3964 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3965 +  # compilers refuse to overwrite an existing .o file with -o,
3966 +  # though they will create one.
3967 +  am_cv_prog_cc_c_o=yes
3968 +  for am_i in 1 2; do
3969 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3970 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3971 +   ac_status=$?
3972 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 +   (exit $ac_status); } \
3974 +         && test -f conftest2.$ac_objext; then
3975 +      : OK
3976 +    else
3977 +      am_cv_prog_cc_c_o=no
3978 +      break
3979 +    fi
3980 +  done
3981 +  rm -f core conftest*
3982 +  unset am_i
3983 + fi
3984 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3985 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3986 + if test "$am_cv_prog_cc_c_o" != yes; then
3987 +   # Losing compiler, so override with the script.
3988 +   # FIXME: It is wrong to rewrite CC.
3989 +   # But if we don't then we get into trouble of one sort or another.
3990 +   # A longer-term fix would be to have automake use am__CC in this case,
3991 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3992 +   CC="$am_aux_dir/compile $CC"
3993 + fi
3994 + ac_ext=c
3995 + ac_cpp='$CPP $CPPFLAGS'
3996 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3999 +
4000 +
4001   depcc="$CC"   am_compiler_list=
4002  
4003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4004   $as_echo_n "checking dependency style of $depcc... " >&6; }
4005 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4005 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4006    $as_echo_n "(cached) " >&6
4007   else
4008    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4009    # We make a subdir and do the tests there.  Otherwise we can end up
4010    # making bogus files that we don't know about and never remove.  For
4011    # instance it was reported that on HP-UX the gcc test will end up
4012 <  # making a dummy file named `D' -- because `-MD' means `put the output
4013 <  # in D'.
4012 >  # making a dummy file named 'D' -- because '-MD' means "put the output
4013 >  # in D".
4014 >  rm -rf conftest.dir
4015    mkdir conftest.dir
4016    # Copy depcomp to subdir because otherwise we won't find it if we're
4017    # using a relative directory.
# Line 4008 | Line 4045 | else
4045      : > sub/conftest.c
4046      for i in 1 2 3 4 5 6; do
4047        echo '#include "conftst'$i'.h"' >> sub/conftest.c
4048 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4049 <      # Solaris 8's {/usr,}/bin/sh.
4050 <      touch sub/conftst$i.h
4048 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4049 >      # Solaris 10 /bin/sh.
4050 >      echo '/* dummy */' > sub/conftst$i.h
4051      done
4052      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4053  
4054 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4054 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4055      # mode.  It turns out that the SunPro C++ compiler does not properly
4056 <    # handle `-M -o', and we need to detect this.  Also, some Intel
4057 <    # versions had trouble with output in subdirs
4056 >    # handle '-M -o', and we need to detect this.  Also, some Intel
4057 >    # versions had trouble with output in subdirs.
4058      am__obj=sub/conftest.${OBJEXT-o}
4059      am__minus_obj="-o $am__obj"
4060      case $depmode in
# Line 4026 | Line 4063 | else
4063        test "$am__universal" = false || continue
4064        ;;
4065      nosideeffect)
4066 <      # after this tag, mechanisms are not by side-effect, so they'll
4067 <      # only be used when explicitly requested
4066 >      # After this tag, mechanisms are not by side-effect, so they'll
4067 >      # only be used when explicitly requested.
4068        if test "x$enable_dependency_tracking" = xyes; then
4069          continue
4070        else
4071          break
4072        fi
4073        ;;
4074 <    msvisualcpp | msvcmsys)
4075 <      # This compiler won't grok `-c -o', but also, the minuso test has
4074 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4075 >      # This compiler won't grok '-c -o', but also, the minuso test has
4076        # not run yet.  These depmodes are late enough in the game, and
4077        # so weak that their functioning should not be impacted.
4078        am__obj=conftest.${OBJEXT-o}
# Line 4091 | Line 4128 | fi
4128  
4129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4130   $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4131 < if test "${ac_cv_prog_cc_c99+set}" = set; then :
4131 > if ${ac_cv_prog_cc_c99+:} false; then :
4132    $as_echo_n "(cached) " >&6
4133   else
4134    ac_cv_prog_cc_c99=no
# Line 4235 | Line 4272 | main ()
4272    return 0;
4273   }
4274   _ACEOF
4275 < for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4275 > for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4276   do
4277    CC="$ac_save_CC $ac_arg"
4278    if ac_fn_c_try_compile "$LINENO"; then :
# Line 4267 | Line 4304 | fi
4304  
4305  
4306   if test "$ac_cv_prog_cc_c99" = "no"; then :
4307 <  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4307 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4308   fi
4309   for ac_prog in 'bison -y' byacc
4310   do
# Line 4275 | Line 4312 | do
4312   set dummy $ac_prog; ac_word=$2
4313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314   $as_echo_n "checking for $ac_word... " >&6; }
4315 < if test "${ac_cv_prog_YACC+set}" = set; then :
4315 > if ${ac_cv_prog_YACC+:} false; then :
4316    $as_echo_n "(cached) " >&6
4317   else
4318    if test -n "$YACC"; then
# Line 4287 | Line 4324 | do
4324    IFS=$as_save_IFS
4325    test -z "$as_dir" && as_dir=.
4326      for ac_exec_ext in '' $ac_executable_extensions; do
4327 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328      ac_cv_prog_YACC="$ac_prog"
4329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330      break 2
# Line 4319 | Line 4356 | do
4356   set dummy $ac_prog; ac_word=$2
4357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358   $as_echo_n "checking for $ac_word... " >&6; }
4359 < if test "${ac_cv_prog_LEX+set}" = set; then :
4359 > if ${ac_cv_prog_LEX+:} false; then :
4360    $as_echo_n "(cached) " >&6
4361   else
4362    if test -n "$LEX"; then
# Line 4331 | Line 4368 | do
4368    IFS=$as_save_IFS
4369    test -z "$as_dir" && as_dir=.
4370      for ac_exec_ext in '' $ac_executable_extensions; do
4371 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372      ac_cv_prog_LEX="$ac_prog"
4373      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374      break 2
# Line 4363 | Line 4400 | a { ECHO; }
4400   b { REJECT; }
4401   c { yymore (); }
4402   d { yyless (1); }
4403 < e { yyless (input () != 0); }
4403 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4404 >    yyless ((input () != 0)); }
4405   f { unput (yytext[0]); }
4406   . { BEGIN INITIAL; }
4407   %%
# Line 4389 | Line 4427 | $as_echo "$ac_try_echo"; } >&5
4427    test $ac_status = 0; }
4428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4429   $as_echo_n "checking lex output file root... " >&6; }
4430 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4430 > if ${ac_cv_prog_lex_root+:} false; then :
4431    $as_echo_n "(cached) " >&6
4432   else
4433  
# Line 4398 | Line 4436 | if test -f lex.yy.c; then
4436   elif test -f lexyy.c; then
4437    ac_cv_prog_lex_root=lexyy
4438   else
4439 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4439 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4440   fi
4441   fi
4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4408 | Line 4446 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4446   if test -z "${LEXLIB+set}"; then
4447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4448   $as_echo_n "checking lex library... " >&6; }
4449 < if test "${ac_cv_lib_lex+set}" = set; then :
4449 > if ${ac_cv_lib_lex+:} false; then :
4450    $as_echo_n "(cached) " >&6
4451   else
4452  
# Line 4438 | Line 4476 | fi
4476  
4477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4478   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4479 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4479 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4480    $as_echo_n "(cached) " >&6
4481   else
4482    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4449 | Line 4487 | ac_save_LIBS=$LIBS
4487   LIBS="$LEXLIB $ac_save_LIBS"
4488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489   /* end confdefs.h.  */
4490 < #define YYTEXT_POINTER 1
4490 >
4491 >  #define YYTEXT_POINTER 1
4492   `cat $LEX_OUTPUT_ROOT.c`
4493   _ACEOF
4494   if ac_fn_c_try_link "$LINENO"; then :
# Line 4483 | Line 4522 | fi
4522  
4523  
4524  
4486 –
4525   case `pwd` in
4526    *\ * | *\     *)
4527      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4492 | Line 4530 | esac
4530  
4531  
4532  
4533 < macro_version='2.2.6b'
4534 < macro_revision='1.3017'
4533 > macro_version='2.4.2'
4534 > macro_revision='1.3337'
4535  
4536  
4537  
# Line 4511 | Line 4549 | ltmain="$ac_aux_dir/ltmain.sh"
4549  
4550   # Make sure we can run config.sub.
4551   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4552 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4552 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4553  
4554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4555   $as_echo_n "checking build system type... " >&6; }
4556 < if test "${ac_cv_build+set}" = set; then :
4556 > if ${ac_cv_build+:} false; then :
4557    $as_echo_n "(cached) " >&6
4558   else
4559    ac_build_alias=$build_alias
4560   test "x$ac_build_alias" = x &&
4561    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4562   test "x$ac_build_alias" = x &&
4563 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4563 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4564   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4565 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4565 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4566  
4567   fi
4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4569   $as_echo "$ac_cv_build" >&6; }
4570   case $ac_cv_build in
4571   *-*-*) ;;
4572 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4572 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4573   esac
4574   build=$ac_cv_build
4575   ac_save_IFS=$IFS; IFS='-'
# Line 4549 | Line 4587 | case $build_os in *\ *) build_os=`echo "
4587  
4588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4589   $as_echo_n "checking host system type... " >&6; }
4590 < if test "${ac_cv_host+set}" = set; then :
4590 > if ${ac_cv_host+:} false; then :
4591    $as_echo_n "(cached) " >&6
4592   else
4593    if test "x$host_alias" = x; then
4594    ac_cv_host=$ac_cv_build
4595   else
4596    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4597 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4597 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4598   fi
4599  
4600   fi
# Line 4564 | Line 4602 | fi
4602   $as_echo "$ac_cv_host" >&6; }
4603   case $ac_cv_host in
4604   *-*-*) ;;
4605 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4605 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4606   esac
4607   host=$ac_cv_host
4608   ac_save_IFS=$IFS; IFS='-'
# Line 4580 | Line 4618 | IFS=$ac_save_IFS
4618   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4619  
4620  
4621 + # Backslashify metacharacters that are still active within
4622 + # double-quoted strings.
4623 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4624 +
4625 + # Same as above, but do not quote variable references.
4626 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4627 +
4628 + # Sed substitution to delay expansion of an escaped shell variable in a
4629 + # double_quote_subst'ed string.
4630 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4631 +
4632 + # Sed substitution to delay expansion of an escaped single quote.
4633 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4634 +
4635 + # Sed substitution to avoid accidental globbing in evaled expressions
4636 + no_glob_subst='s/\*/\\\*/g'
4637 +
4638 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4639 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4640 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4641 +
4642 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4643 + $as_echo_n "checking how to print strings... " >&6; }
4644 + # Test print first, because it will be a builtin if present.
4645 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4646 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4647 +  ECHO='print -r --'
4648 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4649 +  ECHO='printf %s\n'
4650 + else
4651 +  # Use this function as a fallback that always works.
4652 +  func_fallback_echo ()
4653 +  {
4654 +    eval 'cat <<_LTECHO_EOF
4655 + $1
4656 + _LTECHO_EOF'
4657 +  }
4658 +  ECHO='func_fallback_echo'
4659 + fi
4660 +
4661 + # func_echo_all arg...
4662 + # Invoke $ECHO with all args, space-separated.
4663 + func_echo_all ()
4664 + {
4665 +    $ECHO ""
4666 + }
4667 +
4668 + case "$ECHO" in
4669 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4670 + $as_echo "printf" >&6; } ;;
4671 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4672 + $as_echo "print -r" >&6; } ;;
4673 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4674 + $as_echo "cat" >&6; } ;;
4675 + esac
4676 +
4677 +
4678 +
4679 +
4680 +
4681 +
4682 +
4683 +
4684 +
4685 +
4686 +
4687 +
4688 +
4689 +
4690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4691   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4692 < if test "${ac_cv_path_SED+set}" = set; then :
4692 > if ${ac_cv_path_SED+:} false; then :
4693    $as_echo_n "(cached) " >&6
4694   else
4695              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4602 | Line 4709 | do
4709      for ac_prog in sed gsed; do
4710      for ac_exec_ext in '' $ac_executable_extensions; do
4711        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4712 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4712 >      as_fn_executable_p "$ac_path_SED" || continue
4713   # Check for GNU ac_path_SED and select it if it is found.
4714    # Check for GNU $ac_path_SED
4715   case `"$ac_path_SED" --version 2>&1` in
# Line 4637 | Line 4744 | esac
4744    done
4745   IFS=$as_save_IFS
4746    if test -z "$ac_cv_path_SED"; then
4747 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4747 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4748    fi
4749   else
4750    ac_cv_path_SED=$SED
# Line 4664 | Line 4771 | Xsed="$SED -e 1s/^X//"
4771  
4772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4773   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4774 < if test "${ac_cv_path_GREP+set}" = set; then :
4774 > if ${ac_cv_path_GREP+:} false; then :
4775    $as_echo_n "(cached) " >&6
4776   else
4777    if test -z "$GREP"; then
# Line 4678 | Line 4785 | do
4785      for ac_prog in grep ggrep; do
4786      for ac_exec_ext in '' $ac_executable_extensions; do
4787        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4788 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4788 >      as_fn_executable_p "$ac_path_GREP" || continue
4789   # Check for GNU ac_path_GREP and select it if it is found.
4790    # Check for GNU $ac_path_GREP
4791   case `"$ac_path_GREP" --version 2>&1` in
# Line 4713 | Line 4820 | esac
4820    done
4821   IFS=$as_save_IFS
4822    if test -z "$ac_cv_path_GREP"; then
4823 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4824    fi
4825   else
4826    ac_cv_path_GREP=$GREP
# Line 4727 | Line 4834 | $as_echo "$ac_cv_path_GREP" >&6; }
4834  
4835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4836   $as_echo_n "checking for egrep... " >&6; }
4837 < if test "${ac_cv_path_EGREP+set}" = set; then :
4837 > if ${ac_cv_path_EGREP+:} false; then :
4838    $as_echo_n "(cached) " >&6
4839   else
4840    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4744 | Line 4851 | do
4851      for ac_prog in egrep; do
4852      for ac_exec_ext in '' $ac_executable_extensions; do
4853        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4854 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4854 >      as_fn_executable_p "$ac_path_EGREP" || continue
4855   # Check for GNU ac_path_EGREP and select it if it is found.
4856    # Check for GNU $ac_path_EGREP
4857   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4779 | Line 4886 | esac
4886    done
4887   IFS=$as_save_IFS
4888    if test -z "$ac_cv_path_EGREP"; then
4889 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4889 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4890    fi
4891   else
4892    ac_cv_path_EGREP=$EGREP
# Line 4794 | Line 4901 | $as_echo "$ac_cv_path_EGREP" >&6; }
4901  
4902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4903   $as_echo_n "checking for fgrep... " >&6; }
4904 < if test "${ac_cv_path_FGREP+set}" = set; then :
4904 > if ${ac_cv_path_FGREP+:} false; then :
4905    $as_echo_n "(cached) " >&6
4906   else
4907    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4811 | Line 4918 | do
4918      for ac_prog in fgrep; do
4919      for ac_exec_ext in '' $ac_executable_extensions; do
4920        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4921 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4921 >      as_fn_executable_p "$ac_path_FGREP" || continue
4922   # Check for GNU ac_path_FGREP and select it if it is found.
4923    # Check for GNU $ac_path_FGREP
4924   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4846 | Line 4953 | esac
4953    done
4954   IFS=$as_save_IFS
4955    if test -z "$ac_cv_path_FGREP"; then
4956 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4956 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4957    fi
4958   else
4959    ac_cv_path_FGREP=$FGREP
# Line 4925 | Line 5032 | else
5032    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5033   $as_echo_n "checking for non-GNU ld... " >&6; }
5034   fi
5035 < if test "${lt_cv_path_LD+set}" = set; then :
5035 > if ${lt_cv_path_LD+:} false; then :
5036    $as_echo_n "(cached) " >&6
5037   else
5038    if test -z "$LD"; then
# Line 4962 | Line 5069 | else
5069    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070   $as_echo "no" >&6; }
5071   fi
5072 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5072 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5074   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5075 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5075 > if ${lt_cv_prog_gnu_ld+:} false; then :
5076    $as_echo_n "(cached) " >&6
5077   else
5078    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4992 | Line 5099 | with_gnu_ld=$lt_cv_prog_gnu_ld
5099  
5100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5101   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5102 < if test "${lt_cv_path_NM+set}" = set; then :
5102 > if ${lt_cv_path_NM+:} false; then :
5103    $as_echo_n "(cached) " >&6
5104   else
5105    if test -n "$NM"; then
# Line 5045 | Line 5152 | if test "$lt_cv_path_NM" != "no"; then
5152    NM="$lt_cv_path_NM"
5153   else
5154    # Didn't find any BSD compatible name lister, look for dumpbin.
5155 <  if test -n "$ac_tool_prefix"; then
5156 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5155 >  if test -n "$DUMPBIN"; then :
5156 >    # Let the user override the test.
5157 >  else
5158 >    if test -n "$ac_tool_prefix"; then
5159 >  for ac_prog in dumpbin "link -dump"
5160    do
5161      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5162   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164   $as_echo_n "checking for $ac_word... " >&6; }
5165 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5165 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5166    $as_echo_n "(cached) " >&6
5167   else
5168    if test -n "$DUMPBIN"; then
# Line 5064 | Line 5174 | do
5174    IFS=$as_save_IFS
5175    test -z "$as_dir" && as_dir=.
5176      for ac_exec_ext in '' $ac_executable_extensions; do
5177 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5179      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180      break 2
# Line 5090 | Line 5200 | fi
5200   fi
5201   if test -z "$DUMPBIN"; then
5202    ac_ct_DUMPBIN=$DUMPBIN
5203 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5203 >  for ac_prog in dumpbin "link -dump"
5204   do
5205    # Extract the first word of "$ac_prog", so it can be a program name with args.
5206   set dummy $ac_prog; ac_word=$2
5207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208   $as_echo_n "checking for $ac_word... " >&6; }
5209 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5209 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5210    $as_echo_n "(cached) " >&6
5211   else
5212    if test -n "$ac_ct_DUMPBIN"; then
# Line 5108 | Line 5218 | do
5218    IFS=$as_save_IFS
5219    test -z "$as_dir" && as_dir=.
5220      for ac_exec_ext in '' $ac_executable_extensions; do
5221 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5223      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224      break 2
# Line 5145 | Line 5255 | esac
5255    fi
5256   fi
5257  
5258 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5259 +    *COFF*)
5260 +      DUMPBIN="$DUMPBIN -symbols"
5261 +      ;;
5262 +    *)
5263 +      DUMPBIN=:
5264 +      ;;
5265 +    esac
5266 +  fi
5267  
5268    if test "$DUMPBIN" != ":"; then
5269      NM="$DUMPBIN"
# Line 5159 | Line 5278 | test -z "$NM" && NM=nm
5278  
5279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5280   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5281 < if test "${lt_cv_nm_interface+set}" = set; then :
5281 > if ${lt_cv_nm_interface+:} false; then :
5282    $as_echo_n "(cached) " >&6
5283   else
5284    lt_cv_nm_interface="BSD nm"
5285    echo "int some_variable = 0;" > conftest.$ac_ext
5286 <  (eval echo "\"\$as_me:5167: $ac_compile\"" >&5)
5286 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5287    (eval "$ac_compile" 2>conftest.err)
5288    cat conftest.err >&5
5289 <  (eval echo "\"\$as_me:5170: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5289 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5290    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5291    cat conftest.err >&5
5292 <  (eval echo "\"\$as_me:5173: output\"" >&5)
5292 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5293    cat conftest.out >&5
5294    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5295      lt_cv_nm_interface="MS dumpbin"
# Line 5194 | Line 5313 | fi
5313   # find the maximum length of command line arguments
5314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5315   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5316 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5316 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5317    $as_echo_n "(cached) " >&6
5318   else
5319      i=0
# Line 5227 | Line 5346 | else
5346      lt_cv_sys_max_cmd_len=8192;
5347      ;;
5348  
5349 +  mint*)
5350 +    # On MiNT this can take a long time and run out of memory.
5351 +    lt_cv_sys_max_cmd_len=8192;
5352 +    ;;
5353 +
5354    amigaos*)
5355      # On AmigaOS with pdksh, this test takes hours, literally.
5356      # So we just punt and use a minimum line length of 8192.
# Line 5252 | Line 5376 | else
5376      lt_cv_sys_max_cmd_len=196608
5377      ;;
5378  
5379 +  os2*)
5380 +    # The test takes a long time on OS/2.
5381 +    lt_cv_sys_max_cmd_len=8192
5382 +    ;;
5383 +
5384    osf*)
5385      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5386      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5291 | Line 5420 | else
5420        # If test is not a shell built-in, we'll probably end up computing a
5421        # maximum length that is only half of the actual maximum length, but
5422        # we can't tell.
5423 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5424 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5423 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5424 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5425                test $i != 17 # 1/2 MB should be enough
5426        do
5427          i=`expr $i + 1`
# Line 5334 | Line 5463 | $as_echo_n "checking whether the shell u
5463   # Try some XSI features
5464   xsi_shell=no
5465   ( _lt_dummy="a/b/c"
5466 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5467 <      = c,a/b,, \
5466 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5467 >      = c,a/b,b/c, \
5468      && eval 'test $(( 1 + 1 )) -eq 2 \
5469      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5470    && xsi_shell=yes
# Line 5384 | Line 5513 | esac
5513  
5514  
5515  
5516 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5517 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5518 + if ${lt_cv_to_host_file_cmd+:} false; then :
5519 +  $as_echo_n "(cached) " >&6
5520 + else
5521 +  case $host in
5522 +  *-*-mingw* )
5523 +    case $build in
5524 +      *-*-mingw* ) # actually msys
5525 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5526 +        ;;
5527 +      *-*-cygwin* )
5528 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5529 +        ;;
5530 +      * ) # otherwise, assume *nix
5531 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5532 +        ;;
5533 +    esac
5534 +    ;;
5535 +  *-*-cygwin* )
5536 +    case $build in
5537 +      *-*-mingw* ) # actually msys
5538 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5539 +        ;;
5540 +      *-*-cygwin* )
5541 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5542 +        ;;
5543 +      * ) # otherwise, assume *nix
5544 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5545 +        ;;
5546 +    esac
5547 +    ;;
5548 +  * ) # unhandled hosts (and "normal" native builds)
5549 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5550 +    ;;
5551 + esac
5552 +
5553 + fi
5554 +
5555 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5556 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5557 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5558 +
5559 +
5560 +
5561 +
5562 +
5563 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5564 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5565 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5566 +  $as_echo_n "(cached) " >&6
5567 + else
5568 +  #assume ordinary cross tools, or native build.
5569 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5570 + case $host in
5571 +  *-*-mingw* )
5572 +    case $build in
5573 +      *-*-mingw* ) # actually msys
5574 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5575 +        ;;
5576 +    esac
5577 +    ;;
5578 + esac
5579 +
5580 + fi
5581 +
5582 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5583 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5584 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5585 +
5586 +
5587 +
5588 +
5589 +
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5591   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5592 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5592 > if ${lt_cv_ld_reload_flag+:} false; then :
5593    $as_echo_n "(cached) " >&6
5594   else
5595    lt_cv_ld_reload_flag='-r'
# Line 5400 | Line 5603 | case $reload_flag in
5603   esac
5604   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5605   case $host_os in
5606 +  cygwin* | mingw* | pw32* | cegcc*)
5607 +    if test "$GCC" != yes; then
5608 +      reload_cmds=false
5609 +    fi
5610 +    ;;
5611    darwin*)
5612      if test "$GCC" = yes; then
5613        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5422 | Line 5630 | if test -n "$ac_tool_prefix"; then
5630   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632   $as_echo_n "checking for $ac_word... " >&6; }
5633 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5633 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5634    $as_echo_n "(cached) " >&6
5635   else
5636    if test -n "$OBJDUMP"; then
# Line 5434 | Line 5642 | do
5642    IFS=$as_save_IFS
5643    test -z "$as_dir" && as_dir=.
5644      for ac_exec_ext in '' $ac_executable_extensions; do
5645 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5647      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648      break 2
# Line 5462 | Line 5670 | if test -z "$ac_cv_prog_OBJDUMP"; then
5670   set dummy objdump; ac_word=$2
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672   $as_echo_n "checking for $ac_word... " >&6; }
5673 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5673 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5674    $as_echo_n "(cached) " >&6
5675   else
5676    if test -n "$ac_ct_OBJDUMP"; then
# Line 5474 | Line 5682 | do
5682    IFS=$as_save_IFS
5683    test -z "$as_dir" && as_dir=.
5684      for ac_exec_ext in '' $ac_executable_extensions; do
5685 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5687      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688      break 2
# Line 5521 | Line 5729 | test -z "$OBJDUMP" && OBJDUMP=objdump
5729  
5730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5731   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5732 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5732 > if ${lt_cv_deplibs_check_method+:} false; then :
5733    $as_echo_n "(cached) " >&6
5734   else
5735    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5563 | Line 5771 | mingw* | pw32*)
5771    # Base MSYS/MinGW do not provide the 'file' command needed by
5772    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5773    # unless we find 'file', for example because we are cross-compiling.
5774 <  if ( file / ) >/dev/null 2>&1; then
5774 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5775 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5776      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5777      lt_cv_file_magic_cmd='func_win32_libid'
5778    else
5779 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5779 >    # Keep this pattern in sync with the one in func_win32_libid.
5780 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5781      lt_cv_file_magic_cmd='$OBJDUMP -f'
5782    fi
5783    ;;
5784  
5785 < cegcc)
5785 > cegcc*)
5786    # use the weaker test based on 'objdump'. See mingw*.
5787    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5788    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5602 | Line 5812 | gnu*)
5812    lt_cv_deplibs_check_method=pass_all
5813    ;;
5814  
5815 + haiku*)
5816 +  lt_cv_deplibs_check_method=pass_all
5817 +  ;;
5818 +
5819   hpux10.20* | hpux11*)
5820    lt_cv_file_magic_cmd=/usr/bin/file
5821    case $host_cpu in
# Line 5610 | Line 5824 | hpux10.20* | hpux11*)
5824      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5825      ;;
5826    hppa*64*)
5827 <    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]'
5827 >    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]'
5828      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5829      ;;
5830    *)
5831 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5831 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5832      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5833      ;;
5834    esac
# Line 5635 | Line 5849 | irix5* | irix6* | nonstopux*)
5849    lt_cv_deplibs_check_method=pass_all
5850    ;;
5851  
5852 < # This must be Linux ELF.
5853 < linux* | k*bsd*-gnu)
5852 > # This must be glibc/ELF.
5853 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5854    lt_cv_deplibs_check_method=pass_all
5855    ;;
5856  
# Line 5717 | Line 5931 | esac
5931   fi
5932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5933   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5934 +
5935 + file_magic_glob=
5936 + want_nocaseglob=no
5937 + if test "$build" = "$host"; then
5938 +  case $host_os in
5939 +  mingw* | pw32*)
5940 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5941 +      want_nocaseglob=yes
5942 +    else
5943 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5944 +    fi
5945 +    ;;
5946 +  esac
5947 + fi
5948 +
5949   file_magic_cmd=$lt_cv_file_magic_cmd
5950   deplibs_check_method=$lt_cv_deplibs_check_method
5951   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5732 | Line 5961 | test -z "$deplibs_check_method" && depli
5961  
5962  
5963  
5964 +
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +
5971 +
5972 +
5973 +
5974 + if test -n "$ac_tool_prefix"; then
5975 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5976 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5977 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 + $as_echo_n "checking for $ac_word... " >&6; }
5979 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5980 +  $as_echo_n "(cached) " >&6
5981 + else
5982 +  if test -n "$DLLTOOL"; then
5983 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5984 + else
5985 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 + for as_dir in $PATH
5987 + do
5988 +  IFS=$as_save_IFS
5989 +  test -z "$as_dir" && as_dir=.
5990 +    for ac_exec_ext in '' $ac_executable_extensions; do
5991 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5993 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 +    break 2
5995 +  fi
5996 + done
5997 +  done
5998 + IFS=$as_save_IFS
5999 +
6000 + fi
6001 + fi
6002 + DLLTOOL=$ac_cv_prog_DLLTOOL
6003 + if test -n "$DLLTOOL"; then
6004 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6005 + $as_echo "$DLLTOOL" >&6; }
6006 + else
6007 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 + $as_echo "no" >&6; }
6009 + fi
6010 +
6011 +
6012 + fi
6013 + if test -z "$ac_cv_prog_DLLTOOL"; then
6014 +  ac_ct_DLLTOOL=$DLLTOOL
6015 +  # Extract the first word of "dlltool", so it can be a program name with args.
6016 + set dummy dlltool; ac_word=$2
6017 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 + $as_echo_n "checking for $ac_word... " >&6; }
6019 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6020 +  $as_echo_n "(cached) " >&6
6021 + else
6022 +  if test -n "$ac_ct_DLLTOOL"; then
6023 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6024 + else
6025 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 + for as_dir in $PATH
6027 + do
6028 +  IFS=$as_save_IFS
6029 +  test -z "$as_dir" && as_dir=.
6030 +    for ac_exec_ext in '' $ac_executable_extensions; do
6031 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6033 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 +    break 2
6035 +  fi
6036 + done
6037 +  done
6038 + IFS=$as_save_IFS
6039 +
6040 + fi
6041 + fi
6042 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6043 + if test -n "$ac_ct_DLLTOOL"; then
6044 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6045 + $as_echo "$ac_ct_DLLTOOL" >&6; }
6046 + else
6047 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 + $as_echo "no" >&6; }
6049 + fi
6050 +
6051 +  if test "x$ac_ct_DLLTOOL" = x; then
6052 +    DLLTOOL="false"
6053 +  else
6054 +    case $cross_compiling:$ac_tool_warned in
6055 + yes:)
6056 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6057 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6058 + ac_tool_warned=yes ;;
6059 + esac
6060 +    DLLTOOL=$ac_ct_DLLTOOL
6061 +  fi
6062 + else
6063 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
6064 + fi
6065 +
6066 + test -z "$DLLTOOL" && DLLTOOL=dlltool
6067 +
6068 +
6069 +
6070 +
6071 +
6072 +
6073 +
6074 +
6075 +
6076 +
6077 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6078 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6079 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6080 +  $as_echo_n "(cached) " >&6
6081 + else
6082 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
6083 +
6084 + case $host_os in
6085 + cygwin* | mingw* | pw32* | cegcc*)
6086 +  # two different shell functions defined in ltmain.sh
6087 +  # decide which to use based on capabilities of $DLLTOOL
6088 +  case `$DLLTOOL --help 2>&1` in
6089 +  *--identify-strict*)
6090 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6091 +    ;;
6092 +  *)
6093 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6094 +    ;;
6095 +  esac
6096 +  ;;
6097 + *)
6098 +  # fallback: assume linklib IS sharedlib
6099 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6100 +  ;;
6101 + esac
6102 +
6103 + fi
6104 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6105 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6106 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6107 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6108 +
6109 +
6110 +
6111 +
6112 +
6113 +
6114 +
6115   if test -n "$ac_tool_prefix"; then
6116 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6117 < set dummy ${ac_tool_prefix}ar; ac_word=$2
6116 >  for ac_prog in ar
6117 >  do
6118 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6119 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121   $as_echo_n "checking for $ac_word... " >&6; }
6122 < if test "${ac_cv_prog_AR+set}" = set; then :
6122 > if ${ac_cv_prog_AR+:} false; then :
6123    $as_echo_n "(cached) " >&6
6124   else
6125    if test -n "$AR"; then
# Line 5749 | Line 6131 | do
6131    IFS=$as_save_IFS
6132    test -z "$as_dir" && as_dir=.
6133      for ac_exec_ext in '' $ac_executable_extensions; do
6134 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6135 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
6134 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6136      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137      break 2
6138    fi
# Line 5770 | Line 6152 | $as_echo "no" >&6; }
6152   fi
6153  
6154  
6155 +    test -n "$AR" && break
6156 +  done
6157   fi
6158 < if test -z "$ac_cv_prog_AR"; then
6158 > if test -z "$AR"; then
6159    ac_ct_AR=$AR
6160 <  # Extract the first word of "ar", so it can be a program name with args.
6161 < set dummy ar; ac_word=$2
6160 >  for ac_prog in ar
6161 > do
6162 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6163 > set dummy $ac_prog; ac_word=$2
6164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165   $as_echo_n "checking for $ac_word... " >&6; }
6166 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6166 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6167    $as_echo_n "(cached) " >&6
6168   else
6169    if test -n "$ac_ct_AR"; then
# Line 5789 | Line 6175 | do
6175    IFS=$as_save_IFS
6176    test -z "$as_dir" && as_dir=.
6177      for ac_exec_ext in '' $ac_executable_extensions; do
6178 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6179 <    ac_cv_prog_ac_ct_AR="ar"
6178 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6180      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181      break 2
6182    fi
# Line 5809 | Line 6195 | else
6195   $as_echo "no" >&6; }
6196   fi
6197  
6198 +
6199 +  test -n "$ac_ct_AR" && break
6200 + done
6201 +
6202    if test "x$ac_ct_AR" = x; then
6203      AR="false"
6204    else
# Line 5820 | Line 6210 | ac_tool_warned=yes ;;
6210   esac
6211      AR=$ac_ct_AR
6212    fi
5823 – else
5824 –  AR="$ac_cv_prog_AR"
6213   fi
6214  
6215 < test -z "$AR" && AR=ar
6216 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6215 > : ${AR=ar}
6216 > : ${AR_FLAGS=cru}
6217  
6218  
6219  
# Line 5837 | Line 6225 | test -z "$AR_FLAGS" && AR_FLAGS=cru
6225  
6226  
6227  
6228 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6229 + $as_echo_n "checking for archiver @FILE support... " >&6; }
6230 + if ${lt_cv_ar_at_file+:} false; then :
6231 +  $as_echo_n "(cached) " >&6
6232 + else
6233 +  lt_cv_ar_at_file=no
6234 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6235 + /* end confdefs.h.  */
6236 +
6237 + int
6238 + main ()
6239 + {
6240 +
6241 +  ;
6242 +  return 0;
6243 + }
6244 + _ACEOF
6245 + if ac_fn_c_try_compile "$LINENO"; then :
6246 +  echo conftest.$ac_objext > conftest.lst
6247 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6248 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6249 +  (eval $lt_ar_try) 2>&5
6250 +  ac_status=$?
6251 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252 +  test $ac_status = 0; }
6253 +      if test "$ac_status" -eq 0; then
6254 +        # Ensure the archiver fails upon bogus file names.
6255 +        rm -f conftest.$ac_objext libconftest.a
6256 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6257 +  (eval $lt_ar_try) 2>&5
6258 +  ac_status=$?
6259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6260 +  test $ac_status = 0; }
6261 +        if test "$ac_status" -ne 0; then
6262 +          lt_cv_ar_at_file=@
6263 +        fi
6264 +      fi
6265 +      rm -f conftest.* libconftest.a
6266 +
6267 + fi
6268 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6269 +
6270 + fi
6271 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6272 + $as_echo "$lt_cv_ar_at_file" >&6; }
6273 +
6274 + if test "x$lt_cv_ar_at_file" = xno; then
6275 +  archiver_list_spec=
6276 + else
6277 +  archiver_list_spec=$lt_cv_ar_at_file
6278 + fi
6279 +
6280 +
6281 +
6282 +
6283 +
6284 +
6285 +
6286   if test -n "$ac_tool_prefix"; then
6287    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6288   set dummy ${ac_tool_prefix}strip; ac_word=$2
6289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290   $as_echo_n "checking for $ac_word... " >&6; }
6291 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6291 > if ${ac_cv_prog_STRIP+:} false; then :
6292    $as_echo_n "(cached) " >&6
6293   else
6294    if test -n "$STRIP"; then
# Line 5854 | Line 6300 | do
6300    IFS=$as_save_IFS
6301    test -z "$as_dir" && as_dir=.
6302      for ac_exec_ext in '' $ac_executable_extensions; do
6303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306      break 2
# Line 5882 | Line 6328 | if test -z "$ac_cv_prog_STRIP"; then
6328   set dummy strip; ac_word=$2
6329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330   $as_echo_n "checking for $ac_word... " >&6; }
6331 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6331 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6332    $as_echo_n "(cached) " >&6
6333   else
6334    if test -n "$ac_ct_STRIP"; then
# Line 5894 | Line 6340 | do
6340    IFS=$as_save_IFS
6341    test -z "$as_dir" && as_dir=.
6342      for ac_exec_ext in '' $ac_executable_extensions; do
6343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344      ac_cv_prog_ac_ct_STRIP="strip"
6345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346      break 2
# Line 5941 | Line 6387 | if test -n "$ac_tool_prefix"; then
6387   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389   $as_echo_n "checking for $ac_word... " >&6; }
6390 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6390 > if ${ac_cv_prog_RANLIB+:} false; then :
6391    $as_echo_n "(cached) " >&6
6392   else
6393    if test -n "$RANLIB"; then
# Line 5953 | Line 6399 | do
6399    IFS=$as_save_IFS
6400    test -z "$as_dir" && as_dir=.
6401      for ac_exec_ext in '' $ac_executable_extensions; do
6402 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6402 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6404      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405      break 2
# Line 5981 | Line 6427 | if test -z "$ac_cv_prog_RANLIB"; then
6427   set dummy ranlib; ac_word=$2
6428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429   $as_echo_n "checking for $ac_word... " >&6; }
6430 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6430 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6431    $as_echo_n "(cached) " >&6
6432   else
6433    if test -n "$ac_ct_RANLIB"; then
# Line 5993 | Line 6439 | do
6439    IFS=$as_save_IFS
6440    test -z "$as_dir" && as_dir=.
6441      for ac_exec_ext in '' $ac_executable_extensions; do
6442 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443      ac_cv_prog_ac_ct_RANLIB="ranlib"
6444      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445      break 2
# Line 6043 | Line 6489 | old_postuninstall_cmds=
6489   if test -n "$RANLIB"; then
6490    case $host_os in
6491    openbsd*)
6492 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6492 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6493      ;;
6494    *)
6495 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6495 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6496      ;;
6497    esac
6498 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6498 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6499   fi
6500  
6501 + case $host_os in
6502 +  darwin*)
6503 +    lock_old_archive_extraction=yes ;;
6504 +  *)
6505 +    lock_old_archive_extraction=no ;;
6506 + esac
6507 +
6508 +
6509 +
6510 +
6511 +
6512 +
6513  
6514  
6515  
# Line 6098 | Line 6556 | compiler=$CC
6556   # Check for command to grab the raw symbol name followed by C symbol from nm.
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6558   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6559 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6559 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6560    $as_echo_n "(cached) " >&6
6561   else
6562  
# Line 6159 | Line 6617 | esac
6617   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6618  
6619   # Transform an extracted symbol line into symbol name and symbol address
6620 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6621 < 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 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6621 > 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'"
6622  
6623   # Handle CRLF in mingw tool chain
6624   opt_cr=
# Line 6184 | Line 6642 | for ac_symprfx in "" "_"; do
6642      # which start with @ or ?.
6643      lt_cv_sys_global_symbol_pipe="$AWK '"\
6644   "     {last_section=section; section=\$ 3};"\
6645 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6646   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6647   "     \$ 0!~/External *\|/{next};"\
6648   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6196 | Line 6655 | for ac_symprfx in "" "_"; do
6655    else
6656      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6657    fi
6658 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6659  
6660    # Check to see that the pipe works correctly.
6661    pipe_works=no
# Line 6221 | Line 6681 | _LT_EOF
6681    test $ac_status = 0; }; then
6682      # Now try to grab the symbols.
6683      nlist=conftest.nm
6684 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6685 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6684 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6685 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6686    ac_status=$?
6687    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6688    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6237 | Line 6697 | _LT_EOF
6697        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6698          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6699            cat <<_LT_EOF > conftest.$ac_ext
6700 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6701 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6702 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6703 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6704 + # define LT_DLSYM_CONST
6705 + #elif defined(__osf__)
6706 + /* This system does not cope well with relocations in const data.  */
6707 + # define LT_DLSYM_CONST
6708 + #else
6709 + # define LT_DLSYM_CONST const
6710 + #endif
6711 +
6712   #ifdef __cplusplus
6713   extern "C" {
6714   #endif
# Line 6248 | Line 6720 | _LT_EOF
6720            cat <<_LT_EOF >> conftest.$ac_ext
6721  
6722   /* The mapping between symbol names and symbols.  */
6723 < const struct {
6723 > LT_DLSYM_CONST struct {
6724    const char *name;
6725    void       *address;
6726   }
# Line 6274 | Line 6746 | static const void *lt_preloaded_setup()
6746   _LT_EOF
6747            # Now try linking the two files.
6748            mv conftest.$ac_objext conftstm.$ac_objext
6749 <          lt_save_LIBS="$LIBS"
6750 <          lt_save_CFLAGS="$CFLAGS"
6749 >          lt_globsym_save_LIBS=$LIBS
6750 >          lt_globsym_save_CFLAGS=$CFLAGS
6751            LIBS="conftstm.$ac_objext"
6752            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6753            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6285 | Line 6757 | _LT_EOF
6757    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6758              pipe_works=yes
6759            fi
6760 <          LIBS="$lt_save_LIBS"
6761 <          CFLAGS="$lt_save_CFLAGS"
6760 >          LIBS=$lt_globsym_save_LIBS
6761 >          CFLAGS=$lt_globsym_save_CFLAGS
6762          else
6763            echo "cannot find nm_test_func in $nlist" >&5
6764          fi
# Line 6323 | Line 6795 | else
6795   $as_echo "ok" >&6; }
6796   fi
6797  
6798 + # Response file support.
6799 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6800 +  nm_file_list_spec='@'
6801 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6802 +  nm_file_list_spec='@'
6803 + fi
6804 +
6805 +
6806 +
6807 +
6808  
6809  
6810  
# Line 6344 | Line 6826 | fi
6826  
6827  
6828  
6829 +
6830 +
6831 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6832 + $as_echo_n "checking for sysroot... " >&6; }
6833 +
6834 + # Check whether --with-sysroot was given.
6835 + if test "${with_sysroot+set}" = set; then :
6836 +  withval=$with_sysroot;
6837 + else
6838 +  with_sysroot=no
6839 + fi
6840 +
6841 +
6842 + lt_sysroot=
6843 + case ${with_sysroot} in #(
6844 + yes)
6845 +   if test "$GCC" = yes; then
6846 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6847 +   fi
6848 +   ;; #(
6849 + /*)
6850 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6851 +   ;; #(
6852 + no|'')
6853 +   ;; #(
6854 + *)
6855 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6856 + $as_echo "${with_sysroot}" >&6; }
6857 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6858 +   ;;
6859 + esac
6860 +
6861 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6862 + $as_echo "${lt_sysroot:-no}" >&6; }
6863 +
6864 +
6865 +
6866 +
6867 +
6868   # Check whether --enable-libtool-lock was given.
6869   if test "${enable_libtool_lock+set}" = set; then :
6870    enableval=$enable_libtool_lock;
# Line 6375 | Line 6896 | ia64-*-hpux*)
6896    ;;
6897   *-*-irix6*)
6898    # Find out which ABI we are using.
6899 <  echo '#line 6378 "configure"' > conftest.$ac_ext
6899 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6900    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6901    (eval $ac_compile) 2>&5
6902    ac_status=$?
# Line 6469 | Line 6990 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6990    CFLAGS="$CFLAGS -belf"
6991    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6992   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6993 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6993 > if ${lt_cv_cc_needs_belf+:} false; then :
6994    $as_echo_n "(cached) " >&6
6995   else
6996    ac_ext=c
# Line 6510 | Line 7031 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
7031      CFLAGS="$SAVE_CFLAGS"
7032    fi
7033    ;;
7034 < sparc*-*solaris*)
7034 > *-*solaris*)
7035    # Find out which ABI we are using.
7036    echo 'int i;' > conftest.$ac_ext
7037    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6521 | Line 7042 | sparc*-*solaris*)
7042      case `/usr/bin/file conftest.o` in
7043      *64-bit*)
7044        case $lt_cv_prog_gnu_ld in
7045 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7045 >      yes*)
7046 >        case $host in
7047 >        i?86-*-solaris*)
7048 >          LD="${LD-ld} -m elf_x86_64"
7049 >          ;;
7050 >        sparc*-*-solaris*)
7051 >          LD="${LD-ld} -m elf64_sparc"
7052 >          ;;
7053 >        esac
7054 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7055 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7056 >          LD="${LD-ld}_sol2"
7057 >        fi
7058 >        ;;
7059        *)
7060          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7061            LD="${LD-ld} -64"
# Line 6537 | Line 7071 | esac
7071  
7072   need_locks="$enable_libtool_lock"
7073  
7074 + if test -n "$ac_tool_prefix"; then
7075 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7076 + set dummy ${ac_tool_prefix}mt; ac_word=$2
7077 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 + $as_echo_n "checking for $ac_word... " >&6; }
7079 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7080 +  $as_echo_n "(cached) " >&6
7081 + else
7082 +  if test -n "$MANIFEST_TOOL"; then
7083 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7084 + else
7085 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 + for as_dir in $PATH
7087 + do
7088 +  IFS=$as_save_IFS
7089 +  test -z "$as_dir" && as_dir=.
7090 +    for ac_exec_ext in '' $ac_executable_extensions; do
7091 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7093 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 +    break 2
7095 +  fi
7096 + done
7097 +  done
7098 + IFS=$as_save_IFS
7099 +
7100 + fi
7101 + fi
7102 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7103 + if test -n "$MANIFEST_TOOL"; then
7104 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7105 + $as_echo "$MANIFEST_TOOL" >&6; }
7106 + else
7107 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 + $as_echo "no" >&6; }
7109 + fi
7110 +
7111 +
7112 + fi
7113 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7114 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7115 +  # Extract the first word of "mt", so it can be a program name with args.
7116 + set dummy mt; ac_word=$2
7117 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 + $as_echo_n "checking for $ac_word... " >&6; }
7119 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7120 +  $as_echo_n "(cached) " >&6
7121 + else
7122 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
7123 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7124 + else
7125 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 + for as_dir in $PATH
7127 + do
7128 +  IFS=$as_save_IFS
7129 +  test -z "$as_dir" && as_dir=.
7130 +    for ac_exec_ext in '' $ac_executable_extensions; do
7131 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7133 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 +    break 2
7135 +  fi
7136 + done
7137 +  done
7138 + IFS=$as_save_IFS
7139 +
7140 + fi
7141 + fi
7142 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7143 + if test -n "$ac_ct_MANIFEST_TOOL"; then
7144 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7145 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7146 + else
7147 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 + $as_echo "no" >&6; }
7149 + fi
7150 +
7151 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7152 +    MANIFEST_TOOL=":"
7153 +  else
7154 +    case $cross_compiling:$ac_tool_warned in
7155 + yes:)
7156 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 + ac_tool_warned=yes ;;
7159 + esac
7160 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7161 +  fi
7162 + else
7163 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7164 + fi
7165 +
7166 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7167 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7168 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7169 + if ${lt_cv_path_mainfest_tool+:} false; then :
7170 +  $as_echo_n "(cached) " >&6
7171 + else
7172 +  lt_cv_path_mainfest_tool=no
7173 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7174 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7175 +  cat conftest.err >&5
7176 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7177 +    lt_cv_path_mainfest_tool=yes
7178 +  fi
7179 +  rm -f conftest*
7180 + fi
7181 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7182 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7183 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7184 +  MANIFEST_TOOL=:
7185 + fi
7186 +
7187 +
7188 +
7189 +
7190 +
7191  
7192    case $host_os in
7193      rhapsody* | darwin*)
# Line 6545 | Line 7196 | need_locks="$enable_libtool_lock"
7196   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198   $as_echo_n "checking for $ac_word... " >&6; }
7199 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7199 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7200    $as_echo_n "(cached) " >&6
7201   else
7202    if test -n "$DSYMUTIL"; then
# Line 6557 | Line 7208 | do
7208    IFS=$as_save_IFS
7209    test -z "$as_dir" && as_dir=.
7210      for ac_exec_ext in '' $ac_executable_extensions; do
7211 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7213      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214      break 2
# Line 6585 | Line 7236 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7236   set dummy dsymutil; ac_word=$2
7237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238   $as_echo_n "checking for $ac_word... " >&6; }
7239 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7239 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7240    $as_echo_n "(cached) " >&6
7241   else
7242    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6597 | Line 7248 | do
7248    IFS=$as_save_IFS
7249    test -z "$as_dir" && as_dir=.
7250      for ac_exec_ext in '' $ac_executable_extensions; do
7251 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7253      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254      break 2
# Line 6637 | Line 7288 | fi
7288   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290   $as_echo_n "checking for $ac_word... " >&6; }
7291 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7291 > if ${ac_cv_prog_NMEDIT+:} false; then :
7292    $as_echo_n "(cached) " >&6
7293   else
7294    if test -n "$NMEDIT"; then
# Line 6649 | Line 7300 | do
7300    IFS=$as_save_IFS
7301    test -z "$as_dir" && as_dir=.
7302      for ac_exec_ext in '' $ac_executable_extensions; do
7303 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7304      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7305      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306      break 2
# Line 6677 | Line 7328 | if test -z "$ac_cv_prog_NMEDIT"; then
7328   set dummy nmedit; ac_word=$2
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330   $as_echo_n "checking for $ac_word... " >&6; }
7331 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7331 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7332    $as_echo_n "(cached) " >&6
7333   else
7334    if test -n "$ac_ct_NMEDIT"; then
# Line 6689 | Line 7340 | do
7340    IFS=$as_save_IFS
7341    test -z "$as_dir" && as_dir=.
7342      for ac_exec_ext in '' $ac_executable_extensions; do
7343 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7343 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7345      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346      break 2
# Line 6729 | Line 7380 | fi
7380   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382   $as_echo_n "checking for $ac_word... " >&6; }
7383 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7383 > if ${ac_cv_prog_LIPO+:} false; then :
7384    $as_echo_n "(cached) " >&6
7385   else
7386    if test -n "$LIPO"; then
# Line 6741 | Line 7392 | do
7392    IFS=$as_save_IFS
7393    test -z "$as_dir" && as_dir=.
7394      for ac_exec_ext in '' $ac_executable_extensions; do
7395 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7397      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398      break 2
# Line 6769 | Line 7420 | if test -z "$ac_cv_prog_LIPO"; then
7420   set dummy lipo; ac_word=$2
7421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422   $as_echo_n "checking for $ac_word... " >&6; }
7423 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7423 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7424    $as_echo_n "(cached) " >&6
7425   else
7426    if test -n "$ac_ct_LIPO"; then
# Line 6781 | Line 7432 | do
7432    IFS=$as_save_IFS
7433    test -z "$as_dir" && as_dir=.
7434      for ac_exec_ext in '' $ac_executable_extensions; do
7435 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436      ac_cv_prog_ac_ct_LIPO="lipo"
7437      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438      break 2
# Line 6821 | Line 7472 | fi
7472   set dummy ${ac_tool_prefix}otool; ac_word=$2
7473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474   $as_echo_n "checking for $ac_word... " >&6; }
7475 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7475 > if ${ac_cv_prog_OTOOL+:} false; then :
7476    $as_echo_n "(cached) " >&6
7477   else
7478    if test -n "$OTOOL"; then
# Line 6833 | Line 7484 | do
7484    IFS=$as_save_IFS
7485    test -z "$as_dir" && as_dir=.
7486      for ac_exec_ext in '' $ac_executable_extensions; do
7487 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490      break 2
# Line 6861 | Line 7512 | if test -z "$ac_cv_prog_OTOOL"; then
7512   set dummy otool; ac_word=$2
7513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514   $as_echo_n "checking for $ac_word... " >&6; }
7515 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7515 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7516    $as_echo_n "(cached) " >&6
7517   else
7518    if test -n "$ac_ct_OTOOL"; then
# Line 6873 | Line 7524 | do
7524    IFS=$as_save_IFS
7525    test -z "$as_dir" && as_dir=.
7526      for ac_exec_ext in '' $ac_executable_extensions; do
7527 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528      ac_cv_prog_ac_ct_OTOOL="otool"
7529      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530      break 2
# Line 6913 | Line 7564 | fi
7564   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566   $as_echo_n "checking for $ac_word... " >&6; }
7567 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7567 > if ${ac_cv_prog_OTOOL64+:} false; then :
7568    $as_echo_n "(cached) " >&6
7569   else
7570    if test -n "$OTOOL64"; then
# Line 6925 | Line 7576 | do
7576    IFS=$as_save_IFS
7577    test -z "$as_dir" && as_dir=.
7578      for ac_exec_ext in '' $ac_executable_extensions; do
7579 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7581      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582      break 2
# Line 6953 | Line 7604 | if test -z "$ac_cv_prog_OTOOL64"; then
7604   set dummy otool64; ac_word=$2
7605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606   $as_echo_n "checking for $ac_word... " >&6; }
7607 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7607 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7608    $as_echo_n "(cached) " >&6
7609   else
7610    if test -n "$ac_ct_OTOOL64"; then
# Line 6965 | Line 7616 | do
7616    IFS=$as_save_IFS
7617    test -z "$as_dir" && as_dir=.
7618      for ac_exec_ext in '' $ac_executable_extensions; do
7619 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7619 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620      ac_cv_prog_ac_ct_OTOOL64="otool64"
7621      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622      break 2
# Line 7028 | Line 7679 | fi
7679  
7680      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7681   $as_echo_n "checking for -single_module linker flag... " >&6; }
7682 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7682 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7683    $as_echo_n "(cached) " >&6
7684   else
7685    lt_cv_apple_cc_single_mod=no
# Line 7044 | Line 7695 | else
7695          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7696            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7697          _lt_result=$?
7698 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7698 >        # If there is a non-empty error log, and "single_module"
7699 >        # appears in it, assume the flag caused a linker warning
7700 >        if test -s conftest.err && $GREP single_module conftest.err; then
7701 >          cat conftest.err >&5
7702 >        # Otherwise, if the output was created with a 0 exit code from
7703 >        # the compiler, it worked.
7704 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7705            lt_cv_apple_cc_single_mod=yes
7706          else
7707            cat conftest.err >&5
# Line 7055 | Line 7712 | else
7712   fi
7713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7714   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7715 +
7716      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7717   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7718 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7718 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7719    $as_echo_n "(cached) " >&6
7720   else
7721    lt_cv_ld_exported_symbols_list=no
# Line 7087 | Line 7745 | rm -f core conftest.err conftest.$ac_obj
7745   fi
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7747   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7748 +
7749 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7750 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7751 + if ${lt_cv_ld_force_load+:} false; then :
7752 +  $as_echo_n "(cached) " >&6
7753 + else
7754 +  lt_cv_ld_force_load=no
7755 +      cat > conftest.c << _LT_EOF
7756 + int forced_loaded() { return 2;}
7757 + _LT_EOF
7758 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7759 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7760 +      echo "$AR cru libconftest.a conftest.o" >&5
7761 +      $AR cru libconftest.a conftest.o 2>&5
7762 +      echo "$RANLIB libconftest.a" >&5
7763 +      $RANLIB libconftest.a 2>&5
7764 +      cat > conftest.c << _LT_EOF
7765 + int main() { return 0;}
7766 + _LT_EOF
7767 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7768 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7769 +      _lt_result=$?
7770 +      if test -s conftest.err && $GREP force_load conftest.err; then
7771 +        cat conftest.err >&5
7772 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7773 +        lt_cv_ld_force_load=yes
7774 +      else
7775 +        cat conftest.err >&5
7776 +      fi
7777 +        rm -f conftest.err libconftest.a conftest conftest.c
7778 +        rm -rf conftest.dSYM
7779 +
7780 + fi
7781 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7782 + $as_echo "$lt_cv_ld_force_load" >&6; }
7783      case $host_os in
7784      rhapsody* | darwin1.[012])
7785        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7114 | Line 7807 | $as_echo "$lt_cv_ld_exported_symbols_lis
7807      else
7808        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7809      fi
7810 <    if test "$DSYMUTIL" != ":"; then
7810 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7811        _lt_dsymutil='~$DSYMUTIL $lib || :'
7812      else
7813        _lt_dsymutil=
# Line 7134 | Line 7827 | if test -n "$CPP" && test -d "$CPP"; the
7827    CPP=
7828   fi
7829   if test -z "$CPP"; then
7830 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7830 >  if ${ac_cv_prog_CPP+:} false; then :
7831    $as_echo_n "(cached) " >&6
7832   else
7833        # Double quotes because CPP needs to be expanded
# Line 7164 | Line 7857 | else
7857    # Broken: fails on valid input.
7858   continue
7859   fi
7860 < rm -f conftest.err conftest.$ac_ext
7860 > rm -f conftest.err conftest.i conftest.$ac_ext
7861  
7862    # OK, works on sane cases.  Now check whether nonexistent headers
7863    # can be detected and how.
# Line 7180 | Line 7873 | else
7873   ac_preproc_ok=:
7874   break
7875   fi
7876 < rm -f conftest.err conftest.$ac_ext
7876 > rm -f conftest.err conftest.i conftest.$ac_ext
7877  
7878   done
7879   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7880 < rm -f conftest.err conftest.$ac_ext
7880 > rm -f conftest.i conftest.err conftest.$ac_ext
7881   if $ac_preproc_ok; then :
7882    break
7883   fi
# Line 7223 | Line 7916 | else
7916    # Broken: fails on valid input.
7917   continue
7918   fi
7919 < rm -f conftest.err conftest.$ac_ext
7919 > rm -f conftest.err conftest.i conftest.$ac_ext
7920  
7921    # OK, works on sane cases.  Now check whether nonexistent headers
7922    # can be detected and how.
# Line 7239 | Line 7932 | else
7932   ac_preproc_ok=:
7933   break
7934   fi
7935 < rm -f conftest.err conftest.$ac_ext
7935 > rm -f conftest.err conftest.i conftest.$ac_ext
7936  
7937   done
7938   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7939 < rm -f conftest.err conftest.$ac_ext
7939 > rm -f conftest.i conftest.err conftest.$ac_ext
7940   if $ac_preproc_ok; then :
7941  
7942   else
7943    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7944   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7945 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7946 < See \`config.log' for more details." "$LINENO" 5; }
7945 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7946 > See \`config.log' for more details" "$LINENO" 5; }
7947   fi
7948  
7949   ac_ext=c
# Line 7262 | Line 7955 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7955  
7956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7957   $as_echo_n "checking for ANSI C header files... " >&6; }
7958 < if test "${ac_cv_header_stdc+set}" = set; then :
7958 > if ${ac_cv_header_stdc+:} false; then :
7959    $as_echo_n "(cached) " >&6
7960   else
7961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7379 | Line 8072 | do :
8072    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8073   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8074   "
8075 < eval as_val=\$$as_ac_Header
7383 <   if test "x$as_val" = x""yes; then :
8075 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8076    cat >>confdefs.h <<_ACEOF
8077   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8078   _ACEOF
# Line 7394 | Line 8086 | for ac_header in dlfcn.h
8086   do :
8087    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8088   "
8089 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8089 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8090    cat >>confdefs.h <<_ACEOF
8091   #define HAVE_DLFCN_H 1
8092   _ACEOF
# Line 7405 | Line 8097 | done
8097  
8098  
8099  
8100 +
8101 +
8102   # Set options
8103   enable_dlopen=yes
8104   # Check whether --enable-static was given.
# Line 7478 | Line 8172 | fi
8172  
8173   # Check whether --with-pic was given.
8174   if test "${with_pic+set}" = set; then :
8175 <  withval=$with_pic; pic_mode="$withval"
8175 >  withval=$with_pic; lt_p=${PACKAGE-default}
8176 >    case $withval in
8177 >    yes|no) pic_mode=$withval ;;
8178 >    *)
8179 >      pic_mode=default
8180 >      # Look at the argument we got.  We use all the common list separators.
8181 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8182 >      for lt_pkg in $withval; do
8183 >        IFS="$lt_save_ifs"
8184 >        if test "X$lt_pkg" = "X$lt_p"; then
8185 >          pic_mode=yes
8186 >        fi
8187 >      done
8188 >      IFS="$lt_save_ifs"
8189 >      ;;
8190 >    esac
8191   else
8192    pic_mode=default
8193   fi
# Line 7555 | Line 8264 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8264  
8265  
8266  
8267 +
8268 +
8269 +
8270 +
8271 +
8272   test -z "$LN_S" && LN_S="ln -s"
8273  
8274  
# Line 7576 | Line 8290 | fi
8290  
8291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8292   $as_echo_n "checking for objdir... " >&6; }
8293 < if test "${lt_cv_objdir+set}" = set; then :
8293 > if ${lt_cv_objdir+:} false; then :
8294    $as_echo_n "(cached) " >&6
8295   else
8296    rm -f .libs 2>/dev/null
# Line 7604 | Line 8318 | _ACEOF
8318  
8319  
8320  
7607 –
7608 –
7609 –
7610 –
7611 –
7612 –
7613 –
7614 –
7615 –
7616 –
7617 –
7618 –
7619 –
8321   case $host_os in
8322   aix3*)
8323    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7629 | Line 8330 | aix3*)
8330    ;;
8331   esac
8332  
7632 – # Sed substitution that helps us do robust quoting.  It backslashifies
7633 – # metacharacters that are still active within double-quoted strings.
7634 – sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7635 –
7636 – # Same as above, but do not quote variable references.
7637 – double_quote_subst='s/\(["`\\]\)/\\\1/g'
7638 –
7639 – # Sed substitution to delay expansion of an escaped shell variable in a
7640 – # double_quote_subst'ed string.
7641 – delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7642 –
7643 – # Sed substitution to delay expansion of an escaped single quote.
7644 – delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7645 –
7646 – # Sed substitution to avoid accidental globbing in evaled expressions
7647 – no_glob_subst='s/\*/\\\*/g'
7648 –
8333   # Global variables:
8334   ofile=libtool
8335   can_build_shared=yes
# Line 7674 | Line 8358 | for cc_temp in $compiler""; do
8358      *) break;;
8359    esac
8360   done
8361 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8361 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8362  
8363  
8364   # Only perform the check for file, if the check method requires it
# Line 7684 | Line 8368 | file_magic*)
8368    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8369      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8370   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8371 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8371 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8372    $as_echo_n "(cached) " >&6
8373   else
8374    case $MAGIC_CMD in
# Line 7750 | Line 8434 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8434    if test -n "$ac_tool_prefix"; then
8435      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8436   $as_echo_n "checking for file... " >&6; }
8437 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8437 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8438    $as_echo_n "(cached) " >&6
8439   else
8440    case $MAGIC_CMD in
# Line 7874 | Line 8558 | _lt_linker_boilerplate=`cat conftest.err
8558   $RM -r conftest*
8559  
8560  
8561 + ## CAVEAT EMPTOR:
8562 + ## There is no encapsulation within the following macros, do not change
8563 + ## the running order or otherwise move them around unless you know exactly
8564 + ## what you are doing...
8565   if test -n "$compiler"; then
8566  
8567   lt_prog_compiler_no_builtin_flag=
8568  
8569   if test "$GCC" = yes; then
8570 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8570 >  case $cc_basename in
8571 >  nvcc*)
8572 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8573 >  *)
8574 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8575 >  esac
8576  
8577    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8578   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8579 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8579 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8580    $as_echo_n "(cached) " >&6
8581   else
8582    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7899 | Line 8592 | else
8592     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8593     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8594     -e 's:$: $lt_compiler_flag:'`
8595 <   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
8595 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8596     (eval "$lt_compile" 2>conftest.err)
8597     ac_status=$?
8598     cat conftest.err >&5
8599 <   echo "$as_me:7906: \$? = $ac_status" >&5
8599 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600     if (exit $ac_status) && test -s "$ac_outfile"; then
8601       # The compiler can only warn and ignore the option if not recognized
8602       # So say no if there are warnings other than the usual output.
8603 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8603 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8604       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8605       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8606         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7936 | Line 8629 | fi
8629   lt_prog_compiler_pic=
8630   lt_prog_compiler_static=
8631  
7939 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7940 – $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8632  
8633    if test "$GCC" = yes; then
8634      lt_prog_compiler_wl='-Wl,'
# Line 7985 | Line 8676 | $as_echo_n "checking for $compiler optio
8676        lt_prog_compiler_pic='-fno-common'
8677        ;;
8678  
8679 +    haiku*)
8680 +      # PIC is the default for Haiku.
8681 +      # The "-static" flag exists, but is broken.
8682 +      lt_prog_compiler_static=
8683 +      ;;
8684 +
8685      hpux*)
8686        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8687        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 8027 | Line 8724 | $as_echo_n "checking for $compiler optio
8724        lt_prog_compiler_pic='-fPIC'
8725        ;;
8726      esac
8727 +
8728 +    case $cc_basename in
8729 +    nvcc*) # Cuda Compiler Driver 2.2
8730 +      lt_prog_compiler_wl='-Xlinker '
8731 +      if test -n "$lt_prog_compiler_pic"; then
8732 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8733 +      fi
8734 +      ;;
8735 +    esac
8736    else
8737      # PORTME Check for flag to pass linker flags through the system compiler.
8738      case $host_os in
# Line 8068 | Line 8774 | $as_echo_n "checking for $compiler optio
8774        lt_prog_compiler_static='-non_shared'
8775        ;;
8776  
8777 <    linux* | k*bsd*-gnu)
8777 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8778        case $cc_basename in
8779        # old Intel for x86_64 which still supported -KPIC.
8780        ecc*)
# Line 8089 | Line 8795 | $as_echo_n "checking for $compiler optio
8795          lt_prog_compiler_pic='--shared'
8796          lt_prog_compiler_static='--static'
8797          ;;
8798 <      pgcc* | pgf77* | pgf90* | pgf95*)
8798 >      nagfor*)
8799 >        # NAG Fortran compiler
8800 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8801 >        lt_prog_compiler_pic='-PIC'
8802 >        lt_prog_compiler_static='-Bstatic'
8803 >        ;;
8804 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8805          # Portland Group compilers (*not* the Pentium gcc compiler,
8806          # which looks to be a dead project)
8807          lt_prog_compiler_wl='-Wl,'
# Line 8101 | Line 8813 | $as_echo_n "checking for $compiler optio
8813          # All Alpha code is PIC.
8814          lt_prog_compiler_static='-non_shared'
8815          ;;
8816 <      xl*)
8817 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8816 >      xl* | bgxl* | bgf* | mpixl*)
8817 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8818          lt_prog_compiler_wl='-Wl,'
8819          lt_prog_compiler_pic='-qpic'
8820          lt_prog_compiler_static='-qstaticlink'
8821          ;;
8822        *)
8823          case `$CC -V 2>&1 | sed 5q` in
8824 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8825 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8826 +          lt_prog_compiler_pic='-KPIC'
8827 +          lt_prog_compiler_static='-Bstatic'
8828 +          lt_prog_compiler_wl=''
8829 +          ;;
8830 +        *Sun\ F* | *Sun*Fortran*)
8831 +          lt_prog_compiler_pic='-KPIC'
8832 +          lt_prog_compiler_static='-Bstatic'
8833 +          lt_prog_compiler_wl='-Qoption ld '
8834 +          ;;
8835          *Sun\ C*)
8836            # Sun C 5.9
8837            lt_prog_compiler_pic='-KPIC'
8838            lt_prog_compiler_static='-Bstatic'
8839            lt_prog_compiler_wl='-Wl,'
8840            ;;
8841 <        *Sun\ F*)
8842 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8843 <          lt_prog_compiler_pic='-KPIC'
8841 >        *Intel*\ [CF]*Compiler*)
8842 >          lt_prog_compiler_wl='-Wl,'
8843 >          lt_prog_compiler_pic='-fPIC'
8844 >          lt_prog_compiler_static='-static'
8845 >          ;;
8846 >        *Portland\ Group*)
8847 >          lt_prog_compiler_wl='-Wl,'
8848 >          lt_prog_compiler_pic='-fpic'
8849            lt_prog_compiler_static='-Bstatic'
8122 –          lt_prog_compiler_wl=''
8850            ;;
8851          esac
8852          ;;
# Line 8151 | Line 8878 | $as_echo_n "checking for $compiler optio
8878        lt_prog_compiler_pic='-KPIC'
8879        lt_prog_compiler_static='-Bstatic'
8880        case $cc_basename in
8881 <      f77* | f90* | f95*)
8881 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8882          lt_prog_compiler_wl='-Qoption ld ';;
8883        *)
8884          lt_prog_compiler_wl='-Wl,';;
# Line 8208 | Line 8935 | case $host_os in
8935      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8936      ;;
8937   esac
8211 – { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8212 – $as_echo "$lt_prog_compiler_pic" >&6; }
8213 –
8214 –
8215 –
8216 –
8938  
8939 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8940 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8941 + if ${lt_cv_prog_compiler_pic+:} false; then :
8942 +  $as_echo_n "(cached) " >&6
8943 + else
8944 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8945 + fi
8946 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8947 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8948 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8949  
8950   #
8951   # Check to make sure the PIC flag actually works.
# Line 8222 | Line 8953 | $as_echo "$lt_prog_compiler_pic" >&6; }
8953   if test -n "$lt_prog_compiler_pic"; then
8954    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8955   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8956 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8956 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8957    $as_echo_n "(cached) " >&6
8958   else
8959    lt_cv_prog_compiler_pic_works=no
# Line 8238 | Line 8969 | else
8969     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8970     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8971     -e 's:$: $lt_compiler_flag:'`
8972 <   (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
8972 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8973     (eval "$lt_compile" 2>conftest.err)
8974     ac_status=$?
8975     cat conftest.err >&5
8976 <   echo "$as_me:8245: \$? = $ac_status" >&5
8976 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977     if (exit $ac_status) && test -s "$ac_outfile"; then
8978       # The compiler can only warn and ignore the option if not recognized
8979       # So say no if there are warnings other than the usual output.
8980 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8980 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8981       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8982       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8983         lt_cv_prog_compiler_pic_works=yes
# Line 8275 | Line 9006 | fi
9006  
9007  
9008  
9009 +
9010 +
9011 +
9012 +
9013 +
9014   #
9015   # Check to make sure the static flag actually works.
9016   #
9017   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9019   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9020 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9020 > if ${lt_cv_prog_compiler_static_works+:} false; then :
9021    $as_echo_n "(cached) " >&6
9022   else
9023    lt_cv_prog_compiler_static_works=no
# Line 8294 | Line 9030 | else
9030       if test -s conftest.err; then
9031         # Append any errors to the config.log.
9032         cat conftest.err 1>&5
9033 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9033 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9034         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9035         if diff conftest.exp conftest.er2 >/dev/null; then
9036           lt_cv_prog_compiler_static_works=yes
# Line 8324 | Line 9060 | fi
9060  
9061    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9062   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9063 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9063 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9064    $as_echo_n "(cached) " >&6
9065   else
9066    lt_cv_prog_compiler_c_o=no
# Line 8343 | Line 9079 | else
9079     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9080     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9081     -e 's:$: $lt_compiler_flag:'`
9082 <   (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
9082 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9083     (eval "$lt_compile" 2>out/conftest.err)
9084     ac_status=$?
9085     cat out/conftest.err >&5
9086 <   echo "$as_me:8350: \$? = $ac_status" >&5
9086 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9088     then
9089       # The compiler can only warn and ignore the option if not recognized
9090       # So say no if there are warnings
9091 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9091 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9092       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9093       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9094         lt_cv_prog_compiler_c_o=yes
# Line 8379 | Line 9115 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
9115  
9116    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9117   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9118 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9118 > if ${lt_cv_prog_compiler_c_o+:} false; then :
9119    $as_echo_n "(cached) " >&6
9120   else
9121    lt_cv_prog_compiler_c_o=no
# Line 8398 | Line 9134 | else
9134     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9135     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9136     -e 's:$: $lt_compiler_flag:'`
9137 <   (eval echo "\"\$as_me:8401: $lt_compile\"" >&5)
9137 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9138     (eval "$lt_compile" 2>out/conftest.err)
9139     ac_status=$?
9140     cat out/conftest.err >&5
9141 <   echo "$as_me:8405: \$? = $ac_status" >&5
9141 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9143     then
9144       # The compiler can only warn and ignore the option if not recognized
9145       # So say no if there are warnings
9146 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9146 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9147       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9148       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9149         lt_cv_prog_compiler_c_o=yes
# Line 8473 | Line 9209 | $as_echo_n "checking whether the $compil
9209    hardcode_direct=no
9210    hardcode_direct_absolute=no
9211    hardcode_libdir_flag_spec=
8476 –  hardcode_libdir_flag_spec_ld=
9212    hardcode_libdir_separator=
9213    hardcode_minus_L=no
9214    hardcode_shlibpath_var=unsupported
# Line 8520 | Line 9255 | $as_echo_n "checking whether the $compil
9255    esac
9256  
9257    ld_shlibs=yes
9258 +
9259 +  # On some targets, GNU ld is compatible enough with the native linker
9260 +  # that we're better off using the native interface for both.
9261 +  lt_use_gnu_ld_interface=no
9262    if test "$with_gnu_ld" = yes; then
9263 +    case $host_os in
9264 +      aix*)
9265 +        # The AIX port of GNU ld has always aspired to compatibility
9266 +        # with the native linker.  However, as the warning in the GNU ld
9267 +        # block says, versions before 2.19.5* couldn't really create working
9268 +        # shared libraries, regardless of the interface used.
9269 +        case `$LD -v 2>&1` in
9270 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9271 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9272 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9273 +          *)
9274 +            lt_use_gnu_ld_interface=yes
9275 +            ;;
9276 +        esac
9277 +        ;;
9278 +      *)
9279 +        lt_use_gnu_ld_interface=yes
9280 +        ;;
9281 +    esac
9282 +  fi
9283 +
9284 +  if test "$lt_use_gnu_ld_interface" = yes; then
9285      # If archive_cmds runs LD, not CC, wlarc should be empty
9286      wlarc='${wl}'
9287  
# Line 8538 | Line 9299 | $as_echo_n "checking whether the $compil
9299      fi
9300      supports_anon_versioning=no
9301      case `$LD -v 2>&1` in
9302 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9303        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9304        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9305        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8553 | Line 9315 | $as_echo_n "checking whether the $compil
9315          ld_shlibs=no
9316          cat <<_LT_EOF 1>&2
9317  
9318 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9318 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9319   *** to be unable to reliably create shared libraries on AIX.
9320   *** Therefore, libtool is disabling shared libraries support.  If you
9321 < *** really care for shared libraries, you may want to modify your PATH
9322 < *** so that a non-GNU linker is found, and then restart.
9321 > *** really care for shared libraries, you may want to install binutils
9322 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9323 > *** You will then need to restart the configuration process.
9324  
9325   _LT_EOF
9326        fi
# Line 8593 | Line 9356 | _LT_EOF
9356        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9357        # as there is no search path for DLLs.
9358        hardcode_libdir_flag_spec='-L$libdir'
9359 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9360        allow_undefined_flag=unsupported
9361        always_export_symbols=no
9362        enable_shared_with_static_runtimes=yes
9363 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9363 >      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'
9364 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9365  
9366        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9367          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8614 | Line 9379 | _LT_EOF
9379        fi
9380        ;;
9381  
9382 +    haiku*)
9383 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9384 +      link_all_deplibs=yes
9385 +      ;;
9386 +
9387      interix[3-9]*)
9388        hardcode_direct=no
9389        hardcode_shlibpath_var=no
# Line 8629 | Line 9399 | _LT_EOF
9399        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'
9400        ;;
9401  
9402 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9402 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9403        tmp_diet=no
9404        if test "$host_os" = linux-dietlibc; then
9405          case $cc_basename in
# Line 8639 | Line 9409 | _LT_EOF
9409        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9410           && test "$tmp_diet" = no
9411        then
9412 <        tmp_addflag=
9412 >        tmp_addflag=' $pic_flag'
9413          tmp_sharedflag='-shared'
9414          case $cc_basename,$host_cpu in
9415          pgcc*)                          # Portland Group C compiler
9416 <          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'
9416 >          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'
9417            tmp_addflag=' $pic_flag'
9418            ;;
9419 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9420 <          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'
9419 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9420 >                                        # Portland Group f77 and f90 compilers
9421 >          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'
9422            tmp_addflag=' $pic_flag -Mnomain' ;;
9423          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9424            tmp_addflag=' -i_dynamic' ;;
# Line 8658 | Line 9429 | _LT_EOF
9429          lf95*)                          # Lahey Fortran 8.1
9430            whole_archive_flag_spec=
9431            tmp_sharedflag='--shared' ;;
9432 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9432 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9433            tmp_sharedflag='-qmkshrobj'
9434            tmp_addflag= ;;
9435 +        nvcc*)  # Cuda Compiler Driver 2.2
9436 +          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'
9437 +          compiler_needs_object=yes
9438 +          ;;
9439          esac
9440          case `$CC -V 2>&1 | sed 5q` in
9441          *Sun\ C*)                       # Sun C 5.9
9442 <          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'
9442 >          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'
9443            compiler_needs_object=yes
9444            tmp_sharedflag='-G' ;;
9445          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8680 | Line 9455 | _LT_EOF
9455          fi
9456  
9457          case $cc_basename in
9458 <        xlf*)
9458 >        xlf* | bgf* | bgxlf* | mpixlf*)
9459            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9460            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9461 <          hardcode_libdir_flag_spec=
9462 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8688 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9461 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9462 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9463            if test "x$supports_anon_versioning" = xyes; then
9464              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9465                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9466                echo "local: *; };" >> $output_objdir/$libname.ver~
9467 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9467 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9468            fi
9469            ;;
9470          esac
# Line 8704 | Line 9478 | _LT_EOF
9478          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9479          wlarc=
9480        else
9481 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9481 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483        fi
9484        ;;
9485  
# Line 8723 | Line 9497 | _LT_EOF
9497  
9498   _LT_EOF
9499        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9500 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9501 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9501 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9502        else
9503          ld_shlibs=no
9504        fi
# Line 8770 | Line 9544 | _LT_EOF
9544  
9545      *)
9546        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9547 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9547 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9548 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9549        else
9550          ld_shlibs=no
9551        fi
# Line 8811 | Line 9585 | _LT_EOF
9585        else
9586          # If we're using GNU nm, then we don't want the "-C" option.
9587          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9588 +        # Also, AIX nm treats weak defined symbols like other global
9589 +        # defined symbols, whereas GNU nm marks them as "W".
9590          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9591 <          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'
9591 >          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'
9592          else
9593            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'
9594          fi
# Line 8899 | Line 9675 | _LT_EOF
9675          allow_undefined_flag='-berok'
9676          # Determine the default libpath from the value encoded in an
9677          # empty executable.
9678 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 >        if test "${lt_cv_aix_libpath+set}" = set; then
9679 >  aix_libpath=$lt_cv_aix_libpath
9680 > else
9681 >  if ${lt_cv_aix_libpath_+:} false; then :
9682 >  $as_echo_n "(cached) " >&6
9683 > else
9684 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685   /* end confdefs.h.  */
9686  
9687   int
# Line 8912 | Line 9694 | main ()
9694   _ACEOF
9695   if ac_fn_c_try_link "$LINENO"; then :
9696  
9697 < lt_aix_libpath_sed='
9698 <    /Import File Strings/,/^$/ {
9699 <        /^0/ {
9700 <            s/^0  *\(.*\)$/\1/
9701 <            p
9702 <        }
9703 <    }'
9704 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 < # Check for a 64-bit object if we didn't find anything.
9706 < if test -z "$aix_libpath"; then
9707 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 < fi
9697 >  lt_aix_libpath_sed='
9698 >      /Import File Strings/,/^$/ {
9699 >          /^0/ {
9700 >              s/^0  *\([^ ]*\) *$/\1/
9701 >              p
9702 >          }
9703 >      }'
9704 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 >  # Check for a 64-bit object if we didn't find anything.
9706 >  if test -z "$lt_cv_aix_libpath_"; then
9707 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 >  fi
9709   fi
9710   rm -f core conftest.err conftest.$ac_objext \
9711      conftest$ac_exeext conftest.$ac_ext
9712 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9712 >  if test -z "$lt_cv_aix_libpath_"; then
9713 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9714 >  fi
9715 >
9716 > fi
9717 >
9718 >  aix_libpath=$lt_cv_aix_libpath_
9719 > fi
9720  
9721          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9722 <        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"
9722 >        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"
9723        else
9724          if test "$host_cpu" = ia64; then
9725            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8939 | Line 9728 | if test -z "$aix_libpath"; then aix_libp
9728          else
9729           # Determine the default libpath from the value encoded in an
9730           # empty executable.
9731 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 >         if test "${lt_cv_aix_libpath+set}" = set; then
9732 >  aix_libpath=$lt_cv_aix_libpath
9733 > else
9734 >  if ${lt_cv_aix_libpath_+:} false; then :
9735 >  $as_echo_n "(cached) " >&6
9736 > else
9737 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738   /* end confdefs.h.  */
9739  
9740   int
# Line 8952 | Line 9747 | main ()
9747   _ACEOF
9748   if ac_fn_c_try_link "$LINENO"; then :
9749  
9750 < lt_aix_libpath_sed='
9751 <    /Import File Strings/,/^$/ {
9752 <        /^0/ {
9753 <            s/^0  *\(.*\)$/\1/
9754 <            p
9755 <        }
9756 <    }'
9757 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9758 < # Check for a 64-bit object if we didn't find anything.
9759 < if test -z "$aix_libpath"; then
9760 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9761 < fi
9750 >  lt_aix_libpath_sed='
9751 >      /Import File Strings/,/^$/ {
9752 >          /^0/ {
9753 >              s/^0  *\([^ ]*\) *$/\1/
9754 >              p
9755 >          }
9756 >      }'
9757 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9758 >  # Check for a 64-bit object if we didn't find anything.
9759 >  if test -z "$lt_cv_aix_libpath_"; then
9760 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9761 >  fi
9762   fi
9763   rm -f core conftest.err conftest.$ac_objext \
9764      conftest$ac_exeext conftest.$ac_ext
9765 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9765 >  if test -z "$lt_cv_aix_libpath_"; then
9766 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9767 >  fi
9768 >
9769 > fi
9770 >
9771 >  aix_libpath=$lt_cv_aix_libpath_
9772 > fi
9773  
9774           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9775            # Warning - without using the other run time loading flags,
9776            # -berok will link without error, but may produce a broken library.
9777            no_undefined_flag=' ${wl}-bernotok'
9778            allow_undefined_flag=' ${wl}-berok'
9779 <          # Exported symbols can be pulled into shared objects from archives
9780 <          whole_archive_flag_spec='$convenience'
9779 >          if test "$with_gnu_ld" = yes; then
9780 >            # We only use this code for GNU lds that support --whole-archive.
9781 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9782 >          else
9783 >            # Exported symbols can be pulled into shared objects from archives
9784 >            whole_archive_flag_spec='$convenience'
9785 >          fi
9786            archive_cmds_need_lc=yes
9787            # This is similar to how AIX traditionally builds its shared libraries.
9788            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 9007 | Line 9814 | if test -z "$aix_libpath"; then aix_libp
9814        # Microsoft Visual C++.
9815        # hardcode_libdir_flag_spec is actually meaningless, as there is
9816        # no search path for DLLs.
9817 <      hardcode_libdir_flag_spec=' '
9818 <      allow_undefined_flag=unsupported
9819 <      # Tell ltmain to make .lib files, not .a files.
9820 <      libext=lib
9821 <      # Tell ltmain to make .dll files, not .so files.
9822 <      shrext_cmds=".dll"
9823 <      # FIXME: Setting linknames here is a bad hack.
9824 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9825 <      # The linker will automatically build a .lib file if we build a DLL.
9826 <      old_archive_from_new_cmds='true'
9827 <      # FIXME: Should let the user specify the lib program.
9828 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9829 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9830 <      enable_shared_with_static_runtimes=yes
9817 >      case $cc_basename in
9818 >      cl*)
9819 >        # Native MSVC
9820 >        hardcode_libdir_flag_spec=' '
9821 >        allow_undefined_flag=unsupported
9822 >        always_export_symbols=yes
9823 >        file_list_spec='@'
9824 >        # Tell ltmain to make .lib files, not .a files.
9825 >        libext=lib
9826 >        # Tell ltmain to make .dll files, not .so files.
9827 >        shrext_cmds=".dll"
9828 >        # FIXME: Setting linknames here is a bad hack.
9829 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9830 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9831 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9832 >          else
9833 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9834 >          fi~
9835 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9836 >          linknames='
9837 >        # The linker will not automatically build a static lib if we build a DLL.
9838 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9839 >        enable_shared_with_static_runtimes=yes
9840 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9841 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9842 >        # Don't use ranlib
9843 >        old_postinstall_cmds='chmod 644 $oldlib'
9844 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9845 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9846 >          case $lt_outputfile in
9847 >            *.exe|*.EXE) ;;
9848 >            *)
9849 >              lt_outputfile="$lt_outputfile.exe"
9850 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9851 >              ;;
9852 >          esac~
9853 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9854 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9855 >            $RM "$lt_outputfile.manifest";
9856 >          fi'
9857 >        ;;
9858 >      *)
9859 >        # Assume MSVC wrapper
9860 >        hardcode_libdir_flag_spec=' '
9861 >        allow_undefined_flag=unsupported
9862 >        # Tell ltmain to make .lib files, not .a files.
9863 >        libext=lib
9864 >        # Tell ltmain to make .dll files, not .so files.
9865 >        shrext_cmds=".dll"
9866 >        # FIXME: Setting linknames here is a bad hack.
9867 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9868 >        # The linker will automatically build a .lib file if we build a DLL.
9869 >        old_archive_from_new_cmds='true'
9870 >        # FIXME: Should let the user specify the lib program.
9871 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9872 >        enable_shared_with_static_runtimes=yes
9873 >        ;;
9874 >      esac
9875        ;;
9876  
9877      darwin* | rhapsody*)
# Line 9030 | Line 9881 | if test -z "$aix_libpath"; then aix_libp
9881    hardcode_direct=no
9882    hardcode_automatic=yes
9883    hardcode_shlibpath_var=unsupported
9884 <  whole_archive_flag_spec=''
9884 >  if test "$lt_cv_ld_force_load" = "yes"; then
9885 >    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\"`'
9886 >
9887 >  else
9888 >    whole_archive_flag_spec=''
9889 >  fi
9890    link_all_deplibs=yes
9891    allow_undefined_flag="$_lt_dar_allow_undefined"
9892    case $cc_basename in
# Line 9038 | Line 9894 | if test -z "$aix_libpath"; then aix_libp
9894       *) _lt_dar_can_shared=$GCC ;;
9895    esac
9896    if test "$_lt_dar_can_shared" = "yes"; then
9897 <    output_verbose_link_cmd=echo
9897 >    output_verbose_link_cmd=func_echo_all
9898      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9899      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9900      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 9056 | Line 9912 | if test -z "$aix_libpath"; then aix_libp
9912        hardcode_shlibpath_var=no
9913        ;;
9914  
9059 –    freebsd1*)
9060 –      ld_shlibs=no
9061 –      ;;
9062 –
9915      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9916      # support.  Future versions do this automatically, but an explicit c++rt0.o
9917      # does not break anything, and helps significantly (at the cost of a little
# Line 9072 | Line 9924 | if test -z "$aix_libpath"; then aix_libp
9924        ;;
9925  
9926      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9927 <    freebsd2*)
9927 >    freebsd2.*)
9928        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9929        hardcode_direct=yes
9930        hardcode_minus_L=yes
# Line 9081 | Line 9933 | if test -z "$aix_libpath"; then aix_libp
9933  
9934      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9935      freebsd* | dragonfly*)
9936 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9936 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9937        hardcode_libdir_flag_spec='-R$libdir'
9938        hardcode_direct=yes
9939        hardcode_shlibpath_var=no
# Line 9089 | Line 9941 | if test -z "$aix_libpath"; then aix_libp
9941  
9942      hpux9*)
9943        if test "$GCC" = yes; then
9944 <        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'
9944 >        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'
9945        else
9946          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'
9947        fi
# Line 9104 | Line 9956 | if test -z "$aix_libpath"; then aix_libp
9956        ;;
9957  
9958      hpux10*)
9959 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9960 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9959 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9960 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9961        else
9962          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9963        fi
9964        if test "$with_gnu_ld" = no; then
9965          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9114 –        hardcode_libdir_flag_spec_ld='+b $libdir'
9966          hardcode_libdir_separator=:
9967          hardcode_direct=yes
9968          hardcode_direct_absolute=yes
# Line 9123 | Line 9974 | if test -z "$aix_libpath"; then aix_libp
9974        ;;
9975  
9976      hpux11*)
9977 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9977 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9978          case $host_cpu in
9979          hppa*64*)
9980            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9981            ;;
9982          ia64*)
9983 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9983 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9984            ;;
9985          *)
9986 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9986 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9987            ;;
9988          esac
9989        else
# Line 9144 | Line 9995 | if test -z "$aix_libpath"; then aix_libp
9995            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9996            ;;
9997          *)
9998 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9998 >
9999 >          # Older versions of the 11.00 compiler do not understand -b yet
10000 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10001 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10002 > $as_echo_n "checking if $CC understands -b... " >&6; }
10003 > if ${lt_cv_prog_compiler__b+:} false; then :
10004 >  $as_echo_n "(cached) " >&6
10005 > else
10006 >  lt_cv_prog_compiler__b=no
10007 >   save_LDFLAGS="$LDFLAGS"
10008 >   LDFLAGS="$LDFLAGS -b"
10009 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10010 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10011 >     # The linker can only warn and ignore the option if not recognized
10012 >     # So say no if there are warnings
10013 >     if test -s conftest.err; then
10014 >       # Append any errors to the config.log.
10015 >       cat conftest.err 1>&5
10016 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10017 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10018 >       if diff conftest.exp conftest.er2 >/dev/null; then
10019 >         lt_cv_prog_compiler__b=yes
10020 >       fi
10021 >     else
10022 >       lt_cv_prog_compiler__b=yes
10023 >     fi
10024 >   fi
10025 >   $RM -r conftest*
10026 >   LDFLAGS="$save_LDFLAGS"
10027 >
10028 > fi
10029 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10030 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
10031 >
10032 > if test x"$lt_cv_prog_compiler__b" = xyes; then
10033 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10034 > else
10035 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10036 > fi
10037 >
10038            ;;
10039          esac
10040        fi
# Line 9172 | Line 10062 | if test -z "$aix_libpath"; then aix_libp
10062  
10063      irix5* | irix6* | nonstopux*)
10064        if test "$GCC" = yes; then
10065 <        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'
10065 >        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'
10066          # Try to use the -exported_symbol ld option, if it does not
10067          # work, assume that -exports_file does not work either and
10068          # implicitly export all symbols.
10069 <        save_LDFLAGS="$LDFLAGS"
10070 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10071 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 >        # This should be the same for all languages, so no per-tag cache variable.
10070 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10071 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10072 > if ${lt_cv_irix_exported_symbol+:} false; then :
10073 >  $as_echo_n "(cached) " >&6
10074 > else
10075 >  save_LDFLAGS="$LDFLAGS"
10076 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10077 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078   /* end confdefs.h.  */
10079 < int foo(void) {}
10079 > int foo (void) { return 0; }
10080   _ACEOF
10081   if ac_fn_c_try_link "$LINENO"; then :
10082 <  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'
10083 <
10082 >  lt_cv_irix_exported_symbol=yes
10083 > else
10084 >  lt_cv_irix_exported_symbol=no
10085   fi
10086   rm -f core conftest.err conftest.$ac_objext \
10087      conftest$ac_exeext conftest.$ac_ext
10088 <        LDFLAGS="$save_LDFLAGS"
10088 >           LDFLAGS="$save_LDFLAGS"
10089 > fi
10090 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10091 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10092 >        if test "$lt_cv_irix_exported_symbol" = yes; then
10093 >          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'
10094 >        fi
10095        else
10096 <        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'
10097 <        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'
10096 >        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'
10097 >        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'
10098        fi
10099        archive_cmds_need_lc='no'
10100        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9253 | Line 10156 | rm -f core conftest.err conftest.$ac_obj
10156        hardcode_libdir_flag_spec='-L$libdir'
10157        hardcode_minus_L=yes
10158        allow_undefined_flag=unsupported
10159 <      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'
10159 >      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'
10160        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10161        ;;
10162  
10163      osf3*)
10164        if test "$GCC" = yes; then
10165          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10166 <        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'
10166 >        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'
10167        else
10168          allow_undefined_flag=' -expect_unresolved \*'
10169 <        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'
10169 >        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'
10170        fi
10171        archive_cmds_need_lc='no'
10172        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9273 | Line 10176 | rm -f core conftest.err conftest.$ac_obj
10176      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10177        if test "$GCC" = yes; then
10178          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10179 <        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'
10179 >        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'
10180          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10181        else
10182          allow_undefined_flag=' -expect_unresolved \*'
10183 <        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'
10183 >        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'
10184          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~
10185 <        $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'
10185 >        $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'
10186  
10187          # Both c and cxx compiler support -rpath directly
10188          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9292 | Line 10195 | rm -f core conftest.err conftest.$ac_obj
10195        no_undefined_flag=' -z defs'
10196        if test "$GCC" = yes; then
10197          wlarc='${wl}'
10198 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10199          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10200 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10200 >          $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'
10201        else
10202          case `$CC -V 2>&1` in
10203          *"Compilers 5.0"*)
# Line 9482 | Line 10385 | x|xyes)
10385        # to ld, don't add -lc before -lgcc.
10386        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10387   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10388 <      $RM conftest*
10389 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10388 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10389 >  $as_echo_n "(cached) " >&6
10390 > else
10391 >  $RM conftest*
10392 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10393  
10394 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10394 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10395    (eval $ac_compile) 2>&5
10396    ac_status=$?
10397    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10398    test $ac_status = 0; } 2>conftest.err; then
10399 <        soname=conftest
10400 <        lib=conftest
10401 <        libobjs=conftest.$ac_objext
10402 <        deplibs=
10403 <        wl=$lt_prog_compiler_wl
10404 <        pic_flag=$lt_prog_compiler_pic
10405 <        compiler_flags=-v
10406 <        linker_flags=-v
10407 <        verstring=
10408 <        output_objdir=.
10409 <        libname=conftest
10410 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10411 <        allow_undefined_flag=
10412 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10399 >          soname=conftest
10400 >          lib=conftest
10401 >          libobjs=conftest.$ac_objext
10402 >          deplibs=
10403 >          wl=$lt_prog_compiler_wl
10404 >          pic_flag=$lt_prog_compiler_pic
10405 >          compiler_flags=-v
10406 >          linker_flags=-v
10407 >          verstring=
10408 >          output_objdir=.
10409 >          libname=conftest
10410 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10411 >          allow_undefined_flag=
10412 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10413    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10414    ac_status=$?
10415    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10416    test $ac_status = 0; }
10417 <        then
10418 <          archive_cmds_need_lc=no
10419 <        else
10420 <          archive_cmds_need_lc=yes
10421 <        fi
10422 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10423 <      else
10424 <        cat conftest.err 1>&5
10425 <      fi
10426 <      $RM conftest*
10427 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10428 < $as_echo "$archive_cmds_need_lc" >&6; }
10417 >          then
10418 >            lt_cv_archive_cmds_need_lc=no
10419 >          else
10420 >            lt_cv_archive_cmds_need_lc=yes
10421 >          fi
10422 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10423 >        else
10424 >          cat conftest.err 1>&5
10425 >        fi
10426 >        $RM conftest*
10427 >
10428 > fi
10429 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10430 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10431 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10432        ;;
10433      esac
10434    fi
# Line 9677 | Line 10586 | esac
10586  
10587  
10588  
9680 –
9681 –
9682 –
9683 –
9684 –
10589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10590   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10591  
# Line 9690 | Line 10594 | if test "$GCC" = yes; then
10594      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10595      *) lt_awk_arg="/^libraries:/" ;;
10596    esac
10597 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10598 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10597 >  case $host_os in
10598 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10599 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10600 >  esac
10601 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10602 >  case $lt_search_path_spec in
10603 >  *\;*)
10604      # if the path contains ";" then we assume it to be the separator
10605      # otherwise default to the standard path separator (i.e. ":") - it is
10606      # assumed that no part of a normal pathname contains ";" but that should
10607      # okay in the real world where ";" in dirpaths is itself problematic.
10608 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10609 <  else
10610 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10611 <  fi
10608 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10609 >    ;;
10610 >  *)
10611 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10612 >    ;;
10613 >  esac
10614    # Ok, now we have the path, separated by spaces, we can step through it
10615    # and add multilib dir if necessary.
10616    lt_tmp_lt_search_path_spec=
# Line 9712 | Line 10623 | if test "$GCC" = yes; then
10623          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10624      fi
10625    done
10626 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10626 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10627   BEGIN {RS=" "; FS="/|\n";} {
10628    lt_foo="";
10629    lt_count=0;
# Line 9732 | Line 10643 | BEGIN {RS=" "; FS="/|\n";} {
10643    if (lt_foo != "") { lt_freq[lt_foo]++; }
10644    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10645   }'`
10646 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10646 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10647 >  # for these hosts.
10648 >  case $host_os in
10649 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10650 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10651 >  esac
10652 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10653   else
10654    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10655   fi
# Line 9758 | Line 10675 | need_version=unknown
10675  
10676   case $host_os in
10677   aix3*)
10678 <  version_type=linux
10678 >  version_type=linux # correct to gnu/linux during the next big refactor
10679    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10680    shlibpath_var=LIBPATH
10681  
# Line 9767 | Line 10684 | aix3*)
10684    ;;
10685  
10686   aix[4-9]*)
10687 <  version_type=linux
10687 >  version_type=linux # correct to gnu/linux during the next big refactor
10688    need_lib_prefix=no
10689    need_version=no
10690    hardcode_into_libs=yes
# Line 9820 | Line 10737 | amigaos*)
10737    m68k)
10738      library_names_spec='$libname.ixlibrary $libname.a'
10739      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10740 <    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'
10740 >    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'
10741      ;;
10742    esac
10743    ;;
# Line 9832 | Line 10749 | beos*)
10749    ;;
10750  
10751   bsdi[45]*)
10752 <  version_type=linux
10752 >  version_type=linux # correct to gnu/linux during the next big refactor
10753    need_version=no
10754    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9851 | Line 10768 | cygwin* | mingw* | pw32* | cegcc*)
10768    need_version=no
10769    need_lib_prefix=no
10770  
10771 <  case $GCC,$host_os in
10772 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10771 >  case $GCC,$cc_basename in
10772 >  yes,*)
10773 >    # gcc
10774      library_names_spec='$libname.dll.a'
10775      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10776      postinstall_cmds='base_file=`basename \${file}`~
# Line 9873 | Line 10791 | cygwin* | mingw* | pw32* | cegcc*)
10791      cygwin*)
10792        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10793        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10794 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10794 >
10795 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10796        ;;
10797      mingw* | cegcc*)
10798        # MinGW DLLs use traditional 'lib' prefix
10799        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9881 –      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9882 –      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9883 –        # It is most probably a Windows format PATH printed by
9884 –        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9885 –        # path with ; separators, and with drive letters. We can handle the
9886 –        # drive letters (cygwin fileutils understands them), so leave them,
9887 –        # especially as we might pass files found there to a mingw objdump,
9888 –        # which wouldn't understand a cygwinified path. Ahh.
9889 –        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9890 –      else
9891 –        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9892 –      fi
10800        ;;
10801      pw32*)
10802        # pw32 DLLs use 'pw' prefix rather than 'lib'
10803        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10804        ;;
10805      esac
10806 +    dynamic_linker='Win32 ld.exe'
10807 +    ;;
10808 +
10809 +  *,cl*)
10810 +    # Native MSVC
10811 +    libname_spec='$name'
10812 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10813 +    library_names_spec='${libname}.dll.lib'
10814 +
10815 +    case $build_os in
10816 +    mingw*)
10817 +      sys_lib_search_path_spec=
10818 +      lt_save_ifs=$IFS
10819 +      IFS=';'
10820 +      for lt_path in $LIB
10821 +      do
10822 +        IFS=$lt_save_ifs
10823 +        # Let DOS variable expansion print the short 8.3 style file name.
10824 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10825 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10826 +      done
10827 +      IFS=$lt_save_ifs
10828 +      # Convert to MSYS style.
10829 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10830 +      ;;
10831 +    cygwin*)
10832 +      # Convert to unix form, then to dos form, then back to unix form
10833 +      # but this time dos style (no spaces!) so that the unix form looks
10834 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10835 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10836 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10837 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10838 +      ;;
10839 +    *)
10840 +      sys_lib_search_path_spec="$LIB"
10841 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10842 +        # It is most probably a Windows format PATH.
10843 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10844 +      else
10845 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10846 +      fi
10847 +      # FIXME: find the short name or the path components, as spaces are
10848 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10849 +      ;;
10850 +    esac
10851 +
10852 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10853 +    postinstall_cmds='base_file=`basename \${file}`~
10854 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10855 +      dldir=$destdir/`dirname \$dlpath`~
10856 +      test -d \$dldir || mkdir -p \$dldir~
10857 +      $install_prog $dir/$dlname \$dldir/$dlname'
10858 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10859 +      dlpath=$dir/\$dldll~
10860 +       $RM \$dlpath'
10861 +    shlibpath_overrides_runpath=yes
10862 +    dynamic_linker='Win32 link.exe'
10863      ;;
10864  
10865    *)
10866 +    # Assume MSVC wrapper
10867      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10868 +    dynamic_linker='Win32 ld.exe'
10869      ;;
10870    esac
9905 –  dynamic_linker='Win32 ld.exe'
10871    # FIXME: first we should search . and the directory the executable is in
10872    shlibpath_var=PATH
10873    ;;
# Line 9923 | Line 10888 | darwin* | rhapsody*)
10888    ;;
10889  
10890   dgux*)
10891 <  version_type=linux
10891 >  version_type=linux # correct to gnu/linux during the next big refactor
10892    need_lib_prefix=no
10893    need_version=no
10894    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9931 | Line 10896 | dgux*)
10896    shlibpath_var=LD_LIBRARY_PATH
10897    ;;
10898  
9934 – freebsd1*)
9935 –  dynamic_linker=no
9936 –  ;;
9937 –
10899   freebsd* | dragonfly*)
10900    # DragonFly does not have aout.  When/if they implement a new
10901    # versioning mechanism, adjust this.
# Line 9942 | Line 10903 | freebsd* | dragonfly*)
10903      objformat=`/usr/bin/objformat`
10904    else
10905      case $host_os in
10906 <    freebsd[123]*) objformat=aout ;;
10906 >    freebsd[23].*) objformat=aout ;;
10907      *) objformat=elf ;;
10908      esac
10909    fi
# Line 9960 | Line 10921 | freebsd* | dragonfly*)
10921    esac
10922    shlibpath_var=LD_LIBRARY_PATH
10923    case $host_os in
10924 <  freebsd2*)
10924 >  freebsd2.*)
10925      shlibpath_overrides_runpath=yes
10926      ;;
10927    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9980 | Line 10941 | freebsd* | dragonfly*)
10941    ;;
10942  
10943   gnu*)
10944 <  version_type=linux
10944 >  version_type=linux # correct to gnu/linux during the next big refactor
10945    need_lib_prefix=no
10946    need_version=no
10947    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10948    soname_spec='${libname}${release}${shared_ext}$major'
10949    shlibpath_var=LD_LIBRARY_PATH
10950 +  shlibpath_overrides_runpath=no
10951 +  hardcode_into_libs=yes
10952 +  ;;
10953 +
10954 + haiku*)
10955 +  version_type=linux # correct to gnu/linux during the next big refactor
10956 +  need_lib_prefix=no
10957 +  need_version=no
10958 +  dynamic_linker="$host_os runtime_loader"
10959 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10960 +  soname_spec='${libname}${release}${shared_ext}$major'
10961 +  shlibpath_var=LIBRARY_PATH
10962 +  shlibpath_overrides_runpath=yes
10963 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10964    hardcode_into_libs=yes
10965    ;;
10966  
# Line 10031 | Line 11006 | hpux9* | hpux10* | hpux11*)
11006      soname_spec='${libname}${release}${shared_ext}$major'
11007      ;;
11008    esac
11009 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11009 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11010    postinstall_cmds='chmod 555 $lib'
11011 +  # or fails outright, so override atomically:
11012 +  install_override_mode=555
11013    ;;
11014  
11015   interix[3-9]*)
11016 <  version_type=linux
11016 >  version_type=linux # correct to gnu/linux during the next big refactor
11017    need_lib_prefix=no
11018    need_version=no
11019    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10052 | Line 11029 | irix5* | irix6* | nonstopux*)
11029      nonstopux*) version_type=nonstopux ;;
11030      *)
11031          if test "$lt_cv_prog_gnu_ld" = yes; then
11032 <                version_type=linux
11032 >                version_type=linux # correct to gnu/linux during the next big refactor
11033          else
11034                  version_type=irix
11035          fi ;;
# Line 10089 | Line 11066 | linux*oldld* | linux*aout* | linux*coff*
11066    dynamic_linker=no
11067    ;;
11068  
11069 < # This must be Linux ELF.
11070 < linux* | k*bsd*-gnu)
11071 <  version_type=linux
11069 > # This must be glibc/ELF.
11070 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
11071 >  version_type=linux # correct to gnu/linux during the next big refactor
11072    need_lib_prefix=no
11073    need_version=no
11074    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10099 | Line 11076 | linux* | k*bsd*-gnu)
11076    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11077    shlibpath_var=LD_LIBRARY_PATH
11078    shlibpath_overrides_runpath=no
11079 +
11080    # Some binutils ld are patched to set DT_RUNPATH
11081 <  save_LDFLAGS=$LDFLAGS
11082 <  save_libdir=$libdir
11083 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11084 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11085 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11082 >  $as_echo_n "(cached) " >&6
11083 > else
11084 >  lt_cv_shlibpath_overrides_runpath=no
11085 >    save_LDFLAGS=$LDFLAGS
11086 >    save_libdir=$libdir
11087 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11088 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11089 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090   /* end confdefs.h.  */
11091  
11092   int
# Line 10117 | Line 11099 | main ()
11099   _ACEOF
11100   if ac_fn_c_try_link "$LINENO"; then :
11101    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11102 <  shlibpath_overrides_runpath=yes
11102 >  lt_cv_shlibpath_overrides_runpath=yes
11103   fi
11104   fi
11105   rm -f core conftest.err conftest.$ac_objext \
11106      conftest$ac_exeext conftest.$ac_ext
11107 <  LDFLAGS=$save_LDFLAGS
11108 <  libdir=$save_libdir
11107 >    LDFLAGS=$save_LDFLAGS
11108 >    libdir=$save_libdir
11109 >
11110 > fi
11111 >
11112 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11113  
11114    # This implies no fast_install, which is unacceptable.
11115    # Some rework will be needed to allow for fast_install
# Line 10132 | Line 11118 | rm -f core conftest.err conftest.$ac_obj
11118  
11119    # Append ld.so.conf contents to the search path
11120    if test -f /etc/ld.so.conf; then
11121 <    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' ' '`
11121 >    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' ' '`
11122      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11123    fi
11124  
# Line 10164 | Line 11150 | netbsd*)
11150    ;;
11151  
11152   newsos6)
11153 <  version_type=linux
11153 >  version_type=linux # correct to gnu/linux during the next big refactor
11154    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155    shlibpath_var=LD_LIBRARY_PATH
11156    shlibpath_overrides_runpath=yes
# Line 10233 | Line 11219 | rdos*)
11219    ;;
11220  
11221   solaris*)
11222 <  version_type=linux
11222 >  version_type=linux # correct to gnu/linux during the next big refactor
11223    need_lib_prefix=no
11224    need_version=no
11225    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10258 | Line 11244 | sunos4*)
11244    ;;
11245  
11246   sysv4 | sysv4.3*)
11247 <  version_type=linux
11247 >  version_type=linux # correct to gnu/linux during the next big refactor
11248    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249    soname_spec='${libname}${release}${shared_ext}$major'
11250    shlibpath_var=LD_LIBRARY_PATH
# Line 10282 | Line 11268 | sysv4 | sysv4.3*)
11268  
11269   sysv4*MP*)
11270    if test -d /usr/nec ;then
11271 <    version_type=linux
11271 >    version_type=linux # correct to gnu/linux during the next big refactor
11272      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11273      soname_spec='$libname${shared_ext}.$major'
11274      shlibpath_var=LD_LIBRARY_PATH
# Line 10313 | Line 11299 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11299  
11300   tpf*)
11301    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11302 <  version_type=linux
11302 >  version_type=linux # correct to gnu/linux during the next big refactor
11303    need_lib_prefix=no
11304    need_version=no
11305    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10323 | Line 11309 | tpf*)
11309    ;;
11310  
11311   uts4*)
11312 <  version_type=linux
11312 >  version_type=linux # correct to gnu/linux during the next big refactor
11313    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314    soname_spec='${libname}${release}${shared_ext}$major'
11315    shlibpath_var=LD_LIBRARY_PATH
# Line 10435 | Line 11421 | fi
11421  
11422  
11423  
11424 +
11425 +
11426 +
11427 +
11428 +
11429    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11430   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11431   hardcode_action=
# Line 10507 | Line 11498 | else
11498    # if libdl is installed we need to link against it
11499      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11500   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11501 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11501 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11502    $as_echo_n "(cached) " >&6
11503   else
11504    ac_check_lib_save_LIBS=$LIBS
# Line 10541 | Line 11532 | LIBS=$ac_check_lib_save_LIBS
11532   fi
11533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11534   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11535 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11535 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11536    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11537   else
11538  
# Line 10555 | Line 11546 | fi
11546  
11547    *)
11548      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11549 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11549 > if test "x$ac_cv_func_shl_load" = xyes; then :
11550    lt_cv_dlopen="shl_load"
11551   else
11552    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11553   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11554 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11554 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11555    $as_echo_n "(cached) " >&6
11556   else
11557    ac_check_lib_save_LIBS=$LIBS
# Line 10594 | Line 11585 | LIBS=$ac_check_lib_save_LIBS
11585   fi
11586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11587   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11588 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11588 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11589    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11590   else
11591    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11592 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11592 > if test "x$ac_cv_func_dlopen" = xyes; then :
11593    lt_cv_dlopen="dlopen"
11594   else
11595    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11596   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11597 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11597 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11598    $as_echo_n "(cached) " >&6
11599   else
11600    ac_check_lib_save_LIBS=$LIBS
# Line 10637 | Line 11628 | LIBS=$ac_check_lib_save_LIBS
11628   fi
11629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11630   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11631 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11631 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11632    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11633   else
11634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11635   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11636 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11636 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11637    $as_echo_n "(cached) " >&6
11638   else
11639    ac_check_lib_save_LIBS=$LIBS
# Line 10676 | Line 11667 | LIBS=$ac_check_lib_save_LIBS
11667   fi
11668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11669   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11670 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11670 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11671    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11672   else
11673    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11674   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11675 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11675 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11676    $as_echo_n "(cached) " >&6
11677   else
11678    ac_check_lib_save_LIBS=$LIBS
# Line 10715 | Line 11706 | LIBS=$ac_check_lib_save_LIBS
11706   fi
11707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11708   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11709 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11709 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11710    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11711   fi
11712  
# Line 10756 | Line 11747 | fi
11747  
11748      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11749   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11750 < if test "${lt_cv_dlopen_self+set}" = set; then :
11750 > if ${lt_cv_dlopen_self+:} false; then :
11751    $as_echo_n "(cached) " >&6
11752   else
11753            if test "$cross_compiling" = yes; then :
# Line 10765 | Line 11756 | else
11756    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11757    lt_status=$lt_dlunknown
11758    cat > conftest.$ac_ext <<_LT_EOF
11759 < #line 10768 "configure"
11759 > #line $LINENO "configure"
11760   #include "confdefs.h"
11761  
11762   #if HAVE_DLFCN_H
# Line 10806 | Line 11797 | else
11797   #  endif
11798   #endif
11799  
11800 < void fnord() { int i=42;}
11800 > /* When -fvisbility=hidden is used, assume the code has been annotated
11801 >   correspondingly for the symbols needed.  */
11802 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11803 > int fnord () __attribute__((visibility("default")));
11804 > #endif
11805 >
11806 > int fnord () { return 42; }
11807   int main ()
11808   {
11809    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10815 | Line 11812 | int main ()
11812    if (self)
11813      {
11814        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11815 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11815 >      else
11816 >        {
11817 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11818 >          else puts (dlerror ());
11819 >        }
11820        /* dlclose (self); */
11821      }
11822    else
# Line 10852 | Line 11853 | $as_echo "$lt_cv_dlopen_self" >&6; }
11853        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11854        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11855   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11856 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11856 > if ${lt_cv_dlopen_self_static+:} false; then :
11857    $as_echo_n "(cached) " >&6
11858   else
11859            if test "$cross_compiling" = yes; then :
# Line 10861 | Line 11862 | else
11862    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11863    lt_status=$lt_dlunknown
11864    cat > conftest.$ac_ext <<_LT_EOF
11865 < #line 10864 "configure"
11865 > #line $LINENO "configure"
11866   #include "confdefs.h"
11867  
11868   #if HAVE_DLFCN_H
# Line 10902 | Line 11903 | else
11903   #  endif
11904   #endif
11905  
11906 < void fnord() { int i=42;}
11906 > /* When -fvisbility=hidden is used, assume the code has been annotated
11907 >   correspondingly for the symbols needed.  */
11908 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11909 > int fnord () __attribute__((visibility("default")));
11910 > #endif
11911 >
11912 > int fnord () { return 42; }
11913   int main ()
11914   {
11915    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10911 | Line 11918 | int main ()
11918    if (self)
11919      {
11920        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11921 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11921 >      else
11922 >        {
11923 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11924 >          else puts (dlerror ());
11925 >        }
11926        /* dlclose (self); */
11927      }
11928    else
# Line 11080 | Line 12091 | CC="$lt_save_CC"
12091  
12092  
12093  
12094 +
12095 +
12096          ac_config_commands="$ac_config_commands libtool"
12097  
12098  
# Line 11090 | Line 12103 | CC="$lt_save_CC"
12103  
12104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12105   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12106 < if test "${libltdl_cv_shlibext+set}" = set; then :
12106 > if ${libltdl_cv_shlibext+:} false; then :
12107    $as_echo_n "(cached) " >&6
12108   else
12109  
12110   module=yes
12111   eval libltdl_cv_shlibext=$shrext_cmds
12112 + module=no
12113 + eval libltdl_cv_shrext=$shrext_cmds
12114  
12115   fi
12116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11107 | Line 12122 | cat >>confdefs.h <<_ACEOF
12122   _ACEOF
12123  
12124   fi
12125 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12126 +
12127 + cat >>confdefs.h <<_ACEOF
12128 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
12129 + _ACEOF
12130 +
12131 + fi
12132  
12133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12134   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12135 < if test "${lt_cv_module_path_var+set}" = set; then :
12135 > if ${lt_cv_module_path_var+:} false; then :
12136    $as_echo_n "(cached) " >&6
12137   else
12138    lt_cv_module_path_var="$shlibpath_var"
# Line 11127 | Line 12149 | fi
12149  
12150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12151   $as_echo_n "checking for the default library search path... " >&6; }
12152 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12152 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12153    $as_echo_n "(cached) " >&6
12154   else
12155    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11164 | Line 12186 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12186   LIBADD_DLOPEN=
12187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12188   $as_echo_n "checking for library containing dlopen... " >&6; }
12189 < if test "${ac_cv_search_dlopen+set}" = set; then :
12189 > if ${ac_cv_search_dlopen+:} false; then :
12190    $as_echo_n "(cached) " >&6
12191   else
12192    ac_func_search_save_LIBS=$LIBS
# Line 11198 | Line 12220 | for ac_lib in '' dl; do
12220   fi
12221   rm -f core conftest.err conftest.$ac_objext \
12222      conftest$ac_exeext
12223 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12223 >  if ${ac_cv_search_dlopen+:} false; then :
12224    break
12225   fi
12226   done
12227 < if test "${ac_cv_search_dlopen+set}" = set; then :
12227 > if ${ac_cv_search_dlopen+:} false; then :
12228  
12229   else
12230    ac_cv_search_dlopen=no
# Line 11247 | Line 12269 | $as_echo "#define HAVE_LIBDL 1" >>confde
12269   else
12270    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12271   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12272 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12272 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12273    $as_echo_n "(cached) " >&6
12274   else
12275    ac_check_lib_save_LIBS=$LIBS
# Line 11281 | Line 12303 | LIBS=$ac_check_lib_save_LIBS
12303   fi
12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12305   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12306 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12306 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12307  
12308   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12309  
# Line 11301 | Line 12323 | then
12323    for ac_func in dlerror
12324   do :
12325    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12326 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12326 > if test "x$ac_cv_func_dlerror" = xyes; then :
12327    cat >>confdefs.h <<_ACEOF
12328   #define HAVE_DLERROR 1
12329   _ACEOF
# Line 11315 | Line 12337 | fi
12337  
12338   LIBADD_SHL_LOAD=
12339   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12340 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12340 > if test "x$ac_cv_func_shl_load" = xyes; then :
12341  
12342   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12343  
# Line 11323 | Line 12345 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12345   else
12346    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12347   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12348 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12348 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12349    $as_echo_n "(cached) " >&6
12350   else
12351    ac_check_lib_save_LIBS=$LIBS
# Line 11357 | Line 12379 | LIBS=$ac_check_lib_save_LIBS
12379   fi
12380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12381   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12382 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12382 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12383  
12384   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12385  
# Line 11373 | Line 12395 | case $host_os in
12395   darwin[1567].*)
12396   # We only want this for pre-Mac OS X 10.4.
12397    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12398 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12398 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12399  
12400   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12401  
# Line 11387 | Line 12409 | beos*)
12409   cygwin* | mingw* | os2* | pw32*)
12410    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12411   "
12412 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12412 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12413    ac_have_decl=1
12414   else
12415    ac_have_decl=0
# Line 11403 | Line 12425 | esac
12425  
12426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12427   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12428 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12428 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12429    $as_echo_n "(cached) " >&6
12430   else
12431    ac_check_lib_save_LIBS=$LIBS
# Line 11437 | Line 12459 | LIBS=$ac_check_lib_save_LIBS
12459   fi
12460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12461   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12462 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12462 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12463  
12464   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12465  
# Line 11471 | Line 12493 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12493  
12494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12495   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12496 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12496 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12497    $as_echo_n "(cached) " >&6
12498   else
12499    lt_cv_sys_symbol_underscore=no
# Line 11521 | Line 12543 | if test x"$lt_cv_sys_symbol_underscore"
12543       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12544          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12545   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12546 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12546 > if ${libltdl_cv_need_uscore+:} false; then :
12547    $as_echo_n "(cached) " >&6
12548   else
12549    libltdl_cv_need_uscore=unknown
# Line 11533 | Line 12555 | else
12555    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12556    lt_status=$lt_dlunknown
12557    cat > conftest.$ac_ext <<_LT_EOF
12558 < #line 11536 "configure"
12558 > #line $LINENO "configure"
12559   #include "confdefs.h"
12560  
12561   #if HAVE_DLFCN_H
# Line 11574 | Line 12596 | else
12596   #  endif
12597   #endif
12598  
12599 < void fnord() { int i=42;}
12599 > /* When -fvisbility=hidden is used, assume the code has been annotated
12600 >   correspondingly for the symbols needed.  */
12601 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12602 > int fnord () __attribute__((visibility("default")));
12603 > #endif
12604 >
12605 > int fnord () { return 42; }
12606   int main ()
12607   {
12608    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11583 | Line 12611 | int main ()
12611    if (self)
12612      {
12613        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12614 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12614 >      else
12615 >        {
12616 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12617 >          else puts (dlerror ());
12618 >        }
12619        /* dlclose (self); */
12620      }
12621    else
# Line 11627 | Line 12659 | fi
12659  
12660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12661   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12662 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12662 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12663    $as_echo_n "(cached) " >&6
12664   else
12665    # PORTME does your system automatically load deplibs for dlopen?
# Line 11659 | Line 12691 | else
12691    freebsd* | dragonfly*)
12692      lt_cv_sys_dlopen_deplibs=yes
12693      ;;
12694 <  gnu* | linux* | k*bsd*-gnu)
12694 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12695      # GNU and its variants, using gnu ld.so (Glibc)
12696      lt_cv_sys_dlopen_deplibs=yes
12697      ;;
# Line 11733 | Line 12765 | for ac_header in argz.h
12765   do :
12766    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12767   "
12768 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12768 > if test "x$ac_cv_header_argz_h" = xyes; then :
12769    cat >>confdefs.h <<_ACEOF
12770   #define HAVE_ARGZ_H 1
12771   _ACEOF
# Line 11747 | Line 12779 | ac_fn_c_check_type "$LINENO" "error_t" "
12779   #  include <argz.h>
12780   #endif
12781   "
12782 < if test "x$ac_cv_type_error_t" = x""yes; then :
12782 > if test "x$ac_cv_type_error_t" = xyes; then :
12783  
12784   cat >>confdefs.h <<_ACEOF
12785   #define HAVE_ERROR_T 1
# Line 11770 | Line 12802 | for ac_func in argz_add argz_append argz
12802   do :
12803    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12804   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12805 < eval as_val=\$$as_ac_var
11774 <   if test "x$as_val" = x""yes; then :
12805 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12806    cat >>confdefs.h <<_ACEOF
12807   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12808   _ACEOF
# Line 11788 | Line 12819 | done
12819   if test -z "$ARGZ_H"; then :
12820    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12821   $as_echo_n "checking if argz actually works... " >&6; }
12822 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12822 > if ${lt_cv_sys_argz_works+:} false; then :
12823    $as_echo_n "(cached) " >&6
12824   else
12825    case $host_os in #(
# Line 11819 | Line 12850 | else
12850   fi
12851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12852   $as_echo "$lt_cv_sys_argz_works" >&6; }
12853 <     if test $lt_cv_sys_argz_works = yes; then :
12853 >     if test "$lt_cv_sys_argz_works" = yes; then :
12854  
12855   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12856  
# Line 11836 | Line 12867 | fi
12867  
12868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12869   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12870 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12870 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12871    $as_echo_n "(cached) " >&6
12872   else
12873    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11854 | Line 12885 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12885  
12886   fi
12887  
11857 –
11858 –
12888   # Set options
12889  
12890  
# Line 11868 | Line 12897 | fi
12897  
12898  
12899  
11871 –
12900   # Check whether --with-included_ltdl was given.
12901   if test "${with_included_ltdl+set}" = set; then :
12902    withval=$with_included_ltdl;
# Line 11881 | Line 12909 | if test "x$with_included_ltdl" != xyes;
12909    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12910  
12911   "
12912 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12912 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12913    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12914              #include <ltdl.h>
12915   "
12916 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12916 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12917    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12918   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12919 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12919 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12920    $as_echo_n "(cached) " >&6
12921   else
12922    ac_check_lib_save_LIBS=$LIBS
# Line 11922 | Line 12950 | LIBS=$ac_check_lib_save_LIBS
12950   fi
12951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12952   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12953 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12953 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12954    with_included_ltdl=no
12955   else
12956    with_included_ltdl=yes
# Line 11951 | Line 12979 | fi
12979   if test -n "$with_ltdl_include"; then
12980    if test -f "$with_ltdl_include/ltdl.h"; then :
12981    else
12982 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12982 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12983    fi
12984   else
12985    with_ltdl_include=no
# Line 11967 | Line 12995 | fi
12995   if test -n "$with_ltdl_lib"; then
12996    if test -f "$with_ltdl_lib/libltdl.la"; then :
12997    else
12998 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12998 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12999    fi
13000   else
13001    with_ltdl_lib=no
# Line 11976 | Line 13004 | fi
13004   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13005    ,yes,no,no,)
13006          case $enable_ltdl_convenience in
13007 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
13007 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
13008    "") enable_ltdl_convenience=yes
13009        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13010   esac
# Line 12004 | Line 13032 | $as_echo "#define HAVE_LTDL 1" >>confdef
13032          LTDLINCL=
13033          ;;
13034    ,no*,no,*)
13035 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13035 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
13036          ;;
13037    *)    with_included_ltdl=no
13038          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12055 | Line 13083 | fi
13083  
13084  
13085  
12058 –    subdirs="$subdirs libltdl"
12059 –
12060 –
13086  
13087  
13088  
# Line 12074 | Line 13099 | do :
13099    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13100   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13101   "
13102 < eval as_val=\$$as_ac_Header
12078 <   if test "x$as_val" = x""yes; then :
13102 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13103    cat >>confdefs.h <<_ACEOF
13104   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13105   _ACEOF
# Line 12089 | Line 13113 | for ac_func in closedir opendir readdir
13113   do :
13114    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13115   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13116 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
13116 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13117    cat >>confdefs.h <<_ACEOF
13118   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13119   _ACEOF
# Line 12107 | Line 13130 | for ac_func in strlcat strlcpy
13130   do :
13131    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13132   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13133 < eval as_val=\$$as_ac_var
12111 <   if test "x$as_val" = x""yes; then :
13133 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13134    cat >>confdefs.h <<_ACEOF
13135   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13136   _ACEOF
# Line 12128 | Line 13150 | cat >>confdefs.h <<_ACEOF
13150   _ACEOF
13151  
13152  
13153 + name=
13154 + eval "lt_libprefix=\"$libname_spec\""
13155 +
13156 + cat >>confdefs.h <<_ACEOF
13157 + #define LT_LIBPREFIX "$lt_libprefix"
13158 + _ACEOF
13159 +
13160 +
13161   name=ltdl
13162 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13162 > eval "LTDLOPEN=\"$libname_spec\""
13163  
13164  
13165  
# Line 12145 | Line 13175 | LIBTOOL="$LIBTOOL --silent"
13175  
13176   # Checks for libraries.
13177  
13178 +
13179 +  if test "X$CC" != "X"; then
13180 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13181 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13182 + if ${ssp_cv_cc+:} false; then :
13183 +  $as_echo_n "(cached) " >&6
13184 + else
13185 +  ssp_old_cflags="$CFLAGS"
13186 +       CFLAGS="$CFLAGS -fstack-protector"
13187 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13188 + /* end confdefs.h.  */
13189 +
13190 + int
13191 + main ()
13192 + {
13193 +
13194 +  ;
13195 +  return 0;
13196 + }
13197 + _ACEOF
13198 + if ac_fn_c_try_compile "$LINENO"; then :
13199 +  ssp_cv_cc=yes
13200 + else
13201 +  ssp_cv_cc=no
13202 + fi
13203 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13204 +       CFLAGS="$ssp_old_cflags"
13205 +
13206 + fi
13207 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13208 + $as_echo "$ssp_cv_cc" >&6; }
13209 +    if test $ssp_cv_cc = yes; then
13210 +      CFLAGS="$CFLAGS -fstack-protector"
13211 +
13212 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13213 +
13214 +    fi
13215 +  fi
13216 +
13217 +
13218 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
13219 + $as_echo_n "checking whether C compiler accepts ... " >&6; }
13220 + if ${ax_cv_check_cflags__+:} false; then :
13221 +  $as_echo_n "(cached) " >&6
13222 + else
13223 +
13224 +  ax_check_save_flags=$CFLAGS
13225 +  CFLAGS="$CFLAGS  "
13226 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 + /* end confdefs.h.  */
13228 +
13229 + int
13230 + main ()
13231 + {
13232 +
13233 +  ;
13234 +  return 0;
13235 + }
13236 + _ACEOF
13237 + if ac_fn_c_try_compile "$LINENO"; then :
13238 +  ax_cv_check_cflags__=yes
13239 + else
13240 +  ax_cv_check_cflags__=no
13241 + fi
13242 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13243 +  CFLAGS=$ax_check_save_flags
13244 + fi
13245 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
13246 + $as_echo "$ax_cv_check_cflags__" >&6; }
13247 + if test x"$ax_cv_check_cflags__" = xyes; then :
13248 +  :
13249 + else
13250 +  :
13251 + fi
13252 +
13253 + if ${CFLAGS+:} false; then :
13254 +  case " $CFLAGS " in
13255 +    *"  "*)
13256 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
13257 +  (: CFLAGS already contains ) 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 \""; } >&5
13264 +  (: CFLAGS="$CFLAGS ") 2>&5
13265 +  ac_status=$?
13266 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 +  test $ac_status = 0; }
13268 +      CFLAGS="$CFLAGS "
13269 +      ;;
13270 +   esac
13271 + else
13272 +  CFLAGS=""
13273 + fi
13274 +
13275 +
13276 +
13277 + for flag in -fno-strict-aliasing; do
13278 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13279 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13280 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13281 + if eval \${$as_CACHEVAR+:} false; then :
13282 +  $as_echo_n "(cached) " >&6
13283 + else
13284 +
13285 +  ax_check_save_flags=$CFLAGS
13286 +  CFLAGS="$CFLAGS  $flag"
13287 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 + /* end confdefs.h.  */
13289 +
13290 + int
13291 + main ()
13292 + {
13293 +
13294 +  ;
13295 +  return 0;
13296 + }
13297 + _ACEOF
13298 + if ac_fn_c_try_compile "$LINENO"; then :
13299 +  eval "$as_CACHEVAR=yes"
13300 + else
13301 +  eval "$as_CACHEVAR=no"
13302 + fi
13303 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13304 +  CFLAGS=$ax_check_save_flags
13305 + fi
13306 + eval ac_res=\$$as_CACHEVAR
13307 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13308 + $as_echo "$ac_res" >&6; }
13309 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13310 +  if ${CFLAGS+:} false; then :
13311 +  case " $CFLAGS " in
13312 +    *" $flag "*)
13313 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13314 +  (: CFLAGS already contains $flag) 2>&5
13315 +  ac_status=$?
13316 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13317 +  test $ac_status = 0; }
13318 +      ;;
13319 +    *)
13320 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13321 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13322 +  ac_status=$?
13323 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13324 +  test $ac_status = 0; }
13325 +      CFLAGS="$CFLAGS $flag"
13326 +      ;;
13327 +   esac
13328 + else
13329 +  CFLAGS="$flag"
13330 + fi
13331 +
13332 + else
13333 +  :
13334 + fi
13335 +
13336 + done
13337 +
13338 +
13339 +
13340 +  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13341 + if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13342 +
13343 + else
13344 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13345 + $as_echo_n "checking for library containing getaddrinfo... " >&6; }
13346 + if ${ac_cv_search_getaddrinfo+:} false; then :
13347 +  $as_echo_n "(cached) " >&6
13348 + else
13349 +  ac_func_search_save_LIBS=$LIBS
13350 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 + /* end confdefs.h.  */
13352 +
13353 + /* Override any GCC internal prototype to avoid an error.
13354 +   Use char because int might match the return type of a GCC
13355 +   builtin and then its argument prototype would still apply.  */
13356 + #ifdef __cplusplus
13357 + extern "C"
13358 + #endif
13359 + char getaddrinfo ();
13360 + int
13361 + main ()
13362 + {
13363 + return getaddrinfo ();
13364 +  ;
13365 +  return 0;
13366 + }
13367 + _ACEOF
13368 + for ac_lib in '' nsl; do
13369 +  if test -z "$ac_lib"; then
13370 +    ac_res="none required"
13371 +  else
13372 +    ac_res=-l$ac_lib
13373 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13374 +  fi
13375 +  if ac_fn_c_try_link "$LINENO"; then :
13376 +  ac_cv_search_getaddrinfo=$ac_res
13377 + fi
13378 + rm -f core conftest.err conftest.$ac_objext \
13379 +    conftest$ac_exeext
13380 +  if ${ac_cv_search_getaddrinfo+:} false; then :
13381 +  break
13382 + fi
13383 + done
13384 + if ${ac_cv_search_getaddrinfo+:} false; then :
13385 +
13386 + else
13387 +  ac_cv_search_getaddrinfo=no
13388 + fi
13389 + rm conftest.$ac_ext
13390 + LIBS=$ac_func_search_save_LIBS
13391 + fi
13392 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13393 + $as_echo "$ac_cv_search_getaddrinfo" >&6; }
13394 + ac_res=$ac_cv_search_getaddrinfo
13395 + if test "$ac_res" != no; then :
13396 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13397 +
13398 + fi
13399 +
13400 + fi
13401 +
13402 +  ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13403 + if test "x$ac_cv_func_getnameinfo" = xyes; then :
13404 +
13405 + else
13406 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13407 + $as_echo_n "checking for library containing getnameinfo... " >&6; }
13408 + if ${ac_cv_search_getnameinfo+:} false; then :
13409 +  $as_echo_n "(cached) " >&6
13410 + else
13411 +  ac_func_search_save_LIBS=$LIBS
13412 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 + /* end confdefs.h.  */
13414 +
13415 + /* Override any GCC internal prototype to avoid an error.
13416 +   Use char because int might match the return type of a GCC
13417 +   builtin and then its argument prototype would still apply.  */
13418 + #ifdef __cplusplus
13419 + extern "C"
13420 + #endif
13421 + char getnameinfo ();
13422 + int
13423 + main ()
13424 + {
13425 + return getnameinfo ();
13426 +  ;
13427 +  return 0;
13428 + }
13429 + _ACEOF
13430 + for ac_lib in '' nsl; do
13431 +  if test -z "$ac_lib"; then
13432 +    ac_res="none required"
13433 +  else
13434 +    ac_res=-l$ac_lib
13435 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13436 +  fi
13437 +  if ac_fn_c_try_link "$LINENO"; then :
13438 +  ac_cv_search_getnameinfo=$ac_res
13439 + fi
13440 + rm -f core conftest.err conftest.$ac_objext \
13441 +    conftest$ac_exeext
13442 +  if ${ac_cv_search_getnameinfo+:} false; then :
13443 +  break
13444 + fi
13445 + done
13446 + if ${ac_cv_search_getnameinfo+:} false; then :
13447 +
13448 + else
13449 +  ac_cv_search_getnameinfo=no
13450 + fi
13451 + rm conftest.$ac_ext
13452 + LIBS=$ac_func_search_save_LIBS
13453 + fi
13454 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13455 + $as_echo "$ac_cv_search_getnameinfo" >&6; }
13456 + ac_res=$ac_cv_search_getnameinfo
13457 + if test "$ac_res" != no; then :
13458 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13459 +
13460 + fi
13461 +
13462 + fi
13463 +
13464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13465   $as_echo_n "checking for library containing socket... " >&6; }
13466 < if test "${ac_cv_search_socket+set}" = set; then :
13466 > if ${ac_cv_search_socket+:} false; then :
13467    $as_echo_n "(cached) " >&6
13468   else
13469    ac_func_search_save_LIBS=$LIBS
# Line 12181 | Line 13497 | for ac_lib in '' socket; do
13497   fi
13498   rm -f core conftest.err conftest.$ac_objext \
13499      conftest$ac_exeext
13500 <  if test "${ac_cv_search_socket+set}" = set; then :
13500 >  if ${ac_cv_search_socket+:} false; then :
13501    break
13502   fi
13503   done
13504 < if test "${ac_cv_search_socket+set}" = set; then :
13504 > if ${ac_cv_search_socket+:} false; then :
13505  
13506   else
13507    ac_cv_search_socket=no
# Line 12200 | Line 13516 | if test "$ac_res" != no; then :
13516    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13517  
13518   else
13519 <  as_fn_error "socket library not found" "$LINENO" 5
12204 < fi
12205 <
12206 <  for ac_func in inet_aton inet_ntop inet_pton
12207 < do :
12208 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12210 < eval as_val=\$$as_ac_var
12211 <   if test "x$as_val" = x""yes; then :
12212 <  cat >>confdefs.h <<_ACEOF
12213 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12214 < _ACEOF
12215 <
13519 >  as_fn_error $? "socket library not found" "$LINENO" 5
13520   fi
12217 – done
13521  
13522    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13523     #include <sys/socket.h>
13524     #include <netdb.h>
13525  
13526   "
13527 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13527 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13528  
13529   cat >>confdefs.h <<_ACEOF
13530   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12234 | Line 13537 | ac_fn_c_check_type "$LINENO" "struct soc
13537     #include <netdb.h>
13538  
13539   "
13540 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13540 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13541  
13542   cat >>confdefs.h <<_ACEOF
13543   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12247 | Line 13550 | ac_fn_c_check_type "$LINENO" "struct add
13550     #include <netdb.h>
13551  
13552   "
13553 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13553 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13554  
13555   cat >>confdefs.h <<_ACEOF
13556   #define HAVE_STRUCT_ADDRINFO 1
# Line 12259 | Line 13562 | fi
13562    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13563    <sys/socket.h>
13564   "
13565 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13565 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13566  
13567   cat >>confdefs.h <<_ACEOF
13568   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12270 | Line 13573 | fi
13573  
13574  
13575  
13576 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13577 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13578 <
12276 < cat >>confdefs.h <<_ACEOF
12277 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12278 < _ACEOF
12279 <
12280 <
12281 < else
13576 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13577 > "
13578 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13579  
13580   $as_echo "#define IPV6 1" >>confdefs.h
13581  
# Line 12289 | Line 13586 | fi
13586   # Checks for typedefs, structures, and compiler characteristics.
13587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13588   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13589 < if test "${ac_cv_c_bigendian+set}" = set; then :
13589 > if ${ac_cv_c_bigendian+:} false; then :
13590    $as_echo_n "(cached) " >&6
13591   else
13592    ac_cv_c_bigendian=unknown
# Line 12507 | Line 13804 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13804  
13805       ;; #(
13806     *)
13807 <     as_fn_error "unknown endianness
13807 >     as_fn_error $? "unknown endianness
13808   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13809   esac
13810  
# Line 12520 | Line 13817 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13817   do :
13818    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13819   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13820 < eval as_val=\$$as_ac_var
12524 <   if test "x$as_val" = x""yes; then :
13820 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13821    cat >>confdefs.h <<_ACEOF
13822   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13823   _ACEOF
# Line 12539 | Line 13835 | done
13835  
13836  
13837  
12542 –
12543 –
13838   # Checks for header files.
13839  
13840  
# Line 12550 | Line 13844 | do :
13844    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13845   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13846   "
13847 < eval as_val=\$$as_ac_Header
12554 <   if test "x$as_val" = x""yes; then :
13847 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13848    cat >>confdefs.h <<_ACEOF
13849   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13850   _ACEOF
# Line 12576 | Line 13869 | done
13869  
13870  
13871  
12579 –
12580 –
12581 –
12582 –
12583 –
12584 –
12585 –
12586 –
12587 –
12588 –
12589 – # check for /dev/null so we can use it to hold evil fd's
12590 – { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12591 – $as_echo_n "checking for /dev/null... " >&6; }
12592 – if test -c /dev/null; then :
12593 –
12594 –
12595 – $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12596 –
12597 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 – $as_echo "yes" >&6; }
12599 – else
12600 –
12601 –
12602 – $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12603 –
12604 –  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12605 – $as_echo "no - using devnull.log" >&6; }
12606 – fi
12607 –
12608 –
13872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13873   $as_echo_n "checking for library containing crypt... " >&6; }
13874 < if test "${ac_cv_search_crypt+set}" = set; then :
13874 > if ${ac_cv_search_crypt+:} false; then :
13875    $as_echo_n "(cached) " >&6
13876   else
13877    ac_func_search_save_LIBS=$LIBS
# Line 12642 | Line 13905 | for ac_lib in '' crypt; do
13905   fi
13906   rm -f core conftest.err conftest.$ac_objext \
13907      conftest$ac_exeext
13908 <  if test "${ac_cv_search_crypt+set}" = set; then :
13908 >  if ${ac_cv_search_crypt+:} false; then :
13909    break
13910   fi
13911   done
13912 < if test "${ac_cv_search_crypt+set}" = set; then :
13912 > if ${ac_cv_search_crypt+:} false; then :
13913  
13914   else
13915    ac_cv_search_crypt=no
# Line 12663 | Line 13926 | if test "$ac_res" != no; then :
13926   fi
13927  
13928  
13929 <
13930 <
13931 < # Check whether --with-zlib-path was given.
13932 < if test "${with_zlib_path+set}" = set; then :
13933 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13934 < fi
13935 <
13936 <
13937 < # Check whether --enable-zlib was given.
12675 < if test "${enable_zlib+set}" = set; then :
12676 <  enableval=$enable_zlib; zlib=$enableval
12677 < else
12678 <  zlib=yes
12679 < fi
12680 <
12681 <
12682 < if test "$zlib" = "yes"; then :
12683 <
12684 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12685 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12686 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12687 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12688 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13929 > # Check whether --enable-libgeoip was given.
13930 > if test "${enable_libgeoip+set}" = set; then :
13931 >  enableval=$enable_libgeoip;
13932 > else
13933 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13934 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13935 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13936 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13937 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13938    $as_echo_n "(cached) " >&6
13939   else
13940 <  ac_check_lib_save_LIBS=$LIBS
12692 < LIBS="-lz  $LIBS"
13940 >  ac_func_search_save_LIBS=$LIBS
13941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942   /* end confdefs.h.  */
13943  
# Line 12699 | Line 13947 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13947   #ifdef __cplusplus
13948   extern "C"
13949   #endif
13950 < char zlibVersion ();
13950 > char GeoIP_id_by_ipnum_v6_gl ();
13951   int
13952   main ()
13953   {
13954 < return zlibVersion ();
13954 > return GeoIP_id_by_ipnum_v6_gl ();
13955    ;
13956    return 0;
13957   }
13958   _ACEOF
13959 < if ac_fn_c_try_link "$LINENO"; then :
13960 <  ac_cv_lib_z_zlibVersion=yes
13961 < else
13962 <  ac_cv_lib_z_zlibVersion=no
13959 > for ac_lib in '' GeoIP; do
13960 >  if test -z "$ac_lib"; then
13961 >    ac_res="none required"
13962 >  else
13963 >    ac_res=-l$ac_lib
13964 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13965 >  fi
13966 >  if ac_fn_c_try_link "$LINENO"; then :
13967 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13968   fi
13969   rm -f core conftest.err conftest.$ac_objext \
13970 <    conftest$ac_exeext conftest.$ac_ext
13971 < LIBS=$ac_check_lib_save_LIBS
13972 < fi
12720 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12721 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12722 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12723 <
12724 <      LIBS="-lz $LIBS"
12725 <
12726 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12727 <
12728 <
12729 < else
12730 <  zlib=no
12731 < fi
12732 <
12733 <
12734 < else
12735 <  zlib=no
12736 < fi
12737 <
12738 <
12739 <
12740 < fi
12741 <
12742 <
12743 < # Check whether --with-libpcre-path was given.
12744 < if test "${with_libpcre_path+set}" = set; then :
12745 <  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12746 < fi
12747 <
12748 <
12749 < # Check whether --enable-libpcre was given.
12750 < if test "${enable_libpcre+set}" = set; then :
12751 <  enableval=$enable_libpcre; libpcre=$enableval
12752 < else
12753 <  libpcre=yes
13970 >    conftest$ac_exeext
13971 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13972 >  break
13973   fi
13974 + done
13975 + if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13976  
12756 –
12757 – if test "$libpcre" = "yes"; then :
12758 –
12759 –  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12760 – if test "x$ac_cv_header_pcre_h" = x""yes; then :
12761 –  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12762 – $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12763 – if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12764 –  $as_echo_n "(cached) " >&6
12765 – else
12766 –  ac_check_lib_save_LIBS=$LIBS
12767 – LIBS="-lpcre  $LIBS"
12768 – cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12769 – /* end confdefs.h.  */
12770 –
12771 – /* Override any GCC internal prototype to avoid an error.
12772 –   Use char because int might match the return type of a GCC
12773 –   builtin and then its argument prototype would still apply.  */
12774 – #ifdef __cplusplus
12775 – extern "C"
12776 – #endif
12777 – char pcre_study ();
12778 – int
12779 – main ()
12780 – {
12781 – return pcre_study ();
12782 –  ;
12783 –  return 0;
12784 – }
12785 – _ACEOF
12786 – if ac_fn_c_try_link "$LINENO"; then :
12787 –  ac_cv_lib_pcre_pcre_study=yes
13977   else
13978 <  ac_cv_lib_pcre_pcre_study=no
13978 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13979   fi
13980 < rm -f core conftest.err conftest.$ac_objext \
13981 <    conftest$ac_exeext conftest.$ac_ext
12793 < LIBS=$ac_check_lib_save_LIBS
13980 > rm conftest.$ac_ext
13981 > LIBS=$ac_func_search_save_LIBS
13982   fi
13983 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13984 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13985 < if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13986 <
13987 <      LIBS="-lpcre $LIBS"
12800 <
12801 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13983 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13984 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13985 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13986 > if test "$ac_res" != no; then :
13987 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13988  
13989 + $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13990  
12804 – else
12805 –  libpcre=no
13991   fi
13992  
12808 –
12809 – else
12810 –  libpcre=no
13993   fi
13994  
13995  
12814 –
12815 – fi
12816 – if test "$libpcre" = yes; then
12817 –  ENABLE_PCRE_TRUE=
12818 –  ENABLE_PCRE_FALSE='#'
12819 – else
12820 –  ENABLE_PCRE_TRUE='#'
12821 –  ENABLE_PCRE_FALSE=
13996   fi
13997  
13998  
# Line 12862 | Line 14036 | if test "$cf_enable_openssl" != "no"; th
14036    fi
14037  
14038        if test ! -z "$cf_openssl_basedir"; then
12865 –    LIBS="-lcrypto -lssl $LIBS"
14039      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14040   $as_echo "$cf_openssl_basedir" >&6; }
14041      cf_enable_openssl="yes"
12869 –
12870 – $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
12871 –
14042    else
14043      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
14044   $as_echo "not found. Please check your path." >&6; }
# Line 12881 | Line 14051 | $as_echo "disabled" >&6; }
14051   fi
14052  
14053   if test "$cf_enable_openssl" != "no"; then :
14054 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14055 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14054 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14055 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14056    if test "$cross_compiling" = yes; then :
14057    cf_openssl_version_ok=no
14058   else
14059    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060   /* end confdefs.h.  */
14061  
14062 +
14063      #include <openssl/opensslv.h>
14064      #include <stdlib.h>
14065   int
14066   main ()
14067   {
14068 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
14068 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14069    ;
14070    return 0;
14071   }
# Line 12915 | Line 14086 | $as_echo "found" >&6; }
14086  
14087      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
14088   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
14089 < if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
14089 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
14090    $as_echo_n "(cached) " >&6
14091   else
14092    ac_check_lib_save_LIBS=$LIBS
# Line 12949 | Line 14120 | LIBS=$ac_check_lib_save_LIBS
14120   fi
14121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
14122   $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
14123 < if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
14123 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
14124    cat >>confdefs.h <<_ACEOF
14125   #define HAVE_LIBCRYPTO 1
14126   _ACEOF
# Line 12959 | Line 14130 | _ACEOF
14130   fi
14131  
14132      if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
14133 <  for ac_func in EVP_bf_cfb           \
14134 <                      EVP_cast5_cfb        \
14135 <                      EVP_idea_cfb         \
14136 <                      EVP_rc5_32_12_16_cfb \
14137 <                      EVP_des_ede3_cfb     \
14138 <                      EVP_des_cfb
14139 < do :
14140 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14141 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14142 < eval as_val=\$$as_ac_var
14143 <   if test "x$as_val" = x""yes; then :
14133 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
14134 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
14135 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
14136 >  $as_echo_n "(cached) " >&6
14137 > else
14138 >  ac_check_lib_save_LIBS=$LIBS
14139 > LIBS="-lssl  $LIBS"
14140 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 > /* end confdefs.h.  */
14142 >
14143 > /* Override any GCC internal prototype to avoid an error.
14144 >   Use char because int might match the return type of a GCC
14145 >   builtin and then its argument prototype would still apply.  */
14146 > #ifdef __cplusplus
14147 > extern "C"
14148 > #endif
14149 > char SSL_connect ();
14150 > int
14151 > main ()
14152 > {
14153 > return SSL_connect ();
14154 >  ;
14155 >  return 0;
14156 > }
14157 > _ACEOF
14158 > if ac_fn_c_try_link "$LINENO"; then :
14159 >  ac_cv_lib_ssl_SSL_connect=yes
14160 > else
14161 >  ac_cv_lib_ssl_SSL_connect=no
14162 > fi
14163 > rm -f core conftest.err conftest.$ac_objext \
14164 >    conftest$ac_exeext conftest.$ac_ext
14165 > LIBS=$ac_check_lib_save_LIBS
14166 > fi
14167 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
14168 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
14169 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
14170    cat >>confdefs.h <<_ACEOF
14171 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14171 > #define HAVE_LIBSSL 1
14172   _ACEOF
14173  
14174 +  LIBS="-lssl $LIBS"
14175 +
14176   fi
12978 – done
14177  
14178   fi
14179  
# Line 12986 | Line 14184 | $as_echo "no - OpenSSL support disabled"
14184   fi
14185   fi
14186  
14187 < if test "$cf_enable_openssl" = yes; then
14187 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
14188    ENABLE_SSL_TRUE=
14189    ENABLE_SSL_FALSE='#'
14190   else
# Line 13011 | Line 14209 | $as_echo "#define NDEBUG 1" >>confdefs.h
14209   fi
14210  
14211  
14212 < # Check whether --enable-small-net was given.
13015 < if test "${enable_small_net+set}" = set; then :
13016 <  enableval=$enable_small_net; small_net=$enableval
13017 < else
13018 <  small_net=no
13019 < fi
13020 <
13021 <
13022 < if test "$small_net" = "yes"; then :
13023 <
14212 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14213  
13025 – $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
14214  
14215 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14216  
13028 – $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
14217  
14218 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14219  
13031 – $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
14220  
14221 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14222  
13034 – $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
14223  
14224 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14225  
13037 – $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
14226  
14227 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14228  
13040 – $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
14229  
14230 + $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14231  
13043 – $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
14232  
14233 + $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14234  
13046 – $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
14235  
14236 + $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14237  
13049 – $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13050 –
13051 –
13052 – $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13053 –
13054 – else
14238  
14239 + $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14240  
14241  
14242 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
14242 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14243  
14244  
14245 < $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
14245 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14246  
14247  
14248 < $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
14248 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14249  
14250  
14251 < $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13068 <
13069 <
13070 < $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13071 <
13072 <
13073 < $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13074 <
13075 <
13076 < $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13077 <
13078 <
13079 < $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13080 <
13081 <
13082 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13083 <
13084 <
13085 < $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13086 <
13087 < fi
14251 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14252  
14253  
14254   # Argument processing.
# Line 13105 | Line 14269 | if test "${enable_devpoll+set}" = set; t
14269    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14270   fi
14271  
13108 –  # Check whether --enable-rtsigio was given.
13109 – if test "${enable_rtsigio+set}" = set; then :
13110 –  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13111 – fi
13112 –
14272    # Check whether --enable-poll was given.
14273   if test "${enable_poll+set}" = set; then :
14274    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 13191 | Line 14350 | _ACEOF
14350    if test "$cross_compiling" = yes; then :
14351    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14352   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14353 < as_fn_error "cannot run test program while cross compiling
14354 < See \`config.log' for more details." "$LINENO" 5; }
14353 > as_fn_error $? "cannot run test program while cross compiling
14354 > See \`config.log' for more details" "$LINENO" 5; }
14355   else
14356    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357   /* end confdefs.h.  */
# Line 13225 | Line 14384 | else
14384   #endif
14385   _syscall1(int, epoll_create, int, size)
14386   #endif
13228 – main() { return epoll_create(256) == -1 ? 1 : 0; }
14387  
14388 + int
14389 + main ()
14390 + {
14391 + return epoll_create(256) == -1 ? 1 : 0
14392 +  ;
14393 +  return 0;
14394 + }
14395   _ACEOF
14396   if ac_fn_c_try_run "$LINENO"; then :
14397    is_epoll_mechanism_available="yes"
# Line 13287 | Line 14452 | rm -f core conftest.err conftest.$ac_obj
14452   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14453  
14454    fi
14455 <      iopoll_mechanism_rtsigio=4
13291 <
13292 < cat >>confdefs.h <<_ACEOF
13293 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
13294 < _ACEOF
13295 <
13296 <  if test "$cross_compiling" = yes; then :
13297 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13298 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13299 < as_fn_error "cannot run test program while cross compiling
13300 < See \`config.log' for more details." "$LINENO" 5; }
13301 < else
13302 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 < /* end confdefs.h.  */
13304 <
13305 < #include <fcntl.h>
13306 < #ifdef F_SETSIG
13307 < main () { return 0; } /* F_SETSIG defined */
13308 < #else
13309 < main () { return 1; } /* F_SETSIG not defined */
13310 < #endif
13311 <
13312 < int
13313 < main ()
13314 < {
13315 <
13316 <  ;
13317 <  return 0;
13318 < }
13319 < _ACEOF
13320 < if ac_fn_c_try_run "$LINENO"; then :
13321 <  is_rtsigio_mechanism_available="yes"
13322 < else
13323 <  is_rtsigio_mechanism_available="no"
13324 < fi
13325 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13326 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
13327 < fi
13328 <
13329 <      iopoll_mechanism_poll=5
14455 >      iopoll_mechanism_poll=4
14456  
14457   cat >>confdefs.h <<_ACEOF
14458   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 13380 | Line 14506 | else
14506   fi
14507   rm -f core conftest.err conftest.$ac_objext \
14508      conftest$ac_exeext conftest.$ac_ext
14509 <      iopoll_mechanism_select=6
14509 >      iopoll_mechanism_select=5
14510  
14511   cat >>confdefs.h <<_ACEOF
14512   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 13435 | Line 14561 | fi
14561   rm -f core conftest.err conftest.$ac_objext \
14562      conftest$ac_exeext conftest.$ac_ext
14563        optimal_iopoll_mechanism="none"
14564 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14564 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14565      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14566      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14567        optimal_iopoll_mechanism="$mechanism"
# Line 13446 | Line 14572 | rm -f core conftest.err conftest.$ac_obj
14572      if test "$optimal_iopoll_mechanism" = "none" ; then
14573        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14574   $as_echo "none" >&6; }
14575 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14575 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14576      else
14577        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14578        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13461 | Line 14587 | $as_echo "$selected_iopoll_mechanism" >&
14587      else
14588        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14589   $as_echo "none" >&6; }
14590 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14590 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14591      fi
14592    fi
14593        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13472 | Line 14598 | _ACEOF
14598  
14599  
14600  
14601 +  # Check whether --enable-debugging was given.
14602 + if test "${enable_debugging+set}" = set; then :
14603 +  enableval=$enable_debugging; debugging="$enableval"
14604 + else
14605 +  debugging="no"
14606 + fi
14607 +
14608 +  if test "$debugging" = "yes" ; then
14609 +    CFLAGS="-Wall -g -O0"
14610 +  fi
14611 +
14612  
14613 < # Check whether --with-nicklen was given.
14614 < if test "${with_nicklen+set}" = set; then :
14615 <  withval=$with_nicklen; nicklen="$withval"
14613 >  # Check whether --enable-warnings was given.
14614 > if test "${enable_warnings+set}" = set; then :
14615 >  enableval=$enable_warnings; warnings="$enableval"
14616   else
14617 <  nicklen="9"
14617 >  warnings="no"
14618   fi
14619  
14620 +  if test "$warnings" = "yes" ; then
14621  
14622 < cat >>confdefs.h <<_ACEOF
14623 < #define NICKLEN ($nicklen+1)
14622 >
14623 > for flag in -Wall; do
14624 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14625 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14626 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14627 > if eval \${$as_CACHEVAR+:} false; then :
14628 >  $as_echo_n "(cached) " >&6
14629 > else
14630 >
14631 >  ax_check_save_flags=$CFLAGS
14632 >  CFLAGS="$CFLAGS  $flag"
14633 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 > /* end confdefs.h.  */
14635 >
14636 > int
14637 > main ()
14638 > {
14639 >
14640 >  ;
14641 >  return 0;
14642 > }
14643   _ACEOF
14644 + if ac_fn_c_try_compile "$LINENO"; then :
14645 +  eval "$as_CACHEVAR=yes"
14646 + else
14647 +  eval "$as_CACHEVAR=no"
14648 + fi
14649 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 +  CFLAGS=$ax_check_save_flags
14651 + fi
14652 + eval ac_res=\$$as_CACHEVAR
14653 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14654 + $as_echo "$ac_res" >&6; }
14655 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14656 +  if ${CFLAGS+:} false; then :
14657 +  case " $CFLAGS " in
14658 +    *" $flag "*)
14659 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14660 +  (: CFLAGS already contains $flag) 2>&5
14661 +  ac_status=$?
14662 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14663 +  test $ac_status = 0; }
14664 +      ;;
14665 +    *)
14666 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14667 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14668 +  ac_status=$?
14669 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14670 +  test $ac_status = 0; }
14671 +      CFLAGS="$CFLAGS $flag"
14672 +      ;;
14673 +   esac
14674 + else
14675 +  CFLAGS="$flag"
14676 + fi
14677  
14678 + else
14679 +  :
14680 + fi
14681 +
14682 + done
14683  
14684  
14685  
14686 < # Check whether --with-topiclen was given.
14687 < if test "${with_topiclen+set}" = set; then :
14688 <  withval=$with_topiclen; topiclen="$withval"
14686 > for flag in -Wextra; do
14687 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14688 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14689 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14690 > if eval \${$as_CACHEVAR+:} false; then :
14691 >  $as_echo_n "(cached) " >&6
14692   else
14693 <  topiclen="160"
14693 >
14694 >  ax_check_save_flags=$CFLAGS
14695 >  CFLAGS="$CFLAGS  $flag"
14696 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 > /* end confdefs.h.  */
14698 >
14699 > int
14700 > main ()
14701 > {
14702 >
14703 >  ;
14704 >  return 0;
14705 > }
14706 > _ACEOF
14707 > if ac_fn_c_try_compile "$LINENO"; then :
14708 >  eval "$as_CACHEVAR=yes"
14709 > else
14710 >  eval "$as_CACHEVAR=no"
14711 > fi
14712 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14713 >  CFLAGS=$ax_check_save_flags
14714 > fi
14715 > eval ac_res=\$$as_CACHEVAR
14716 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14717 > $as_echo "$ac_res" >&6; }
14718 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14719 >  if ${CFLAGS+:} false; then :
14720 >  case " $CFLAGS " in
14721 >    *" $flag "*)
14722 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14723 >  (: CFLAGS already contains $flag) 2>&5
14724 >  ac_status=$?
14725 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726 >  test $ac_status = 0; }
14727 >      ;;
14728 >    *)
14729 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14730 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14731 >  ac_status=$?
14732 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14733 >  test $ac_status = 0; }
14734 >      CFLAGS="$CFLAGS $flag"
14735 >      ;;
14736 >   esac
14737 > else
14738 >  CFLAGS="$flag"
14739 > fi
14740 >
14741 > else
14742 >  :
14743   fi
14744  
14745 + done
14746 +
14747  
14748 < cat >>confdefs.h <<_ACEOF
14749 < #define TOPICLEN ($topiclen)
14748 >
14749 > for flag in -Wno-unused; do
14750 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14751 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14752 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14753 > if eval \${$as_CACHEVAR+:} false; then :
14754 >  $as_echo_n "(cached) " >&6
14755 > else
14756 >
14757 >  ax_check_save_flags=$CFLAGS
14758 >  CFLAGS="$CFLAGS  $flag"
14759 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 > /* end confdefs.h.  */
14761 >
14762 > int
14763 > main ()
14764 > {
14765 >
14766 >  ;
14767 >  return 0;
14768 > }
14769   _ACEOF
14770 + if ac_fn_c_try_compile "$LINENO"; then :
14771 +  eval "$as_CACHEVAR=yes"
14772 + else
14773 +  eval "$as_CACHEVAR=no"
14774 + fi
14775 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14776 +  CFLAGS=$ax_check_save_flags
14777 + fi
14778 + eval ac_res=\$$as_CACHEVAR
14779 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14780 + $as_echo "$ac_res" >&6; }
14781 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14782 +  if ${CFLAGS+:} false; then :
14783 +  case " $CFLAGS " in
14784 +    *" $flag "*)
14785 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14786 +  (: CFLAGS already contains $flag) 2>&5
14787 +  ac_status=$?
14788 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14789 +  test $ac_status = 0; }
14790 +      ;;
14791 +    *)
14792 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14793 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14794 +  ac_status=$?
14795 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14796 +  test $ac_status = 0; }
14797 +      CFLAGS="$CFLAGS $flag"
14798 +      ;;
14799 +   esac
14800 + else
14801 +  CFLAGS="$flag"
14802 + fi
14803 +
14804 + else
14805 +  :
14806 + fi
14807 +
14808 + done
14809  
14810  
14811  
14812 + for flag in -Wcast-qual; do
14813 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14814 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14815 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14816 + if eval \${$as_CACHEVAR+:} false; then :
14817 +  $as_echo_n "(cached) " >&6
14818 + else
14819 +
14820 +  ax_check_save_flags=$CFLAGS
14821 +  CFLAGS="$CFLAGS  $flag"
14822 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 + /* end confdefs.h.  */
14824 +
14825 + int
14826 + main ()
14827 + {
14828  
14829 < # Check whether --with-syslog-facility was given.
14830 < if test "${with_syslog_facility+set}" = set; then :
14831 <  withval=$with_syslog_facility; syslog_facility="$withval"
14829 >  ;
14830 >  return 0;
14831 > }
14832 > _ACEOF
14833 > if ac_fn_c_try_compile "$LINENO"; then :
14834 >  eval "$as_CACHEVAR=yes"
14835   else
14836 <  syslog_facility="LOG_LOCAL4"
14836 >  eval "$as_CACHEVAR=no"
14837 > fi
14838 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 >  CFLAGS=$ax_check_save_flags
14840 > fi
14841 > eval ac_res=\$$as_CACHEVAR
14842 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14843 > $as_echo "$ac_res" >&6; }
14844 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14845 >  if ${CFLAGS+:} false; then :
14846 >  case " $CFLAGS " in
14847 >    *" $flag "*)
14848 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14849 >  (: CFLAGS already contains $flag) 2>&5
14850 >  ac_status=$?
14851 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14852 >  test $ac_status = 0; }
14853 >      ;;
14854 >    *)
14855 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14856 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14857 >  ac_status=$?
14858 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14859 >  test $ac_status = 0; }
14860 >      CFLAGS="$CFLAGS $flag"
14861 >      ;;
14862 >   esac
14863 > else
14864 >  CFLAGS="$flag"
14865 > fi
14866 >
14867 > else
14868 >  :
14869   fi
14870  
14871 + done
14872  
14873 < cat >>confdefs.h <<_ACEOF
14874 < #define LOG_FACILITY $syslog_facility
14873 >
14874 >
14875 > for flag in -Wcast-align; do
14876 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14877 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14878 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14879 > if eval \${$as_CACHEVAR+:} false; then :
14880 >  $as_echo_n "(cached) " >&6
14881 > else
14882 >
14883 >  ax_check_save_flags=$CFLAGS
14884 >  CFLAGS="$CFLAGS  $flag"
14885 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 > /* end confdefs.h.  */
14887 >
14888 > int
14889 > main ()
14890 > {
14891 >
14892 >  ;
14893 >  return 0;
14894 > }
14895   _ACEOF
14896 + if ac_fn_c_try_compile "$LINENO"; then :
14897 +  eval "$as_CACHEVAR=yes"
14898 + else
14899 +  eval "$as_CACHEVAR=no"
14900 + fi
14901 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14902 +  CFLAGS=$ax_check_save_flags
14903 + fi
14904 + eval ac_res=\$$as_CACHEVAR
14905 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14906 + $as_echo "$ac_res" >&6; }
14907 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14908 +  if ${CFLAGS+:} false; then :
14909 +  case " $CFLAGS " in
14910 +    *" $flag "*)
14911 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14912 +  (: CFLAGS already contains $flag) 2>&5
14913 +  ac_status=$?
14914 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14915 +  test $ac_status = 0; }
14916 +      ;;
14917 +    *)
14918 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14919 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14920 +  ac_status=$?
14921 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14922 +  test $ac_status = 0; }
14923 +      CFLAGS="$CFLAGS $flag"
14924 +      ;;
14925 +   esac
14926 + else
14927 +  CFLAGS="$flag"
14928 + fi
14929 +
14930 + else
14931 +  :
14932 + fi
14933  
14934 + done
14935 +
14936 +
14937 +
14938 + for flag in -Wbad-function-cast; do
14939 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14940 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14941 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14942 + if eval \${$as_CACHEVAR+:} false; then :
14943 +  $as_echo_n "(cached) " >&6
14944 + else
14945 +
14946 +  ax_check_save_flags=$CFLAGS
14947 +  CFLAGS="$CFLAGS  $flag"
14948 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 + /* end confdefs.h.  */
14950  
14951 + int
14952 + main ()
14953 + {
14954  
14955 <  # Check whether --enable-efnet was given.
14956 < if test "${enable_efnet+set}" = set; then :
14957 <  enableval=$enable_efnet; efnet="$enableval"
14955 >  ;
14956 >  return 0;
14957 > }
14958 > _ACEOF
14959 > if ac_fn_c_try_compile "$LINENO"; then :
14960 >  eval "$as_CACHEVAR=yes"
14961   else
14962 <  efnet="no"
14962 >  eval "$as_CACHEVAR=no"
14963 > fi
14964 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14965 >  CFLAGS=$ax_check_save_flags
14966 > fi
14967 > eval ac_res=\$$as_CACHEVAR
14968 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14969 > $as_echo "$ac_res" >&6; }
14970 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14971 >  if ${CFLAGS+:} false; then :
14972 >  case " $CFLAGS " in
14973 >    *" $flag "*)
14974 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14975 >  (: CFLAGS already contains $flag) 2>&5
14976 >  ac_status=$?
14977 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14978 >  test $ac_status = 0; }
14979 >      ;;
14980 >    *)
14981 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14982 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14983 >  ac_status=$?
14984 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 >  test $ac_status = 0; }
14986 >      CFLAGS="$CFLAGS $flag"
14987 >      ;;
14988 >   esac
14989 > else
14990 >  CFLAGS="$flag"
14991   fi
14992  
14993 <  if test "$efnet" = "yes" ; then
14994 <                use_efnet="yes"
14993 > else
14994 >  :
14995 > fi
14996  
14997 < $as_echo "#define EFNET 1" >>confdefs.h
14997 > done
14998  
14999  
13533 – $as_echo "#define TS5_ONLY 1" >>confdefs.h
15000  
15001 <        else
15002 <                use_efnet="no"
15003 <  fi
15004 <   if test "$use_efnet" = "yes"; then
15005 <  EFNET_TRUE=
15006 <  EFNET_FALSE='#'
15001 > for flag in -Wmissing-declarations; do
15002 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15003 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15004 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15005 > if eval \${$as_CACHEVAR+:} false; then :
15006 >  $as_echo_n "(cached) " >&6
15007 > else
15008 >
15009 >  ax_check_save_flags=$CFLAGS
15010 >  CFLAGS="$CFLAGS  $flag"
15011 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 > /* end confdefs.h.  */
15013 >
15014 > int
15015 > main ()
15016 > {
15017 >
15018 >  ;
15019 >  return 0;
15020 > }
15021 > _ACEOF
15022 > if ac_fn_c_try_compile "$LINENO"; then :
15023 >  eval "$as_CACHEVAR=yes"
15024 > else
15025 >  eval "$as_CACHEVAR=no"
15026 > fi
15027 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15028 >  CFLAGS=$ax_check_save_flags
15029 > fi
15030 > eval ac_res=\$$as_CACHEVAR
15031 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15032 > $as_echo "$ac_res" >&6; }
15033 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15034 >  if ${CFLAGS+:} false; then :
15035 >  case " $CFLAGS " in
15036 >    *" $flag "*)
15037 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15038 >  (: CFLAGS already contains $flag) 2>&5
15039 >  ac_status=$?
15040 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15041 >  test $ac_status = 0; }
15042 >      ;;
15043 >    *)
15044 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15045 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15046 >  ac_status=$?
15047 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15048 >  test $ac_status = 0; }
15049 >      CFLAGS="$CFLAGS $flag"
15050 >      ;;
15051 >   esac
15052   else
15053 <  EFNET_TRUE='#'
13543 <  EFNET_FALSE=
15053 >  CFLAGS="$flag"
15054   fi
15055  
15056 + else
15057 +  :
15058 + fi
15059 +
15060 + done
15061 +
15062 +
15063 +
15064 + for flag in -Wmissing-prototypes; do
15065 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15066 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15067 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15068 + if eval \${$as_CACHEVAR+:} false; then :
15069 +  $as_echo_n "(cached) " >&6
15070 + else
15071 +
15072 +  ax_check_save_flags=$CFLAGS
15073 +  CFLAGS="$CFLAGS  $flag"
15074 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 + /* end confdefs.h.  */
15076 +
15077 + int
15078 + main ()
15079 + {
15080  
15081 +  ;
15082 +  return 0;
15083 + }
15084 + _ACEOF
15085 + if ac_fn_c_try_compile "$LINENO"; then :
15086 +  eval "$as_CACHEVAR=yes"
15087 + else
15088 +  eval "$as_CACHEVAR=no"
15089 + fi
15090 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 +  CFLAGS=$ax_check_save_flags
15092 + fi
15093 + eval ac_res=\$$as_CACHEVAR
15094 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15095 + $as_echo "$ac_res" >&6; }
15096 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15097 +  if ${CFLAGS+:} false; then :
15098 +  case " $CFLAGS " in
15099 +    *" $flag "*)
15100 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15101 +  (: CFLAGS already contains $flag) 2>&5
15102 +  ac_status=$?
15103 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15104 +  test $ac_status = 0; }
15105 +      ;;
15106 +    *)
15107 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15108 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15109 +  ac_status=$?
15110 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15111 +  test $ac_status = 0; }
15112 +      CFLAGS="$CFLAGS $flag"
15113 +      ;;
15114 +   esac
15115 + else
15116 +  CFLAGS="$flag"
15117 + fi
15118  
13548 –  # Check whether --enable-halfops was given.
13549 – if test "${enable_halfops+set}" = set; then :
13550 –  enableval=$enable_halfops; halfops="$enableval"
15119   else
15120 <  halfops="no"
15120 >  :
15121   fi
15122  
15123 <  if test "$halfops" = "yes" ; then
15123 > done
15124  
13557 – $as_echo "#define HALFOPS 1" >>confdefs.h
15125  
13559 –  fi
15126  
15127 + for flag in -Wnested-externs; do
15128 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15129 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15130 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15131 + if eval \${$as_CACHEVAR+:} false; then :
15132 +  $as_echo_n "(cached) " >&6
15133 + else
15134  
15135 <  # Check whether --enable-debugging was given.
15136 < if test "${enable_debugging+set}" = set; then :
15137 <  enableval=$enable_debugging; debugging="$enableval"
15135 >  ax_check_save_flags=$CFLAGS
15136 >  CFLAGS="$CFLAGS  $flag"
15137 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 > /* end confdefs.h.  */
15139 >
15140 > int
15141 > main ()
15142 > {
15143 >
15144 >  ;
15145 >  return 0;
15146 > }
15147 > _ACEOF
15148 > if ac_fn_c_try_compile "$LINENO"; then :
15149 >  eval "$as_CACHEVAR=yes"
15150   else
15151 <  debugging="no"
15151 >  eval "$as_CACHEVAR=no"
15152 > fi
15153 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15154 >  CFLAGS=$ax_check_save_flags
15155 > fi
15156 > eval ac_res=\$$as_CACHEVAR
15157 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15158 > $as_echo "$ac_res" >&6; }
15159 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15160 >  if ${CFLAGS+:} false; then :
15161 >  case " $CFLAGS " in
15162 >    *" $flag "*)
15163 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15164 >  (: CFLAGS already contains $flag) 2>&5
15165 >  ac_status=$?
15166 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15167 >  test $ac_status = 0; }
15168 >      ;;
15169 >    *)
15170 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15171 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15172 >  ac_status=$?
15173 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174 >  test $ac_status = 0; }
15175 >      CFLAGS="$CFLAGS $flag"
15176 >      ;;
15177 >   esac
15178 > else
15179 >  CFLAGS="$flag"
15180   fi
15181  
15182 <  if test "$debugging" = "yes" ; then
15182 > else
15183 >  :
15184 > fi
15185  
15186 < $as_echo "#define DEBUG 1" >>confdefs.h
15186 > done
15187  
13573 –    CFLAGS="-Wall -g -O0"
13574 –  else
15188  
13576 – $as_echo "#define NDEBUG 1" >>confdefs.h
15189  
15190 <  fi
15190 > for flag in -Wredundant-decls; do
15191 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15192 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15193 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15194 > if eval \${$as_CACHEVAR+:} false; then :
15195 >  $as_echo_n "(cached) " >&6
15196 > else
15197  
15198 +  ax_check_save_flags=$CFLAGS
15199 +  CFLAGS="$CFLAGS  $flag"
15200 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 + /* end confdefs.h.  */
15202  
15203 <  # Check whether --enable-warnings was given.
15204 < if test "${enable_warnings+set}" = set; then :
15205 <  enableval=$enable_warnings; warnings="$enableval"
15203 > int
15204 > main ()
15205 > {
15206 >
15207 >  ;
15208 >  return 0;
15209 > }
15210 > _ACEOF
15211 > if ac_fn_c_try_compile "$LINENO"; then :
15212 >  eval "$as_CACHEVAR=yes"
15213   else
15214 <  warnings="no"
15214 >  eval "$as_CACHEVAR=no"
15215 > fi
15216 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15217 >  CFLAGS=$ax_check_save_flags
15218 > fi
15219 > eval ac_res=\$$as_CACHEVAR
15220 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15221 > $as_echo "$ac_res" >&6; }
15222 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15223 >  if ${CFLAGS+:} false; then :
15224 >  case " $CFLAGS " in
15225 >    *" $flag "*)
15226 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15227 >  (: CFLAGS already contains $flag) 2>&5
15228 >  ac_status=$?
15229 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15230 >  test $ac_status = 0; }
15231 >      ;;
15232 >    *)
15233 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15234 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15235 >  ac_status=$?
15236 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15237 >  test $ac_status = 0; }
15238 >      CFLAGS="$CFLAGS $flag"
15239 >      ;;
15240 >   esac
15241 > else
15242 >  CFLAGS="$flag"
15243   fi
15244  
15245 <  if test "$warnings" = "yes" ; then
15246 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
15247 <  fi
15245 > else
15246 >  :
15247 > fi
15248  
15249 + done
15250  
15251 <  for ac_header in syslog.h sys/syslog.h
15252 < do :
15253 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15254 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15255 < eval as_val=\$$as_ac_Header
15256 <   if test "x$as_val" = x""yes; then :
15257 <  cat >>confdefs.h <<_ACEOF
15258 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15251 >
15252 >
15253 > for flag in -Wshadow; do
15254 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15255 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15256 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15257 > if eval \${$as_CACHEVAR+:} false; then :
15258 >  $as_echo_n "(cached) " >&6
15259 > else
15260 >
15261 >  ax_check_save_flags=$CFLAGS
15262 >  CFLAGS="$CFLAGS  $flag"
15263 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 > /* end confdefs.h.  */
15265 >
15266 > int
15267 > main ()
15268 > {
15269 >
15270 >  ;
15271 >  return 0;
15272 > }
15273   _ACEOF
15274 + if ac_fn_c_try_compile "$LINENO"; then :
15275 +  eval "$as_CACHEVAR=yes"
15276 + else
15277 +  eval "$as_CACHEVAR=no"
15278 + fi
15279 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15280 +  CFLAGS=$ax_check_save_flags
15281 + fi
15282 + eval ac_res=\$$as_CACHEVAR
15283 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15284 + $as_echo "$ac_res" >&6; }
15285 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15286 +  if ${CFLAGS+:} false; then :
15287 +  case " $CFLAGS " in
15288 +    *" $flag "*)
15289 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15290 +  (: CFLAGS already contains $flag) 2>&5
15291 +  ac_status=$?
15292 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15293 +  test $ac_status = 0; }
15294 +      ;;
15295 +    *)
15296 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15297 +  (: CFLAGS="$CFLAGS $flag") 2>&5
15298 +  ac_status=$?
15299 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15300 +  test $ac_status = 0; }
15301 +      CFLAGS="$CFLAGS $flag"
15302 +      ;;
15303 +   esac
15304 + else
15305 +  CFLAGS="$flag"
15306 + fi
15307  
15308 + else
15309 +  :
15310   fi
15311  
15312   done
15313  
15314 <  # Check whether --enable-syslog was given.
15315 < if test "${enable_syslog+set}" = set; then :
15316 <  enableval=$enable_syslog; syslog="$enableval"
15317 < else
15318 <  syslog="no"
15314 >
15315 >
15316 > for flag in -Wwrite-strings; do
15317 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15318 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15319 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15320 > if eval \${$as_CACHEVAR+:} false; then :
15321 >  $as_echo_n "(cached) " >&6
15322 > else
15323 >
15324 >  ax_check_save_flags=$CFLAGS
15325 >  CFLAGS="$CFLAGS  $flag"
15326 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 > /* end confdefs.h.  */
15328 >
15329 > int
15330 > main ()
15331 > {
15332 >
15333 >  ;
15334 >  return 0;
15335 > }
15336 > _ACEOF
15337 > if ac_fn_c_try_compile "$LINENO"; then :
15338 >  eval "$as_CACHEVAR=yes"
15339 > else
15340 >  eval "$as_CACHEVAR=no"
15341 > fi
15342 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15343 >  CFLAGS=$ax_check_save_flags
15344 > fi
15345 > eval ac_res=\$$as_CACHEVAR
15346 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15347 > $as_echo "$ac_res" >&6; }
15348 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15349 >  if ${CFLAGS+:} false; then :
15350 >  case " $CFLAGS " in
15351 >    *" $flag "*)
15352 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15353 >  (: CFLAGS already contains $flag) 2>&5
15354 >  ac_status=$?
15355 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15356 >  test $ac_status = 0; }
15357 >      ;;
15358 >    *)
15359 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15360 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15361 >  ac_status=$?
15362 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15363 >  test $ac_status = 0; }
15364 >      CFLAGS="$CFLAGS $flag"
15365 >      ;;
15366 >   esac
15367 > else
15368 >  CFLAGS="$flag"
15369 > fi
15370 >
15371 > else
15372 >  :
15373   fi
15374  
15375 <  if test "$enableval" != "no" ; then
15376 <    for option in $enableval ; do
13616 <      case "$option" in
13617 <        users)
13618 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13619 < ;;
13620 <        oper)
13621 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13622 < ;;
13623 <        yes) : ;;
13624 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13625 <      esac
13626 <    done
15375 > done
15376 >
15377  
15378 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
15378 >
15379 > for flag in -Wundef; do
15380 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15381 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15382 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15383 > if eval \${$as_CACHEVAR+:} false; then :
15384 >  $as_echo_n "(cached) " >&6
15385 > else
15386 >
15387 >  ax_check_save_flags=$CFLAGS
15388 >  CFLAGS="$CFLAGS  $flag"
15389 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 > /* end confdefs.h.  */
15391 >
15392 > int
15393 > main ()
15394 > {
15395 >
15396 >  ;
15397 >  return 0;
15398 > }
15399 > _ACEOF
15400 > if ac_fn_c_try_compile "$LINENO"; then :
15401 >  eval "$as_CACHEVAR=yes"
15402 > else
15403 >  eval "$as_CACHEVAR=no"
15404 > fi
15405 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15406 >  CFLAGS=$ax_check_save_flags
15407 > fi
15408 > eval ac_res=\$$as_CACHEVAR
15409 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15410 > $as_echo "$ac_res" >&6; }
15411 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15412 >  if ${CFLAGS+:} false; then :
15413 >  case " $CFLAGS " in
15414 >    *" $flag "*)
15415 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15416 >  (: CFLAGS already contains $flag) 2>&5
15417 >  ac_status=$?
15418 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419 >  test $ac_status = 0; }
15420 >      ;;
15421 >    *)
15422 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15423 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15424 >  ac_status=$?
15425 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 >  test $ac_status = 0; }
15427 >      CFLAGS="$CFLAGS $flag"
15428 >      ;;
15429 >   esac
15430 > else
15431 >  CFLAGS="$flag"
15432 > fi
15433 >
15434 > else
15435 >  :
15436 > fi
15437 >
15438 > done
15439  
15440    fi
15441  
# Line 13716 | Line 15526 | _ACEOF
15526    test "$exec_prefix_NONE" && exec_prefix=NONE
15527  
15528  
15529 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15529 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15530  
15531  
15532   cat >confcache <<\_ACEOF
# Line 13783 | Line 15593 | $as_echo "$as_me: WARNING: cache variabl
15593       :end' >>confcache
15594   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15595    if test -w "$cache_file"; then
15596 <    test "x$cache_file" != "x/dev/null" &&
15596 >    if test "x$cache_file" != "x/dev/null"; then
15597        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15598   $as_echo "$as_me: updating cache $cache_file" >&6;}
15599 <    cat confcache >$cache_file
15599 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
15600 >        cat confcache >"$cache_file"
15601 >      else
15602 >        case $cache_file in #(
15603 >        */* | ?:*)
15604 >          mv -f confcache "$cache_file"$$ &&
15605 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
15606 >        *)
15607 >          mv -f confcache "$cache_file" ;;
15608 >        esac
15609 >      fi
15610 >    fi
15611    else
15612      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15613   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13802 | Line 15623 | DEFS=-DHAVE_CONFIG_H
15623  
15624   ac_libobjs=
15625   ac_ltlibobjs=
15626 + U=
15627   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15628    # 1. Remove the extension, and $U if already installed.
15629    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13816 | Line 15638 | LIBOBJS=$ac_libobjs
15638   LTLIBOBJS=$ac_ltlibobjs
15639  
15640  
15641 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15642 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
15643 +   if test -n "$am_sleep_pid"; then
15644 +     # Hide warnings about reused PIDs.
15645 +     wait $am_sleep_pid 2>/dev/null
15646 +   fi
15647 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15648 + $as_echo "done" >&6; }
15649   if test -n "$EXEEXT"; then
15650    am__EXEEXT_TRUE=
15651    am__EXEEXT_FALSE='#'
# Line 13825 | Line 15655 | else
15655   fi
15656  
15657   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15658 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15658 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15659   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15660   fi
15661   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15662 <  as_fn_error "conditional \"AMDEP\" was never defined.
15662 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
15663   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15664   fi
15665   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15666 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15666 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15667   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15668   fi
15669   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15670 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
15670 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
15671   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15672   fi
15673   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15674 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
15674 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
15675   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15676   fi
15677   LT_CONFIG_H=config.h
# Line 13862 | Line 15692 | LT_CONFIG_H=config.h
15692  
15693  
15694  
13865 – if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13866 –  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13867 – Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868 – fi
15695   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
15696 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13871 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872 < fi
13873 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13874 <  as_fn_error "conditional \"EFNET\" was never defined.
15696 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
15697   Usually this means the macro was only invoked conditionally." "$LINENO" 5
15698   fi
15699  
15700 < : ${CONFIG_STATUS=./config.status}
15700 > : "${CONFIG_STATUS=./config.status}"
15701   ac_write_fail=0
15702   ac_clean_files_save=$ac_clean_files
15703   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13976 | Line 15798 | fi
15798   IFS=" ""        $as_nl"
15799  
15800   # Find who we are.  Look in the path if we contain no directory separator.
15801 + as_myself=
15802   case $0 in #((
15803    *[\\/]* ) as_myself=$0 ;;
15804    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14021 | Line 15844 | export LANGUAGE
15844   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15845  
15846  
15847 < # as_fn_error ERROR [LINENO LOG_FD]
15848 < # ---------------------------------
15847 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
15848 > # ----------------------------------------
15849   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15850   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15851 < # script with status $?, using 1 if that was 0.
15851 > # script with STATUS, using 1 if that was 0.
15852   as_fn_error ()
15853   {
15854 <  as_status=$?; test $as_status -eq 0 && as_status=1
15855 <  if test "$3"; then
15856 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15857 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15854 >  as_status=$1; test $as_status -eq 0 && as_status=1
15855 >  if test "$4"; then
15856 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15857 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15858    fi
15859 <  $as_echo "$as_me: error: $1" >&2
15859 >  $as_echo "$as_me: error: $2" >&2
15860    as_fn_exit $as_status
15861   } # as_fn_error
15862  
# Line 14171 | Line 15994 | if (echo >conf$$.file) 2>/dev/null; then
15994      # ... but there are two gotchas:
15995      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15996      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15997 <    # In both cases, we have to default to `cp -p'.
15997 >    # In both cases, we have to default to `cp -pR'.
15998      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15999 <      as_ln_s='cp -p'
15999 >      as_ln_s='cp -pR'
16000    elif ln conf$$.file conf$$ 2>/dev/null; then
16001      as_ln_s=ln
16002    else
16003 <    as_ln_s='cp -p'
16003 >    as_ln_s='cp -pR'
16004    fi
16005   else
16006 <  as_ln_s='cp -p'
16006 >  as_ln_s='cp -pR'
16007   fi
16008   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16009   rmdir conf$$.dir 2>/dev/null
# Line 14229 | Line 16052 | $as_echo X"$as_dir" |
16052        test -d "$as_dir" && break
16053      done
16054      test -z "$as_dirs" || eval "mkdir $as_dirs"
16055 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16055 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16056  
16057  
16058   } # as_fn_mkdir_p
# Line 14240 | Line 16063 | else
16063    as_mkdir_p=false
16064   fi
16065  
16066 < if test -x / >/dev/null 2>&1; then
16067 <  as_test_x='test -x'
16068 < else
16069 <  if ls -dL / >/dev/null 2>&1; then
16070 <    as_ls_L_option=L
16071 <  else
16072 <    as_ls_L_option=
16073 <  fi
16074 <  as_test_x='
16075 <    eval sh -c '\''
14253 <      if test -d "$1"; then
14254 <        test -d "$1/.";
14255 <      else
14256 <        case $1 in #(
14257 <        -*)set "./$1";;
14258 <        esac;
14259 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14260 <        ???[sx]*):;;*)false;;esac;fi
14261 <    '\'' sh
14262 <  '
14263 < fi
14264 < as_executable_p=$as_test_x
16066 >
16067 > # as_fn_executable_p FILE
16068 > # -----------------------
16069 > # Test if FILE is an executable regular file.
16070 > as_fn_executable_p ()
16071 > {
16072 >  test -f "$1" && test -x "$1"
16073 > } # as_fn_executable_p
16074 > as_test_x='test -x'
16075 > as_executable_p=as_fn_executable_p
16076  
16077   # Sed expression to map a string onto a valid CPP name.
16078   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14282 | Line 16093 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
16093   # report actual input values of CONFIG_FILES etc. instead of their
16094   # values after options handling.
16095   ac_log="
16096 < This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
16097 < generated by GNU Autoconf 2.65.  Invocation command line was
16096 > This file was extended by ircd-hybrid $as_me TRUNK, which was
16097 > generated by GNU Autoconf 2.69.  Invocation command line was
16098  
16099    CONFIG_FILES    = $CONFIG_FILES
16100    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14348 | Line 16159 | _ACEOF
16159   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16160   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16161   ac_cs_version="\\
16162 < ircd-hybrid config.status 7.3-rc1
16163 < configured by $0, generated by GNU Autoconf 2.65,
16162 > ircd-hybrid config.status TRUNK
16163 > configured by $0, generated by GNU Autoconf 2.69,
16164    with options \\"\$ac_cs_config\\"
16165  
16166 < Copyright (C) 2009 Free Software Foundation, Inc.
16166 > Copyright (C) 2012 Free Software Foundation, Inc.
16167   This config.status script is free software; the Free Software Foundation
16168   gives unlimited permission to copy, distribute and modify it."
16169  
# Line 14370 | Line 16181 | ac_need_defaults=:
16181   while test $# != 0
16182   do
16183    case $1 in
16184 <  --*=*)
16184 >  --*=?*)
16185      ac_option=`expr "X$1" : 'X\([^=]*\)='`
16186      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16187      ac_shift=:
16188      ;;
16189 +  --*=)
16190 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16191 +    ac_optarg=
16192 +    ac_shift=:
16193 +    ;;
16194    *)
16195      ac_option=$1
16196      ac_optarg=$2
# Line 14396 | Line 16212 | do
16212      $ac_shift
16213      case $ac_optarg in
16214      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16215 +    '') as_fn_error $? "missing file argument" ;;
16216      esac
16217      as_fn_append CONFIG_FILES " '$ac_optarg'"
16218      ac_need_defaults=false;;
# Line 14408 | Line 16225 | do
16225      ac_need_defaults=false;;
16226    --he | --h)
16227      # Conflict between --help and --header
16228 <    as_fn_error "ambiguous option: \`$1'
16228 >    as_fn_error $? "ambiguous option: \`$1'
16229   Try \`$0 --help' for more information.";;
16230    --help | --hel | -h )
16231      $as_echo "$ac_cs_usage"; exit ;;
# Line 14417 | Line 16234 | Try \`$0 --help' for more information.";
16234      ac_cs_silent=: ;;
16235  
16236    # This is an error.
16237 <  -*) as_fn_error "unrecognized option: \`$1'
16237 >  -*) as_fn_error $? "unrecognized option: \`$1'
16238   Try \`$0 --help' for more information." ;;
16239  
16240    *) as_fn_append ac_config_targets " $1"
# Line 14437 | Line 16254 | fi
16254   _ACEOF
16255   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16256   if \$ac_cs_recheck; then
16257 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16257 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16258    shift
16259    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16260    CONFIG_SHELL='$SHELL'
# Line 14471 | Line 16288 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
16288   sed_quote_subst='$sed_quote_subst'
16289   double_quote_subst='$double_quote_subst'
16290   delay_variable_subst='$delay_variable_subst'
16291 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16292 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16293 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16294 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16295 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16296 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16297 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16298 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16299 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16300 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16301 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16302 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16303 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16304 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16305 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16306 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16307 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16308 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16309 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16310 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16311 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16312 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16313 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16314 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16315 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16316 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16317 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16318 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16319 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16320 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16321 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16322 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16323 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16324 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16325 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16326 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16327 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16328 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16329 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16330 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16331 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16332 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16333 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16334 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16335 < 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"`'
16336 < 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"`'
16337 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16338 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16339 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16340 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16341 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16342 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16343 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16344 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16345 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16346 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16347 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16348 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16349 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16350 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16351 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16352 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16353 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16354 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16355 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16356 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16357 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16358 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16359 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16360 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16361 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16362 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16363 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16364 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16365 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16366 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16367 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16368 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16369 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16370 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16371 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16372 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16373 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16374 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16375 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16376 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16377 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16378 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16379 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16380 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16381 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16382 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16383 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16384 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16385 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16386 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16387 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16388 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16389 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16390 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16391 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16392 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16393 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16394 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16395 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16396 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16397 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16398 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16399 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16400 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16401 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16402 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16403 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16404 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16405 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16406 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16407 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16408 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16291 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16292 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16293 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16294 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16295 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16296 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16297 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16298 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16299 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16300 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16301 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16302 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16303 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16304 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16305 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16306 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16307 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16308 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16309 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16310 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16311 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16312 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16313 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16314 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16315 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16316 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16317 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16318 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16319 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16320 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16321 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16322 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16323 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16324 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16325 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16326 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16327 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16328 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16329 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16330 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16331 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16332 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16333 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16334 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16335 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16336 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16337 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16338 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16339 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16340 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16341 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16342 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16343 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16344 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16345 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16346 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16347 > 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"`'
16348 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16349 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16350 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16351 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16352 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16353 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16354 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16355 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16356 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16357 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16358 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16359 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16360 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16361 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16362 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16363 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16364 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16365 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16366 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16367 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16368 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16369 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16370 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16371 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16372 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16373 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16374 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16375 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16376 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16377 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16378 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16379 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16380 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16381 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16382 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16383 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16384 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16385 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16386 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16387 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16388 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16389 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16390 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16391 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16392 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16393 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16394 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16395 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16396 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16397 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16398 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16399 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16400 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16401 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16402 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16403 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16404 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16405 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16406 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16407 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16408 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16409 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16410 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16411 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16412 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16413 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16414 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16415 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16416 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16417 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16418 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16419 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16420 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16421  
16422   LTCC='$LTCC'
16423   LTCFLAGS='$LTCFLAGS'
16424   compiler='$compiler_DEFAULT'
16425  
16426 + # A function that is used when there is no print builtin or printf.
16427 + func_fallback_echo ()
16428 + {
16429 +  eval 'cat <<_LTECHO_EOF
16430 + \$1
16431 + _LTECHO_EOF'
16432 + }
16433 +
16434   # Quote evaled strings.
16435 < for var in SED \
16435 > for var in SHELL \
16436 > ECHO \
16437 > PATH_SEPARATOR \
16438 > SED \
16439   GREP \
16440   EGREP \
16441   FGREP \
# Line 14608 | Line 16448 | reload_flag \
16448   OBJDUMP \
16449   deplibs_check_method \
16450   file_magic_cmd \
16451 + file_magic_glob \
16452 + want_nocaseglob \
16453 + DLLTOOL \
16454 + sharedlib_from_linklib_cmd \
16455   AR \
16456   AR_FLAGS \
16457 + archiver_list_spec \
16458   STRIP \
16459   RANLIB \
16460   CC \
# Line 14619 | Line 16464 | lt_cv_sys_global_symbol_pipe \
16464   lt_cv_sys_global_symbol_to_cdecl \
16465   lt_cv_sys_global_symbol_to_c_name_address \
16466   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16467 < SHELL \
14623 < ECHO \
16467 > nm_file_list_spec \
16468   lt_prog_compiler_no_builtin_flag \
14625 – lt_prog_compiler_wl \
16469   lt_prog_compiler_pic \
16470 + lt_prog_compiler_wl \
16471   lt_prog_compiler_static \
16472   lt_cv_prog_compiler_c_o \
16473   need_locks \
16474 + MANIFEST_TOOL \
16475   DSYMUTIL \
16476   NMEDIT \
16477   LIPO \
# Line 14640 | Line 16485 | with_gnu_ld \
16485   allow_undefined_flag \
16486   no_undefined_flag \
16487   hardcode_libdir_flag_spec \
14643 – hardcode_libdir_flag_spec_ld \
16488   hardcode_libdir_separator \
14645 – fix_srcfile_path \
16489   exclude_expsyms \
16490   include_expsyms \
16491   file_list_spec \
# Line 14650 | Line 16493 | variables_saved_for_relink \
16493   libname_spec \
16494   library_names_spec \
16495   soname_spec \
16496 + install_override_mode \
16497   finish_eval \
16498   old_striplib \
16499   striplib; do
16500 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16500 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16501      *[\\\\\\\`\\"\\\$]*)
16502 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16502 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16503        ;;
16504      *)
16505        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14677 | Line 16521 | module_cmds \
16521   module_expsym_cmds \
16522   export_symbols_cmds \
16523   prelink_cmds \
16524 + postlink_cmds \
16525   postinstall_cmds \
16526   postuninstall_cmds \
16527   finish_cmds \
16528   sys_lib_search_path_spec \
16529   sys_lib_dlsearch_path_spec; do
16530 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16530 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16531      *[\\\\\\\`\\"\\\$]*)
16532 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16532 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16533        ;;
16534      *)
16535        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14692 | Line 16537 | sys_lib_dlsearch_path_spec; do
16537      esac
16538   done
16539  
14695 – # Fix-up fallback echo if it was mangled by the above quoting rules.
14696 – case \$lt_ECHO in
14697 – *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14698 –  ;;
14699 – esac
14700 –
16540   ac_aux_dir='$ac_aux_dir'
16541   xsi_shell='$xsi_shell'
16542   lt_shell_append='$lt_shell_append'
# Line 14730 | Line 16569 | do
16569      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16570      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16571      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14733 –    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14734 –    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14735 –    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14736 –    "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
16572      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16573 <    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16573 >    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
16574      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16575      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16576      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16577      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14743 –    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14744 –    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16578      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16579  
16580 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16580 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16581    esac
16582   done
16583  
# Line 14767 | Line 16600 | fi
16600   # after its creation but before its name has been assigned to `$tmp'.
16601   $debug ||
16602   {
16603 <  tmp=
16603 >  tmp= ac_tmp=
16604    trap 'exit_status=$?
16605 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16605 >  : "${ac_tmp:=$tmp}"
16606 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16607   ' 0
16608    trap 'as_fn_exit 1' 1 2 13 15
16609   }
# Line 14777 | Line 16611 | $debug ||
16611  
16612   {
16613    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16614 <  test -n "$tmp" && test -d "$tmp"
16614 >  test -d "$tmp"
16615   }  ||
16616   {
16617    tmp=./conf$$-$RANDOM
16618    (umask 077 && mkdir "$tmp")
16619 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16619 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16620 > ac_tmp=$tmp
16621  
16622   # Set up the scripts for CONFIG_FILES section.
16623   # No need to generate them if there are no CONFIG_FILES.
# Line 14799 | Line 16634 | if test "x$ac_cr" = x; then
16634   fi
16635   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16636   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16637 <  ac_cs_awk_cr='\r'
16637 >  ac_cs_awk_cr='\\r'
16638   else
16639    ac_cs_awk_cr=$ac_cr
16640   fi
16641  
16642 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
16642 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16643   _ACEOF
16644  
16645  
# Line 14813 | Line 16648 | _ACEOF
16648    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16649    echo "_ACEOF"
16650   } >conf$$subs.sh ||
16651 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16652 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16651 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16652 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16653   ac_delim='%!_!# '
16654   for ac_last_try in false false false false false :; do
16655    . ./conf$$subs.sh ||
16656 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16656 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16657  
16658    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16659    if test $ac_delim_n = $ac_delim_num; then
16660      break
16661    elif $ac_last_try; then
16662 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16662 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16663    else
16664      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16665    fi
# Line 14832 | Line 16667 | done
16667   rm -f conf$$subs.sh
16668  
16669   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16670 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16670 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16671   _ACEOF
16672   sed -n '
16673   h
# Line 14880 | Line 16715 | t delim
16715   rm -f conf$$subs.awk
16716   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16717   _ACAWK
16718 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16718 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16719    for (key in S) S_is_set[key] = 1
16720    FS = ""
16721  
# Line 14912 | Line 16747 | if sed "s/$ac_cr//" < /dev/null > /dev/n
16747    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16748   else
16749    cat
16750 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16751 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16750 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16751 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16752   _ACEOF
16753  
16754 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
16755 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16754 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16755 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16756   # trailing colons and then remove the whole line if VPATH becomes empty
16757   # (actually we leave an empty line to preserve line numbers).
16758   if test "x$srcdir" = x.; then
16759 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16760 < s/:*\$(srcdir):*/:/
16761 < s/:*\${srcdir}:*/:/
16762 < s/:*@srcdir@:*/:/
16763 < s/^\([^=]*=[     ]*\):*/\1/
16759 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16760 > h
16761 > s///
16762 > s/^/:/
16763 > s/[      ]*$/:/
16764 > s/:\$(srcdir):/:/g
16765 > s/:\${srcdir}:/:/g
16766 > s/:@srcdir@:/:/g
16767 > s/^:*//
16768   s/:*$//
16769 + x
16770 + s/\(=[   ]*\).*/\1/
16771 + G
16772 + s/\n//
16773   s/^[^=]*=[       ]*$//
16774   }'
16775   fi
# Line 14938 | Line 16781 | fi # test -n "$CONFIG_FILES"
16781   # No need to generate them if there are no CONFIG_HEADERS.
16782   # This happens for instance with `./config.status Makefile'.
16783   if test -n "$CONFIG_HEADERS"; then
16784 < cat >"$tmp/defines.awk" <<\_ACAWK ||
16784 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16785   BEGIN {
16786   _ACEOF
16787  
# Line 14950 | Line 16793 | _ACEOF
16793   # handling of long lines.
16794   ac_delim='%!_!# '
16795   for ac_last_try in false false :; do
16796 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16797 <  if test -z "$ac_t"; then
16796 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16797 >  if test -z "$ac_tt"; then
16798      break
16799    elif $ac_last_try; then
16800 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16800 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16801    else
16802      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16803    fi
# Line 15039 | Line 16882 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
16882   _ACAWK
16883   _ACEOF
16884   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16885 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16885 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16886   fi # test -n "$CONFIG_HEADERS"
16887  
16888  
# Line 15052 | Line 16895 | do
16895    esac
16896    case $ac_mode$ac_tag in
16897    :[FHL]*:*);;
16898 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16898 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16899    :[FH]-) ac_tag=-:-;;
16900    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16901    esac
# Line 15071 | Line 16914 | do
16914      for ac_f
16915      do
16916        case $ac_f in
16917 <      -) ac_f="$tmp/stdin";;
16917 >      -) ac_f="$ac_tmp/stdin";;
16918        *) # Look for the file first in the build tree, then in the source tree
16919           # (if the path is not absolute).  The absolute path cannot be DOS-style,
16920           # because $ac_f cannot contain `:'.
# Line 15080 | Line 16923 | do
16923             [\\/$]*) false;;
16924             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16925             esac ||
16926 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16926 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16927        esac
16928        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16929        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15106 | Line 16949 | $as_echo "$as_me: creating $ac_file" >&6
16949      esac
16950  
16951      case $ac_tag in
16952 <    *:-:* | *:-) cat >"$tmp/stdin" \
16953 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16952 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16953 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16954      esac
16955      ;;
16956    esac
# Line 15243 | Line 17086 | s&@INSTALL@&$ac_INSTALL&;t t
17086   s&@MKDIR_P@&$ac_MKDIR_P&;t t
17087   $ac_datarootdir_hack
17088   "
17089 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17090 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17089 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17090 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17091  
17092   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17093 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17094 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17093 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17094 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17095 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17096    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17097 < which seems to be undefined.  Please make sure it is defined." >&5
17097 > which seems to be undefined.  Please make sure it is defined" >&5
17098   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17099 < which seems to be undefined.  Please make sure it is defined." >&2;}
17099 > which seems to be undefined.  Please make sure it is defined" >&2;}
17100  
17101 <  rm -f "$tmp/stdin"
17101 >  rm -f "$ac_tmp/stdin"
17102    case $ac_file in
17103 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
17104 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17103 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17104 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17105    esac \
17106 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
17106 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17107   ;;
17108    :H)
17109    #
# Line 15268 | Line 17112 | which seems to be undefined.  Please mak
17112    if test x"$ac_file" != x-; then
17113      {
17114        $as_echo "/* $configure_input  */" \
17115 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17116 <    } >"$tmp/config.h" \
17117 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
17118 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17115 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17116 >    } >"$ac_tmp/config.h" \
17117 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17118 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17119        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17120   $as_echo "$as_me: $ac_file is unchanged" >&6;}
17121      else
17122        rm -f "$ac_file"
17123 <      mv "$tmp/config.h" "$ac_file" \
17124 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
17123 >      mv "$ac_tmp/config.h" "$ac_file" \
17124 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17125      fi
17126    else
17127      $as_echo "/* $configure_input  */" \
17128 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17129 <      || as_fn_error "could not create -" "$LINENO" 5
17128 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17129 >      || as_fn_error $? "could not create -" "$LINENO" 5
17130    fi
17131   # Compute "$ac_file"'s index in $config_headers.
17132   _am_arg="$ac_file"
# Line 15328 | Line 17172 | $as_echo "$as_me: executing $ac_file com
17172  
17173    case $ac_file$ac_mode in
17174      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17175 <  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17175 >  # Older Autoconf quotes --file arguments for eval, but not when files
17176    # are listed without --file.  Let's play safe and only enable the eval
17177    # if we detect the quoting.
17178    case $CONFIG_FILES in
# Line 15341 | Line 17185 | $as_echo "$as_me: executing $ac_file com
17185      # Strip MF so we end up with the name of the file.
17186      mf=`echo "$mf" | sed -e 's/:.*$//'`
17187      # Check whether this is an Automake generated Makefile or not.
17188 <    # We used to match only the files named `Makefile.in', but
17188 >    # We used to match only the files named 'Makefile.in', but
17189      # some people rename them; so instead we look at the file content.
17190      # Grep'ing the first line is not enough: some people post-process
17191      # each Makefile.in and add a new line on top of each file to say so.
# Line 15375 | Line 17219 | $as_echo X"$mf" |
17219        continue
17220      fi
17221      # Extract the definition of DEPDIR, am__include, and am__quote
17222 <    # from the Makefile without running `make'.
17222 >    # from the Makefile without running 'make'.
17223      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17224      test -z "$DEPDIR" && continue
17225      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17226 <    test -z "am__include" && continue
17226 >    test -z "$am__include" && continue
17227      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15384 –    # When using ansi2knr, U may be empty or an underscore; expand it
15385 –    U=`sed -n 's/^U = //p' < "$mf"`
17228      # Find all dependency output files, they are included files with
17229      # $(DEPDIR) in their names.  We invoke sed twice because it is the
17230      # simplest approach to changing $(DEPDIR) to its actual value in the
17231      # expansion.
17232      for file in `sed -n "
17233        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17234 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17234 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17235        # Make sure the directory exists.
17236        test -f "$dirpart/$file" && continue
17237        fdir=`$as_dirname -- "$file" ||
# Line 15443 | Line 17285 | $as_echo X"$file" |
17285   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17286   #
17287   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17288 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
17288 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17289 > #                 Foundation, Inc.
17290   #   Written by Gordon Matzigkeit, 1996
17291   #
17292   #   This file is part of GNU Libtool.
# Line 15491 | Line 17334 | pic_mode=$pic_mode
17334   # Whether or not to optimize for fast installation.
17335   fast_install=$enable_fast_install
17336  
17337 + # Shell to use when invoking shell scripts.
17338 + SHELL=$lt_SHELL
17339 +
17340 + # An echo program that protects backslashes.
17341 + ECHO=$lt_ECHO
17342 +
17343 + # The PATH separator for the build system.
17344 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
17345 +
17346   # The host system.
17347   host_alias=$host_alias
17348   host=$host
# Line 15540 | Line 17392 | SP2NL=$lt_lt_SP2NL
17392   # turn newlines into spaces.
17393   NL2SP=$lt_lt_NL2SP
17394  
17395 < # How to create reloadable object files.
17396 < reload_flag=$lt_reload_flag
17397 < reload_cmds=$lt_reload_cmds
17395 > # convert \$build file names to \$host format.
17396 > to_host_file_cmd=$lt_cv_to_host_file_cmd
17397 >
17398 > # convert \$build files to toolchain format.
17399 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17400  
17401   # An object symbol dumper.
17402   OBJDUMP=$lt_OBJDUMP
# Line 15550 | Line 17404 | OBJDUMP=$lt_OBJDUMP
17404   # Method to check whether dependent libraries are shared objects.
17405   deplibs_check_method=$lt_deplibs_check_method
17406  
17407 < # Command to use when deplibs_check_method == "file_magic".
17407 > # Command to use when deplibs_check_method = "file_magic".
17408   file_magic_cmd=$lt_file_magic_cmd
17409  
17410 + # How to find potential files when deplibs_check_method = "file_magic".
17411 + file_magic_glob=$lt_file_magic_glob
17412 +
17413 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17414 + want_nocaseglob=$lt_want_nocaseglob
17415 +
17416 + # DLL creation program.
17417 + DLLTOOL=$lt_DLLTOOL
17418 +
17419 + # Command to associate shared and link libraries.
17420 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17421 +
17422   # The archiver.
17423   AR=$lt_AR
17424 +
17425 + # Flags to create an archive.
17426   AR_FLAGS=$lt_AR_FLAGS
17427  
17428 + # How to feed a file listing to the archiver.
17429 + archiver_list_spec=$lt_archiver_list_spec
17430 +
17431   # A symbol stripping program.
17432   STRIP=$lt_STRIP
17433  
# Line 15565 | Line 17436 | RANLIB=$lt_RANLIB
17436   old_postinstall_cmds=$lt_old_postinstall_cmds
17437   old_postuninstall_cmds=$lt_old_postuninstall_cmds
17438  
17439 + # Whether to use a lock for old archive extraction.
17440 + lock_old_archive_extraction=$lock_old_archive_extraction
17441 +
17442   # A C compiler.
17443   LTCC=$lt_CC
17444  
# Line 15583 | Line 17457 | global_symbol_to_c_name_address=$lt_lt_c
17457   # Transform the output of nm in a C name address pair when lib prefix is needed.
17458   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17459  
17460 < # The name of the directory that contains temporary libtool files.
17461 < objdir=$objdir
17460 > # Specify filename containing input files for \$NM.
17461 > nm_file_list_spec=$lt_nm_file_list_spec
17462  
17463 < # Shell to use when invoking shell scripts.
17464 < SHELL=$lt_SHELL
17463 > # The root where to search for dependent libraries,and in which our libraries should be installed.
17464 > lt_sysroot=$lt_sysroot
17465  
17466 < # An echo program that does not interpret backslashes.
17467 < ECHO=$lt_ECHO
17466 > # The name of the directory that contains temporary libtool files.
17467 > objdir=$objdir
17468  
17469   # Used to examine libraries when file_magic_cmd begins with "file".
17470   MAGIC_CMD=$MAGIC_CMD
# Line 15598 | Line 17472 | MAGIC_CMD=$MAGIC_CMD
17472   # Must we lock files when doing compilation?
17473   need_locks=$lt_need_locks
17474  
17475 + # Manifest tool.
17476 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
17477 +
17478   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17479   DSYMUTIL=$lt_DSYMUTIL
17480  
# Line 15654 | Line 17531 | library_names_spec=$lt_library_names_spe
17531   # The coded name of the library, if different from the real name.
17532   soname_spec=$lt_soname_spec
17533  
17534 + # Permission mode override for installation of shared libraries.
17535 + install_override_mode=$lt_install_override_mode
17536 +
17537   # Command to use after installation of a shared archive.
17538   postinstall_cmds=$lt_postinstall_cmds
17539  
# Line 15693 | Line 17573 | striplib=$lt_striplib
17573   # The linker used to build libraries.
17574   LD=$lt_LD
17575  
17576 + # How to create reloadable object files.
17577 + reload_flag=$lt_reload_flag
17578 + reload_cmds=$lt_reload_cmds
17579 +
17580   # Commands used to build an old-style archive.
17581   old_archive_cmds=$lt_old_archive_cmds
17582  
# Line 15705 | Line 17589 | with_gcc=$GCC
17589   # Compiler flag to turn off builtin functions.
17590   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17591  
15708 – # How to pass a linker flag through the compiler.
15709 – wl=$lt_lt_prog_compiler_wl
15710 –
17592   # Additional compiler flags for building library objects.
17593   pic_flag=$lt_lt_prog_compiler_pic
17594  
17595 + # How to pass a linker flag through the compiler.
17596 + wl=$lt_lt_prog_compiler_wl
17597 +
17598   # Compiler flag to prevent dynamic linking.
17599   link_static_flag=$lt_lt_prog_compiler_static
17600  
# Line 15760 | Line 17644 | no_undefined_flag=$lt_no_undefined_flag
17644   # This must work even if \$libdir does not exist
17645   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17646  
15763 – # If ld is used when linking, flag to hardcode \$libdir into a binary
15764 – # during linking.  This must work even if \$libdir does not exist.
15765 – hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15766 –
17647   # Whether we need a single "-rpath" flag with a separated argument.
17648   hardcode_libdir_separator=$lt_hardcode_libdir_separator
17649  
# Line 15797 | Line 17677 | inherit_rpath=$inherit_rpath
17677   # Whether libtool must link a program against all its dependency libraries.
17678   link_all_deplibs=$link_all_deplibs
17679  
15800 – # Fix the shell variable \$srcfile for the compiler.
15801 – fix_srcfile_path=$lt_fix_srcfile_path
15802 –
17680   # Set to "yes" if exported symbols are required.
17681   always_export_symbols=$always_export_symbols
17682  
# Line 15815 | Line 17692 | include_expsyms=$lt_include_expsyms
17692   # Commands necessary for linking programs (against libraries) with templates.
17693   prelink_cmds=$lt_prelink_cmds
17694  
17695 + # Commands necessary for finishing linking programs.
17696 + postlink_cmds=$lt_postlink_cmds
17697 +
17698   # Specify filename containing input files.
17699   file_list_spec=$lt_file_list_spec
17700  
# Line 15847 | Line 17727 | ltmain="$ac_aux_dir/ltmain.sh"
17727    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17728    # text mode, it properly converts lines to CR/LF.  This bash problem
17729    # is reportedly fixed, but why not run on old versions too?
17730 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17731 <    || (rm -f "$cfgfile"; exit 1)
15852 <
15853 <  case $xsi_shell in
15854 <  yes)
15855 <    cat << \_LT_EOF >> "$cfgfile"
15856 <
15857 < # func_dirname file append nondir_replacement
15858 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15859 < # otherwise set result to NONDIR_REPLACEMENT.
15860 < func_dirname ()
15861 < {
15862 <  case ${1} in
15863 <    */*) func_dirname_result="${1%/*}${2}" ;;
15864 <    *  ) func_dirname_result="${3}" ;;
15865 <  esac
15866 < }
15867 <
15868 < # func_basename file
15869 < func_basename ()
15870 < {
15871 <  func_basename_result="${1##*/}"
15872 < }
15873 <
15874 < # func_dirname_and_basename file append nondir_replacement
15875 < # perform func_basename and func_dirname in a single function
15876 < # call:
15877 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15878 < #             add APPEND to the result, otherwise set result
15879 < #             to NONDIR_REPLACEMENT.
15880 < #             value returned in "$func_dirname_result"
15881 < #   basename: Compute filename of FILE.
15882 < #             value retuned in "$func_basename_result"
15883 < # Implementation must be kept synchronized with func_dirname
15884 < # and func_basename. For efficiency, we do not delegate to
15885 < # those functions but instead duplicate the functionality here.
15886 < func_dirname_and_basename ()
15887 < {
15888 <  case ${1} in
15889 <    */*) func_dirname_result="${1%/*}${2}" ;;
15890 <    *  ) func_dirname_result="${3}" ;;
15891 <  esac
15892 <  func_basename_result="${1##*/}"
15893 < }
15894 <
15895 < # func_stripname prefix suffix name
15896 < # strip PREFIX and SUFFIX off of NAME.
15897 < # PREFIX and SUFFIX must not contain globbing or regex special
15898 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15899 < # dot (in which case that matches only a dot).
15900 < func_stripname ()
15901 < {
15902 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15903 <  # positional parameters, so assign one to ordinary parameter first.
15904 <  func_stripname_result=${3}
15905 <  func_stripname_result=${func_stripname_result#"${1}"}
15906 <  func_stripname_result=${func_stripname_result%"${2}"}
15907 < }
15908 <
15909 < # func_opt_split
15910 < func_opt_split ()
15911 < {
15912 <  func_opt_split_opt=${1%%=*}
15913 <  func_opt_split_arg=${1#*=}
15914 < }
15915 <
15916 < # func_lo2o object
15917 < func_lo2o ()
15918 < {
15919 <  case ${1} in
15920 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15921 <    *)    func_lo2o_result=${1} ;;
15922 <  esac
15923 < }
15924 <
15925 < # func_xform libobj-or-source
15926 < func_xform ()
15927 < {
15928 <  func_xform_result=${1%.*}.lo
15929 < }
15930 <
15931 < # func_arith arithmetic-term...
15932 < func_arith ()
15933 < {
15934 <  func_arith_result=$(( $* ))
15935 < }
15936 <
15937 < # func_len string
15938 < # STRING may not start with a hyphen.
15939 < func_len ()
15940 < {
15941 <  func_len_result=${#1}
15942 < }
15943 <
15944 < _LT_EOF
15945 <    ;;
15946 <  *) # Bourne compatible functions.
15947 <    cat << \_LT_EOF >> "$cfgfile"
15948 <
15949 < # func_dirname file append nondir_replacement
15950 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15951 < # otherwise set result to NONDIR_REPLACEMENT.
15952 < func_dirname ()
15953 < {
15954 <  # Extract subdirectory from the argument.
15955 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15956 <  if test "X$func_dirname_result" = "X${1}"; then
15957 <    func_dirname_result="${3}"
15958 <  else
15959 <    func_dirname_result="$func_dirname_result${2}"
15960 <  fi
15961 < }
15962 <
15963 < # func_basename file
15964 < func_basename ()
15965 < {
15966 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15967 < }
15968 <
15969 <
15970 < # func_stripname prefix suffix name
15971 < # strip PREFIX and SUFFIX off of NAME.
15972 < # PREFIX and SUFFIX must not contain globbing or regex special
15973 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15974 < # dot (in which case that matches only a dot).
15975 < # func_strip_suffix prefix name
15976 < func_stripname ()
15977 < {
15978 <  case ${2} in
15979 <    .*) func_stripname_result=`$ECHO "X${3}" \
15980 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15981 <    *)  func_stripname_result=`$ECHO "X${3}" \
15982 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15983 <  esac
15984 < }
15985 <
15986 < # sed scripts:
15987 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15988 < my_sed_long_arg='1s/^-[^=]*=//'
15989 <
15990 < # func_opt_split
15991 < func_opt_split ()
15992 < {
15993 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15994 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15995 < }
15996 <
15997 < # func_lo2o object
15998 < func_lo2o ()
15999 < {
16000 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16001 < }
16002 <
16003 < # func_xform libobj-or-source
16004 < func_xform ()
16005 < {
16006 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16007 < }
16008 <
16009 < # func_arith arithmetic-term...
16010 < func_arith ()
16011 < {
16012 <  func_arith_result=`expr "$@"`
16013 < }
16014 <
16015 < # func_len string
16016 < # STRING may not start with a hyphen.
16017 < func_len ()
16018 < {
16019 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16020 < }
16021 <
16022 < _LT_EOF
16023 < esac
16024 <
16025 < case $lt_shell_append in
16026 <  yes)
16027 <    cat << \_LT_EOF >> "$cfgfile"
16028 <
16029 < # func_append var value
16030 < # Append VALUE to the end of shell variable VAR.
16031 < func_append ()
16032 < {
16033 <  eval "$1+=\$2"
16034 < }
16035 < _LT_EOF
16036 <    ;;
16037 <  *)
16038 <    cat << \_LT_EOF >> "$cfgfile"
16039 <
16040 < # func_append var value
16041 < # Append VALUE to the end of shell variable VAR.
16042 < func_append ()
16043 < {
16044 <  eval "$1=\$$1\$2"
16045 < }
16046 <
16047 < _LT_EOF
16048 <    ;;
16049 <  esac
17730 >  sed '$q' "$ltmain" >> "$cfgfile" \
17731 >     || (rm -f "$cfgfile"; exit 1)
17732  
17733 +  if test x"$xsi_shell" = xyes; then
17734 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17735 + func_dirname ()\
17736 + {\
17737 + \    case ${1} in\
17738 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17739 + \      *  ) func_dirname_result="${3}" ;;\
17740 + \    esac\
17741 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17742 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17743 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17744 + test 0 -eq $? || _lt_function_replace_fail=:
17745 +
17746 +
17747 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17748 + func_basename ()\
17749 + {\
17750 + \    func_basename_result="${1##*/}"\
17751 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17752 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17753 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17754 + test 0 -eq $? || _lt_function_replace_fail=:
17755 +
17756 +
17757 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17758 + func_dirname_and_basename ()\
17759 + {\
17760 + \    case ${1} in\
17761 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
17762 + \      *  ) func_dirname_result="${3}" ;;\
17763 + \    esac\
17764 + \    func_basename_result="${1##*/}"\
17765 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17766 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17767 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17768 + test 0 -eq $? || _lt_function_replace_fail=:
17769 +
17770 +
17771 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17772 + func_stripname ()\
17773 + {\
17774 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17775 + \    # positional parameters, so assign one to ordinary parameter first.\
17776 + \    func_stripname_result=${3}\
17777 + \    func_stripname_result=${func_stripname_result#"${1}"}\
17778 + \    func_stripname_result=${func_stripname_result%"${2}"}\
17779 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17780 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17781 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17782 + test 0 -eq $? || _lt_function_replace_fail=:
17783 +
17784 +
17785 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17786 + func_split_long_opt ()\
17787 + {\
17788 + \    func_split_long_opt_name=${1%%=*}\
17789 + \    func_split_long_opt_arg=${1#*=}\
17790 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17791 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17792 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17793 + test 0 -eq $? || _lt_function_replace_fail=:
17794 +
17795 +
17796 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17797 + func_split_short_opt ()\
17798 + {\
17799 + \    func_split_short_opt_arg=${1#??}\
17800 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17801 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17802 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17803 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17804 + test 0 -eq $? || _lt_function_replace_fail=:
17805 +
17806 +
17807 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17808 + func_lo2o ()\
17809 + {\
17810 + \    case ${1} in\
17811 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17812 + \      *)    func_lo2o_result=${1} ;;\
17813 + \    esac\
17814 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17815 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17816 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17817 + test 0 -eq $? || _lt_function_replace_fail=:
17818 +
17819 +
17820 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17821 + func_xform ()\
17822 + {\
17823 +    func_xform_result=${1%.*}.lo\
17824 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17825 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17826 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17827 + test 0 -eq $? || _lt_function_replace_fail=:
17828 +
17829 +
17830 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17831 + func_arith ()\
17832 + {\
17833 +    func_arith_result=$(( $* ))\
17834 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17835 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17836 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17837 + test 0 -eq $? || _lt_function_replace_fail=:
17838 +
17839 +
17840 +  sed -e '/^func_len ()$/,/^} # func_len /c\
17841 + func_len ()\
17842 + {\
17843 +    func_len_result=${#1}\
17844 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17845 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17846 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17847 + test 0 -eq $? || _lt_function_replace_fail=:
17848 +
17849 + fi
17850 +
17851 + if test x"$lt_shell_append" = xyes; then
17852 +  sed -e '/^func_append ()$/,/^} # func_append /c\
17853 + func_append ()\
17854 + {\
17855 +    eval "${1}+=\\${2}"\
17856 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17857 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17858 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17859 + test 0 -eq $? || _lt_function_replace_fail=:
17860 +
17861 +
17862 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17863 + func_append_quoted ()\
17864 + {\
17865 + \    func_quote_for_eval "${2}"\
17866 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17867 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17868 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
17869 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17870 + test 0 -eq $? || _lt_function_replace_fail=:
17871 +
17872 +
17873 +  # Save a `func_append' function call where possible by direct use of '+='
17874 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17875 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17876 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17877 +  test 0 -eq $? || _lt_function_replace_fail=:
17878 + else
17879 +  # Save a `func_append' function call even when '+=' is not available
17880 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17881 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
17882 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17883 +  test 0 -eq $? || _lt_function_replace_fail=:
17884 + fi
17885 +
17886 + if test x"$_lt_function_replace_fail" = x":"; then
17887 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17888 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17889 + fi
17890  
16052 –  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16053 –    || (rm -f "$cfgfile"; exit 1)
17891  
17892 <  mv -f "$cfgfile" "$ofile" ||
17892 >   mv -f "$cfgfile" "$ofile" ||
17893      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17894    chmod +x "$ofile"
17895  
# Line 16067 | Line 17904 | _ACEOF
17904   ac_clean_files=$ac_clean_files_save
17905  
17906   test $ac_write_fail = 0 ||
17907 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17907 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17908  
17909  
17910   # configure is writing to config.log, and then calls config.status.
# Line 16088 | Line 17925 | if test "$no_create" != yes; then
17925    exec 5>>config.log
17926    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17927    # would make configure fail if this is the last instruction.
17928 <  $ac_cs_success || as_fn_exit $?
16092 < fi
16093 <
16094 < #
16095 < # CONFIG_SUBDIRS section.
16096 < #
16097 < if test "$no_recursion" != yes; then
16098 <
16099 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16100 <  # so they do not pile up.
16101 <  ac_sub_configure_args=
16102 <  ac_prev=
16103 <  eval "set x $ac_configure_args"
16104 <  shift
16105 <  for ac_arg
16106 <  do
16107 <    if test -n "$ac_prev"; then
16108 <      ac_prev=
16109 <      continue
16110 <    fi
16111 <    case $ac_arg in
16112 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16113 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16114 <      ac_prev=cache_file ;;
16115 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16116 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16117 <    | --c=*)
16118 <      ;;
16119 <    --config-cache | -C)
16120 <      ;;
16121 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16122 <      ac_prev=srcdir ;;
16123 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16124 <      ;;
16125 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16126 <      ac_prev=prefix ;;
16127 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16128 <      ;;
16129 <    --disable-option-checking)
16130 <      ;;
16131 <    *)
16132 <      case $ac_arg in
16133 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 <      esac
16135 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16136 <    esac
16137 <  done
16138 <
16139 <  # Always prepend --prefix to ensure using the same prefix
16140 <  # in subdir configurations.
16141 <  ac_arg="--prefix=$prefix"
16142 <  case $ac_arg in
16143 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16144 <  esac
16145 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16146 <
16147 <  # Pass --silent
16148 <  if test "$silent" = yes; then
16149 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16150 <  fi
16151 <
16152 <  # Always prepend --disable-option-checking to silence warnings, since
16153 <  # different subdirs can have different --enable and --with options.
16154 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16155 <
16156 <  ac_popdir=`pwd`
16157 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16158 <
16159 <    # Do not complain, so a configure script can configure whichever
16160 <    # parts of a large source tree are present.
16161 <    test -d "$srcdir/$ac_dir" || continue
16162 <
16163 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16164 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16165 <    $as_echo "$ac_msg" >&6
16166 <    as_dir="$ac_dir"; as_fn_mkdir_p
16167 <    ac_builddir=.
16168 <
16169 < case "$ac_dir" in
16170 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16171 < *)
16172 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16173 <  # A ".." for each directory in $ac_dir_suffix.
16174 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16175 <  case $ac_top_builddir_sub in
16176 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16177 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16178 <  esac ;;
16179 < esac
16180 < ac_abs_top_builddir=$ac_pwd
16181 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16182 < # for backward compatibility:
16183 < ac_top_builddir=$ac_top_build_prefix
16184 <
16185 < case $srcdir in
16186 <  .)  # We are building in place.
16187 <    ac_srcdir=.
16188 <    ac_top_srcdir=$ac_top_builddir_sub
16189 <    ac_abs_top_srcdir=$ac_pwd ;;
16190 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16191 <    ac_srcdir=$srcdir$ac_dir_suffix;
16192 <    ac_top_srcdir=$srcdir
16193 <    ac_abs_top_srcdir=$srcdir ;;
16194 <  *) # Relative name.
16195 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16196 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16197 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16198 < esac
16199 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16200 <
16201 <
16202 <    cd "$ac_dir"
16203 <
16204 <    # Check for guested configure; otherwise get Cygnus style configure.
16205 <    if test -f "$ac_srcdir/configure.gnu"; then
16206 <      ac_sub_configure=$ac_srcdir/configure.gnu
16207 <    elif test -f "$ac_srcdir/configure"; then
16208 <      ac_sub_configure=$ac_srcdir/configure
16209 <    elif test -f "$ac_srcdir/configure.in"; then
16210 <      # This should be Cygnus configure.
16211 <      ac_sub_configure=$ac_aux_dir/configure
16212 <    else
16213 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16214 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16215 <      ac_sub_configure=
16216 <    fi
16217 <
16218 <    # The recursion is here.
16219 <    if test -n "$ac_sub_configure"; then
16220 <      # Make the cache file name correct relative to the subdirectory.
16221 <      case $cache_file in
16222 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16223 <      *) # Relative name.
16224 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16225 <      esac
16226 <
16227 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16228 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16229 <      # The eval makes quoting arguments work.
16230 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16231 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16232 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16233 <    fi
16234 <
16235 <    cd "$ac_popdir"
16236 <  done
17928 >  $ac_cs_success || as_fn_exit 1
17929   fi
17930   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17931    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Comparing:
ircd-hybrid-7.3/configure (property svn:eol-style), Revision 1090 by michael, Wed Mar 24 22:37:53 2010 UTC vs.
ircd-hybrid/trunk/configure (property svn:eol-style), Revision 3724 by michael, Sat May 31 16:27:09 2014 UTC

# Line 0 | Line 1
1 + native

Diff Legend

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