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

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 1005 by michael, Mon Aug 31 23:07:43 2009 UTC vs.
ircd-hybrid-8/configure (file contents), Revision 1431 by michael, Sat Jun 9 19:15:10 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 998 2009-08-23 12:43:17Z michael .
2 > # From configure.ac Id: configure.ac 1402 2012-05-09 18:42:45Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta1.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8 > #
9 > # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10   #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
8 # Foundation, Inc.
11   #
12   # This configure script is free software; the Free Software Foundation
13   # gives unlimited permission to copy, distribute and modify it.
# Line 88 | Line 90 | fi
90   IFS=" ""        $as_nl"
91  
92   # Find who we are.  Look in the path if we contain no directory separator.
93 + as_myself=
94   case $0 in #((
95    *[\\/]* ) as_myself=$0 ;;
96    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 132 | Line 135 | export LANGUAGE
135   # CDPATH.
136   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137  
138 + # Use a proper internal environment variable to ensure we don't fall
139 +  # into an infinite loop, continuously re-executing ourselves.
140 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 +    _as_can_reexec=no; export _as_can_reexec;
142 +    # We cannot yet assume a decent shell, so we have to provide a
143 + # neutralization value for shells without unset; and this also
144 + # works around shells that cannot unset nonexistent variables.
145 + # Preserve -v and -x to the replacement shell.
146 + BASH_ENV=/dev/null
147 + ENV=/dev/null
148 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 + case $- in # ((((
150 +  *v*x* | *x*v* ) as_opts=-vx ;;
151 +  *v* ) as_opts=-v ;;
152 +  *x* ) as_opts=-x ;;
153 +  * ) as_opts= ;;
154 + esac
155 + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 + # Admittedly, this is quite paranoid, since all the known shells bail
157 + # out after a failed `exec'.
158 + $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 + as_fn_exit 255
160 +  fi
161 +  # We don't want this to propagate to other subprocesses.
162 +          { _as_can_reexec=; unset _as_can_reexec;}
163   if test "x$CONFIG_SHELL" = x; then
164    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165    emulate sh
# Line 165 | Line 193 | if ( set x; as_fn_ret_success y && test
193   else
194    exitcode=1; echo positional parameters were not saved.
195   fi
196 < test x\$exitcode = x0 || exit 1"
196 > test x\$exitcode = x0 || exit 1
197 > test -x / || exit 1"
198    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 +
203 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 +    PATH=/empty FPATH=/empty; export PATH FPATH
208 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210   test \$(( 1 + 1 )) = 2 || exit 1"
211    if (eval "$as_required") 2>/dev/null; then :
212    as_have_required=yes
# Line 210 | Line 247 | IFS=$as_save_IFS
247  
248  
249        if test "x$CONFIG_SHELL" != x; then :
250 <  # We cannot yet assume a decent shell, so we have to provide a
251 <        # neutralization value for shells without unset; and this also
252 <        # works around shells that cannot unset nonexistent variables.
253 <        BASH_ENV=/dev/null
254 <        ENV=/dev/null
255 <        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 <        export CONFIG_SHELL
257 <        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
250 >  export CONFIG_SHELL
251 >             # We cannot yet assume a decent shell, so we have to provide a
252 > # neutralization value for shells without unset; and this also
253 > # works around shells that cannot unset nonexistent variables.
254 > # Preserve -v and -x to the replacement shell.
255 > BASH_ENV=/dev/null
256 > ENV=/dev/null
257 > (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 > case $- in # ((((
259 >  *v*x* | *x*v* ) as_opts=-vx ;;
260 >  *v* ) as_opts=-v ;;
261 >  *x* ) as_opts=-x ;;
262 >  * ) as_opts= ;;
263 > esac
264 > exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 > # Admittedly, this is quite paranoid, since all the known shells bail
266 > # out after a failed `exec'.
267 > $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 > exit 255
269   fi
270  
271      if test x$as_have_required = xno; then :
# Line 227 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 315 | Line 364 | $as_echo X"$as_dir" |
364        test -d "$as_dir" && break
365      done
366      test -z "$as_dirs" || eval "mkdir $as_dirs"
367 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
367 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368  
369  
370   } # as_fn_mkdir_p
371 +
372 + # as_fn_executable_p FILE
373 + # -----------------------
374 + # Test if FILE is an executable regular file.
375 + as_fn_executable_p ()
376 + {
377 +  test -f "$1" && test -x "$1"
378 + } # as_fn_executable_p
379   # as_fn_append VAR VALUE
380   # ----------------------
381   # Append the text in VALUE to the end of the definition contained in VAR. Take
# Line 355 | Line 412 | else
412   fi # as_fn_arith
413  
414  
415 < # as_fn_error ERROR [LINENO LOG_FD]
416 < # ---------------------------------
415 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 > # ----------------------------------------
417   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 < # script with status $?, using 1 if that was 0.
419 > # script with STATUS, using 1 if that was 0.
420   as_fn_error ()
421   {
422 <  as_status=$?; test $as_status -eq 0 && as_status=1
423 <  if test "$3"; then
424 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
422 >  as_status=$1; test $as_status -eq 0 && as_status=1
423 >  if test "$4"; then
424 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426    fi
427 <  $as_echo "$as_me: error: $1" >&2
427 >  $as_echo "$as_me: error: $2" >&2
428    as_fn_exit $as_status
429   } # as_fn_error
430  
# Line 440 | Line 497 | as_cr_alnum=$as_cr_Letters$as_cr_digits
497    chmod +x "$as_me.lineno" ||
498      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499  
500 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 +  # already done that, so ensure we don't try to do so again and fall
502 +  # in an infinite loop.  This has already happened in practice.
503 +  _as_can_reexec=no; export _as_can_reexec
504    # Don't try to exec as it changes $[0], causing all sort of problems
505    # (the dirname of $[0] is not the place where we might find the
506    # original and so on.  Autoconf is especially sensitive to this).
# Line 474 | Line 535 | if (echo >conf$$.file) 2>/dev/null; then
535      # ... but there are two gotchas:
536      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 <    # In both cases, we have to default to `cp -p'.
538 >    # In both cases, we have to default to `cp -pR'.
539      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 <      as_ln_s='cp -p'
540 >      as_ln_s='cp -pR'
541    elif ln conf$$.file conf$$ 2>/dev/null; then
542      as_ln_s=ln
543    else
544 <    as_ln_s='cp -p'
544 >    as_ln_s='cp -pR'
545    fi
546   else
547 <  as_ln_s='cp -p'
547 >  as_ln_s='cp -pR'
548   fi
549   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550   rmdir conf$$.dir 2>/dev/null
# Line 495 | Line 556 | else
556    as_mkdir_p=false
557   fi
558  
559 < if test -x / >/dev/null 2>&1; then
560 <  as_test_x='test -x'
500 < else
501 <  if ls -dL / >/dev/null 2>&1; then
502 <    as_ls_L_option=L
503 <  else
504 <    as_ls_L_option=
505 <  fi
506 <  as_test_x='
507 <    eval sh -c '\''
508 <      if test -d "$1"; then
509 <        test -d "$1/.";
510 <      else
511 <        case $1 in #(
512 <        -*)set "./$1";;
513 <        esac;
514 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 <        ???[sx]*):;;*)false;;esac;fi
516 <    '\'' sh
517 <  '
518 < fi
519 < as_executable_p=$as_test_x
559 > as_test_x='test -x'
560 > as_executable_p=as_fn_executable_p
561  
562   # Sed expression to map a string onto a valid CPP name.
563   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 524 | Line 565 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
565   # Sed expression to map a string onto a valid variable name.
566   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567  
568 + lt_ltdl_dir='libltdl'
569  
528
529 # Check that we are running under the correct shell.
570   SHELL=${CONFIG_SHELL-/bin/sh}
571  
532 case X$lt_ECHO in
533 X*--fallback-echo)
534  # Remove one level of quotation (which was required for Make).
535  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536  ;;
537 esac
538
539 ECHO=${lt_ECHO-echo}
540 if test "X$1" = X--no-reexec; then
541  # Discard the --no-reexec flag, and continue.
542  shift
543 elif test "X$1" = X--fallback-echo; then
544  # Avoid inline document here, it may be left over
545  :
546 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547  # Yippee, $ECHO works!
548  :
549 else
550  # Restart under the correct shell.
551  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 fi
553
554 if test "X$1" = X--fallback-echo; then
555  # used as fallback echo
556  shift
557  cat <<_LT_EOF
558 $*
559 _LT_EOF
560  exit 0
561 fi
562
563 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 # if CDPATH is set.
565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566
567 if test -z "$lt_ECHO"; then
568  if test "X${echo_test_string+set}" != Xset; then
569    # find a string as large as possible, as long as the shell can cope with it
570    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574      then
575        break
576      fi
577    done
578  fi
579
580  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582     test "X$echo_testing_string" = "X$echo_test_string"; then
583    :
584  else
585    # The Solaris, AIX, and Digital Unix default echo programs unquote
586    # backslashes.  This makes it impossible to quote backslashes using
587    #   echo "$something" | sed 's/\\/\\\\/g'
588    #
589    # So, first we look for a working echo in the user's PATH.
590
591    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592    for dir in $PATH /usr/ucb; do
593      IFS="$lt_save_ifs"
594      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597         test "X$echo_testing_string" = "X$echo_test_string"; then
598        ECHO="$dir/echo"
599        break
600      fi
601    done
602    IFS="$lt_save_ifs"
603
604    if test "X$ECHO" = Xecho; then
605      # We didn't find a better echo, so look for alternatives.
606      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608         test "X$echo_testing_string" = "X$echo_test_string"; then
609        # This shell has a builtin print -r that does the trick.
610        ECHO='print -r'
611      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612           test "X$CONFIG_SHELL" != X/bin/ksh; then
613        # If we have ksh, try running configure again with it.
614        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615        export ORIGINAL_CONFIG_SHELL
616        CONFIG_SHELL=/bin/ksh
617        export CONFIG_SHELL
618        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619      else
620        # Try using printf.
621        ECHO='printf %s\n'
622        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624           test "X$echo_testing_string" = "X$echo_test_string"; then
625          # Cool, printf works
626          :
627        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628             test "X$echo_testing_string" = 'X\t' &&
629             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630             test "X$echo_testing_string" = "X$echo_test_string"; then
631          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632          export CONFIG_SHELL
633          SHELL="$CONFIG_SHELL"
634          export SHELL
635          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637             test "X$echo_testing_string" = 'X\t' &&
638             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639             test "X$echo_testing_string" = "X$echo_test_string"; then
640          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641        else
642          # maybe with a smaller string...
643          prev=:
644
645          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647            then
648              break
649            fi
650            prev="$cmd"
651          done
652
653          if test "$prev" != 'sed 50q "$0"'; then
654            echo_test_string=`eval $prev`
655            export echo_test_string
656            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657          else
658            # Oops.  We lost completely, so just stick with echo.
659            ECHO=echo
660          fi
661        fi
662      fi
663    fi
664  fi
665 fi
666
667 # Copy echo and quote the copy suitably for passing to libtool from
668 # the Makefile, instead of quoting the original, which is used later.
669 lt_ECHO=$ECHO
670 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 fi
673
674
675
676
677 lt_ltdl_dir='libltdl'
678
679 lt_dlopen_dir="$lt_ltdl_dir"
572  
573 < exec 7<&0 </dev/null 6>&1
573 > test -n "$DJDIR" || exec 7<&0 </dev/null
574 > exec 6>&1
575  
576   # Name of the host.
577 < # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 > # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578   # so uname gets run too.
579   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580  
# Line 700 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='7.2.4'
597 < PACKAGE_STRING='ircd-hybrid 7.2.4'
598 < PACKAGE_BUGREPORT=''
596 > PACKAGE_VERSION='8beta1'
597 > PACKAGE_STRING='ircd-hybrid 8beta1'
598 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
601   ac_unique_file="src/ircd.c"
# Line 742 | Line 635 | ac_includes_default="\
635   # include <unistd.h>
636   #endif"
637  
745 enable_option_checking=no
638   ac_func_list=
639   ac_header_list=
640   ac_subst_vars='ltdl_LTLIBOBJS
# Line 756 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
759 EFNET_FALSE
760 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
653   LTDLOPEN
654   LT_CONFIG_H
765 subdirs
655   CONVENIENCE_LTDL_FALSE
656   CONVENIENCE_LTDL_TRUE
657   INSTALL_LTDL_FALSE
# Line 785 | Line 674 | OTOOL
674   LIPO
675   NMEDIT
676   DSYMUTIL
677 < lt_ECHO
677 > MANIFEST_TOOL
678   RANLIB
679 + ac_ct_AR
680   AR
681 + DLLTOOL
682   OBJDUMP
683   LN_S
684   NM
# Line 815 | Line 706 | YACC
706   am__fastdepCC_FALSE
707   am__fastdepCC_TRUE
708   CCDEPMODE
709 + am__nodep
710   AMDEPBACKSLASH
711   AMDEP_FALSE
712   AMDEP_TRUE
# Line 837 | Line 729 | AMTAR
729   am__leading_dot
730   SET_MAKE
731   AWK
840 mkdir_p
732   MKDIR_P
733   INSTALL_STRIP_PROGRAM
734   STRIP
# Line 902 | Line 793 | enable_shared
793   with_pic
794   enable_fast_install
795   with_gnu_ld
796 + with_sysroot
797   enable_libtool_lock
798   with_included_ltdl
799   with_ltdl_include
800   with_ltdl_lib
801   enable_ltdl_install
802 < with_zlib_path
911 < enable_zlib
802 > enable_libpcre
803   enable_openssl
804   enable_assert
805   enable_small_net
# Line 920 | Line 811 | enable_poll
811   enable_select
812   with_nicklen
813   with_topiclen
923 with_syslog_facility
924 enable_efnet
814   enable_halfops
815   enable_debugging
816   enable_warnings
928 enable_syslog
817   '
818        ac_precious_vars='build_alias
819   host_alias
# Line 938 | Line 826 | CPPFLAGS
826   YACC
827   YFLAGS
828   CPP'
829 < ac_subdirs_all='libltdl'
829 >
830  
831   # Initialize some variables set by options.
832   ac_init_help=
# Line 1000 | Line 888 | do
888    fi
889  
890    case $ac_option in
891 <  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 <  *)    ac_optarg=yes ;;
891 >  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 >  *=)   ac_optarg= ;;
893 >  *)    ac_optarg=yes ;;
894    esac
895  
896    # Accept the important Cygnus configure options, so we can diagnose typos.
# Line 1046 | Line 935 | do
935      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936      # Reject names that are not valid shell variable names.
937      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 <      as_fn_error "invalid feature name: $ac_useropt"
938 >      as_fn_error $? "invalid feature name: $ac_useropt"
939      ac_useropt_orig=$ac_useropt
940      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941      case $ac_user_opts in
# Line 1072 | Line 961 | do
961      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962      # Reject names that are not valid shell variable names.
963      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 <      as_fn_error "invalid feature name: $ac_useropt"
964 >      as_fn_error $? "invalid feature name: $ac_useropt"
965      ac_useropt_orig=$ac_useropt
966      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967      case $ac_user_opts in
# Line 1276 | Line 1165 | do
1165      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166      # Reject names that are not valid shell variable names.
1167      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 <      as_fn_error "invalid package name: $ac_useropt"
1168 >      as_fn_error $? "invalid package name: $ac_useropt"
1169      ac_useropt_orig=$ac_useropt
1170      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171      case $ac_user_opts in
# Line 1292 | Line 1181 | do
1181      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182      # Reject names that are not valid shell variable names.
1183      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 <      as_fn_error "invalid package name: $ac_useropt"
1184 >      as_fn_error $? "invalid package name: $ac_useropt"
1185      ac_useropt_orig=$ac_useropt
1186      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187      case $ac_user_opts in
# Line 1322 | Line 1211 | do
1211    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212      x_libraries=$ac_optarg ;;
1213  
1214 <  -*) as_fn_error "unrecognized option: \`$ac_option'
1215 < Try \`$0 --help' for more information."
1214 >  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1215 > Try \`$0 --help' for more information"
1216      ;;
1217  
1218    *=*)
# Line 1331 | Line 1220 | Try \`$0 --help' for more information."
1220      # Reject names that are not valid shell variable names.
1221      case $ac_envvar in #(
1222        '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 <      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1223 >      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1224      esac
1225      eval $ac_envvar=\$ac_optarg
1226      export $ac_envvar ;;
# Line 1341 | Line 1230 | Try \`$0 --help' for more information."
1230      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 <    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 >    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234      ;;
1235  
1236    esac
# Line 1349 | Line 1238 | done
1238  
1239   if test -n "$ac_prev"; then
1240    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 <  as_fn_error "missing argument to $ac_option"
1241 >  as_fn_error $? "missing argument to $ac_option"
1242   fi
1243  
1244   if test -n "$ac_unrecognized_opts"; then
1245    case $enable_option_checking in
1246      no) ;;
1247 <    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1247 >    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1248      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249    esac
1250   fi
# Line 1378 | Line 1267 | do
1267      [\\/$]* | ?:[\\/]* )  continue;;
1268      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269    esac
1270 <  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1270 >  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1271   done
1272  
1273   # There might be people who depend on the old broken behavior: `$host'
# Line 1392 | Line 1281 | target=$target_alias
1281   if test "x$host_alias" != x; then
1282    if test "x$build_alias" = x; then
1283      cross_compiling=maybe
1395    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396    If a cross compiler is detected then cross compile mode will be used." >&2
1284    elif test "x$build_alias" != "x$host_alias"; then
1285      cross_compiling=yes
1286    fi
# Line 1408 | Line 1295 | test "$silent" = yes && exec 6>/dev/null
1295   ac_pwd=`pwd` && test -n "$ac_pwd" &&
1296   ac_ls_di=`ls -di .` &&
1297   ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1298 <  as_fn_error "working directory cannot be determined"
1298 >  as_fn_error $? "working directory cannot be determined"
1299   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 <  as_fn_error "pwd does not report name of working directory"
1300 >  as_fn_error $? "pwd does not report name of working directory"
1301  
1302  
1303   # Find the source files, if location was not specified.
# Line 1449 | Line 1336 | else
1336   fi
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 <  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1339 >  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1340   fi
1341   ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1342   ac_abs_confdir=`(
1343 <        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1343 >        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1344          pwd)`
1345   # When building in place, set srcdir=.
1346   if test "$ac_abs_confdir" = "$ac_pwd"; then
# Line 1479 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1493 | Line 1380 | Configuration:
1380        --help=short        display options specific to this package
1381        --help=recursive    display the short help of all the included packages
1382    -V, --version           display version information and exit
1383 <  -q, --quiet, --silent   do not print \`checking...' messages
1383 >  -q, --quiet, --silent   do not print \`checking ...' messages
1384        --cache-file=FILE   cache test results in FILE [disabled]
1385    -C, --config-cache      alias for \`--cache-file=config.cache'
1386    -n, --no-create         do not create output files
# Line 1549 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1557 | Line 1444 | Optional Features:
1444    --disable-option-checking  ignore unrecognized --enable/--with options
1445    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1446    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1447 <  --enable-maintainer-mode  enable make rules and dependencies not useful
1448 <                          (and sometimes confusing) to the casual installer
1449 <  --disable-dependency-tracking  speeds up one-time build
1450 <  --enable-dependency-tracking   do not reject slow dependency extractors
1447 >  --enable-maintainer-mode
1448 >                          enable make rules and dependencies not useful (and
1449 >                          sometimes confusing) to the casual installer
1450 >  --enable-dependency-tracking
1451 >                          do not reject slow dependency extractors
1452 >  --disable-dependency-tracking
1453 >                          speeds up one-time build
1454    --enable-static[=PKGS]  build static libraries [default=no]
1455    --enable-shared[=PKGS]  build shared libraries [default=yes]
1456    --enable-fast-install[=PKGS]
1457                            optimize for fast installation [default=yes]
1458    --disable-libtool-lock  avoid locking (might break parallel builds)
1459    --enable-ltdl-install   install libltdl
1460 <  --disable-zlib          Disable ziplinks support
1460 >  --disable-libpcre       Disable PCRE support
1461    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1462    --disable-openssl            Disable OpenSSL support.
1463    --enable-assert         Enable assert() statements
# Line 1578 | Line 1468 | Optional Features:
1468    --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1470    --enable-select         Force select usage.
1581  --enable-efnet          For IRCDs running on EFnet.
1471    --enable-halfops        Enable halfops support.
1472    --enable-debugging      Enable debugging.
1473    --enable-warnings       Enable compiler warnings.
1585  --enable-syslog="EVENTS"
1586                          Enable syslog for events: users oper (space
1587                          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
1598  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1486    --with-nicklen=<value>  Set nickname length (default 9).
1487    --with-topiclen=<value> Set topic length (default 160).
1601  --with-syslog-facility=LOG
1602                          Define the syslog facility to use (default:
1603                          LOG_LOCAL4)
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 1608 | Line 1492 | Some influential environment variables:
1492    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1493                nonstandard directory <lib dir>
1494    LIBS        libraries to pass to the linker, e.g. -l<library>
1495 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496                you have headers in a nonstandard directory <include dir>
1497 <  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1498 <              the first program found out of: `bison -y', `byacc', `yacc'.
1497 >  YACC        The `Yet Another Compiler Compiler' implementation to use.
1498 >              Defaults to the first program found out of: `bison -y', `byacc',
1499 >              `yacc'.
1500    YFLAGS      The list of arguments that will be passed by default to $YACC.
1501                This script will default YFLAGS to the empty string to avoid a
1502                default value of `-d' given by some make applications.
# Line 1620 | Line 1505 | Some influential environment variables:
1505   Use these variables to override the choices made by `configure' or to help
1506   it to find libraries and programs with nonstandard names/locations.
1507  
1508 < Report bugs to the package provider.
1508 > Report bugs to <bugs@ircd-hybrid.org>.
1509   _ACEOF
1510   ac_status=$?
1511   fi
# Line 1683 | Line 1568 | fi
1568   test -n "$ac_init_help" && exit $ac_status
1569   if $ac_init_version; then
1570    cat <<\_ACEOF
1571 < ircd-hybrid configure 7.2.4
1572 < generated by GNU Autoconf 2.64
1571 > ircd-hybrid configure 8beta1
1572 > generated by GNU Autoconf 2.69
1573  
1574 < Copyright (C) 2009 Free Software Foundation, Inc.
1574 > Copyright (C) 2012 Free Software Foundation, Inc.
1575   This configure script is free software; the Free Software Foundation
1576   gives unlimited permission to copy, distribute and modify it.
1577   _ACEOF
# Line 1730 | Line 1615 | sed 's/^/| /' conftest.$ac_ext >&5
1615  
1616          ac_retval=1
1617   fi
1618 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1619 <  return $ac_retval
1618 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 >  as_fn_set_status $ac_retval
1620  
1621   } # ac_fn_c_try_compile
1622  
# Line 1762 | Line 1647 | $as_echo "$ac_try_echo"; } >&5
1647           test ! -s conftest.err
1648         } && test -s conftest$ac_exeext && {
1649           test "$cross_compiling" = yes ||
1650 <         $as_test_x conftest$ac_exeext
1650 >         test -x conftest$ac_exeext
1651         }; then :
1652    ac_retval=0
1653   else
# Line 1776 | Line 1661 | fi
1661    # interfere with the next link command; also delete a directory that is
1662    # left behind by Apple's compiler.  We do this before executing the actions.
1663    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1665 <  return $ac_retval
1664 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 >  as_fn_set_status $ac_retval
1666  
1667   } # ac_fn_c_try_link
1668  
# Line 1790 | Line 1675 | ac_fn_c_check_header_compile ()
1675    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677   $as_echo_n "checking for $2... " >&6; }
1678 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1678 > if eval \${$3+:} false; then :
1679    $as_echo_n "(cached) " >&6
1680   else
1681    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1808 | Line 1693 | fi
1693   eval ac_res=\$$3
1694                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695   $as_echo "$ac_res" >&6; }
1696 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697  
1698   } # ac_fn_c_check_header_compile
1699  
# Line 1833 | Line 1718 | $as_echo "$ac_try_echo"; } >&5
1718      mv -f conftest.er1 conftest.err
1719    fi
1720    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 <  test $ac_status = 0; } >/dev/null && {
1721 >  test $ac_status = 0; } > conftest.i && {
1722           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1723           test ! -s conftest.err
1724         }; then :
# Line 1844 | Line 1729 | sed 's/^/| /' conftest.$ac_ext >&5
1729  
1730      ac_retval=1
1731   fi
1732 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 <  return $ac_retval
1732 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 >  as_fn_set_status $ac_retval
1734  
1735   } # ac_fn_c_try_cpp
1736  
# Line 1886 | Line 1771 | sed 's/^/| /' conftest.$ac_ext >&5
1771         ac_retval=$ac_status
1772   fi
1773    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 <  return $ac_retval
1774 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 >  as_fn_set_status $ac_retval
1776  
1777   } # ac_fn_c_try_run
1778  
# Line 1899 | Line 1784 | ac_fn_c_check_func ()
1784    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786   $as_echo_n "checking for $2... " >&6; }
1787 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 > if eval \${$3+:} false; then :
1788    $as_echo_n "(cached) " >&6
1789   else
1790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1954 | Line 1839 | fi
1839   eval ac_res=\$$3
1840                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841   $as_echo "$ac_res" >&6; }
1842 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843  
1844   } # ac_fn_c_check_func
1845  
1846 < # ac_fn_c_check_decl LINENO SYMBOL VAR
1847 < # ------------------------------------
1848 < # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1846 > # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1847 > # ---------------------------------------------
1848 > # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1849 > # accordingly.
1850   ac_fn_c_check_decl ()
1851   {
1852    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1854 < $as_echo_n "checking whether $2 is declared... " >&6; }
1855 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 >  as_decl_name=`echo $2|sed 's/ *(.*//'`
1854 >  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1855 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1856 > $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1857 > if eval \${$3+:} false; then :
1858    $as_echo_n "(cached) " >&6
1859   else
1860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 1975 | Line 1863 | $4
1863   int
1864   main ()
1865   {
1866 < #ifndef $2
1867 <  (void) $2;
1866 > #ifndef $as_decl_name
1867 > #ifdef __cplusplus
1868 >  (void) $as_decl_use;
1869 > #else
1870 >  (void) $as_decl_name;
1871 > #endif
1872   #endif
1873  
1874    ;
# Line 1993 | Line 1885 | fi
1885   eval ac_res=\$$3
1886                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887   $as_echo "$ac_res" >&6; }
1888 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889  
1890   } # ac_fn_c_check_decl
1891  
# Line 2006 | Line 1898 | ac_fn_c_check_type ()
1898    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900   $as_echo_n "checking for $2... " >&6; }
1901 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 > if eval \${$3+:} false; then :
1902    $as_echo_n "(cached) " >&6
1903   else
1904    eval "$3=no"
# Line 2047 | Line 1939 | fi
1939   eval ac_res=\$$3
1940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941   $as_echo "$ac_res" >&6; }
1942 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943  
1944   } # ac_fn_c_check_type
1945  
# Line 2060 | Line 1952 | ac_fn_c_check_member ()
1952    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1954   $as_echo_n "checking for $2.$3... " >&6; }
1955 < if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 > if eval \${$4+:} false; then :
1956    $as_echo_n "(cached) " >&6
1957   else
1958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 2104 | Line 1996 | fi
1996   eval ac_res=\$$4
1997                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998   $as_echo "$ac_res" >&6; }
1999 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000  
2001   } # ac_fn_c_check_member
2002  
2111 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2112 # --------------------------------------------
2113 # Tries to find the compile-time value of EXPR in a program that includes
2114 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2115 # computed
2116 ac_fn_c_compute_int ()
2117 {
2118  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119  if test "$cross_compiling" = yes; then
2120    # Depending upon the size, compute the lo and hi bounds.
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h.  */
2123 $4
2124 int
2125 main ()
2126 {
2127 static int test_array [1 - 2 * !(($2) >= 0)];
2128 test_array [0] = 0
2129
2130  ;
2131  return 0;
2132 }
2133 _ACEOF
2134 if ac_fn_c_try_compile "$LINENO"; then :
2135  ac_lo=0 ac_mid=0
2136  while :; do
2137    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h.  */
2139 $4
2140 int
2141 main ()
2142 {
2143 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2144 test_array [0] = 0
2145
2146  ;
2147  return 0;
2148 }
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151  ac_hi=$ac_mid; break
2152 else
2153  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2154                        if test $ac_lo -le $ac_mid; then
2155                          ac_lo= ac_hi=
2156                          break
2157                        fi
2158                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2159 fi
2160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161  done
2162 else
2163  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h.  */
2165 $4
2166 int
2167 main ()
2168 {
2169 static int test_array [1 - 2 * !(($2) < 0)];
2170 test_array [0] = 0
2171
2172  ;
2173  return 0;
2174 }
2175 _ACEOF
2176 if ac_fn_c_try_compile "$LINENO"; then :
2177  ac_hi=-1 ac_mid=-1
2178  while :; do
2179    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h.  */
2181 $4
2182 int
2183 main ()
2184 {
2185 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2186 test_array [0] = 0
2187
2188  ;
2189  return 0;
2190 }
2191 _ACEOF
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193  ac_lo=$ac_mid; break
2194 else
2195  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2196                        if test $ac_mid -le $ac_hi; then
2197                          ac_lo= ac_hi=
2198                          break
2199                        fi
2200                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2201 fi
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203  done
2204 else
2205  ac_lo= ac_hi=
2206 fi
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 # Binary search between lo and hi bounds.
2211 while test "x$ac_lo" != "x$ac_hi"; do
2212  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h.  */
2215 $4
2216 int
2217 main ()
2218 {
2219 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2220 test_array [0] = 0
2221
2222  ;
2223  return 0;
2224 }
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227  ac_hi=$ac_mid
2228 else
2229  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2230 fi
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 done
2233 case $ac_lo in #((
2234 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2235 '') ac_retval=1 ;;
2236 esac
2237  else
2238    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h.  */
2240 $4
2241 static long int longval () { return $2; }
2242 static unsigned long int ulongval () { return $2; }
2243 #include <stdio.h>
2244 #include <stdlib.h>
2245 int
2246 main ()
2247 {
2248
2249  FILE *f = fopen ("conftest.val", "w");
2250  if (! f)
2251    return 1;
2252  if (($2) < 0)
2253    {
2254      long int i = longval ();
2255      if (i != ($2))
2256        return 1;
2257      fprintf (f, "%ld", i);
2258    }
2259  else
2260    {
2261      unsigned long int i = ulongval ();
2262      if (i != ($2))
2263        return 1;
2264      fprintf (f, "%lu", i);
2265    }
2266  /* Do not output a trailing newline, as this causes \r\n confusion
2267     on some platforms.  */
2268  return ferror (f) || fclose (f) != 0;
2269
2270  ;
2271  return 0;
2272 }
2273 _ACEOF
2274 if ac_fn_c_try_run "$LINENO"; then :
2275  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2276 else
2277  ac_retval=1
2278 fi
2279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2280  conftest.$ac_objext conftest.beam conftest.$ac_ext
2281 rm -f conftest.val
2282
2283  fi
2284  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2285  return $ac_retval
2286
2287 } # ac_fn_c_compute_int
2288
2003   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2004   # -------------------------------------------------------
2005   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2294 | Line 2008 | rm -f conftest.val
2008   ac_fn_c_check_header_mongrel ()
2009   {
2010    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 <  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2011 >  if eval \${$3+:} false; then :
2012    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013   $as_echo_n "checking for $2... " >&6; }
2014 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2014 > if eval \${$3+:} false; then :
2015    $as_echo_n "(cached) " >&6
2016   fi
2017   eval ac_res=\$$3
# Line 2333 | Line 2047 | if ac_fn_c_try_cpp "$LINENO"; then :
2047   else
2048    ac_header_preproc=no
2049   fi
2050 < rm -f conftest.err conftest.$ac_ext
2050 > rm -f conftest.err conftest.i conftest.$ac_ext
2051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2052   $as_echo "$ac_header_preproc" >&6; }
2053  
# Line 2356 | Line 2070 | $as_echo "$as_me: WARNING: $2: see the A
2070   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2071      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 + ( $as_echo "## ----------------------------------- ##
2074 + ## Report this to bugs@ircd-hybrid.org ##
2075 + ## ----------------------------------- ##"
2076 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2077      ;;
2078   esac
2079    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080   $as_echo_n "checking for $2... " >&6; }
2081 < if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 > if eval \${$3+:} false; then :
2082    $as_echo_n "(cached) " >&6
2083   else
2084    eval "$3=\$ac_header_compiler"
# Line 2369 | Line 2087 | eval ac_res=\$$3
2087                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088   $as_echo "$ac_res" >&6; }
2089   fi
2090 <  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 >  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091  
2092   } # ac_fn_c_check_header_mongrel
2093   cat >config.log <<_ACEOF
2094   This file contains any messages produced by compilers while
2095   running configure, to aid debugging if configure makes a mistake.
2096  
2097 < It was created by ircd-hybrid $as_me 7.2.4, which was
2098 < generated by GNU Autoconf 2.64.  Invocation command line was
2097 > It was created by ircd-hybrid $as_me 8beta1, which was
2098 > generated by GNU Autoconf 2.69.  Invocation command line was
2099  
2100    $ $0 $@
2101  
# Line 2487 | Line 2205 | trap 'exit_status=$?
2205    {
2206      echo
2207  
2208 <    cat <<\_ASBOX
2491 < ## ---------------- ##
2208 >    $as_echo "## ---------------- ##
2209   ## Cache variables. ##
2210 < ## ---------------- ##
2494 < _ASBOX
2210 > ## ---------------- ##"
2211      echo
2212      # The following way of writing the cache mishandles newlines in values,
2213   (
# Line 2525 | Line 2241 | $as_echo "$as_me: WARNING: cache variabl
2241   )
2242      echo
2243  
2244 <    cat <<\_ASBOX
2529 < ## ----------------- ##
2244 >    $as_echo "## ----------------- ##
2245   ## Output variables. ##
2246 < ## ----------------- ##
2532 < _ASBOX
2246 > ## ----------------- ##"
2247      echo
2248      for ac_var in $ac_subst_vars
2249      do
# Line 2542 | Line 2256 | _ASBOX
2256      echo
2257  
2258      if test -n "$ac_subst_files"; then
2259 <      cat <<\_ASBOX
2546 < ## ------------------- ##
2259 >      $as_echo "## ------------------- ##
2260   ## File substitutions. ##
2261 < ## ------------------- ##
2549 < _ASBOX
2261 > ## ------------------- ##"
2262        echo
2263        for ac_var in $ac_subst_files
2264        do
# Line 2560 | Line 2272 | _ASBOX
2272      fi
2273  
2274      if test -s confdefs.h; then
2275 <      cat <<\_ASBOX
2564 < ## ----------- ##
2275 >      $as_echo "## ----------- ##
2276   ## confdefs.h. ##
2277 < ## ----------- ##
2567 < _ASBOX
2277 > ## ----------- ##"
2278        echo
2279        cat confdefs.h
2280        echo
# Line 2619 | Line 2329 | _ACEOF
2329   ac_site_file1=NONE
2330   ac_site_file2=NONE
2331   if test -n "$CONFIG_SITE"; then
2332 <  ac_site_file1=$CONFIG_SITE
2332 >  # We do not want a PATH search for config.site.
2333 >  case $CONFIG_SITE in #((
2334 >    -*)  ac_site_file1=./$CONFIG_SITE;;
2335 >    */*) ac_site_file1=$CONFIG_SITE;;
2336 >    *)   ac_site_file1=./$CONFIG_SITE;;
2337 >  esac
2338   elif test "x$prefix" != xNONE; then
2339    ac_site_file1=$prefix/share/config.site
2340    ac_site_file2=$prefix/etc/config.site
# Line 2630 | Line 2345 | fi
2345   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2346   do
2347    test "x$ac_site_file" = xNONE && continue
2348 <  if test -r "$ac_site_file"; then
2348 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2349      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2350   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2351      sed 's/^/| /' "$ac_site_file" >&5
2352 <    . "$ac_site_file"
2352 >    . "$ac_site_file" \
2353 >      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2354 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 > as_fn_error $? "failed to load site script $ac_site_file
2356 > See \`config.log' for more details" "$LINENO" 5; }
2357    fi
2358   done
2359  
2360   if test -r "$cache_file"; then
2361 <  # Some versions of bash will fail to source /dev/null (special
2362 <  # files actually), so we avoid doing that.
2363 <  if test -f "$cache_file"; then
2361 >  # Some versions of bash will fail to source /dev/null (special files
2362 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2363 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2364      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2365   $as_echo "$as_me: loading cache $cache_file" >&6;}
2366      case $cache_file in
# Line 2655 | Line 2374 | $as_echo "$as_me: creating cache $cache_
2374    >$cache_file
2375   fi
2376  
2658 as_fn_append ac_func_list " snprintf"
2659 as_fn_append ac_func_list " vsnprintf"
2377   as_fn_append ac_func_list " mmap"
2378   as_fn_append ac_func_list " strtok_r"
2379   as_fn_append ac_func_list " usleep"
2380   as_fn_append ac_func_list " strlcat"
2381   as_fn_append ac_func_list " strlcpy"
2382   as_fn_append ac_header_list " crypt.h"
2666 as_fn_append ac_header_list " inttypes.h"
2667 as_fn_append ac_header_list " stdint.h"
2383   as_fn_append ac_header_list " sys/resource.h"
2384   as_fn_append ac_header_list " sys/param.h"
2670 as_fn_append ac_header_list " errno.h"
2671 as_fn_append ac_header_list " sys/syslog.h"
2672 as_fn_append ac_header_list " stddef.h"
2673 as_fn_append ac_header_list " libgen.h"
2385   as_fn_append ac_header_list " types.h"
2386   as_fn_append ac_header_list " socket.h"
2387   as_fn_append ac_header_list " sys/wait.h"
2388   as_fn_append ac_header_list " wait.h"
2678 as_fn_append ac_header_list " link.h"
2389   # Check that the precious variables saved in the cache have kept the same
2390   # value.
2391   ac_cache_corrupted=false
# Line 2731 | Line 2441 | if $ac_cache_corrupted; then
2441   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443   $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444 <  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444 >  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2445   fi
2446   ## -------------------- ##
2447   ## Main body of script. ##
# Line 2744 | Line 2454 | ac_link='$CC -o conftest$ac_exeext $CFLA
2454   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455  
2456  
2457 < am__api_version='1.11'
2457 > am__api_version='1.12'
2458  
2459   ac_aux_dir=
2460   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461 <  for ac_t in install-sh install.sh shtool; do
2462 <    if test -f "$ac_dir/$ac_t"; then
2463 <      ac_aux_dir=$ac_dir
2464 <      ac_install_sh="$ac_aux_dir/$ac_t -c"
2465 <      break 2
2466 <    fi
2467 <  done
2461 >  if test -f "$ac_dir/install-sh"; then
2462 >    ac_aux_dir=$ac_dir
2463 >    ac_install_sh="$ac_aux_dir/install-sh -c"
2464 >    break
2465 >  elif test -f "$ac_dir/install.sh"; then
2466 >    ac_aux_dir=$ac_dir
2467 >    ac_install_sh="$ac_aux_dir/install.sh -c"
2468 >    break
2469 >  elif test -f "$ac_dir/shtool"; then
2470 >    ac_aux_dir=$ac_dir
2471 >    ac_install_sh="$ac_aux_dir/shtool install -c"
2472 >    break
2473 >  fi
2474   done
2475   if test -z "$ac_aux_dir"; then
2476 <  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2476 >  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2477   fi
2478  
2479   # These three variables are undocumented and unsupported,
# Line 2786 | Line 2502 | ac_configure="$SHELL $ac_aux_dir/configu
2502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503   $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504   if test -z "$INSTALL"; then
2505 < if test "${ac_cv_path_install+set}" = set; then :
2505 > if ${ac_cv_path_install+:} false; then :
2506    $as_echo_n "(cached) " >&6
2507   else
2508    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 2806 | Line 2522 | case $as_dir/ in #((
2522      # by default.
2523      for ac_prog in ginstall scoinst install; do
2524        for ac_exec_ext in '' $ac_executable_extensions; do
2525 <        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2525 >        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526            if test $ac_prog = install &&
2527              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528              # AIX install.  It has an incompatible calling convention.
# Line 2864 | Line 2580 | test -z "$INSTALL_DATA" && INSTALL_DATA=
2580  
2581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582   $as_echo_n "checking whether build environment is sane... " >&6; }
2867 # Just in case
2868 sleep 1
2869 echo timestamp > conftest.file
2583   # Reject unsafe characters in $srcdir or the absolute working directory
2584   # name.  Accept space and tab only in the latter.
2585   am_lf='
2586   '
2587   case `pwd` in
2588    *[\\\"\#\$\&\'\`$am_lf]*)
2589 <    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2589 >    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2590   esac
2591   case $srcdir in
2592    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2593 <    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2593 >    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2594   esac
2595  
2596 < # Do `set' in a subshell so we don't clobber the current shell's
2596 > # Do 'set' in a subshell so we don't clobber the current shell's
2597   # arguments.  Must try -L first in case configure is actually a
2598   # symlink; some systems play weird games with the mod time of symlinks
2599   # (eg FreeBSD returns the mod time of the symlink's containing
2600   # directory).
2601   if (
2602 <   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603 <   if test "$*" = "X"; then
2604 <      # -L didn't work.
2605 <      set X `ls -t "$srcdir/configure" conftest.file`
2606 <   fi
2607 <   rm -f conftest.file
2608 <   if test "$*" != "X $srcdir/configure conftest.file" \
2609 <      && test "$*" != "X conftest.file $srcdir/configure"; then
2610 <
2611 <      # If neither matched, then we have a broken ls.  This can happen
2899 <      # if, for instance, CONFIG_SHELL is bash and it inherits a
2900 <      # broken ls alias from the environment.  This has actually
2901 <      # happened.  Such a system could not be considered "sane".
2902 <      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2903 < alias in your environment" "$LINENO" 5
2904 <   fi
2602 >   am_has_slept=no
2603 >   for am_try in 1 2; do
2604 >     echo "timestamp, slept: $am_has_slept" > conftest.file
2605 >     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606 >     if test "$*" = "X"; then
2607 >        # -L didn't work.
2608 >        set X `ls -t "$srcdir/configure" conftest.file`
2609 >     fi
2610 >     if test "$*" != "X $srcdir/configure conftest.file" \
2611 >        && test "$*" != "X conftest.file $srcdir/configure"; then
2612  
2613 +        # If neither matched, then we have a broken ls.  This can happen
2614 +        # if, for instance, CONFIG_SHELL is bash and it inherits a
2615 +        # broken ls alias from the environment.  This has actually
2616 +        # happened.  Such a system could not be considered "sane".
2617 +        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2618 +  alias in your environment" "$LINENO" 5
2619 +     fi
2620 +     if test "$2" = conftest.file || test $am_try -eq 2; then
2621 +       break
2622 +     fi
2623 +     # Just in case.
2624 +     sleep 1
2625 +     am_has_slept=yes
2626 +   done
2627     test "$2" = conftest.file
2628     )
2629   then
2630     # Ok.
2631     :
2632   else
2633 <   as_fn_error "newly created file is older than distributed files!
2633 >   as_fn_error $? "newly created file is older than distributed files!
2634   Check your system clock" "$LINENO" 5
2635   fi
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637   $as_echo "yes" >&6; }
2638 + # If we didn't sleep, we still need to ensure time stamps of config.status and
2639 + # generated files are strictly newer.
2640 + am_sleep_pid=
2641 + if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2642 +  ( sleep 1 ) &
2643 +  am_sleep_pid=$!
2644 + fi
2645 +
2646 + rm -f conftest.file
2647 +
2648   test "$program_prefix" != NONE &&
2649    program_transform_name="s&^&$program_prefix&;$program_transform_name"
2650   # Use a double $ so make ignores it.
# Line 2940 | Line 2671 | if eval "$MISSING --run true"; then
2671    am_missing_run="$MISSING --run "
2672   else
2673    am_missing_run=
2674 <  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2675 < $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2674 >  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2675 > $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2676   fi
2677  
2678   if test x"${install_sh}" != xset; then
# Line 2953 | Line 2684 | if test x"${install_sh}" != xset; then
2684    esac
2685   fi
2686  
2687 < # Installed binaries are usually stripped using `strip' when the user
2688 < # run `make install-strip'.  However `strip' might not be the right
2687 > # Installed binaries are usually stripped using 'strip' when the user
2688 > # run "make install-strip".  However 'strip' might not be the right
2689   # tool to use in cross-compilation environments, therefore Automake
2690 < # will honor the `STRIP' environment variable to overrule this program.
2690 > # will honor the 'STRIP' environment variable to overrule this program.
2691   if test "$cross_compiling" != no; then
2692    if test -n "$ac_tool_prefix"; then
2693    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2694   set dummy ${ac_tool_prefix}strip; ac_word=$2
2695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696   $as_echo_n "checking for $ac_word... " >&6; }
2697 < if test "${ac_cv_prog_STRIP+set}" = set; then :
2697 > if ${ac_cv_prog_STRIP+:} false; then :
2698    $as_echo_n "(cached) " >&6
2699   else
2700    if test -n "$STRIP"; then
# Line 2975 | Line 2706 | do
2706    IFS=$as_save_IFS
2707    test -z "$as_dir" && as_dir=.
2708      for ac_exec_ext in '' $ac_executable_extensions; do
2709 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2711      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712      break 2
# Line 3003 | Line 2734 | if test -z "$ac_cv_prog_STRIP"; then
2734   set dummy strip; ac_word=$2
2735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736   $as_echo_n "checking for $ac_word... " >&6; }
2737 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2737 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2738    $as_echo_n "(cached) " >&6
2739   else
2740    if test -n "$ac_ct_STRIP"; then
# Line 3015 | Line 2746 | do
2746    IFS=$as_save_IFS
2747    test -z "$as_dir" && as_dir=.
2748      for ac_exec_ext in '' $ac_executable_extensions; do
2749 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750      ac_cv_prog_ac_ct_STRIP="strip"
2751      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752      break 2
# Line 3056 | Line 2787 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c
2787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2788   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2789   if test -z "$MKDIR_P"; then
2790 <  if test "${ac_cv_path_mkdir+set}" = set; then :
2790 >  if ${ac_cv_path_mkdir+:} false; then :
2791    $as_echo_n "(cached) " >&6
2792   else
2793    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 3066 | Line 2797 | do
2797    test -z "$as_dir" && as_dir=.
2798      for ac_prog in mkdir gmkdir; do
2799           for ac_exec_ext in '' $ac_executable_extensions; do
2800 <           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2800 >           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2801             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2802               'mkdir (GNU coreutils) '* | \
2803               'mkdir (coreutils) '* | \
# Line 3081 | Line 2812 | IFS=$as_save_IFS
2812  
2813   fi
2814  
2815 +  test -d ./--version && rmdir ./--version
2816    if test "${ac_cv_path_mkdir+set}" = set; then
2817      MKDIR_P="$ac_cv_path_mkdir -p"
2818    else
# Line 3088 | Line 2820 | fi
2820      # value for MKDIR_P within a source directory, because that will
2821      # break other packages using the cache if that directory is
2822      # removed, or if the value is a relative name.
3091    test -d ./--version && rmdir ./--version
2823      MKDIR_P="$ac_install_sh -d"
2824    fi
2825   fi
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2827   $as_echo "$MKDIR_P" >&6; }
2828  
3098 mkdir_p="$MKDIR_P"
3099 case $mkdir_p in
3100  [\\/$]* | ?:[\\/]*) ;;
3101  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3102 esac
3103
2829   for ac_prog in gawk mawk nawk awk
2830   do
2831    # Extract the first word of "$ac_prog", so it can be a program name with args.
2832   set dummy $ac_prog; ac_word=$2
2833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834   $as_echo_n "checking for $ac_word... " >&6; }
2835 < if test "${ac_cv_prog_AWK+set}" = set; then :
2835 > if ${ac_cv_prog_AWK+:} false; then :
2836    $as_echo_n "(cached) " >&6
2837   else
2838    if test -n "$AWK"; then
# Line 3119 | Line 2844 | do
2844    IFS=$as_save_IFS
2845    test -z "$as_dir" && as_dir=.
2846      for ac_exec_ext in '' $ac_executable_extensions; do
2847 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848      ac_cv_prog_AWK="$ac_prog"
2849      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850      break 2
# Line 3147 | Line 2872 | done
2872   $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873   set x ${MAKE-make}
2874   ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2875 < if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2875 > if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2876    $as_echo_n "(cached) " >&6
2877   else
2878    cat >conftest.make <<\_ACEOF
# Line 3155 | Line 2880 | SHELL = /bin/sh
2880   all:
2881          @echo '@@@%%%=$(MAKE)=@@@%%%'
2882   _ACEOF
2883 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2883 > # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2884   case `${MAKE-make} -f conftest.make 2>/dev/null` in
2885    *@@@%%%=?*=@@@%%%*)
2886      eval ac_cv_prog_make_${ac_make}_set=yes;;
# Line 3189 | Line 2914 | if test "`cd $srcdir && pwd`" != "`pwd`"
2914    am__isrc=' -I$(srcdir)'
2915    # test to see if srcdir already configured
2916    if test -f $srcdir/config.status; then
2917 <    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917 >    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2918    fi
2919   fi
2920  
# Line 3205 | Line 2930 | fi
2930  
2931   # Define the identity of the package.
2932   PACKAGE='ircd-hybrid'
2933 < VERSION='7.2.4'
2933 > VERSION='8beta1'
2934  
2935  
2936   cat >>confdefs.h <<_ACEOF
# Line 3235 | Line 2960 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2960  
2961   # We need awk for the "check" target.  The system "awk" is bad on
2962   # some platforms.
2963 < # Always define AMTAR for backward compatibility.
2963 > # Always define AMTAR for backward compatibility.  Yes, it's still used
2964 > # in the wild :-(  We should find a proper way to deprecate it ...
2965 > AMTAR='$${TAR-tar}'
2966  
2967 < AMTAR=${AMTAR-"${am_missing_run}tar"}
3241 <
3242 < am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2967 > am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2968  
2969  
2970  
# Line 3272 | Line 2997 | ac_config_headers="$ac_config_headers co
2997  
2998  
2999  
3275
3000   # Checks for programs.
3001 + DEPDIR="${am__leading_dot}deps"
3002 +
3003 + ac_config_commands="$ac_config_commands depfiles"
3004 +
3005 +
3006 + am_make=${MAKE-make}
3007 + cat > confinc << 'END'
3008 + am__doit:
3009 +        @echo this is the am__doit target
3010 + .PHONY: am__doit
3011 + END
3012 + # If we don't find an include directive, just comment out the code.
3013 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3014 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
3015 + am__include="#"
3016 + am__quote=
3017 + _am_result=none
3018 + # First try GNU make style include.
3019 + echo "include confinc" > confmf
3020 + # Ignore all kinds of additional output from 'make'.
3021 + case `$am_make -s -f confmf 2> /dev/null` in #(
3022 + *the\ am__doit\ target*)
3023 +  am__include=include
3024 +  am__quote=
3025 +  _am_result=GNU
3026 +  ;;
3027 + esac
3028 + # Now try BSD make style include.
3029 + if test "$am__include" = "#"; then
3030 +   echo '.include "confinc"' > confmf
3031 +   case `$am_make -s -f confmf 2> /dev/null` in #(
3032 +   *the\ am__doit\ target*)
3033 +     am__include=.include
3034 +     am__quote="\""
3035 +     _am_result=BSD
3036 +     ;;
3037 +   esac
3038 + fi
3039 +
3040 +
3041 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3042 + $as_echo "$_am_result" >&6; }
3043 + rm -f confinc confmf
3044 +
3045 + # Check whether --enable-dependency-tracking was given.
3046 + if test "${enable_dependency_tracking+set}" = set; then :
3047 +  enableval=$enable_dependency_tracking;
3048 + fi
3049 +
3050 + if test "x$enable_dependency_tracking" != xno; then
3051 +  am_depcomp="$ac_aux_dir/depcomp"
3052 +  AMDEPBACKSLASH='\'
3053 +  am__nodep='_no'
3054 + fi
3055 + if test "x$enable_dependency_tracking" != xno; then
3056 +  AMDEP_TRUE=
3057 +  AMDEP_FALSE='#'
3058 + else
3059 +  AMDEP_TRUE='#'
3060 +  AMDEP_FALSE=
3061 + fi
3062 +
3063 +
3064   ac_ext=c
3065   ac_cpp='$CPP $CPPFLAGS'
3066   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3284 | Line 3071 | if test -n "$ac_tool_prefix"; then
3071   set dummy ${ac_tool_prefix}gcc; ac_word=$2
3072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073   $as_echo_n "checking for $ac_word... " >&6; }
3074 < if test "${ac_cv_prog_CC+set}" = set; then :
3074 > if ${ac_cv_prog_CC+:} false; then :
3075    $as_echo_n "(cached) " >&6
3076   else
3077    if test -n "$CC"; then
# Line 3296 | Line 3083 | do
3083    IFS=$as_save_IFS
3084    test -z "$as_dir" && as_dir=.
3085      for ac_exec_ext in '' $ac_executable_extensions; do
3086 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087      ac_cv_prog_CC="${ac_tool_prefix}gcc"
3088      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089      break 2
# Line 3324 | Line 3111 | if test -z "$ac_cv_prog_CC"; then
3111   set dummy gcc; ac_word=$2
3112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113   $as_echo_n "checking for $ac_word... " >&6; }
3114 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3114 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3115    $as_echo_n "(cached) " >&6
3116   else
3117    if test -n "$ac_ct_CC"; then
# Line 3336 | Line 3123 | do
3123    IFS=$as_save_IFS
3124    test -z "$as_dir" && as_dir=.
3125      for ac_exec_ext in '' $ac_executable_extensions; do
3126 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3126 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127      ac_cv_prog_ac_ct_CC="gcc"
3128      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129      break 2
# Line 3377 | Line 3164 | if test -z "$CC"; then
3164   set dummy ${ac_tool_prefix}cc; ac_word=$2
3165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166   $as_echo_n "checking for $ac_word... " >&6; }
3167 < if test "${ac_cv_prog_CC+set}" = set; then :
3167 > if ${ac_cv_prog_CC+:} false; then :
3168    $as_echo_n "(cached) " >&6
3169   else
3170    if test -n "$CC"; then
# Line 3389 | Line 3176 | do
3176    IFS=$as_save_IFS
3177    test -z "$as_dir" && as_dir=.
3178      for ac_exec_ext in '' $ac_executable_extensions; do
3179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180      ac_cv_prog_CC="${ac_tool_prefix}cc"
3181      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182      break 2
# Line 3417 | Line 3204 | if test -z "$CC"; then
3204   set dummy cc; ac_word=$2
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206   $as_echo_n "checking for $ac_word... " >&6; }
3207 < if test "${ac_cv_prog_CC+set}" = set; then :
3207 > if ${ac_cv_prog_CC+:} false; then :
3208    $as_echo_n "(cached) " >&6
3209   else
3210    if test -n "$CC"; then
# Line 3430 | Line 3217 | do
3217    IFS=$as_save_IFS
3218    test -z "$as_dir" && as_dir=.
3219      for ac_exec_ext in '' $ac_executable_extensions; do
3220 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3222         ac_prog_rejected=yes
3223         continue
# Line 3476 | Line 3263 | if test -z "$CC"; then
3263   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265   $as_echo_n "checking for $ac_word... " >&6; }
3266 < if test "${ac_cv_prog_CC+set}" = set; then :
3266 > if ${ac_cv_prog_CC+:} false; then :
3267    $as_echo_n "(cached) " >&6
3268   else
3269    if test -n "$CC"; then
# Line 3488 | Line 3275 | do
3275    IFS=$as_save_IFS
3276    test -z "$as_dir" && as_dir=.
3277      for ac_exec_ext in '' $ac_executable_extensions; do
3278 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3280      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281      break 2
# Line 3520 | Line 3307 | do
3307   set dummy $ac_prog; ac_word=$2
3308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309   $as_echo_n "checking for $ac_word... " >&6; }
3310 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3310 > if ${ac_cv_prog_ac_ct_CC+:} false; then :
3311    $as_echo_n "(cached) " >&6
3312   else
3313    if test -n "$ac_ct_CC"; then
# Line 3532 | Line 3319 | do
3319    IFS=$as_save_IFS
3320    test -z "$as_dir" && as_dir=.
3321      for ac_exec_ext in '' $ac_executable_extensions; do
3322 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323      ac_cv_prog_ac_ct_CC="$ac_prog"
3324      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325      break 2
# Line 3574 | Line 3361 | fi
3361  
3362   test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364 < as_fn_error "no acceptable C compiler found in \$PATH
3365 < See \`config.log' for more details." "$LINENO" 5; }
3364 > as_fn_error $? "no acceptable C compiler found in \$PATH
3365 > See \`config.log' for more details" "$LINENO" 5; }
3366  
3367   # Provide some information about the compiler.
3368   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# Line 3596 | Line 3383 | $as_echo "$ac_try_echo"; } >&5
3383   ... rest of stderr output deleted ...
3384           10q' conftest.err >conftest.er1
3385      cat conftest.er1 >&5
3599    rm -f conftest.er1 conftest.err
3386    fi
3387 +  rm -f conftest.er1 conftest.err
3388    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389    test $ac_status = 0; }
3390   done
3391  
3392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393   /* end confdefs.h.  */
3394 < #include <stdio.h>
3394 >
3395   int
3396   main ()
3397   {
3611 FILE *f = fopen ("conftest.out", "w");
3612 return ferror (f) || fclose (f) != 0;
3398  
3399    ;
3400    return 0;
3401   }
3402   _ACEOF
3403   ac_clean_files_save=$ac_clean_files
3404 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3404 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3405   # Try to create an executable without -o first, disregard a.out.
3406   # It will help us diagnose broken compilers, and finding out an intuition
3407   # of exeext.
3408 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3409 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3408 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3409 > $as_echo_n "checking whether the C compiler works... " >&6; }
3410   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3411  
3412   # The possible output files:
# Line 3683 | Line 3468 | test "$ac_cv_exeext" = no && ac_cv_exeex
3468   else
3469    ac_file=''
3470   fi
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3687 $as_echo "$ac_file" >&6; }
3471   if test -z "$ac_file"; then :
3472 <  $as_echo "$as_me: failed program was:" >&5
3472 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 > $as_echo "no" >&6; }
3474 > $as_echo "$as_me: failed program was:" >&5
3475   sed 's/^/| /' conftest.$ac_ext >&5
3476  
3477   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 < { as_fn_set_status 77
3480 < as_fn_error "C compiler cannot create executables
3481 < See \`config.log' for more details." "$LINENO" 5; }; }
3479 > as_fn_error 77 "C compiler cannot create executables
3480 > See \`config.log' for more details" "$LINENO" 5; }
3481 > else
3482 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3483 > $as_echo "yes" >&6; }
3484   fi
3485 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3486 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3487 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3488 + $as_echo "$ac_file" >&6; }
3489   ac_exeext=$ac_cv_exeext
3490  
3491 < # Check that the compiler produces executables we can run.  If not, either
3701 < # the compiler is broken, or we cross compile.
3702 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3703 < $as_echo_n "checking whether the C compiler works... " >&6; }
3704 < # If not cross compiling, check that we can run a simple program.
3705 < if test "$cross_compiling" != yes; then
3706 <  if { ac_try='./$ac_file'
3707 <  { { case "(($ac_try" in
3708 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709 <  *) ac_try_echo=$ac_try;;
3710 < esac
3711 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 < $as_echo "$ac_try_echo"; } >&5
3713 <  (eval "$ac_try") 2>&5
3714 <  ac_status=$?
3715 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 <  test $ac_status = 0; }; }; then
3717 <    cross_compiling=no
3718 <  else
3719 <    if test "$cross_compiling" = maybe; then
3720 <        cross_compiling=yes
3721 <    else
3722 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 < as_fn_error "cannot run C compiled programs.
3725 < If you meant to cross compile, use \`--host'.
3726 < See \`config.log' for more details." "$LINENO" 5; }
3727 <    fi
3728 <  fi
3729 < fi
3730 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3731 < $as_echo "yes" >&6; }
3732 <
3733 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3491 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3492   ac_clean_files=$ac_clean_files_save
3735 # Check that the compiler produces executables we can run.  If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738 $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3740 $as_echo "$cross_compiling" >&6; }
3741
3493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3494   $as_echo_n "checking for suffix of executables... " >&6; }
3495   if { { ac_try="$ac_link"
# Line 3768 | Line 3519 | done
3519   else
3520    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3521   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522 < as_fn_error "cannot compute suffix of executables: cannot compile and link
3523 < See \`config.log' for more details." "$LINENO" 5; }
3522 > as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3523 > See \`config.log' for more details" "$LINENO" 5; }
3524   fi
3525 < rm -f conftest$ac_cv_exeext
3525 > rm -f conftest conftest$ac_cv_exeext
3526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3527   $as_echo "$ac_cv_exeext" >&6; }
3528  
3529   rm -f conftest.$ac_ext
3530   EXEEXT=$ac_cv_exeext
3531   ac_exeext=$EXEEXT
3532 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 + /* end confdefs.h.  */
3534 + #include <stdio.h>
3535 + int
3536 + main ()
3537 + {
3538 + FILE *f = fopen ("conftest.out", "w");
3539 + return ferror (f) || fclose (f) != 0;
3540 +
3541 +  ;
3542 +  return 0;
3543 + }
3544 + _ACEOF
3545 + ac_clean_files="$ac_clean_files conftest.out"
3546 + # Check that the compiler produces executables we can run.  If not, either
3547 + # the compiler is broken, or we cross compile.
3548 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3549 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3550 + if test "$cross_compiling" != yes; then
3551 +  { { ac_try="$ac_link"
3552 + case "(($ac_try" in
3553 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 +  *) ac_try_echo=$ac_try;;
3555 + esac
3556 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557 + $as_echo "$ac_try_echo"; } >&5
3558 +  (eval "$ac_link") 2>&5
3559 +  ac_status=$?
3560 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3561 +  test $ac_status = 0; }
3562 +  if { ac_try='./conftest$ac_cv_exeext'
3563 +  { { case "(($ac_try" in
3564 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565 +  *) ac_try_echo=$ac_try;;
3566 + esac
3567 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568 + $as_echo "$ac_try_echo"; } >&5
3569 +  (eval "$ac_try") 2>&5
3570 +  ac_status=$?
3571 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572 +  test $ac_status = 0; }; }; then
3573 +    cross_compiling=no
3574 +  else
3575 +    if test "$cross_compiling" = maybe; then
3576 +        cross_compiling=yes
3577 +    else
3578 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 + as_fn_error $? "cannot run C compiled programs.
3581 + If you meant to cross compile, use \`--host'.
3582 + See \`config.log' for more details" "$LINENO" 5; }
3583 +    fi
3584 +  fi
3585 + fi
3586 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3587 + $as_echo "$cross_compiling" >&6; }
3588 +
3589 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3590 + ac_clean_files=$ac_clean_files_save
3591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3592   $as_echo_n "checking for suffix of object files... " >&6; }
3593 < if test "${ac_cv_objext+set}" = set; then :
3593 > if ${ac_cv_objext+:} false; then :
3594    $as_echo_n "(cached) " >&6
3595   else
3596    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3820 | Line 3630 | sed 's/^/| /' conftest.$ac_ext >&5
3630  
3631   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633 < as_fn_error "cannot compute suffix of object files: cannot compile
3634 < See \`config.log' for more details." "$LINENO" 5; }
3633 > as_fn_error $? "cannot compute suffix of object files: cannot compile
3634 > See \`config.log' for more details" "$LINENO" 5; }
3635   fi
3636   rm -f conftest.$ac_cv_objext conftest.$ac_ext
3637   fi
# Line 3831 | Line 3641 | OBJEXT=$ac_cv_objext
3641   ac_objext=$OBJEXT
3642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3643   $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3644 < if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3644 > if ${ac_cv_c_compiler_gnu+:} false; then :
3645    $as_echo_n "(cached) " >&6
3646   else
3647    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 3868 | Line 3678 | ac_test_CFLAGS=${CFLAGS+set}
3678   ac_save_CFLAGS=$CFLAGS
3679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3680   $as_echo_n "checking whether $CC accepts -g... " >&6; }
3681 < if test "${ac_cv_prog_cc_g+set}" = set; then :
3681 > if ${ac_cv_prog_cc_g+:} false; then :
3682    $as_echo_n "(cached) " >&6
3683   else
3684    ac_save_c_werror_flag=$ac_c_werror_flag
# Line 3946 | Line 3756 | else
3756   fi
3757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3758   $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3759 < if test "${ac_cv_prog_cc_c89+set}" = set; then :
3759 > if ${ac_cv_prog_cc_c89+:} false; then :
3760    $as_echo_n "(cached) " >&6
3761   else
3762    ac_cv_prog_cc_c89=no
# Line 3955 | Line 3765 | cat confdefs.h - <<_ACEOF >conftest.$ac_
3765   /* end confdefs.h.  */
3766   #include <stdarg.h>
3767   #include <stdio.h>
3768 < #include <sys/types.h>
3959 < #include <sys/stat.h>
3768 > struct stat;
3769   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3770   struct buf { int x; };
3771   FILE * (*rcsopen) (struct buf *, struct stat *, int);
# Line 4040 | Line 3849 | ac_cpp='$CPP $CPPFLAGS'
3849   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4043 DEPDIR="${am__leading_dot}deps"
4044
4045 ac_config_commands="$ac_config_commands depfiles"
4046
4047
4048 am_make=${MAKE-make}
4049 cat > confinc << 'END'
4050 am__doit:
4051        @echo this is the am__doit target
4052 .PHONY: am__doit
4053 END
4054 # If we don't find an include directive, just comment out the code.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4056 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4057 am__include="#"
4058 am__quote=
4059 _am_result=none
4060 # First try GNU make style include.
4061 echo "include confinc" > confmf
4062 # Ignore all kinds of additional output from `make'.
4063 case `$am_make -s -f confmf 2> /dev/null` in #(
4064 *the\ am__doit\ target*)
4065  am__include=include
4066  am__quote=
4067  _am_result=GNU
4068  ;;
4069 esac
4070 # Now try BSD make style include.
4071 if test "$am__include" = "#"; then
4072   echo '.include "confinc"' > confmf
4073   case `$am_make -s -f confmf 2> /dev/null` in #(
4074   *the\ am__doit\ target*)
4075     am__include=.include
4076     am__quote="\""
4077     _am_result=BSD
4078     ;;
4079   esac
4080 fi
4081
4082
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4084 $as_echo "$_am_result" >&6; }
4085 rm -f confinc confmf
4086
4087 # Check whether --enable-dependency-tracking was given.
4088 if test "${enable_dependency_tracking+set}" = set; then :
4089  enableval=$enable_dependency_tracking;
4090 fi
4091
4092 if test "x$enable_dependency_tracking" != xno; then
4093  am_depcomp="$ac_aux_dir/depcomp"
4094  AMDEPBACKSLASH='\'
4095 fi
4096 if test "x$enable_dependency_tracking" != xno; then
4097  AMDEP_TRUE=
4098  AMDEP_FALSE='#'
4099 else
4100  AMDEP_TRUE='#'
4101  AMDEP_FALSE=
4102 fi
4103
4104
3852  
3853   depcc="$CC"   am_compiler_list=
3854  
3855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3856   $as_echo_n "checking dependency style of $depcc... " >&6; }
3857 < if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3857 > if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3858    $as_echo_n "(cached) " >&6
3859   else
3860    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3861    # We make a subdir and do the tests there.  Otherwise we can end up
3862    # making bogus files that we don't know about and never remove.  For
3863    # instance it was reported that on HP-UX the gcc test will end up
3864 <  # making a dummy file named `D' -- because `-MD' means `put the output
3865 <  # in D'.
3864 >  # making a dummy file named 'D' -- because '-MD' means "put the output
3865 >  # in D".
3866 >  rm -rf conftest.dir
3867    mkdir conftest.dir
3868    # Copy depcomp to subdir because otherwise we won't find it if we're
3869    # using a relative directory.
# Line 4149 | Line 3897 | else
3897      : > sub/conftest.c
3898      for i in 1 2 3 4 5 6; do
3899        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3900 <      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3901 <      # Solaris 8's {/usr,}/bin/sh.
3902 <      touch sub/conftst$i.h
3900 >      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3901 >      # Solaris 10 /bin/sh.
3902 >      echo '/* dummy */' > sub/conftst$i.h
3903      done
3904      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3905  
3906 <    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3906 >    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3907      # mode.  It turns out that the SunPro C++ compiler does not properly
3908 <    # handle `-M -o', and we need to detect this.  Also, some Intel
3909 <    # versions had trouble with output in subdirs
3908 >    # handle '-M -o', and we need to detect this.  Also, some Intel
3909 >    # versions had trouble with output in subdirs.
3910      am__obj=sub/conftest.${OBJEXT-o}
3911      am__minus_obj="-o $am__obj"
3912      case $depmode in
# Line 4167 | Line 3915 | else
3915        test "$am__universal" = false || continue
3916        ;;
3917      nosideeffect)
3918 <      # after this tag, mechanisms are not by side-effect, so they'll
3919 <      # only be used when explicitly requested
3918 >      # After this tag, mechanisms are not by side-effect, so they'll
3919 >      # only be used when explicitly requested.
3920        if test "x$enable_dependency_tracking" = xyes; then
3921          continue
3922        else
3923          break
3924        fi
3925        ;;
3926 <    msvisualcpp | msvcmsys)
3927 <      # This compiler won't grok `-c -o', but also, the minuso test has
3926 >    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3927 >      # This compiler won't grok '-c -o', but also, the minuso test has
3928        # not run yet.  These depmodes are late enough in the game, and
3929        # so weak that their functioning should not be impacted.
3930        am__obj=conftest.${OBJEXT-o}
# Line 4230 | Line 3978 | else
3978   fi
3979  
3980  
3981 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3982 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3983 + if ${ac_cv_prog_cc_c99+:} false; then :
3984 +  $as_echo_n "(cached) " >&6
3985 + else
3986 +  ac_cv_prog_cc_c99=no
3987 + ac_save_CC=$CC
3988 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 + /* end confdefs.h.  */
3990 + #include <stdarg.h>
3991 + #include <stdbool.h>
3992 + #include <stdlib.h>
3993 + #include <wchar.h>
3994 + #include <stdio.h>
3995 +
3996 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
3997 + #define debug(...) fprintf (stderr, __VA_ARGS__)
3998 + #define showlist(...) puts (#__VA_ARGS__)
3999 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4000 + static void
4001 + test_varargs_macros (void)
4002 + {
4003 +  int x = 1234;
4004 +  int y = 5678;
4005 +  debug ("Flag");
4006 +  debug ("X = %d\n", x);
4007 +  showlist (The first, second, and third items.);
4008 +  report (x>y, "x is %d but y is %d", x, y);
4009 + }
4010 +
4011 + // Check long long types.
4012 + #define BIG64 18446744073709551615ull
4013 + #define BIG32 4294967295ul
4014 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4015 + #if !BIG_OK
4016 +  your preprocessor is broken;
4017 + #endif
4018 + #if BIG_OK
4019 + #else
4020 +  your preprocessor is broken;
4021 + #endif
4022 + static long long int bignum = -9223372036854775807LL;
4023 + static unsigned long long int ubignum = BIG64;
4024 +
4025 + struct incomplete_array
4026 + {
4027 +  int datasize;
4028 +  double data[];
4029 + };
4030 +
4031 + struct named_init {
4032 +  int number;
4033 +  const wchar_t *name;
4034 +  double average;
4035 + };
4036 +
4037 + typedef const char *ccp;
4038 +
4039 + static inline int
4040 + test_restrict (ccp restrict text)
4041 + {
4042 +  // See if C++-style comments work.
4043 +  // Iterate through items via the restricted pointer.
4044 +  // Also check for declarations in for loops.
4045 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4046 +    continue;
4047 +  return 0;
4048 + }
4049 +
4050 + // Check varargs and va_copy.
4051 + static void
4052 + test_varargs (const char *format, ...)
4053 + {
4054 +  va_list args;
4055 +  va_start (args, format);
4056 +  va_list args_copy;
4057 +  va_copy (args_copy, args);
4058 +
4059 +  const char *str;
4060 +  int number;
4061 +  float fnumber;
4062 +
4063 +  while (*format)
4064 +    {
4065 +      switch (*format++)
4066 +        {
4067 +        case 's': // string
4068 +          str = va_arg (args_copy, const char *);
4069 +          break;
4070 +        case 'd': // int
4071 +          number = va_arg (args_copy, int);
4072 +          break;
4073 +        case 'f': // float
4074 +          fnumber = va_arg (args_copy, double);
4075 +          break;
4076 +        default:
4077 +          break;
4078 +        }
4079 +    }
4080 +  va_end (args_copy);
4081 +  va_end (args);
4082 + }
4083 +
4084 + int
4085 + main ()
4086 + {
4087 +
4088 +  // Check bool.
4089 +  _Bool success = false;
4090 +
4091 +  // Check restrict.
4092 +  if (test_restrict ("String literal") == 0)
4093 +    success = true;
4094 +  char *restrict newvar = "Another string";
4095 +
4096 +  // Check varargs.
4097 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4098 +  test_varargs_macros ();
4099 +
4100 +  // Check flexible array members.
4101 +  struct incomplete_array *ia =
4102 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4103 +  ia->datasize = 10;
4104 +  for (int i = 0; i < ia->datasize; ++i)
4105 +    ia->data[i] = i * 1.234;
4106 +
4107 +  // Check named initializers.
4108 +  struct named_init ni = {
4109 +    .number = 34,
4110 +    .name = L"Test wide string",
4111 +    .average = 543.34343,
4112 +  };
4113 +
4114 +  ni.number = 58;
4115 +
4116 +  int dynamic_array[ni.number];
4117 +  dynamic_array[ni.number - 1] = 543;
4118 +
4119 +  // work around unused variable warnings
4120 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4121 +          || dynamic_array[ni.number - 1] != 543);
4122 +
4123 +  ;
4124 +  return 0;
4125 + }
4126 + _ACEOF
4127 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4128 + do
4129 +  CC="$ac_save_CC $ac_arg"
4130 +  if ac_fn_c_try_compile "$LINENO"; then :
4131 +  ac_cv_prog_cc_c99=$ac_arg
4132 + fi
4133 + rm -f core conftest.err conftest.$ac_objext
4134 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4135 + done
4136 + rm -f conftest.$ac_ext
4137 + CC=$ac_save_CC
4138 +
4139 + fi
4140 + # AC_CACHE_VAL
4141 + case "x$ac_cv_prog_cc_c99" in
4142 +  x)
4143 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4144 + $as_echo "none needed" >&6; } ;;
4145 +  xno)
4146 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4147 + $as_echo "unsupported" >&6; } ;;
4148 +  *)
4149 +    CC="$CC $ac_cv_prog_cc_c99"
4150 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4151 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4152 + esac
4153 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4154 +
4155 + fi
4156 +
4157 +
4158 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4159 +  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4160 + fi
4161   for ac_prog in 'bison -y' byacc
4162   do
4163    # Extract the first word of "$ac_prog", so it can be a program name with args.
4164   set dummy $ac_prog; ac_word=$2
4165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4166   $as_echo_n "checking for $ac_word... " >&6; }
4167 < if test "${ac_cv_prog_YACC+set}" = set; then :
4167 > if ${ac_cv_prog_YACC+:} false; then :
4168    $as_echo_n "(cached) " >&6
4169   else
4170    if test -n "$YACC"; then
# Line 4248 | Line 4176 | do
4176    IFS=$as_save_IFS
4177    test -z "$as_dir" && as_dir=.
4178      for ac_exec_ext in '' $ac_executable_extensions; do
4179 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180      ac_cv_prog_YACC="$ac_prog"
4181      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182      break 2
# Line 4280 | Line 4208 | do
4208   set dummy $ac_prog; ac_word=$2
4209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210   $as_echo_n "checking for $ac_word... " >&6; }
4211 < if test "${ac_cv_prog_LEX+set}" = set; then :
4211 > if ${ac_cv_prog_LEX+:} false; then :
4212    $as_echo_n "(cached) " >&6
4213   else
4214    if test -n "$LEX"; then
# Line 4292 | Line 4220 | do
4220    IFS=$as_save_IFS
4221    test -z "$as_dir" && as_dir=.
4222      for ac_exec_ext in '' $ac_executable_extensions; do
4223 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224      ac_cv_prog_LEX="$ac_prog"
4225      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4226      break 2
# Line 4324 | Line 4252 | a { ECHO; }
4252   b { REJECT; }
4253   c { yymore (); }
4254   d { yyless (1); }
4255 < e { yyless (input () != 0); }
4255 > e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4256 >    yyless ((input () != 0)); }
4257   f { unput (yytext[0]); }
4258   . { BEGIN INITIAL; }
4259   %%
# Line 4350 | Line 4279 | $as_echo "$ac_try_echo"; } >&5
4279    test $ac_status = 0; }
4280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4281   $as_echo_n "checking lex output file root... " >&6; }
4282 < if test "${ac_cv_prog_lex_root+set}" = set; then :
4282 > if ${ac_cv_prog_lex_root+:} false; then :
4283    $as_echo_n "(cached) " >&6
4284   else
4285  
# Line 4359 | Line 4288 | if test -f lex.yy.c; then
4288   elif test -f lexyy.c; then
4289    ac_cv_prog_lex_root=lexyy
4290   else
4291 <  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4291 >  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4292   fi
4293   fi
4294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
# Line 4369 | Line 4298 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4298   if test -z "${LEXLIB+set}"; then
4299    { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4300   $as_echo_n "checking lex library... " >&6; }
4301 < if test "${ac_cv_lib_lex+set}" = set; then :
4301 > if ${ac_cv_lib_lex+:} false; then :
4302    $as_echo_n "(cached) " >&6
4303   else
4304  
# Line 4399 | Line 4328 | fi
4328  
4329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4330   $as_echo_n "checking whether yytext is a pointer... " >&6; }
4331 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4331 > if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4332    $as_echo_n "(cached) " >&6
4333   else
4334    # POSIX says lex can declare yytext either as a pointer or an array; the
# Line 4410 | Line 4339 | ac_save_LIBS=$LIBS
4339   LIBS="$LEXLIB $ac_save_LIBS"
4340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341   /* end confdefs.h.  */
4342 < #define YYTEXT_POINTER 1
4342 >
4343 >  #define YYTEXT_POINTER 1
4344   `cat $LEX_OUTPUT_ROOT.c`
4345   _ACEOF
4346   if ac_fn_c_try_link "$LINENO"; then :
# Line 4436 | Line 4366 | if test "$LEX" = :; then
4366   fi
4367  
4368  
4369 + # Initializing libtool.
4370 +
4371 +
4372 +
4373 +
4374 +
4375 +
4376  
4440 #ltdl stuff
4377   case `pwd` in
4378    *\ * | *\     *)
4379      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4446 | Line 4382 | esac
4382  
4383  
4384  
4385 < macro_version='2.2.6'
4386 < macro_revision='1.3012'
4385 > macro_version='2.4.2'
4386 > macro_revision='1.3337'
4387  
4388  
4389  
# Line 4465 | Line 4401 | ltmain="$ac_aux_dir/ltmain.sh"
4401  
4402   # Make sure we can run config.sub.
4403   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4404 <  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4404 >  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4405  
4406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4407   $as_echo_n "checking build system type... " >&6; }
4408 < if test "${ac_cv_build+set}" = set; then :
4408 > if ${ac_cv_build+:} false; then :
4409    $as_echo_n "(cached) " >&6
4410   else
4411    ac_build_alias=$build_alias
4412   test "x$ac_build_alias" = x &&
4413    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4414   test "x$ac_build_alias" = x &&
4415 <  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4415 >  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4416   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4417 <  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4417 >  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4418  
4419   fi
4420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4421   $as_echo "$ac_cv_build" >&6; }
4422   case $ac_cv_build in
4423   *-*-*) ;;
4424 < *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4424 > *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4425   esac
4426   build=$ac_cv_build
4427   ac_save_IFS=$IFS; IFS='-'
# Line 4503 | Line 4439 | case $build_os in *\ *) build_os=`echo "
4439  
4440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4441   $as_echo_n "checking host system type... " >&6; }
4442 < if test "${ac_cv_host+set}" = set; then :
4442 > if ${ac_cv_host+:} false; then :
4443    $as_echo_n "(cached) " >&6
4444   else
4445    if test "x$host_alias" = x; then
4446    ac_cv_host=$ac_cv_build
4447   else
4448    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4449 <    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4449 >    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4450   fi
4451  
4452   fi
# Line 4518 | Line 4454 | fi
4454   $as_echo "$ac_cv_host" >&6; }
4455   case $ac_cv_host in
4456   *-*-*) ;;
4457 < *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4457 > *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4458   esac
4459   host=$ac_cv_host
4460   ac_save_IFS=$IFS; IFS='-'
# Line 4534 | Line 4470 | IFS=$ac_save_IFS
4470   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4471  
4472  
4473 + # Backslashify metacharacters that are still active within
4474 + # double-quoted strings.
4475 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4476 +
4477 + # Same as above, but do not quote variable references.
4478 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4479 +
4480 + # Sed substitution to delay expansion of an escaped shell variable in a
4481 + # double_quote_subst'ed string.
4482 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4483 +
4484 + # Sed substitution to delay expansion of an escaped single quote.
4485 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4486 +
4487 + # Sed substitution to avoid accidental globbing in evaled expressions
4488 + no_glob_subst='s/\*/\\\*/g'
4489 +
4490 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4491 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4492 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4493 +
4494 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4495 + $as_echo_n "checking how to print strings... " >&6; }
4496 + # Test print first, because it will be a builtin if present.
4497 + if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4498 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4499 +  ECHO='print -r --'
4500 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4501 +  ECHO='printf %s\n'
4502 + else
4503 +  # Use this function as a fallback that always works.
4504 +  func_fallback_echo ()
4505 +  {
4506 +    eval 'cat <<_LTECHO_EOF
4507 + $1
4508 + _LTECHO_EOF'
4509 +  }
4510 +  ECHO='func_fallback_echo'
4511 + fi
4512 +
4513 + # func_echo_all arg...
4514 + # Invoke $ECHO with all args, space-separated.
4515 + func_echo_all ()
4516 + {
4517 +    $ECHO ""
4518 + }
4519 +
4520 + case "$ECHO" in
4521 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4522 + $as_echo "printf" >&6; } ;;
4523 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4524 + $as_echo "print -r" >&6; } ;;
4525 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4526 + $as_echo "cat" >&6; } ;;
4527 + esac
4528 +
4529 +
4530 +
4531 +
4532 +
4533 +
4534 +
4535 +
4536 +
4537 +
4538 +
4539 +
4540 +
4541 +
4542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4543   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4544 < if test "${ac_cv_path_SED+set}" = set; then :
4544 > if ${ac_cv_path_SED+:} false; then :
4545    $as_echo_n "(cached) " >&6
4546   else
4547              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
# Line 4556 | Line 4561 | do
4561      for ac_prog in sed gsed; do
4562      for ac_exec_ext in '' $ac_executable_extensions; do
4563        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4564 <      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4564 >      as_fn_executable_p "$ac_path_SED" || continue
4565   # Check for GNU ac_path_SED and select it if it is found.
4566    # Check for GNU $ac_path_SED
4567   case `"$ac_path_SED" --version 2>&1` in
# Line 4591 | Line 4596 | esac
4596    done
4597   IFS=$as_save_IFS
4598    if test -z "$ac_cv_path_SED"; then
4599 <    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4599 >    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4600    fi
4601   else
4602    ac_cv_path_SED=$SED
# Line 4618 | Line 4623 | Xsed="$SED -e 1s/^X//"
4623  
4624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4625   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4626 < if test "${ac_cv_path_GREP+set}" = set; then :
4626 > if ${ac_cv_path_GREP+:} false; then :
4627    $as_echo_n "(cached) " >&6
4628   else
4629    if test -z "$GREP"; then
# Line 4632 | Line 4637 | do
4637      for ac_prog in grep ggrep; do
4638      for ac_exec_ext in '' $ac_executable_extensions; do
4639        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4640 <      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4640 >      as_fn_executable_p "$ac_path_GREP" || continue
4641   # Check for GNU ac_path_GREP and select it if it is found.
4642    # Check for GNU $ac_path_GREP
4643   case `"$ac_path_GREP" --version 2>&1` in
# Line 4667 | Line 4672 | esac
4672    done
4673   IFS=$as_save_IFS
4674    if test -z "$ac_cv_path_GREP"; then
4675 <    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4675 >    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4676    fi
4677   else
4678    ac_cv_path_GREP=$GREP
# Line 4681 | Line 4686 | $as_echo "$ac_cv_path_GREP" >&6; }
4686  
4687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4688   $as_echo_n "checking for egrep... " >&6; }
4689 < if test "${ac_cv_path_EGREP+set}" = set; then :
4689 > if ${ac_cv_path_EGREP+:} false; then :
4690    $as_echo_n "(cached) " >&6
4691   else
4692    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
# Line 4698 | Line 4703 | do
4703      for ac_prog in egrep; do
4704      for ac_exec_ext in '' $ac_executable_extensions; do
4705        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4706 <      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4706 >      as_fn_executable_p "$ac_path_EGREP" || continue
4707   # Check for GNU ac_path_EGREP and select it if it is found.
4708    # Check for GNU $ac_path_EGREP
4709   case `"$ac_path_EGREP" --version 2>&1` in
# Line 4733 | Line 4738 | esac
4738    done
4739   IFS=$as_save_IFS
4740    if test -z "$ac_cv_path_EGREP"; then
4741 <    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4741 >    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742    fi
4743   else
4744    ac_cv_path_EGREP=$EGREP
# Line 4748 | Line 4753 | $as_echo "$ac_cv_path_EGREP" >&6; }
4753  
4754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4755   $as_echo_n "checking for fgrep... " >&6; }
4756 < if test "${ac_cv_path_FGREP+set}" = set; then :
4756 > if ${ac_cv_path_FGREP+:} false; then :
4757    $as_echo_n "(cached) " >&6
4758   else
4759    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
# Line 4765 | Line 4770 | do
4770      for ac_prog in fgrep; do
4771      for ac_exec_ext in '' $ac_executable_extensions; do
4772        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4773 <      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4773 >      as_fn_executable_p "$ac_path_FGREP" || continue
4774   # Check for GNU ac_path_FGREP and select it if it is found.
4775    # Check for GNU $ac_path_FGREP
4776   case `"$ac_path_FGREP" --version 2>&1` in
# Line 4800 | Line 4805 | esac
4805    done
4806   IFS=$as_save_IFS
4807    if test -z "$ac_cv_path_FGREP"; then
4808 <    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4808 >    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809    fi
4810   else
4811    ac_cv_path_FGREP=$FGREP
# Line 4879 | Line 4884 | else
4884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4885   $as_echo_n "checking for non-GNU ld... " >&6; }
4886   fi
4887 < if test "${lt_cv_path_LD+set}" = set; then :
4887 > if ${lt_cv_path_LD+:} false; then :
4888    $as_echo_n "(cached) " >&6
4889   else
4890    if test -z "$LD"; then
# Line 4916 | Line 4921 | else
4921    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922   $as_echo "no" >&6; }
4923   fi
4924 < test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4924 > test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4926   $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4927 < if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4927 > if ${lt_cv_prog_gnu_ld+:} false; then :
4928    $as_echo_n "(cached) " >&6
4929   else
4930    # I'd rather use --version here, but apparently some GNU lds only accept -v.
# Line 4946 | Line 4951 | with_gnu_ld=$lt_cv_prog_gnu_ld
4951  
4952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4953   $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4954 < if test "${lt_cv_path_NM+set}" = set; then :
4954 > if ${lt_cv_path_NM+:} false; then :
4955    $as_echo_n "(cached) " >&6
4956   else
4957    if test -n "$NM"; then
# Line 4999 | Line 5004 | if test "$lt_cv_path_NM" != "no"; then
5004    NM="$lt_cv_path_NM"
5005   else
5006    # Didn't find any BSD compatible name lister, look for dumpbin.
5007 <  if test -n "$ac_tool_prefix"; then
5008 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5007 >  if test -n "$DUMPBIN"; then :
5008 >    # Let the user override the test.
5009 >  else
5010 >    if test -n "$ac_tool_prefix"; then
5011 >  for ac_prog in dumpbin "link -dump"
5012    do
5013      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5014   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016   $as_echo_n "checking for $ac_word... " >&6; }
5017 < if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5017 > if ${ac_cv_prog_DUMPBIN+:} false; then :
5018    $as_echo_n "(cached) " >&6
5019   else
5020    if test -n "$DUMPBIN"; then
# Line 5018 | Line 5026 | do
5026    IFS=$as_save_IFS
5027    test -z "$as_dir" && as_dir=.
5028      for ac_exec_ext in '' $ac_executable_extensions; do
5029 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5031      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032      break 2
# Line 5044 | Line 5052 | fi
5052   fi
5053   if test -z "$DUMPBIN"; then
5054    ac_ct_DUMPBIN=$DUMPBIN
5055 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5055 >  for ac_prog in dumpbin "link -dump"
5056   do
5057    # Extract the first word of "$ac_prog", so it can be a program name with args.
5058   set dummy $ac_prog; ac_word=$2
5059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060   $as_echo_n "checking for $ac_word... " >&6; }
5061 < if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5061 > if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5062    $as_echo_n "(cached) " >&6
5063   else
5064    if test -n "$ac_ct_DUMPBIN"; then
# Line 5062 | Line 5070 | do
5070    IFS=$as_save_IFS
5071    test -z "$as_dir" && as_dir=.
5072      for ac_exec_ext in '' $ac_executable_extensions; do
5073 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5075      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076      break 2
# Line 5099 | Line 5107 | esac
5107    fi
5108   fi
5109  
5110 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5111 +    *COFF*)
5112 +      DUMPBIN="$DUMPBIN -symbols"
5113 +      ;;
5114 +    *)
5115 +      DUMPBIN=:
5116 +      ;;
5117 +    esac
5118 +  fi
5119  
5120    if test "$DUMPBIN" != ":"; then
5121      NM="$DUMPBIN"
# Line 5113 | Line 5130 | test -z "$NM" && NM=nm
5130  
5131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5132   $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5133 < if test "${lt_cv_nm_interface+set}" = set; then :
5133 > if ${lt_cv_nm_interface+:} false; then :
5134    $as_echo_n "(cached) " >&6
5135   else
5136    lt_cv_nm_interface="BSD nm"
5137    echo "int some_variable = 0;" > conftest.$ac_ext
5138 <  (eval echo "\"\$as_me:5121: $ac_compile\"" >&5)
5138 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5139    (eval "$ac_compile" 2>conftest.err)
5140    cat conftest.err >&5
5141 <  (eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5141 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5142    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5143    cat conftest.err >&5
5144 <  (eval echo "\"\$as_me:5127: output\"" >&5)
5144 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5145    cat conftest.out >&5
5146    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5147      lt_cv_nm_interface="MS dumpbin"
# Line 5148 | Line 5165 | fi
5165   # find the maximum length of command line arguments
5166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5167   $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5168 < if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5168 > if ${lt_cv_sys_max_cmd_len+:} false; then :
5169    $as_echo_n "(cached) " >&6
5170   else
5171      i=0
# Line 5181 | Line 5198 | else
5198      lt_cv_sys_max_cmd_len=8192;
5199      ;;
5200  
5201 +  mint*)
5202 +    # On MiNT this can take a long time and run out of memory.
5203 +    lt_cv_sys_max_cmd_len=8192;
5204 +    ;;
5205 +
5206    amigaos*)
5207      # On AmigaOS with pdksh, this test takes hours, literally.
5208      # So we just punt and use a minimum line length of 8192.
# Line 5206 | Line 5228 | else
5228      lt_cv_sys_max_cmd_len=196608
5229      ;;
5230  
5231 +  os2*)
5232 +    # The test takes a long time on OS/2.
5233 +    lt_cv_sys_max_cmd_len=8192
5234 +    ;;
5235 +
5236    osf*)
5237      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5238      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
# Line 5245 | Line 5272 | else
5272        # If test is not a shell built-in, we'll probably end up computing a
5273        # maximum length that is only half of the actual maximum length, but
5274        # we can't tell.
5275 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5276 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5275 >      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5276 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5277                test $i != 17 # 1/2 MB should be enough
5278        do
5279          i=`expr $i + 1`
# Line 5288 | Line 5315 | $as_echo_n "checking whether the shell u
5315   # Try some XSI features
5316   xsi_shell=no
5317   ( _lt_dummy="a/b/c"
5318 <  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5319 <      = c,a/b,, \
5318 >  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5319 >      = c,a/b,b/c, \
5320      && eval 'test $(( 1 + 1 )) -eq 2 \
5321      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5322    && xsi_shell=yes
# Line 5338 | Line 5365 | esac
5365  
5366  
5367  
5368 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5369 + $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5370 + if ${lt_cv_to_host_file_cmd+:} false; then :
5371 +  $as_echo_n "(cached) " >&6
5372 + else
5373 +  case $host in
5374 +  *-*-mingw* )
5375 +    case $build in
5376 +      *-*-mingw* ) # actually msys
5377 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5378 +        ;;
5379 +      *-*-cygwin* )
5380 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5381 +        ;;
5382 +      * ) # otherwise, assume *nix
5383 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5384 +        ;;
5385 +    esac
5386 +    ;;
5387 +  *-*-cygwin* )
5388 +    case $build in
5389 +      *-*-mingw* ) # actually msys
5390 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5391 +        ;;
5392 +      *-*-cygwin* )
5393 +        lt_cv_to_host_file_cmd=func_convert_file_noop
5394 +        ;;
5395 +      * ) # otherwise, assume *nix
5396 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5397 +        ;;
5398 +    esac
5399 +    ;;
5400 +  * ) # unhandled hosts (and "normal" native builds)
5401 +    lt_cv_to_host_file_cmd=func_convert_file_noop
5402 +    ;;
5403 + esac
5404 +
5405 + fi
5406 +
5407 + to_host_file_cmd=$lt_cv_to_host_file_cmd
5408 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5409 + $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5410 +
5411 +
5412 +
5413 +
5414 +
5415 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5416 + $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5417 + if ${lt_cv_to_tool_file_cmd+:} false; then :
5418 +  $as_echo_n "(cached) " >&6
5419 + else
5420 +  #assume ordinary cross tools, or native build.
5421 + lt_cv_to_tool_file_cmd=func_convert_file_noop
5422 + case $host in
5423 +  *-*-mingw* )
5424 +    case $build in
5425 +      *-*-mingw* ) # actually msys
5426 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5427 +        ;;
5428 +    esac
5429 +    ;;
5430 + esac
5431 +
5432 + fi
5433 +
5434 + to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5435 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5436 + $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5437 +
5438 +
5439 +
5440 +
5441 +
5442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5443   $as_echo_n "checking for $LD option to reload object files... " >&6; }
5444 < if test "${lt_cv_ld_reload_flag+set}" = set; then :
5444 > if ${lt_cv_ld_reload_flag+:} false; then :
5445    $as_echo_n "(cached) " >&6
5446   else
5447    lt_cv_ld_reload_flag='-r'
# Line 5354 | Line 5455 | case $reload_flag in
5455   esac
5456   reload_cmds='$LD$reload_flag -o $output$reload_objs'
5457   case $host_os in
5458 +  cygwin* | mingw* | pw32* | cegcc*)
5459 +    if test "$GCC" != yes; then
5460 +      reload_cmds=false
5461 +    fi
5462 +    ;;
5463    darwin*)
5464      if test "$GCC" = yes; then
5465        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
# Line 5376 | Line 5482 | if test -n "$ac_tool_prefix"; then
5482   set dummy ${ac_tool_prefix}objdump; ac_word=$2
5483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484   $as_echo_n "checking for $ac_word... " >&6; }
5485 < if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5485 > if ${ac_cv_prog_OBJDUMP+:} false; then :
5486    $as_echo_n "(cached) " >&6
5487   else
5488    if test -n "$OBJDUMP"; then
# Line 5388 | Line 5494 | do
5494    IFS=$as_save_IFS
5495    test -z "$as_dir" && as_dir=.
5496      for ac_exec_ext in '' $ac_executable_extensions; do
5497 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5499      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500      break 2
# Line 5416 | Line 5522 | if test -z "$ac_cv_prog_OBJDUMP"; then
5522   set dummy objdump; ac_word=$2
5523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524   $as_echo_n "checking for $ac_word... " >&6; }
5525 < if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5525 > if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5526    $as_echo_n "(cached) " >&6
5527   else
5528    if test -n "$ac_ct_OBJDUMP"; then
# Line 5428 | Line 5534 | do
5534    IFS=$as_save_IFS
5535    test -z "$as_dir" && as_dir=.
5536      for ac_exec_ext in '' $ac_executable_extensions; do
5537 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5537 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538      ac_cv_prog_ac_ct_OBJDUMP="objdump"
5539      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540      break 2
# Line 5475 | Line 5581 | test -z "$OBJDUMP" && OBJDUMP=objdump
5581  
5582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5583   $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5584 < if test "${lt_cv_deplibs_check_method+set}" = set; then :
5584 > if ${lt_cv_deplibs_check_method+:} false; then :
5585    $as_echo_n "(cached) " >&6
5586   else
5587    lt_cv_file_magic_cmd='$MAGIC_CMD'
# Line 5517 | Line 5623 | mingw* | pw32*)
5623    # Base MSYS/MinGW do not provide the 'file' command needed by
5624    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5625    # unless we find 'file', for example because we are cross-compiling.
5626 <  if ( file / ) >/dev/null 2>&1; then
5626 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5627 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5628      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5629      lt_cv_file_magic_cmd='func_win32_libid'
5630    else
5631 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5631 >    # Keep this pattern in sync with the one in func_win32_libid.
5632 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5633      lt_cv_file_magic_cmd='$OBJDUMP -f'
5634    fi
5635    ;;
5636  
5637 < cegcc)
5637 > cegcc*)
5638    # use the weaker test based on 'objdump'. See mingw*.
5639    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5640    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5556 | Line 5664 | gnu*)
5664    lt_cv_deplibs_check_method=pass_all
5665    ;;
5666  
5667 + haiku*)
5668 +  lt_cv_deplibs_check_method=pass_all
5669 +  ;;
5670 +
5671   hpux10.20* | hpux11*)
5672    lt_cv_file_magic_cmd=/usr/bin/file
5673    case $host_cpu in
# Line 5564 | Line 5676 | hpux10.20* | hpux11*)
5676      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5677      ;;
5678    hppa*64*)
5679 <    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]'
5679 >    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]'
5680      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5681      ;;
5682    *)
5683 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5683 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5684      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5685      ;;
5686    esac
# Line 5589 | Line 5701 | irix5* | irix6* | nonstopux*)
5701    lt_cv_deplibs_check_method=pass_all
5702    ;;
5703  
5704 < # This must be Linux ELF.
5705 < linux* | k*bsd*-gnu)
5704 > # This must be glibc/ELF.
5705 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5706    lt_cv_deplibs_check_method=pass_all
5707    ;;
5708  
# Line 5671 | Line 5783 | esac
5783   fi
5784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5785   $as_echo "$lt_cv_deplibs_check_method" >&6; }
5786 +
5787 + file_magic_glob=
5788 + want_nocaseglob=no
5789 + if test "$build" = "$host"; then
5790 +  case $host_os in
5791 +  mingw* | pw32*)
5792 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5793 +      want_nocaseglob=yes
5794 +    else
5795 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5796 +    fi
5797 +    ;;
5798 +  esac
5799 + fi
5800 +
5801   file_magic_cmd=$lt_cv_file_magic_cmd
5802   deplibs_check_method=$lt_cv_deplibs_check_method
5803   test -z "$deplibs_check_method" && deplibs_check_method=unknown
# Line 5686 | Line 5813 | test -z "$deplibs_check_method" && depli
5813  
5814  
5815  
5816 +
5817 +
5818 +
5819 +
5820 +
5821 +
5822 +
5823 +
5824 +
5825 +
5826 + if test -n "$ac_tool_prefix"; then
5827 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5828 + set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 + $as_echo_n "checking for $ac_word... " >&6; }
5831 + if ${ac_cv_prog_DLLTOOL+:} false; then :
5832 +  $as_echo_n "(cached) " >&6
5833 + else
5834 +  if test -n "$DLLTOOL"; then
5835 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5836 + else
5837 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 + for as_dir in $PATH
5839 + do
5840 +  IFS=$as_save_IFS
5841 +  test -z "$as_dir" && as_dir=.
5842 +    for ac_exec_ext in '' $ac_executable_extensions; do
5843 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5845 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 +    break 2
5847 +  fi
5848 + done
5849 +  done
5850 + IFS=$as_save_IFS
5851 +
5852 + fi
5853 + fi
5854 + DLLTOOL=$ac_cv_prog_DLLTOOL
5855 + if test -n "$DLLTOOL"; then
5856 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5857 + $as_echo "$DLLTOOL" >&6; }
5858 + else
5859 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 + $as_echo "no" >&6; }
5861 + fi
5862 +
5863 +
5864 + fi
5865 + if test -z "$ac_cv_prog_DLLTOOL"; then
5866 +  ac_ct_DLLTOOL=$DLLTOOL
5867 +  # Extract the first word of "dlltool", so it can be a program name with args.
5868 + set dummy dlltool; ac_word=$2
5869 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 + $as_echo_n "checking for $ac_word... " >&6; }
5871 + if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5872 +  $as_echo_n "(cached) " >&6
5873 + else
5874 +  if test -n "$ac_ct_DLLTOOL"; then
5875 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5876 + else
5877 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 + for as_dir in $PATH
5879 + do
5880 +  IFS=$as_save_IFS
5881 +  test -z "$as_dir" && as_dir=.
5882 +    for ac_exec_ext in '' $ac_executable_extensions; do
5883 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5885 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 +    break 2
5887 +  fi
5888 + done
5889 +  done
5890 + IFS=$as_save_IFS
5891 +
5892 + fi
5893 + fi
5894 + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5895 + if test -n "$ac_ct_DLLTOOL"; then
5896 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5897 + $as_echo "$ac_ct_DLLTOOL" >&6; }
5898 + else
5899 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 + $as_echo "no" >&6; }
5901 + fi
5902 +
5903 +  if test "x$ac_ct_DLLTOOL" = x; then
5904 +    DLLTOOL="false"
5905 +  else
5906 +    case $cross_compiling:$ac_tool_warned in
5907 + yes:)
5908 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5909 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5910 + ac_tool_warned=yes ;;
5911 + esac
5912 +    DLLTOOL=$ac_ct_DLLTOOL
5913 +  fi
5914 + else
5915 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
5916 + fi
5917 +
5918 + test -z "$DLLTOOL" && DLLTOOL=dlltool
5919 +
5920 +
5921 +
5922 +
5923 +
5924 +
5925 +
5926 +
5927 +
5928 +
5929 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5930 + $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5931 + if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5932 +  $as_echo_n "(cached) " >&6
5933 + else
5934 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
5935 +
5936 + case $host_os in
5937 + cygwin* | mingw* | pw32* | cegcc*)
5938 +  # two different shell functions defined in ltmain.sh
5939 +  # decide which to use based on capabilities of $DLLTOOL
5940 +  case `$DLLTOOL --help 2>&1` in
5941 +  *--identify-strict*)
5942 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5943 +    ;;
5944 +  *)
5945 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5946 +    ;;
5947 +  esac
5948 +  ;;
5949 + *)
5950 +  # fallback: assume linklib IS sharedlib
5951 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5952 +  ;;
5953 + esac
5954 +
5955 + fi
5956 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5957 + $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5958 + sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5959 + test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5960 +
5961 +
5962 +
5963 +
5964 +
5965 +
5966 +
5967   if test -n "$ac_tool_prefix"; then
5968 <  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5969 < set dummy ${ac_tool_prefix}ar; ac_word=$2
5968 >  for ac_prog in ar
5969 >  do
5970 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5971 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973   $as_echo_n "checking for $ac_word... " >&6; }
5974 < if test "${ac_cv_prog_AR+set}" = set; then :
5974 > if ${ac_cv_prog_AR+:} false; then :
5975    $as_echo_n "(cached) " >&6
5976   else
5977    if test -n "$AR"; then
# Line 5703 | Line 5983 | do
5983    IFS=$as_save_IFS
5984    test -z "$as_dir" && as_dir=.
5985      for ac_exec_ext in '' $ac_executable_extensions; do
5986 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 <    ac_cv_prog_AR="${ac_tool_prefix}ar"
5986 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 >    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5988      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989      break 2
5990    fi
# Line 5724 | Line 6004 | $as_echo "no" >&6; }
6004   fi
6005  
6006  
6007 +    test -n "$AR" && break
6008 +  done
6009   fi
6010 < if test -z "$ac_cv_prog_AR"; then
6010 > if test -z "$AR"; then
6011    ac_ct_AR=$AR
6012 <  # Extract the first word of "ar", so it can be a program name with args.
6013 < set dummy ar; ac_word=$2
6012 >  for ac_prog in ar
6013 > do
6014 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 > set dummy $ac_prog; ac_word=$2
6016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017   $as_echo_n "checking for $ac_word... " >&6; }
6018 < if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6018 > if ${ac_cv_prog_ac_ct_AR+:} false; then :
6019    $as_echo_n "(cached) " >&6
6020   else
6021    if test -n "$ac_ct_AR"; then
# Line 5743 | Line 6027 | do
6027    IFS=$as_save_IFS
6028    test -z "$as_dir" && as_dir=.
6029      for ac_exec_ext in '' $ac_executable_extensions; do
6030 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 <    ac_cv_prog_ac_ct_AR="ar"
6030 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 >    ac_cv_prog_ac_ct_AR="$ac_prog"
6032      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033      break 2
6034    fi
# Line 5763 | Line 6047 | else
6047   $as_echo "no" >&6; }
6048   fi
6049  
6050 +
6051 +  test -n "$ac_ct_AR" && break
6052 + done
6053 +
6054    if test "x$ac_ct_AR" = x; then
6055      AR="false"
6056    else
# Line 5774 | Line 6062 | ac_tool_warned=yes ;;
6062   esac
6063      AR=$ac_ct_AR
6064    fi
5777 else
5778  AR="$ac_cv_prog_AR"
6065   fi
6066  
6067 < test -z "$AR" && AR=ar
6068 < test -z "$AR_FLAGS" && AR_FLAGS=cru
6067 > : ${AR=ar}
6068 > : ${AR_FLAGS=cru}
6069 >
6070 >
6071 >
6072 >
6073 >
6074 >
6075 >
6076 >
6077 >
6078 >
6079 >
6080 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6081 > $as_echo_n "checking for archiver @FILE support... " >&6; }
6082 > if ${lt_cv_ar_at_file+:} false; then :
6083 >  $as_echo_n "(cached) " >&6
6084 > else
6085 >  lt_cv_ar_at_file=no
6086 >   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6087 > /* end confdefs.h.  */
6088 >
6089 > int
6090 > main ()
6091 > {
6092  
6093 +  ;
6094 +  return 0;
6095 + }
6096 + _ACEOF
6097 + if ac_fn_c_try_compile "$LINENO"; then :
6098 +  echo conftest.$ac_objext > conftest.lst
6099 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6100 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6101 +  (eval $lt_ar_try) 2>&5
6102 +  ac_status=$?
6103 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104 +  test $ac_status = 0; }
6105 +      if test "$ac_status" -eq 0; then
6106 +        # Ensure the archiver fails upon bogus file names.
6107 +        rm -f conftest.$ac_objext libconftest.a
6108 +        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6109 +  (eval $lt_ar_try) 2>&5
6110 +  ac_status=$?
6111 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6112 +  test $ac_status = 0; }
6113 +        if test "$ac_status" -ne 0; then
6114 +          lt_cv_ar_at_file=@
6115 +        fi
6116 +      fi
6117 +      rm -f conftest.* libconftest.a
6118  
6119 + fi
6120 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6121  
6122 + fi
6123 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6124 + $as_echo "$lt_cv_ar_at_file" >&6; }
6125  
6126 + if test "x$lt_cv_ar_at_file" = xno; then
6127 +  archiver_list_spec=
6128 + else
6129 +  archiver_list_spec=$lt_cv_ar_at_file
6130 + fi
6131  
6132  
6133  
# Line 5796 | Line 6140 | if test -n "$ac_tool_prefix"; then
6140   set dummy ${ac_tool_prefix}strip; ac_word=$2
6141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142   $as_echo_n "checking for $ac_word... " >&6; }
6143 < if test "${ac_cv_prog_STRIP+set}" = set; then :
6143 > if ${ac_cv_prog_STRIP+:} false; then :
6144    $as_echo_n "(cached) " >&6
6145   else
6146    if test -n "$STRIP"; then
# Line 5808 | Line 6152 | do
6152    IFS=$as_save_IFS
6153    test -z "$as_dir" && as_dir=.
6154      for ac_exec_ext in '' $ac_executable_extensions; do
6155 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6155 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6157      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158      break 2
# Line 5836 | Line 6180 | if test -z "$ac_cv_prog_STRIP"; then
6180   set dummy strip; ac_word=$2
6181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182   $as_echo_n "checking for $ac_word... " >&6; }
6183 < if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6183 > if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6184    $as_echo_n "(cached) " >&6
6185   else
6186    if test -n "$ac_ct_STRIP"; then
# Line 5848 | Line 6192 | do
6192    IFS=$as_save_IFS
6193    test -z "$as_dir" && as_dir=.
6194      for ac_exec_ext in '' $ac_executable_extensions; do
6195 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6195 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6196      ac_cv_prog_ac_ct_STRIP="strip"
6197      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198      break 2
# Line 5895 | Line 6239 | if test -n "$ac_tool_prefix"; then
6239   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241   $as_echo_n "checking for $ac_word... " >&6; }
6242 < if test "${ac_cv_prog_RANLIB+set}" = set; then :
6242 > if ${ac_cv_prog_RANLIB+:} false; then :
6243    $as_echo_n "(cached) " >&6
6244   else
6245    if test -n "$RANLIB"; then
# Line 5907 | Line 6251 | do
6251    IFS=$as_save_IFS
6252    test -z "$as_dir" && as_dir=.
6253      for ac_exec_ext in '' $ac_executable_extensions; do
6254 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6256      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257      break 2
# Line 5935 | Line 6279 | if test -z "$ac_cv_prog_RANLIB"; then
6279   set dummy ranlib; ac_word=$2
6280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281   $as_echo_n "checking for $ac_word... " >&6; }
6282 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6282 > if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6283    $as_echo_n "(cached) " >&6
6284   else
6285    if test -n "$ac_ct_RANLIB"; then
# Line 5947 | Line 6291 | do
6291    IFS=$as_save_IFS
6292    test -z "$as_dir" && as_dir=.
6293      for ac_exec_ext in '' $ac_executable_extensions; do
6294 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295      ac_cv_prog_ac_ct_RANLIB="ranlib"
6296      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297      break 2
# Line 5997 | Line 6341 | old_postuninstall_cmds=
6341   if test -n "$RANLIB"; then
6342    case $host_os in
6343    openbsd*)
6344 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6344 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6345      ;;
6346    *)
6347 <    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6347 >    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6348      ;;
6349    esac
6350 <  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6350 >  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6351   fi
6352  
6353 + case $host_os in
6354 +  darwin*)
6355 +    lock_old_archive_extraction=yes ;;
6356 +  *)
6357 +    lock_old_archive_extraction=no ;;
6358 + esac
6359 +
6360 +
6361 +
6362 +
6363 +
6364 +
6365  
6366  
6367  
# Line 6052 | Line 6408 | compiler=$CC
6408   # Check for command to grab the raw symbol name followed by C symbol from nm.
6409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6410   $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6411 < if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6411 > if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6412    $as_echo_n "(cached) " >&6
6413   else
6414  
# Line 6113 | Line 6469 | esac
6469   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6470  
6471   # Transform an extracted symbol line into symbol name and symbol address
6472 < lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6473 < 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'"
6472 > lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6473 > 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'"
6474  
6475   # Handle CRLF in mingw tool chain
6476   opt_cr=
# Line 6138 | Line 6494 | for ac_symprfx in "" "_"; do
6494      # which start with @ or ?.
6495      lt_cv_sys_global_symbol_pipe="$AWK '"\
6496   "     {last_section=section; section=\$ 3};"\
6497 + "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6498   "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6499   "     \$ 0!~/External *\|/{next};"\
6500   "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
# Line 6150 | Line 6507 | for ac_symprfx in "" "_"; do
6507    else
6508      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6509    fi
6510 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6511  
6512    # Check to see that the pipe works correctly.
6513    pipe_works=no
# Line 6175 | Line 6533 | _LT_EOF
6533    test $ac_status = 0; }; then
6534      # Now try to grab the symbols.
6535      nlist=conftest.nm
6536 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6537 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6536 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6537 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6538    ac_status=$?
6539    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6540    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6191 | Line 6549 | _LT_EOF
6549        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6550          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6551            cat <<_LT_EOF > conftest.$ac_ext
6552 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6553 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6554 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
6555 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6556 + # define LT_DLSYM_CONST
6557 + #elif defined(__osf__)
6558 + /* This system does not cope well with relocations in const data.  */
6559 + # define LT_DLSYM_CONST
6560 + #else
6561 + # define LT_DLSYM_CONST const
6562 + #endif
6563 +
6564   #ifdef __cplusplus
6565   extern "C" {
6566   #endif
# Line 6202 | Line 6572 | _LT_EOF
6572            cat <<_LT_EOF >> conftest.$ac_ext
6573  
6574   /* The mapping between symbol names and symbols.  */
6575 < const struct {
6575 > LT_DLSYM_CONST struct {
6576    const char *name;
6577    void       *address;
6578   }
# Line 6228 | Line 6598 | static const void *lt_preloaded_setup()
6598   _LT_EOF
6599            # Now try linking the two files.
6600            mv conftest.$ac_objext conftstm.$ac_objext
6601 <          lt_save_LIBS="$LIBS"
6602 <          lt_save_CFLAGS="$CFLAGS"
6601 >          lt_globsym_save_LIBS=$LIBS
6602 >          lt_globsym_save_CFLAGS=$CFLAGS
6603            LIBS="conftstm.$ac_objext"
6604            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6605            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
# Line 6239 | Line 6609 | _LT_EOF
6609    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6610              pipe_works=yes
6611            fi
6612 <          LIBS="$lt_save_LIBS"
6613 <          CFLAGS="$lt_save_CFLAGS"
6612 >          LIBS=$lt_globsym_save_LIBS
6613 >          CFLAGS=$lt_globsym_save_CFLAGS
6614          else
6615            echo "cannot find nm_test_func in $nlist" >&5
6616          fi
# Line 6277 | Line 6647 | else
6647   $as_echo "ok" >&6; }
6648   fi
6649  
6650 + # Response file support.
6651 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6652 +  nm_file_list_spec='@'
6653 + elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6654 +  nm_file_list_spec='@'
6655 + fi
6656 +
6657  
6658  
6659  
# Line 6298 | Line 6675 | fi
6675  
6676  
6677  
6678 +
6679 +
6680 +
6681 +
6682 +
6683 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6684 + $as_echo_n "checking for sysroot... " >&6; }
6685 +
6686 + # Check whether --with-sysroot was given.
6687 + if test "${with_sysroot+set}" = set; then :
6688 +  withval=$with_sysroot;
6689 + else
6690 +  with_sysroot=no
6691 + fi
6692 +
6693 +
6694 + lt_sysroot=
6695 + case ${with_sysroot} in #(
6696 + yes)
6697 +   if test "$GCC" = yes; then
6698 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6699 +   fi
6700 +   ;; #(
6701 + /*)
6702 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6703 +   ;; #(
6704 + no|'')
6705 +   ;; #(
6706 + *)
6707 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6708 + $as_echo "${with_sysroot}" >&6; }
6709 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6710 +   ;;
6711 + esac
6712 +
6713 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6714 + $as_echo "${lt_sysroot:-no}" >&6; }
6715 +
6716 +
6717 +
6718 +
6719 +
6720   # Check whether --enable-libtool-lock was given.
6721   if test "${enable_libtool_lock+set}" = set; then :
6722    enableval=$enable_libtool_lock;
# Line 6329 | Line 6748 | ia64-*-hpux*)
6748    ;;
6749   *-*-irix6*)
6750    # Find out which ABI we are using.
6751 <  echo '#line 6332 "configure"' > conftest.$ac_ext
6751 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6752    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6753    (eval $ac_compile) 2>&5
6754    ac_status=$?
# Line 6423 | Line 6842 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*
6842    CFLAGS="$CFLAGS -belf"
6843    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6844   $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6845 < if test "${lt_cv_cc_needs_belf+set}" = set; then :
6845 > if ${lt_cv_cc_needs_belf+:} false; then :
6846    $as_echo_n "(cached) " >&6
6847   else
6848    ac_ext=c
# Line 6464 | Line 6883 | $as_echo "$lt_cv_cc_needs_belf" >&6; }
6883      CFLAGS="$SAVE_CFLAGS"
6884    fi
6885    ;;
6886 < sparc*-*solaris*)
6886 > *-*solaris*)
6887    # Find out which ABI we are using.
6888    echo 'int i;' > conftest.$ac_ext
6889    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
# Line 6475 | Line 6894 | sparc*-*solaris*)
6894      case `/usr/bin/file conftest.o` in
6895      *64-bit*)
6896        case $lt_cv_prog_gnu_ld in
6897 <      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6897 >      yes*)
6898 >        case $host in
6899 >        i?86-*-solaris*)
6900 >          LD="${LD-ld} -m elf_x86_64"
6901 >          ;;
6902 >        sparc*-*-solaris*)
6903 >          LD="${LD-ld} -m elf64_sparc"
6904 >          ;;
6905 >        esac
6906 >        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6907 >        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6908 >          LD="${LD-ld}_sol2"
6909 >        fi
6910 >        ;;
6911        *)
6912          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6913            LD="${LD-ld} -64"
# Line 6491 | Line 6923 | esac
6923  
6924   need_locks="$enable_libtool_lock"
6925  
6926 + if test -n "$ac_tool_prefix"; then
6927 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6928 + set dummy ${ac_tool_prefix}mt; ac_word=$2
6929 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 + $as_echo_n "checking for $ac_word... " >&6; }
6931 + if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6932 +  $as_echo_n "(cached) " >&6
6933 + else
6934 +  if test -n "$MANIFEST_TOOL"; then
6935 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6936 + else
6937 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 + for as_dir in $PATH
6939 + do
6940 +  IFS=$as_save_IFS
6941 +  test -z "$as_dir" && as_dir=.
6942 +    for ac_exec_ext in '' $ac_executable_extensions; do
6943 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6945 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 +    break 2
6947 +  fi
6948 + done
6949 +  done
6950 + IFS=$as_save_IFS
6951 +
6952 + fi
6953 + fi
6954 + MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6955 + if test -n "$MANIFEST_TOOL"; then
6956 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6957 + $as_echo "$MANIFEST_TOOL" >&6; }
6958 + else
6959 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 + $as_echo "no" >&6; }
6961 + fi
6962 +
6963 +
6964 + fi
6965 + if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6966 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6967 +  # Extract the first word of "mt", so it can be a program name with args.
6968 + set dummy mt; ac_word=$2
6969 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 + $as_echo_n "checking for $ac_word... " >&6; }
6971 + if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6972 +  $as_echo_n "(cached) " >&6
6973 + else
6974 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
6975 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6976 + else
6977 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 + for as_dir in $PATH
6979 + do
6980 +  IFS=$as_save_IFS
6981 +  test -z "$as_dir" && as_dir=.
6982 +    for ac_exec_ext in '' $ac_executable_extensions; do
6983 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6985 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 +    break 2
6987 +  fi
6988 + done
6989 +  done
6990 + IFS=$as_save_IFS
6991 +
6992 + fi
6993 + fi
6994 + ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6995 + if test -n "$ac_ct_MANIFEST_TOOL"; then
6996 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6997 + $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6998 + else
6999 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 + $as_echo "no" >&6; }
7001 + fi
7002 +
7003 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7004 +    MANIFEST_TOOL=":"
7005 +  else
7006 +    case $cross_compiling:$ac_tool_warned in
7007 + yes:)
7008 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 + ac_tool_warned=yes ;;
7011 + esac
7012 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7013 +  fi
7014 + else
7015 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7016 + fi
7017 +
7018 + test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7019 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7020 + $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7021 + if ${lt_cv_path_mainfest_tool+:} false; then :
7022 +  $as_echo_n "(cached) " >&6
7023 + else
7024 +  lt_cv_path_mainfest_tool=no
7025 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7026 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7027 +  cat conftest.err >&5
7028 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7029 +    lt_cv_path_mainfest_tool=yes
7030 +  fi
7031 +  rm -f conftest*
7032 + fi
7033 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7034 + $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7035 + if test "x$lt_cv_path_mainfest_tool" != xyes; then
7036 +  MANIFEST_TOOL=:
7037 + fi
7038 +
7039 +
7040 +
7041 +
7042 +
7043  
7044    case $host_os in
7045      rhapsody* | darwin*)
# Line 6499 | Line 7048 | need_locks="$enable_libtool_lock"
7048   set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050   $as_echo_n "checking for $ac_word... " >&6; }
7051 < if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7051 > if ${ac_cv_prog_DSYMUTIL+:} false; then :
7052    $as_echo_n "(cached) " >&6
7053   else
7054    if test -n "$DSYMUTIL"; then
# Line 6511 | Line 7060 | do
7060    IFS=$as_save_IFS
7061    test -z "$as_dir" && as_dir=.
7062      for ac_exec_ext in '' $ac_executable_extensions; do
7063 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7063 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7064      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7065      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066      break 2
# Line 6539 | Line 7088 | if test -z "$ac_cv_prog_DSYMUTIL"; then
7088   set dummy dsymutil; ac_word=$2
7089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090   $as_echo_n "checking for $ac_word... " >&6; }
7091 < if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7091 > if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7092    $as_echo_n "(cached) " >&6
7093   else
7094    if test -n "$ac_ct_DSYMUTIL"; then
# Line 6551 | Line 7100 | do
7100    IFS=$as_save_IFS
7101    test -z "$as_dir" && as_dir=.
7102      for ac_exec_ext in '' $ac_executable_extensions; do
7103 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7105      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106      break 2
# Line 6591 | Line 7140 | fi
7140   set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142   $as_echo_n "checking for $ac_word... " >&6; }
7143 < if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7143 > if ${ac_cv_prog_NMEDIT+:} false; then :
7144    $as_echo_n "(cached) " >&6
7145   else
7146    if test -n "$NMEDIT"; then
# Line 6603 | Line 7152 | do
7152    IFS=$as_save_IFS
7153    test -z "$as_dir" && as_dir=.
7154      for ac_exec_ext in '' $ac_executable_extensions; do
7155 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7156      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7157      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158      break 2
# Line 6631 | Line 7180 | if test -z "$ac_cv_prog_NMEDIT"; then
7180   set dummy nmedit; ac_word=$2
7181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7182   $as_echo_n "checking for $ac_word... " >&6; }
7183 < if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7183 > if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7184    $as_echo_n "(cached) " >&6
7185   else
7186    if test -n "$ac_ct_NMEDIT"; then
# Line 6643 | Line 7192 | do
7192    IFS=$as_save_IFS
7193    test -z "$as_dir" && as_dir=.
7194      for ac_exec_ext in '' $ac_executable_extensions; do
7195 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7195 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7196      ac_cv_prog_ac_ct_NMEDIT="nmedit"
7197      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198      break 2
# Line 6683 | Line 7232 | fi
7232   set dummy ${ac_tool_prefix}lipo; ac_word=$2
7233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234   $as_echo_n "checking for $ac_word... " >&6; }
7235 < if test "${ac_cv_prog_LIPO+set}" = set; then :
7235 > if ${ac_cv_prog_LIPO+:} false; then :
7236    $as_echo_n "(cached) " >&6
7237   else
7238    if test -n "$LIPO"; then
# Line 6695 | Line 7244 | do
7244    IFS=$as_save_IFS
7245    test -z "$as_dir" && as_dir=.
7246      for ac_exec_ext in '' $ac_executable_extensions; do
7247 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7249      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250      break 2
# Line 6723 | Line 7272 | if test -z "$ac_cv_prog_LIPO"; then
7272   set dummy lipo; ac_word=$2
7273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274   $as_echo_n "checking for $ac_word... " >&6; }
7275 < if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7275 > if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7276    $as_echo_n "(cached) " >&6
7277   else
7278    if test -n "$ac_ct_LIPO"; then
# Line 6735 | Line 7284 | do
7284    IFS=$as_save_IFS
7285    test -z "$as_dir" && as_dir=.
7286      for ac_exec_ext in '' $ac_executable_extensions; do
7287 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288      ac_cv_prog_ac_ct_LIPO="lipo"
7289      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290      break 2
# Line 6775 | Line 7324 | fi
7324   set dummy ${ac_tool_prefix}otool; ac_word=$2
7325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326   $as_echo_n "checking for $ac_word... " >&6; }
7327 < if test "${ac_cv_prog_OTOOL+set}" = set; then :
7327 > if ${ac_cv_prog_OTOOL+:} false; then :
7328    $as_echo_n "(cached) " >&6
7329   else
7330    if test -n "$OTOOL"; then
# Line 6787 | Line 7336 | do
7336    IFS=$as_save_IFS
7337    test -z "$as_dir" && as_dir=.
7338      for ac_exec_ext in '' $ac_executable_extensions; do
7339 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7341      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342      break 2
# Line 6815 | Line 7364 | if test -z "$ac_cv_prog_OTOOL"; then
7364   set dummy otool; ac_word=$2
7365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366   $as_echo_n "checking for $ac_word... " >&6; }
7367 < if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7367 > if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7368    $as_echo_n "(cached) " >&6
7369   else
7370    if test -n "$ac_ct_OTOOL"; then
# Line 6827 | Line 7376 | do
7376    IFS=$as_save_IFS
7377    test -z "$as_dir" && as_dir=.
7378      for ac_exec_ext in '' $ac_executable_extensions; do
7379 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7379 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7380      ac_cv_prog_ac_ct_OTOOL="otool"
7381      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382      break 2
# Line 6867 | Line 7416 | fi
7416   set dummy ${ac_tool_prefix}otool64; ac_word=$2
7417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418   $as_echo_n "checking for $ac_word... " >&6; }
7419 < if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7419 > if ${ac_cv_prog_OTOOL64+:} false; then :
7420    $as_echo_n "(cached) " >&6
7421   else
7422    if test -n "$OTOOL64"; then
# Line 6879 | Line 7428 | do
7428    IFS=$as_save_IFS
7429    test -z "$as_dir" && as_dir=.
7430      for ac_exec_ext in '' $ac_executable_extensions; do
7431 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7433      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434      break 2
# Line 6907 | Line 7456 | if test -z "$ac_cv_prog_OTOOL64"; then
7456   set dummy otool64; ac_word=$2
7457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458   $as_echo_n "checking for $ac_word... " >&6; }
7459 < if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7459 > if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7460    $as_echo_n "(cached) " >&6
7461   else
7462    if test -n "$ac_ct_OTOOL64"; then
# Line 6919 | Line 7468 | do
7468    IFS=$as_save_IFS
7469    test -z "$as_dir" && as_dir=.
7470      for ac_exec_ext in '' $ac_executable_extensions; do
7471 <  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7471 >  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472      ac_cv_prog_ac_ct_OTOOL64="otool64"
7473      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474      break 2
# Line 6982 | Line 7531 | fi
7531  
7532      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7533   $as_echo_n "checking for -single_module linker flag... " >&6; }
7534 < if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7534 > if ${lt_cv_apple_cc_single_mod+:} false; then :
7535    $as_echo_n "(cached) " >&6
7536   else
7537    lt_cv_apple_cc_single_mod=no
# Line 6998 | Line 7547 | else
7547          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7548            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7549          _lt_result=$?
7550 <        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7550 >        # If there is a non-empty error log, and "single_module"
7551 >        # appears in it, assume the flag caused a linker warning
7552 >        if test -s conftest.err && $GREP single_module conftest.err; then
7553 >          cat conftest.err >&5
7554 >        # Otherwise, if the output was created with a 0 exit code from
7555 >        # the compiler, it worked.
7556 >        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7557            lt_cv_apple_cc_single_mod=yes
7558          else
7559            cat conftest.err >&5
# Line 7009 | Line 7564 | else
7564   fi
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7566   $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7567 +
7568      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7569   $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7570 < if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7570 > if ${lt_cv_ld_exported_symbols_list+:} false; then :
7571    $as_echo_n "(cached) " >&6
7572   else
7573    lt_cv_ld_exported_symbols_list=no
# Line 7041 | Line 7597 | rm -f core conftest.err conftest.$ac_obj
7597   fi
7598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7599   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7600 +
7601 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7602 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7603 + if ${lt_cv_ld_force_load+:} false; then :
7604 +  $as_echo_n "(cached) " >&6
7605 + else
7606 +  lt_cv_ld_force_load=no
7607 +      cat > conftest.c << _LT_EOF
7608 + int forced_loaded() { return 2;}
7609 + _LT_EOF
7610 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7611 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7612 +      echo "$AR cru libconftest.a conftest.o" >&5
7613 +      $AR cru libconftest.a conftest.o 2>&5
7614 +      echo "$RANLIB libconftest.a" >&5
7615 +      $RANLIB libconftest.a 2>&5
7616 +      cat > conftest.c << _LT_EOF
7617 + int main() { return 0;}
7618 + _LT_EOF
7619 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7620 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7621 +      _lt_result=$?
7622 +      if test -s conftest.err && $GREP force_load conftest.err; then
7623 +        cat conftest.err >&5
7624 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7625 +        lt_cv_ld_force_load=yes
7626 +      else
7627 +        cat conftest.err >&5
7628 +      fi
7629 +        rm -f conftest.err libconftest.a conftest conftest.c
7630 +        rm -rf conftest.dSYM
7631 +
7632 + fi
7633 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7634 + $as_echo "$lt_cv_ld_force_load" >&6; }
7635      case $host_os in
7636      rhapsody* | darwin1.[012])
7637        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7068 | Line 7659 | $as_echo "$lt_cv_ld_exported_symbols_lis
7659      else
7660        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7661      fi
7662 <    if test "$DSYMUTIL" != ":"; then
7662 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7663        _lt_dsymutil='~$DSYMUTIL $lib || :'
7664      else
7665        _lt_dsymutil=
# Line 7088 | Line 7679 | if test -n "$CPP" && test -d "$CPP"; the
7679    CPP=
7680   fi
7681   if test -z "$CPP"; then
7682 <  if test "${ac_cv_prog_CPP+set}" = set; then :
7682 >  if ${ac_cv_prog_CPP+:} false; then :
7683    $as_echo_n "(cached) " >&6
7684   else
7685        # Double quotes because CPP needs to be expanded
# Line 7118 | Line 7709 | else
7709    # Broken: fails on valid input.
7710   continue
7711   fi
7712 < rm -f conftest.err conftest.$ac_ext
7712 > rm -f conftest.err conftest.i conftest.$ac_ext
7713  
7714    # OK, works on sane cases.  Now check whether nonexistent headers
7715    # can be detected and how.
# Line 7134 | Line 7725 | else
7725   ac_preproc_ok=:
7726   break
7727   fi
7728 < rm -f conftest.err conftest.$ac_ext
7728 > rm -f conftest.err conftest.i conftest.$ac_ext
7729  
7730   done
7731   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7732 < rm -f conftest.err conftest.$ac_ext
7732 > rm -f conftest.i conftest.err conftest.$ac_ext
7733   if $ac_preproc_ok; then :
7734    break
7735   fi
# Line 7177 | Line 7768 | else
7768    # Broken: fails on valid input.
7769   continue
7770   fi
7771 < rm -f conftest.err conftest.$ac_ext
7771 > rm -f conftest.err conftest.i conftest.$ac_ext
7772  
7773    # OK, works on sane cases.  Now check whether nonexistent headers
7774    # can be detected and how.
# Line 7193 | Line 7784 | else
7784   ac_preproc_ok=:
7785   break
7786   fi
7787 < rm -f conftest.err conftest.$ac_ext
7787 > rm -f conftest.err conftest.i conftest.$ac_ext
7788  
7789   done
7790   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7791 < rm -f conftest.err conftest.$ac_ext
7791 > rm -f conftest.i conftest.err conftest.$ac_ext
7792   if $ac_preproc_ok; then :
7793  
7794   else
7795    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7796   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7797 < as_fn_error "C preprocessor \"$CPP\" fails sanity check
7798 < See \`config.log' for more details." "$LINENO" 5; }
7797 > as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7798 > See \`config.log' for more details" "$LINENO" 5; }
7799   fi
7800  
7801   ac_ext=c
# Line 7216 | Line 7807 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7807  
7808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7809   $as_echo_n "checking for ANSI C header files... " >&6; }
7810 < if test "${ac_cv_header_stdc+set}" = set; then :
7810 > if ${ac_cv_header_stdc+:} false; then :
7811    $as_echo_n "(cached) " >&6
7812   else
7813    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
# Line 7333 | Line 7924 | do :
7924    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7925   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7926   "
7927 < eval as_val=\$$as_ac_Header
7337 <   if test "x$as_val" = x""yes; then :
7927 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7928    cat >>confdefs.h <<_ACEOF
7929   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7930   _ACEOF
# Line 7348 | Line 7938 | for ac_header in dlfcn.h
7938   do :
7939    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7940   "
7941 < if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7941 > if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7942    cat >>confdefs.h <<_ACEOF
7943   #define HAVE_DLFCN_H 1
7944   _ACEOF
# Line 7359 | Line 7949 | done
7949  
7950  
7951  
7952 +
7953 +
7954   # Set options
7955   enable_dlopen=yes
7956   # Check whether --enable-static was given.
# Line 7432 | Line 8024 | fi
8024  
8025   # Check whether --with-pic was given.
8026   if test "${with_pic+set}" = set; then :
8027 <  withval=$with_pic; pic_mode="$withval"
8027 >  withval=$with_pic; lt_p=${PACKAGE-default}
8028 >    case $withval in
8029 >    yes|no) pic_mode=$withval ;;
8030 >    *)
8031 >      pic_mode=default
8032 >      # Look at the argument we got.  We use all the common list separators.
8033 >      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8034 >      for lt_pkg in $withval; do
8035 >        IFS="$lt_save_ifs"
8036 >        if test "X$lt_pkg" = "X$lt_p"; then
8037 >          pic_mode=yes
8038 >        fi
8039 >      done
8040 >      IFS="$lt_save_ifs"
8041 >      ;;
8042 >    esac
8043   else
8044    pic_mode=default
8045   fi
# Line 7509 | Line 8116 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
8116  
8117  
8118  
8119 +
8120 +
8121 +
8122 +
8123 +
8124   test -z "$LN_S" && LN_S="ln -s"
8125  
8126  
# Line 7530 | Line 8142 | fi
8142  
8143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8144   $as_echo_n "checking for objdir... " >&6; }
8145 < if test "${lt_cv_objdir+set}" = set; then :
8145 > if ${lt_cv_objdir+:} false; then :
8146    $as_echo_n "(cached) " >&6
8147   else
8148    rm -f .libs 2>/dev/null
# Line 7558 | Line 8170 | _ACEOF
8170  
8171  
8172  
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
8173   case $host_os in
8174   aix3*)
8175    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7583 | Line 8182 | aix3*)
8182    ;;
8183   esac
8184  
7586 # Sed substitution that helps us do robust quoting.  It backslashifies
7587 # metacharacters that are still active within double-quoted strings.
7588 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7589
7590 # Same as above, but do not quote variable references.
7591 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7592
7593 # Sed substitution to delay expansion of an escaped shell variable in a
7594 # double_quote_subst'ed string.
7595 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7596
7597 # Sed substitution to delay expansion of an escaped single quote.
7598 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7599
7600 # Sed substitution to avoid accidental globbing in evaled expressions
7601 no_glob_subst='s/\*/\\\*/g'
7602
8185   # Global variables:
8186   ofile=libtool
8187   can_build_shared=yes
# Line 7628 | Line 8210 | for cc_temp in $compiler""; do
8210      *) break;;
8211    esac
8212   done
8213 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8213 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8214  
8215  
8216   # Only perform the check for file, if the check method requires it
# Line 7638 | Line 8220 | file_magic*)
8220    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8221      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8222   $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8223 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8223 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8224    $as_echo_n "(cached) " >&6
8225   else
8226    case $MAGIC_CMD in
# Line 7704 | Line 8286 | if test -z "$lt_cv_path_MAGIC_CMD"; then
8286    if test -n "$ac_tool_prefix"; then
8287      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8288   $as_echo_n "checking for file... " >&6; }
8289 < if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8289 > if ${lt_cv_path_MAGIC_CMD+:} false; then :
8290    $as_echo_n "(cached) " >&6
8291   else
8292    case $MAGIC_CMD in
# Line 7833 | Line 8415 | if test -n "$compiler"; then
8415   lt_prog_compiler_no_builtin_flag=
8416  
8417   if test "$GCC" = yes; then
8418 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8418 >  case $cc_basename in
8419 >  nvcc*)
8420 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8421 >  *)
8422 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8423 >  esac
8424  
8425    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8426   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8427 < if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8427 > if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8428    $as_echo_n "(cached) " >&6
8429   else
8430    lt_cv_prog_compiler_rtti_exceptions=no
# Line 7853 | Line 8440 | else
8440     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8441     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8442     -e 's:$: $lt_compiler_flag:'`
8443 <   (eval echo "\"\$as_me:7856: $lt_compile\"" >&5)
8443 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8444     (eval "$lt_compile" 2>conftest.err)
8445     ac_status=$?
8446     cat conftest.err >&5
8447 <   echo "$as_me:7860: \$? = $ac_status" >&5
8447 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448     if (exit $ac_status) && test -s "$ac_outfile"; then
8449       # The compiler can only warn and ignore the option if not recognized
8450       # So say no if there are warnings other than the usual output.
8451 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8451 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8452       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8453       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8454         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7890 | Line 8477 | fi
8477   lt_prog_compiler_pic=
8478   lt_prog_compiler_static=
8479  
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7894 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8480  
8481    if test "$GCC" = yes; then
8482      lt_prog_compiler_wl='-Wl,'
# Line 7939 | Line 8524 | $as_echo_n "checking for $compiler optio
8524        lt_prog_compiler_pic='-fno-common'
8525        ;;
8526  
8527 +    haiku*)
8528 +      # PIC is the default for Haiku.
8529 +      # The "-static" flag exists, but is broken.
8530 +      lt_prog_compiler_static=
8531 +      ;;
8532 +
8533      hpux*)
8534        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8535        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7981 | Line 8572 | $as_echo_n "checking for $compiler optio
8572        lt_prog_compiler_pic='-fPIC'
8573        ;;
8574      esac
8575 +
8576 +    case $cc_basename in
8577 +    nvcc*) # Cuda Compiler Driver 2.2
8578 +      lt_prog_compiler_wl='-Xlinker '
8579 +      if test -n "$lt_prog_compiler_pic"; then
8580 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8581 +      fi
8582 +      ;;
8583 +    esac
8584    else
8585      # PORTME Check for flag to pass linker flags through the system compiler.
8586      case $host_os in
# Line 8022 | Line 8622 | $as_echo_n "checking for $compiler optio
8622        lt_prog_compiler_static='-non_shared'
8623        ;;
8624  
8625 <    linux* | k*bsd*-gnu)
8625 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8626        case $cc_basename in
8627        # old Intel for x86_64 which still supported -KPIC.
8628        ecc*)
# Line 8043 | Line 8643 | $as_echo_n "checking for $compiler optio
8643          lt_prog_compiler_pic='--shared'
8644          lt_prog_compiler_static='--static'
8645          ;;
8646 <      pgcc* | pgf77* | pgf90* | pgf95*)
8646 >      nagfor*)
8647 >        # NAG Fortran compiler
8648 >        lt_prog_compiler_wl='-Wl,-Wl,,'
8649 >        lt_prog_compiler_pic='-PIC'
8650 >        lt_prog_compiler_static='-Bstatic'
8651 >        ;;
8652 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8653          # Portland Group compilers (*not* the Pentium gcc compiler,
8654          # which looks to be a dead project)
8655          lt_prog_compiler_wl='-Wl,'
# Line 8055 | Line 8661 | $as_echo_n "checking for $compiler optio
8661          # All Alpha code is PIC.
8662          lt_prog_compiler_static='-non_shared'
8663          ;;
8664 <      xl*)
8665 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8664 >      xl* | bgxl* | bgf* | mpixl*)
8665 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8666          lt_prog_compiler_wl='-Wl,'
8667          lt_prog_compiler_pic='-qpic'
8668          lt_prog_compiler_static='-qstaticlink'
8669          ;;
8670        *)
8671          case `$CC -V 2>&1 | sed 5q` in
8672 +        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8673 +          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8674 +          lt_prog_compiler_pic='-KPIC'
8675 +          lt_prog_compiler_static='-Bstatic'
8676 +          lt_prog_compiler_wl=''
8677 +          ;;
8678 +        *Sun\ F* | *Sun*Fortran*)
8679 +          lt_prog_compiler_pic='-KPIC'
8680 +          lt_prog_compiler_static='-Bstatic'
8681 +          lt_prog_compiler_wl='-Qoption ld '
8682 +          ;;
8683          *Sun\ C*)
8684            # Sun C 5.9
8685            lt_prog_compiler_pic='-KPIC'
8686            lt_prog_compiler_static='-Bstatic'
8687            lt_prog_compiler_wl='-Wl,'
8688            ;;
8689 <        *Sun\ F*)
8690 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8691 <          lt_prog_compiler_pic='-KPIC'
8689 >        *Intel*\ [CF]*Compiler*)
8690 >          lt_prog_compiler_wl='-Wl,'
8691 >          lt_prog_compiler_pic='-fPIC'
8692 >          lt_prog_compiler_static='-static'
8693 >          ;;
8694 >        *Portland\ Group*)
8695 >          lt_prog_compiler_wl='-Wl,'
8696 >          lt_prog_compiler_pic='-fpic'
8697            lt_prog_compiler_static='-Bstatic'
8076          lt_prog_compiler_wl=''
8698            ;;
8699          esac
8700          ;;
# Line 8105 | Line 8726 | $as_echo_n "checking for $compiler optio
8726        lt_prog_compiler_pic='-KPIC'
8727        lt_prog_compiler_static='-Bstatic'
8728        case $cc_basename in
8729 <      f77* | f90* | f95*)
8729 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8730          lt_prog_compiler_wl='-Qoption ld ';;
8731        *)
8732          lt_prog_compiler_wl='-Wl,';;
# Line 8162 | Line 8783 | case $host_os in
8783      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8784      ;;
8785   esac
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8166 $as_echo "$lt_prog_compiler_pic" >&6; }
8167
8168
8169
8170
8786  
8787 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8788 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8789 + if ${lt_cv_prog_compiler_pic+:} false; then :
8790 +  $as_echo_n "(cached) " >&6
8791 + else
8792 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8793 + fi
8794 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8795 + $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8796 + lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8797  
8798   #
8799   # Check to make sure the PIC flag actually works.
# Line 8176 | Line 8801 | $as_echo "$lt_prog_compiler_pic" >&6; }
8801   if test -n "$lt_prog_compiler_pic"; then
8802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8803   $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8804 < if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804 > if ${lt_cv_prog_compiler_pic_works+:} false; then :
8805    $as_echo_n "(cached) " >&6
8806   else
8807    lt_cv_prog_compiler_pic_works=no
# Line 8192 | Line 8817 | else
8817     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8818     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8819     -e 's:$: $lt_compiler_flag:'`
8820 <   (eval echo "\"\$as_me:8195: $lt_compile\"" >&5)
8820 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8821     (eval "$lt_compile" 2>conftest.err)
8822     ac_status=$?
8823     cat conftest.err >&5
8824 <   echo "$as_me:8199: \$? = $ac_status" >&5
8824 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825     if (exit $ac_status) && test -s "$ac_outfile"; then
8826       # The compiler can only warn and ignore the option if not recognized
8827       # So say no if there are warnings other than the usual output.
8828 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8828 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8829       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8830       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8831         lt_cv_prog_compiler_pic_works=yes
# Line 8229 | Line 8854 | fi
8854  
8855  
8856  
8857 +
8858 +
8859 +
8860 +
8861 +
8862   #
8863   # Check to make sure the static flag actually works.
8864   #
8865   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8867   $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8868 < if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8868 > if ${lt_cv_prog_compiler_static_works+:} false; then :
8869    $as_echo_n "(cached) " >&6
8870   else
8871    lt_cv_prog_compiler_static_works=no
# Line 8248 | Line 8878 | else
8878       if test -s conftest.err; then
8879         # Append any errors to the config.log.
8880         cat conftest.err 1>&5
8881 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8881 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8882         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8883         if diff conftest.exp conftest.er2 >/dev/null; then
8884           lt_cv_prog_compiler_static_works=yes
# Line 8278 | Line 8908 | fi
8908  
8909    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8910   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8911 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8911 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8912    $as_echo_n "(cached) " >&6
8913   else
8914    lt_cv_prog_compiler_c_o=no
# Line 8297 | Line 8927 | else
8927     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8928     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8929     -e 's:$: $lt_compiler_flag:'`
8930 <   (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
8930 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8931     (eval "$lt_compile" 2>out/conftest.err)
8932     ac_status=$?
8933     cat out/conftest.err >&5
8934 <   echo "$as_me:8304: \$? = $ac_status" >&5
8934 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8936     then
8937       # The compiler can only warn and ignore the option if not recognized
8938       # So say no if there are warnings
8939 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8939 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8940       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8941       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8942         lt_cv_prog_compiler_c_o=yes
# Line 8333 | Line 8963 | $as_echo "$lt_cv_prog_compiler_c_o" >&6;
8963  
8964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8965   $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8966 < if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8966 > if ${lt_cv_prog_compiler_c_o+:} false; then :
8967    $as_echo_n "(cached) " >&6
8968   else
8969    lt_cv_prog_compiler_c_o=no
# Line 8352 | Line 8982 | else
8982     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8983     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8984     -e 's:$: $lt_compiler_flag:'`
8985 <   (eval echo "\"\$as_me:8355: $lt_compile\"" >&5)
8985 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8986     (eval "$lt_compile" 2>out/conftest.err)
8987     ac_status=$?
8988     cat out/conftest.err >&5
8989 <   echo "$as_me:8359: \$? = $ac_status" >&5
8989 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8991     then
8992       # The compiler can only warn and ignore the option if not recognized
8993       # So say no if there are warnings
8994 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8994 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8995       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8996       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8997         lt_cv_prog_compiler_c_o=yes
# Line 8427 | Line 9057 | $as_echo_n "checking whether the $compil
9057    hardcode_direct=no
9058    hardcode_direct_absolute=no
9059    hardcode_libdir_flag_spec=
8430  hardcode_libdir_flag_spec_ld=
9060    hardcode_libdir_separator=
9061    hardcode_minus_L=no
9062    hardcode_shlibpath_var=unsupported
# Line 8474 | Line 9103 | $as_echo_n "checking whether the $compil
9103    esac
9104  
9105    ld_shlibs=yes
9106 +
9107 +  # On some targets, GNU ld is compatible enough with the native linker
9108 +  # that we're better off using the native interface for both.
9109 +  lt_use_gnu_ld_interface=no
9110    if test "$with_gnu_ld" = yes; then
9111 +    case $host_os in
9112 +      aix*)
9113 +        # The AIX port of GNU ld has always aspired to compatibility
9114 +        # with the native linker.  However, as the warning in the GNU ld
9115 +        # block says, versions before 2.19.5* couldn't really create working
9116 +        # shared libraries, regardless of the interface used.
9117 +        case `$LD -v 2>&1` in
9118 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9119 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9120 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9121 +          *)
9122 +            lt_use_gnu_ld_interface=yes
9123 +            ;;
9124 +        esac
9125 +        ;;
9126 +      *)
9127 +        lt_use_gnu_ld_interface=yes
9128 +        ;;
9129 +    esac
9130 +  fi
9131 +
9132 +  if test "$lt_use_gnu_ld_interface" = yes; then
9133      # If archive_cmds runs LD, not CC, wlarc should be empty
9134      wlarc='${wl}'
9135  
# Line 8492 | Line 9147 | $as_echo_n "checking whether the $compil
9147      fi
9148      supports_anon_versioning=no
9149      case `$LD -v 2>&1` in
9150 +      *GNU\ gold*) supports_anon_versioning=yes ;;
9151        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9152        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9153        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8507 | Line 9163 | $as_echo_n "checking whether the $compil
9163          ld_shlibs=no
9164          cat <<_LT_EOF 1>&2
9165  
9166 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9166 > *** Warning: the GNU linker, at least up to release 2.19, is reported
9167   *** to be unable to reliably create shared libraries on AIX.
9168   *** Therefore, libtool is disabling shared libraries support.  If you
9169 < *** really care for shared libraries, you may want to modify your PATH
9170 < *** so that a non-GNU linker is found, and then restart.
9169 > *** really care for shared libraries, you may want to install binutils
9170 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9171 > *** You will then need to restart the configuration process.
9172  
9173   _LT_EOF
9174        fi
# Line 8547 | Line 9204 | _LT_EOF
9204        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9205        # as there is no search path for DLLs.
9206        hardcode_libdir_flag_spec='-L$libdir'
9207 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
9208        allow_undefined_flag=unsupported
9209        always_export_symbols=no
9210        enable_shared_with_static_runtimes=yes
9211 <      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9211 >      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'
9212 >      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9213  
9214        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9215          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# Line 8568 | Line 9227 | _LT_EOF
9227        fi
9228        ;;
9229  
9230 +    haiku*)
9231 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9232 +      link_all_deplibs=yes
9233 +      ;;
9234 +
9235      interix[3-9]*)
9236        hardcode_direct=no
9237        hardcode_shlibpath_var=no
# Line 8583 | Line 9247 | _LT_EOF
9247        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'
9248        ;;
9249  
9250 <    gnu* | linux* | tpf* | k*bsd*-gnu)
9250 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9251        tmp_diet=no
9252        if test "$host_os" = linux-dietlibc; then
9253          case $cc_basename in
# Line 8593 | Line 9257 | _LT_EOF
9257        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9258           && test "$tmp_diet" = no
9259        then
9260 <        tmp_addflag=
9260 >        tmp_addflag=' $pic_flag'
9261          tmp_sharedflag='-shared'
9262          case $cc_basename,$host_cpu in
9263          pgcc*)                          # Portland Group C compiler
9264 <          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'
9264 >          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'
9265            tmp_addflag=' $pic_flag'
9266            ;;
9267 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9268 <          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'
9267 >        pgf77* | pgf90* | pgf95* | pgfortran*)
9268 >                                        # Portland Group f77 and f90 compilers
9269 >          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'
9270            tmp_addflag=' $pic_flag -Mnomain' ;;
9271          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9272            tmp_addflag=' -i_dynamic' ;;
# Line 8612 | Line 9277 | _LT_EOF
9277          lf95*)                          # Lahey Fortran 8.1
9278            whole_archive_flag_spec=
9279            tmp_sharedflag='--shared' ;;
9280 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9280 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9281            tmp_sharedflag='-qmkshrobj'
9282            tmp_addflag= ;;
9283 +        nvcc*)  # Cuda Compiler Driver 2.2
9284 +          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'
9285 +          compiler_needs_object=yes
9286 +          ;;
9287          esac
9288          case `$CC -V 2>&1 | sed 5q` in
9289          *Sun\ C*)                       # Sun C 5.9
9290 <          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'
9290 >          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'
9291            compiler_needs_object=yes
9292            tmp_sharedflag='-G' ;;
9293          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8634 | Line 9303 | _LT_EOF
9303          fi
9304  
9305          case $cc_basename in
9306 <        xlf*)
9306 >        xlf* | bgf* | bgxlf* | mpixlf*)
9307            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9308            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9309 <          hardcode_libdir_flag_spec=
9310 <          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8642 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9309 >          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9311            if test "x$supports_anon_versioning" = xyes; then
9312              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9313                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9314                echo "local: *; };" >> $output_objdir/$libname.ver~
9315 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9315 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9316            fi
9317            ;;
9318          esac
# Line 8658 | Line 9326 | _LT_EOF
9326          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9327          wlarc=
9328        else
9329 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9331        fi
9332        ;;
9333  
# Line 8677 | Line 9345 | _LT_EOF
9345  
9346   _LT_EOF
9347        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9348 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9350        else
9351          ld_shlibs=no
9352        fi
# Line 8724 | Line 9392 | _LT_EOF
9392  
9393      *)
9394        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9395 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9396 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9395 >        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9396 >        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9397        else
9398          ld_shlibs=no
9399        fi
# Line 8765 | Line 9433 | _LT_EOF
9433        else
9434          # If we're using GNU nm, then we don't want the "-C" option.
9435          # -C means demangle to AIX nm, but means don't demangle with GNU nm
9436 +        # Also, AIX nm treats weak defined symbols like other global
9437 +        # defined symbols, whereas GNU nm marks them as "W".
9438          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9439 <          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'
9439 >          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'
9440          else
9441            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'
9442          fi
# Line 8828 | Line 9498 | _LT_EOF
9498          if test "$aix_use_runtimelinking" = yes; then
9499            shared_flag="$shared_flag "'${wl}-G'
9500          fi
8831        link_all_deplibs=no
9501        else
9502          # not using gcc
9503          if test "$host_cpu" = ia64; then
# Line 8854 | Line 9523 | _LT_EOF
9523          allow_undefined_flag='-berok'
9524          # Determine the default libpath from the value encoded in an
9525          # empty executable.
9526 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 >        if test "${lt_cv_aix_libpath+set}" = set; then
9527 >  aix_libpath=$lt_cv_aix_libpath
9528 > else
9529 >  if ${lt_cv_aix_libpath_+:} false; then :
9530 >  $as_echo_n "(cached) " >&6
9531 > else
9532 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533   /* end confdefs.h.  */
9534  
9535   int
# Line 8867 | Line 9542 | main ()
9542   _ACEOF
9543   if ac_fn_c_try_link "$LINENO"; then :
9544  
9545 < lt_aix_libpath_sed='
9546 <    /Import File Strings/,/^$/ {
9547 <        /^0/ {
9548 <            s/^0  *\(.*\)$/\1/
9549 <            p
9550 <        }
9551 <    }'
9552 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 < # Check for a 64-bit object if we didn't find anything.
9554 < if test -z "$aix_libpath"; then
9555 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556 < fi
9545 >  lt_aix_libpath_sed='
9546 >      /Import File Strings/,/^$/ {
9547 >          /^0/ {
9548 >              s/^0  *\([^ ]*\) *$/\1/
9549 >              p
9550 >          }
9551 >      }'
9552 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9553 >  # Check for a 64-bit object if we didn't find anything.
9554 >  if test -z "$lt_cv_aix_libpath_"; then
9555 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556 >  fi
9557   fi
9558   rm -f core conftest.err conftest.$ac_objext \
9559      conftest$ac_exeext conftest.$ac_ext
9560 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9560 >  if test -z "$lt_cv_aix_libpath_"; then
9561 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9562 >  fi
9563 >
9564 > fi
9565 >
9566 >  aix_libpath=$lt_cv_aix_libpath_
9567 > fi
9568  
9569          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9570 <        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"
9570 >        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"
9571        else
9572          if test "$host_cpu" = ia64; then
9573            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8894 | Line 9576 | if test -z "$aix_libpath"; then aix_libp
9576          else
9577           # Determine the default libpath from the value encoded in an
9578           # empty executable.
9579 <         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 >         if test "${lt_cv_aix_libpath+set}" = set; then
9580 >  aix_libpath=$lt_cv_aix_libpath
9581 > else
9582 >  if ${lt_cv_aix_libpath_+:} false; then :
9583 >  $as_echo_n "(cached) " >&6
9584 > else
9585 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586   /* end confdefs.h.  */
9587  
9588   int
# Line 8907 | Line 9595 | main ()
9595   _ACEOF
9596   if ac_fn_c_try_link "$LINENO"; then :
9597  
9598 < lt_aix_libpath_sed='
9599 <    /Import File Strings/,/^$/ {
9600 <        /^0/ {
9601 <            s/^0  *\(.*\)$/\1/
9602 <            p
9603 <        }
9604 <    }'
9605 < aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 < # Check for a 64-bit object if we didn't find anything.
9607 < if test -z "$aix_libpath"; then
9608 <  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609 < fi
9598 >  lt_aix_libpath_sed='
9599 >      /Import File Strings/,/^$/ {
9600 >          /^0/ {
9601 >              s/^0  *\([^ ]*\) *$/\1/
9602 >              p
9603 >          }
9604 >      }'
9605 >  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 >  # Check for a 64-bit object if we didn't find anything.
9607 >  if test -z "$lt_cv_aix_libpath_"; then
9608 >    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609 >  fi
9610   fi
9611   rm -f core conftest.err conftest.$ac_objext \
9612      conftest$ac_exeext conftest.$ac_ext
9613 < if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9613 >  if test -z "$lt_cv_aix_libpath_"; then
9614 >    lt_cv_aix_libpath_="/usr/lib:/lib"
9615 >  fi
9616 >
9617 > fi
9618 >
9619 >  aix_libpath=$lt_cv_aix_libpath_
9620 > fi
9621  
9622           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623            # Warning - without using the other run time loading flags,
9624            # -berok will link without error, but may produce a broken library.
9625            no_undefined_flag=' ${wl}-bernotok'
9626            allow_undefined_flag=' ${wl}-berok'
9627 <          # Exported symbols can be pulled into shared objects from archives
9628 <          whole_archive_flag_spec='$convenience'
9627 >          if test "$with_gnu_ld" = yes; then
9628 >            # We only use this code for GNU lds that support --whole-archive.
9629 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 >          else
9631 >            # Exported symbols can be pulled into shared objects from archives
9632 >            whole_archive_flag_spec='$convenience'
9633 >          fi
9634            archive_cmds_need_lc=yes
9635            # This is similar to how AIX traditionally builds its shared libraries.
9636            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 8962 | Line 9662 | if test -z "$aix_libpath"; then aix_libp
9662        # Microsoft Visual C++.
9663        # hardcode_libdir_flag_spec is actually meaningless, as there is
9664        # no search path for DLLs.
9665 <      hardcode_libdir_flag_spec=' '
9666 <      allow_undefined_flag=unsupported
9667 <      # Tell ltmain to make .lib files, not .a files.
9668 <      libext=lib
9669 <      # Tell ltmain to make .dll files, not .so files.
9670 <      shrext_cmds=".dll"
9671 <      # FIXME: Setting linknames here is a bad hack.
9672 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9673 <      # The linker will automatically build a .lib file if we build a DLL.
9674 <      old_archive_from_new_cmds='true'
9675 <      # FIXME: Should let the user specify the lib program.
9676 <      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 <      fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 <      enable_shared_with_static_runtimes=yes
9665 >      case $cc_basename in
9666 >      cl*)
9667 >        # Native MSVC
9668 >        hardcode_libdir_flag_spec=' '
9669 >        allow_undefined_flag=unsupported
9670 >        always_export_symbols=yes
9671 >        file_list_spec='@'
9672 >        # Tell ltmain to make .lib files, not .a files.
9673 >        libext=lib
9674 >        # Tell ltmain to make .dll files, not .so files.
9675 >        shrext_cmds=".dll"
9676 >        # FIXME: Setting linknames here is a bad hack.
9677 >        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9678 >        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9679 >            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9680 >          else
9681 >            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9682 >          fi~
9683 >          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9684 >          linknames='
9685 >        # The linker will not automatically build a static lib if we build a DLL.
9686 >        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9687 >        enable_shared_with_static_runtimes=yes
9688 >        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9689 >        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9690 >        # Don't use ranlib
9691 >        old_postinstall_cmds='chmod 644 $oldlib'
9692 >        postlink_cmds='lt_outputfile="@OUTPUT@"~
9693 >          lt_tool_outputfile="@TOOL_OUTPUT@"~
9694 >          case $lt_outputfile in
9695 >            *.exe|*.EXE) ;;
9696 >            *)
9697 >              lt_outputfile="$lt_outputfile.exe"
9698 >              lt_tool_outputfile="$lt_tool_outputfile.exe"
9699 >              ;;
9700 >          esac~
9701 >          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9702 >            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9703 >            $RM "$lt_outputfile.manifest";
9704 >          fi'
9705 >        ;;
9706 >      *)
9707 >        # Assume MSVC wrapper
9708 >        hardcode_libdir_flag_spec=' '
9709 >        allow_undefined_flag=unsupported
9710 >        # Tell ltmain to make .lib files, not .a files.
9711 >        libext=lib
9712 >        # Tell ltmain to make .dll files, not .so files.
9713 >        shrext_cmds=".dll"
9714 >        # FIXME: Setting linknames here is a bad hack.
9715 >        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9716 >        # The linker will automatically build a .lib file if we build a DLL.
9717 >        old_archive_from_new_cmds='true'
9718 >        # FIXME: Should let the user specify the lib program.
9719 >        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9720 >        enable_shared_with_static_runtimes=yes
9721 >        ;;
9722 >      esac
9723        ;;
9724  
9725      darwin* | rhapsody*)
# Line 8985 | Line 9729 | if test -z "$aix_libpath"; then aix_libp
9729    hardcode_direct=no
9730    hardcode_automatic=yes
9731    hardcode_shlibpath_var=unsupported
9732 <  whole_archive_flag_spec=''
9732 >  if test "$lt_cv_ld_force_load" = "yes"; then
9733 >    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\"`'
9734 >
9735 >  else
9736 >    whole_archive_flag_spec=''
9737 >  fi
9738    link_all_deplibs=yes
9739    allow_undefined_flag="$_lt_dar_allow_undefined"
9740    case $cc_basename in
# Line 8993 | Line 9742 | if test -z "$aix_libpath"; then aix_libp
9742       *) _lt_dar_can_shared=$GCC ;;
9743    esac
9744    if test "$_lt_dar_can_shared" = "yes"; then
9745 <    output_verbose_link_cmd=echo
9745 >    output_verbose_link_cmd=func_echo_all
9746      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9747      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9748      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9011 | Line 9760 | if test -z "$aix_libpath"; then aix_libp
9760        hardcode_shlibpath_var=no
9761        ;;
9762  
9014    freebsd1*)
9015      ld_shlibs=no
9016      ;;
9017
9763      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9764      # support.  Future versions do this automatically, but an explicit c++rt0.o
9765      # does not break anything, and helps significantly (at the cost of a little
# Line 9027 | Line 9772 | if test -z "$aix_libpath"; then aix_libp
9772        ;;
9773  
9774      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9775 <    freebsd2*)
9775 >    freebsd2.*)
9776        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9777        hardcode_direct=yes
9778        hardcode_minus_L=yes
# Line 9036 | Line 9781 | if test -z "$aix_libpath"; then aix_libp
9781  
9782      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9783      freebsd* | dragonfly*)
9784 <      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9784 >      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9785        hardcode_libdir_flag_spec='-R$libdir'
9786        hardcode_direct=yes
9787        hardcode_shlibpath_var=no
# Line 9044 | Line 9789 | if test -z "$aix_libpath"; then aix_libp
9789  
9790      hpux9*)
9791        if test "$GCC" = yes; then
9792 <        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'
9792 >        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'
9793        else
9794          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'
9795        fi
# Line 9059 | Line 9804 | if test -z "$aix_libpath"; then aix_libp
9804        ;;
9805  
9806      hpux10*)
9807 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9808 <        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9807 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9808 >        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9809        else
9810          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9811        fi
9812        if test "$with_gnu_ld" = no; then
9813          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9069        hardcode_libdir_flag_spec_ld='+b $libdir'
9814          hardcode_libdir_separator=:
9815          hardcode_direct=yes
9816          hardcode_direct_absolute=yes
# Line 9078 | Line 9822 | if test -z "$aix_libpath"; then aix_libp
9822        ;;
9823  
9824      hpux11*)
9825 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9825 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9826          case $host_cpu in
9827          hppa*64*)
9828            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9829            ;;
9830          ia64*)
9831 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9831 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9832            ;;
9833          *)
9834 <          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9834 >          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9835            ;;
9836          esac
9837        else
# Line 9099 | Line 9843 | if test -z "$aix_libpath"; then aix_libp
9843            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9844            ;;
9845          *)
9846 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9846 >
9847 >          # Older versions of the 11.00 compiler do not understand -b yet
9848 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9849 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9850 > $as_echo_n "checking if $CC understands -b... " >&6; }
9851 > if ${lt_cv_prog_compiler__b+:} false; then :
9852 >  $as_echo_n "(cached) " >&6
9853 > else
9854 >  lt_cv_prog_compiler__b=no
9855 >   save_LDFLAGS="$LDFLAGS"
9856 >   LDFLAGS="$LDFLAGS -b"
9857 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9858 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9859 >     # The linker can only warn and ignore the option if not recognized
9860 >     # So say no if there are warnings
9861 >     if test -s conftest.err; then
9862 >       # Append any errors to the config.log.
9863 >       cat conftest.err 1>&5
9864 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9865 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9866 >       if diff conftest.exp conftest.er2 >/dev/null; then
9867 >         lt_cv_prog_compiler__b=yes
9868 >       fi
9869 >     else
9870 >       lt_cv_prog_compiler__b=yes
9871 >     fi
9872 >   fi
9873 >   $RM -r conftest*
9874 >   LDFLAGS="$save_LDFLAGS"
9875 >
9876 > fi
9877 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9878 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9879 >
9880 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9881 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9882 > else
9883 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9884 > fi
9885 >
9886            ;;
9887          esac
9888        fi
# Line 9127 | Line 9910 | if test -z "$aix_libpath"; then aix_libp
9910  
9911      irix5* | irix6* | nonstopux*)
9912        if test "$GCC" = yes; then
9913 <        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'
9913 >        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'
9914          # Try to use the -exported_symbol ld option, if it does not
9915          # work, assume that -exports_file does not work either and
9916          # implicitly export all symbols.
9917 <        save_LDFLAGS="$LDFLAGS"
9918 <        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9919 <        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 >        # This should be the same for all languages, so no per-tag cache variable.
9918 >        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9919 > $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9920 > if ${lt_cv_irix_exported_symbol+:} false; then :
9921 >  $as_echo_n "(cached) " >&6
9922 > else
9923 >  save_LDFLAGS="$LDFLAGS"
9924 >           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9925 >           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926   /* end confdefs.h.  */
9927 < int foo(void) {}
9927 > int foo (void) { return 0; }
9928   _ACEOF
9929   if ac_fn_c_try_link "$LINENO"; then :
9930 <  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'
9931 <
9930 >  lt_cv_irix_exported_symbol=yes
9931 > else
9932 >  lt_cv_irix_exported_symbol=no
9933   fi
9934   rm -f core conftest.err conftest.$ac_objext \
9935      conftest$ac_exeext conftest.$ac_ext
9936 <        LDFLAGS="$save_LDFLAGS"
9936 >           LDFLAGS="$save_LDFLAGS"
9937 > fi
9938 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9939 > $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9940 >        if test "$lt_cv_irix_exported_symbol" = yes; then
9941 >          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'
9942 >        fi
9943        else
9944 <        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'
9945 <        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'
9944 >        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'
9945 >        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'
9946        fi
9947        archive_cmds_need_lc='no'
9948        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9208 | Line 10004 | rm -f core conftest.err conftest.$ac_obj
10004        hardcode_libdir_flag_spec='-L$libdir'
10005        hardcode_minus_L=yes
10006        allow_undefined_flag=unsupported
10007 <      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'
10007 >      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'
10008        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10009        ;;
10010  
10011      osf3*)
10012        if test "$GCC" = yes; then
10013          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10014 <        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'
10014 >        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'
10015        else
10016          allow_undefined_flag=' -expect_unresolved \*'
10017 <        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'
10017 >        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'
10018        fi
10019        archive_cmds_need_lc='no'
10020        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9228 | Line 10024 | rm -f core conftest.err conftest.$ac_obj
10024      osf4* | osf5*)      # as osf3* with the addition of -msym flag
10025        if test "$GCC" = yes; then
10026          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10027 <        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'
10027 >        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'
10028          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10029        else
10030          allow_undefined_flag=' -expect_unresolved \*'
10031 <        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'
10031 >        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'
10032          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~
10033 <        $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'
10033 >        $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'
10034  
10035          # Both c and cxx compiler support -rpath directly
10036          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9247 | Line 10043 | rm -f core conftest.err conftest.$ac_obj
10043        no_undefined_flag=' -z defs'
10044        if test "$GCC" = yes; then
10045          wlarc='${wl}'
10046 <        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 >        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10047          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10048 <          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10048 >          $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'
10049        else
10050          case `$CC -V 2>&1` in
10051          *"Compilers 5.0"*)
# Line 9437 | Line 10233 | x|xyes)
10233        # to ld, don't add -lc before -lgcc.
10234        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10235   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10236 <      $RM conftest*
10237 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10236 > if ${lt_cv_archive_cmds_need_lc+:} false; then :
10237 >  $as_echo_n "(cached) " >&6
10238 > else
10239 >  $RM conftest*
10240 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10241  
10242 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10242 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10243    (eval $ac_compile) 2>&5
10244    ac_status=$?
10245    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10246    test $ac_status = 0; } 2>conftest.err; then
10247 <        soname=conftest
10248 <        lib=conftest
10249 <        libobjs=conftest.$ac_objext
10250 <        deplibs=
10251 <        wl=$lt_prog_compiler_wl
10252 <        pic_flag=$lt_prog_compiler_pic
10253 <        compiler_flags=-v
10254 <        linker_flags=-v
10255 <        verstring=
10256 <        output_objdir=.
10257 <        libname=conftest
10258 <        lt_save_allow_undefined_flag=$allow_undefined_flag
10259 <        allow_undefined_flag=
10260 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10247 >          soname=conftest
10248 >          lib=conftest
10249 >          libobjs=conftest.$ac_objext
10250 >          deplibs=
10251 >          wl=$lt_prog_compiler_wl
10252 >          pic_flag=$lt_prog_compiler_pic
10253 >          compiler_flags=-v
10254 >          linker_flags=-v
10255 >          verstring=
10256 >          output_objdir=.
10257 >          libname=conftest
10258 >          lt_save_allow_undefined_flag=$allow_undefined_flag
10259 >          allow_undefined_flag=
10260 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10261    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10262    ac_status=$?
10263    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10264    test $ac_status = 0; }
10265 <        then
10266 <          archive_cmds_need_lc=no
10267 <        else
10268 <          archive_cmds_need_lc=yes
10269 <        fi
10270 <        allow_undefined_flag=$lt_save_allow_undefined_flag
10271 <      else
10272 <        cat conftest.err 1>&5
10273 <      fi
10274 <      $RM conftest*
10275 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10276 < $as_echo "$archive_cmds_need_lc" >&6; }
10265 >          then
10266 >            lt_cv_archive_cmds_need_lc=no
10267 >          else
10268 >            lt_cv_archive_cmds_need_lc=yes
10269 >          fi
10270 >          allow_undefined_flag=$lt_save_allow_undefined_flag
10271 >        else
10272 >          cat conftest.err 1>&5
10273 >        fi
10274 >        $RM conftest*
10275 >
10276 > fi
10277 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10278 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10279 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10280        ;;
10281      esac
10282    fi
# Line 9632 | Line 10434 | esac
10434  
10435  
10436  
9635
9636
9637
9638
9639
10437    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10438   $as_echo_n "checking dynamic linker characteristics... " >&6; }
10439  
# Line 9645 | Line 10442 | if test "$GCC" = yes; then
10442      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10443      *) lt_awk_arg="/^libraries:/" ;;
10444    esac
10445 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10446 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10445 >  case $host_os in
10446 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10447 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
10448 >  esac
10449 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10450 >  case $lt_search_path_spec in
10451 >  *\;*)
10452      # if the path contains ";" then we assume it to be the separator
10453      # otherwise default to the standard path separator (i.e. ":") - it is
10454      # assumed that no part of a normal pathname contains ";" but that should
10455      # okay in the real world where ";" in dirpaths is itself problematic.
10456 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10457 <  else
10458 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10459 <  fi
10456 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10457 >    ;;
10458 >  *)
10459 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10460 >    ;;
10461 >  esac
10462    # Ok, now we have the path, separated by spaces, we can step through it
10463    # and add multilib dir if necessary.
10464    lt_tmp_lt_search_path_spec=
# Line 9667 | Line 10471 | if test "$GCC" = yes; then
10471          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10472      fi
10473    done
10474 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10474 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10475   BEGIN {RS=" "; FS="/|\n";} {
10476    lt_foo="";
10477    lt_count=0;
# Line 9687 | Line 10491 | BEGIN {RS=" "; FS="/|\n";} {
10491    if (lt_foo != "") { lt_freq[lt_foo]++; }
10492    if (lt_freq[lt_foo] == 1) { print lt_foo; }
10493   }'`
10494 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10494 >  # AWK program above erroneously prepends '/' to C:/dos/paths
10495 >  # for these hosts.
10496 >  case $host_os in
10497 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10498 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10499 >  esac
10500 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10501   else
10502    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10503   fi
# Line 9713 | Line 10523 | need_version=unknown
10523  
10524   case $host_os in
10525   aix3*)
10526 <  version_type=linux
10526 >  version_type=linux # correct to gnu/linux during the next big refactor
10527    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10528    shlibpath_var=LIBPATH
10529  
# Line 9722 | Line 10532 | aix3*)
10532    ;;
10533  
10534   aix[4-9]*)
10535 <  version_type=linux
10535 >  version_type=linux # correct to gnu/linux during the next big refactor
10536    need_lib_prefix=no
10537    need_version=no
10538    hardcode_into_libs=yes
# Line 9775 | Line 10585 | amigaos*)
10585    m68k)
10586      library_names_spec='$libname.ixlibrary $libname.a'
10587      # Create ${libname}_ixlibrary.a entries in /sys/libs.
10588 <    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'
10588 >    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'
10589      ;;
10590    esac
10591    ;;
# Line 9787 | Line 10597 | beos*)
10597    ;;
10598  
10599   bsdi[45]*)
10600 <  version_type=linux
10600 >  version_type=linux # correct to gnu/linux during the next big refactor
10601    need_version=no
10602    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603    soname_spec='${libname}${release}${shared_ext}$major'
# Line 9806 | Line 10616 | cygwin* | mingw* | pw32* | cegcc*)
10616    need_version=no
10617    need_lib_prefix=no
10618  
10619 <  case $GCC,$host_os in
10620 <  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10619 >  case $GCC,$cc_basename in
10620 >  yes,*)
10621 >    # gcc
10622      library_names_spec='$libname.dll.a'
10623      # DLL is installed to $(libdir)/../bin by postinstall_cmds
10624      postinstall_cmds='base_file=`basename \${file}`~
# Line 9828 | Line 10639 | cygwin* | mingw* | pw32* | cegcc*)
10639      cygwin*)
10640        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10641        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10642 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10642 >
10643 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10644        ;;
10645      mingw* | cegcc*)
10646        # MinGW DLLs use traditional 'lib' prefix
10647        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9836      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9837      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9838        # It is most probably a Windows format PATH printed by
9839        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9840        # path with ; separators, and with drive letters. We can handle the
9841        # drive letters (cygwin fileutils understands them), so leave them,
9842        # especially as we might pass files found there to a mingw objdump,
9843        # which wouldn't understand a cygwinified path. Ahh.
9844        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9845      else
9846        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9847      fi
10648        ;;
10649      pw32*)
10650        # pw32 DLLs use 'pw' prefix rather than 'lib'
10651        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10652        ;;
10653      esac
10654 +    dynamic_linker='Win32 ld.exe'
10655 +    ;;
10656 +
10657 +  *,cl*)
10658 +    # Native MSVC
10659 +    libname_spec='$name'
10660 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10661 +    library_names_spec='${libname}.dll.lib'
10662 +
10663 +    case $build_os in
10664 +    mingw*)
10665 +      sys_lib_search_path_spec=
10666 +      lt_save_ifs=$IFS
10667 +      IFS=';'
10668 +      for lt_path in $LIB
10669 +      do
10670 +        IFS=$lt_save_ifs
10671 +        # Let DOS variable expansion print the short 8.3 style file name.
10672 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10673 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10674 +      done
10675 +      IFS=$lt_save_ifs
10676 +      # Convert to MSYS style.
10677 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10678 +      ;;
10679 +    cygwin*)
10680 +      # Convert to unix form, then to dos form, then back to unix form
10681 +      # but this time dos style (no spaces!) so that the unix form looks
10682 +      # like /cygdrive/c/PROGRA~1:/cygdr...
10683 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10684 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10685 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10686 +      ;;
10687 +    *)
10688 +      sys_lib_search_path_spec="$LIB"
10689 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10690 +        # It is most probably a Windows format PATH.
10691 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10692 +      else
10693 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10694 +      fi
10695 +      # FIXME: find the short name or the path components, as spaces are
10696 +      # common. (e.g. "Program Files" -> "PROGRA~1")
10697 +      ;;
10698 +    esac
10699 +
10700 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10701 +    postinstall_cmds='base_file=`basename \${file}`~
10702 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10703 +      dldir=$destdir/`dirname \$dlpath`~
10704 +      test -d \$dldir || mkdir -p \$dldir~
10705 +      $install_prog $dir/$dlname \$dldir/$dlname'
10706 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10707 +      dlpath=$dir/\$dldll~
10708 +       $RM \$dlpath'
10709 +    shlibpath_overrides_runpath=yes
10710 +    dynamic_linker='Win32 link.exe'
10711      ;;
10712  
10713    *)
10714 +    # Assume MSVC wrapper
10715      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10716 +    dynamic_linker='Win32 ld.exe'
10717      ;;
10718    esac
9860  dynamic_linker='Win32 ld.exe'
10719    # FIXME: first we should search . and the directory the executable is in
10720    shlibpath_var=PATH
10721    ;;
# Line 9878 | Line 10736 | darwin* | rhapsody*)
10736    ;;
10737  
10738   dgux*)
10739 <  version_type=linux
10739 >  version_type=linux # correct to gnu/linux during the next big refactor
10740    need_lib_prefix=no
10741    need_version=no
10742    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
# Line 9886 | Line 10744 | dgux*)
10744    shlibpath_var=LD_LIBRARY_PATH
10745    ;;
10746  
9889 freebsd1*)
9890  dynamic_linker=no
9891  ;;
9892
10747   freebsd* | dragonfly*)
10748    # DragonFly does not have aout.  When/if they implement a new
10749    # versioning mechanism, adjust this.
# Line 9897 | Line 10751 | freebsd* | dragonfly*)
10751      objformat=`/usr/bin/objformat`
10752    else
10753      case $host_os in
10754 <    freebsd[123]*) objformat=aout ;;
10754 >    freebsd[23].*) objformat=aout ;;
10755      *) objformat=elf ;;
10756      esac
10757    fi
# Line 9915 | Line 10769 | freebsd* | dragonfly*)
10769    esac
10770    shlibpath_var=LD_LIBRARY_PATH
10771    case $host_os in
10772 <  freebsd2*)
10772 >  freebsd2.*)
10773      shlibpath_overrides_runpath=yes
10774      ;;
10775    freebsd3.[01]* | freebsdelf3.[01]*)
# Line 9935 | Line 10789 | freebsd* | dragonfly*)
10789    ;;
10790  
10791   gnu*)
10792 <  version_type=linux
10792 >  version_type=linux # correct to gnu/linux during the next big refactor
10793    need_lib_prefix=no
10794    need_version=no
10795    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10796    soname_spec='${libname}${release}${shared_ext}$major'
10797    shlibpath_var=LD_LIBRARY_PATH
10798 +  shlibpath_overrides_runpath=no
10799 +  hardcode_into_libs=yes
10800 +  ;;
10801 +
10802 + haiku*)
10803 +  version_type=linux # correct to gnu/linux during the next big refactor
10804 +  need_lib_prefix=no
10805 +  need_version=no
10806 +  dynamic_linker="$host_os runtime_loader"
10807 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10808 +  soname_spec='${libname}${release}${shared_ext}$major'
10809 +  shlibpath_var=LIBRARY_PATH
10810 +  shlibpath_overrides_runpath=yes
10811 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10812    hardcode_into_libs=yes
10813    ;;
10814  
# Line 9986 | Line 10854 | hpux9* | hpux10* | hpux11*)
10854      soname_spec='${libname}${release}${shared_ext}$major'
10855      ;;
10856    esac
10857 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10857 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10858    postinstall_cmds='chmod 555 $lib'
10859 +  # or fails outright, so override atomically:
10860 +  install_override_mode=555
10861    ;;
10862  
10863   interix[3-9]*)
10864 <  version_type=linux
10864 >  version_type=linux # correct to gnu/linux during the next big refactor
10865    need_lib_prefix=no
10866    need_version=no
10867    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
# Line 10007 | Line 10877 | irix5* | irix6* | nonstopux*)
10877      nonstopux*) version_type=nonstopux ;;
10878      *)
10879          if test "$lt_cv_prog_gnu_ld" = yes; then
10880 <                version_type=linux
10880 >                version_type=linux # correct to gnu/linux during the next big refactor
10881          else
10882                  version_type=irix
10883          fi ;;
# Line 10044 | Line 10914 | linux*oldld* | linux*aout* | linux*coff*
10914    dynamic_linker=no
10915    ;;
10916  
10917 < # This must be Linux ELF.
10918 < linux* | k*bsd*-gnu)
10919 <  version_type=linux
10917 > # This must be glibc/ELF.
10918 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10919 >  version_type=linux # correct to gnu/linux during the next big refactor
10920    need_lib_prefix=no
10921    need_version=no
10922    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10054 | Line 10924 | linux* | k*bsd*-gnu)
10924    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10925    shlibpath_var=LD_LIBRARY_PATH
10926    shlibpath_overrides_runpath=no
10927 +
10928    # Some binutils ld are patched to set DT_RUNPATH
10929 <  save_LDFLAGS=$LDFLAGS
10930 <  save_libdir=$libdir
10931 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10932 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10933 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 >  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10930 >  $as_echo_n "(cached) " >&6
10931 > else
10932 >  lt_cv_shlibpath_overrides_runpath=no
10933 >    save_LDFLAGS=$LDFLAGS
10934 >    save_libdir=$libdir
10935 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10936 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10937 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938   /* end confdefs.h.  */
10939  
10940   int
# Line 10072 | Line 10947 | main ()
10947   _ACEOF
10948   if ac_fn_c_try_link "$LINENO"; then :
10949    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10950 <  shlibpath_overrides_runpath=yes
10950 >  lt_cv_shlibpath_overrides_runpath=yes
10951   fi
10952   fi
10953   rm -f core conftest.err conftest.$ac_objext \
10954      conftest$ac_exeext conftest.$ac_ext
10955 <  LDFLAGS=$save_LDFLAGS
10956 <  libdir=$save_libdir
10955 >    LDFLAGS=$save_LDFLAGS
10956 >    libdir=$save_libdir
10957 >
10958 > fi
10959 >
10960 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10961  
10962    # This implies no fast_install, which is unacceptable.
10963    # Some rework will be needed to allow for fast_install
10964    # before this can be enabled.
10965    hardcode_into_libs=yes
10966  
10088  # find out which ABI we are using
10089  libsuff=
10090  case "$host_cpu" in
10091  x86_64*|s390x*|powerpc64*)
10092    echo '#line 10092 "configure"' > conftest.$ac_ext
10093    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10094  (eval $ac_compile) 2>&5
10095  ac_status=$?
10096  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10097  test $ac_status = 0; }; then
10098      case `/usr/bin/file conftest.$ac_objext` in
10099      *64-bit*)
10100        libsuff=64
10101        ;;
10102      esac
10103    fi
10104    rm -rf conftest*
10105    ;;
10106  esac
10107
10108  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10109
10967    # Append ld.so.conf contents to the search path
10968    if test -f /etc/ld.so.conf; then
10969 <    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' ' '`
10970 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10969 >    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' ' '`
10970 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10971    fi
10972  
10973    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10141 | Line 10998 | netbsd*)
10998    ;;
10999  
11000   newsos6)
11001 <  version_type=linux
11001 >  version_type=linux # correct to gnu/linux during the next big refactor
11002    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003    shlibpath_var=LD_LIBRARY_PATH
11004    shlibpath_overrides_runpath=yes
# Line 10210 | Line 11067 | rdos*)
11067    ;;
11068  
11069   solaris*)
11070 <  version_type=linux
11070 >  version_type=linux # correct to gnu/linux during the next big refactor
11071    need_lib_prefix=no
11072    need_version=no
11073    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10235 | Line 11092 | sunos4*)
11092    ;;
11093  
11094   sysv4 | sysv4.3*)
11095 <  version_type=linux
11095 >  version_type=linux # correct to gnu/linux during the next big refactor
11096    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097    soname_spec='${libname}${release}${shared_ext}$major'
11098    shlibpath_var=LD_LIBRARY_PATH
# Line 10259 | Line 11116 | sysv4 | sysv4.3*)
11116  
11117   sysv4*MP*)
11118    if test -d /usr/nec ;then
11119 <    version_type=linux
11119 >    version_type=linux # correct to gnu/linux during the next big refactor
11120      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11121      soname_spec='$libname${shared_ext}.$major'
11122      shlibpath_var=LD_LIBRARY_PATH
# Line 10290 | Line 11147 | sysv5* | sco3.2v5* | sco5v6* | unixware*
11147  
11148   tpf*)
11149    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11150 <  version_type=linux
11150 >  version_type=linux # correct to gnu/linux during the next big refactor
11151    need_lib_prefix=no
11152    need_version=no
11153    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 10300 | Line 11157 | tpf*)
11157    ;;
11158  
11159   uts4*)
11160 <  version_type=linux
11160 >  version_type=linux # correct to gnu/linux during the next big refactor
11161    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11162    soname_spec='${libname}${release}${shared_ext}$major'
11163    shlibpath_var=LD_LIBRARY_PATH
# Line 10412 | Line 11269 | fi
11269  
11270  
11271  
11272 +
11273 +
11274 +
11275 +
11276 +
11277    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11278   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11279   hardcode_action=
# Line 10484 | Line 11346 | else
11346    # if libdl is installed we need to link against it
11347      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11348   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11349 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11349 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11350    $as_echo_n "(cached) " >&6
11351   else
11352    ac_check_lib_save_LIBS=$LIBS
# Line 10518 | Line 11380 | LIBS=$ac_check_lib_save_LIBS
11380   fi
11381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11382   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11383 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11384    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11385   else
11386  
# Line 10532 | Line 11394 | fi
11394  
11395    *)
11396      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11397 < if test "x$ac_cv_func_shl_load" = x""yes; then :
11397 > if test "x$ac_cv_func_shl_load" = xyes; then :
11398    lt_cv_dlopen="shl_load"
11399   else
11400    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11401   $as_echo_n "checking for shl_load in -ldld... " >&6; }
11402 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11402 > if ${ac_cv_lib_dld_shl_load+:} false; then :
11403    $as_echo_n "(cached) " >&6
11404   else
11405    ac_check_lib_save_LIBS=$LIBS
# Line 10571 | Line 11433 | LIBS=$ac_check_lib_save_LIBS
11433   fi
11434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11435   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11436 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11436 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11437    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11438   else
11439    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11440 < if test "x$ac_cv_func_dlopen" = x""yes; then :
11440 > if test "x$ac_cv_func_dlopen" = xyes; then :
11441    lt_cv_dlopen="dlopen"
11442   else
11443    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11444   $as_echo_n "checking for dlopen in -ldl... " >&6; }
11445 < if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11445 > if ${ac_cv_lib_dl_dlopen+:} false; then :
11446    $as_echo_n "(cached) " >&6
11447   else
11448    ac_check_lib_save_LIBS=$LIBS
# Line 10614 | Line 11476 | LIBS=$ac_check_lib_save_LIBS
11476   fi
11477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11478   $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11479 < if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11479 > if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11480    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11481   else
11482    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11483   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11484 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11484 > if ${ac_cv_lib_svld_dlopen+:} false; then :
11485    $as_echo_n "(cached) " >&6
11486   else
11487    ac_check_lib_save_LIBS=$LIBS
# Line 10653 | Line 11515 | LIBS=$ac_check_lib_save_LIBS
11515   fi
11516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11518 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11519    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520   else
11521    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522   $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11523 > if ${ac_cv_lib_dld_dld_link+:} false; then :
11524    $as_echo_n "(cached) " >&6
11525   else
11526    ac_check_lib_save_LIBS=$LIBS
# Line 10692 | Line 11554 | LIBS=$ac_check_lib_save_LIBS
11554   fi
11555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11556   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11557 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11557 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11558    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11559   fi
11560  
# Line 10733 | Line 11595 | fi
11595  
11596      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11597   $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11598 < if test "${lt_cv_dlopen_self+set}" = set; then :
11598 > if ${lt_cv_dlopen_self+:} false; then :
11599    $as_echo_n "(cached) " >&6
11600   else
11601            if test "$cross_compiling" = yes; then :
# Line 10742 | Line 11604 | else
11604    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11605    lt_status=$lt_dlunknown
11606    cat > conftest.$ac_ext <<_LT_EOF
11607 < #line 10745 "configure"
11607 > #line $LINENO "configure"
11608   #include "confdefs.h"
11609  
11610   #if HAVE_DLFCN_H
# Line 10783 | Line 11645 | else
11645   #  endif
11646   #endif
11647  
11648 < void fnord() { int i=42;}
11648 > /* When -fvisbility=hidden is used, assume the code has been annotated
11649 >   correspondingly for the symbols needed.  */
11650 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11651 > int fnord () __attribute__((visibility("default")));
11652 > #endif
11653 >
11654 > int fnord () { return 42; }
11655   int main ()
11656   {
11657    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10792 | Line 11660 | int main ()
11660    if (self)
11661      {
11662        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11663 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11663 >      else
11664 >        {
11665 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11666 >          else puts (dlerror ());
11667 >        }
11668        /* dlclose (self); */
11669      }
11670    else
# Line 10829 | Line 11701 | $as_echo "$lt_cv_dlopen_self" >&6; }
11701        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11702        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11703   $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11704 < if test "${lt_cv_dlopen_self_static+set}" = set; then :
11704 > if ${lt_cv_dlopen_self_static+:} false; then :
11705    $as_echo_n "(cached) " >&6
11706   else
11707            if test "$cross_compiling" = yes; then :
# Line 10838 | Line 11710 | else
11710    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11711    lt_status=$lt_dlunknown
11712    cat > conftest.$ac_ext <<_LT_EOF
11713 < #line 10841 "configure"
11713 > #line $LINENO "configure"
11714   #include "confdefs.h"
11715  
11716   #if HAVE_DLFCN_H
# Line 10879 | Line 11751 | else
11751   #  endif
11752   #endif
11753  
11754 < void fnord() { int i=42;}
11754 > /* When -fvisbility=hidden is used, assume the code has been annotated
11755 >   correspondingly for the symbols needed.  */
11756 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11757 > int fnord () __attribute__((visibility("default")));
11758 > #endif
11759 >
11760 > int fnord () { return 42; }
11761   int main ()
11762   {
11763    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10888 | Line 11766 | int main ()
11766    if (self)
11767      {
11768        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11769 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11769 >      else
11770 >        {
11771 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11772 >          else puts (dlerror ());
11773 >        }
11774        /* dlclose (self); */
11775      }
11776    else
# Line 11057 | Line 11939 | CC="$lt_save_CC"
11939  
11940  
11941  
11942 +
11943 +
11944          ac_config_commands="$ac_config_commands libtool"
11945  
11946  
# Line 11067 | Line 11951 | CC="$lt_save_CC"
11951  
11952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11953   $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11954 < if test "${libltdl_cv_shlibext+set}" = set; then :
11954 > if ${libltdl_cv_shlibext+:} false; then :
11955    $as_echo_n "(cached) " >&6
11956   else
11957  
11958   module=yes
11959   eval libltdl_cv_shlibext=$shrext_cmds
11960 + module=no
11961 + eval libltdl_cv_shrext=$shrext_cmds
11962  
11963   fi
11964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
# Line 11084 | Line 11970 | cat >>confdefs.h <<_ACEOF
11970   _ACEOF
11971  
11972   fi
11973 + if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11974 +
11975 + cat >>confdefs.h <<_ACEOF
11976 + #define LT_SHARED_EXT "$libltdl_cv_shrext"
11977 + _ACEOF
11978 +
11979 + fi
11980  
11981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11982   $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11983 < if test "${lt_cv_module_path_var+set}" = set; then :
11983 > if ${lt_cv_module_path_var+:} false; then :
11984    $as_echo_n "(cached) " >&6
11985   else
11986    lt_cv_module_path_var="$shlibpath_var"
# Line 11104 | Line 11997 | fi
11997  
11998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11999   $as_echo_n "checking for the default library search path... " >&6; }
12000 < if test "${lt_cv_sys_dlsearch_path+set}" = set; then :
12000 > if ${lt_cv_sys_dlsearch_path+:} false; then :
12001    $as_echo_n "(cached) " >&6
12002   else
12003    lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
# Line 11141 | Line 12034 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12034   LIBADD_DLOPEN=
12035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12036   $as_echo_n "checking for library containing dlopen... " >&6; }
12037 < if test "${ac_cv_search_dlopen+set}" = set; then :
12037 > if ${ac_cv_search_dlopen+:} false; then :
12038    $as_echo_n "(cached) " >&6
12039   else
12040    ac_func_search_save_LIBS=$LIBS
# Line 11175 | Line 12068 | for ac_lib in '' dl; do
12068   fi
12069   rm -f core conftest.err conftest.$ac_objext \
12070      conftest$ac_exeext
12071 <  if test "${ac_cv_search_dlopen+set}" = set; then :
12071 >  if ${ac_cv_search_dlopen+:} false; then :
12072    break
12073   fi
12074   done
12075 < if test "${ac_cv_search_dlopen+set}" = set; then :
12075 > if ${ac_cv_search_dlopen+:} false; then :
12076  
12077   else
12078    ac_cv_search_dlopen=no
# Line 11224 | Line 12117 | $as_echo "#define HAVE_LIBDL 1" >>confde
12117   else
12118    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12119   $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12120 < if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12120 > if ${ac_cv_lib_svld_dlopen+:} false; then :
12121    $as_echo_n "(cached) " >&6
12122   else
12123    ac_check_lib_save_LIBS=$LIBS
# Line 11258 | Line 12151 | LIBS=$ac_check_lib_save_LIBS
12151   fi
12152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12153   $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12154 < if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12154 > if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12155  
12156   $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12157  
# Line 11278 | Line 12171 | then
12171    for ac_func in dlerror
12172   do :
12173    ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12174 < if test "x$ac_cv_func_dlerror" = x""yes; then :
12174 > if test "x$ac_cv_func_dlerror" = xyes; then :
12175    cat >>confdefs.h <<_ACEOF
12176   #define HAVE_DLERROR 1
12177   _ACEOF
# Line 11292 | Line 12185 | fi
12185  
12186   LIBADD_SHL_LOAD=
12187   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12188 < if test "x$ac_cv_func_shl_load" = x""yes; then :
12188 > if test "x$ac_cv_func_shl_load" = xyes; then :
12189  
12190   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12191  
# Line 11300 | Line 12193 | $as_echo "#define HAVE_SHL_LOAD 1" >>con
12193   else
12194    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12195   $as_echo_n "checking for shl_load in -ldld... " >&6; }
12196 < if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12196 > if ${ac_cv_lib_dld_shl_load+:} false; then :
12197    $as_echo_n "(cached) " >&6
12198   else
12199    ac_check_lib_save_LIBS=$LIBS
# Line 11334 | Line 12227 | LIBS=$ac_check_lib_save_LIBS
12227   fi
12228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12229   $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12230 < if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12230 > if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12231  
12232   $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12233  
# Line 11350 | Line 12243 | case $host_os in
12243   darwin[1567].*)
12244   # We only want this for pre-Mac OS X 10.4.
12245    ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12246 < if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
12246 > if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12247  
12248   $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12249  
# Line 11364 | Line 12257 | beos*)
12257   cygwin* | mingw* | os2* | pw32*)
12258    ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12259   "
12260 < if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
12260 > if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12261    ac_have_decl=1
12262   else
12263    ac_have_decl=0
# Line 11380 | Line 12273 | esac
12273  
12274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12275   $as_echo_n "checking for dld_link in -ldld... " >&6; }
12276 < if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12276 > if ${ac_cv_lib_dld_dld_link+:} false; then :
12277    $as_echo_n "(cached) " >&6
12278   else
12279    ac_check_lib_save_LIBS=$LIBS
# Line 11414 | Line 12307 | LIBS=$ac_check_lib_save_LIBS
12307   fi
12308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12309   $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12310 < if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12310 > if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12311  
12312   $as_echo "#define HAVE_DLD 1" >>confdefs.h
12313  
# Line 11448 | Line 12341 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
12341  
12342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12343   $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12344 < if test "${lt_cv_sys_symbol_underscore+set}" = set; then :
12344 > if ${lt_cv_sys_symbol_underscore+:} false; then :
12345    $as_echo_n "(cached) " >&6
12346   else
12347    lt_cv_sys_symbol_underscore=no
# Line 11498 | Line 12391 | if test x"$lt_cv_sys_symbol_underscore"
12391       test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12392          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12393   $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12394 < if test "${libltdl_cv_need_uscore+set}" = set; then :
12394 > if ${libltdl_cv_need_uscore+:} false; then :
12395    $as_echo_n "(cached) " >&6
12396   else
12397    libltdl_cv_need_uscore=unknown
# Line 11510 | Line 12403 | else
12403    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12404    lt_status=$lt_dlunknown
12405    cat > conftest.$ac_ext <<_LT_EOF
12406 < #line 11513 "configure"
12406 > #line $LINENO "configure"
12407   #include "confdefs.h"
12408  
12409   #if HAVE_DLFCN_H
# Line 11551 | Line 12444 | else
12444   #  endif
12445   #endif
12446  
12447 < void fnord() { int i=42;}
12447 > /* When -fvisbility=hidden is used, assume the code has been annotated
12448 >   correspondingly for the symbols needed.  */
12449 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12450 > int fnord () __attribute__((visibility("default")));
12451 > #endif
12452 >
12453 > int fnord () { return 42; }
12454   int main ()
12455   {
12456    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11560 | Line 12459 | int main ()
12459    if (self)
12460      {
12461        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12462 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12462 >      else
12463 >        {
12464 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12465 >          else puts (dlerror ());
12466 >        }
12467        /* dlclose (self); */
12468      }
12469    else
# Line 11604 | Line 12507 | fi
12507  
12508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12509   $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12510 < if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then :
12510 > if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12511    $as_echo_n "(cached) " >&6
12512   else
12513    # PORTME does your system automatically load deplibs for dlopen?
# Line 11636 | Line 12539 | else
12539    freebsd* | dragonfly*)
12540      lt_cv_sys_dlopen_deplibs=yes
12541      ;;
12542 <  gnu* | linux* | k*bsd*-gnu)
12542 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12543      # GNU and its variants, using gnu ld.so (Glibc)
12544      lt_cv_sys_dlopen_deplibs=yes
12545      ;;
# Line 11710 | Line 12613 | for ac_header in argz.h
12613   do :
12614    ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12615   "
12616 < if test "x$ac_cv_header_argz_h" = x""yes; then :
12616 > if test "x$ac_cv_header_argz_h" = xyes; then :
12617    cat >>confdefs.h <<_ACEOF
12618   #define HAVE_ARGZ_H 1
12619   _ACEOF
# Line 11724 | Line 12627 | ac_fn_c_check_type "$LINENO" "error_t" "
12627   #  include <argz.h>
12628   #endif
12629   "
12630 < if test "x$ac_cv_type_error_t" = x""yes; then :
12630 > if test "x$ac_cv_type_error_t" = xyes; then :
12631  
12632   cat >>confdefs.h <<_ACEOF
12633   #define HAVE_ERROR_T 1
# Line 11747 | Line 12650 | for ac_func in argz_add argz_append argz
12650   do :
12651    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12652   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12653 < eval as_val=\$$as_ac_var
11751 <   if test "x$as_val" = x""yes; then :
12653 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12654    cat >>confdefs.h <<_ACEOF
12655   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12656   _ACEOF
# Line 11765 | Line 12667 | done
12667   if test -z "$ARGZ_H"; then :
12668    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12669   $as_echo_n "checking if argz actually works... " >&6; }
12670 < if test "${lt_cv_sys_argz_works+set}" = set; then :
12670 > if ${lt_cv_sys_argz_works+:} false; then :
12671    $as_echo_n "(cached) " >&6
12672   else
12673    case $host_os in #(
# Line 11796 | Line 12698 | else
12698   fi
12699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12700   $as_echo "$lt_cv_sys_argz_works" >&6; }
12701 <     if test $lt_cv_sys_argz_works = yes; then :
12701 >     if test "$lt_cv_sys_argz_works" = yes; then :
12702  
12703   $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12704  
# Line 11813 | Line 12715 | fi
12715  
12716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12717   $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12718 < if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
12718 > if ${libltdl_cv_preloaded_symbols+:} false; then :
12719    $as_echo_n "(cached) " >&6
12720   else
12721    if test -n "$lt_cv_sys_global_symbol_pipe"; then
# Line 11831 | Line 12733 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
12733  
12734   fi
12735  
11834
11835
12736   # Set options
12737  
12738  
# Line 11845 | Line 12745 | fi
12745  
12746  
12747  
11848
12748   # Check whether --with-included_ltdl was given.
12749   if test "${with_included_ltdl+set}" = set; then :
12750    withval=$with_included_ltdl;
# Line 11858 | Line 12757 | if test "x$with_included_ltdl" != xyes;
12757    ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12758  
12759   "
12760 < if test "x$ac_cv_header_ltdl_h" = x""yes; then :
12760 > if test "x$ac_cv_header_ltdl_h" = xyes; then :
12761    ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12762              #include <ltdl.h>
12763   "
12764 < if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then :
12764 > if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12765    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12766   $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12767 < if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then :
12767 > if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12768    $as_echo_n "(cached) " >&6
12769   else
12770    ac_check_lib_save_LIBS=$LIBS
# Line 11899 | Line 12798 | LIBS=$ac_check_lib_save_LIBS
12798   fi
12799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12800   $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12801 < if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then :
12801 > if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12802    with_included_ltdl=no
12803   else
12804    with_included_ltdl=yes
# Line 11919 | Line 12818 | fi
12818  
12819  
12820  
11922
11923
11924
11925
11926
12821   # Check whether --with-ltdl_include was given.
12822   if test "${with_ltdl_include+set}" = set; then :
12823    withval=$with_ltdl_include;
# Line 11933 | Line 12827 | fi
12827   if test -n "$with_ltdl_include"; then
12828    if test -f "$with_ltdl_include/ltdl.h"; then :
12829    else
12830 <    as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12830 >    as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12831    fi
12832   else
12833    with_ltdl_include=no
# Line 11949 | Line 12843 | fi
12843   if test -n "$with_ltdl_lib"; then
12844    if test -f "$with_ltdl_lib/libltdl.la"; then :
12845    else
12846 <    as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12846 >    as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12847    fi
12848   else
12849    with_ltdl_lib=no
# Line 11958 | Line 12852 | fi
12852   case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12853    ,yes,no,no,)
12854          case $enable_ltdl_convenience in
12855 <  no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;;
12855 >  no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12856    "") enable_ltdl_convenience=yes
12857        ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12858   esac
# Line 11986 | Line 12880 | $as_echo "#define HAVE_LTDL 1" >>confdef
12880          LTDLINCL=
12881          ;;
12882    ,no*,no,*)
12883 <        as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12883 >        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12884          ;;
12885    *)    with_included_ltdl=no
12886          LIBLTDL="-L$with_ltdl_lib -lltdl"
# Line 12037 | Line 12931 | fi
12931  
12932  
12933  
12040    subdirs="$subdirs libltdl"
12041
12042
12934  
12935  
12936  
# Line 12056 | Line 12947 | do :
12947    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12948   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12949   "
12950 < eval as_val=\$$as_ac_Header
12060 <   if test "x$as_val" = x""yes; then :
12950 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12951    cat >>confdefs.h <<_ACEOF
12952   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12953   _ACEOF
# Line 12071 | Line 12961 | for ac_func in closedir opendir readdir
12961   do :
12962    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12963   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12964 < eval as_val=\$$as_ac_var
12075 <   if test "x$as_val" = x""yes; then :
12964 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12965    cat >>confdefs.h <<_ACEOF
12966   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12967   _ACEOF
# Line 12089 | Line 12978 | for ac_func in strlcat strlcpy
12978   do :
12979    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12980   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12981 < eval as_val=\$$as_ac_var
12093 <   if test "x$as_val" = x""yes; then :
12981 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12982    cat >>confdefs.h <<_ACEOF
12983   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12984   _ACEOF
# Line 12110 | Line 12998 | cat >>confdefs.h <<_ACEOF
12998   _ACEOF
12999  
13000  
13001 + name=
13002 + eval "lt_libprefix=\"$libname_spec\""
13003 +
13004 + cat >>confdefs.h <<_ACEOF
13005 + #define LT_LIBPREFIX "$lt_libprefix"
13006 + _ACEOF
13007 +
13008 +
13009   name=ltdl
13010 < LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13010 > eval "LTDLOPEN=\"$libname_spec\""
13011  
13012  
13013  
# Line 12125 | Line 13021 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
13021  
13022   LIBTOOL="$LIBTOOL --silent"
13023  
12128
13024   # Checks for libraries.
13025  
13026    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13027   $as_echo_n "checking for library containing socket... " >&6; }
13028 < if test "${ac_cv_search_socket+set}" = set; then :
13028 > if ${ac_cv_search_socket+:} false; then :
13029    $as_echo_n "(cached) " >&6
13030   else
13031    ac_func_search_save_LIBS=$LIBS
# Line 12164 | Line 13059 | for ac_lib in '' socket; do
13059   fi
13060   rm -f core conftest.err conftest.$ac_objext \
13061      conftest$ac_exeext
13062 <  if test "${ac_cv_search_socket+set}" = set; then :
13062 >  if ${ac_cv_search_socket+:} false; then :
13063    break
13064   fi
13065   done
13066 < if test "${ac_cv_search_socket+set}" = set; then :
13066 > if ${ac_cv_search_socket+:} false; then :
13067  
13068   else
13069    ac_cv_search_socket=no
# Line 12183 | Line 13078 | if test "$ac_res" != no; then :
13078    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13079  
13080   else
13081 <  as_fn_error "socket library not found" "$LINENO" 5
13081 >  as_fn_error $? "socket library not found" "$LINENO" 5
13082 > fi
13083 >
13084 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13085 > $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13086 > if ${ac_cv_search_inet_ntoa+:} false; then :
13087 >  $as_echo_n "(cached) " >&6
13088 > else
13089 >  ac_func_search_save_LIBS=$LIBS
13090 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 > /* end confdefs.h.  */
13092 >
13093 > /* Override any GCC internal prototype to avoid an error.
13094 >   Use char because int might match the return type of a GCC
13095 >   builtin and then its argument prototype would still apply.  */
13096 > #ifdef __cplusplus
13097 > extern "C"
13098 > #endif
13099 > char inet_ntoa ();
13100 > int
13101 > main ()
13102 > {
13103 > return inet_ntoa ();
13104 >  ;
13105 >  return 0;
13106 > }
13107 > _ACEOF
13108 > for ac_lib in '' nsl; do
13109 >  if test -z "$ac_lib"; then
13110 >    ac_res="none required"
13111 >  else
13112 >    ac_res=-l$ac_lib
13113 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13114 >  fi
13115 >  if ac_fn_c_try_link "$LINENO"; then :
13116 >  ac_cv_search_inet_ntoa=$ac_res
13117 > fi
13118 > rm -f core conftest.err conftest.$ac_objext \
13119 >    conftest$ac_exeext
13120 >  if ${ac_cv_search_inet_ntoa+:} false; then :
13121 >  break
13122 > fi
13123 > done
13124 > if ${ac_cv_search_inet_ntoa+:} false; then :
13125 >
13126 > else
13127 >  ac_cv_search_inet_ntoa=no
13128 > fi
13129 > rm conftest.$ac_ext
13130 > LIBS=$ac_func_search_save_LIBS
13131 > fi
13132 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13133 > $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13134 > ac_res=$ac_cv_search_inet_ntoa
13135 > if test "$ac_res" != no; then :
13136 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13137 >
13138 > fi
13139 >
13140 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13141 > $as_echo_n "checking for library containing inet_aton... " >&6; }
13142 > if ${ac_cv_search_inet_aton+:} false; then :
13143 >  $as_echo_n "(cached) " >&6
13144 > else
13145 >  ac_func_search_save_LIBS=$LIBS
13146 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 > /* end confdefs.h.  */
13148 >
13149 > /* Override any GCC internal prototype to avoid an error.
13150 >   Use char because int might match the return type of a GCC
13151 >   builtin and then its argument prototype would still apply.  */
13152 > #ifdef __cplusplus
13153 > extern "C"
13154 > #endif
13155 > char inet_aton ();
13156 > int
13157 > main ()
13158 > {
13159 > return inet_aton ();
13160 >  ;
13161 >  return 0;
13162 > }
13163 > _ACEOF
13164 > for ac_lib in '' resolv; do
13165 >  if test -z "$ac_lib"; then
13166 >    ac_res="none required"
13167 >  else
13168 >    ac_res=-l$ac_lib
13169 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13170 >  fi
13171 >  if ac_fn_c_try_link "$LINENO"; then :
13172 >  ac_cv_search_inet_aton=$ac_res
13173 > fi
13174 > rm -f core conftest.err conftest.$ac_objext \
13175 >    conftest$ac_exeext
13176 >  if ${ac_cv_search_inet_aton+:} false; then :
13177 >  break
13178 > fi
13179 > done
13180 > if ${ac_cv_search_inet_aton+:} false; then :
13181 >
13182 > else
13183 >  ac_cv_search_inet_aton=no
13184 > fi
13185 > rm conftest.$ac_ext
13186 > LIBS=$ac_func_search_save_LIBS
13187 > fi
13188 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13189 > $as_echo "$ac_cv_search_inet_aton" >&6; }
13190 > ac_res=$ac_cv_search_inet_aton
13191 > if test "$ac_res" != no; then :
13192 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13193 >
13194   fi
13195  
13196    for ac_func in inet_aton inet_ntop inet_pton
13197   do :
13198    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13199   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13200 < eval as_val=\$$as_ac_var
12194 <   if test "x$as_val" = x""yes; then :
13200 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13201    cat >>confdefs.h <<_ACEOF
13202   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13203   _ACEOF
# Line 12204 | Line 13210 | done
13210     #include <netdb.h>
13211  
13212   "
13213 < if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then :
13213 > if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13214  
13215   cat >>confdefs.h <<_ACEOF
13216   #define HAVE_STRUCT_SOCKADDR_IN 1
# Line 12217 | Line 13223 | ac_fn_c_check_type "$LINENO" "struct soc
13223     #include <netdb.h>
13224  
13225   "
13226 < if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
13226 > if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13227  
13228   cat >>confdefs.h <<_ACEOF
13229   #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# Line 12230 | Line 13236 | ac_fn_c_check_type "$LINENO" "struct add
13236     #include <netdb.h>
13237  
13238   "
13239 < if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
13239 > if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13240  
13241   cat >>confdefs.h <<_ACEOF
13242   #define HAVE_STRUCT_ADDRINFO 1
# Line 12242 | Line 13248 | fi
13248    ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13249    <sys/socket.h>
13250   "
13251 < if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
13251 > if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13252  
13253   cat >>confdefs.h <<_ACEOF
13254   #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
# Line 12253 | Line 13259 | fi
13259  
13260  
13261  
13262 <  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default"
13263 < if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
13264 <
12259 < cat >>confdefs.h <<_ACEOF
12260 < #define HAVE_STRUCT_SOCKADDR_IN6 1
12261 < _ACEOF
12262 <
12263 <
12264 < else
13262 >  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13263 > "
13264 > if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13265  
13266   $as_echo "#define IPV6 1" >>confdefs.h
13267  
# Line 12269 | Line 13269 | fi
13269  
13270  
13271  
12272
13272   # Checks for typedefs, structures, and compiler characteristics.
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12275 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12276 if test "${ac_cv_c_const+set}" = set; then :
12277  $as_echo_n "(cached) " >&6
12278 else
12279  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h.  */
12281
12282 int
12283 main ()
12284 {
12285 /* FIXME: Include the comments suggested by Paul. */
12286 #ifndef __cplusplus
12287  /* Ultrix mips cc rejects this.  */
12288  typedef int charset[2];
12289  const charset cs;
12290  /* SunOS 4.1.1 cc rejects this.  */
12291  char const *const *pcpcc;
12292  char **ppc;
12293  /* NEC SVR4.0.2 mips cc rejects this.  */
12294  struct point {int x, y;};
12295  static struct point const zero = {0,0};
12296  /* AIX XL C 1.02.0.0 rejects this.
12297     It does not let you subtract one const X* pointer from another in
12298     an arm of an if-expression whose if-part is not a constant
12299     expression */
12300  const char *g = "string";
12301  pcpcc = &g + (g ? g-g : 0);
12302  /* HPUX 7.0 cc rejects these. */
12303  ++pcpcc;
12304  ppc = (char**) pcpcc;
12305  pcpcc = (char const *const *) ppc;
12306  { /* SCO 3.2v4 cc rejects this.  */
12307    char *t;
12308    char const *s = 0 ? (char *) 0 : (char const *) 0;
12309
12310    *t++ = 0;
12311    if (s) return 0;
12312  }
12313  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12314    int x[] = {25, 17};
12315    const int *foo = &x[0];
12316    ++foo;
12317  }
12318  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12319    typedef const int *iptr;
12320    iptr p = 0;
12321    ++p;
12322  }
12323  { /* AIX XL C 1.02.0.0 rejects this saying
12324       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12325    struct s { int j; const int *ap[3]; };
12326    struct s *b; b->j = 5;
12327  }
12328  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12329    const int foo = 10;
12330    if (!foo) return 0;
12331  }
12332  return !cs[0] && !zero.x;
12333 #endif
12334
12335  ;
12336  return 0;
12337 }
12338 _ACEOF
12339 if ac_fn_c_try_compile "$LINENO"; then :
12340  ac_cv_c_const=yes
12341 else
12342  ac_cv_c_const=no
12343 fi
12344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12345 fi
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12347 $as_echo "$ac_cv_c_const" >&6; }
12348 if test $ac_cv_c_const = no; then
12349
12350 $as_echo "#define const /**/" >>confdefs.h
12351
12352 fi
12353
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12355 $as_echo_n "checking for inline... " >&6; }
12356 if test "${ac_cv_c_inline+set}" = set; then :
12357  $as_echo_n "(cached) " >&6
12358 else
12359  ac_cv_c_inline=no
12360 for ac_kw in inline __inline__ __inline; do
12361  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h.  */
12363 #ifndef __cplusplus
12364 typedef int foo_t;
12365 static $ac_kw foo_t static_foo () {return 0; }
12366 $ac_kw foo_t foo () {return 0; }
12367 #endif
12368
12369 _ACEOF
12370 if ac_fn_c_try_compile "$LINENO"; then :
12371  ac_cv_c_inline=$ac_kw
12372 fi
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374  test "$ac_cv_c_inline" != no && break
12375 done
12376
12377 fi
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12379 $as_echo "$ac_cv_c_inline" >&6; }
12380
12381 case $ac_cv_c_inline in
12382  inline | yes) ;;
12383  *)
12384    case $ac_cv_c_inline in
12385      no) ac_val=;;
12386      *) ac_val=$ac_cv_c_inline;;
12387    esac
12388    cat >>confdefs.h <<_ACEOF
12389 #ifndef __cplusplus
12390 #define inline $ac_val
12391 #endif
12392 _ACEOF
12393    ;;
12394 esac
12395
13273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13274   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13275 < if test "${ac_cv_c_bigendian+set}" = set; then :
13275 > if ${ac_cv_c_bigendian+:} false; then :
13276    $as_echo_n "(cached) " >&6
13277   else
13278    ac_cv_c_bigendian=unknown
# Line 12613 | Line 13490 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13490  
13491       ;; #(
13492     *)
13493 <     as_fn_error "unknown endianness
13493 >     as_fn_error $? "unknown endianness
13494   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13495   esac
13496  
13497  
12621 # The cast to long int works around a bug in the HP C Compiler
12622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12624 # This bug is HP SR number 8606223364.
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12626 $as_echo_n "checking size of int64_t... " >&6; }
12627 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12628  $as_echo_n "(cached) " >&6
12629 else
12630  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12631
12632 else
12633  if test "$ac_cv_type_int64_t" = yes; then
12634     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12636 { as_fn_set_status 77
12637 as_fn_error "cannot compute sizeof (int64_t)
12638 See \`config.log' for more details." "$LINENO" 5; }; }
12639   else
12640     ac_cv_sizeof_int64_t=0
12641   fi
12642 fi
12643
12644 fi
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12646 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12647
12648
12649
12650 cat >>confdefs.h <<_ACEOF
12651 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12652 _ACEOF
12653
12654
12655 # The cast to long int works around a bug in the HP C Compiler
12656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12658 # This bug is HP SR number 8606223364.
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12660 $as_echo_n "checking size of long long... " >&6; }
12661 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12662  $as_echo_n "(cached) " >&6
12663 else
12664  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12665
12666 else
12667  if test "$ac_cv_type_long_long" = yes; then
12668     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12670 { as_fn_set_status 77
12671 as_fn_error "cannot compute sizeof (long long)
12672 See \`config.log' for more details." "$LINENO" 5; }; }
12673   else
12674     ac_cv_sizeof_long_long=0
12675   fi
12676 fi
12677
12678 fi
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12680 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12681
12682
12683
12684 cat >>confdefs.h <<_ACEOF
12685 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12686 _ACEOF
12687
12688
12689
12690 if test "$ac_cv_sizeof_int64_t" = 8; then
12691  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12692 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12693
12694 fi
12695
12696  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12697 if test "x$ac_cv_type_int64_t" = x""yes; then :
12698
12699 fi
12700
12701 elif test "$ac_cv_sizeof_long_long" = 8; then
12702  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12703 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12704
12705 else
12706
12707 cat >>confdefs.h <<_ACEOF
12708 #define uint64_t unsigned long long
12709 _ACEOF
12710
12711 fi
12712
12713  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12714 if test "x$ac_cv_type_int64_t" = x""yes; then :
12715
12716 else
12717
12718 cat >>confdefs.h <<_ACEOF
12719 #define int64_t long long
12720 _ACEOF
12721
12722 fi
12723
12724 else
12725  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12726 fi
12727
12728
13498   # Checks for library functions.
13499  
13500  
# Line 12734 | Line 13503 | fi
13503   do :
13504    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13505   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13506 < eval as_val=\$$as_ac_var
12738 <   if test "x$as_val" = x""yes; then :
13506 > if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13507    cat >>confdefs.h <<_ACEOF
13508   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13509   _ACEOF
# Line 12755 | Line 13523 | done
13523  
13524  
13525  
12758
12759
12760
12761
13526   # Checks for header files.
13527  
13528  
# Line 12768 | Line 13532 | do :
13532    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13533   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13534   "
13535 < eval as_val=\$$as_ac_Header
12772 <   if test "x$as_val" = x""yes; then :
13535 > if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13536    cat >>confdefs.h <<_ACEOF
13537   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13538   _ACEOF
# Line 12794 | Line 13557 | done
13557  
13558  
13559  
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12812 $as_echo_n "checking for /dev/null... " >&6; }
12813 if test -c /dev/null ; then
12814
12815 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12816
12817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12818 $as_echo "yes" >&6; }
12819 else
12820
12821 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12822
12823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
12824 $as_echo "no - using devnull.log" >&6; }
12825 fi
12826
12827
13560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13561   $as_echo_n "checking for library containing crypt... " >&6; }
13562 < if test "${ac_cv_search_crypt+set}" = set; then :
13562 > if ${ac_cv_search_crypt+:} false; then :
13563    $as_echo_n "(cached) " >&6
13564   else
13565    ac_func_search_save_LIBS=$LIBS
# Line 12861 | Line 13593 | for ac_lib in '' crypt; do
13593   fi
13594   rm -f core conftest.err conftest.$ac_objext \
13595      conftest$ac_exeext
13596 <  if test "${ac_cv_search_crypt+set}" = set; then :
13596 >  if ${ac_cv_search_crypt+:} false; then :
13597    break
13598   fi
13599   done
13600 < if test "${ac_cv_search_crypt+set}" = set; then :
13600 > if ${ac_cv_search_crypt+:} false; then :
13601  
13602   else
13603    ac_cv_search_crypt=no
# Line 12882 | Line 13614 | if test "$ac_res" != no; then :
13614   fi
13615  
13616  
13617 <
13618 <
13619 < # Check whether --with-zlib-path was given.
13620 < if test "${with_zlib_path+set}" = set; then :
13621 <  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13622 < fi
13623 <
13624 <
13625 < # Check whether --enable-zlib was given.
12894 < if test "${enable_zlib+set}" = set; then :
12895 <  enableval=$enable_zlib; zlib=$enableval
12896 < else
12897 <  zlib=yes
12898 < fi
12899 <
12900 <
12901 < if test "$zlib" = yes; then
12902 <  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12903 < if test "x$ac_cv_header_zlib_h" = x""yes; then :
12904 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12905 < $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12906 < if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
13617 > # Check whether --enable-libpcre was given.
13618 > if test "${enable_libpcre+set}" = set; then :
13619 >  enableval=$enable_libpcre;
13620 > else
13621 >  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13622 > if test "x$ac_cv_header_pcre_h" = xyes; then :
13623 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13624 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13625 > if ${ac_cv_search_pcre_study+:} false; then :
13626    $as_echo_n "(cached) " >&6
13627   else
13628 <  ac_check_lib_save_LIBS=$LIBS
12910 < LIBS="-lz  $LIBS"
13628 >  ac_func_search_save_LIBS=$LIBS
13629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630   /* end confdefs.h.  */
13631  
# Line 12917 | Line 13635 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13635   #ifdef __cplusplus
13636   extern "C"
13637   #endif
13638 < char zlibVersion ();
13638 > char pcre_study ();
13639   int
13640   main ()
13641   {
13642 < return zlibVersion ();
13642 > return pcre_study ();
13643    ;
13644    return 0;
13645   }
13646   _ACEOF
13647 < if ac_fn_c_try_link "$LINENO"; then :
13648 <  ac_cv_lib_z_zlibVersion=yes
13649 < else
13650 <  ac_cv_lib_z_zlibVersion=no
13647 > for ac_lib in '' pcre; do
13648 >  if test -z "$ac_lib"; then
13649 >    ac_res="none required"
13650 >  else
13651 >    ac_res=-l$ac_lib
13652 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13653 >  fi
13654 >  if ac_fn_c_try_link "$LINENO"; then :
13655 >  ac_cv_search_pcre_study=$ac_res
13656   fi
13657   rm -f core conftest.err conftest.$ac_objext \
13658 <    conftest$ac_exeext conftest.$ac_ext
13659 < LIBS=$ac_check_lib_save_LIBS
13658 >    conftest$ac_exeext
13659 >  if ${ac_cv_search_pcre_study+:} false; then :
13660 >  break
13661   fi
13662 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13663 < $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12940 < if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
12941 <
12942 <      LIBS="-lz $LIBS"
12943 <
12944 < $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12945 <
13662 > done
13663 > if ${ac_cv_search_pcre_study+:} false; then :
13664  
13665   else
13666 <  zlib=no
13666 >  ac_cv_search_pcre_study=no
13667 > fi
13668 > rm conftest.$ac_ext
13669 > LIBS=$ac_func_search_save_LIBS
13670   fi
13671 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13672 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13673 + ac_res=$ac_cv_search_pcre_study
13674 + if test "$ac_res" != no; then :
13675 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13676  
13677 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13678 +
13679 + fi
13680  
12952 else
12953  zlib=no
13681   fi
13682  
13683  
# Line 12996 | Line 13723 | if test "$cf_enable_openssl" != "no"; th
13723    fi
13724  
13725        if test ! -z "$cf_openssl_basedir"; then
12999    LIBS="-lcrypto -lssl $LIBS"
13726      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13727   $as_echo "$cf_openssl_basedir" >&6; }
13728      cf_enable_openssl="yes"
13003
13004 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13005
13729    else
13730 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13731 < $as_echo "not found.  Please check your path." >&6; }
13730 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13731 > $as_echo "not found. Please check your path." >&6; }
13732      cf_enable_openssl="no"
13733    fi
13734    unset cf_openssl_basedir
# Line 13013 | Line 13736 | else
13736      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13737   $as_echo "disabled" >&6; }
13738   fi
13739 < if test "$cf_enable_openssl" = yes; then
13739 >
13740 > if test "$cf_enable_openssl" != "no"; then :
13741 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13742 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13743 >  if test "$cross_compiling" = yes; then :
13744 >  cf_openssl_version_ok=no
13745 > else
13746 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 > /* end confdefs.h.  */
13748 >
13749 >
13750 >    #include <openssl/opensslv.h>
13751 >    #include <stdlib.h>
13752 > int
13753 > main ()
13754 > {
13755 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13756 >  ;
13757 >  return 0;
13758 > }
13759 > _ACEOF
13760 > if ac_fn_c_try_run "$LINENO"; then :
13761 >  cf_openssl_version_ok=yes
13762 > else
13763 >  cf_openssl_version_ok=no
13764 > fi
13765 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13766 >  conftest.$ac_objext conftest.beam conftest.$ac_ext
13767 > fi
13768 >
13769 >
13770 >  if test "$cf_openssl_version_ok" = "yes"; then :
13771 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13772 > $as_echo "found" >&6; }
13773 >
13774 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13775 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13776 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13777 >  $as_echo_n "(cached) " >&6
13778 > else
13779 >  ac_check_lib_save_LIBS=$LIBS
13780 > LIBS="-lssl  $LIBS"
13781 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 > /* end confdefs.h.  */
13783 >
13784 > /* Override any GCC internal prototype to avoid an error.
13785 >   Use char because int might match the return type of a GCC
13786 >   builtin and then its argument prototype would still apply.  */
13787 > #ifdef __cplusplus
13788 > extern "C"
13789 > #endif
13790 > char SSL_connect ();
13791 > int
13792 > main ()
13793 > {
13794 > return SSL_connect ();
13795 >  ;
13796 >  return 0;
13797 > }
13798 > _ACEOF
13799 > if ac_fn_c_try_link "$LINENO"; then :
13800 >  ac_cv_lib_ssl_SSL_connect=yes
13801 > else
13802 >  ac_cv_lib_ssl_SSL_connect=no
13803 > fi
13804 > rm -f core conftest.err conftest.$ac_objext \
13805 >    conftest$ac_exeext conftest.$ac_ext
13806 > LIBS=$ac_check_lib_save_LIBS
13807 > fi
13808 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13809 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13810 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13811 >  cat >>confdefs.h <<_ACEOF
13812 > #define HAVE_LIBSSL 1
13813 > _ACEOF
13814 >
13815 >  LIBS="-lssl $LIBS"
13816 >
13817 > fi
13818 >
13819 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13820 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13821 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13822 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13823 >  $as_echo_n "(cached) " >&6
13824 > else
13825 >  ac_check_lib_save_LIBS=$LIBS
13826 > LIBS="-lcrypto  $LIBS"
13827 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 > /* end confdefs.h.  */
13829 >
13830 > /* Override any GCC internal prototype to avoid an error.
13831 >   Use char because int might match the return type of a GCC
13832 >   builtin and then its argument prototype would still apply.  */
13833 > #ifdef __cplusplus
13834 > extern "C"
13835 > #endif
13836 > char RSA_free ();
13837 > int
13838 > main ()
13839 > {
13840 > return RSA_free ();
13841 >  ;
13842 >  return 0;
13843 > }
13844 > _ACEOF
13845 > if ac_fn_c_try_link "$LINENO"; then :
13846 >  ac_cv_lib_crypto_RSA_free=yes
13847 > else
13848 >  ac_cv_lib_crypto_RSA_free=no
13849 > fi
13850 > rm -f core conftest.err conftest.$ac_objext \
13851 >    conftest$ac_exeext conftest.$ac_ext
13852 > LIBS=$ac_check_lib_save_LIBS
13853 > fi
13854 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13855 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13856 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13857 >  cat >>confdefs.h <<_ACEOF
13858 > #define HAVE_LIBCRYPTO 1
13859 > _ACEOF
13860 >
13861 >  LIBS="-lcrypto $LIBS"
13862 >
13863 > fi
13864 >
13865 > fi
13866 >
13867 > else
13868 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13869 > $as_echo "no - OpenSSL support disabled" >&6; }
13870 >    cf_enable_openssl="no"
13871 > fi
13872 > fi
13873 >
13874 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13875    ENABLE_SSL_TRUE=
13876    ENABLE_SSL_FALSE='#'
13877   else
# Line 13030 | Line 13888 | else
13888    assert=no
13889   fi
13890  
13891 < if test "$assert" = no; then
13891 >
13892 > if test "$assert" = "no"; then :
13893  
13894   $as_echo "#define NDEBUG 1" >>confdefs.h
13895  
# Line 13045 | Line 13904 | else
13904   fi
13905  
13906  
13907 < if test "$small_net" = yes; then
13907 > if test "$small_net" = "yes"; then :
13908 >
13909  
13910 < $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13910 > $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13911  
13912  
13913   $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
# Line 13078 | Line 13938 | $as_echo "#define DNS_HEAP_SIZE 128" >>c
13938  
13939   else
13940  
13941 < $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13941 >
13942 >
13943 > $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13944  
13945  
13946   $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
# Line 13214 | Line 14076 | _ACEOF
14076    if test "$cross_compiling" = yes; then :
14077    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14078   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14079 < as_fn_error "cannot run test program while cross compiling
14080 < See \`config.log' for more details." "$LINENO" 5; }
14079 > as_fn_error $? "cannot run test program while cross compiling
14080 > See \`config.log' for more details" "$LINENO" 5; }
14081   else
14082    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083   /* end confdefs.h.  */
# Line 13248 | Line 14110 | else
14110   #endif
14111   _syscall1(int, epoll_create, int, size)
14112   #endif
13251 main() { return epoll_create(256) == -1 ? 1 : 0; }
14113  
14114 + int
14115 + main ()
14116 + {
14117 + return epoll_create(256) == -1 ? 1 : 0
14118 +  ;
14119 +  return 0;
14120 + }
14121   _ACEOF
14122   if ac_fn_c_try_run "$LINENO"; then :
14123    is_epoll_mechanism_available="yes"
# Line 13319 | Line 14187 | _ACEOF
14187    if test "$cross_compiling" = yes; then :
14188    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14189   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14190 < as_fn_error "cannot run test program while cross compiling
14191 < See \`config.log' for more details." "$LINENO" 5; }
14190 > as_fn_error $? "cannot run test program while cross compiling
14191 > See \`config.log' for more details" "$LINENO" 5; }
14192   else
14193    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194   /* end confdefs.h.  */
14195  
14196 + #define _GNU_SOURCE
14197   #include <fcntl.h>
14198 < #ifdef F_SETSIG
13330 < main () { return 0; } /* F_SETSIG defined */
13331 < #else
13332 < main () { return 1; } /* F_SETSIG not defined */
13333 < #endif
14198 > static unsigned int have_f_setsig = 0;
14199  
14200   int
14201   main ()
14202   {
14203  
14204 + #ifdef F_SETSIG
14205 +  have_f_setsig = 1;
14206 + #endif
14207 +  return have_f_setsig == 0;
14208 +
14209    ;
14210    return 0;
14211   }
# Line 13469 | Line 14339 | rm -f core conftest.err conftest.$ac_obj
14339      if test "$optimal_iopoll_mechanism" = "none" ; then
14340        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14341   $as_echo "none" >&6; }
14342 <      as_fn_error "no iopoll mechanism found!" "$LINENO" 5
14342 >      as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14343      else
14344        selected_iopoll_mechanism=$optimal_iopoll_mechanism
14345        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
# Line 13484 | Line 14354 | $as_echo "$selected_iopoll_mechanism" >&
14354      else
14355        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14356   $as_echo "none" >&6; }
14357 <      as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14357 >      as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14358      fi
14359    fi
14360        eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
# Line 13505 | Line 14375 | fi
14375  
14376  
14377   cat >>confdefs.h <<_ACEOF
14378 < #define NICKLEN ($nicklen+1)
14378 > #define NICKLEN ($nicklen)
14379   _ACEOF
14380  
14381  
# Line 13520 | Line 14390 | fi
14390  
14391  
14392   cat >>confdefs.h <<_ACEOF
14393 < #define TOPICLEN ($topiclen+1)
13524 < _ACEOF
13525 <
13526 <
13527 <
13528 <
13529 < # Check whether --with-syslog-facility was given.
13530 < if test "${with_syslog_facility+set}" = set; then :
13531 <  withval=$with_syslog_facility; syslog_facility="$withval"
13532 < else
13533 <  syslog_facility="LOG_LOCAL4"
13534 < fi
13535 <
13536 <
13537 < cat >>confdefs.h <<_ACEOF
13538 < #define LOG_FACILITY $syslog_facility
14393 > #define TOPICLEN ($topiclen)
14394   _ACEOF
14395  
14396  
14397  
13543  # Check whether --enable-efnet was given.
13544 if test "${enable_efnet+set}" = set; then :
13545  enableval=$enable_efnet; efnet="$enableval"
13546 else
13547  efnet="no"
13548 fi
13549
13550  if test "$efnet" = "yes" ; then
13551                use_efnet="yes"
13552
13553 $as_echo "#define EFNET 1" >>confdefs.h
13554
13555
13556 $as_echo "#define TS5_ONLY 1" >>confdefs.h
13557
13558        else
13559
13560 $as_echo "#define INVARIANTS 1" >>confdefs.h
13561
13562                use_efnet="no"
13563  fi
13564   if test "$use_efnet" = "yes"; then
13565  EFNET_TRUE=
13566  EFNET_FALSE='#'
13567 else
13568  EFNET_TRUE='#'
13569  EFNET_FALSE=
13570 fi
13571
13572
13573
14398    # Check whether --enable-halfops was given.
14399   if test "${enable_halfops+set}" = set; then :
14400    enableval=$enable_halfops; halfops="$enableval"
# Line 13596 | Line 14420 | fi
14420  
14421   $as_echo "#define DEBUG 1" >>confdefs.h
14422  
14423 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
14423 >    CFLAGS="-Wall -g -O0"
14424    else
14425  
14426   $as_echo "#define NDEBUG 1" >>confdefs.h
# Line 13612 | Line 14436 | else
14436   fi
14437  
14438    if test "$warnings" = "yes" ; then
14439 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef"
13616 <  fi
13617 <
13618 <
13619 <  for ac_header in syslog.h sys/syslog.h
13620 < do :
13621 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13622 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13623 < eval as_val=\$$as_ac_Header
13624 <   if test "x$as_val" = x""yes; then :
13625 <  cat >>confdefs.h <<_ACEOF
13626 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13627 < _ACEOF
13628 <
13629 < fi
13630 <
13631 < done
13632 <
13633 <  # Check whether --enable-syslog was given.
13634 < if test "${enable_syslog+set}" = set; then :
13635 <  enableval=$enable_syslog; syslog="$enableval"
13636 < else
13637 <  syslog="no"
13638 < fi
13639 <
13640 <  if test "$enableval" != "no" ; then
13641 <    for option in $enableval ; do
13642 <      case "$option" in
13643 <        users)
13644 < $as_echo "#define SYSLOG_USERS 1" >>confdefs.h
13645 < ;;
13646 <        oper)
13647 < $as_echo "#define SYSLOG_OPER 1" >>confdefs.h
13648 < ;;
13649 <        yes) : ;;
13650 <        *) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;;
13651 <      esac
13652 <    done
13653 <
13654 < $as_echo "#define USE_SYSLOG 1" >>confdefs.h
13655 <
14439 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14440    fi
14441  
14442  
# Line 13742 | Line 14526 | _ACEOF
14526    test "$exec_prefix_NONE" && exec_prefix=NONE
14527  
14528  
14529 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile"
14529 > ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14530  
14531  
14532   cat >confcache <<\_ACEOF
# Line 13809 | Line 14593 | $as_echo "$as_me: WARNING: cache variabl
14593       :end' >>confcache
14594   if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14595    if test -w "$cache_file"; then
14596 <    test "x$cache_file" != "x/dev/null" &&
14596 >    if test "x$cache_file" != "x/dev/null"; then
14597        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14598   $as_echo "$as_me: updating cache $cache_file" >&6;}
14599 <    cat confcache >$cache_file
14599 >      if test ! -f "$cache_file" || test -h "$cache_file"; then
14600 >        cat confcache >"$cache_file"
14601 >      else
14602 >        case $cache_file in #(
14603 >        */* | ?:*)
14604 >          mv -f confcache "$cache_file"$$ &&
14605 >          mv -f "$cache_file"$$ "$cache_file" ;; #(
14606 >        *)
14607 >          mv -f confcache "$cache_file" ;;
14608 >        esac
14609 >      fi
14610 >    fi
14611    else
14612      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14613   $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
# Line 13828 | Line 14623 | DEFS=-DHAVE_CONFIG_H
14623  
14624   ac_libobjs=
14625   ac_ltlibobjs=
14626 + U=
14627   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14628    # 1. Remove the extension, and $U if already installed.
14629    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 13842 | Line 14638 | LIBOBJS=$ac_libobjs
14638   LTLIBOBJS=$ac_ltlibobjs
14639  
14640  
14641 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14642 + $as_echo_n "checking that generated files are newer than configure... " >&6; }
14643 +   if test -n "$am_sleep_pid"; then
14644 +     # Hide warnings about reused PIDs.
14645 +     wait $am_sleep_pid 2>/dev/null
14646 +   fi
14647 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14648 + $as_echo "done" >&6; }
14649   if test -n "$EXEEXT"; then
14650    am__EXEEXT_TRUE=
14651    am__EXEEXT_FALSE='#'
# Line 13851 | Line 14655 | else
14655   fi
14656  
14657   if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14658 <  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14658 >  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14659   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14660   fi
14661   if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14662 <  as_fn_error "conditional \"AMDEP\" was never defined.
14662 >  as_fn_error $? "conditional \"AMDEP\" was never defined.
14663   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664   fi
14665   if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14666 <  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14666 >  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14667   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14668   fi
14669   if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14670 <  as_fn_error "conditional \"INSTALL_LTDL\" was never defined.
14670 >  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14671   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14672   fi
14673   if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14674 <  as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined.
14674 >  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14675   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14676   fi
14677   LT_CONFIG_H=config.h
# Line 13889 | Line 14693 | LT_CONFIG_H=config.h
14693  
14694  
14695   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14696 <  as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13893 < Usually this means the macro was only invoked conditionally." "$LINENO" 5
13894 < fi
13895 < if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
13896 <  as_fn_error "conditional \"EFNET\" was never defined.
14696 >  as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14697   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14698   fi
14699  
14700 < : ${CONFIG_STATUS=./config.status}
14700 > : "${CONFIG_STATUS=./config.status}"
14701   ac_write_fail=0
14702   ac_clean_files_save=$ac_clean_files
14703   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
# Line 13998 | Line 14798 | fi
14798   IFS=" ""        $as_nl"
14799  
14800   # Find who we are.  Look in the path if we contain no directory separator.
14801 + as_myself=
14802   case $0 in #((
14803    *[\\/]* ) as_myself=$0 ;;
14804    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
# Line 14043 | Line 14844 | export LANGUAGE
14844   (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14845  
14846  
14847 < # as_fn_error ERROR [LINENO LOG_FD]
14848 < # ---------------------------------
14847 > # as_fn_error STATUS ERROR [LINENO LOG_FD]
14848 > # ----------------------------------------
14849   # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14850   # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14851 < # script with status $?, using 1 if that was 0.
14851 > # script with STATUS, using 1 if that was 0.
14852   as_fn_error ()
14853   {
14854 <  as_status=$?; test $as_status -eq 0 && as_status=1
14855 <  if test "$3"; then
14856 <    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14857 <    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14854 >  as_status=$1; test $as_status -eq 0 && as_status=1
14855 >  if test "$4"; then
14856 >    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14857 >    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14858    fi
14859 <  $as_echo "$as_me: error: $1" >&2
14859 >  $as_echo "$as_me: error: $2" >&2
14860    as_fn_exit $as_status
14861   } # as_fn_error
14862  
# Line 14193 | Line 14994 | if (echo >conf$$.file) 2>/dev/null; then
14994      # ... but there are two gotchas:
14995      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14996      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14997 <    # In both cases, we have to default to `cp -p'.
14997 >    # In both cases, we have to default to `cp -pR'.
14998      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14999 <      as_ln_s='cp -p'
14999 >      as_ln_s='cp -pR'
15000    elif ln conf$$.file conf$$ 2>/dev/null; then
15001      as_ln_s=ln
15002    else
15003 <    as_ln_s='cp -p'
15003 >    as_ln_s='cp -pR'
15004    fi
15005   else
15006 <  as_ln_s='cp -p'
15006 >  as_ln_s='cp -pR'
15007   fi
15008   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15009   rmdir conf$$.dir 2>/dev/null
# Line 14251 | Line 15052 | $as_echo X"$as_dir" |
15052        test -d "$as_dir" && break
15053      done
15054      test -z "$as_dirs" || eval "mkdir $as_dirs"
15055 <  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15055 >  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15056  
15057  
15058   } # as_fn_mkdir_p
# Line 14262 | Line 15063 | else
15063    as_mkdir_p=false
15064   fi
15065  
15066 < if test -x / >/dev/null 2>&1; then
15067 <  as_test_x='test -x'
15068 < else
15069 <  if ls -dL / >/dev/null 2>&1; then
15070 <    as_ls_L_option=L
15071 <  else
15072 <    as_ls_L_option=
15073 <  fi
15074 <  as_test_x='
15075 <    eval sh -c '\''
14275 <      if test -d "$1"; then
14276 <        test -d "$1/.";
14277 <      else
14278 <        case $1 in #(
14279 <        -*)set "./$1";;
14280 <        esac;
14281 <        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14282 <        ???[sx]*):;;*)false;;esac;fi
14283 <    '\'' sh
14284 <  '
14285 < fi
14286 < as_executable_p=$as_test_x
15066 >
15067 > # as_fn_executable_p FILE
15068 > # -----------------------
15069 > # Test if FILE is an executable regular file.
15070 > as_fn_executable_p ()
15071 > {
15072 >  test -f "$1" && test -x "$1"
15073 > } # as_fn_executable_p
15074 > as_test_x='test -x'
15075 > as_executable_p=as_fn_executable_p
15076  
15077   # Sed expression to map a string onto a valid CPP name.
15078   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 14304 | Line 15093 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15093   # report actual input values of CONFIG_FILES etc. instead of their
15094   # values after options handling.
15095   ac_log="
15096 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
15097 < generated by GNU Autoconf 2.64.  Invocation command line was
15096 > This file was extended by ircd-hybrid $as_me 8beta1, which was
15097 > generated by GNU Autoconf 2.69.  Invocation command line was
15098  
15099    CONFIG_FILES    = $CONFIG_FILES
15100    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14345 | Line 15134 | Usage: $0 [OPTION]... [TAG]...
15134  
15135    -h, --help       print this help, then exit
15136    -V, --version    print version number and configuration settings, then exit
15137 +      --config     print configuration, then exit
15138    -q, --quiet, --silent
15139                     do not print progress messages
15140    -d, --debug      don't remove temporary files
# Line 14363 | Line 15153 | $config_headers
15153   Configuration commands:
15154   $config_commands
15155  
15156 < Report bugs to the package provider."
15156 > Report bugs to <bugs@ircd-hybrid.org>."
15157  
15158   _ACEOF
15159   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15160 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15161   ac_cs_version="\\
15162 < ircd-hybrid config.status 7.2.4
15163 < configured by $0, generated by GNU Autoconf 2.64,
15164 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15162 > ircd-hybrid config.status 8beta1
15163 > configured by $0, generated by GNU Autoconf 2.69,
15164 >  with options \\"\$ac_cs_config\\"
15165  
15166 < Copyright (C) 2009 Free Software Foundation, Inc.
15166 > Copyright (C) 2012 Free Software Foundation, Inc.
15167   This config.status script is free software; the Free Software Foundation
15168   gives unlimited permission to copy, distribute and modify it."
15169  
# Line 14390 | Line 15181 | ac_need_defaults=:
15181   while test $# != 0
15182   do
15183    case $1 in
15184 <  --*=*)
15184 >  --*=?*)
15185      ac_option=`expr "X$1" : 'X\([^=]*\)='`
15186      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15187      ac_shift=:
15188      ;;
15189 +  --*=)
15190 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15191 +    ac_optarg=
15192 +    ac_shift=:
15193 +    ;;
15194    *)
15195      ac_option=$1
15196      ac_optarg=$2
# Line 14408 | Line 15204 | do
15204      ac_cs_recheck=: ;;
15205    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15206      $as_echo "$ac_cs_version"; exit ;;
15207 +  --config | --confi | --conf | --con | --co | --c )
15208 +    $as_echo "$ac_cs_config"; exit ;;
15209    --debug | --debu | --deb | --de | --d | -d )
15210      debug=: ;;
15211    --file | --fil | --fi | --f )
15212      $ac_shift
15213      case $ac_optarg in
15214      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15215 +    '') as_fn_error $? "missing file argument" ;;
15216      esac
15217      as_fn_append CONFIG_FILES " '$ac_optarg'"
15218      ac_need_defaults=false;;
# Line 14426 | Line 15225 | do
15225      ac_need_defaults=false;;
15226    --he | --h)
15227      # Conflict between --help and --header
15228 <    as_fn_error "ambiguous option: \`$1'
15228 >    as_fn_error $? "ambiguous option: \`$1'
15229   Try \`$0 --help' for more information.";;
15230    --help | --hel | -h )
15231      $as_echo "$ac_cs_usage"; exit ;;
# Line 14435 | Line 15234 | Try \`$0 --help' for more information.";
15234      ac_cs_silent=: ;;
15235  
15236    # This is an error.
15237 <  -*) as_fn_error "unrecognized option: \`$1'
15237 >  -*) as_fn_error $? "unrecognized option: \`$1'
15238   Try \`$0 --help' for more information." ;;
15239  
15240    *) as_fn_append ac_config_targets " $1"
# Line 14455 | Line 15254 | fi
15254   _ACEOF
15255   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15256   if \$ac_cs_recheck; then
15257 <  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15257 >  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15258    shift
15259    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15260    CONFIG_SHELL='$SHELL'
# Line 14489 | Line 15288 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
15288   sed_quote_subst='$sed_quote_subst'
15289   double_quote_subst='$double_quote_subst'
15290   delay_variable_subst='$delay_variable_subst'
15291 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15292 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15293 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15294 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15295 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15296 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15297 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15298 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15299 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15300 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15301 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15302 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15303 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15304 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15305 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15306 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15307 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15308 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15309 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15310 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15311 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15312 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15313 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15314 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15315 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15316 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15317 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15318 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15319 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15320 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15321 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15322 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15323 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15324 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15325 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15326 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15327 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15328 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15329 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15330 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15331 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15332 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15333 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15334 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15335 < 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"`'
15336 < 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"`'
15337 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15338 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15339 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15340 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15341 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15342 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15343 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15344 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15345 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15346 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15347 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15348 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15349 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15350 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15351 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15352 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15353 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15354 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15355 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15356 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15357 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15358 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15359 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15360 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15361 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15362 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15363 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15364 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15365 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15366 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15367 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15368 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15369 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15370 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15371 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15372 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15373 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15374 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15375 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15376 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15377 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15378 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15379 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15380 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15381 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15382 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15383 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15384 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15385 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15386 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15387 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15388 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15389 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15390 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15391 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15392 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15393 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15394 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15395 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15396 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15397 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15398 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15399 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15400 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15401 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15402 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15403 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15404 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15405 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15406 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15407 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15408 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15291 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15292 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15293 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15294 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15295 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15296 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15297 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15298 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15299 > PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15300 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15301 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15302 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15303 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15304 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15305 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15306 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15307 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15308 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15309 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15310 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15311 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15312 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15313 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15314 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15315 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15316 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15317 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15318 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15319 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15320 > lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15321 > lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15322 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15323 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15324 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15325 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15326 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15327 > file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15328 > want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15329 > DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15330 > sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15331 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15332 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15333 > archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15334 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15335 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15336 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15337 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15338 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15339 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15340 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15341 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15342 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15343 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15344 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15345 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15346 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15347 > 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"`'
15348 > nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15349 > lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15350 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15351 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15352 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15353 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15354 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15355 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15356 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15357 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15358 > MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15359 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15360 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15361 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15362 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15363 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15364 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15365 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15366 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15367 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15368 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15369 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15370 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15371 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15372 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15373 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15374 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15375 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15376 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15377 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15378 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15379 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15380 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15381 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15382 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15383 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15384 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15385 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15386 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15387 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15388 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15389 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15390 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15391 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15392 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15393 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15394 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15395 > postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15396 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15397 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15398 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15399 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15400 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15401 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15402 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15403 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15404 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15405 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15406 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15407 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15408 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15409 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15410 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15411 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15412 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15413 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15414 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15415 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15416 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15417 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15418 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15419 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15420 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15421  
15422   LTCC='$LTCC'
15423   LTCFLAGS='$LTCFLAGS'
15424   compiler='$compiler_DEFAULT'
15425  
15426 + # A function that is used when there is no print builtin or printf.
15427 + func_fallback_echo ()
15428 + {
15429 +  eval 'cat <<_LTECHO_EOF
15430 + \$1
15431 + _LTECHO_EOF'
15432 + }
15433 +
15434   # Quote evaled strings.
15435 < for var in SED \
15435 > for var in SHELL \
15436 > ECHO \
15437 > PATH_SEPARATOR \
15438 > SED \
15439   GREP \
15440   EGREP \
15441   FGREP \
# Line 14626 | Line 15448 | reload_flag \
15448   OBJDUMP \
15449   deplibs_check_method \
15450   file_magic_cmd \
15451 + file_magic_glob \
15452 + want_nocaseglob \
15453 + DLLTOOL \
15454 + sharedlib_from_linklib_cmd \
15455   AR \
15456   AR_FLAGS \
15457 + archiver_list_spec \
15458   STRIP \
15459   RANLIB \
15460   CC \
# Line 14637 | Line 15464 | lt_cv_sys_global_symbol_pipe \
15464   lt_cv_sys_global_symbol_to_cdecl \
15465   lt_cv_sys_global_symbol_to_c_name_address \
15466   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15467 < SHELL \
14641 < ECHO \
15467 > nm_file_list_spec \
15468   lt_prog_compiler_no_builtin_flag \
14643 lt_prog_compiler_wl \
15469   lt_prog_compiler_pic \
15470 + lt_prog_compiler_wl \
15471   lt_prog_compiler_static \
15472   lt_cv_prog_compiler_c_o \
15473   need_locks \
15474 + MANIFEST_TOOL \
15475   DSYMUTIL \
15476   NMEDIT \
15477   LIPO \
# Line 14658 | Line 15485 | with_gnu_ld \
15485   allow_undefined_flag \
15486   no_undefined_flag \
15487   hardcode_libdir_flag_spec \
14661 hardcode_libdir_flag_spec_ld \
15488   hardcode_libdir_separator \
14663 fix_srcfile_path \
15489   exclude_expsyms \
15490   include_expsyms \
15491   file_list_spec \
# Line 14668 | Line 15493 | variables_saved_for_relink \
15493   libname_spec \
15494   library_names_spec \
15495   soname_spec \
15496 + install_override_mode \
15497   finish_eval \
15498   old_striplib \
15499   striplib; do
15500 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15500 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15501      *[\\\\\\\`\\"\\\$]*)
15502 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15502 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15503        ;;
15504      *)
15505        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14695 | Line 15521 | module_cmds \
15521   module_expsym_cmds \
15522   export_symbols_cmds \
15523   prelink_cmds \
15524 + postlink_cmds \
15525   postinstall_cmds \
15526   postuninstall_cmds \
15527   finish_cmds \
15528   sys_lib_search_path_spec \
15529   sys_lib_dlsearch_path_spec; do
15530 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15530 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15531      *[\\\\\\\`\\"\\\$]*)
15532 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15532 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15533        ;;
15534      *)
15535        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14710 | Line 15537 | sys_lib_dlsearch_path_spec; do
15537      esac
15538   done
15539  
14713 # Fix-up fallback echo if it was mangled by the above quoting rules.
14714 case \$lt_ECHO in
14715 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14716  ;;
14717 esac
14718
15540   ac_aux_dir='$ac_aux_dir'
15541   xsi_shell='$xsi_shell'
15542   lt_shell_append='$lt_shell_append'
# Line 14748 | Line 15569 | do
15569      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15570      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15571      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14751    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14752    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14753    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14754    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14755    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
15572      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15573      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15574      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15575 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15576      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15577      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15578      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14763 | Line 15580 | do
15580      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15581      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15582      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14766    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14767    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
15583      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15584  
15585 <  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15585 >  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15586    esac
15587   done
15588  
# Line 14790 | Line 15605 | fi
15605   # after its creation but before its name has been assigned to `$tmp'.
15606   $debug ||
15607   {
15608 <  tmp=
15608 >  tmp= ac_tmp=
15609    trap 'exit_status=$?
15610 <  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15610 >  : "${ac_tmp:=$tmp}"
15611 >  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15612   ' 0
15613    trap 'as_fn_exit 1' 1 2 13 15
15614   }
# Line 14800 | Line 15616 | $debug ||
15616  
15617   {
15618    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15619 <  test -n "$tmp" && test -d "$tmp"
15619 >  test -d "$tmp"
15620   }  ||
15621   {
15622    tmp=./conf$$-$RANDOM
15623    (umask 077 && mkdir "$tmp")
15624 < } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15624 > } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15625 > ac_tmp=$tmp
15626  
15627   # Set up the scripts for CONFIG_FILES section.
15628   # No need to generate them if there are no CONFIG_FILES.
# Line 14822 | Line 15639 | if test "x$ac_cr" = x; then
15639   fi
15640   ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15641   if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15642 <  ac_cs_awk_cr='\r'
15642 >  ac_cs_awk_cr='\\r'
15643   else
15644    ac_cs_awk_cr=$ac_cr
15645   fi
15646  
15647 < echo 'BEGIN {' >"$tmp/subs1.awk" &&
15647 > echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15648   _ACEOF
15649  
15650  
# Line 14836 | Line 15653 | _ACEOF
15653    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15654    echo "_ACEOF"
15655   } >conf$$subs.sh ||
15656 <  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15657 < ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15656 >  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15657 > ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15658   ac_delim='%!_!# '
15659   for ac_last_try in false false false false false :; do
15660    . ./conf$$subs.sh ||
15661 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15661 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15662  
15663    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15664    if test $ac_delim_n = $ac_delim_num; then
15665      break
15666    elif $ac_last_try; then
15667 <    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15667 >    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15668    else
15669      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15670    fi
# Line 14855 | Line 15672 | done
15672   rm -f conf$$subs.sh
15673  
15674   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15675 < cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15675 > cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15676   _ACEOF
15677   sed -n '
15678   h
# Line 14869 | Line 15686 | s/'"$ac_delim"'$//
15686   t delim
15687   :nl
15688   h
15689 < s/\(.\{148\}\).*/\1/
15689 > s/\(.\{148\}\)..*/\1/
15690   t more1
15691   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15692   p
# Line 14883 | Line 15700 | s/.\{148\}//
15700   t nl
15701   :delim
15702   h
15703 < s/\(.\{148\}\).*/\1/
15703 > s/\(.\{148\}\)..*/\1/
15704   t more2
15705   s/["\\]/\\&/g; s/^/"/; s/$/"/
15706   p
# Line 14903 | Line 15720 | t delim
15720   rm -f conf$$subs.awk
15721   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15722   _ACAWK
15723 < cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15723 > cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15724    for (key in S) S_is_set[key] = 1
15725    FS = ""
15726  
# Line 14935 | Line 15752 | if sed "s/$ac_cr//" < /dev/null > /dev/n
15752    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15753   else
15754    cat
15755 < fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15756 <  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15755 > fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15756 >  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15757   _ACEOF
15758  
15759 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
15760 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15759 > # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15760 > # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15761   # trailing colons and then remove the whole line if VPATH becomes empty
15762   # (actually we leave an empty line to preserve line numbers).
15763   if test "x$srcdir" = x.; then
15764 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15765 < s/:*\$(srcdir):*/:/
15766 < s/:*\${srcdir}:*/:/
15767 < s/:*@srcdir@:*/:/
15768 < s/^\([^=]*=[     ]*\):*/\1/
15764 >  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15765 > h
15766 > s///
15767 > s/^/:/
15768 > s/[      ]*$/:/
15769 > s/:\$(srcdir):/:/g
15770 > s/:\${srcdir}:/:/g
15771 > s/:@srcdir@:/:/g
15772 > s/^:*//
15773   s/:*$//
15774 + x
15775 + s/\(=[   ]*\).*/\1/
15776 + G
15777 + s/\n//
15778   s/^[^=]*=[       ]*$//
15779   }'
15780   fi
# Line 14961 | Line 15786 | fi # test -n "$CONFIG_FILES"
15786   # No need to generate them if there are no CONFIG_HEADERS.
15787   # This happens for instance with `./config.status Makefile'.
15788   if test -n "$CONFIG_HEADERS"; then
15789 < cat >"$tmp/defines.awk" <<\_ACAWK ||
15789 > cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15790   BEGIN {
15791   _ACEOF
15792  
# Line 14973 | Line 15798 | _ACEOF
15798   # handling of long lines.
15799   ac_delim='%!_!# '
15800   for ac_last_try in false false :; do
15801 <  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15802 <  if test -z "$ac_t"; then
15801 >  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15802 >  if test -z "$ac_tt"; then
15803      break
15804    elif $ac_last_try; then
15805 <    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15805 >    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15806    else
15807      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15808    fi
# Line 15062 | Line 15887 | cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
15887   _ACAWK
15888   _ACEOF
15889   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15890 <  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15890 >  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15891   fi # test -n "$CONFIG_HEADERS"
15892  
15893  
# Line 15075 | Line 15900 | do
15900    esac
15901    case $ac_mode$ac_tag in
15902    :[FHL]*:*);;
15903 <  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15903 >  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15904    :[FH]-) ac_tag=-:-;;
15905    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15906    esac
# Line 15094 | Line 15919 | do
15919      for ac_f
15920      do
15921        case $ac_f in
15922 <      -) ac_f="$tmp/stdin";;
15922 >      -) ac_f="$ac_tmp/stdin";;
15923        *) # Look for the file first in the build tree, then in the source tree
15924           # (if the path is not absolute).  The absolute path cannot be DOS-style,
15925           # because $ac_f cannot contain `:'.
# Line 15103 | Line 15928 | do
15928             [\\/$]*) false;;
15929             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15930             esac ||
15931 <           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15931 >           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15932        esac
15933        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15934        as_fn_append ac_file_inputs " '$ac_f'"
# Line 15129 | Line 15954 | $as_echo "$as_me: creating $ac_file" >&6
15954      esac
15955  
15956      case $ac_tag in
15957 <    *:-:* | *:-) cat >"$tmp/stdin" \
15958 <      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15957 >    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15958 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15959      esac
15960      ;;
15961    esac
# Line 15266 | Line 16091 | s&@INSTALL@&$ac_INSTALL&;t t
16091   s&@MKDIR_P@&$ac_MKDIR_P&;t t
16092   $ac_datarootdir_hack
16093   "
16094 < eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16095 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16094 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16095 >  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16096  
16097   test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16098 <  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16099 <  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16098 >  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16099 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16100 >      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16101    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16102 < which seems to be undefined.  Please make sure it is defined." >&5
16102 > which seems to be undefined.  Please make sure it is defined" >&5
16103   $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16104 < which seems to be undefined.  Please make sure it is defined." >&2;}
16104 > which seems to be undefined.  Please make sure it is defined" >&2;}
16105  
16106 <  rm -f "$tmp/stdin"
16106 >  rm -f "$ac_tmp/stdin"
16107    case $ac_file in
16108 <  -) cat "$tmp/out" && rm -f "$tmp/out";;
16109 <  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16108 >  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16109 >  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16110    esac \
16111 <  || as_fn_error "could not create $ac_file" "$LINENO" 5
16111 >  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16112   ;;
16113    :H)
16114    #
# Line 15291 | Line 16117 | which seems to be undefined.  Please mak
16117    if test x"$ac_file" != x-; then
16118      {
16119        $as_echo "/* $configure_input  */" \
16120 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16121 <    } >"$tmp/config.h" \
16122 <      || as_fn_error "could not create $ac_file" "$LINENO" 5
16123 <    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16120 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16121 >    } >"$ac_tmp/config.h" \
16122 >      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16123 >    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16124        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16125   $as_echo "$as_me: $ac_file is unchanged" >&6;}
16126      else
16127        rm -f "$ac_file"
16128 <      mv "$tmp/config.h" "$ac_file" \
16129 <        || as_fn_error "could not create $ac_file" "$LINENO" 5
16128 >      mv "$ac_tmp/config.h" "$ac_file" \
16129 >        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16130      fi
16131    else
16132      $as_echo "/* $configure_input  */" \
16133 <      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16134 <      || as_fn_error "could not create -" "$LINENO" 5
16133 >      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16134 >      || as_fn_error $? "could not create -" "$LINENO" 5
16135    fi
16136   # Compute "$ac_file"'s index in $config_headers.
16137   _am_arg="$ac_file"
# Line 15364 | Line 16190 | $as_echo "$as_me: executing $ac_file com
16190      # Strip MF so we end up with the name of the file.
16191      mf=`echo "$mf" | sed -e 's/:.*$//'`
16192      # Check whether this is an Automake generated Makefile or not.
16193 <    # We used to match only the files named `Makefile.in', but
16193 >    # We used to match only the files named 'Makefile.in', but
16194      # some people rename them; so instead we look at the file content.
16195      # Grep'ing the first line is not enough: some people post-process
16196      # each Makefile.in and add a new line on top of each file to say so.
# Line 15398 | Line 16224 | $as_echo X"$mf" |
16224        continue
16225      fi
16226      # Extract the definition of DEPDIR, am__include, and am__quote
16227 <    # from the Makefile without running `make'.
16227 >    # from the Makefile without running 'make'.
16228      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16229      test -z "$DEPDIR" && continue
16230      am__include=`sed -n 's/^am__include = //p' < "$mf"`
16231      test -z "am__include" && continue
16232      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15407    # When using ansi2knr, U may be empty or an underscore; expand it
15408    U=`sed -n 's/^U = //p' < "$mf"`
16233      # Find all dependency output files, they are included files with
16234      # $(DEPDIR) in their names.  We invoke sed twice because it is the
16235      # simplest approach to changing $(DEPDIR) to its actual value in the
16236      # expansion.
16237      for file in `sed -n "
16238        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16239 <         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16239 >         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16240        # Make sure the directory exists.
16241        test -f "$dirpart/$file" && continue
16242        fdir=`$as_dirname -- "$file" ||
# Line 15466 | Line 16290 | $as_echo X"$file" |
16290   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16291   #
16292   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16293 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
16293 > #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16294 > #                 Foundation, Inc.
16295   #   Written by Gordon Matzigkeit, 1996
16296   #
16297   #   This file is part of GNU Libtool.
# Line 15514 | Line 16339 | pic_mode=$pic_mode
16339   # Whether or not to optimize for fast installation.
16340   fast_install=$enable_fast_install
16341  
16342 + # Shell to use when invoking shell scripts.
16343 + SHELL=$lt_SHELL
16344 +
16345 + # An echo program that protects backslashes.
16346 + ECHO=$lt_ECHO
16347 +
16348 + # The PATH separator for the build system.
16349 + PATH_SEPARATOR=$lt_PATH_SEPARATOR
16350 +
16351   # The host system.
16352   host_alias=$host_alias
16353   host=$host
# Line 15563 | Line 16397 | SP2NL=$lt_lt_SP2NL
16397   # turn newlines into spaces.
16398   NL2SP=$lt_lt_NL2SP
16399  
16400 < # How to create reloadable object files.
16401 < reload_flag=$lt_reload_flag
16402 < reload_cmds=$lt_reload_cmds
16400 > # convert \$build file names to \$host format.
16401 > to_host_file_cmd=$lt_cv_to_host_file_cmd
16402 >
16403 > # convert \$build files to toolchain format.
16404 > to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16405  
16406   # An object symbol dumper.
16407   OBJDUMP=$lt_OBJDUMP
# Line 15573 | Line 16409 | OBJDUMP=$lt_OBJDUMP
16409   # Method to check whether dependent libraries are shared objects.
16410   deplibs_check_method=$lt_deplibs_check_method
16411  
16412 < # Command to use when deplibs_check_method == "file_magic".
16412 > # Command to use when deplibs_check_method = "file_magic".
16413   file_magic_cmd=$lt_file_magic_cmd
16414  
16415 + # How to find potential files when deplibs_check_method = "file_magic".
16416 + file_magic_glob=$lt_file_magic_glob
16417 +
16418 + # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16419 + want_nocaseglob=$lt_want_nocaseglob
16420 +
16421 + # DLL creation program.
16422 + DLLTOOL=$lt_DLLTOOL
16423 +
16424 + # Command to associate shared and link libraries.
16425 + sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16426 +
16427   # The archiver.
16428   AR=$lt_AR
16429 +
16430 + # Flags to create an archive.
16431   AR_FLAGS=$lt_AR_FLAGS
16432  
16433 + # How to feed a file listing to the archiver.
16434 + archiver_list_spec=$lt_archiver_list_spec
16435 +
16436   # A symbol stripping program.
16437   STRIP=$lt_STRIP
16438  
# Line 15588 | Line 16441 | RANLIB=$lt_RANLIB
16441   old_postinstall_cmds=$lt_old_postinstall_cmds
16442   old_postuninstall_cmds=$lt_old_postuninstall_cmds
16443  
16444 + # Whether to use a lock for old archive extraction.
16445 + lock_old_archive_extraction=$lock_old_archive_extraction
16446 +
16447   # A C compiler.
16448   LTCC=$lt_CC
16449  
# Line 15606 | Line 16462 | global_symbol_to_c_name_address=$lt_lt_c
16462   # Transform the output of nm in a C name address pair when lib prefix is needed.
16463   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16464  
16465 < # The name of the directory that contains temporary libtool files.
16466 < objdir=$objdir
16465 > # Specify filename containing input files for \$NM.
16466 > nm_file_list_spec=$lt_nm_file_list_spec
16467  
16468 < # Shell to use when invoking shell scripts.
16469 < SHELL=$lt_SHELL
16468 > # The root where to search for dependent libraries,and in which our libraries should be installed.
16469 > lt_sysroot=$lt_sysroot
16470  
16471 < # An echo program that does not interpret backslashes.
16472 < ECHO=$lt_ECHO
16471 > # The name of the directory that contains temporary libtool files.
16472 > objdir=$objdir
16473  
16474   # Used to examine libraries when file_magic_cmd begins with "file".
16475   MAGIC_CMD=$MAGIC_CMD
# Line 15621 | Line 16477 | MAGIC_CMD=$MAGIC_CMD
16477   # Must we lock files when doing compilation?
16478   need_locks=$lt_need_locks
16479  
16480 + # Manifest tool.
16481 + MANIFEST_TOOL=$lt_MANIFEST_TOOL
16482 +
16483   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16484   DSYMUTIL=$lt_DSYMUTIL
16485  
# Line 15677 | Line 16536 | library_names_spec=$lt_library_names_spe
16536   # The coded name of the library, if different from the real name.
16537   soname_spec=$lt_soname_spec
16538  
16539 + # Permission mode override for installation of shared libraries.
16540 + install_override_mode=$lt_install_override_mode
16541 +
16542   # Command to use after installation of a shared archive.
16543   postinstall_cmds=$lt_postinstall_cmds
16544  
# Line 15716 | Line 16578 | striplib=$lt_striplib
16578   # The linker used to build libraries.
16579   LD=$lt_LD
16580  
16581 + # How to create reloadable object files.
16582 + reload_flag=$lt_reload_flag
16583 + reload_cmds=$lt_reload_cmds
16584 +
16585   # Commands used to build an old-style archive.
16586   old_archive_cmds=$lt_old_archive_cmds
16587  
# Line 15728 | Line 16594 | with_gcc=$GCC
16594   # Compiler flag to turn off builtin functions.
16595   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16596  
15731 # How to pass a linker flag through the compiler.
15732 wl=$lt_lt_prog_compiler_wl
15733
16597   # Additional compiler flags for building library objects.
16598   pic_flag=$lt_lt_prog_compiler_pic
16599  
16600 + # How to pass a linker flag through the compiler.
16601 + wl=$lt_lt_prog_compiler_wl
16602 +
16603   # Compiler flag to prevent dynamic linking.
16604   link_static_flag=$lt_lt_prog_compiler_static
16605  
# Line 15783 | Line 16649 | no_undefined_flag=$lt_no_undefined_flag
16649   # This must work even if \$libdir does not exist
16650   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16651  
15786 # If ld is used when linking, flag to hardcode \$libdir into a binary
15787 # during linking.  This must work even if \$libdir does not exist.
15788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15789
16652   # Whether we need a single "-rpath" flag with a separated argument.
16653   hardcode_libdir_separator=$lt_hardcode_libdir_separator
16654  
# Line 15820 | Line 16682 | inherit_rpath=$inherit_rpath
16682   # Whether libtool must link a program against all its dependency libraries.
16683   link_all_deplibs=$link_all_deplibs
16684  
15823 # Fix the shell variable \$srcfile for the compiler.
15824 fix_srcfile_path=$lt_fix_srcfile_path
15825
16685   # Set to "yes" if exported symbols are required.
16686   always_export_symbols=$always_export_symbols
16687  
# Line 15838 | Line 16697 | include_expsyms=$lt_include_expsyms
16697   # Commands necessary for linking programs (against libraries) with templates.
16698   prelink_cmds=$lt_prelink_cmds
16699  
16700 + # Commands necessary for finishing linking programs.
16701 + postlink_cmds=$lt_postlink_cmds
16702 +
16703   # Specify filename containing input files.
16704   file_list_spec=$lt_file_list_spec
16705  
# Line 15870 | Line 16732 | ltmain="$ac_aux_dir/ltmain.sh"
16732    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16733    # text mode, it properly converts lines to CR/LF.  This bash problem
16734    # is reportedly fixed, but why not run on old versions too?
16735 <  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16736 <    || (rm -f "$cfgfile"; exit 1)
15875 <
15876 <  case $xsi_shell in
15877 <  yes)
15878 <    cat << \_LT_EOF >> "$cfgfile"
15879 <
15880 < # func_dirname file append nondir_replacement
15881 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15882 < # otherwise set result to NONDIR_REPLACEMENT.
15883 < func_dirname ()
15884 < {
15885 <  case ${1} in
15886 <    */*) func_dirname_result="${1%/*}${2}" ;;
15887 <    *  ) func_dirname_result="${3}" ;;
15888 <  esac
15889 < }
15890 <
15891 < # func_basename file
15892 < func_basename ()
15893 < {
15894 <  func_basename_result="${1##*/}"
15895 < }
15896 <
15897 < # func_dirname_and_basename file append nondir_replacement
15898 < # perform func_basename and func_dirname in a single function
15899 < # call:
15900 < #   dirname:  Compute the dirname of FILE.  If nonempty,
15901 < #             add APPEND to the result, otherwise set result
15902 < #             to NONDIR_REPLACEMENT.
15903 < #             value returned in "$func_dirname_result"
15904 < #   basename: Compute filename of FILE.
15905 < #             value retuned in "$func_basename_result"
15906 < # Implementation must be kept synchronized with func_dirname
15907 < # and func_basename. For efficiency, we do not delegate to
15908 < # those functions but instead duplicate the functionality here.
15909 < func_dirname_and_basename ()
15910 < {
15911 <  case ${1} in
15912 <    */*) func_dirname_result="${1%/*}${2}" ;;
15913 <    *  ) func_dirname_result="${3}" ;;
15914 <  esac
15915 <  func_basename_result="${1##*/}"
15916 < }
15917 <
15918 < # func_stripname prefix suffix name
15919 < # strip PREFIX and SUFFIX off of NAME.
15920 < # PREFIX and SUFFIX must not contain globbing or regex special
15921 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15922 < # dot (in which case that matches only a dot).
15923 < func_stripname ()
15924 < {
15925 <  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15926 <  # positional parameters, so assign one to ordinary parameter first.
15927 <  func_stripname_result=${3}
15928 <  func_stripname_result=${func_stripname_result#"${1}"}
15929 <  func_stripname_result=${func_stripname_result%"${2}"}
15930 < }
15931 <
15932 < # func_opt_split
15933 < func_opt_split ()
15934 < {
15935 <  func_opt_split_opt=${1%%=*}
15936 <  func_opt_split_arg=${1#*=}
15937 < }
15938 <
15939 < # func_lo2o object
15940 < func_lo2o ()
15941 < {
15942 <  case ${1} in
15943 <    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15944 <    *)    func_lo2o_result=${1} ;;
15945 <  esac
15946 < }
15947 <
15948 < # func_xform libobj-or-source
15949 < func_xform ()
15950 < {
15951 <  func_xform_result=${1%.*}.lo
15952 < }
15953 <
15954 < # func_arith arithmetic-term...
15955 < func_arith ()
15956 < {
15957 <  func_arith_result=$(( $* ))
15958 < }
15959 <
15960 < # func_len string
15961 < # STRING may not start with a hyphen.
15962 < func_len ()
15963 < {
15964 <  func_len_result=${#1}
15965 < }
15966 <
15967 < _LT_EOF
15968 <    ;;
15969 <  *) # Bourne compatible functions.
15970 <    cat << \_LT_EOF >> "$cfgfile"
15971 <
15972 < # func_dirname file append nondir_replacement
15973 < # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15974 < # otherwise set result to NONDIR_REPLACEMENT.
15975 < func_dirname ()
15976 < {
15977 <  # Extract subdirectory from the argument.
15978 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15979 <  if test "X$func_dirname_result" = "X${1}"; then
15980 <    func_dirname_result="${3}"
15981 <  else
15982 <    func_dirname_result="$func_dirname_result${2}"
15983 <  fi
15984 < }
15985 <
15986 < # func_basename file
15987 < func_basename ()
15988 < {
15989 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15990 < }
15991 <
15992 <
15993 < # func_stripname prefix suffix name
15994 < # strip PREFIX and SUFFIX off of NAME.
15995 < # PREFIX and SUFFIX must not contain globbing or regex special
15996 < # characters, hashes, percent signs, but SUFFIX may contain a leading
15997 < # dot (in which case that matches only a dot).
15998 < # func_strip_suffix prefix name
15999 < func_stripname ()
16000 < {
16001 <  case ${2} in
16002 <    .*) func_stripname_result=`$ECHO "X${3}" \
16003 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16004 <    *)  func_stripname_result=`$ECHO "X${3}" \
16005 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16006 <  esac
16007 < }
16008 <
16009 < # sed scripts:
16010 < my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16011 < my_sed_long_arg='1s/^-[^=]*=//'
16012 <
16013 < # func_opt_split
16014 < func_opt_split ()
16015 < {
16016 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16017 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16018 < }
16019 <
16020 < # func_lo2o object
16021 < func_lo2o ()
16022 < {
16023 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16024 < }
16025 <
16026 < # func_xform libobj-or-source
16027 < func_xform ()
16028 < {
16029 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16030 < }
16031 <
16032 < # func_arith arithmetic-term...
16033 < func_arith ()
16034 < {
16035 <  func_arith_result=`expr "$@"`
16036 < }
16037 <
16038 < # func_len string
16039 < # STRING may not start with a hyphen.
16040 < func_len ()
16041 < {
16042 <  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16043 < }
16044 <
16045 < _LT_EOF
16046 < esac
16047 <
16048 < case $lt_shell_append in
16049 <  yes)
16050 <    cat << \_LT_EOF >> "$cfgfile"
16051 <
16052 < # func_append var value
16053 < # Append VALUE to the end of shell variable VAR.
16054 < func_append ()
16055 < {
16056 <  eval "$1+=\$2"
16057 < }
16058 < _LT_EOF
16059 <    ;;
16060 <  *)
16061 <    cat << \_LT_EOF >> "$cfgfile"
16062 <
16063 < # func_append var value
16064 < # Append VALUE to the end of shell variable VAR.
16065 < func_append ()
16066 < {
16067 <  eval "$1=\$$1\$2"
16068 < }
16069 <
16070 < _LT_EOF
16071 <    ;;
16072 <  esac
16735 >  sed '$q' "$ltmain" >> "$cfgfile" \
16736 >     || (rm -f "$cfgfile"; exit 1)
16737  
16738 +  if test x"$xsi_shell" = xyes; then
16739 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16740 + func_dirname ()\
16741 + {\
16742 + \    case ${1} in\
16743 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16744 + \      *  ) func_dirname_result="${3}" ;;\
16745 + \    esac\
16746 + } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16747 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16748 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16749 + test 0 -eq $? || _lt_function_replace_fail=:
16750 +
16751 +
16752 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16753 + func_basename ()\
16754 + {\
16755 + \    func_basename_result="${1##*/}"\
16756 + } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16757 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16758 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16759 + test 0 -eq $? || _lt_function_replace_fail=:
16760 +
16761 +
16762 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16763 + func_dirname_and_basename ()\
16764 + {\
16765 + \    case ${1} in\
16766 + \      */*) func_dirname_result="${1%/*}${2}" ;;\
16767 + \      *  ) func_dirname_result="${3}" ;;\
16768 + \    esac\
16769 + \    func_basename_result="${1##*/}"\
16770 + } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16771 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16772 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16773 + test 0 -eq $? || _lt_function_replace_fail=:
16774 +
16775 +
16776 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16777 + func_stripname ()\
16778 + {\
16779 + \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16780 + \    # positional parameters, so assign one to ordinary parameter first.\
16781 + \    func_stripname_result=${3}\
16782 + \    func_stripname_result=${func_stripname_result#"${1}"}\
16783 + \    func_stripname_result=${func_stripname_result%"${2}"}\
16784 + } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16785 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16786 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16787 + test 0 -eq $? || _lt_function_replace_fail=:
16788 +
16789 +
16790 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16791 + func_split_long_opt ()\
16792 + {\
16793 + \    func_split_long_opt_name=${1%%=*}\
16794 + \    func_split_long_opt_arg=${1#*=}\
16795 + } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16796 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16797 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16798 + test 0 -eq $? || _lt_function_replace_fail=:
16799 +
16800 +
16801 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16802 + func_split_short_opt ()\
16803 + {\
16804 + \    func_split_short_opt_arg=${1#??}\
16805 + \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16806 + } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16807 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16808 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16809 + test 0 -eq $? || _lt_function_replace_fail=:
16810 +
16811 +
16812 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16813 + func_lo2o ()\
16814 + {\
16815 + \    case ${1} in\
16816 + \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16817 + \      *)    func_lo2o_result=${1} ;;\
16818 + \    esac\
16819 + } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16820 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16821 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16822 + test 0 -eq $? || _lt_function_replace_fail=:
16823 +
16824 +
16825 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16826 + func_xform ()\
16827 + {\
16828 +    func_xform_result=${1%.*}.lo\
16829 + } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16830 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16831 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16832 + test 0 -eq $? || _lt_function_replace_fail=:
16833 +
16834 +
16835 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16836 + func_arith ()\
16837 + {\
16838 +    func_arith_result=$(( $* ))\
16839 + } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16840 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16841 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16842 + test 0 -eq $? || _lt_function_replace_fail=:
16843 +
16844 +
16845 +  sed -e '/^func_len ()$/,/^} # func_len /c\
16846 + func_len ()\
16847 + {\
16848 +    func_len_result=${#1}\
16849 + } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16850 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16851 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16852 + test 0 -eq $? || _lt_function_replace_fail=:
16853 +
16854 + fi
16855 +
16856 + if test x"$lt_shell_append" = xyes; then
16857 +  sed -e '/^func_append ()$/,/^} # func_append /c\
16858 + func_append ()\
16859 + {\
16860 +    eval "${1}+=\\${2}"\
16861 + } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16862 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16863 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16864 + test 0 -eq $? || _lt_function_replace_fail=:
16865 +
16866 +
16867 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16868 + func_append_quoted ()\
16869 + {\
16870 + \    func_quote_for_eval "${2}"\
16871 + \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16872 + } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16873 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
16874 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16875 + test 0 -eq $? || _lt_function_replace_fail=:
16876 +
16877 +
16878 +  # Save a `func_append' function call where possible by direct use of '+='
16879 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16880 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16881 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16882 +  test 0 -eq $? || _lt_function_replace_fail=:
16883 + else
16884 +  # Save a `func_append' function call even when '+=' is not available
16885 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16886 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
16887 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16888 +  test 0 -eq $? || _lt_function_replace_fail=:
16889 + fi
16890 +
16891 + if test x"$_lt_function_replace_fail" = x":"; then
16892 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16893 + $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16894 + fi
16895  
16075  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16076    || (rm -f "$cfgfile"; exit 1)
16896  
16897 <  mv -f "$cfgfile" "$ofile" ||
16897 >   mv -f "$cfgfile" "$ofile" ||
16898      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16899    chmod +x "$ofile"
16900  
# Line 16090 | Line 16909 | _ACEOF
16909   ac_clean_files=$ac_clean_files_save
16910  
16911   test $ac_write_fail = 0 ||
16912 <  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16912 >  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16913  
16914  
16915   # configure is writing to config.log, and then calls config.status.
# Line 16111 | Line 16930 | if test "$no_create" != yes; then
16930    exec 5>>config.log
16931    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16932    # would make configure fail if this is the last instruction.
16933 <  $ac_cs_success || as_fn_exit $?
16115 < fi
16116 <
16117 < #
16118 < # CONFIG_SUBDIRS section.
16119 < #
16120 < if test "$no_recursion" != yes; then
16121 <
16122 <  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16123 <  # so they do not pile up.
16124 <  ac_sub_configure_args=
16125 <  ac_prev=
16126 <  eval "set x $ac_configure_args"
16127 <  shift
16128 <  for ac_arg
16129 <  do
16130 <    if test -n "$ac_prev"; then
16131 <      ac_prev=
16132 <      continue
16133 <    fi
16134 <    case $ac_arg in
16135 <    -cache-file | --cache-file | --cache-fil | --cache-fi \
16136 <    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16137 <      ac_prev=cache_file ;;
16138 <    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16139 <    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16140 <    | --c=*)
16141 <      ;;
16142 <    --config-cache | -C)
16143 <      ;;
16144 <    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16145 <      ac_prev=srcdir ;;
16146 <    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16147 <      ;;
16148 <    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16149 <      ac_prev=prefix ;;
16150 <    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16151 <      ;;
16152 <    --disable-option-checking)
16153 <      ;;
16154 <    *)
16155 <      case $ac_arg in
16156 <      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16157 <      esac
16158 <      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16159 <    esac
16160 <  done
16161 <
16162 <  # Always prepend --prefix to ensure using the same prefix
16163 <  # in subdir configurations.
16164 <  ac_arg="--prefix=$prefix"
16165 <  case $ac_arg in
16166 <  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16167 <  esac
16168 <  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16169 <
16170 <  # Pass --silent
16171 <  if test "$silent" = yes; then
16172 <    ac_sub_configure_args="--silent $ac_sub_configure_args"
16173 <  fi
16174 <
16175 <  # Always prepend --disable-option-checking to silence warnings, since
16176 <  # different subdirs can have different --enable and --with options.
16177 <  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16178 <
16179 <  ac_popdir=`pwd`
16180 <  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16181 <
16182 <    # Do not complain, so a configure script can configure whichever
16183 <    # parts of a large source tree are present.
16184 <    test -d "$srcdir/$ac_dir" || continue
16185 <
16186 <    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16187 <    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16188 <    $as_echo "$ac_msg" >&6
16189 <    as_dir="$ac_dir"; as_fn_mkdir_p
16190 <    ac_builddir=.
16191 <
16192 < case "$ac_dir" in
16193 < .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16194 < *)
16195 <  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16196 <  # A ".." for each directory in $ac_dir_suffix.
16197 <  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16198 <  case $ac_top_builddir_sub in
16199 <  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16200 <  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16201 <  esac ;;
16202 < esac
16203 < ac_abs_top_builddir=$ac_pwd
16204 < ac_abs_builddir=$ac_pwd$ac_dir_suffix
16205 < # for backward compatibility:
16206 < ac_top_builddir=$ac_top_build_prefix
16207 <
16208 < case $srcdir in
16209 <  .)  # We are building in place.
16210 <    ac_srcdir=.
16211 <    ac_top_srcdir=$ac_top_builddir_sub
16212 <    ac_abs_top_srcdir=$ac_pwd ;;
16213 <  [\\/]* | ?:[\\/]* )  # Absolute name.
16214 <    ac_srcdir=$srcdir$ac_dir_suffix;
16215 <    ac_top_srcdir=$srcdir
16216 <    ac_abs_top_srcdir=$srcdir ;;
16217 <  *) # Relative name.
16218 <    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16219 <    ac_top_srcdir=$ac_top_build_prefix$srcdir
16220 <    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16221 < esac
16222 < ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16223 <
16224 <
16225 <    cd "$ac_dir"
16226 <
16227 <    # Check for guested configure; otherwise get Cygnus style configure.
16228 <    if test -f "$ac_srcdir/configure.gnu"; then
16229 <      ac_sub_configure=$ac_srcdir/configure.gnu
16230 <    elif test -f "$ac_srcdir/configure"; then
16231 <      ac_sub_configure=$ac_srcdir/configure
16232 <    elif test -f "$ac_srcdir/configure.in"; then
16233 <      # This should be Cygnus configure.
16234 <      ac_sub_configure=$ac_aux_dir/configure
16235 <    else
16236 <      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16237 < $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16238 <      ac_sub_configure=
16239 <    fi
16240 <
16241 <    # The recursion is here.
16242 <    if test -n "$ac_sub_configure"; then
16243 <      # Make the cache file name correct relative to the subdirectory.
16244 <      case $cache_file in
16245 <      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16246 <      *) # Relative name.
16247 <        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16248 <      esac
16249 <
16250 <      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16251 < $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16252 <      # The eval makes quoting arguments work.
16253 <      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16254 <           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16255 <        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16256 <    fi
16257 <
16258 <    cd "$ac_popdir"
16259 <  done
16933 >  $ac_cs_success || as_fn_exit 1
16934   fi
16935   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16936    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Diff Legend

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